HomeSort by relevance Sort by last modified time
    Searched full:fielddescriptor (Results 1 - 25 of 250) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium_org/third_party/protobuf/src/google/protobuf/
generated_message_reflection.h 146 bool HasField(const Message& message, const FieldDescriptor* field) const;
147 int FieldSize(const Message& message, const FieldDescriptor* field) const;
148 void ClearField(Message* message, const FieldDescriptor* field) const;
149 void RemoveLast(Message* message, const FieldDescriptor* field) const;
150 Message* ReleaseLast(Message* message, const FieldDescriptor* field) const;
152 void SwapElements(Message* message, const FieldDescriptor* field,
155 vector<const FieldDescriptor*>* output) const;
158 const FieldDescriptor* field) const;
160 const FieldDescriptor* field) const;
162 const FieldDescriptor* field) const
    [all...]
generated_message_reflection.cc 69 const Descriptor* descriptor, const FieldDescriptor* field,
79 const char* cpptype_names_[FieldDescriptor::MAX_CPPTYPE + 1] = {
94 const Descriptor* descriptor, const FieldDescriptor* field,
96 FieldDescriptor::CppType expected_type) {
108 const Descriptor* descriptor, const FieldDescriptor* field,
129 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \
131 FieldDescriptor::CPPTYPE_##CPPTYPE)
141 USAGE_CHECK_NE(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \
144 USAGE_CHECK_EQ(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \
206 const FieldDescriptor* field = descriptor_->field(i)
    [all...]
reflection_ops.cc 64 vector<const FieldDescriptor*> fields;
67 const FieldDescriptor* field = fields[i];
74 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
90 case FieldDescriptor::CPPTYPE_MESSAGE:
99 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
115 case FieldDescriptor::CPPTYPE_MESSAGE:
130 vector<const FieldDescriptor*> fields;
153 vector<const FieldDescriptor*> fields;
156 const FieldDescriptor* field = fields[i];
157 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE)
    [all...]
message.h 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text");
88 // assert(text_field->type() == FieldDescriptor::TYPE_STRING);
89 // assert(text_field->label() == FieldDescriptor::LABEL_OPTIONAL);
90 // const FieldDescriptor* numbers_field = descriptor->
93 // assert(numbers_field->type() == FieldDescriptor::TYPE_INT32);
94 // assert(numbers_field->label() == FieldDescriptor::LABEL_REPEATED);
335 // - The FieldDescriptor is not a field of this message type.
337 // each field type in FieldDescriptor::TYPE_*, there is only one
380 const FieldDescriptor* field) const = 0;
384 const FieldDescriptor* field) const = 0
    [all...]
  /external/protobuf/src/google/protobuf/
generated_message_reflection.h 140 bool HasField(const Message& message, const FieldDescriptor* field) const;
141 int FieldSize(const Message& message, const FieldDescriptor* field) const;
142 void ClearField(Message* message, const FieldDescriptor* field) const;
143 void RemoveLast(Message* message, const FieldDescriptor* field) const;
145 void SwapElements(Message* message, const FieldDescriptor* field,
148 vector<const FieldDescriptor*>* output) const;
151 const FieldDescriptor* field) const;
153 const FieldDescriptor* field) const;
155 const FieldDescriptor* field) const;
157 const FieldDescriptor* field) const
    [all...]
generated_message_reflection.cc 84 const Descriptor* descriptor, const FieldDescriptor* field,
94 const char* cpptype_names_[FieldDescriptor::MAX_CPPTYPE + 1] = {
109 const Descriptor* descriptor, const FieldDescriptor* field,
111 FieldDescriptor::CppType expected_type) {
123 const Descriptor* descriptor, const FieldDescriptor* field,
144 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \
146 FieldDescriptor::CPPTYPE_##CPPTYPE)
156 USAGE_CHECK_NE(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \
159 USAGE_CHECK_EQ(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \
221 const FieldDescriptor* field = descriptor_->field(i)
    [all...]
message.h 86 // FieldDescriptor* text_field = descriptor->FindFieldByName("text");
88 // assert(text_field->type() == FieldDescriptor::TYPE_STRING);
89 // assert(text_field->label() == FieldDescriptor::TYPE_OPTIONAL);
90 // FieldDescriptor* numbers_field = descriptor->FindFieldByName("numbers");
92 // assert(numbers_field->type() == FieldDescriptor::TYPE_INT32);
93 // assert(numbers_field->label() == FieldDescriptor::TYPE_REPEATED);
155 class FieldDescriptor; // descriptor.h
354 // - The FieldDescriptor is not a field of this message type.
356 // each field type in FieldDescriptor::TYPE_*, there is only one
400 const FieldDescriptor* field) const = 0
    [all...]
reflection_ops.cc 60 vector<const FieldDescriptor*> fields;
63 const FieldDescriptor* field = fields[i];
70 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
86 case FieldDescriptor::CPPTYPE_MESSAGE:
95 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
111 case FieldDescriptor::CPPTYPE_MESSAGE:
126 vector<const FieldDescriptor*> fields;
149 vector<const FieldDescriptor*> fields;
152 const FieldDescriptor* field = fields[i];
153 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE)
    [all...]
  /external/protobuf/src/google/protobuf/compiler/java/
java_helpers.cc 57 const string& FieldName(const FieldDescriptor* field) {
61 if (GetType(field) == FieldDescriptor::TYPE_GROUP) {
101 string UnderscoresToCamelCase(const FieldDescriptor* field) {
105 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) {
176 string FieldConstantName(const FieldDescriptor *field) {
182 FieldDescriptor::Type GetType(const FieldDescriptor* field) {
186 JavaType GetJavaType(const FieldDescriptor* field) {
188 case FieldDescriptor::TYPE_INT32:
189 case FieldDescriptor::TYPE_UINT32
    [all...]
java_primitive_field.cc 95 const char* GetCapitalizedType(const FieldDescriptor* field) {
97 case FieldDescriptor::TYPE_INT32 : return "Int32" ;
98 case FieldDescriptor::TYPE_UINT32 : return "UInt32" ;
99 case FieldDescriptor::TYPE_SINT32 : return "SInt32" ;
100 case FieldDescriptor::TYPE_FIXED32 : return "Fixed32" ;
101 case FieldDescriptor::TYPE_SFIXED32: return "SFixed32";
102 case FieldDescriptor::TYPE_INT64 : return "Int64" ;
103 case FieldDescriptor::TYPE_UINT64 : return "UInt64" ;
104 case FieldDescriptor::TYPE_SINT64 : return "SInt64" ;
105 case FieldDescriptor::TYPE_FIXED64 : return "Fixed64"
    [all...]
java_extension.cc 47 const char* TypeName(FieldDescriptor::Type field_type) {
49 case FieldDescriptor::TYPE_INT32 : return "INT32";
50 case FieldDescriptor::TYPE_UINT32 : return "UINT32";
51 case FieldDescriptor::TYPE_SINT32 : return "SINT32";
52 case FieldDescriptor::TYPE_FIXED32 : return "FIXED32";
53 case FieldDescriptor::TYPE_SFIXED32: return "SFIXED32";
54 case FieldDescriptor::TYPE_INT64 : return "INT64";
55 case FieldDescriptor::TYPE_UINT64 : return "UINT64";
56 case FieldDescriptor::TYPE_SINT64 : return "SINT64";
57 case FieldDescriptor::TYPE_FIXED64 : return "FIXED64"
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_helpers.cc 58 const string& FieldName(const FieldDescriptor* field) {
62 if (field->type() == FieldDescriptor::TYPE_GROUP) {
102 string UnderscoresToCamelCase(const FieldDescriptor* field) {
106 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) {
194 string FieldConstantName(const FieldDescriptor *field) {
200 JavaType GetJavaType(FieldDescriptor::Type field_type) {
202 case FieldDescriptor::TYPE_INT32:
203 case FieldDescriptor::TYPE_UINT32:
204 case FieldDescriptor::TYPE_SINT32:
205 case FieldDescriptor::TYPE_FIXED32
    [all...]
javamicro_primitive_field.cc 95 const char* GetCapitalizedType(const FieldDescriptor* field) {
97 case FieldDescriptor::TYPE_INT32 : return "Int32" ;
98 case FieldDescriptor::TYPE_UINT32 : return "UInt32" ;
99 case FieldDescriptor::TYPE_SINT32 : return "SInt32" ;
100 case FieldDescriptor::TYPE_FIXED32 : return "Fixed32" ;
101 case FieldDescriptor::TYPE_SFIXED32: return "SFixed32";
102 case FieldDescriptor::TYPE_INT64 : return "Int64" ;
103 case FieldDescriptor::TYPE_UINT64 : return "UInt64" ;
104 case FieldDescriptor::TYPE_SINT64 : return "SInt64" ;
105 case FieldDescriptor::TYPE_FIXED64 : return "Fixed64"
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
java_helpers.cc 57 const string& FieldName(const FieldDescriptor* field) {
61 if (GetType(field) == FieldDescriptor::TYPE_GROUP) {
101 string UnderscoresToCamelCase(const FieldDescriptor* field) {
105 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) {
199 string FieldConstantName(const FieldDescriptor *field) {
205 FieldDescriptor::Type GetType(const FieldDescriptor* field) {
209 JavaType GetJavaType(const FieldDescriptor* field) {
211 case FieldDescriptor::TYPE_INT32:
212 case FieldDescriptor::TYPE_UINT32
    [all...]
java_extension.cc 48 const char* TypeName(FieldDescriptor::Type field_type) {
50 case FieldDescriptor::TYPE_INT32 : return "INT32";
51 case FieldDescriptor::TYPE_UINT32 : return "UINT32";
52 case FieldDescriptor::TYPE_SINT32 : return "SINT32";
53 case FieldDescriptor::TYPE_FIXED32 : return "FIXED32";
54 case FieldDescriptor::TYPE_SFIXED32: return "SFIXED32";
55 case FieldDescriptor::TYPE_INT64 : return "INT64";
56 case FieldDescriptor::TYPE_UINT64 : return "UINT64";
57 case FieldDescriptor::TYPE_SINT64 : return "SINT64";
58 case FieldDescriptor::TYPE_FIXED64 : return "FIXED64"
    [all...]
java_primitive_field.cc 96 const char* GetCapitalizedType(const FieldDescriptor* field) {
98 case FieldDescriptor::TYPE_INT32 : return "Int32" ;
99 case FieldDescriptor::TYPE_UINT32 : return "UInt32" ;
100 case FieldDescriptor::TYPE_SINT32 : return "SInt32" ;
101 case FieldDescriptor::TYPE_FIXED32 : return "Fixed32" ;
102 case FieldDescriptor::TYPE_SFIXED32: return "SFixed32";
103 case FieldDescriptor::TYPE_INT64 : return "Int64" ;
104 case FieldDescriptor::TYPE_UINT64 : return "UInt64" ;
105 case FieldDescriptor::TYPE_SINT64 : return "SInt64" ;
106 case FieldDescriptor::TYPE_FIXED64 : return "Fixed64"
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
cpp_helpers.cc 169 string FieldName(const FieldDescriptor* field) {
178 string FieldConstantName(const FieldDescriptor *field) {
194 string FieldMessageTypeName(const FieldDescriptor* field) {
208 const char* PrimitiveTypeName(FieldDescriptor::CppType type) {
210 case FieldDescriptor::CPPTYPE_INT32 : return "::google::protobuf::int32";
211 case FieldDescriptor::CPPTYPE_INT64 : return "::google::protobuf::int64";
212 case FieldDescriptor::CPPTYPE_UINT32 : return "::google::protobuf::uint32";
213 case FieldDescriptor::CPPTYPE_UINT64 : return "::google::protobuf::uint64";
214 case FieldDescriptor::CPPTYPE_DOUBLE : return "double";
215 case FieldDescriptor::CPPTYPE_FLOAT : return "float"
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_helpers.cc 153 string FieldName(const FieldDescriptor* field) {
162 string FieldConstantName(const FieldDescriptor *field) {
178 string FieldMessageTypeName(const FieldDescriptor* field) {
192 const char* PrimitiveTypeName(FieldDescriptor::CppType type) {
194 case FieldDescriptor::CPPTYPE_INT32 : return "::google::protobuf::int32";
195 case FieldDescriptor::CPPTYPE_INT64 : return "::google::protobuf::int64";
196 case FieldDescriptor::CPPTYPE_UINT32 : return "::google::protobuf::uint32";
197 case FieldDescriptor::CPPTYPE_UINT64 : return "::google::protobuf::uint64";
198 case FieldDescriptor::CPPTYPE_DOUBLE : return "double";
199 case FieldDescriptor::CPPTYPE_FLOAT : return "float"
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
48 private final FieldSet<FieldDescriptor> fields;
55 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields,
67 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(),
150 public Map<FieldDescriptor, Object> getAllFields() {
154 public boolean hasField(FieldDescriptor field) {
159 public Object getField(FieldDescriptor field) {
163 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
172 public int getRepeatedFieldCount(FieldDescriptor field) {
177 public Object getRepeatedField(FieldDescriptor field, int index)
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_primitive_field.cc 117 const char* GetCapitalizedType(const FieldDescriptor* field) {
119 case FieldDescriptor::TYPE_INT32 : return "Int32" ;
120 case FieldDescriptor::TYPE_UINT32 : return "UInt32" ;
121 case FieldDescriptor::TYPE_SINT32 : return "SInt32" ;
122 case FieldDescriptor::TYPE_FIXED32 : return "Fixed32" ;
123 case FieldDescriptor::TYPE_SFIXED32: return "SFixed32";
124 case FieldDescriptor::TYPE_INT64 : return "Int64" ;
125 case FieldDescriptor::TYPE_UINT64 : return "UInt64" ;
126 case FieldDescriptor::TYPE_SINT64 : return "SInt64" ;
127 case FieldDescriptor::TYPE_FIXED64 : return "Fixed64"
    [all...]
javanano_helpers.cc 101 const string& FieldName(const FieldDescriptor* field) {
105 if (field->type() == FieldDescriptor::TYPE_GROUP) {
145 string UnderscoresToCamelCase(const FieldDescriptor* field) {
149 string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) {
241 string FieldConstantName(const FieldDescriptor *field) {
247 string FieldDefaultConstantName(const FieldDescriptor *field) {
253 JavaType GetJavaType(FieldDescriptor::Type field_type) {
255 case FieldDescriptor::TYPE_INT32:
256 case FieldDescriptor::TYPE_UINT32:
257 case FieldDescriptor::TYPE_SINT32
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java 39 import com.google.protobuf.Descriptors.FieldDescriptor;
71 // Regression test for bug where referencing a FieldDescriptor.Type value
74 private static final Object STATIC_INIT_TEST = FieldDescriptor.Type.BOOL;
77 assertEquals(FieldDescriptor.Type.values().length,
79 for (FieldDescriptor.Type type : FieldDescriptor.Type.values()) {
82 assertEquals(type, FieldDescriptor.Type.valueOf(protoType));
130 FieldDescriptor extension =
163 FieldDescriptor field = messageType.getFields().get(0);
191 FieldDescriptor primitiveField
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
49 private final FieldSet<FieldDescriptor> fields;
56 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields,
68 return new DynamicMessage(type, FieldSet.<FieldDescriptor>emptySet(),
151 public Map<FieldDescriptor, Object> getAllFields() {
155 public boolean hasField(FieldDescriptor field) {
160 public Object getField(FieldDescriptor field) {
166 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
175 public int getRepeatedFieldCount(FieldDescriptor field) {
180 public Object getRepeatedField(FieldDescriptor field, int index)
    [all...]
AbstractMessage.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
55 for (final FieldDescriptor field : getDescriptorForType().getFields()) {
64 for (final Map.Entry<FieldDescriptor, Object> entry :
66 final FieldDescriptor field = entry.getKey();
67 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
113 for (final Map.Entry<FieldDescriptor, Object> entry :
115 final FieldDescriptor field = entry.getKey();
118 field.getType() == FieldDescriptor.Type.MESSAGE &&
146 for (final Map.Entry<FieldDescriptor, Object> entry :
148 final FieldDescriptor field = entry.getKey()
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java 41 import com.google.protobuf.Descriptors.FieldDescriptor;
74 // Regression test for bug where referencing a FieldDescriptor.Type value
78 private static final Object STATIC_INIT_TEST = FieldDescriptor.Type.BOOL;
81 assertEquals(FieldDescriptor.Type.values().length,
83 for (FieldDescriptor.Type type : FieldDescriptor.Type.values()) {
86 assertEquals(type, FieldDescriptor.Type.valueOf(protoType));
134 FieldDescriptor extension =
167 FieldDescriptor field = messageType.getFields().get(0);
195 FieldDescriptor primitiveField
    [all...]

Completed in 746 milliseconds

1 2 3 4 5 6 7 8 910