HomeSort by relevance Sort by last modified time
    Searched refs:tag_bytes (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
decoder.py 161 """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 or new_pos == end
    [all...]
encoder.py 411 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...]
unknown_fields_test.py 61 for tag_bytes, value in self.unknown_fields:
62 if tag_bytes == field_tag:
63 decoder = unittest_pb2.TestAllTypes._decoders_by_tag[tag_bytes]
python_message.py 211 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, buffer[value_start_pos:new_pos])
    [all...]
wire_format_test.py 105 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/
decoder.py 154 """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 or new_pos == end
    [all...]
encoder.py 405 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...]
wire_format_test.py 105 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/
recovery.c 186 int tag_bytes = journal_tag_bytes(journal); local
190 while ((tagp - bh->b_data + tag_bytes) <= size) {
194 tagp += tag_bytes;
312 static inline unsigned long long read_tag_block(int tag_bytes, journal_block_tag_t *tag)
315 if (tag_bytes > JBD_TAG_SIZE32)
364 int tag_bytes = journal_tag_bytes(journal); local
370 / tag_bytes);
485 while ((tagp - bh->b_data + tag_bytes)
557 tagp += tag_bytes;
  /external/protobuf/python/google/protobuf/
reflection.py 278 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)
    [all...]

Completed in 1174 milliseconds