HomeSort by relevance Sort by last modified time
    Searched refs:FieldDescriptor (Results 126 - 150 of 352) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_field.h 63 void SetCommonFieldVariables(const FieldDescriptor* descriptor,
67 void SetCommonOneofFieldVariables(const FieldDescriptor* descriptor,
210 const FieldGenerator& get(const FieldDescriptor* field) const;
217 static FieldGenerator* MakeGenerator(const FieldDescriptor* field,
cpp_message_field.h 49 MessageFieldGenerator(const FieldDescriptor* descriptor,
76 const FieldDescriptor* descriptor_;
86 MessageOneofFieldGenerator(const FieldDescriptor* descriptor,
113 RepeatedMessageFieldGenerator(const FieldDescriptor* descriptor,
137 const FieldDescriptor* descriptor_;
cpp_primitive_field.h 49 PrimitiveFieldGenerator(const FieldDescriptor* descriptor,
68 const FieldDescriptor* descriptor_;
77 PrimitiveOneofFieldGenerator(const FieldDescriptor* descriptor,
95 RepeatedPrimitiveFieldGenerator(const FieldDescriptor* descriptor,
115 const FieldDescriptor* descriptor_;
cpp_string_field.h 49 StringFieldGenerator(const FieldDescriptor* descriptor,
73 const FieldDescriptor* descriptor_;
82 StringOneofFieldGenerator(const FieldDescriptor* descriptor,
102 RepeatedStringFieldGenerator(const FieldDescriptor* descriptor,
121 const FieldDescriptor* descriptor_;
  /external/protobuf/src/google/protobuf/compiler/csharp/
csharp_field_base.h 47 FieldGeneratorBase(const FieldDescriptor* descriptor,
67 const FieldDescriptor* descriptor_;
83 std::string type_name(const FieldDescriptor* descriptor);
87 std::string default_value(const FieldDescriptor* descriptor);
  /external/protobuf/src/google/protobuf/compiler/java/
java_map_field.cc 46 const FieldDescriptor* KeyField(const FieldDescriptor* descriptor) {
47 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type());
53 const FieldDescriptor* ValueField(const FieldDescriptor* descriptor) {
54 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type());
60 string TypeName(const FieldDescriptor* field,
73 string WireType(const FieldDescriptor* field) {
78 void SetMessageVariables(const FieldDescriptor* descriptor,
89 const FieldDescriptor* key = KeyField(descriptor)
    [all...]
java_map_field_lite.cc 46 const FieldDescriptor* KeyField(const FieldDescriptor* descriptor) {
47 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type());
53 const FieldDescriptor* ValueField(const FieldDescriptor* descriptor) {
54 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type());
60 string TypeName(const FieldDescriptor* field,
73 string WireType(const FieldDescriptor* field) {
78 void SetMessageVariables(const FieldDescriptor* descriptor,
89 const FieldDescriptor* key = KeyField(descriptor)
    [all...]
java_message_field_lite.h 59 const FieldDescriptor* descriptor, int messageBitIndex,
83 const FieldDescriptor* descriptor_;
98 const FieldDescriptor* descriptor, int messageBitIndex,
117 const FieldDescriptor* descriptor, int messageBitIndex,
141 const FieldDescriptor* descriptor_;
java_string_field_lite.h 60 const FieldDescriptor* descriptor, int messageBitIndex,
84 const FieldDescriptor* descriptor_;
99 const FieldDescriptor* descriptor, int messageBitIndex,
118 const FieldDescriptor* descriptor, int messageBitIndex,
142 const FieldDescriptor* descriptor_;
  /external/protobuf/src/google/protobuf/
map.h 90 << FieldDescriptor::CppTypeName(EXPECTEDTYPE) << "\n" \
92 << FieldDescriptor::CppTypeName(type()); \
106 if (type_ == FieldDescriptor::CPPTYPE_STRING) {
111 FieldDescriptor::CppType type() const {
118 return (FieldDescriptor::CppType)type_;
122 SetType(FieldDescriptor::CPPTYPE_INT64);
126 SetType(FieldDescriptor::CPPTYPE_UINT64);
130 SetType(FieldDescriptor::CPPTYPE_INT32);
134 SetType(FieldDescriptor::CPPTYPE_UINT32);
138 SetType(FieldDescriptor::CPPTYPE_BOOL)
    [all...]
dynamic_message.cc 106 bool IsMapFieldInApi(const FieldDescriptor* field) {
111 int FieldSpaceUsed(const FieldDescriptor* field) {
112 typedef FieldDescriptor FD; // avoid line wrapping
168 int OneofFieldSpaceUsed(const FieldDescriptor* field) {
169 typedef FieldDescriptor FD; // avoid line wrapping
348 const FieldDescriptor* field = descriptor->field(i);
355 case FieldDescriptor::CPPTYPE_##CPPTYPE: \
372 case FieldDescriptor::CPPTYPE_ENUM:
380 case FieldDescriptor::CPPTYPE_STRING:
403 case FieldDescriptor::CPPTYPE_MESSAGE:
    [all...]
test_util.h 178 const FieldDescriptor* F(const string& name);
182 const FieldDescriptor* group_a_;
183 const FieldDescriptor* repeated_group_a_;
184 const FieldDescriptor* nested_b_;
185 const FieldDescriptor* foreign_c_;
186 const FieldDescriptor* import_d_;
187 const FieldDescriptor* import_e_;
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
map.h 90 << FieldDescriptor::CppTypeName(EXPECTEDTYPE) << "\n" \
92 << FieldDescriptor::CppTypeName(type()); \
106 if (type_ == FieldDescriptor::CPPTYPE_STRING) {
111 FieldDescriptor::CppType type() const {
118 return (FieldDescriptor::CppType)type_;
122 SetType(FieldDescriptor::CPPTYPE_INT64);
126 SetType(FieldDescriptor::CPPTYPE_UINT64);
130 SetType(FieldDescriptor::CPPTYPE_INT32);
134 SetType(FieldDescriptor::CPPTYPE_UINT32);
138 SetType(FieldDescriptor::CPPTYPE_BOOL)
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
GeneratedMessage.java 36 import com.google.protobuf.Descriptors.FieldDescriptor;
118 private Map<FieldDescriptor, Object> getAllFieldsMutable(
120 final TreeMap<FieldDescriptor, Object> result =
121 new TreeMap<FieldDescriptor, Object>();
123 final List<FieldDescriptor> fields = descriptor.getFields();
126 FieldDescriptor field = fields.get(i);
156 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) {
167 for (final FieldDescriptor field : getDescriptorForType().getFields()) {
175 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
196 public Map<FieldDescriptor, Object> getAllFields()
    [all...]
ExtensionRegistry.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
117 public final FieldDescriptor descriptor;
125 private ExtensionInfo(final FieldDescriptor descriptor) {
129 private ExtensionInfo(final FieldDescriptor descriptor,
248 FieldDescriptor.JavaType.MESSAGE) {
262 public void add(final FieldDescriptor type) {
263 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
274 public void add(final FieldDescriptor type, final Message defaultInstance) {
275 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
331 "ExtensionRegistry.add() was given a FieldDescriptor for a regular "
    [all...]
AbstractMessage.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
82 public FieldDescriptor getOneofFieldDescriptor(OneofDescriptor oneof) {
171 Descriptors.FieldDescriptor key = descriptor.findFieldByName("key");
172 Descriptors.FieldDescriptor value = descriptor.findFieldByName("value");
209 static boolean compareFields(Map<FieldDescriptor, Object> a,
210 Map<FieldDescriptor, Object> b) {
214 for (FieldDescriptor descriptor : a.keySet()) {
220 if (descriptor.getType() == FieldDescriptor.Type.BYTES) {
263 protected static int hashFields(int hash, Map<FieldDescriptor, Object> map) {
264 for (Map.Entry<FieldDescriptor, Object> entry : map.entrySet())
    [all...]
  /external/protobuf/src/google/protobuf/compiler/js/
js_generator.h 44 class FieldDescriptor;
137 const vector<const FieldDescriptor*>& fields,
160 const vector<const FieldDescriptor*>& fields,
175 const FieldDescriptor* field,
179 const FieldDescriptor* field,
225 const FieldDescriptor* field) const;
231 const FieldDescriptor* field) const;
243 const FieldDescriptor* desc) const;
255 const FieldDescriptor* field) const;
261 const FieldDescriptor* field) const
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/compiler/js/
js_generator.h 44 class FieldDescriptor;
137 const vector<const FieldDescriptor*>& fields,
160 const vector<const FieldDescriptor*>& fields,
175 const FieldDescriptor* field,
179 const FieldDescriptor* field,
225 const FieldDescriptor* field) const;
231 const FieldDescriptor* field) const;
243 const FieldDescriptor* desc) const;
255 const FieldDescriptor* field) const;
261 const FieldDescriptor* field) const
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
TextFormatParseInfoTreeTest.java 34 import com.google.protobuf.Descriptors.FieldDescriptor;
45 private static final FieldDescriptor OPTIONAL_INT32 =
47 private static final FieldDescriptor OPTIONAL_BOOLEAN =
49 private static final FieldDescriptor REPEATED_INT32 =
51 private static final FieldDescriptor OPTIONAL_NESTED_MESSAGE =
53 private static final FieldDescriptor REPEATED_NESTED_MESSAGE =
55 private static final FieldDescriptor FIELD_BB =
DescriptorsTest.java 42 import com.google.protobuf.Descriptors.FieldDescriptor;
75 // Regression test for bug where referencing a FieldDescriptor.Type value
79 private static final Object STATIC_INIT_TEST = FieldDescriptor.Type.BOOL;
82 assertEquals(FieldDescriptor.Type.values().length,
84 for (FieldDescriptor.Type type : FieldDescriptor.Type.values()) {
87 assertEquals(type, FieldDescriptor.Type.valueOf(protoType));
136 FieldDescriptor extension =
169 FieldDescriptor field = messageType.getFields().get(0);
197 FieldDescriptor primitiveField
    [all...]
  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
Utils.java 50 public static Descriptors.FieldDescriptor.Type rubyToFieldType(IRubyObject typeClass) {
51 return Descriptors.FieldDescriptor.Type.valueOf(typeClass.asJavaString().toUpperCase());
54 public static IRubyObject fieldTypeToRuby(ThreadContext context, Descriptors.FieldDescriptor.Type type) {
67 public static void checkType(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType,
132 public static IRubyObject wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType, Object value) {
183 public static void validateStringEncoding(Ruby runtime, Descriptors.FieldDescriptor.Type type, IRubyObject value) {
227 public static boolean isMapEntry(Descriptors.FieldDescriptor fieldDescriptor) {
228 return fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE &
    [all...]
  /external/protobuf/python/google/protobuf/
json_format.py 55 _INT_TYPES = frozenset([descriptor.FieldDescriptor.CPPTYPE_INT32,
56 descriptor.FieldDescriptor.CPPTYPE_UINT32,
57 descriptor.FieldDescriptor.CPPTYPE_INT64,
58 descriptor.FieldDescriptor.CPPTYPE_UINT64])
59 _INT64_TYPES = frozenset([descriptor.FieldDescriptor.CPPTYPE_INT64,
60 descriptor.FieldDescriptor.CPPTYPE_UINT64])
61 _FLOAT_TYPES = frozenset([descriptor.FieldDescriptor.CPPTYPE_FLOAT,
62 descriptor.FieldDescriptor.CPPTYPE_DOUBLE])
112 return (field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and
140 elif field.label == descriptor.FieldDescriptor.LABEL_REPEATED
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_message_field.cc 54 const FieldDescriptor* descriptor, map<string, string>* variables) {
62 (descriptor->type() == FieldDescriptor::TYPE_GROUP) ?
73 MessageFieldGenerator(const FieldDescriptor* descriptor, const Params& params)
118 if (descriptor_->type() == FieldDescriptor::TYPE_GROUP) {
154 RepeatedMessageFieldGenerator(const FieldDescriptor* descriptor, const Params& params)
251 if (descriptor_->type() == FieldDescriptor::TYPE_GROUP) {
  /external/protobuf/python/google/protobuf/pyext/
message.cc 109 PyObject* cls, const FieldDescriptor* field_descriptor) {
191 const google::protobuf::FieldDescriptor* field = descriptor->extension(i);
413 const FieldDescriptor* field_descriptor,
433 const FieldDescriptor* field_descriptor) {
441 static int VisitCompositeField(const FieldDescriptor* descriptor,
444 if (descriptor->label() == FieldDescriptor::LABEL_REPEATED) {
445 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
463 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
492 const FieldDescriptor* descriptor =
505 const FieldDescriptor* descriptor = cmessage::GetExtensionDescriptor(key)
    [all...]
map_container.cc 133 const FieldDescriptor* field_descriptor,
136 case FieldDescriptor::CPPTYPE_INT32: {
141 case FieldDescriptor::CPPTYPE_INT64: {
146 case FieldDescriptor::CPPTYPE_UINT32: {
151 case FieldDescriptor::CPPTYPE_UINT64: {
156 case FieldDescriptor::CPPTYPE_BOOL: {
161 case FieldDescriptor::CPPTYPE_STRING: {
178 static PyObject* MapKeyToPython(const FieldDescriptor* field_descriptor,
181 case FieldDescriptor::CPPTYPE_INT32:
183 case FieldDescriptor::CPPTYPE_INT64
    [all...]

Completed in 1007 milliseconds

1 2 3 4 56 7 8 91011>>