Home
last modified time | relevance | path

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

/nanopb-2.7.6/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-2.7.6/tests/regression/issue_472/
Dtest.proto7 uint32 size = 2; field
/nanopb-2.7.6/tests/missing_fields/
Dmissing_fields.c11 size_t size; in main() local
/nanopb-2.7.6/
Dpb_encode.c130 size_t size; in encode_array() local
554 bool pb_get_encoded_size(size_t *size, const pb_msgdesc_t *fields, const void *src_struct) in pb_get_encoded_size()
702 bool checkreturn pb_encode_string(pb_ostream_t *stream, const pb_byte_t *buffer, size_t size) in pb_encode_string()
714 size_t size; in pb_encode_submessage() local
865 size_t size = 0; in pb_enc_string() local
Dpb_decode.c320 …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()
361 uint32_t size; in pb_make_string_substream() local
483 pb_size_t *size = (pb_size_t*)field->pSize; in decode_static_field() local
510 pb_size_t *size = (pb_size_t*)field->pSize; in decode_static_field() local
776 size_t size = sizeof(buffer); in decode_callback_field() local
1480 uint32_t size; in pb_dec_bytes() local
1520 uint32_t size; in pb_dec_string() local
1622 uint32_t size; in pb_dec_fixed_length_bytes() local
Dpb.h336 pb_size_t size; member
438 # define pb_realloc(ptr, size) realloc(ptr, size) argument
/nanopb-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/spm_headers/nanopb/
Dpb.h336 pb_size_t size; member
438 # define pb_realloc(ptr, size) realloc(ptr, size) argument