/external/nanopb-c/tests/alltypes/ |
encode_alltypes.c | 35 alltypes.req_bytes.size = 4; 36 memcpy(alltypes.req_bytes.bytes, "1015", 4);
|
decode_alltypes.c | 47 TEST(alltypes.req_bytes.size == 4); 48 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0);
|
/external/nanopb-c/tests/backwards_compatibility/ |
encode_legacy.c | 38 alltypes.req_bytes.size = 4; 39 memcpy(alltypes.req_bytes.bytes, "1015", 4);
|
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),
|
alltypes_legacy.h | 61 AllTypes_req_bytes_t req_bytes; member in struct:_AllTypes
|
decode_legacy.c | 50 TEST(alltypes.req_bytes.size == 4); 51 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0);
|
/external/nanopb-c/tests/alltypes_pointer/ |
decode_alltypes_pointer.c | 43 TEST(alltypes.req_bytes && alltypes.req_bytes->size == 4); 44 TEST(alltypes.req_bytes && memcmp(&alltypes.req_bytes->bytes, "1015", 4) == 0);
|
encode_alltypes_pointer.c | 30 PB_BYTES_ARRAY_T(4) req_bytes = {4, {'1', '0', '1', '5'}}; 121 alltypes.req_bytes = (pb_bytes_array_t*)&req_bytes;
|
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 269 alltypes.req_bytes.funcs.decode = &read_string; 270 alltypes.req_bytes.arg = "1015";
|
encode_alltypes_callback.c | 253 alltypes.req_bytes.funcs.encode = &write_string; 254 alltypes.req_bytes.arg = "1015";
|