/tinycbor-2.7.6/src/ |
D | cborpretty.c | 116 static int hexDump(FILE *out, const uint8_t *buffer, size_t n) in hexDump() argument 119 int r = fprintf(out, "%02" PRIx8, *buffer++); in hexDump() 128 static int utf8EscapedDump(FILE *out, const char *buffer, size_t n) in utf8EscapedDump() argument 136 if (fprintf(out, "%c", (char)uc) < 0) in utf8EscapedDump() 165 if (fprintf(out, "\\%c", escaped) < 0) in utf8EscapedDump() 229 if (fprintf(out, "\\u%04" PRIX32 "\\u%04" PRIX32, in utf8EscapedDump() 236 if (fprintf(out, "\\u%04" PRIX32, uc) < 0) in utf8EscapedDump() 243 static CborError value_to_pretty(FILE *out, CborValue *it); 244 static CborError container_to_pretty(FILE *out, CborValue *it, CborType containerType) in container_to_pretty() argument 248 if (fprintf(out, "%s", comma) < 0) in container_to_pretty() [all …]
|
D | cbortojson.c | 173 static CborError value_to_json(FILE *out, CborValue *it, int flags, CborType type, ConversionStatus… 205 uint8_t *buffer, *out, *in; in generic_dump_base64() local 212 out = buffer = (uint8_t *)malloc(len + 1); in generic_dump_base64() 238 *out++ = alphabet[(val >> 18) & 0x3f]; in generic_dump_base64() 239 *out++ = alphabet[(val >> 12) & 0x3f]; in generic_dump_base64() 240 *out++ = alphabet[(val >> 6) & 0x3f]; in generic_dump_base64() 241 *out++ = alphabet[val & 0x3f]; in generic_dump_base64() 258 out[4] = '\0'; in generic_dump_base64() 259 out[3] = alphabet[64]; in generic_dump_base64() 262 out[2] = alphabet[(val >> 6) & 0x3f]; in generic_dump_base64() [all …]
|
D | cborpretty_stdio.c | 29 static CborError cbor_fprintf(void *out, const char *fmt, ...) in cbor_fprintf() argument 35 n = vfprintf((FILE *)out, fmt, list); in cbor_fprintf() 62 CborError cbor_value_to_pretty_advance(FILE *out, CborValue *value) in cbor_value_to_pretty_advance() argument 64 return cbor_value_to_pretty_stream(cbor_fprintf, out, value, CborPrettyDefaultFlags); in cbor_value_to_pretty_advance() 81 CborError cbor_value_to_pretty_advance_flags(FILE *out, CborValue *value, int flags) in cbor_value_to_pretty_advance_flags() argument 83 return cbor_value_to_pretty_stream(cbor_fprintf, out, value, flags); in cbor_value_to_pretty_advance_flags()
|
/tinycbor-2.7.6/include/tinycbor/ |
D | cborjson.h | 50 CBOR_API CborError cbor_value_to_json_advance(FILE *out, CborValue *value, int flags); 51 CBOR_INLINE_API CborError cbor_value_to_json(FILE *out, const CborValue *value, int flags) in cbor_value_to_json() argument 54 return cbor_value_to_json_advance(out, ©, flags); in cbor_value_to_json()
|
D | cbor.h | 494 CBOR_API CborError cbor_value_to_pretty_advance(FILE *out, CborValue *value); 495 CBOR_INLINE_API CborError cbor_value_to_pretty(FILE *out, const CborValue *value) in cbor_value_to_pretty() argument 498 return cbor_value_to_pretty_advance(out, ©); in cbor_value_to_pretty()
|
/tinycbor-2.7.6/ |
D | maketag.pl | 5 my @out; 8 push @out, $_; 11 return @out;
|
D | .gitignore | 2 callgrind.out.*
|
D | Makefile.nmake | 37 lib -nologo /out:$@ $**
|
D | Doxyfile | 769 # *.h) to filter out the source-files in the directories. If left blank the 832 # *.h) to filter out the source-files in the directories. If left blank all 1937 # patterns (like *.h and *.hpp) to filter out the header-files in the 2286 # to support this out of the box.
|
/tinycbor-2.7.6/tools/json2cbor/ |
D | json2cbor.c | 62 uint8_t *out = buffer; in decode_base64_generic() local 90 *out++ = val >> 16; in decode_base64_generic() 91 *out++ = val >> 8; in decode_base64_generic() 92 *out++ = val; in decode_base64_generic() 100 *len = out - buffer; in decode_base64_generic()
|
/tinycbor-2.7.6/tests/parser/ |
D | tst_parser.cpp | 105 static CborError qstring_printf(void *out, const char *fmt, ...) in qstring_printf() argument 107 auto str = static_cast<QString *>(out); in qstring_printf()
|