/external/nanopb-c/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 98 TEST(alltypes.opt_bytes == NULL); in check_alltypes() 121 TEST(alltypes.opt_bytes && alltypes.opt_bytes->size == 4); in check_alltypes() 122 TEST(alltypes.opt_bytes && memcmp(&alltypes.opt_bytes->bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_alltypes_pointer.c | 81 PB_BYTES_ARRAY_T(4) opt_bytes = {4, {'3', '0', '5', '5'}}; in main() 163 alltypes.opt_bytes = (pb_bytes_array_t*)&opt_bytes; in main()
|
/external/protobuf/js/binary/ |
D | decoder.js | 223 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { argument 268 if (opt_bytes) { 269 this.setBlock(opt_bytes, opt_start, opt_length); 290 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) { argument 293 if (opt_bytes) { 294 newDecoder.setBlock(opt_bytes, opt_start, opt_length); 298 return new jspb.BinaryDecoder(opt_bytes, opt_start, opt_length);
|
D | reader.js | 66 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) { argument 71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length); 123 function(opt_bytes, opt_start, opt_length) { argument 126 if (opt_bytes) { 127 newReader.decoder_.setBlock(opt_bytes, opt_start, opt_length); 131 return new jspb.BinaryReader(opt_bytes, opt_start, opt_length);
|
/external/nanopb-c/tests/backwards_compatibility/ |
D | decode_legacy.c | 119 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 120 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 163 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 164 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_legacy.c | 107 alltypes.opt_bytes.size = 4; in main() 108 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
|
D | alltypes_legacy.c | 87 …PB_FIELD( 55, BYTES , OPTIONAL, STATIC, AllTypes, opt_bytes, opt_string, &AllTypes_opt_bytes_def… 88 PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC, AllTypes, opt_submsg, opt_bytes, &SubMessage_fields),
|
D | alltypes_legacy.h | 127 AllTypes_opt_bytes_t opt_bytes; member
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 117 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 118 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 162 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 163 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_alltypes.c | 116 alltypes.opt_bytes.size = 4; in main() 117 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
|
D | alltypes.proto | 99 optional bytes opt_bytes = 55 [default = "4055"]; field
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 99 optional bytes opt_bytes = 10055 [default = "4055"]; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 99 optional bytes opt_bytes = 10055 [default = "4055"]; field
|
/external/nanopb-c/tests/alltypes_callback/ |
D | encode_alltypes_callback.c | 365 alltypes.opt_bytes.funcs.encode = &write_string; in main() 366 alltypes.opt_bytes.arg = "3055"; in main()
|
D | decode_alltypes_callback.c | 384 alltypes.opt_bytes.funcs.decode = &read_string; in check_alltypes() 385 alltypes.opt_bytes.arg = "3055"; in check_alltypes()
|