Lines Matching refs:address_field
5 #include "chrome/browser/autofill/address_field.h"
85 scoped_ptr<AddressField> address_field(new AddressField);
92 address_field->is_ecml_ = is_ecml;
101 if (ParseCompany(&q, is_ecml, address_field.get()) ||
102 ParseAddressLines(&q, is_ecml, address_field.get()) ||
103 ParseCity(&q, is_ecml, address_field.get()) ||
104 ParseState(&q, is_ecml, address_field.get()) ||
105 ParseZipCode(&q, is_ecml, address_field.get()) ||
106 ParseCountry(&q, is_ecml, address_field.get())) {
131 if (address_field->company_ != NULL ||
132 address_field->address1_ != NULL || address_field->address2_ != NULL ||
133 address_field->city_ != NULL || address_field->state_ != NULL ||
134 address_field->zip_ != NULL || address_field->zip4_ ||
135 address_field->country_ != NULL) {
137 return address_field.release();
177 bool is_ecml, AddressField* address_field) {
178 if (address_field->company_ && !address_field->company_->IsEmpty())
188 if (!ParseText(iter, pattern, &address_field->company_))
197 bool is_ecml, AddressField* address_field) {
206 if (address_field->address1_)
212 if (!ParseText(iter, pattern, &address_field->address1_))
219 if (!ParseText(iter, pattern, &address_field->address1_))
220 if (!ParseLabelText(iter, label_pattern, &address_field->address1_))
229 if (!ParseEmptyText(iter, &address_field->address2_))
230 ParseText(iter, pattern, &address_field->address2_);
235 if (!ParseEmptyText(iter, &address_field->address2_))
236 if (!ParseText(iter, pattern, &address_field->address2_))
237 ParseLabelText(iter, label_pattern, &address_field->address2_);
241 if (address_field->address2_ != NULL) {
258 bool is_ecml, AddressField* address_field) {
262 if (address_field->country_ && !address_field->country_->IsEmpty())
271 if (!ParseText(iter, pattern, &address_field->country_))
280 bool is_ecml, AddressField* address_field) {
288 if (address_field->zip_)
317 if (!ParseText(iter, pattern, &address_field->zip_))
320 address_field->type_ = tempType;
326 &address_field->zip4_);
335 bool is_ecml, AddressField* address_field) {
338 if (address_field->city_)
347 if (!ParseText(iter, pattern, &address_field->city_))
356 bool is_ecml, AddressField* address_field) {
357 if (address_field->state_)
366 if (!ParseText(iter, pattern, &address_field->state_))