Home
last modified time | relevance | path

Searched refs:rep_bytes (Results 1 – 13 of 13) sorted by relevance

/external/nanopb-c/tests/alltypes_pointer/
Dencode_alltypes_pointer.c54 pb_bytes_array_t *rep_bytes[5]= {NULL, NULL, NULL, NULL, (pb_bytes_array_t*)&rep_bytes_4}; in main() local
141 alltypes.rep_bytes_count = 5; alltypes.rep_bytes = rep_bytes; in main()
Ddecode_alltypes_pointer.c68 …TEST(alltypes.rep_bytes_count == 5 && alltypes.rep_bytes[4]->size == 4 && alltypes.rep_bytes[0]->s… in check_alltypes()
69 TEST(memcmp(&alltypes.rep_bytes[4]->bytes, "2015", 4) == 0); in check_alltypes()
/external/nanopb-c/tests/backwards_compatibility/
Dencode_legacy.c61 alltypes.rep_bytes_count = 5; alltypes.rep_bytes[4].size = 4; in main()
62 memcpy(alltypes.rep_bytes[4].bytes, "2015", 4); in main()
Ddecode_legacy.c74 …TEST(alltypes.rep_bytes_count == 5 && alltypes.rep_bytes[4].size == 4 && alltypes.rep_bytes[0].siz… in check_alltypes()
75 TEST(memcmp(alltypes.rep_bytes[4].bytes, "2015", 4) == 0); in check_alltypes()
Dalltypes_legacy.c70 PB_FIELD( 35, BYTES , REPEATED, STATIC, AllTypes, rep_bytes, rep_string, 0),
71 PB_FIELD( 36, MESSAGE , REPEATED, STATIC, AllTypes, rep_submsg, rep_bytes, &SubMessage_fields),
Dalltypes_legacy.h93 AllTypes_rep_bytes_t rep_bytes[5]; member
/external/nanopb-c/tests/alltypes/
Dencode_alltypes.c58 alltypes.rep_bytes_count = 5; alltypes.rep_bytes[4].size = 4; in main()
59 memcpy(alltypes.rep_bytes[4].bytes, "2015", 4); in main()
Ddecode_alltypes.c71 …TEST(alltypes.rep_bytes_count == 5 && alltypes.rep_bytes[4].size == 4 && alltypes.rep_bytes[0].siz… in check_alltypes()
72 TEST(memcmp(alltypes.rep_bytes[4].bytes, "2015", 4) == 0); in check_alltypes()
Dalltypes.proto77 repeated bytes rep_bytes = 35; field
/external/nanopb-c/tests/alltypes_callback/
Ddecode_alltypes_callback.c202 char* rep_bytes[5] = {"", "", "", "", "2015"}; in check_alltypes() local
323 alltypes.rep_bytes.funcs.decode = &read_repeated_string; in check_alltypes()
324 alltypes.rep_bytes.arg = rep_bytes; in check_alltypes()
Dencode_alltypes_callback.c307 alltypes.rep_bytes.funcs.encode = &write_repeated_string; in main()
308 alltypes.rep_bytes.arg = "2015"; in main()
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto77 repeated bytes rep_bytes = 10035; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto77 repeated bytes rep_bytes = 10035; field