Home
last modified time | relevance | path

Searched defs:size (Results 1 – 11 of 11) sorted by relevance

/nanopb-3.4.0/tests/common/
Dmalloc_wrappers.c35 static size_t round_blocksize(size_t size) in round_blocksize()
47 static size_t round_blocksize(size_t size) in round_blocksize()
54 void* malloc_with_check(size_t size) in malloc_with_check()
86 size_t size = ((size_t*)buf)[0]; in free_with_check() local
101 void* realloc_with_check(void *ptr, size_t size) in realloc_with_check()
Dmalloc_wrappers_syshdr.h3 #define pb_realloc(ptr,size) realloc_with_check(ptr,size) argument
/nanopb-3.4.0/tests/regression/issue_472/
Dtest.proto7 uint32 size = 2; field
/nanopb-3.4.0/tests/missing_fields/
Dmissing_fields.c11 size_t size; in main() local
/nanopb-3.4.0/
Dpb_encode.c132 size_t size; in encode_array() local
556 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct) in pb_get_encoded_size()
715 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string()
727 size_t size; in pb_encode_submessage() local
878 size_t size = 0; in pb_enc_string() local
Dpb_decode.c322 …return read_raw_value(pb_istream_t *stream, pb_wire_type_t wire_type, pb_byte_t *buf, size_t *size) in read_raw_value()
363 uint32_t size; in pb_make_string_substream() local
485 pb_size_t *size = (pb_size_t*)field->pSize; in decode_static_field() local
512 pb_size_t *size = (pb_size_t*)field->pSize; in decode_static_field() local
787 size_t size = sizeof(buffer); in decode_callback_field() local
1498 uint32_t size; in pb_dec_bytes() local
1538 uint32_t size; in pb_dec_string() local
1640 uint32_t size; in pb_dec_fixed_length_bytes() local
Dpb.h372 pb_size_t size; member
475 # define pb_realloc(ptr, size) realloc(ptr, size) argument
/nanopb-3.4.0/tests/decode_unittests/
Ddecode_unittests.c264 struct { pb_size_t size; uint8_t bytes[5]; } d; in main() member
353 struct { pb_size_t size; uint8_t bytes[10]; } ref; in main() member
/nanopb-3.4.0/tests/encode_unittests/
Dencode_unittests.c242 struct { pb_size_t size; uint8_t bytes[5]; } value = {5, {'x', 'y', 'z', 'z', 'y'}}; in main() member
362 size_t size; in main() local
/nanopb-3.4.0/tests/fuzztest/
Dfuzztest.c289 void do_roundtrips(const uint8_t *data, size_t size, bool expect_valid) in do_roundtrips()
352 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput()
/nanopb-3.4.0/spm_headers/nanopb/
Dpb.h372 pb_size_t size; member
475 # define pb_realloc(ptr, size) realloc(ptr, size) argument