Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Drepeated_field.c64 int element_size = native_slot_size(self->field_type); in RepeatedField_subarray()
65 upb_fieldtype_t field_type = self->field_type; in RepeatedField_subarray() local
72 VALUE elem = native_slot_get(field_type, field_type_class, mem); in RepeatedField_subarray()
88 upb_fieldtype_t field_type = self->field_type; in RepeatedField_each() local
90 int element_size = native_slot_size(field_type); in RepeatedField_each()
95 VALUE val = native_slot_get(field_type, field_type_class, memory); in RepeatedField_each()
110 int element_size = native_slot_size(self->field_type); in RepeatedField_index()
111 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index() local
126 return native_slot_get(field_type, field_type_class, memory); in RepeatedField_index()
160 upb_fieldtype_t field_type = self->field_type; in RepeatedField_index_set() local
[all …]
Dstorage.c594 if (self->field_type != upb_fielddef_type(field)) { in check_repeated_field_type()
598 if (self->field_type == UPB_TYPE_MESSAGE || in check_repeated_field_type()
599 self->field_type == UPB_TYPE_ENUM) { in check_repeated_field_type()
Dprotobuf.h348 upb_fieldtype_t field_type; member
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dextension_set.h290 void* MutableRawRepeatedField(int number, FieldType field_type,
721 static inline void Set(int number, FieldType field_type,
736 static inline void Add(int number, FieldType field_type,
742 MutableRepeated(int number, FieldType field_type,
770 int number, FieldType field_type, TYPE value, ExtensionSet* set) { \
771 set->Set##METHOD(number, field_type, value, NULL); \
783 int number, FieldType field_type, bool is_packed, \
785 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
804 FieldType field_type, \
808 set->MutableRawRepeatedField(number, field_type, is_packed, NULL)); \
[all …]
Ddescriptor.h643 static inline bool IsTypePackable(Type field_type);
1885 inline bool FieldDescriptor::IsTypePackable(Type field_type) { in IsTypePackable() argument
1886 return (field_type != FieldDescriptor::TYPE_STRING && in IsTypePackable()
1887 field_type != FieldDescriptor::TYPE_GROUP && in IsTypePackable()
1888 field_type != FieldDescriptor::TYPE_MESSAGE && in IsTypePackable()
1889 field_type != FieldDescriptor::TYPE_BYTES); in IsTypePackable()
Dmap_type_handler.h102 template <WireFormatLite::FieldType field_type, typename Type>
137 template <WireFormatLite::FieldType field_type, typename Type>
Dextension_set.cc347 void* ExtensionSet::MutableRawRepeatedField(int number, FieldType field_type, in MutableRawRepeatedField() argument
356 extension->type = field_type; in MutableRawRepeatedField()
360 static_cast<WireFormatLite::FieldType>(field_type))) { in MutableRawRepeatedField()
Dextension_set_heavy.cc133 inline WireFormatLite::FieldType field_type(FieldType type) { in field_type() function
Ddescriptor.cc2357 string field_type; in DebugString() local
2362 &field_type, "map<$0, $1>", in DebugString()
2366 field_type = FieldTypeNameDebugString(); in DebugString()
2382 field_type, in DebugString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES
Dpython_message.py1003 def _BytesForNonRepeatedElement(value, field_number, field_type): argument
1017 fn = type_checkers.TYPE_TO_BYTE_SIZE_FN[field_type]
1020 raise message_mod.EncodeError('Unrecognized field type: %d' % field_type)
Dreflection_test.py1041 def AddDescriptorField(proto, field_name, field_type): argument
1045 new_field.type = field_type
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc330 const google::protobuf::Type* field_type = NULL; in PopulateChildren() local
346 field_type = found_type; in PopulateChildren()
350 field_type = GetMapValueType(*found_type, typeinfo); in PopulateChildren()
369 field.json_name(), field_type, kind, in PopulateChildren()
Dprotostream_objectsource.cc261 const google::protobuf::Type* field_type = in RenderMap() local
272 FindAndVerifyField(*field_type, tag); in RenderMap()
284 FindFieldByNumber(*field_type, 1); in RenderMap()
1016 const google::protobuf::Type* field_type = in IsMap() local
1021 (GetBoolOptionOrDefault(field_type->options(), in IsMap()
1023 GetBoolOptionOrDefault(field_type->options(), "map_entry", false)); in IsMap()
Dprotostream_objectwriter.cc1185 const google::protobuf::Type* field_type = in IsMap() local
1189 return GetBoolOptionOrDefault(field_type->options(), in IsMap()
1191 GetBoolOptionOrDefault(field_type->options(), "map_entry", false); in IsMap()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h132 JavaType GetJavaType(FieldDescriptor::Type field_type);
Djavanano_helpers.cc297 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() argument
298 switch (field_type) { in GetJavaType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h158 ObjectiveCType GetObjectiveCType(FieldDescriptor::Type field_type);
Dobjectivec_helpers.cc574 ObjectiveCType GetObjectiveCType(FieldDescriptor::Type field_type) { in GetObjectiveCType() argument
575 switch (field_type) { in GetObjectiveCType()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_helpers.cc363 const char* FieldTypeName(FieldDescriptor::Type field_type) { in FieldTypeName() argument
364 switch (field_type) { in FieldTypeName()
Djava_helpers.h207 const char* FieldTypeName(const FieldDescriptor::Type field_type);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_test_bad_identifiers.proto111 optional int32 field_type = 33; field
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp1115 const char *field_type; member
1124 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); in find_fields()