Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dextension_set.h559 static inline void Set(int number, FieldType field_type,
570 static inline void Add(int number, FieldType field_type,
580 int number, FieldType field_type, TYPE value, ExtensionSet* set) { \
581 set->Set##METHOD(number, field_type, value, NULL); \
593 int number, FieldType field_type, bool is_packed, \
595 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
621 static inline void Set(int number, FieldType field_type, in PROTOBUF_DEFINE_PRIMITIVE_TYPE()
623 set->SetString(number, field_type, value, NULL); in PROTOBUF_DEFINE_PRIMITIVE_TYPE()
625 static inline string* Mutable(int number, FieldType field_type, in PROTOBUF_DEFINE_PRIMITIVE_TYPE()
627 return set->MutableString(number, field_type, NULL); in PROTOBUF_DEFINE_PRIMITIVE_TYPE()
[all …]
Ddescriptor.h480 static inline bool IsTypePackable(Type field_type);
1353 inline bool FieldDescriptor::IsTypePackable(Type field_type) { in IsTypePackable() argument
1354 return (field_type != FieldDescriptor::TYPE_STRING && in IsTypePackable()
1355 field_type != FieldDescriptor::TYPE_GROUP && in IsTypePackable()
1356 field_type != FieldDescriptor::TYPE_MESSAGE && in IsTypePackable()
1357 field_type != FieldDescriptor::TYPE_BYTES); in IsTypePackable()
Ddescriptor.cc1685 string field_type; in DebugString() local
1688 field_type = "." + message_type()->full_name(); in DebugString()
1691 field_type = "." + enum_type()->full_name(); in DebugString()
1694 field_type = kTypeToName[type()]; in DebugString()
1700 field_type, in DebugString()
/external/e2fsprogs/ext2ed/
Dinit.c212 int field_type; member
233 char field_type=FIELD_TYPE_INT; in add_new_variable() local
242 field_type = p->field_type; in add_new_variable()
249 field_type = FIELD_TYPE_CHAR; in add_new_variable()
257 ptr->field_types [ptr->fields_num] = field_type; in add_new_variable()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc47 const char* TypeName(FieldDescriptor::Type field_type) { in TypeName() argument
48 switch (field_type) { in TypeName()
/external/protobuf/python/google/protobuf/internal/
Dwire_format.py259 def IsTypePackable(field_type): argument
268 return field_type not in NON_PACKABLE_TYPES
Dtype_checkers.py56 def GetTypeChecker(cpp_type, field_type): argument
68 field_type == _FieldDescriptor.TYPE_STRING):
/external/openssl/crypto/ec/
Dec_asn1.c344 int field_type; in ec_asn1_group2fieldid() local
358 field_type = EC_GROUP_get_basis_type(group); in ec_asn1_group2fieldid()
360 if (field_type == 0) in ec_asn1_group2fieldid()
366 if ((char_two->type = OBJ_nid2obj(field_type)) == NULL) in ec_asn1_group2fieldid()
372 if (field_type == NID_X9_62_tpBasis) in ec_asn1_group2fieldid()
392 else if (field_type == NID_X9_62_ppBasis) in ec_asn1_group2fieldid()
Dec_curve.c77 int field_type, /* either NID_X9_62_prime_field or member
1938 if (data->field_type == NID_X9_62_prime_field) in ec_group_new_from_data()
Dec_lcl.h90 int field_type; /* a NID */ member
Dec_lib.c280 return meth->field_type; in EC_METHOD_get_field_type()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc258 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() argument
259 switch (field_type) { in GetJavaType()
Djavamicro_helpers.h110 JavaType GetJavaType(FieldDescriptor::Type field_type);
/external/protobuf/python/google/protobuf/
Dreflection.py748 def _BytesForNonRepeatedElement(value, field_number, field_type): argument
762 fn = type_checkers.TYPE_TO_BYTE_SIZE_FN[field_type]
765 raise message_mod.EncodeError('Unrecognized field type: %d' % field_type)