/external/nanopb-c/tests/alltypes_pointer/ |
decode_alltypes_pointer.c | 98 TEST(alltypes.opt_bytes == NULL); 121 TEST(alltypes.opt_bytes && alltypes.opt_bytes->size == 4); 122 TEST(alltypes.opt_bytes && memcmp(&alltypes.opt_bytes->bytes, "3055", 4) == 0);
|
encode_alltypes_pointer.c | 81 PB_BYTES_ARRAY_T(4) opt_bytes = {4, {'3', '0', '5', '5'}}; 163 alltypes.opt_bytes = (pb_bytes_array_t*)&opt_bytes;
|
/external/nanopb-c/tests/alltypes/ |
encode_alltypes.c | 116 alltypes.opt_bytes.size = 4; 117 memcpy(alltypes.opt_bytes.bytes, "3055", 4);
|
decode_alltypes.c | 117 TEST(alltypes.opt_bytes.size == 4); 118 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); 162 TEST(alltypes.opt_bytes.size == 4); 163 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0);
|
/external/nanopb-c/tests/backwards_compatibility/ |
encode_legacy.c | 107 alltypes.opt_bytes.size = 4; 108 memcpy(alltypes.opt_bytes.bytes, "3055", 4);
|
decode_legacy.c | 119 TEST(alltypes.opt_bytes.size == 4); 120 TEST(memcmp(alltypes.opt_bytes.bytes, "4055", 4) == 0); 163 TEST(alltypes.opt_bytes.size == 4); 164 TEST(memcmp(alltypes.opt_bytes.bytes, "3055", 4) == 0);
|
alltypes_legacy.c | 87 PB_FIELD( 55, BYTES , OPTIONAL, STATIC, AllTypes, opt_bytes, opt_string, &AllTypes_opt_bytes_default), 88 PB_FIELD( 56, MESSAGE , OPTIONAL, STATIC, AllTypes, opt_submsg, opt_bytes, &SubMessage_fields),
|
alltypes_legacy.h | 127 AllTypes_opt_bytes_t opt_bytes; member in struct:_AllTypes
|
/external/nanopb-c/tests/alltypes_callback/ |
decode_alltypes_callback.c | 384 alltypes.opt_bytes.funcs.decode = &read_string; 385 alltypes.opt_bytes.arg = "3055";
|
encode_alltypes_callback.c | 365 alltypes.opt_bytes.funcs.encode = &write_string; 366 alltypes.opt_bytes.arg = "3055";
|
/external/protobuf/js/binary/ |
decoder.js | 216 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from. 223 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { 268 if (opt_bytes) { 269 this.setBlock(opt_bytes, opt_start, opt_length); 284 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from. 290 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) { 293 if (opt_bytes) { 294 newDecoder.setBlock(opt_bytes, opt_start, opt_length); 298 return new jspb.BinaryDecoder(opt_bytes, opt_start, opt_length);
|
reader.js | 59 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from. 66 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) { 71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length); 116 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from. 123 function(opt_bytes, opt_start, opt_length) { 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); 138 * @param {jspb.ByteSource=} opt_bytes The bytes we're reading from. [all...] |