Home
last modified time | relevance | path

Searched refs:tag_bytes (Results 1 – 13 of 13) 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/nanopb-c/generator/google/protobuf/internal/
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 …]
Ddecoder.py210 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:
461 tag_bytes = encoder.TagBytes(field_number,
[all …]
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, buffer[value_start_pos:new_pos]))
/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()
624 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
631 while ((tagp - buf + tag_bytes) <= size) { in count_tags()
635 tagp += tag_bytes; in count_tags()
Drecovery.c206 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
213 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags()
217 tagp += tag_bytes; in count_tags()
443 int tag_bytes = journal_tag_bytes(journal); in do_one_pass() local
572 while ((tagp - bh->b_data + tag_bytes) in do_one_pass()
658 tagp += tag_bytes; in do_one_pass()
/external/e2fsprogs/e2fsck/
Drecovery.c206 int tag_bytes = journal_tag_bytes(journal); in count_tags() local
213 while ((tagp - bh->b_data + tag_bytes) <= size) { in count_tags()
217 tagp += tag_bytes; in count_tags()
443 int tag_bytes = journal_tag_bytes(journal); in do_one_pass() local
572 while ((tagp - bh->b_data + tag_bytes) in do_one_pass()
658 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.c1233 tag_bytes[] = {0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8}; in GetEXIFProperty() local
1413 if (format >= (sizeof(tag_bytes)/sizeof(*tag_bytes))) in GetEXIFProperty()
1418 number_bytes=(size_t) components*tag_bytes[format]; in GetEXIFProperty()