Home
last modified time | relevance | path

Searched defs:len (Results 1 – 14 of 14) sorted by relevance

/tinycbor-2.7.6/src/
Dcbor_buf_writer.c24 would_overflow(struct cbor_buf_writer *cb, size_t len) in would_overflow()
33 cbor_buf_writer(struct cbor_encoder_writer *arg, const char *data, int len) in cbor_buf_writer()
Dcborparser.c151 int *offset, size_t *len) in extract_length()
418 size_t len = SIZE_MAX; in advance_recursive() local
530 uint64_t len; in cbor_value_enter_container() local
902 CborError cbor_value_calculate_string_length(const CborValue *value, size_t *len) in cbor_value_calculate_string_length()
914 static uintptr_t iterate_noop(struct cbor_decoder_reader *d, char *dst, int src_offset, size_t len) in iterate_noop()
1111 size_t len = strlen(string); in cbor_value_text_string_equals() local
1191 size_t len = strlen(string); in cbor_value_map_find_value() local
Dopen_memstream.c55 size_t *len; member
59 static RetType write_to_buffer(void *cookie, const char *data, LenType len) in write_to_buffer()
Dcbor_mbuf_writer.c26 cbor_mbuf_writer(struct cbor_encoder_writer *arg, const char *data, int len) in cbor_mbuf_writer()
Dcbor_buf_reader.c55 size_t len) in cbor_buf_reader_cmp()
63 size_t len) in cbor_buf_reader_cpy()
Dcbor_mbuf_reader.c66 size_t len) in cbor_mbuf_reader_cmp()
74 size_t len) in cbor_mbuf_reader_cpy()
Dcborencoder.c243 static inline CborError append_to_buffer(CborEncoder *encoder, const void *data, size_t len) in append_to_buffer()
Dcbortojson.c211 size_t len = (n + 5) / 3 * 4; in generic_dump_base64() local
/tinycbor-2.7.6/tools/json2cbor/
Djson2cbor.c55 uint8_t *decode_base64_generic(const char *string, size_t *len, const int8_t reverse_alphabet[256]) in decode_base64_generic()
104 uint8_t *decode_base64(const char *string, size_t *len) in decode_base64()
127 uint8_t *decode_base64url(const char *string, size_t *len) in decode_base64url()
150 uint8_t *decode_base16(const char *string, size_t *len) in decode_base16()
248 size_t len; in decode_json_with_metadata() local
/tinycbor-2.7.6/include/tinycbor/
Dcbor_cnt_writer.h41 cbor_cnt_writer(struct cbor_encoder_writer *arg, const char *data, int len) { in cbor_cnt_writer()
Dextract_number_p.h53 static inline CborError extract_number(const CborParser *p, int *offset, uint64_t *len) in extract_number()
/tinycbor-2.7.6/tests/parser/
Dtst_parser.cpp130 size_t len; in parseOneChunk() local
141 size_t len; in parseOneChunk() local
184 size_t len; in compareOne_real() local
194 size_t len; in compareOne_real() local
204 size_t len; in compareOne_real() local
954 size_t len; in chunkedStringTest() local
1164 size_t len; in compareOneString() local
2003 for (int len = 0; len < data.length() - 1; ++len) { in resumeParsing() local
/tinycbor-2.7.6/tests/encoder/
Dtst_encoder.cpp235 size_t len = list.length(); in encodeVariant() local
253 size_t len = map.length(); in encodeVariant() local
645 for (int len = 0; len < output.length(); ++len) { in shortBuffer() local
/tinycbor-2.7.6/examples/
Dsimplereader.c29 static void dumpbytes(const uint8_t *buf, size_t len) in dumpbytes()