OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:field_type_map
(Results
1 - 13
of
13
) sorted by null
/external/chromium/chrome/browser/autofill/
name_field.h
30
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const;
54
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const;
credit_card_field.h
20
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const;
credit_card_field.cc
19
bool CreditCardField::GetFieldInfo(FieldTypeMap*
field_type_map
) const {
20
bool ok = Add(
field_type_map
, number_, AutofillType(CREDIT_CARD_NUMBER));
29
ok = ok && Add(
field_type_map
, cardholder_, AutofillType(CREDIT_CARD_NAME));
33
ok = ok && Add(
field_type_map
, type_, AutofillType(CREDIT_CARD_TYPE));
35
ok = ok && Add(
field_type_map
, expiration_month_,
38
ok = ok && Add(
field_type_map
, expiration_year_,
name_field.cc
24
bool FullNameField::GetFieldInfo(FieldTypeMap*
field_type_map
) const {
25
bool ok = Add(
field_type_map
, field_, AutofillType(NAME_FULL));
155
bool FirstLastNameField::GetFieldInfo(FieldTypeMap*
field_type_map
) const {
156
bool ok = Add(
field_type_map
, first_name_, AutofillType(NAME_FIRST));
158
ok = ok && Add(
field_type_map
, last_name_, AutofillType(NAME_LAST));
162
ok = ok && Add(
field_type_map
, middle_name_, type);
address_field.cc
18
bool AddressField::GetFieldInfo(FieldTypeMap*
field_type_map
) const {
56
ok = Add(
field_type_map
, company_, AutofillType(address_company));
58
ok = ok && Add(
field_type_map
, address1_, AutofillType(address_line1));
60
ok = ok && Add(
field_type_map
, address2_, AutofillType(address_line2));
62
ok = ok && Add(
field_type_map
, city_, AutofillType(address_city));
64
ok = ok && Add(
field_type_map
, state_, AutofillType(address_state));
66
ok = ok && Add(
field_type_map
, zip_, AutofillType(address_zip));
68
ok = ok && Add(
field_type_map
, country_, AutofillType(address_country));
phone_field.cc
138
bool PhoneField::GetFieldInfo(FieldTypeMap*
field_type_map
) const {
147
ok = Add(
field_type_map
,
153
ok = Add(
field_type_map
,
160
ok = Add(
field_type_map
,
167
ok = Add(
field_type_map
,
173
ok = Add(
field_type_map
,
form_field.h
74
// |
field_type_map
|.
75
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const = 0;
117
// Adds an association between a field and a type to |
field_type_map
|.
118
static bool Add(FieldTypeMap*
field_type_map
, AutofillField* field,
address_field.h
21
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const;
phone_field.h
31
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const;
form_field.cc
92
virtual bool GetFieldInfo(FieldTypeMap*
field_type_map
) const {
93
bool ok = Add(
field_type_map
, field_, AutofillType(EMAIL_ADDRESS));
245
bool FormField::Add(FieldTypeMap*
field_type_map
, AutofillField* field,
249
field_type_map
->insert(make_pair(field->unique_name(), type.field_type()));
form_structure.cc
95
FieldTypeMap
field_type_map
;
local
96
GetHeuristicFieldInfo(&
field_type_map
);
101
FieldTypeMap::iterator iter =
field_type_map
.find(field->unique_name());
104
if (iter ==
field_type_map
.end()) {
524
void FormStructure::GetHeuristicFieldInfo(FieldTypeMap*
field_type_map
) {
529
bool ok = (*field)->GetFieldInfo(
field_type_map
);
/external/chromium_org/components/autofill/core/browser/
form_field_unittest.cc
141
ServerFieldTypeMap
field_type_map
;
local
142
FormField::ParseFormFields(fields.get(), &
field_type_map
);
144
EXPECT_EQ(2U,
field_type_map
.size());
147
field_type_map
.find(ASCIIToUTF16("Address line1"))->second);
149
field_type_map
.find(ASCIIToUTF16("Address line2"))->second);
form_structure.cc
382
ServerFieldTypeMap
field_type_map
;
local
383
FormField::ParseFormFields(fields_.get(), &
field_type_map
);
387
field_type_map
.find(field->unique_name());
388
if (iter !=
field_type_map
.end())
[
all
...]
Completed in 49 milliseconds