Home
last modified time | relevance | path

Searched refs:tag_bytes (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dencoder.py438 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
441 write(tag_bytes)
450 tag_bytes = TagBytes(field_number, wire_type)
453 write(tag_bytes)
457 tag_bytes = TagBytes(field_number, wire_type)
459 write(tag_bytes)
472 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
475 write(tag_bytes)
484 tag_bytes = TagBytes(field_number, wire_type)
487 write(tag_bytes)
[all …]
Ddecoder.py219 tag_bytes = encoder.TagBytes(field_number, wire_type)
220 tag_len = len(tag_bytes)
231 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
373 tag_bytes = encoder.TagBytes(field_number,
376 (tag_bytes, buffer[value_start_pos:pos]))
386 tag_bytes = encoder.TagBytes(field_number, wire_format.WIRETYPE_VARINT)
387 tag_len = len(tag_bytes)
400 (tag_bytes, buffer[pos:new_pos]))
404 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
421 tag_bytes = encoder.TagBytes(field_number,
[all …]
Dunknown_fields_test.py166 for tag_bytes, value in self.unknown_fields:
167 if tag_bytes == field_tag:
168 decoder = unittest_pb2.TestAllTypes._decoders_by_tag[tag_bytes][0]
277 for tag_bytes, value in self.unknown_fields:
278 if tag_bytes == field_tag:
280 tag_bytes][0]
Dpython_message.py318 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
339 cls._decoders_by_tag[tag_bytes] = (field_decoder, oneof_descriptor)
1034 for tag_bytes, value_bytes in self._unknown_fields:
1035 size += len(tag_bytes) + len(value_bytes)
1071 for tag_bytes, value_bytes in self._unknown_fields:
1072 write_bytes(tag_bytes)
1104 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
1105 field_decoder, field_desc = decoders_by_tag.get(tag_bytes, (None, None))
1108 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
1115 (tag_bytes, buffer[value_start_pos:new_pos]))
Dwire_format_test.py109 for field_number, tag_bytes in ((15, 1), (16, 2), (2047, 2), (2048, 3)):
110 expected_size = expected_value_size + tag_bytes
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc65 string tag_bytes = SimpleItoa(tag_array[0]); in SetCommonFieldVariables() local
67 tag_bytes += ", " + SimpleItoa(tag_array[i]); in SetCommonFieldVariables()
73 (*variables)["tag_bytes"] = tag_bytes; in SetCommonFieldVariables()