Home
last modified time | relevance | path

Searched refs:out (Results 1 – 11 of 11) sorted by relevance

/tinycbor-2.7.6/src/
Dcborpretty.c116 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 …]
Dcbortojson.c173 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 …]
Dcborpretty_stdio.c29 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/
Dcborjson.h50 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, &copy, flags); in cbor_value_to_json()
Dcbor.h494 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, &copy); in cbor_value_to_pretty()
/tinycbor-2.7.6/
Dmaketag.pl5 my @out;
8 push @out, $_;
11 return @out;
D.gitignore2 callgrind.out.*
DMakefile.nmake37 lib -nologo /out:$@ $**
DDoxyfile769 # *.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/
Djson2cbor.c62 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/
Dtst_parser.cpp105 static CborError qstring_printf(void *out, const char *fmt, ...) in qstring_printf() argument
107 auto str = static_cast<QString *>(out); in qstring_printf()