HomeSort by relevance Sort by last modified time
    Searched refs:WireFormat (Results 1 - 25 of 35) sorted by null

1 2

  /external/protobuf/java/src/main/java/com/google/protobuf/
CodedOutputStream.java 136 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64);
143 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32);
150 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
157 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
164 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
171 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64);
178 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32);
185 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
192 writeTag(fieldNumber, WireFormat.WIRETYPE_LENGTH_DELIMITED);
199 writeTag(fieldNumber, WireFormat.WIRETYPE_START_GROUP)
    [all...]
FieldSet.java 58 WireFormat.FieldType getLiteType();
59 WireFormat.JavaType getLiteJavaType();
292 private static void verifyType(final WireFormat.FieldType type,
344 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) {
367 * {@link WireFormat}.
369 static int getWireFormatForFieldType(final WireFormat.FieldType type,
372 return WireFormat.WIRETYPE_LENGTH_DELIMITED;
399 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) {
418 // other class. Probably WireFormat.
433 final WireFormat.FieldType type) throws IOException
    [all...]
CodedInputStream.java 87 if (WireFormat.getTagFieldNumber(lastTag) == 0) {
117 switch (WireFormat.getTagWireType(tag)) {
118 case WireFormat.WIRETYPE_VARINT:
121 case WireFormat.WIRETYPE_FIXED64:
124 case WireFormat.WIRETYPE_LENGTH_DELIMITED:
127 case WireFormat.WIRETYPE_START_GROUP:
130 WireFormat.makeTag(WireFormat.getTagFieldNumber(tag),
131 WireFormat.WIRETYPE_END_GROUP));
133 case WireFormat.WIRETYPE_END_GROUP
    [all...]
GeneratedMessageLite.java 178 WireFormat.JavaType.MESSAGE &&
308 final int wireType = WireFormat.getTagWireType(tag);
309 final int fieldNumber = WireFormat.getTagFieldNumber(tag);
340 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) {
377 WireFormat.FieldType.GROUP) {
433 final WireFormat.FieldType type,
445 private final WireFormat.FieldType type;
453 public WireFormat.FieldType getLiteType() {
457 public WireFormat.JavaType getLiteJavaType() {
519 final WireFormat.FieldType type)
    [all...]
WireFormat.java 44 public final class WireFormat {
46 private WireFormat() {}
UnknownFieldSet.java 475 final int number = WireFormat.getTagFieldNumber(tag);
476 switch (WireFormat.getTagWireType(tag)) {
477 case WireFormat.WIRETYPE_VARINT:
480 case WireFormat.WIRETYPE_FIXED64:
483 case WireFormat.WIRETYPE_LENGTH_DELIMITED:
486 case WireFormat.WIRETYPE_START_GROUP:
492 case WireFormat.WIRETYPE_END_GROUP:
494 case WireFormat.WIRETYPE_FIXED32:
AbstractMessage.java 287 tag == WireFormat.MESSAGE_SET_ITEM_TAG) {
293 final int wireType = WireFormat.getTagWireType(tag);
294 final int fieldNumber = WireFormat.getTagFieldNumber(tag);
352 if (field.getLiteType() == WireFormat.FieldType.ENUM) {
462 if (tag == WireFormat.MESSAGE_SET_TYPE_ID_TAG) {
505 } else if (tag == WireFormat.MESSAGE_SET_MESSAGE_TAG) {
529 input.checkLastTagWas(WireFormat.MESSAGE_SET_ITEM_END_TAG);
  /external/protobuf/src/google/protobuf/
wire_format.h 74 class LIBPROTOBUF_EXPORT WireFormat {
123 // WireFormat::SerializeWithCachedSizes() on the same object.
241 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(WireFormat);
262 inline WireFormatLite::WireType WireFormat::WireTypeForField(
271 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
280 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) {
284 inline int WireFormat::TagSize(int field_number, FieldDescriptor::Type type) {
292 inline void WireFormat::VerifyUTF8String(const char* data, int size,
293 WireFormat::Operation op) {
295 WireFormat::VerifyUTF8StringFallback(data, size, op)
    [all...]
wire_format_unittest.cc 86 // Parse using WireFormat.
89 WireFormat::ParseAndMergePartial(&input, &dest);
103 // Parse using WireFormat.
106 WireFormat::ParseAndMergePartial(&input, &dest);
120 // Parse using WireFormat.
123 WireFormat::ParseAndMergePartial(&input, &dest);
135 // Parse using WireFormat.
139 WireFormat::ParseAndMergePartial(&input, &dest);
151 // Parse using WireFormat.
155 WireFormat::ParseAndMergePartial(&input, &dest)
    [all...]
descriptor.pb.cc     [all...]
wire_format.cc 70 return WireFormat::SkipField(input, tag, unknown_fields_);
74 return WireFormat::SkipMessage(input, unknown_fields_);
82 bool WireFormat::SkipField(io::CodedInputStream* input, uint32 tag,
142 bool WireFormat::SkipMessage(io::CodedInputStream* input,
162 void WireFormat::SerializeUnknownFields(const UnknownFieldSet& unknown_fields,
199 uint8* WireFormat::SerializeUnknownFieldsToArray(
234 void WireFormat::SerializeUnknownMessageSetItems(
262 uint8* WireFormat::SerializeUnknownMessageSetItemsToArray(
298 int WireFormat::ComputeUnknownFieldsSize(
346 int WireFormat::ComputeUnknownMessageSetItemsSize
    [all...]
message.cc 55 using internal::WireFormat;
115 return WireFormat::ParseAndMergePartial(input, this);
141 WireFormat::SerializeWithCachedSizes(*this, GetCachedSize(), output);
145 int size = WireFormat::ByteSize(*this);
unknown_field_set_unittest.cc 54 using internal::WireFormat;
182 int size = WireFormat::ComputeUnknownFieldsSize(
190 uint8* result = WireFormat::SerializeUnknownFieldsToArray(
197 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(),
224 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
238 int size = WireFormat::ByteSize(empty_message_);
239 WireFormat::SerializeWithCachedSizes(empty_message_, size, &output);
347 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &all_types_message));
370 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
unknown_field_set.cc 149 if (internal::WireFormat::SkipMessage(input, &other) &&
  /external/protobuf/src/google/protobuf/compiler/
plugin.pb.cc 244 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
246 ::google::protobuf::internal::WireFormat::PARSE);
262 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
264 ::google::protobuf::internal::WireFormat::PARSE);
293 DO_(::google::protobuf::internal::WireFormat::SkipField(
307 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
309 ::google::protobuf::internal::WireFormat::SERIALIZE);
316 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
318 ::google::protobuf::internal::WireFormat::SERIALIZE);
330 ::google::protobuf::internal::WireFormat::SerializeUnknownFields
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_field.cc 52 using internal::WireFormat;
63 WireFormat::TagSize(descriptor->number(), descriptor->type()));
cpp_primitive_field.cc 87 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor));
  /external/protobuf/src/google/protobuf/compiler/java/
java_enum_field.cc 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor));
65 internal::WireFormat::TagSize(descriptor->number(), GetType(descriptor)));
java_primitive_field.cc 50 using internal::WireFormat;
167 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor));
169 WireFormat::TagSize(descriptor->number(), GetType(descriptor)));
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_enum_field.cc 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor));
65 internal::WireFormat::TagSize(descriptor->number(), descriptor->type()));
javamicro_primitive_field.cc 50 using internal::WireFormat;
195 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor));
197 WireFormat::TagSize(descriptor->number(), descriptor->type()));
javamicro_message.cc 51 using internal::WireFormat;
320 WireFormat::WireTypeForField(field));
  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedInputStreamTest.java 386 int tag = WireFormat.makeTag(1, WireFormat.WIRETYPE_LENGTH_DELIMITED);
495 int tag = WireFormat.makeTag(1, WireFormat.WIRETYPE_LENGTH_DELIMITED);
DescriptorsTest.java 393 * WireFormat.FieldType enum.
397 WireFormat.FieldType[] values2 = WireFormat.FieldType.values();
408 * WireFormat.JavaType enum.
412 WireFormat.JavaType[] values2 = WireFormat.JavaType.values();
  /hardware/ril/mock-ril/src/cpp/
msgheader.pb.cpp 244 DO_(::google::protobuf::internal::WireFormat::SkipField(
277 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
305 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
346 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(

Completed in 1600 milliseconds

1 2