Home
last modified time | relevance | path

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

/external/nanopb-c/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c43 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()
Dencode_alltypes_pointer.c30 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/
Dencode_legacy.c38 alltypes.req_bytes.size = 4; in main()
39 memcpy(alltypes.req_bytes.bytes, "1015", 4); in main()
Dalltypes_legacy.c53 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),
Ddecode_legacy.c50 TEST(alltypes.req_bytes.size == 4); in check_alltypes()
51 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0); in check_alltypes()
Dalltypes_legacy.h61 AllTypes_req_bytes_t req_bytes; member
/external/nanopb-c/tests/alltypes/
Dencode_alltypes.c35 alltypes.req_bytes.size = 4; in main()
36 memcpy(alltypes.req_bytes.bytes, "1015", 4); in main()
Ddecode_alltypes.c47 TEST(alltypes.req_bytes.size == 4); in check_alltypes()
48 TEST(memcmp(alltypes.req_bytes.bytes, "1015", 4) == 0); in check_alltypes()
Dalltypes.proto54 required bytes req_bytes = 15; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto54 required bytes req_bytes = 15; field
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto54 required bytes req_bytes = 15; field
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c253 alltypes.req_bytes.funcs.encode = &write_string; in main()
254 alltypes.req_bytes.arg = "1015"; in main()
Ddecode_alltypes_callback.c269 alltypes.req_bytes.funcs.decode = &read_string; in check_alltypes()
270 alltypes.req_bytes.arg = "1015"; in check_alltypes()