Home
last modified time | relevance | path

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

/external/protobuf/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.py323 tag_bytes = encoder.TagBytes(field_descriptor.number, wiretype)
344 cls._decoders_by_tag[tag_bytes] = (field_decoder, oneof_descriptor)
1032 for tag_bytes, value_bytes in self._unknown_fields:
1033 size += len(tag_bytes) + len(value_bytes)
1069 for tag_bytes, value_bytes in self._unknown_fields:
1070 write_bytes(tag_bytes)
1102 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
1103 field_decoder, field_desc = decoders_by_tag.get(tag_bytes, (None, None))
1106 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
1113 (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
/external/e2fsprogs/debugfs/
Ddo_journal.c272 int tag_bytes; in journal_add_blocks_to_trans() local
319 tag_bytes = journal_tag_bytes(trans->journal); in journal_add_blocks_to_trans()
322 if ((char *)jdbt + tag_bytes > in journal_add_blocks_to_trans()
354 memcpy(jdbt + tag_bytes, in journal_add_blocks_to_trans()
357 tag_bytes += 16; in journal_add_blocks_to_trans()
377 tag_bytes); in journal_add_blocks_to_trans()
385 jdbt = (journal_block_tag_t *)(((char *)jdbt) + tag_bytes); in journal_add_blocks_to_trans()
625 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
632 while ((tagp - buf + tag_bytes) <= size) { in count_tags()
636 tagp += tag_bytes; in count_tags()
Drecovery.c227 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
234 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags()
238 tagp += tag_bytes; in count_tags()
452 int tag_bytes = journal_tag_bytes(journal); in do_one_pass() local
581 while ((tagp - bh->b_data + tag_bytes) in do_one_pass()
667 tagp += tag_bytes; in do_one_pass()
/external/e2fsprogs/e2fsck/
Drecovery.c227 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
234 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags()
238 tagp += tag_bytes; in count_tags()
452 int tag_bytes = journal_tag_bytes(journal); in do_one_pass() local
581 while ((tagp - bh->b_data + tag_bytes) in do_one_pass()
667 tagp += tag_bytes; in do_one_pass()
/external/protobuf/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()
/external/ImageMagick/MagickCore/
Dproperty.c1263 tag_bytes[] = {0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8}; in GetEXIFProperty() local
1445 if (format >= (sizeof(tag_bytes)/sizeof(*tag_bytes))) in GetEXIFProperty()
1450 number_bytes=(size_t) components*tag_bytes[format]; in GetEXIFProperty()