Lines Matching refs:phone_field
5 #include "chrome/browser/autofill/phone_field.h"
109 scoped_ptr<PhoneField> phone_field(new PhoneField);
115 phone_field->SetPhoneType(static_cast<PhoneField::PhoneType>(i));
116 if (ParseInternal(phone_field.get(), iter, i == HOME_PHONE))
117 return phone_field.release();
130 PhoneField* phone_field = new PhoneField();
131 phone_field->parsed_phone_fields_[FIELD_PHONE] = field;
132 return phone_field;
260 PhoneField *phone_field,
265 DCHECK(phone_field);
266 if (!phone_field)
280 if (!ParseText(&q, phone_field->GetRegExp(phone_field_grammars_[i].regex),
305 phone_field->parsed_phone_fields_[i] = parsed_fields[i];
310 if (!phone_field->parsed_phone_fields_[FIELD_SUFFIX]) {
311 if (!ParseText(&q, phone_field->GetSuffixRegex(),
312 &phone_field->parsed_phone_fields_[FIELD_SUFFIX])) {
313 ParseText(&q, phone_field->GetSuffixSeparatorRegex(),
314 &phone_field->parsed_phone_fields_[FIELD_SUFFIX]);
319 ParseText(&q, phone_field->GetExtensionRegex(),
320 &phone_field->parsed_phone_fields_[FIELD_EXTENSION]);