Searched refs:req_bytes (Results 1 – 13 of 13) sorted by relevance
/external/nanopb-c/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 43 TEST(alltypes.req_bytes && alltypes.req_bytes->size == 4); in check_alltypes() 44 TEST(alltypes.req_bytes && memcmp(&alltypes.req_bytes->bytes, "1015", 4) == 0); in check_alltypes()
|
D | encode_alltypes_pointer.c | 30 PB_BYTES_ARRAY_T(4) req_bytes = {4, {'1', '0', '1', '5'}}; in main() 121 alltypes.req_bytes = (pb_bytes_array_t*)&req_bytes; in main()
|
/external/nanopb-c/tests/backwards_compatibility/ |
D | encode_legacy.c | 38 alltypes.req_bytes.size = 4; in main() 39 memcpy(alltypes.req_bytes.bytes, "1015", 4); in main()
|
D | alltypes_legacy.c | 53 PB_FIELD( 15, BYTES , REQUIRED, STATIC, AllTypes, req_bytes, req_string, 0), 54 PB_FIELD( 16, MESSAGE , REQUIRED, STATIC, AllTypes, req_submsg, req_bytes, &SubMessage_fields),
|
D | decode_legacy.c | 50 TEST(alltypes.req_bytes.size == 4); in check_alltypes() 51 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0); in check_alltypes()
|
D | alltypes_legacy.h | 61 AllTypes_req_bytes_t req_bytes; member
|
/external/nanopb-c/tests/alltypes/ |
D | encode_alltypes.c | 35 alltypes.req_bytes.size = 4; in main() 36 memcpy(alltypes.req_bytes.bytes, "1015", 4); in main()
|
D | decode_alltypes.c | 47 TEST(alltypes.req_bytes.size == 4); in check_alltypes() 48 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0); in check_alltypes()
|
D | alltypes.proto | 54 required bytes req_bytes = 15; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 54 required bytes req_bytes = 15; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 54 required bytes req_bytes = 15; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 269 alltypes.req_bytes.funcs.decode = &read_string; in check_alltypes() 270 alltypes.req_bytes.arg = "1015"; in check_alltypes()
|
D | encode_alltypes_callback.c | 253 alltypes.req_bytes.funcs.encode = &write_string; in main() 254 alltypes.req_bytes.arg = "1015"; in main()
|