Home
last modified time | relevance | path

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

12

/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()
/external/chromium/chrome/browser/autofill/
Dautofill_metrics.cc37 int GetFieldTypeGroupMetric(const AutofillFieldType field_type, in GetFieldTypeGroupMetric() argument
43 switch (AutofillType(field_type).group()) { in GetFieldTypeGroupMetric()
57 switch (field_type) { in GetFieldTypeGroupMetric()
95 switch (field_type) { in GetFieldTypeGroupMetric()
149 const AutofillFieldType field_type, in LogTypeQualityMetric() argument
162 GetFieldTypeGroupMetric(field_type, metric, num_possible_metrics); in LogTypeQualityMetric()
186 AutofillFieldType field_type, in Log() argument
190 field_type, experiment_id); in Log()
194 AutofillFieldType field_type, in Log() argument
198 field_type, experiment_id); in Log()
[all …]
Dautofill_type_unittest.cc13 EXPECT_EQ(NO_SERVER_DATA, none.field_type()); in TEST()
19 EXPECT_EQ(UNKNOWN_TYPE, unknown.field_type()); in TEST()
25 EXPECT_EQ(NAME_FIRST, first.field_type()); in TEST()
31 EXPECT_EQ(PHONE_HOME_NUMBER, phone.field_type()); in TEST()
37 EXPECT_EQ(COMPANY_NAME, last.field_type()); in TEST()
43 EXPECT_EQ(UNKNOWN_TYPE, boundary.field_type()); in TEST()
49 EXPECT_EQ(UNKNOWN_TYPE, beyond.field_type()); in TEST()
55 EXPECT_EQ(UNKNOWN_TYPE, between.field_type()); in TEST()
Dautofill_type.cc141 AutofillType::AutofillType(AutofillFieldType field_type) { in AutofillType() argument
142 if ((field_type < NO_SERVER_DATA || field_type >= MAX_VALID_FIELD_TYPE) || in AutofillType()
143 (field_type >= 15 && field_type <= 19) || in AutofillType()
144 (field_type >= 25 && field_type <= 29) || in AutofillType()
145 (field_type >= 44 && field_type <= 50)) in AutofillType()
148 field_type_ = field_type; in AutofillType()
161 AutofillFieldType AutofillType::field_type() const { in field_type() function in AutofillType
175 AutofillFieldType field_type) { in GetEquivalentFieldType() argument
178 switch (field_type) { in GetEquivalentFieldType()
201 return field_type; in GetEquivalentFieldType()
Dform_structure.cc116 if (autofill_type.field_type() != UNKNOWN_TYPE) in DetermineHeuristicTypes()
260 if (autofill_type.field_type() != UNKNOWN_TYPE) in ParseQueryResponse()
388 AutofillFieldType field_type = UNKNOWN_TYPE; in LogQualityMetrics() local
390 field_type = *collapsed_field_types.begin(); in LogQualityMetrics()
400 field_type, experiment_id); in LogQualityMetrics()
403 field_type, experiment_id); in LogQualityMetrics()
406 field_type, experiment_id); in LogQualityMetrics()
411 field_type, experiment_id); in LogQualityMetrics()
414 field_type, experiment_id); in LogQualityMetrics()
417 field_type, experiment_id); in LogQualityMetrics()
[all …]
Dautofill_xml_parser.cc78 AutofillFieldType field_type = UNKNOWN_TYPE; in StartElement() local
84 field_type = static_cast<AutofillFieldType>(value); in StartElement()
85 if (field_type < 0 || field_type > MAX_VALID_FIELD_TYPE) { in StartElement()
86 field_type = NO_SERVER_DATA; in StartElement()
91 field_types_->push_back(field_type); in StartElement()
Dautofill_type.h56 explicit AutofillType(AutofillFieldType field_type);
60 AutofillFieldType field_type() const;
67 static AutofillFieldType GetEquivalentFieldType(AutofillFieldType field_type);
70 static std::string FieldTypeToString(AutofillFieldType field_type);
Dautofill_metrics.h98 AutofillFieldType field_type,
101 AutofillFieldType field_type,
107 AutofillFieldType field_type,
Dpersonal_data_manager.cc223 AutofillFieldType field_type = field->type(); in ImportFormData()
224 FieldTypeGroup group(AutofillType(field_type).group()); in ImportFormData()
230 if (types_seen.count(field_type) && in ImportFormData()
231 field_type != PHONE_HOME_NUMBER && in ImportFormData()
232 field_type != PHONE_FAX_NUMBER) { in ImportFormData()
237 types_seen.insert(field_type); in ImportFormData()
245 DCHECK_EQ(CREDIT_CARD_EXP_MONTH, field_type); in ImportFormData()
248 if (field_type == CREDIT_CARD_NUMBER) { in ImportFormData()
252 local_imported_credit_card->SetInfo(field_type, value); in ImportFormData()
259 if (AutofillType(field_type).subgroup() == in ImportFormData()
[all …]
Dautofill_merge_unittest.cc176 string16 field_type = UTF8ToUTF16(line.substr(0, separator_pos)); in MergeProfiles() local
179 webkit_glue::FormField field(field_type, in MergeProfiles()
180 field_type, in MergeProfiles()
Dautofill_manager.cc547 AutofillFieldType field_type = autofill_field->type(); in OnFillAutofillFormData() local
550 AutofillType(field_type).group()); in OnFillAutofillFormData()
551 FillFormField(profile, field_type, profile_guid.second, &(*iter)); in OnFillAutofillFormData()
554 AutofillType(field_type).group()); in OnFillAutofillFormData()
555 FillCreditCardFormField(credit_card, field_type, &(*iter)); in OnFillAutofillFormData()
591 AutofillFieldType field_type = form_structure->field(k)->type(); in OnFillAutofillFormData() local
592 FieldTypeGroup field_group_type = AutofillType(field_type).group(); in OnFillAutofillFormData()
600 FillFormField(profile, field_type, profile_guid.second, in OnFillAutofillFormData()
603 FillFormField(profile, field_type, 0, &result.fields[j]); in OnFillAutofillFormData()
607 FillCreditCardFormField(credit_card, field_type, &result.fields[j]); in OnFillAutofillFormData()
Dautofill_profile.cc29 AutofillFieldType field_type) { in GetEquivalentFieldTypeCollapsingNames() argument
30 if (field_type == NAME_FIRST || field_type == NAME_MIDDLE || in GetEquivalentFieldTypeCollapsingNames()
31 field_type == NAME_LAST) in GetEquivalentFieldTypeCollapsingNames()
34 return AutofillType::GetEquivalentFieldType(field_type); in GetEquivalentFieldTypeCollapsingNames()
Dautofill_ie_toolbar_import_win.cc88 AutofillFieldType field_type; member
205 profile_reg_values[i].field_type; in ImportCurrentUserProfiles()
/external/libmtp/examples/
Ddelfile.c63 int field_type = 0; in delfile_command() local
68 field_type = FILENAME; in delfile_command()
71 field_type = ITEMID; in delfile_command()
87 if (field_type == ITEMID) { in delfile_command()
/external/openssl/crypto/ec/
Dec_oct.c87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates_GFp()
121 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates_GF2m()
148 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_point2oct()
183 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_oct2point()
/external/oprofile/libregex/
Ddemangle_java_symbol.cpp71 bool field_type(string & result, in field_type() function
94 if (field_type(result, begin, end)) { in array_type()
111 if (!field_type(result, begin, end)) in list_of_field_type()
133 if (!field_type(temp, begin, end)) in return_descriptor()
/external/linux-tools-perf/util/scripting-engines/
Dtrace-event-python.c57 static void define_value(enum print_arg_type field_type, in define_value() argument
68 if (field_type == PRINT_SYMBOL) in define_value()
92 static void define_values(enum print_arg_type field_type, in define_values() argument
97 define_value(field_type, ev_name, field_name, field->value, in define_values()
101 define_values(field_type, field->next, ev_name, field_name); in define_values()
104 static void define_field(enum print_arg_type field_type, in define_field() argument
113 if (field_type == PRINT_SYMBOL) in define_field()
116 if (field_type == PRINT_FLAGS) in define_field()
125 if (field_type == PRINT_FLAGS) in define_field()
/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
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.h110 JavaType GetJavaType(FieldDescriptor::Type field_type);
Djavamicro_helpers.cc258 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() argument
259 switch (field_type) { in GetJavaType()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h112 JavaType GetJavaType(FieldDescriptor::Type field_type);
Djavanano_helpers.cc264 JavaType GetJavaType(FieldDescriptor::Type field_type) { in GetJavaType() argument
265 switch (field_type) { in GetJavaType()

12