/external/grpc-grpc/third_party/nanopb/tests/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 99 TEST(alltypes.opt_bytes == NULL); in check_alltypes() 124 TEST(alltypes.opt_bytes && alltypes.opt_bytes->size == 4); in check_alltypes() 125 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() 166 alltypes.opt_bytes = (pb_bytes_array_t*)&opt_bytes; in main()
|
/external/protobuf/js/binary/ |
D | decoder.js | 224 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { argument 269 if (opt_bytes) { 270 this.setBlock(opt_bytes, opt_start, opt_length); 291 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) { argument 294 if (opt_bytes) { 295 newDecoder.setBlock(opt_bytes, opt_start, opt_length); 299 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/alltypes_pointer/ |
D | decode_alltypes_pointer.c | 103 TEST(alltypes.opt_bytes == NULL); in check_alltypes() 129 TEST(alltypes.opt_bytes && alltypes.opt_bytes->size == 4); in check_alltypes() 130 TEST(alltypes.opt_bytes && memcmp(&alltypes.opt_bytes->bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_alltypes_pointer.c | 83 PB_BYTES_ARRAY_T(4) opt_bytes = {4, {'3', '0', '5', '5'}}; in main() 171 alltypes.opt_bytes = (pb_bytes_array_t*)&opt_bytes; in main()
|
/external/nanopb-c/tests/without_64bit/ |
D | decode_alltypes.c | 96 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 97 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 132 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 133 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_alltypes.c | 89 alltypes.opt_bytes.size = 4; in main() 90 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
|
D | alltypes.proto | 78 optional bytes opt_bytes = 55 [default = "4055"]; field
|
/external/grpc-grpc/third_party/nanopb/tests/backwards_compatibility/ |
D | decode_legacy.c | 116 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 117 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 160 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 161 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 | 115 …PB_FIELD( 55, BYTES , OPTIONAL, STATIC , OTHER, AllTypes, opt_bytes, opt_string, &AllTypes_opt_… 116 …PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC , OTHER, AllTypes, opt_submsg, opt_bytes, &SubMessage_fi…
|
D | alltypes_legacy.proto | 99 optional bytes opt_bytes = 55 [default = "4055"]; field
|
/external/nanopb-c/tests/backwards_compatibility/ |
D | decode_legacy.c | 116 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 117 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 160 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 161 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 | 115 …PB_FIELD( 55, BYTES , OPTIONAL, STATIC , OTHER, AllTypes, opt_bytes, opt_string, &AllTypes_opt_… 116 …PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC , OTHER, AllTypes, opt_submsg, opt_bytes, &SubMessage_fi…
|
D | alltypes_legacy.proto | 99 optional bytes opt_bytes = 55 [default = "4055"]; field
|
/external/grpc-grpc/third_party/nanopb/tests/alltypes/ |
D | decode_alltypes.c | 119 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 120 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); in check_alltypes() 166 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 167 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()
|
/external/nanopb-c/tests/alltypes/ |
D | decode_alltypes.c | 137 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 138 TEST(memcmp(alltypes.opt_bytes.bytes, "\x34\x5C\x00\xff", 4) == 0); in check_alltypes() 186 TEST(alltypes.opt_bytes.size == 4); in check_alltypes() 187 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0); in check_alltypes()
|
D | encode_alltypes.c | 123 alltypes.opt_bytes.size = 4; in main() 124 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
|
/external/nanopb-c/tests/field_size_32/ |
D | alltypes.proto | 102 optional bytes opt_bytes = 10055 [default = "\x34\x5C\x00\xff"]; field
|
/external/grpc-grpc/third_party/nanopb/tests/field_size_32/ |
D | alltypes.proto | 101 optional bytes opt_bytes = 10055 [default = "4055"]; field
|
/external/grpc-grpc/third_party/nanopb/tests/field_size_16/ |
D | alltypes.proto | 101 optional bytes opt_bytes = 10055 [default = "4055"]; field
|
/external/nanopb-c/tests/field_size_16/ |
D | alltypes.proto | 102 optional bytes opt_bytes = 10055 [default = "\x34\x5C\x00\xff"]; field
|