Home
last modified time | relevance | path

Searched full:c (Results 1 – 25 of 48) sorted by relevance

12

/tinycbor-2.7.6/
DMakefile.nmake5 src\cborerrorstrings.c \
6 src\cborencoder.c \
7 src\cborencoder_close_container_checked.c \
8 src\cborparser.c \
9 src\cborparser_dup_string.c \
10 src\cborpretty.c \
11 src\cborpretty_stdio.c \
12 src\cborvalidation.c \
13 src\cbor_buf_reader.c \
14 src\cbor_buf_writer.c
[all …]
DMakefile29 src/cborerrorstrings.c \
30 src/cborencoder.c \
31 src/cborencoder_close_container_checked.c \
32 src/cborparser.c \
33 src/cborparser_dup_string.c \
34 src/cborpretty.c \
35 src/cborpretty_stdio.c \
36 src/cbortojson.c \
37 src/cborvalidation.c \
38 src/cbor_buf_reader.c \
[all …]
D.appveyor.yml12 …if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" (call "C:\Program Files (x86)\Microsof…
14 …"=="Visual Studio 2015" (call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.ba…
16 …tudio 2017" (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Buil…
DLICENSE3 Copyright (c) 2017 Intel Corporation
/tinycbor-2.7.6/src/
Dsrc.pri2 $$PWD/cborencoder.c \
3 $$PWD/cborencoder_close_container_checked.c \
4 $$PWD/cborerrorstrings.c \
5 $$PWD/cborparser.c \
6 $$PWD/cborparser_dup_string.c \
7 $$PWD/cborpretty.c \
8 $$PWD/cbortojson.c \
9 $$PWD/cborvalidation.c \
10 $$PWD/cbor_buf_reader.c \
11 $$PWD/cbor_buf_writer.c
Dcborparser_dup_string.c3 ** Copyright (C) 2016 Intel Corporation
45 * If \c malloc returns a NULL pointer, this function will return error
48 * On success, \c{*buffer} will contain a valid pointer that must be freed by
49 * calling \c{free()}. This is the case even for zero-length strings.
76 * If \c malloc returns a NULL pointer, this function will return error
79 * On success, \c{*buffer} will contain a valid pointer that must be freed by
80 * calling \c{free()}. This is the case even for zero-length strings.
Dcborpretty.c3 ** Copyright (C) 2016 Intel Corporation
60 * for the functions for CborParsing. In addition, if the C standard library
92 …* C-style escaped string in quotes, with C11/C++11 escaping of Unicode codepoints above U+007…
96 * <tt>"simple(nn)"</tt> where \c nn is the simple value
98 * \c null
100 * \c undefined
102 * \c true or \c false
104 * If NaN or infinite, the actual words \c NaN or \c infinite.
136 if (fprintf(out, "%c", (char)uc) < 0) in utf8EscapedDump()
165 if (fprintf(out, "\\%c", escaped) < 0) in utf8EscapedDump()
Dcborparser.c3 ** Copyright (C) 2016 Intel Corporation
101 * be represented in a variable of type \c{int}. If detecting that case is
563 * cbor_value_advance_fixed(), a nested cbor_value_leave_container(), or the \c
685 * not fit in a variable of type \c{int} are silently truncated to fit. Use
700 * not fit in a variable of type \c{int64_t} are silently truncated to fit. Use
731 * minus one. That is, \c {actual = -result - 1}. On architectures using two's
1023 * On success, this function sets the number of bytes copied to \c{*buflen}. If
1026 * not included in the returned value of \c{*buflen}.
1057 * On success, this function sets the number of bytes copied to \c{*buflen}. If
1060 * That byte is not included in the returned value of \c{*buflen}.
[all …]
/tinycbor-2.7.6/zephyr/
DCMakeLists.txt7 ../src/cbor_buf_reader.c
8 ../src/cbor_buf_writer.c
9 ../src/cborencoder.c
10 ../src/cborerrorstrings.c
11 ../src/cborparser.c
14 CONFIG_NEWLIB_LIBC ../src/cborparser_dup_string.c)
17 CONFIG_CBOR_PRETTY_PRINTING ../src/cborpretty.c)
/tinycbor-2.7.6/tests/cpp/
Dtst_cpp.cpp3 ** Copyright (C) 2017 Intel Corporation
25 #include "../../src/cbor_buf_writer.c"
26 #include "../../src/cbor_buf_reader.c"
27 #include "../../src/cborencoder.c"
28 #include "../../src/cborerrorstrings.c"
29 #include "../../src/cborparser.c"
30 #include "../../src/cborparser_dup_string.c"
31 #include "../../src/cborvalidation.c"
37 // compile as C++ without errors.
Dcpp.pro1 CONFIG += testcase parallel_test c++11
/tinycbor-2.7.6/tools/cbordump/
Dcbordump.c3 ** Copyright (C) 2015 Intel Corporation
94 int c; in main() local
95 while ((c = getopt(argc, argv, "MOSUcjhfn")) != -1) { in main()
96 switch (c) { in main()
97 case 'c': in main()
125 fprintf(stderr, "Unknown option -%c.\n", optopt); in main()
132 " -c Print a CBOR dump (see RFC 7049) (default)\n" in main()
144 return c == '?' ? EXIT_FAILURE : EXIT_SUCCESS; in main()
Dcbordump.pro9 SOURCES += cbordump.c
/tinycbor-2.7.6/tools/json2cbor/
Djson2cbor.c3 ** Copyright (C) 2015 Intel Corporation
159 char c = string[i * 2]; in decode_base16() local
160 if (c >= '0' && c <= '9') { in decode_base16()
161 buffer[i] = (c - '0') << 4; in decode_base16()
162 } else if ((c | 0x20) >= 'a' && (c | 0x20) <= 'f') { in decode_base16()
163 buffer[i] = ((c | 0x20) - 'a' + 10) << 4; in decode_base16()
169 c = string[i * 2 + 1]; in decode_base16()
170 if (c >= '0' && c <= '9') { in decode_base16()
171 buffer[i] |= (c - '0'); in decode_base16()
172 } else if ((c | 0x20) >= 'a' && (c | 0x20) <= 'f') { in decode_base16()
[all …]
Djson2cbor.pro9 SOURCES += json2cbor.c
16 SOURCES += $$CJSONDIR/cJSON.c
/tinycbor-2.7.6/tests/parser/
Dparser.pro1 SOURCES += tst_parser.cpp ../../src/cborparser.c
3 CONFIG += testcase parallel_test c++11
/tinycbor-2.7.6/include/tinycbor/
Dcbor_encoder_writer.h3 ** Copyright (C) 2015 Intel Corporation
29 extern "C" {
Dcborjson.h3 ** Copyright (C) 2015 Intel Corporation
31 extern "C" {
Dcbor_decoder_reader.h3 ** Copyright (C) 2016 Intel Corporation
32 extern "C" {
Dmath_support_p.h3 ** Copyright (C) 2016 Intel Corporation
31 extern "C" {
Dcompilersupport_p.h3 ** Copyright (C) 2015 Intel Corporation
31 extern "C" {
160 /* C-style const_cast without triggering a warning with -Wcast-qual */
Dcbor_buf_reader.h25 extern "C" {
/tinycbor-2.7.6/examples/
Dsimplereader.pro2 SOURCES = simplereader.c
/tinycbor-2.7.6/tests/tojson/
Dtojson.pro1 CONFIG += testcase parallel_test c++11
/tinycbor-2.7.6/tests/encoder/
Dencoder.pro3 CONFIG += testcase parallel_test c++11

12