Searched refs:tag_bytes (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dencoder.py411 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
414 write(tag_bytes)
423 tag_bytes = TagBytes(field_number, wire_type)
426 write(tag_bytes)
430 tag_bytes = TagBytes(field_number, wire_type)
432 write(tag_bytes)
445 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
448 write(tag_bytes)
457 tag_bytes = TagBytes(field_number, wire_type)
460 write(tag_bytes)
[all...]
H A Ddecoder.py161 """Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.
210 tag_bytes = encoder.TagBytes(field_number, wire_type)
211 tag_len = len(tag_bytes)
222 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
385 tag_bytes = encoder.TagBytes(field_number,
387 tag_len = len(tag_bytes)
400 if buffer[new_pos:pos] != tag_bytes or new_pos == end:
422 tag_bytes = encoder.TagBytes(field_number,
424 tag_len = len(tag_bytes)
437 if buffer[new_pos:pos] != tag_bytes o
[all...]
H A Dunknown_fields_test.py61 for tag_bytes, value in self.unknown_fields:
62 if tag_bytes == field_tag:
63 decoder = unittest_pb2.TestAllTypes._decoders_by_tag[tag_bytes]
H A Dpython_message.py211 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
212 cls._decoders_by_tag[tag_bytes] = (
747 for tag_bytes, value_bytes in self._unknown_fields:
748 size += len(tag_bytes) + len(value_bytes)
784 for tag_bytes, value_bytes in self._unknown_fields:
785 write_bytes(tag_bytes)
815 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
816 field_decoder = decoders_by_tag.get(tag_bytes)
819 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
824 unknown_field_list.append((tag_bytes, buffe
[all...]
H A Dwire_format_test.py105 for field_number, tag_bytes in ((15, 1), (16, 2), (2047, 2), (2048, 3)):
106 expected_size = expected_value_size + tag_bytes
/external/protobuf/python/google/protobuf/internal/
H A Ddecoder.py154 """Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.
203 tag_bytes = encoder.TagBytes(field_number, wire_type)
204 tag_len = len(tag_bytes)
215 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
312 tag_bytes = encoder.TagBytes(field_number,
314 tag_len = len(tag_bytes)
327 if buffer[new_pos:pos] != tag_bytes or new_pos == end:
349 tag_bytes = encoder.TagBytes(field_number,
351 tag_len = len(tag_bytes)
364 if buffer[new_pos:pos] != tag_bytes o
[all...]
H A Dencoder.py405 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
408 write(tag_bytes)
417 tag_bytes = TagBytes(field_number, wire_type)
420 write(tag_bytes)
424 tag_bytes = TagBytes(field_number, wire_type)
426 write(tag_bytes)
439 tag_bytes = TagBytes(field_number, wire_format.WIRETYPE_LENGTH_DELIMITED)
442 write(tag_bytes)
451 tag_bytes = TagBytes(field_number, wire_type)
454 write(tag_bytes)
[all...]
H A Dwire_format_test.py105 for field_number, tag_bytes in ((15, 1), (16, 2), (2047, 2), (2048, 3)):
106 expected_size = expected_value_size + tag_bytes
/external/e2fsprogs/e2fsck/
H A Drecovery.c186 int tag_bytes = journal_tag_bytes(journal); local
190 while ((tagp - bh->b_data + tag_bytes) <= size) {
194 tagp += tag_bytes;
310 static inline unsigned long long read_tag_block(int tag_bytes, journal_block_tag_t *tag) argument
313 if (tag_bytes > JBD_TAG_SIZE32)
361 int tag_bytes = journal_tag_bytes(journal); local
477 while ((tagp - bh->b_data + tag_bytes)
499 blocknr = read_tag_block(tag_bytes,
550 tagp += tag_bytes;
/external/protobuf/python/google/protobuf/
H A Dreflection.py278 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
279 cls._decoders_by_tag[tag_bytes] = (
840 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
841 field_decoder = decoders_by_tag.get(tag_bytes)
843 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)

Completed in 158 milliseconds