Searched refs:rep_bytes (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/alltypes_pointer/ |
D | encode_alltypes_pointer.c | 54 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()
|
D | decode_alltypes_pointer.c | 68 …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/ |
D | encode_legacy.c | 61 alltypes.rep_bytes_count = 5; alltypes.rep_bytes[4].size = 4; in main() 62 memcpy(alltypes.rep_bytes[4].bytes, "2015", 4); in main()
|
D | decode_legacy.c | 74 …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()
|
D | alltypes_legacy.c | 70 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),
|
D | alltypes_legacy.h | 93 AllTypes_rep_bytes_t rep_bytes[5]; member
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 71 …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()
|
D | encode_alltypes.c | 58 alltypes.rep_bytes_count = 5; alltypes.rep_bytes[4].size = 4; in main() 59 memcpy(alltypes.rep_bytes[4].bytes, "2015", 4); in main()
|
D | alltypes.proto | 77 repeated bytes rep_bytes = 35; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 202 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()
|
D | encode_alltypes_callback.c | 307 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/ |
D | alltypes.proto | 77 repeated bytes rep_bytes = 10035; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 77 repeated bytes rep_bytes = 10035; field
|