Home
last modified time | relevance | path

Searched refs:opt_bytes (Results 1 – 25 of 33) sorted by relevance

12

/external/grpc-grpc/third_party/nanopb/tests/alltypes_pointer/
Ddecode_alltypes_pointer.c99 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()
Dencode_alltypes_pointer.c81 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/
Ddecoder.js224 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);
Dreader.js66 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/
Ddecode_alltypes_pointer.c103 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()
Dencode_alltypes_pointer.c83 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/
Ddecode_alltypes.c96 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()
Dencode_alltypes.c89 alltypes.opt_bytes.size = 4; in main()
90 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
Dalltypes.proto78 optional bytes opt_bytes = 55 [default = "4055"]; field
/external/grpc-grpc/third_party/nanopb/tests/backwards_compatibility/
Ddecode_legacy.c116 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()
Dencode_legacy.c107 alltypes.opt_bytes.size = 4; in main()
108 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
Dalltypes_legacy.c115 …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…
Dalltypes_legacy.proto99 optional bytes opt_bytes = 55 [default = "4055"]; field
/external/nanopb-c/tests/backwards_compatibility/
Ddecode_legacy.c116 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()
Dencode_legacy.c107 alltypes.opt_bytes.size = 4; in main()
108 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
Dalltypes_legacy.c115 …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…
Dalltypes_legacy.proto99 optional bytes opt_bytes = 55 [default = "4055"]; field
/external/grpc-grpc/third_party/nanopb/tests/alltypes/
Ddecode_alltypes.c119 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()
Dencode_alltypes.c116 alltypes.opt_bytes.size = 4; in main()
117 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
/external/nanopb-c/tests/alltypes/
Ddecode_alltypes.c137 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()
Dencode_alltypes.c123 alltypes.opt_bytes.size = 4; in main()
124 memcpy(alltypes.opt_bytes.bytes, "3055", 4); in main()
/external/nanopb-c/tests/field_size_32/
Dalltypes.proto102 optional bytes opt_bytes = 10055 [default = "\x34\x5C\x00\xff"]; field
/external/grpc-grpc/third_party/nanopb/tests/field_size_32/
Dalltypes.proto101 optional bytes opt_bytes = 10055 [default = "4055"]; field
/external/grpc-grpc/third_party/nanopb/tests/field_size_16/
Dalltypes.proto101 optional bytes opt_bytes = 10055 [default = "4055"]; field
/external/nanopb-c/tests/field_size_16/
Dalltypes.proto102 optional bytes opt_bytes = 10055 [default = "\x34\x5C\x00\xff"]; field

12