field 65 android_webview/browser/aw_form_database_service_unittest.cc FormFieldData field; field 66 android_webview/browser/aw_form_database_service_unittest.cc field.name = base::ASCIIToUTF16("foo"); field 67 android_webview/browser/aw_form_database_service_unittest.cc field.value = base::ASCIIToUTF16("bar"); field 68 android_webview/browser/aw_form_database_service_unittest.cc fields.push_back(field); field 67 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java java.lang.reflect.Field field = d.getField(assetName); field 68 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java int id = field.getInt(null); field 41 ash/display/display_layout.cc DisplayLayout::Position* field) { field 42 ash/display/display_layout.cc if (ReverseFind(GetPositionToStringMap(), position, field)) field 54 ash/display/display_layout.cc bool GetDisplayIdFromString(const base::StringPiece& position, int64* field) { field 55 ash/display/display_layout.cc return base::StringToInt64(position, field); field 111 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, FieldType* field) const = 0; field 118 base/json/json_value_converter.h FieldType StructType::* field, field 121 base/json/json_value_converter.h field_pointer_(field), field 144 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, int* field) const OVERRIDE { field 145 base/json/json_value_converter.h return value.GetAsInteger(field); field 158 base/json/json_value_converter.h const base::Value& value, std::string* field) const OVERRIDE { field 159 base/json/json_value_converter.h return value.GetAsString(field); field 172 base/json/json_value_converter.h const base::Value& value, string16* field) const OVERRIDE { field 173 base/json/json_value_converter.h return value.GetAsString(field); field 185 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, double* field) const OVERRIDE { field 186 base/json/json_value_converter.h return value.GetAsDouble(field); field 198 base/json/json_value_converter.h virtual bool Convert(const base::Value& value, bool* field) const OVERRIDE { field 199 base/json/json_value_converter.h return value.GetAsBoolean(field); field 209 base/json/json_value_converter.h typedef bool(*ConvertFunc)(const base::Value* value, FieldType* field); field 215 base/json/json_value_converter.h FieldType* field) const OVERRIDE { field 216 base/json/json_value_converter.h return convert_func_(&value, field); field 228 base/json/json_value_converter.h typedef bool(*ConvertFunc)(const StringPiece& value, FieldType* field); field 234 base/json/json_value_converter.h FieldType* field) const OVERRIDE { field 237 base/json/json_value_converter.h convert_func_(string_value, field); field 252 base/json/json_value_converter.h const base::Value& value, NestedType* field) const OVERRIDE { field 253 base/json/json_value_converter.h return converter_.Convert(value, field); field 267 base/json/json_value_converter.h const base::Value& value, ScopedVector<Element>* field) const OVERRIDE { field 274 base/json/json_value_converter.h field->reserve(list->GetSize()); field 282 base/json/json_value_converter.h field->push_back(e.release()); field 303 base/json/json_value_converter.h ScopedVector<NestedType>* field) const OVERRIDE { field 308 base/json/json_value_converter.h field->reserve(list->GetSize()); field 316 base/json/json_value_converter.h field->push_back(nested.release()); field 334 base/json/json_value_converter.h typedef bool(*ConvertFunc)(const base::Value* value, NestedType* field); field 340 base/json/json_value_converter.h ScopedVector<NestedType>* field) const OVERRIDE { field 345 base/json/json_value_converter.h field->reserve(list->GetSize()); field 353 base/json/json_value_converter.h field->push_back(nested.release()); field 378 base/json/json_value_converter.h int StructType::* field) { field 380 base/json/json_value_converter.h field_name, field, new internal::BasicValueConverter<int>)); field 384 base/json/json_value_converter.h std::string StructType::* field) { field 386 base/json/json_value_converter.h field_name, field, new internal::BasicValueConverter<std::string>)); field 390 base/json/json_value_converter.h string16 StructType::* field) { field 392 base/json/json_value_converter.h field_name, field, new internal::BasicValueConverter<string16>)); field 396 base/json/json_value_converter.h bool StructType::* field) { field 398 base/json/json_value_converter.h field_name, field, new internal::BasicValueConverter<bool>)); field 402 base/json/json_value_converter.h double StructType::* field) { field 404 base/json/json_value_converter.h field_name, field, new internal::BasicValueConverter<double>)); field 409 base/json/json_value_converter.h const std::string& field_name, NestedType StructType::* field) { field 412 base/json/json_value_converter.h field, field 419 base/json/json_value_converter.h FieldType StructType::* field, field 423 base/json/json_value_converter.h field, field 430 base/json/json_value_converter.h FieldType StructType::* field, field 434 base/json/json_value_converter.h field, field 439 base/json/json_value_converter.h ScopedVector<int> StructType::* field) { field 442 base/json/json_value_converter.h field_name, field, new internal::RepeatedValueConverter<int>)); field 446 base/json/json_value_converter.h ScopedVector<std::string> StructType::* field) { field 450 base/json/json_value_converter.h field, field 455 base/json/json_value_converter.h ScopedVector<string16> StructType::* field) { field 459 base/json/json_value_converter.h field, field 464 base/json/json_value_converter.h ScopedVector<double> StructType::* field) { field 467 base/json/json_value_converter.h field_name, field, new internal::RepeatedValueConverter<double>)); field 471 base/json/json_value_converter.h ScopedVector<bool> StructType::* field) { field 474 base/json/json_value_converter.h field_name, field, new internal::RepeatedValueConverter<bool>)); field 480 base/json/json_value_converter.h ScopedVector<NestedType> StructType::* field, field 485 base/json/json_value_converter.h field, field 492 base/json/json_value_converter.h ScopedVector<NestedType> StructType::* field) { field 496 base/json/json_value_converter.h field, field 508 base/json/json_value_converter.h const base::Value* field = NULL; field 509 base/json/json_value_converter.h if (dictionary_value->Get(field_converter->field_path(), &field)) { field 510 base/json/json_value_converter.h if (!field_converter->ConvertField(*field, output)) { field 34 base/json/json_value_converter_unittest.cc static bool ParseSimpleEnum(const StringPiece& value, SimpleEnum* field) { field 36 base/json/json_value_converter_unittest.cc *field = FOO; field 39 base/json/json_value_converter_unittest.cc *field = BAR; field 164 base/linux_util.cc const char field[] = "Description:\t"; field 165 base/linux_util.cc if (output.compare(0, strlen(field), field) == 0) { field 166 base/linux_util.cc SetLinuxDistro(output.substr(strlen(field))); field 49 base/process/process_metrics_linux.cc size_t ReadProcStatusAndGetFieldAsSizeT(pid_t pid, const std::string& field) { field 70 base/process/process_metrics_linux.cc if (last_key_name == field) { field 67 base/win/event_trace_provider.h void SetField(int field, size_t size, const void *data) { field 69 base/win/event_trace_provider.h if ((field < N) && (size <= kuint32max)) { field 70 base/win/event_trace_provider.h fields[field].DataPtr = reinterpret_cast<ULONG64>(data); field 71 base/win/event_trace_provider.h fields[field].Length = static_cast<ULONG>(size); field 268 chrome/browser/chromeos/display/display_preferences.cc chromeos::DisplayPowerState* field) { field 269 chrome/browser/chromeos/display/display_preferences.cc if (ash::ReverseFind(GetDisplayPowerStateToStringMap(), state, field)) field 922 chrome/browser/extensions/api/downloads/downloads_api.cc bool IsDownloadDeltaField(const std::string& field) { field 923 chrome/browser/extensions/api/downloads/downloads_api.cc return ((field == kUrlKey) || field 924 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kFilenameKey) || field 925 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kDangerKey) || field 926 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kMimeKey) || field 927 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kStartTimeKey) || field 928 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kEndTimeKey) || field 929 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kStateKey) || field 930 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kCanResumeKey) || field 931 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kPausedKey) || field 932 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kErrorKey) || field 933 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kTotalBytesKey) || field 934 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kFileSizeKey) || field 935 chrome/browser/extensions/api/downloads/downloads_api.cc (field == kExistsKey)); field 17 chrome/browser/extensions/api/log_private/filter_handler.cc bool IsValidField(const std::vector<T>& filter, const T& field) { field 19 chrome/browser/extensions/api/log_private/filter_handler.cc std::find(filter.begin(), filter.end(), field) != filter.end()); field 108 chrome/browser/extensions/extension_ui_unittest.cc for (base::DictionaryValue::Iterator field(*expected_output_data); field 109 chrome/browser/extensions/extension_ui_unittest.cc !field.IsAtEnd(); field.Advance()) { field 110 chrome/browser/extensions/extension_ui_unittest.cc const base::Value* expected_value = &field.value(); field 112 chrome/browser/extensions/extension_ui_unittest.cc EXPECT_TRUE(actual_output_data->Get(field.key(), &actual_value)) << field 113 chrome/browser/extensions/extension_ui_unittest.cc field.key() + " is missing" + paths_details; field 114 chrome/browser/extensions/extension_ui_unittest.cc EXPECT_TRUE(expected_value->Equals(actual_value)) << field.key() + field 132 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc HistogramField field) { field 135 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc switch (field) { field 153 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc FAIL() << "Unexpected field: " << field; field 173 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc HistogramField field) { field 175 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc switch (field) { field 189 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc FAIL() << "Unexpected field: " << field; field 182 chrome/browser/sync/test/integration/autofill_helper.cc FormFieldData field; field 183 chrome/browser/sync/test/integration/autofill_helper.cc field.name = i->name(); field 184 chrome/browser/sync/test/integration/autofill_helper.cc field.value = i->value(); field 185 chrome/browser/sync/test/integration/autofill_helper.cc form_fields.push_back(field); field 104 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc AutofillField* field = form_structure.field(i); field 105 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc if (field->Type().GetStorableType() == EMAIL_ADDRESS) field 106 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc field->value = email_address; field 116 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc const AutofillField* field = form_structure.field(i); field 117 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc if (field && common::ServerTypeMatchesField(section, input_type, *field)) field 64 chrome/browser/ui/autofill/autofill_dialog_common.cc const AutofillField& field) { field 65 chrome/browser/ui/autofill/autofill_dialog_common.cc AutofillType field_type = field.Type(); field 41 chrome/browser/ui/autofill/autofill_dialog_common.h const AutofillField& field); field 351 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc FormFieldData field; field 352 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc field.autocomplete_attribute = "shipping tel"; field 353 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc form.fields.push_back(field); field 189 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const AutofillField& field) { field 195 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc field.Type().GetStorableType()))); field 1865 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc messages.Set(i18ninput::TypeForField(problem.field, address_type), field 3148 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc AutofillField* field = form_structure_.field(i); field 3149 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (field->Type().GetStorableType() == type) field 3150 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc field->value = output; field 3279 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc for (int field = ::i18n::addressinput::DEPENDENT_LOCALITY; field 3280 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc field >= ::i18n::addressinput::ADMIN_AREA; field 3281 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc --field) { field 3284 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc static_cast<AddressField>(field)); field 3285 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (focused_field != field && !field_value.empty()) { field 143 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc bool HasAnyError(const ValidityMessages& messages, ServerFieldType field) { field 144 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc return !messages.GetMessageOrDefault(field).text.empty(); field 147 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc bool HasUnsureError(const ValidityMessages& messages, ServerFieldType field) { field 148 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc const ValidityMessage& message = messages.GetMessageOrDefault(field); field 440 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc FormFieldData field; field 441 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.autocomplete_attribute = kFieldsFromPage[i]; field 442 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_data.fields.push_back(field); field 607 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(11)->Type().GetStorableType()); field 608 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(11)->Type().group()); field 610 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(18)->Type().GetStorableType()); field 611 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(18)->Type().group()); field 612 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_country = form_structure()->field(11)->value; field 614 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_country = form_structure()->field(18)->value; field 621 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); field 622 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; field 623 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(6)->Type().GetStorableType()); field 624 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_BILLING, form_structure()->field(6)->Type().group()); field 625 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; field 626 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(13)->Type().GetStorableType()); field 627 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME, form_structure()->field(13)->Type().group()); field 628 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; field 1245 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(9)->Type().GetStorableType()); field 1246 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(9)->Type().group()); field 1248 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(16)->Type().GetStorableType()); field 1249 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(16)->Type().group()); field 1250 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_state = form_structure()->field(9)->value; field 1251 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_state = form_structure()->field(16)->value; field 1257 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); field 1258 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 cc_name = form_structure()->field(1)->value; field 1259 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(6)->Type().GetStorableType()); field 1260 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_BILLING, form_structure()->field(6)->Type().group()); field 1261 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 billing_name = form_structure()->field(6)->value; field 1262 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME_FULL, form_structure()->field(13)->Type().GetStorableType()); field 1263 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(NAME, form_structure()->field(13)->Type().group()); field 1264 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc base::string16 shipping_name = form_structure()->field(13)->value; field 1338 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); field 1339 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(PHONE_HOME, form_structure()->field(0)->Type().group()); field 1341 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); field 1342 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(PHONE_BILLING, form_structure()->field(1)->Type().group()); field 1344 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); field 1346 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->value); field 1347 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(1)->value, field 1348 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); field 1390 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); field 1391 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(0)->Type().group()); field 1393 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(1)->Type().GetStorableType()); field 1394 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(1)->Type().group()); field 1397 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(0)->value, field 1400 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(0)->value, field 1403 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(StartsWith(form_structure()->field(1)->value, field 1406 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(EndsWith(form_structure()->field(1)->value, field 1411 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->value); field 1413 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(3)->value); field 1415 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(1)->value, field 1416 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->value); field 1417 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(form_structure()->field(3)->value, field 1418 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->value); field 2201 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc if (form_structure()->field(i)->Type().GetStorableType() == EMAIL_ADDRESS) { field 2202 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ASCIIToUTF16(kFakeEmail), form_structure()->field(i)->value); field 2219 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(0)->Type().GetStorableType()); field 2221 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(2)->Type().GetStorableType()); field 2223 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(9)->Type().GetStorableType()); field 2224 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_BILLING, form_structure()->field(9)->Type().group()); field 2226 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_structure()->field(16)->Type().GetStorableType()); field 2227 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(ADDRESS_HOME, form_structure()->field(16)->Type().group()); field 3278 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc FormFieldData field; field 3279 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.autocomplete_attribute = "billing country"; field 3280 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Down Under")); field 3281 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_values.push_back(ASCIIToUTF16("AU")); field 3282 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Fr")); field 3283 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_values.push_back(ASCIIToUTF16("")); field 3284 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Germany")); field 3285 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc field.option_values.push_back(ASCIIToUTF16("GRMNY")); field 3286 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc form_data.fields.push_back(field); field 52 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (component.field == ::i18n::addressinput::ORGANIZATION) { field 57 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc ServerFieldType server_type = TypeForField(component.field, address_type); field 64 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (component.field == ::i18n::addressinput::STREET_ADDRESS && field 168 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc ::i18n::addressinput::AddressField* field) { field 172 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 173 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::COUNTRY; field 177 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 178 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::ADMIN_AREA; field 182 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 183 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::LOCALITY; field 187 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 188 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::DEPENDENT_LOCALITY; field 192 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 193 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::SORTING_CODE; field 197 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 198 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::POSTAL_CODE; field 206 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 207 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::STREET_ADDRESS; field 210 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 211 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::ORGANIZATION; field 215 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (field) field 216 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc *field = ::i18n::addressinput::RECIPIENT; field 252 chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc if (components[i].field == ::i18n::addressinput::DEPENDENT_LOCALITY) field 46 chrome/browser/ui/autofill/autofill_dialog_i18n_input.h ServerFieldType TypeForField(::i18n::addressinput::AddressField field, field 53 chrome/browser/ui/autofill/autofill_dialog_i18n_input.h ::i18n::addressinput::AddressField* field); field 147 chrome/browser/ui/autofill/autofill_dialog_types.cc ServerFieldType field, const ValidityMessage& message) { field 148 chrome/browser/ui/autofill/autofill_dialog_types.cc MessageMap::iterator iter = messages_.find(field); field 156 chrome/browser/ui/autofill/autofill_dialog_types.cc messages_.insert(MessageMap::value_type(field, message)); field 160 chrome/browser/ui/autofill/autofill_dialog_types.cc ServerFieldType field) const { field 161 chrome/browser/ui/autofill/autofill_dialog_types.cc MessageMap::const_iterator iter = messages_.find(field); field 165 chrome/browser/ui/autofill/autofill_dialog_types.cc bool ValidityMessages::HasSureError(ServerFieldType field) const { field 166 chrome/browser/ui/autofill/autofill_dialog_types.cc return IsSureError(GetMessageOrDefault(field)); field 222 chrome/browser/ui/autofill/autofill_dialog_types.h void Set(ServerFieldType field, const ValidityMessage& message); field 223 chrome/browser/ui/autofill/autofill_dialog_types.h const ValidityMessage& GetMessageOrDefault(ServerFieldType field) const; field 225 chrome/browser/ui/autofill/autofill_dialog_types.h bool HasSureError(ServerFieldType field) const; field 350 chrome/browser/ui/autofill/data_model_wrapper.cc ::i18n::addressinput::AddressField field; field 351 chrome/browser/ui/autofill/data_model_wrapper.cc if (!i18ninput::FieldForType(type.GetStorableType(), &field)) field 354 chrome/browser/ui/autofill/data_model_wrapper.cc if (field == ::i18n::addressinput::STREET_ADDRESS) field 357 chrome/browser/ui/autofill/data_model_wrapper.cc if (field == ::i18n::addressinput::COUNTRY) { field 362 chrome/browser/ui/autofill/data_model_wrapper.cc return base::UTF8ToUTF16(address_->GetFieldValue(field)); field 69 chrome/browser/ui/cocoa/autofill/autofill_details_container.h - (void)scrollToView:(NSView*)field; field 39 chrome/browser/ui/cocoa/autofill/autofill_input_field.h - (void)fieldBecameFirstResponder:(NSControl<AutofillInputField>*)field; field 32 chrome/browser/ui/cocoa/autofill/autofill_section_container.h - (void)updateMessageForField:(NSControl<AutofillInputField>*)field; field 67 chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h ofView:(AutocompleteTextField*)field; field 52 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h LocationBarViewMac(AutocompleteTextField* field, field 30 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h NSTextField* field); field 28 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h AutocompleteTextField* field); field 110 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h AutocompleteTextField* field() const { return field_; } field 1945 chrome/browser/ui/views/autofill/autofill_dialog_views.cc ExpandingTextfield* field = new ExpandingTextfield(input.initial_value, field 1949 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfields->insert(std::make_pair(input.type, field)); field 1950 chrome/browser/ui/views/autofill/autofill_dialog_views.cc view_to_add.reset(field); field 342 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach ($this->$type as $alias => $field) { field 343 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (is_int($alias)) $alias = strtr($field, '/', '_'); field 344 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $this->aliases[$alias] = 'http://axschema.org/' . $field; field 188 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 192 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 690 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 696 chrome/renderer/autofill/form_autofill_browsertest.cc &field)); field 769 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 775 chrome/renderer/autofill/form_autofill_browsertest.cc &field)); field 1034 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 1037 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 1053 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_FORM_FIELD_DATA_EQUALS(expected, field); field 1090 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_FORM_FIELD_DATA_EQUALS(expected, field); field 1128 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 1131 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 1167 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_FORM_FIELD_DATA_EQUALS(expected, field); field 1201 chrome/renderer/autofill/form_autofill_browsertest.cc EXPECT_FORM_FIELD_DATA_EQUALS(expected, field); field 2225 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 2228 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 2322 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 2325 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 2403 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 2406 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 2493 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 2496 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 2716 chrome/renderer/autofill/form_autofill_browsertest.cc FormFieldData field; field 2719 chrome/renderer/autofill/form_autofill_browsertest.cc &field, field 701 chrome/renderer/extensions/dispatcher.cc const std::string& field, field 703 chrome/renderer/extensions/dispatcher.cc v8::Handle<v8::String> key = v8::String::NewFromUtf8(isolate, field.c_str()); field 257 chrome/renderer/extensions/dispatcher.h const std::string& field, field 414 chrome/renderer/extensions/module_system.cc v8::Handle<v8::String> field = field 418 chrome/renderer/extensions/module_system.cc if (!module->Has(field)) { field 419 chrome/renderer/extensions/module_system.cc std::string field_str = *v8::String::Utf8Value(field); field 426 chrome/renderer/extensions/module_system.cc v8::Local<v8::Value> new_field = module->Get(field); field 445 chrome/renderer/extensions/module_system.cc const std::string& field, field 448 chrome/renderer/extensions/module_system.cc SetLazyField(object, field, module_name, module_field, field 453 chrome/renderer/extensions/module_system.cc const std::string& field, field 463 chrome/renderer/extensions/module_system.cc object->SetAccessor(v8::String::NewFromUtf8(GetIsolate(), field.c_str()), field 470 chrome/renderer/extensions/module_system.cc const std::string& field, field 473 chrome/renderer/extensions/module_system.cc SetLazyField(object, field, module_name, module_field, field 120 chrome/renderer/extensions/module_system.h const std::string& field, field 125 chrome/renderer/extensions/module_system.h const std::string& field, field 134 chrome/renderer/extensions/module_system.h const std::string& field, field 59 chrome/test/nacl/nacl_browsertest_util.cc const std::string& field) { field 60 chrome/test/nacl/nacl_browsertest_util.cc return InternalError(type + " message did not have field: " + field); field 33 chrome/test/nacl/nacl_browsertest_util.h const std::string& field) WARN_UNUSED_RESULT; field 21 chromeos/dbus/power_policy_controller.cc #define APPEND_DELAY(str, delays, field, name) \ field 23 chromeos/dbus/power_policy_controller.cc if (delays.has_##field()) \ field 24 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf(name "=%" PRId64 " ", delays.field()); \ field 85 chromeos/network/onc/onc_merger.cc for (base::DictionaryValue::Iterator field(**it_outer); !field.IsAtEnd(); field 86 chromeos/network/onc/onc_merger.cc field.Advance()) { field 87 chromeos/network/onc/onc_merger.cc const std::string& key = field.key(); field 92 chromeos/network/onc/onc_merger.cc if (field.value().IsType(base::Value::TYPE_DICTIONARY)) { field 338 chromeos/network/onc/onc_merger.cc const OncFieldSignature* field = NULL; field 340 chromeos/network/onc/onc_merger.cc field = GetFieldSignature(*signature_, key); field 342 chromeos/network/onc/onc_merger.cc if (field) { field 402 chromeos/network/onc/onc_merger.cc const OncFieldSignature* field = field 404 chromeos/network/onc/onc_merger.cc if (field) field 405 chromeos/network/onc/onc_merger.cc signature_ = field->value_signature; field 59 components/autofill/content/common/autofill_messages.h IPC_STRUCT_TRAITS_MEMBER(field) field 367 components/autofill/content/renderer/autofill_agent.cc FormFieldData field; field 370 components/autofill/content/renderer/autofill_agent.cc &field, field 372 components/autofill/content/renderer/autofill_agent.cc Send(new AutofillHostMsg_TextFieldDidChange(routing_id(), form, field, field 591 components/autofill/content/renderer/autofill_agent.cc FormFieldData field; field 592 components/autofill/content/renderer/autofill_agent.cc if (!FindFormAndFieldForFormControlElement(element, &form, &field, field 596 components/autofill/content/renderer/autofill_agent.cc WebFormControlElementToFormField(element, EXTRACT_VALUE, &field); field 599 components/autofill/content/renderer/autofill_agent.cc field.should_autocomplete = false; field 625 components/autofill/content/renderer/autofill_agent.cc field, field 153 components/autofill/content/renderer/autofill_agent.h FormFieldData* field) WARN_UNUSED_RESULT; field 528 components/autofill/content/renderer/form_autofill_util.cc blink::WebFormControlElement* field) { field 533 components/autofill/content/renderer/form_autofill_util.cc field->setAutofilled(true); field 535 components/autofill/content/renderer/form_autofill_util.cc WebInputElement* input_element = toWebInputElement(field); field 545 components/autofill/content/renderer/form_autofill_util.cc field->setValue(value, true); field 550 components/autofill/content/renderer/form_autofill_util.cc IsTextAreaElement(*field))) { field 551 components/autofill/content/renderer/form_autofill_util.cc int length = field->value().length(); field 552 components/autofill/content/renderer/form_autofill_util.cc field->setSelectionRange(length, length); field 554 components/autofill/content/renderer/form_autofill_util.cc field->document().frame()->unmarkText(); field 562 components/autofill/content/renderer/form_autofill_util.cc blink::WebFormControlElement* field) { field 570 components/autofill/content/renderer/form_autofill_util.cc WebInputElement* input_element = toWebInputElement(field); field 577 components/autofill/content/renderer/form_autofill_util.cc } else if (IsTextAreaElement(*field) || IsSelectElement(*field)) { field 578 components/autofill/content/renderer/form_autofill_util.cc field->setSuggestedValue(data.value); field 579 components/autofill/content/renderer/form_autofill_util.cc field->setAutofilled(true); field 583 components/autofill/content/renderer/form_autofill_util.cc (IsTextInput(input_element) || IsTextAreaElement(*field))) { field 585 components/autofill/content/renderer/form_autofill_util.cc int start = field->value().length(); field 586 components/autofill/content/renderer/form_autofill_util.cc int end = field->suggestedValue().length(); field 587 components/autofill/content/renderer/form_autofill_util.cc field->setSelectionRange(start, end); field 745 components/autofill/content/renderer/form_autofill_util.cc FormFieldData* field) { field 746 components/autofill/content/renderer/form_autofill_util.cc DCHECK(field); field 753 components/autofill/content/renderer/form_autofill_util.cc field->name = element.nameForAutofill(); field 754 components/autofill/content/renderer/form_autofill_util.cc field->form_control_type = base::UTF16ToUTF8(element.formControlType()); field 755 components/autofill/content/renderer/form_autofill_util.cc field->autocomplete_attribute = field 757 components/autofill/content/renderer/form_autofill_util.cc if (field->autocomplete_attribute.size() > kMaxDataLength) { field 761 components/autofill/content/renderer/form_autofill_util.cc field->autocomplete_attribute = "x-max-data-length-exceeded"; field 770 components/autofill/content/renderer/form_autofill_util.cc field->is_autofilled = element.isAutofilled(); field 771 components/autofill/content/renderer/form_autofill_util.cc field->is_focusable = element.isFocusable(); field 772 components/autofill/content/renderer/form_autofill_util.cc field->should_autocomplete = element.autoComplete(); field 773 components/autofill/content/renderer/form_autofill_util.cc field->text_direction = element.directionForFormData() == field 779 components/autofill/content/renderer/form_autofill_util.cc field->max_length = input_element->maxLength(); field 781 components/autofill/content/renderer/form_autofill_util.cc field->is_checkable = IsCheckableElement(input_element); field 782 components/autofill/content/renderer/form_autofill_util.cc field->is_checked = input_element->isChecked(); field 790 components/autofill/content/renderer/form_autofill_util.cc &field->option_values, field 791 components/autofill/content/renderer/form_autofill_util.cc &field->option_contents); field 822 components/autofill/content/renderer/form_autofill_util.cc field->value = value; field 831 components/autofill/content/renderer/form_autofill_util.cc FormFieldData* field) { field 950 components/autofill/content/renderer/form_autofill_util.cc if (field && form_control_element == control_element) field 951 components/autofill/content/renderer/form_autofill_util.cc *field = *form_fields[field_idx]; field 967 components/autofill/content/renderer/form_autofill_util.cc FormFieldData* field, field 983 components/autofill/content/renderer/form_autofill_util.cc field); field 99 components/autofill/content/renderer/form_autofill_util.h FormFieldData* field); field 114 components/autofill/content/renderer/form_autofill_util.h FormFieldData* field); field 122 components/autofill/content/renderer/form_autofill_util.h FormFieldData* field, field 632 components/autofill/content/renderer/password_autofill_agent.cc FormFieldData field; field 634 components/autofill/content/renderer/password_autofill_agent.cc username_element, &form, &field, REQUIRE_NONE); field 637 components/autofill/content/renderer/password_autofill_agent.cc field, field 694 components/autofill/content/renderer/password_autofill_agent.cc FormFieldData field; field 696 components/autofill/content/renderer/password_autofill_agent.cc user_input, &form, &field, REQUIRE_NONE); field 707 components/autofill/content/renderer/password_autofill_agent.cc field, field 51 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 52 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 54 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address"); field 55 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("address"); field 56 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); field 68 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 69 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 71 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address"); field 72 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("address"); field 73 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); field 75 components/autofill/core/browser/address_field_unittest.cc field.label = base::string16(); field 76 components/autofill/core/browser/address_field_unittest.cc field.name = base::string16(); field 77 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr2"))); field 92 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 93 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 95 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address Line1"); field 96 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("Address1"); field 97 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); field 99 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address Line2"); field 100 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("Address2"); field 101 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr2"))); field 103 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address Line3"); field 104 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("Address3"); field 105 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr3"))); field 122 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 123 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "textarea"; field 125 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address"); field 126 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("address"); field 127 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr"))); field 139 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 140 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 142 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("City"); field 143 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("city"); field 144 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("city1"))); field 156 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 157 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 159 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("State"); field 160 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("state"); field 161 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("state1"))); field 173 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 174 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 176 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Zip"); field 177 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("zip"); field 178 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("zip1"))); field 190 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 191 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 193 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("State/Province, Zip/Postal Code"); field 194 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("state"); field 195 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("state"))); field 197 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("State/Province, Zip/Postal Code"); field 198 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("zip"); field 199 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("zip"))); field 214 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 215 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 217 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Country"); field 218 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("country"); field 219 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("country1"))); field 231 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 232 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 234 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Address"); field 235 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("address"); field 236 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); field 238 components/autofill/core/browser/address_field_unittest.cc field.label = base::string16(); field 239 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("bogus"); field 240 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("addr2"))); field 255 components/autofill/core/browser/address_field_unittest.cc FormFieldData field; field 256 components/autofill/core/browser/address_field_unittest.cc field.form_control_type = "text"; field 258 components/autofill/core/browser/address_field_unittest.cc field.label = ASCIIToUTF16("Company"); field 259 components/autofill/core/browser/address_field_unittest.cc field.name = ASCIIToUTF16("company"); field 260 components/autofill/core/browser/address_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("company1"))); field 26 components/autofill/core/browser/autocomplete_history_manager.cc bool IsTextField(const FormFieldData& field) { field 28 components/autofill/core/browser/autocomplete_history_manager.cc field.form_control_type == "text" || field 29 components/autofill/core/browser/autocomplete_history_manager.cc field.form_control_type == "search" || field 30 components/autofill/core/browser/autocomplete_history_manager.cc field.form_control_type == "tel" || field 31 components/autofill/core/browser/autocomplete_history_manager.cc field.form_control_type == "url" || field 32 components/autofill/core/browser/autocomplete_history_manager.cc field.form_control_type == "email"; field 250 components/autofill/core/browser/autocomplete_history_manager_unittest.cc FormFieldData field; field 251 components/autofill/core/browser/autocomplete_history_manager_unittest.cc test::CreateTestFormField("Address", "address", "", "textarea", &field); field 261 components/autofill/core/browser/autocomplete_history_manager_unittest.cc field.name, field 262 components/autofill/core/browser/autocomplete_history_manager_unittest.cc field.value, field 263 components/autofill/core/browser/autocomplete_history_manager_unittest.cc field.form_control_type, field 138 components/autofill/core/browser/autofill_download_unittest.cc FormFieldData field; field 139 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("username"); field 140 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("username"); field 141 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 142 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 144 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("First Name"); field 145 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("firstname"); field 146 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 147 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 149 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 150 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("lastname"); field 151 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 152 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 154 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("email"); field 155 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("email"); field 156 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 157 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 159 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("email2"); field 160 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("email2"); field 161 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 162 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 164 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("password"); field 165 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("password"); field 166 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "password"; field 167 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 169 components/autofill/core/browser/autofill_download_unittest.cc field.label = base::string16(); field 170 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("Submit"); field 171 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "submit"; field 172 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 180 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("address"); field 181 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("address"); field 182 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 183 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 185 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("address2"); field 186 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("address2"); field 187 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 188 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 190 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("city"); field 191 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("city"); field 192 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 193 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 195 components/autofill/core/browser/autofill_download_unittest.cc field.label = base::string16(); field 196 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("Submit"); field 197 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "submit"; field 198 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 289 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("Address line 2"); field 290 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("address2"); field 291 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 292 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 349 components/autofill/core/browser/autofill_download_unittest.cc FormFieldData field; field 350 components/autofill/core/browser/autofill_download_unittest.cc field.form_control_type = "text"; field 352 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("username"); field 353 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("username"); field 354 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 356 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("First Name"); field 357 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("firstname"); field 358 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 360 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 361 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("lastname"); field 362 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 369 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("email"); field 370 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("email"); field 371 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 378 components/autofill/core/browser/autofill_download_unittest.cc field.label = ASCIIToUTF16("email2"); field 379 components/autofill/core/browser/autofill_download_unittest.cc field.name = ASCIIToUTF16("email2"); field 380 components/autofill/core/browser/autofill_download_unittest.cc form.fields.push_back(field); field 35 components/autofill/core/browser/autofill_external_delegate.cc const FormFieldData& field, field 39 components/autofill/core/browser/autofill_external_delegate.cc query_field_ = field; field 117 components/autofill/core/browser/autofill_external_delegate.cc const FormFieldData& field, field 119 components/autofill/core/browser/autofill_external_delegate.cc query_field_ = field; field 64 components/autofill/core/browser/autofill_external_delegate.h const FormFieldData& field, field 80 components/autofill/core/browser/autofill_external_delegate.h const FormFieldData& field, field 90 components/autofill/core/browser/autofill_external_delegate_unittest.cc const FormFieldData& field, field 122 components/autofill/core/browser/autofill_external_delegate_unittest.cc FormFieldData field; field 123 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.is_focusable = true; field 124 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.should_autocomplete = true; field 127 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->OnQuery(query_id, form, field, element_bounds, true); field 330 components/autofill/core/browser/autofill_external_delegate_unittest.cc FormFieldData field; field 331 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.is_focusable = true; field 332 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.should_autocomplete = false; field 335 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->OnQuery(kQueryId, form, field, element_bounds, true); field 410 components/autofill/core/browser/autofill_external_delegate_unittest.cc FormFieldData field; field 411 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.is_focusable = true; field 412 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.should_autocomplete = true; field 419 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->AddPasswordFormMapping(field, password_form_fill_data); field 435 components/autofill/core/browser/autofill_external_delegate_unittest.cc field, field 470 components/autofill/core/browser/autofill_external_delegate_unittest.cc FormFieldData field; field 471 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.is_focusable = true; field 472 components/autofill/core/browser/autofill_external_delegate_unittest.cc field.should_autocomplete = false; field 475 components/autofill/core/browser/autofill_external_delegate_unittest.cc external_delegate_->OnQuery(kQueryId, form, field, element_bounds, false); field 41 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 44 components/autofill/core/browser/autofill_field.cc DCHECK_EQ(field->option_values.size(), field->option_contents.size()); field 46 components/autofill/core/browser/autofill_field.cc for (size_t i = 0; i < field->option_values.size(); ++i) { field 47 components/autofill/core/browser/autofill_field.cc if (value == field->option_values[i] || field 48 components/autofill/core/browser/autofill_field.cc value == field->option_contents[i]) { field 50 components/autofill/core/browser/autofill_field.cc best_match = field->option_values[i]; field 54 components/autofill/core/browser/autofill_field.cc if (value_lowercase == StringToLowerASCII(field->option_values[i]) || field 55 components/autofill/core/browser/autofill_field.cc value_lowercase == StringToLowerASCII(field->option_contents[i])) { field 58 components/autofill/core/browser/autofill_field.cc best_match = field->option_values[i]; field 65 components/autofill/core/browser/autofill_field.cc field->value = best_match; field 72 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 73 components/autofill/core/browser/autofill_field.cc DCHECK_EQ(field->option_values.size(), field->option_contents.size()); field 74 components/autofill/core/browser/autofill_field.cc for (size_t i = 0; i < field->option_values.size(); ++i) { field 76 components/autofill/core/browser/autofill_field.cc if ((StringToInt(field->option_values[i], &option) && option == value) || field 77 components/autofill/core/browser/autofill_field.cc (StringToInt(field->option_contents[i], &option) && option == value)) { field 78 components/autofill/core/browser/autofill_field.cc field->value = field->option_values[i]; field 87 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 92 components/autofill/core/browser/autofill_field.cc if (!abbreviation.empty() && SetSelectControlValue(abbreviation, field)) field 95 components/autofill/core/browser/autofill_field.cc return !full.empty() && SetSelectControlValue(full, field); field 123 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 131 components/autofill/core/browser/autofill_field.cc SetSelectControlValue(ASCIIToUTF16(kMonthsAbbreviated[index]), field) || field 132 components/autofill/core/browser/autofill_field.cc SetSelectControlValue(ASCIIToUTF16(kMonthsFull[index]), field) || field 133 components/autofill/core/browser/autofill_field.cc FillNumericSelectControl(index, field); field 151 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 155 components/autofill/core/browser/autofill_field.cc DCHECK_EQ(field->option_values.size(), field->option_contents.size()); field 156 components/autofill/core/browser/autofill_field.cc for (size_t i = 0; i < field->option_values.size(); ++i) { field 157 components/autofill/core/browser/autofill_field.cc if (LastTwoDigitsMatch(value, field->option_values[i]) || field 158 components/autofill/core/browser/autofill_field.cc LastTwoDigitsMatch(value, field->option_contents[i])) { field 159 components/autofill/core/browser/autofill_field.cc field->value = field->option_values[i]; field 170 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 176 components/autofill/core/browser/autofill_field.cc for (size_t i = 0; i < field->option_values.size(); ++i) { field 178 components/autofill/core/browser/autofill_field.cc base::RemoveChars(StringToLowerASCII(field->option_values[i]), field 181 components/autofill/core/browser/autofill_field.cc base::RemoveChars(StringToLowerASCII(field->option_contents[i]), field 188 components/autofill/core/browser/autofill_field.cc field->value = field->option_values[i]; field 195 components/autofill/core/browser/autofill_field.cc return FillCreditCardTypeSelectControl(ASCIIToUTF16("AmEx"), field); field 203 components/autofill/core/browser/autofill_field.cc void FillPhoneNumberField(const AutofillField& field, field 211 components/autofill/core/browser/autofill_field.cc if (field.phone_part() == AutofillField::PHONE_PREFIX || field 215 components/autofill/core/browser/autofill_field.cc } else if (field.phone_part() == AutofillField::PHONE_SUFFIX || field 230 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 231 components/autofill/core/browser/autofill_field.cc DCHECK_EQ("select-one", field->form_control_type); field 234 components/autofill/core/browser/autofill_field.cc if (field->option_values.size() != field->option_contents.size()) field 241 components/autofill/core/browser/autofill_field.cc if (SetSelectControlValue(value, field)) field 247 components/autofill/core/browser/autofill_field.cc return FillStateSelectControl(value, field); field 249 components/autofill/core/browser/autofill_field.cc return FillCountrySelectControl(value, app_locale, field); field 251 components/autofill/core/browser/autofill_field.cc return FillExpirationMonthSelectControl(value, field); field 254 components/autofill/core/browser/autofill_field.cc return FillYearSelectControl(value, field); field 256 components/autofill/core/browser/autofill_field.cc return FillCreditCardTypeSelectControl(value, field); field 264 components/autofill/core/browser/autofill_field.cc bool FillMonthControl(const base::string16& value, FormFieldData* field) { field 281 components/autofill/core/browser/autofill_field.cc field->value = year + ASCIIToUTF16("-") + month; field 288 components/autofill/core/browser/autofill_field.cc FormFieldData* field) { field 289 components/autofill/core/browser/autofill_field.cc if (field->form_control_type == "textarea") { field 290 components/autofill/core/browser/autofill_field.cc field->value = value; field 299 components/autofill/core/browser/autofill_field.cc field->value = one_line_value; field 324 components/autofill/core/browser/autofill_field.cc AutofillField::AutofillField(const FormFieldData& field, field 326 components/autofill/core/browser/autofill_field.cc : FormFieldData(field), field 394 components/autofill/core/browser/autofill_field.cc bool AutofillField::FillFormField(const AutofillField& field, field 398 components/autofill/core/browser/autofill_field.cc AutofillType type = field.Type(); field 401 components/autofill/core/browser/autofill_field.cc FillPhoneNumberField(field, value, field_data); field 28 components/autofill/core/browser/autofill_field.h AutofillField(const FormFieldData& field, const base::string16& unique_name); field 71 components/autofill/core/browser/autofill_field.h static bool FillFormField(const AutofillField& field, field 36 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 37 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(NO_SERVER_DATA, field.server_type()); field 38 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(UNKNOWN_TYPE, field.heuristic_type()); field 41 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, field.Type().GetStorableType()); field 44 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(NAME_FIRST); field 45 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(NAME_FIRST, field.Type().GetStorableType()); field 46 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(NAME, field.Type().group()); field 49 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(ADDRESS_BILLING_LINE1); field 50 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, field.Type().GetStorableType()); field 51 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ADDRESS_BILLING, field.Type().group()); field 54 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(NO_SERVER_DATA); field 55 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(NAME_FIRST, field.Type().GetStorableType()); field 56 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(NAME, field.Type().group()); field 60 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 61 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(base::string16(), field.value); field 64 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_TRUE(field.IsEmpty()); field 67 components/autofill/core/browser/autofill_field_unittest.cc field.value = ASCIIToUTF16("Value"); field 68 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_FALSE(field.IsEmpty()); field 72 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 73 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(base::string16(), field.name); field 74 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(std::string(), field.form_control_type); field 77 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ("2085434232", field.FieldSignature()); field 80 components/autofill/core/browser/autofill_field_unittest.cc field.name = ASCIIToUTF16("Name"); field 81 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ("1606968241", field.FieldSignature()); field 84 components/autofill/core/browser/autofill_field_unittest.cc field.form_control_type = "text"; field 85 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ("502192749", field.FieldSignature()); field 88 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(NAME_FIRST); field 89 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ("502192749", field.FieldSignature()); field 92 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(NAME_LAST); field 93 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ("502192749", field.FieldSignature()); field 97 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 98 components/autofill/core/browser/autofill_field_unittest.cc ASSERT_EQ(UNKNOWN_TYPE, field.Type().GetStorableType()); field 101 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_FALSE(field.IsFieldFillable()); field 104 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(NAME_FIRST); field 105 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_TRUE(field.IsFieldFillable()); field 108 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(UNKNOWN_TYPE); field 109 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(NAME_LAST); field 110 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_TRUE(field.IsFieldFillable()); field 113 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(NAME_FIRST); field 114 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(NAME_LAST); field 115 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_TRUE(field.IsFieldFillable()); field 118 components/autofill/core/browser/autofill_field_unittest.cc field.should_autocomplete = false; field 119 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_FALSE(field.IsFieldFillable()); field 123 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 124 components/autofill/core/browser/autofill_field_unittest.cc field.SetHtmlType(HTML_TYPE_TEL_LOCAL_PREFIX, HtmlFieldMode()); field 127 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Oh hai"), "en-US", &field); field 128 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Oh hai"), field.value); field 131 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("5551234"), "en-US", &field); field 132 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("555"), field.value); field 135 components/autofill/core/browser/autofill_field_unittest.cc field.SetHtmlType(HTML_TYPE_UNKNOWN, HtmlFieldMode()); field 136 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(PHONE_HOME_NUMBER); field 137 components/autofill/core/browser/autofill_field_unittest.cc field.max_length = 4; field 140 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("5551234"), "en-US", &field); field 141 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("1234"), field.value); field 148 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 154 components/autofill/core/browser/autofill_field_unittest.cc for (size_t i = 0; i < field.option_contents.size(); ++i) { field 155 components/autofill/core/browser/autofill_field_unittest.cc field.option_contents[i] = ASCIIToUTF16(base::StringPrintf("%" PRIuS, i)); field 158 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Meenie"), "en-US", field 159 components/autofill/core/browser/autofill_field_unittest.cc &field); field 160 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Meenie"), field.value); field 167 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 173 components/autofill/core/browser/autofill_field_unittest.cc for (size_t i = 0; i < field.option_values.size(); ++i) { field 174 components/autofill/core/browser/autofill_field_unittest.cc field.option_values[i] = ASCIIToUTF16(base::StringPrintf("%" PRIuS, i)); field 177 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Miney"), "en-US", field 178 components/autofill/core/browser/autofill_field_unittest.cc &field); field 179 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("2"), field.value); // Corresponds to "Miney". field 186 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 189 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(ADDRESS_HOME_COUNTRY); field 191 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("CA"), "en-US", &field); field 192 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Canada"), field.value); field 199 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 202 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(ADDRESS_HOME_COUNTRY); field 204 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Canada"), "en-US", &field); field 205 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("CA"), field.value); field 212 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 215 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(ADDRESS_HOME_STATE); field 217 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("CA"), "en-US", &field); field 218 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("California"), field.value); field 225 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 228 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(ADDRESS_HOME_STATE); field 230 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("California"), "en-US", field 231 components/autofill/core/browser/autofill_field_unittest.cc &field); field 232 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("CA"), field.value); field 239 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 242 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_EXP_MONTH); field 245 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("03"), "en-US", &field); field 246 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("03"), field.value); field 249 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("4"), "en-US", &field); field 250 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("04"), field.value); field 253 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("11"), "en-US", &field); field 254 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("11"), field.value); field 262 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 266 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_EXP_MONTH); field 268 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("04"), "en-US", &field); field 269 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Apr"), field.value); field 277 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 280 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_EXP_MONTH); field 282 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("04"), "en-US", &field); field 283 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("April"), field.value); field 290 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 293 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_EXP_MONTH); field 295 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("04"), "en-US", &field); field 296 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("4"), field.value); field 303 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field(GenerateSelectFieldWithOptions(kYears, arraysize(kYears)), field 305 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_EXP_2_DIGIT_YEAR); field 307 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("2017"), "en-US", &field); field 308 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("17"), field.value); field 315 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field( field 319 components/autofill/core/browser/autofill_field_unittest.cc field.set_heuristic_type(CREDIT_CARD_TYPE); field 322 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Visa"), "en-US", &field); field 323 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Visa"), field.value); field 326 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("MasterCard"), "en-US", field 327 components/autofill/core/browser/autofill_field_unittest.cc &field); field 328 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("Master Card"), field.value); field 331 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("American Express"), "en-US", field 332 components/autofill/core/browser/autofill_field_unittest.cc &field); field 333 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("AmEx"), field.value); field 336 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("Discover"), "en-US", field 337 components/autofill/core/browser/autofill_field_unittest.cc &field); field 338 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("discover"), field.value); field 342 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 343 components/autofill/core/browser/autofill_field_unittest.cc field.form_control_type = "month"; field 346 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("12/2017"), "en-US", &field); field 347 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("2017-12"), field.value); field 350 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("03/2019"), "en-US", &field); field 351 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("2019-03"), field.value); field 354 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, ASCIIToUTF16("4/2018"), "en-US", &field); field 355 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("2018-04"), field.value); field 359 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 360 components/autofill/core/browser/autofill_field_unittest.cc field.form_control_type = "textarea"; field 364 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, value, "en-US", &field); field 365 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(value, field.value); field 369 components/autofill/core/browser/autofill_field_unittest.cc AutofillField field; field 370 components/autofill/core/browser/autofill_field_unittest.cc field.form_control_type = "text"; field 371 components/autofill/core/browser/autofill_field_unittest.cc field.set_server_type(ADDRESS_HOME_STREET_ADDRESS); field 375 components/autofill/core/browser/autofill_field_unittest.cc AutofillField::FillFormField(field, value, "en-US", &field); field 376 components/autofill/core/browser/autofill_field_unittest.cc EXPECT_EQ(ASCIIToUTF16("123 Fake St., Apt. 42"), field.value); field 110 components/autofill/core/browser/autofill_manager.cc if (form_structure.field(i)->section() == section && field 138 components/autofill/core/browser/autofill_manager.cc AutofillField* field = submitted_form->field(i); field 142 components/autofill/core/browser/autofill_manager.cc if (field->form_control_type == "password") { field 146 components/autofill/core/browser/autofill_manager.cc base::TrimWhitespace(field->value, base::TRIM_ALL, &value); field 160 components/autofill/core/browser/autofill_manager.cc field->set_possible_types(matching_types); field 342 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 344 components/autofill/core/browser/autofill_manager.cc if (!IsValidFormData(form) || !IsValidFormFieldData(field)) field 349 components/autofill/core/browser/autofill_manager.cc if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field)) field 374 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 377 components/autofill/core/browser/autofill_manager.cc if (!IsValidFormData(form) || !IsValidFormFieldData(field)) field 387 components/autofill/core/browser/autofill_manager.cc field, field 394 components/autofill/core/browser/autofill_manager.cc GetCachedFormAndField(form, field, &form_structure, &autofill_field) && field 401 components/autofill/core/browser/autofill_manager.cc field, type, &values, &labels, &icons, &unique_ids); field 404 components/autofill/core/browser/autofill_manager.cc form_structure, field, type, &values, &labels, &icons, &unique_ids); field 459 components/autofill/core/browser/autofill_manager.cc query_id, field.name, field.value, field.form_control_type, values, field 467 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 469 components/autofill/core/browser/autofill_manager.cc if (!IsValidFormData(form) || !IsValidFormFieldData(field)) field 484 components/autofill/core/browser/autofill_manager.cc !GetCachedFormAndField(form, field, &form_structure, &autofill_field)) field 503 components/autofill/core/browser/autofill_manager.cc if ((*iter) == field) { field 527 components/autofill/core/browser/autofill_manager.cc if (form_structure->field(i)->section() != autofill_field->section()) field 530 components/autofill/core/browser/autofill_manager.cc DCHECK_EQ(*form_structure->field(i), result.fields[i]); field 532 components/autofill/core/browser/autofill_manager.cc const AutofillField* cached_field = form_structure->field(i); field 541 components/autofill/core/browser/autofill_manager.cc if (result.fields[i] == field || field 555 components/autofill/core/browser/autofill_manager.cc (result.fields[i] == field || field 562 components/autofill/core/browser/autofill_manager.cc form_structure->field(i)->is_autofilled = true; field 664 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 675 components/autofill/core/browser/autofill_manager.cc field, field 788 components/autofill/core/browser/autofill_manager.cc AutofillField* field = form_structure.field(i); field 791 components/autofill/core/browser/autofill_manager.cc if (!found_password_field && field->form_control_type == "password") { field 797 components/autofill/core/browser/autofill_manager.cc field->set_possible_types(types); field 930 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 955 components/autofill/core/browser/autofill_manager.cc if ((**iter) == field) { field 974 components/autofill/core/browser/autofill_manager.cc needs_update = *cached_form->field(i) != live_form.fields[i]; field 992 components/autofill/core/browser/autofill_manager.cc const AutofillField* field = cached_form->field(i); field 993 components/autofill/core/browser/autofill_manager.cc cached_fields[field->unique_name()] = field; field 997 components/autofill/core/browser/autofill_manager.cc AutofillField* field = (*updated_form)->field(i); field 999 components/autofill/core/browser/autofill_manager.cc cached_fields.find(field->unique_name()); field 1001 components/autofill/core/browser/autofill_manager.cc field->set_server_type(cached_field->second->server_type()); field 1002 components/autofill/core/browser/autofill_manager.cc field->is_autofilled = cached_field->second->is_autofilled; field 1020 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 1028 components/autofill/core/browser/autofill_manager.cc field_types.push_back(form->field(i)->Type().GetStorableType()); field 1033 components/autofill/core/browser/autofill_manager.cc type, field.value, field.is_autofilled, field_types, field 1044 components/autofill/core/browser/autofill_manager.cc const FormFieldData& field, field 1052 components/autofill/core/browser/autofill_manager.cc type, field.value, values, labels, icons, &guid_pairs); field 92 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 132 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 138 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 147 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 238 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 254 components/autofill/core/browser/autofill_manager.h const FormFieldData& field, field 263 components/autofill/core/browser/autofill_manager.h void GetCreditCardSuggestions(const FormFieldData& field, field 202 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 203 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Name on Card", "nameoncard", "", "text", &field); field 204 components/autofill/core/browser/autofill_manager_unittest.cc form->fields.push_back(field); field 205 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Card Number", "cardnumber", "", "text", &field); field 206 components/autofill/core/browser/autofill_manager_unittest.cc form->fields.push_back(field); field 209 components/autofill/core/browser/autofill_manager_unittest.cc "Expiration Date", "ccmonth", "", "month", &field); field 210 components/autofill/core/browser/autofill_manager_unittest.cc form->fields.push_back(field); field 212 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Expiration Date", "ccmonth", "", "text", &field); field 213 components/autofill/core/browser/autofill_manager_unittest.cc form->fields.push_back(field); field 214 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "ccyear", "", "text", &field); field 215 components/autofill/core/browser/autofill_manager_unittest.cc form->fields.push_back(field); field 223 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field) { field 225 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(UTF8ToUTF16(expected_label), field.label); field 226 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(UTF8ToUTF16(expected_name), field.name); field 227 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(UTF8ToUTF16(expected_value), field.value); field 228 components/autofill/core/browser/autofill_manager_unittest.cc EXPECT_EQ(expected_form_control_type, field.form_control_type); field 422 components/autofill/core/browser/autofill_manager_unittest.cc base::UTF16ToUTF8(submitted_form->field(i)->value).c_str())); field 424 components/autofill/core/browser/autofill_manager_unittest.cc submitted_form->field(i)->possible_types(); field 513 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field, field 618 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field) { field 621 components/autofill/core/browser/autofill_manager_unittest.cc field, field 627 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field) { field 628 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(kDefaultPageID, form, field); field 659 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field, field 662 components/autofill/core/browser/autofill_manager_unittest.cc AutofillDriver::FORM_DATA_ACTION_FILL, query_id, form, field, field 708 components/autofill/core/browser/autofill_manager_unittest.cc AutofillField* form_field = field(i); field 730 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 731 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 764 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 765 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("First Name", "firstname", "E", "text",&field); field 766 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 792 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 793 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Username", "username", "", "text",&field); field 794 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 795 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Password", "password", "", "password",&field); field 796 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 797 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Quest", "quest", "", "quest", &field); field 798 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 799 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Color", "color", "", "text", &field); field 800 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 805 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 824 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 825 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 858 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 859 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 873 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 874 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 894 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(kPageID2, form, field); field 917 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 930 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = form.fields[1]; field 931 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 966 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 967 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Card Number", "cardnumber", "4", "text", &field); field 968 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 993 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 994 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1029 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 1030 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1050 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(kPageID2, form, field); field 1073 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1095 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = form.fields[1]; field 1096 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1137 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = form.fields[0]; field 1138 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1160 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Card Number", "cardnumber", "", "text", &field); field 1161 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(kPageID2, form, field); field 1199 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = form.fields[0]; field 1200 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1221 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Card Number", "cardnumber", "", "text", &field); field 1223 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(kPageID2, form, field); field 1242 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1254 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 1255 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1298 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 1299 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1324 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 1325 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Some Field", "somefield", "", "text", &field); field 1326 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1330 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1368 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData& field = form.fields[0]; field 1369 components/autofill/core/browser/autofill_manager_unittest.cc field.is_autofilled = true; field 1370 components/autofill/core/browser/autofill_manager_unittest.cc field.value = ASCIIToUTF16("Elvis"); field 1371 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1411 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData& field = form.fields[0]; field 1412 components/autofill/core/browser/autofill_manager_unittest.cc field.value = ASCIIToUTF16("E"); field 1413 components/autofill/core/browser/autofill_manager_unittest.cc field.is_autofilled = false; field 1414 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1438 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData& field = form.fields[0]; field 1439 components/autofill/core/browser/autofill_manager_unittest.cc field.value = ASCIIToUTF16("Ele"); field 1440 components/autofill/core/browser/autofill_manager_unittest.cc field.is_autofilled = false; field 1441 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1478 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData& field = form.fields[0]; field 1479 components/autofill/core/browser/autofill_manager_unittest.cc field.value = ASCIIToUTF16("Travis"); field 1480 components/autofill/core/browser/autofill_manager_unittest.cc field.is_autofilled = true; field 1481 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1518 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[9]; field 1519 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 1812 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 1814 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "country", "", "text", &field); field 1815 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing country"; field 1816 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1818 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "firstname", "", "text", &field); field 1819 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "given-name"; field 1820 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1822 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "lastname", "", "text", &field); field 1823 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "family-name"; field 1824 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1826 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "address", "", "text", &field); field 1827 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing address-line1"; field 1828 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1830 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "city", "", "text", &field); field 1831 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing locality"; field 1832 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1834 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "state", "", "text", &field); field 1835 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing region"; field 1836 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1838 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "zip", "", "text", &field); field 1839 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing postal-code"; field 1840 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1842 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "ccname", "", "text", &field); field 1843 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing cc-name"; field 1844 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1846 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "ccnumber", "", "text", &field); field 1847 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing cc-number"; field 1848 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1850 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "ccexp", "", "text", &field); field 1851 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "section-billing cc-exp"; field 1852 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1854 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "email", "", "text", &field); field 1855 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = "email"; field 1856 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 1965 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 1966 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Confirm email", "email2", "", "text", &field); field 1967 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2121 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 2122 components/autofill/core/browser/autofill_manager_unittest.cc const size_t default_max_length = field.max_length; field 2125 components/autofill/core/browser/autofill_manager_unittest.cc test_fields[i].label, test_fields[i].name, "", "text", &field); field 2126 components/autofill/core/browser/autofill_manager_unittest.cc field.max_length = test_fields[i].max_length; field 2127 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = std::string(); field 2128 components/autofill/core/browser/autofill_manager_unittest.cc form_with_maxlength.fields.push_back(field); field 2130 components/autofill/core/browser/autofill_manager_unittest.cc field.max_length = default_max_length; field 2131 components/autofill/core/browser/autofill_manager_unittest.cc field.autocomplete_attribute = test_fields[i].autocomplete_attribute; field 2132 components/autofill/core/browser/autofill_manager_unittest.cc form_with_autocompletetype.fields.push_back(field); field 2245 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 2246 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("Some", "field", "", "text", &field); field 2247 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.insert(form.fields.begin() + 3, field); field 2277 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = *pos; field 2284 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.insert(pos, field); field 2364 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 2365 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); field 2403 components/autofill/core/browser/autofill_manager_unittest.cc server_types.push_back(form_structure->field(i)->heuristic_type()); field 2440 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field = form.fields[3]; field 2442 components/autofill/core/browser/autofill_manager_unittest.cc form.fields[7] = field; field 2524 components/autofill/core/browser/autofill_manager_unittest.cc FormFieldData field; field 2526 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "1", "Elvis", "text", &field); field 2529 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2532 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "2", "Aaron", "text", &field); field 2535 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2538 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "3", "A", "text", &field); field 2541 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2544 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "4", "Presley", "text", &field); field 2547 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2550 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "5", "Elvis Presley", "text", &field); field 2553 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2557 components/autofill/core/browser/autofill_manager_unittest.cc &field); field 2560 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2564 components/autofill/core/browser/autofill_manager_unittest.cc &field); field 2567 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2570 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "8", "RCA", "text", &field); field 2573 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2577 components/autofill/core/browser/autofill_manager_unittest.cc "text", &field); field 2580 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2583 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "10", "Apt. 10", "text", &field); field 2586 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2589 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "11", "Memphis", "text", &field); field 2592 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2595 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "12", "Tennessee", "text", &field); field 2598 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2601 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "13", "38116", "text", &field); field 2604 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2607 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "14", "USA", "text", &field); field 2610 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2613 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "15", "United States", "text", &field); field 2616 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2620 components/autofill/core/browser/autofill_manager_unittest.cc &field); field 2623 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2626 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "17", "2345678901", "text", &field); field 2629 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2632 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "18", "1", "text", &field); field 2635 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2638 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "19", "234", "text", &field); field 2641 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2644 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "20", "5678901", "text", &field); field 2647 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2650 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "21", "567", "text", &field); field 2653 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2656 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "22", "8901", "text", &field); field 2659 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2663 components/autofill/core/browser/autofill_manager_unittest.cc &field); field 2666 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2669 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "24", "04", "text", &field); field 2672 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2675 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "25", "April", "text", &field); field 2678 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2681 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "26", "2012", "text", &field); field 2684 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2687 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "27", "12", "text", &field); field 2690 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2693 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "28", "04/2012", "text", &field); field 2696 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2700 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "29", "", "text", &field); field 2703 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2706 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "30", " ", "text", &field); field 2709 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2712 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "31", " Elvis", "text", &field); field 2715 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2718 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "32", "Elvis ", "text", &field); field 2721 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2725 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "33", "elvis", "text", &field); field 2728 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2732 components/autofill/core/browser/autofill_manager_unittest.cc "text", &field); field 2735 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2739 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "35", "Elvis Aaron", "text", &field); field 2742 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2745 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "36", "Mr. Presley", "text", &field); field 2748 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2752 components/autofill/core/browser/autofill_manager_unittest.cc &field); field 2755 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2758 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "38", "TN", "text", &field); field 2761 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2764 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "39", "38116-1023", "text", &field); field 2767 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2770 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "20", "5", "text", &field); field 2773 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2776 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "20", "56", "text", &field); field 2779 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2782 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "20", "901", "text", &field); field 2785 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2788 components/autofill/core/browser/autofill_manager_unittest.cc test::CreateTestFormField("", "40", "mypassword", "password", &field); field 2791 components/autofill/core/browser/autofill_manager_unittest.cc form.fields.push_back(field); field 2882 components/autofill/core/browser/autofill_manager_unittest.cc const FormFieldData& field = form.fields[0]; field 2883 components/autofill/core/browser/autofill_manager_unittest.cc GetAutofillSuggestions(form, field); // should call the delegate's OnQuery() field 208 components/autofill/core/browser/autofill_merge_unittest.cc FormFieldData field; field 209 components/autofill/core/browser/autofill_merge_unittest.cc field.label = field_type; field 210 components/autofill/core/browser/autofill_merge_unittest.cc field.name = field_type; field 211 components/autofill/core/browser/autofill_merge_unittest.cc field.value = value; field 212 components/autofill/core/browser/autofill_merge_unittest.cc field.form_control_type = "text"; field 213 components/autofill/core/browser/autofill_merge_unittest.cc form.fields.push_back(field); field 224 components/autofill/core/browser/autofill_merge_unittest.cc AutofillField* field = field 225 components/autofill/core/browser/autofill_merge_unittest.cc const_cast<AutofillField*>(form_structure.field(i)); field 227 components/autofill/core/browser/autofill_merge_unittest.cc StringToFieldType(base::UTF16ToUTF8(field->name)); field 228 components/autofill/core/browser/autofill_merge_unittest.cc field->set_heuristic_type(type); field 153 components/autofill/core/browser/autofill_metrics_unittest.cc AutofillField* form_field = field(i); field 293 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 296 components/autofill/core/browser/autofill_metrics_unittest.cc "Autofilled", "autofilled", "Elvis Aaron Presley", "text", &field); field 297 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = true; field 298 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 303 components/autofill/core/browser/autofill_metrics_unittest.cc "Autofill Failed", "autofillfailed", "buddy@gmail.com", "text", &field); field 304 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 305 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 309 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Empty", "empty", "", "text", &field); field 310 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 311 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 315 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Unknown", "unknown", "garbage", "text", &field); field 316 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 317 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 321 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Select", "select", "USA", "select-one", &field); field 322 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 323 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 327 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "2345678901", "tel", &field); field 328 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = true; field 329 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 402 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 404 components/autofill/core/browser/autofill_metrics_unittest.cc "Both match", "match", "Elvis Aaron Presley", "text", &field); field 405 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = true; field 406 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 410 components/autofill/core/browser/autofill_metrics_unittest.cc "Both mismatch", "mismatch", "buddy@gmail.com", "text", &field); field 411 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 412 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 416 components/autofill/core/browser/autofill_metrics_unittest.cc "Only heuristics match", "mixed", "Memphis", "text", &field); field 417 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 418 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 421 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Unknown", "unknown", "garbage", "text", &field); field 422 components/autofill/core/browser/autofill_metrics_unittest.cc field.is_autofilled = false; field 423 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 436 components/autofill/core/browser/autofill_metrics_unittest.cc "New field", "new field", "Tennessee", "text", &field); field 437 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 501 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 502 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Name", "name", "", "text", &field); field 503 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 504 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "", "text", &field); field 505 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 520 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "", "text", &field); field 521 components/autofill/core/browser/autofill_metrics_unittest.cc forms.back().fields.push_back(field); field 545 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("", "", "", "text", &field); field 546 components/autofill/core/browser/autofill_metrics_unittest.cc field.autocomplete_attribute = "given-name"; field 547 components/autofill/core/browser/autofill_metrics_unittest.cc forms.back().fields.push_back(field); field 548 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("", "", "", "text", &field); field 549 components/autofill/core/browser/autofill_metrics_unittest.cc field.autocomplete_attribute = "email"; field 550 components/autofill/core/browser/autofill_metrics_unittest.cc forms.back().fields.push_back(field); field 551 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("", "", "", "text", &field); field 552 components/autofill/core/browser/autofill_metrics_unittest.cc field.autocomplete_attribute = "address-line1"; field 553 components/autofill/core/browser/autofill_metrics_unittest.cc forms.back().fields.push_back(field); field 614 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 616 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Name", "name", "", "text", &field); field 617 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 619 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "", "email", &field); field 620 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 622 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "", "tel", &field); field 623 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 637 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); field 641 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "b", "email", &field); field 643 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); field 655 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); field 668 components/autofill/core/browser/autofill_metrics_unittest.cc 0, form, field, gfx::Rect(), false); field 705 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 706 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Name", "name", "", "text", &field); field 707 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 708 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "", "text", &field); field 709 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 744 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "", "text", &field); field 745 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 746 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Unknown", "unknown", "", "text", &field); field 747 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 841 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 842 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Name", "name", "", "text", &field); field 843 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 844 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "", "text", &field); field 845 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 846 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "", "text", &field); field 847 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 949 components/autofill/core/browser/autofill_metrics_unittest.cc FormFieldData field; field 950 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Name", "name", "", "text", &field); field 951 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 952 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Email", "email", "", "text", &field); field 953 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 954 components/autofill/core/browser/autofill_metrics_unittest.cc test::CreateTestFormField("Phone", "phone", "", "text", &field); field 955 components/autofill/core/browser/autofill_metrics_unittest.cc form.fields.push_back(field); field 674 components/autofill/core/browser/autofill_profile.cc base::string16 field = GetRawInfo(*it); field 675 components/autofill/core/browser/autofill_profile.cc if (field.empty()) field 681 components/autofill/core/browser/autofill_profile.cc label.append(field); field 705 components/autofill/core/browser/autofill_profile.cc for (std::vector<ServerFieldType>::const_iterator field = fields.begin(); field 706 components/autofill/core/browser/autofill_profile.cc field != fields.end(); ++field) { field 708 components/autofill/core/browser/autofill_profile.cc field_text_frequencies_by_field[*field]; field 713 components/autofill/core/browser/autofill_profile.cc base::string16 field_text = profile->GetRawInfo(*field); field 737 components/autofill/core/browser/autofill_profile.cc for (std::vector<ServerFieldType>::const_iterator field = fields.begin(); field 738 components/autofill/core/browser/autofill_profile.cc field != fields.end(); ++field) { field 740 components/autofill/core/browser/autofill_profile.cc base::string16 field_text = profile->GetRawInfo(*field); field 745 components/autofill/core/browser/autofill_profile.cc field_text_frequencies_by_field[*field]; field 756 components/autofill/core/browser/autofill_profile.cc label_fields.push_back(*field); field 46 components/autofill/core/browser/autofill_test_utils.cc FormFieldData* field) { field 47 components/autofill/core/browser/autofill_test_utils.cc field->label = ASCIIToUTF16(label); field 48 components/autofill/core/browser/autofill_test_utils.cc field->name = ASCIIToUTF16(name); field 49 components/autofill/core/browser/autofill_test_utils.cc field->value = ASCIIToUTF16(value); field 50 components/autofill/core/browser/autofill_test_utils.cc field->form_control_type = type; field 60 components/autofill/core/browser/autofill_test_utils.cc FormFieldData field; field 61 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("First Name", "firstname", "", "text", &field); field 62 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 63 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Middle Name", "middlename", "", "text", &field); field 64 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 65 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Last Name", "lastname", "", "text", &field); field 66 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 67 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Address Line 1", "addr1", "", "text", &field); field 68 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 69 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Address Line 2", "addr2", "", "text", &field); field 70 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 71 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("City", "city", "", "text", &field); field 72 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 73 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("State", "state", "", "text", &field); field 74 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 75 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Postal Code", "zipcode", "", "text", &field); field 76 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 77 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Country", "country", "", "text", &field); field 78 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 79 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Phone Number", "phonenumber", "", "tel", &field); field 80 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 81 components/autofill/core/browser/autofill_test_utils.cc test::CreateTestFormField("Email", "email", "", "email", &field); field 82 components/autofill/core/browser/autofill_test_utils.cc form->fields.push_back(field); field 34 components/autofill/core/browser/autofill_test_utils.h FormFieldData* field); field 58 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 59 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 61 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Month"); field 62 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccmonth"); field 63 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("month1"))); field 65 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Year"); field 66 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccyear"); field 67 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("year2"))); field 74 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 75 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 77 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 78 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 79 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number1"))); field 86 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 87 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 89 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 90 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 91 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number1"))); field 93 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Month"); field 94 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccmonth"); field 95 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("month2"))); field 97 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Year"); field 98 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccyear"); field 99 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("year3"))); field 117 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 118 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 120 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Type"); field 121 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_type"); field 122 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("type"))); field 124 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 125 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 126 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name"))); field 128 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 129 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 130 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number"))); field 132 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Month"); field 133 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccmonth"); field 134 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("month"))); field 136 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Exp Year"); field 137 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccyear"); field 138 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("year"))); field 140 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Verification"); field 141 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("verification"); field 142 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("cvc"))); field 170 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 171 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 173 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 174 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 175 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 177 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 178 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 179 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number2"))); field 181 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("ExpDate Month / Year"); field 182 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ExpDate"); field 183 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("month3"))); field 185 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("ExpDate Month / Year"); field 186 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ExpDate"); field 187 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("year4"))); field 208 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 209 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 211 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 212 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 213 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 215 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 216 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 217 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number2"))); field 219 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Expiration date Month / Year"); field 220 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ExpDate"); field 221 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("month3"))); field 223 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Expiration date Month / Year"); field 224 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ExpDate"); field 225 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("year4"))); field 246 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 247 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 249 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 250 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 251 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 253 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 254 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 255 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number2"))); field 257 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Expiration Date (MM/YYYY)"); field 258 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("cc_exp"); field 259 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("exp3"))); field 277 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 278 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 280 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 281 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 282 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 284 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 285 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("card_number"); field 286 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number2"))); field 288 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Expiration Date (MM/YY)"); field 289 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("cc_exp"); field 290 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("exp3"))); field 308 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 309 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 311 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Name"); field 312 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccfullname"); field 313 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 325 components/autofill/core/browser/credit_card_field_unittest.cc FormFieldData field; field 327 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "text"; field 328 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Card number:"); field 329 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccnumber"); field 330 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("number1"))); field 332 components/autofill/core/browser/credit_card_field_unittest.cc field.form_control_type = "month"; field 333 components/autofill/core/browser/credit_card_field_unittest.cc field.label = ASCIIToUTF16("Expiration date:"); field 334 components/autofill/core/browser/credit_card_field_unittest.cc field.name = ASCIIToUTF16("ccexp"); field 335 components/autofill/core/browser/credit_card_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("date2"))); field 16 components/autofill/core/browser/email_field.cc const AutofillField* field; field 18 components/autofill/core/browser/email_field.cc MATCH_DEFAULT | MATCH_EMAIL, &field)) { field 19 components/autofill/core/browser/email_field.cc return new EmailField(field); field 25 components/autofill/core/browser/email_field.cc EmailField::EmailField(const AutofillField* field) : field_(field) { field 23 components/autofill/core/browser/email_field.h explicit EmailField(const AutofillField* field); field 30 components/autofill/core/browser/form_field.cc bool IsCheckable(const AutofillField* field) { field 31 components/autofill/core/browser/form_field.cc return field->is_checkable; field 82 components/autofill/core/browser/form_field.cc const AutofillField* field = scanner->Cursor(); field 84 components/autofill/core/browser/form_field.cc if (!MatchesFormControlType(field->form_control_type, match_type)) field 100 components/autofill/core/browser/form_field.cc bool FormField::AddClassification(const AutofillField* field, field 104 components/autofill/core/browser/form_field.cc if (!field) field 107 components/autofill/core/browser/form_field.cc return map->insert(make_pair(field->unique_name(), type)).second; field 115 components/autofill/core/browser/form_field.cc const AutofillField* field = scanner->Cursor(); field 116 components/autofill/core/browser/form_field.cc if (FormField::Match(field, pattern, match_type)) { field 118 components/autofill/core/browser/form_field.cc *match = field; field 127 components/autofill/core/browser/form_field.cc bool FormField::Match(const AutofillField* field, field 131 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->label, pattern)) { field 136 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->name, pattern)) { field 141 components/autofill/core/browser/form_field.cc autofill::MatchesPattern(field->value, pattern)) { field 80 components/autofill/core/browser/form_field.h static bool AddClassification(const AutofillField* field, field 108 components/autofill/core/browser/form_field.h static bool Match(const AutofillField* field, field 17 components/autofill/core/browser/form_field_unittest.cc AutofillField field; field 20 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, base::string16(), field 24 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("a"); field 25 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, base::string16(), field 29 components/autofill/core/browser/form_field_unittest.cc field.label = base::string16(); field 30 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"), field 34 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("a"); field 35 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"), field 39 components/autofill/core/browser/form_field_unittest.cc field.label = base::string16(); field 40 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"), field 44 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("head_tail"); field 45 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head"), field 47 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail"), field 51 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("head_tail"); field 52 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head$"), field 54 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("tail$"), field 58 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("head_tail"); field 59 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^head$"), field 61 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^tail$"), field 63 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^head_tail$"), field 67 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("m.i."); field 69 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("m.i."), field 71 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("m\\.i\\."), field 73 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("mXiX"); field 74 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("m.i."), field 76 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("m\\.i\\."), field 80 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headtail"); field 81 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head.*tail"), field 83 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headXtail"); field 84 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head.*tail"), field 86 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headXXXtail"); field 87 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head.*tail"), field 89 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headtail"); field 90 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("head.+tail"), field 92 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headXtail"); field 93 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head.+tail"), field 95 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("headXXXtail"); field 96 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head.+tail"), field 100 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("head_tail"); field 101 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head|other"), field 103 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("tail|other"), field 105 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("bad|good"), field 109 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("xxxHeAd_tAiLxxx"); field 110 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("head_tail"), field 114 components/autofill/core/browser/form_field_unittest.cc field.label = ASCIIToUTF16("contains word:"); field 115 components/autofill/core/browser/form_field_unittest.cc EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("\\bword\\b"), field 117 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("\\bcon\\b"), field 120 components/autofill/core/browser/form_field_unittest.cc field.label = base::UTF8ToUTF16("cr" "\xC3\xAA" "pe"); field 121 components/autofill/core/browser/form_field_unittest.cc EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("\\bcr\\b"), field 101 components/autofill/core/browser/form_structure.cc void EncodeFieldForUpload(const AutofillField& field, field 104 components/autofill/core/browser/form_structure.cc if (field.is_checkable) field 107 components/autofill/core/browser/form_structure.cc ServerFieldTypeSet types = field.possible_types(); field 115 components/autofill/core/browser/form_structure.cc field.FieldSignature()); field 124 components/autofill/core/browser/form_structure.cc void EncodeFieldForQuery(const AutofillField& field, field 129 components/autofill/core/browser/form_structure.cc field.FieldSignature()); field 135 components/autofill/core/browser/form_structure.cc void EncodeFieldForFieldAssignments(const AutofillField& field, field 137 components/autofill/core/browser/form_structure.cc ServerFieldTypeSet types = field.possible_types(); field 144 components/autofill/core/browser/form_structure.cc field.FieldSignature()); field 148 components/autofill/core/browser/form_structure.cc base::UTF16ToUTF8(field.name)); field 191 components/autofill/core/browser/form_structure.cc const AutofillField& field) { field 199 components/autofill/core/browser/form_structure.cc if (field.max_length == 1) field 242 components/autofill/core/browser/form_structure.cc if (field.max_length == 5) field 244 components/autofill/core/browser/form_structure.cc else if (field.max_length == 7) field 254 components/autofill/core/browser/form_structure.cc if (field.max_length == 2) field 256 components/autofill/core/browser/form_structure.cc else if (field.max_length == 4) field 333 components/autofill/core/browser/form_structure.cc for (std::vector<FormFieldData>::const_iterator field = field 335 components/autofill/core/browser/form_structure.cc field != form.fields.end(); ++field) { field 336 components/autofill/core/browser/form_structure.cc if (!ShouldSkipField(*field)) { field 340 components/autofill/core/browser/form_structure.cc form_signature_field_names_.append(StripDigitsIfRequired(field->name)); field 348 components/autofill/core/browser/form_structure.cc if (!unique_names.count(field->name)) field 349 components/autofill/core/browser/form_structure.cc unique_names[field->name] = 1; field 351 components/autofill/core/browser/form_structure.cc ++unique_names[field->name]; field 352 components/autofill/core/browser/form_structure.cc base::string16 unique_name = field->name + base::ASCIIToUTF16("_") + field 353 components/autofill/core/browser/form_structure.cc base::IntToString16(unique_names[field->name]); field 354 components/autofill/core/browser/form_structure.cc fields_.push_back(new AutofillField(*field, unique_name)); field 383 components/autofill/core/browser/form_structure.cc AutofillField* field = fields_[i]; field 385 components/autofill/core/browser/form_structure.cc field_type_map.find(field->unique_name()); field 387 components/autofill/core/browser/form_structure.cc field->set_heuristic_type(iter->second); field 412 components/autofill/core/browser/form_structure.cc for (std::vector<AutofillField*>::const_iterator field = begin(); field 413 components/autofill/core/browser/form_structure.cc field != end(); field 414 components/autofill/core/browser/form_structure.cc ++field) { field 416 components/autofill/core/browser/form_structure.cc (*field)->possible_types().begin(); field 417 components/autofill/core/browser/form_structure.cc type != (*field)->possible_types().end(); field 556 components/autofill/core/browser/form_structure.cc for (std::vector<AutofillField*>::iterator field = form->fields_.begin(); field 557 components/autofill/core/browser/form_structure.cc field != form->fields_.end(); ++field) { field 558 components/autofill/core/browser/form_structure.cc if (form->ShouldSkipField(**field)) field 569 components/autofill/core/browser/form_structure.cc ServerFieldType heuristic_type = (*field)->heuristic_type(); field 573 components/autofill/core/browser/form_structure.cc (*field)->set_server_type(current_info->field_type); field 574 components/autofill/core/browser/form_structure.cc if (heuristic_type != (*field)->Type().GetStorableType()) field 579 components/autofill/core/browser/form_structure.cc (*field)->set_default_value(current_info->default_value); field 617 components/autofill/core/browser/form_structure.cc for (std::vector<AutofillField*>::const_iterator field = field 619 components/autofill/core/browser/form_structure.cc field != form_structure->fields_.end(); ++field) { field 620 components/autofill/core/browser/form_structure.cc form.data.fields.push_back(FormFieldData(**field)); field 623 components/autofill/core/browser/form_structure.cc annotated_field.signature = (*field)->FieldSignature(); field 625 components/autofill/core/browser/form_structure.cc AutofillType((*field)->heuristic_type()).ToString(); field 627 components/autofill/core/browser/form_structure.cc AutofillType((*field)->server_type()).ToString(); field 628 components/autofill/core/browser/form_structure.cc annotated_field.overall_type = (*field)->Type().ToString(); field 654 components/autofill/core/browser/form_structure.cc bool FormStructure::ShouldSkipField(const FormFieldData& field) const { field 655 components/autofill/core/browser/form_structure.cc return field.is_checkable; field 669 components/autofill/core/browser/form_structure.cc AutofillField* field = *iter; field 670 components/autofill/core/browser/form_structure.cc if (field && field->IsFieldFillable()) field 704 components/autofill/core/browser/form_structure.cc const AutofillField* field = cached_form.field(i); field 705 components/autofill/core/browser/form_structure.cc cached_fields[field->FieldSignature()] = field; field 710 components/autofill/core/browser/form_structure.cc AutofillField* field = *iter; field 713 components/autofill/core/browser/form_structure.cc cached_field = cached_fields.find(field->FieldSignature()); field 715 components/autofill/core/browser/form_structure.cc if (field->form_control_type != "select-one" && field 716 components/autofill/core/browser/form_structure.cc field->value == cached_field->second->value) { field 719 components/autofill/core/browser/form_structure.cc field->value = base::string16(); field 722 components/autofill/core/browser/form_structure.cc field->set_heuristic_type(cached_field->second->heuristic_type()); field 723 components/autofill/core/browser/form_structure.cc field->set_server_type(cached_field->second->server_type()); field 749 components/autofill/core/browser/form_structure.cc const AutofillField* field = this->field(i); field 753 components/autofill/core/browser/form_structure.cc const ServerFieldTypeSet& field_types = field->possible_types(); field 761 components/autofill/core/browser/form_structure.cc if (field->form_control_type == "password") field 765 components/autofill/core/browser/form_structure.cc if (field->is_autofilled) field 792 components/autofill/core/browser/form_structure.cc AutofillType(field->heuristic_type()).GetStorableType(); field 794 components/autofill/core/browser/form_structure.cc AutofillType(field->server_type()).GetStorableType(); field 795 components/autofill/core/browser/form_structure.cc ServerFieldType predicted_type = field->Type().GetStorableType(); field 890 components/autofill/core/browser/form_structure.cc static_cast<const FormStructure*>(this)->field(index)); field 966 components/autofill/core/browser/form_structure.cc const AutofillField* field = fields_[index]; field 969 components/autofill/core/browser/form_structure.cc EncodeFieldForUpload(*field, encompassing_xml_element); field 972 components/autofill/core/browser/form_structure.cc if (ShouldSkipField(*field)) field 974 components/autofill/core/browser/form_structure.cc EncodeFieldForQuery(*field, encompassing_xml_element); field 977 components/autofill/core/browser/form_structure.cc EncodeFieldForFieldAssignments(*field, encompassing_xml_element); field 993 components/autofill/core/browser/form_structure.cc AutofillField* field = *it; field 1003 components/autofill/core/browser/form_structure.cc field->set_section(kDefaultSection); field 1008 components/autofill/core/browser/form_structure.cc base::CollapseWhitespaceASCII(field->autocomplete_attribute, false); field 1037 components/autofill/core/browser/form_structure.cc FieldTypeFromAutocompleteAttributeValue(field_type_token, *field); field 1056 components/autofill/core/browser/form_structure.cc DCHECK_EQ(kDefaultSection, field->section()); field 1057 components/autofill/core/browser/form_structure.cc std::string section = field->section(); field 1086 components/autofill/core/browser/form_structure.cc field->set_section(section); field 1091 components/autofill/core/browser/form_structure.cc field->SetHtmlType(field_type, mode); field 1103 components/autofill/core/browser/form_structure.cc if (matches.Run(types[j], *field(i))) { field 1104 components/autofill/core/browser/form_structure.cc AutofillField::FillFormField(*field(i), field 1105 components/autofill/core/browser/form_structure.cc get_info.Run(field(i)->Type()), field 1107 components/autofill/core/browser/form_structure.cc field(i)); field 1121 components/autofill/core/browser/form_structure.cc AutofillField* field = *iter; field 1122 components/autofill/core/browser/form_structure.cc if (field->Type().GetStorableType() != target_type.GetStorableType() || field 1123 components/autofill/core/browser/form_structure.cc field->Type().group() != target_type.group()) { field 1128 components/autofill/core/browser/form_structure.cc if (field->option_values.empty()) field 1131 components/autofill/core/browser/form_structure.cc for (size_t i = 0; i < field->option_values.size(); ++i) { field 1132 components/autofill/core/browser/form_structure.cc if (!field->option_values[i].empty()) field 1133 components/autofill/core/browser/form_structure.cc values.insert(base::i18n::ToUpper(field->option_values[i])); field 1136 components/autofill/core/browser/form_structure.cc for (size_t i = 0; i < field->option_contents.size(); ++i) { field 1137 components/autofill/core/browser/form_structure.cc if (!field->option_contents[i].empty()) field 1138 components/autofill/core/browser/form_structure.cc values.insert(base::i18n::ToUpper(field->option_contents[i])); field 1157 components/autofill/core/browser/form_structure.cc for (std::vector<AutofillField*>::iterator field = fields_.begin(); field 1158 components/autofill/core/browser/form_structure.cc field != fields_.end(); ++field) { field 1159 components/autofill/core/browser/form_structure.cc const ServerFieldType current_type = (*field)->Type().GetStorableType(); field 1186 components/autofill/core/browser/form_structure.cc current_section = (*field)->unique_name(); field 1190 components/autofill/core/browser/form_structure.cc (*field)->set_section(base::UTF16ToUTF8(current_section)); field 1196 components/autofill/core/browser/form_structure.cc for (std::vector<AutofillField*>::iterator field = fields_.begin(); field 1197 components/autofill/core/browser/form_structure.cc field != fields_.end(); ++field) { field 1198 components/autofill/core/browser/form_structure.cc FieldTypeGroup field_type_group = (*field)->Type().group(); field 1200 components/autofill/core/browser/form_structure.cc (*field)->set_section((*field)->section() + "-cc"); field 1202 components/autofill/core/browser/form_structure.cc (*field)->set_section((*field)->section() + "-default"); field 144 components/autofill/core/browser/form_structure.h const AutofillField& field)> field 164 components/autofill/core/browser/form_structure.h const AutofillField* field(size_t index) const; field 165 components/autofill/core/browser/form_structure.h AutofillField* field(size_t index); field 221 components/autofill/core/browser/form_structure.h bool ShouldSkipField(const FormFieldData& field) const; field 69 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 70 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 71 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 72 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 73 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 75 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("password"); field 76 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("password"); field 77 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "password"; field 78 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 80 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 81 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 82 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 83 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 85 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("address1"); field 86 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address1"); field 87 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 88 components/autofill/core/browser/form_structure_unittest.cc field.should_autocomplete = false; field 89 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 102 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 103 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 104 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 105 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 106 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 108 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("password"); field 109 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("password"); field 110 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "password"; field 111 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 113 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("state"); field 114 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("state"); field 115 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "select-one"; field 116 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 118 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 119 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 120 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 121 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 130 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("address1"); field 131 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address1"); field 132 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 133 components/autofill/core/browser/form_structure_unittest.cc field.should_autocomplete = false; field 134 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 157 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 159 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 160 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 161 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 162 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 164 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("password"); field 165 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("password"); field 166 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "password"; field 167 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 169 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 170 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 171 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 172 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 179 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 180 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 181 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 182 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 184 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 185 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 186 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 187 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 194 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 195 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 196 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "email"; field 197 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 232 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 233 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 234 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 235 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 236 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 253 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 254 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 255 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 256 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 258 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 259 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 260 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 261 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 288 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 289 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 290 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "email"; field 291 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 293 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("State"); field 294 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("state"); field 295 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "select-one"; field 296 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 298 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Country"); field 299 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("country"); field 300 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "select-one"; field 301 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 317 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 318 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 320 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 321 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 322 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 324 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 325 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 326 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 328 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 329 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 330 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 332 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone"); field 333 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("phone"); field 334 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 336 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 337 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 338 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 340 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City"); field 341 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("city"); field 342 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 344 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Zip code"); field 345 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("zipcode"); field 346 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 348 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 349 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 350 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 351 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 362 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); field 364 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); field 366 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); field 369 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); field 371 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(4)->heuristic_type()); field 373 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(5)->heuristic_type()); field 375 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); field 377 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(7)->heuristic_type()); field 386 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 387 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 389 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 390 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field1"); field 391 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "given-name"; field 392 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 394 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 395 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field2"); field 396 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "family-name"; field 397 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 399 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 400 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field3"); field 401 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "email"; field 402 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 412 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_GIVEN_NAME, form_structure->field(0)->html_type()); field 413 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_FAMILY_NAME, form_structure->field(1)->html_type()); field 414 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_EMAIL, form_structure->field(2)->html_type()); field 415 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(0)->heuristic_type()); field 416 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); field 417 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 427 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 428 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 430 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 431 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field1"); field 432 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "tel-local"; field 433 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 435 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 436 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field2"); field 437 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "tel-local-prefix"; field 438 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 440 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 441 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("field3"); field 442 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "tel-local-suffix"; field 443 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 453 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL, form_structure->field(0)->html_type()); field 454 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(AutofillField::IGNORED, form_structure->field(0)->phone_part()); field 455 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL_PREFIX, form_structure->field(1)->html_type()); field 457 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(1)->phone_part()); field 458 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(HTML_TYPE_TEL_LOCAL_SUFFIX, form_structure->field(2)->html_type()); field 460 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->phone_part()); field 471 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 472 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 474 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 475 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 476 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 478 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 479 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 480 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 482 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 483 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 484 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 494 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); field 495 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); field 496 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); field 508 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(0)->heuristic_type()); field 509 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); field 510 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 519 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 520 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 524 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "email"; field 525 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 528 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo email"; field 529 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 533 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "shipping email"; field 534 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 535 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "billing email"; field 536 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 539 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo shipping email"; field 540 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 541 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo billing email"; field 542 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 546 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section--foo email"; field 547 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 553 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section--shipping email"; field 554 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 557 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo cc-number"; field 558 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 572 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); field 583 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 584 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 588 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "email"; field 589 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 592 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section- email"; field 593 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 596 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "garbage section-foo email"; field 597 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 598 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "garbage section-bar email"; field 599 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 600 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "garbage shipping email"; field 601 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 602 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "garbage billing email"; field 603 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 616 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); field 627 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 628 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 630 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo email"; field 631 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 632 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo address-line1"; field 633 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 646 components/autofill/core/browser/form_structure_unittest.cc section_names.insert(form_structure.field(i)->section()); field 657 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 658 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 660 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("one"); field 661 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "address-line1"; field 662 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 663 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 664 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "section-foo email"; field 665 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 666 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 667 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "name"; field 668 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 669 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("two"); field 670 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "address-line1"; field 671 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 683 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ASCIIToUTF16("one"), form_structure.field(0)->name); field 684 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ASCIIToUTF16("two"), form_structure.field(3)->name); field 685 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(form_structure.field(0)->section(), field 686 components/autofill/core/browser/form_structure_unittest.cc form_structure.field(3)->section()); field 694 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 695 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 697 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Your First Name:"); field 698 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.first"); field 699 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 701 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Your Last Name:"); field 702 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.last"); field 703 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 705 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Street Address Line 1:"); field 706 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.street1"); field 707 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 709 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Street Address Line 2:"); field 710 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.street2"); field 711 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 713 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City"); field 714 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.city"); field 715 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 717 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("State (U.S.):"); field 718 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.state"); field 719 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 721 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Zip/Postal Code:"); field 722 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("BillTo.PostalCode"); field 723 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 725 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Country:"); field 726 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("bill.country"); field 727 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 729 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone Number:"); field 730 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("BillTo.Phone"); field 731 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 733 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 734 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 735 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 736 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 745 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); field 747 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); field 749 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(2)->heuristic_type()); field 751 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(3)->heuristic_type()); field 753 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(4)->heuristic_type()); field 755 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(5)->heuristic_type()); field 757 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); field 759 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_COUNTRY, form_structure->field(7)->heuristic_type()); field 762 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(8)->heuristic_type()); field 764 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(9)->heuristic_type()); field 772 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 773 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 775 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("E-mail address"); field 776 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 777 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 779 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Full name"); field 780 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("name"); field 781 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 783 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Company"); field 784 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("company"); field 785 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 787 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 788 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 789 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 791 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City"); field 792 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("city"); field 793 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 795 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Zip Code"); field 796 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Home.PostalCode"); field 797 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 799 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 800 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 801 components/autofill/core/browser/form_structure_unittest.cc field.value = ASCIIToUTF16("continue"); field 802 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 803 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 812 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(0)->heuristic_type()); field 814 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FULL, form_structure->field(1)->heuristic_type()); field 816 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(COMPANY_NAME, form_structure->field(2)->heuristic_type()); field 818 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(3)->heuristic_type()); field 820 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(4)->heuristic_type()); field 822 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(5)->heuristic_type()); field 824 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(6)->heuristic_type()); field 835 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 836 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 838 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 839 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 840 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 842 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 843 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 844 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 846 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 847 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 848 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 850 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone"); field 851 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 852 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 854 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 855 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 856 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 858 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 859 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 860 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 862 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Zip code"); field 863 components/autofill/core/browser/form_structure_unittest.cc field.name = base::string16(); field 864 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 866 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 867 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 868 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 869 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 878 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); field 880 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); field 882 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(2)->heuristic_type()); field 885 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); field 887 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(4)->heuristic_type()); field 889 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(5)->heuristic_type()); field 891 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(6)->heuristic_type()); field 893 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(7)->heuristic_type()); field 901 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 902 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 904 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 905 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 906 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 908 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 909 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("card_number"); field 910 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 912 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Exp Month"); field 913 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccmonth"); field 914 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 916 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Exp Year"); field 917 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccyear"); field 918 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 920 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Verification"); field 921 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("verification"); field 922 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 924 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 925 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 926 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 927 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 936 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); field 938 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(1)->heuristic_type()); field 940 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(2)->heuristic_type()); field 943 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(3)->heuristic_type()); field 946 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); field 948 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(5)->heuristic_type()); field 956 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 957 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 959 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 960 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 961 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 965 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card image"); field 966 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("card_image"); field 967 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 969 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 970 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("card_number"); field 971 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 973 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Exp Month"); field 974 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccmonth"); field 975 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 977 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Exp Year"); field 978 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccyear"); field 979 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 981 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Verification"); field 982 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("verification"); field 983 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 985 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 986 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 987 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 988 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 997 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); field 999 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(1)->heuristic_type()); field 1001 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(2)->heuristic_type()); field 1003 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); field 1006 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); field 1009 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(5)->heuristic_type()); field 1011 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(6)->heuristic_type()); field 1019 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1020 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1022 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line1"); field 1023 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Address"); field 1024 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1026 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line2"); field 1027 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Address"); field 1028 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1030 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line3"); field 1031 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Address"); field 1032 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1034 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City"); field 1035 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("city"); field 1036 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1045 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); field 1047 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); field 1049 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 1051 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(3)->heuristic_type()); field 1060 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1061 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1063 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line1"); field 1064 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("shipping.address.addressLine1"); field 1065 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1067 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line2"); field 1068 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("shipping.address.addressLine2"); field 1069 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1071 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line3"); field 1072 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("billing.address.addressLine3"); field 1073 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1075 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line4"); field 1076 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("billing.address.addressLine4"); field 1077 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1085 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); field 1087 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); field 1089 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 1091 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(3)->heuristic_type()); field 1104 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1105 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1107 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Street:"); field 1108 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("FOPIH_RgWebCC_0_IHAddress_ads1"); field 1109 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1111 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Suite or Apt:"); field 1112 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("FOPIH_RgWebCC_0_IHAddress_adap"); field 1113 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1115 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Street address second line"); field 1116 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("FOPIH_RgWebCC_0_IHAddress_ads2"); field 1117 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1119 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City:"); field 1120 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("FOPIH_RgWebCC_0_IHAddress_adct"); field 1121 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1130 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); field 1132 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); field 1134 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 1136 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(3)->heuristic_type()); field 1147 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1148 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1150 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line1"); field 1151 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address1"); field 1152 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1154 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Floor number, suite number, etc"); field 1155 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address2"); field 1156 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1158 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City:"); field 1159 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("city"); field 1160 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1169 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); field 1171 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); field 1173 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(2)->heuristic_type()); field 1181 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1182 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1184 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line1"); field 1185 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Address"); field 1186 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1188 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address Line2"); field 1189 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Address"); field 1190 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1192 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("State/Province/Region"); field 1193 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("State"); field 1194 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1203 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(0)->heuristic_type()); field 1205 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(1)->heuristic_type()); field 1207 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(2)->heuristic_type()); field 1216 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1217 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1219 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name*:"); field 1220 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$firstNameBox"); field 1221 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1223 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name*:"); field 1224 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$lastNameBox"); field 1225 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1227 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Company Name:"); field 1228 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$companyBox"); field 1229 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1231 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address*:"); field 1232 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$addressLine1Box"); field 1233 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1235 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Apt/Suite :"); field 1236 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$addressLine2Box"); field 1237 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1239 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("City*:"); field 1240 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$cityBox"); field 1241 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1243 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("State/Province*:"); field 1244 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$stateDropDown"); field 1245 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1247 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Country*:"); field 1248 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$countryDropDown"); field 1249 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1251 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Postal Code*:"); field 1252 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$zipCodeBox"); field 1253 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1255 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone*:"); field 1256 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("editBillingAddress$phoneBox"); field 1257 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1259 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email Address*:"); field 1260 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email$emailBox"); field 1261 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1269 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_FIRST, form_structure->field(0)->heuristic_type()); field 1270 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(NAME_LAST, form_structure->field(1)->heuristic_type()); field 1271 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(COMPANY_NAME, form_structure->field(2)->heuristic_type()); field 1272 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(3)->heuristic_type()); field 1273 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE2, form_structure->field(4)->heuristic_type()); field 1274 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_CITY, form_structure->field(5)->heuristic_type()); field 1275 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_STATE, form_structure->field(6)->heuristic_type()); field 1276 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_COUNTRY, form_structure->field(7)->heuristic_type()); field 1277 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_ZIP, form_structure->field(8)->heuristic_type()); field 1279 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(9)->heuristic_type()); field 1280 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(EMAIL_ADDRESS, form_structure->field(10)->heuristic_type()); field 1288 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1289 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1291 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone:"); field 1292 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("dayphone1"); field 1293 components/autofill/core/browser/form_structure_unittest.cc field.max_length = 0; field 1294 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1296 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("-"); field 1297 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("dayphone2"); field 1298 components/autofill/core/browser/form_structure_unittest.cc field.max_length = 3; // Size of prefix is 3. field 1299 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1301 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("-"); field 1302 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("dayphone3"); field 1303 components/autofill/core/browser/form_structure_unittest.cc field.max_length = 4; // Size of suffix is 4. If unlimited size is field 1306 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1308 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("ext.:"); field 1309 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("dayphone4"); field 1310 components/autofill/core/browser/form_structure_unittest.cc field.max_length = 0; field 1311 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1320 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(PHONE_HOME_CITY_CODE, form_structure->field(0)->heuristic_type()); field 1323 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(1)->heuristic_type()); field 1326 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->heuristic_type()); field 1328 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(3)->heuristic_type()); field 1336 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1337 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1339 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 1340 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 1341 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1343 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1344 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("billing_address"); field 1345 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1347 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 1348 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("card_number"); field 1349 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1351 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Expiration Date"); field 1352 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("expiration_month"); field 1353 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1355 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Expiration Year"); field 1356 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("expiration_year"); field 1357 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1368 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(0)->heuristic_type()); field 1370 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(ADDRESS_HOME_LINE1, form_structure->field(1)->heuristic_type()); field 1372 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(2)->heuristic_type()); field 1374 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); field 1377 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); field 1385 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1386 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1388 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card number"); field 1389 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccnumber"); field 1390 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1392 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First name"); field 1393 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("first_name"); field 1394 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1396 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last name"); field 1397 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("last_name"); field 1398 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1400 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Expiration date"); field 1401 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccexpiresmonth"); field 1402 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1404 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 1405 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("ccexpiresyear"); field 1406 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1408 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("cvc number"); field 1409 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("csc"); field 1410 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1421 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NUMBER, form_structure->field(0)->heuristic_type()); field 1423 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_NAME, form_structure->field(1)->heuristic_type()); field 1425 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(UNKNOWN_TYPE, form_structure->field(2)->heuristic_type()); field 1427 components/autofill/core/browser/form_structure_unittest.cc EXPECT_EQ(CREDIT_CARD_EXP_MONTH, form_structure->field(3)->heuristic_type()); field 1430 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(4)->heuristic_type()); field 1433 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(5)->heuristic_type()); field 1440 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1441 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1443 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Name on Card"); field 1444 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("name_on_card"); field 1445 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1447 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1448 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("billing_address"); field 1449 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1451 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Card Number"); field 1452 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("card_number"); field 1453 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1455 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Expiration Date"); field 1456 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("expiration_month"); field 1457 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1459 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Expiration Year"); field 1460 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("expiration_year"); field 1461 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1504 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1505 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 1506 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1546 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1547 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 1548 components/autofill/core/browser/form_structure_unittest.cc malformed_form.fields.push_back(field); field 1578 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1579 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1581 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 1582 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 1583 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1587 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 1588 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 1589 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1593 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 1594 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 1595 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "email"; field 1596 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1600 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone"); field 1601 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("phone"); field 1602 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "number"; field 1603 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1607 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Country"); field 1608 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("country"); field 1609 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "select-one"; field 1610 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1627 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 1670 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1671 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 1672 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1673 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1684 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 1710 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1711 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 1712 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1713 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1723 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 1736 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1737 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1739 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 1740 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("firstname"); field 1741 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1745 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 1746 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("lastname"); field 1747 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1751 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 1752 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 1753 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "email"; field 1754 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1758 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Phone"); field 1759 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("phone"); field 1760 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "number"; field 1761 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1765 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Country"); field 1766 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("country"); field 1767 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "select-one"; field 1768 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1785 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 1815 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 1816 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 1817 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1818 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1829 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 1860 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 1861 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 1863 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 1864 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("first"); field 1865 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1867 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 1868 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("last"); field 1869 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1871 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Email"); field 1872 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 1873 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 1880 components/autofill/core/browser/form_structure_unittest.cc form_structure.field(i)->set_possible_types(unknown_type); field 2114 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 2115 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2117 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("email"); field 2118 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 2119 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2123 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 2124 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("first"); field 2125 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2129 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 2130 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("last"); field 2131 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2135 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Address"); field 2136 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("address"); field 2137 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2144 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(i)->set_possible_types(possible_field_types[i]); field 2162 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(2)->set_possible_types(possible_field_types[2]); field 2177 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(form_structure->field_count() - 1)->set_possible_types( field 2196 components/autofill/core/browser/form_structure_unittest.cc form_structure->field(form_structure->field_count() - 1)->set_possible_types( field 2220 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 2221 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2223 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("email"); field 2224 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 2225 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2227 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("First Name"); field 2228 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("first"); field 2229 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2232 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Select"); field 2233 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Select"); field 2234 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "checkbox"; field 2235 components/autofill/core/browser/form_structure_unittest.cc field.is_checkable = true; field 2236 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2262 components/autofill/core/browser/form_structure_unittest.cc field.is_checkable = false; field 2263 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Random Field label"); field 2264 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("random1234"); field 2265 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2266 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2267 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Random Field label2"); field 2268 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("random12345"); field 2269 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2270 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Random Field label3"); field 2271 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("1random12345678"); field 2272 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2273 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("Random Field label3"); field 2274 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("12345random"); field 2275 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2291 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 2292 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 2293 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 2294 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2295 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2297 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("password"); field 2298 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("password"); field 2299 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "password"; field 2300 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2302 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 2303 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("Submit"); field 2304 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "submit"; field 2305 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2322 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 2323 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("username"); field 2324 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("username"); field 2325 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2326 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2328 components/autofill/core/browser/form_structure_unittest.cc field.label = ASCIIToUTF16("select"); field 2329 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("select"); field 2330 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "checkbox"; field 2331 components/autofill/core/browser/form_structure_unittest.cc field.is_checkable = true; field 2332 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2334 components/autofill/core/browser/form_structure_unittest.cc field.label = base::string16(); field 2335 components/autofill/core/browser/form_structure_unittest.cc field.name = ASCIIToUTF16("email"); field 2336 components/autofill/core/browser/form_structure_unittest.cc field.form_control_type = "text"; field 2337 components/autofill/core/browser/form_structure_unittest.cc field.is_checkable = false; field 2338 components/autofill/core/browser/form_structure_unittest.cc form.fields.push_back(field); field 2364 components/autofill/core/browser/form_structure_unittest.cc FormFieldData field; field 2365 components/autofill/core/browser/form_structure_unittest.cc field.autocomplete_attribute = "billing country"; field 2366 components/autofill/core/browser/form_structure_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Down Under")); field 2367 components/autofill/core/browser/form_structure_unittest.cc field.option_values.push_back(ASCIIToUTF16("AU")); field 2368 components/autofill/core/browser/form_structure_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Fr")); field 2369 components/autofill/core/browser/form_structure_unittest.cc field.option_values.push_back(ASCIIToUTF16("")); field 2370 components/autofill/core/browser/form_structure_unittest.cc field.option_contents.push_back(ASCIIToUTF16("Germany")); field 2371 components/autofill/core/browser/form_structure_unittest.cc field.option_values.push_back(ASCIIToUTF16("GRMNY")); field 2372 components/autofill/core/browser/form_structure_unittest.cc form_data.fields.push_back(field); field 31 components/autofill/core/browser/name_field.cc explicit FullNameField(const AutofillField* field); field 67 components/autofill/core/browser/name_field.cc NameField* field = FirstLastNameField::Parse(scanner); field 68 components/autofill/core/browser/name_field.cc if (!field) field 69 components/autofill/core/browser/name_field.cc field = FullNameField::Parse(scanner); field 70 components/autofill/core/browser/name_field.cc return field; field 90 components/autofill/core/browser/name_field.cc const AutofillField* field = NULL; field 91 components/autofill/core/browser/name_field.cc if (ParseField(scanner, UTF8ToUTF16(autofill::kNameRe), &field)) field 92 components/autofill/core/browser/name_field.cc return new FullNameField(field); field 101 components/autofill/core/browser/name_field.cc FullNameField::FullNameField(const AutofillField* field) field 102 components/autofill/core/browser/name_field.cc : field_(field) { field 198 components/autofill/core/browser/name_field.cc FirstLastNameField* field = ParseSpecificName(scanner); field 199 components/autofill/core/browser/name_field.cc if (!field) field 200 components/autofill/core/browser/name_field.cc field = ParseComponentNames(scanner); field 201 components/autofill/core/browser/name_field.cc return field; field 37 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 38 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 40 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("First Name"); field 41 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("First"); field 42 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 44 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Middle Name"); field 45 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("Middle"); field 46 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 48 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 49 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("Last"); field 50 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 68 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 69 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 71 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 72 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("firstName"); field 73 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 75 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 76 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("middleName"); field 77 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 79 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 80 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("lastName"); field 81 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 99 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 100 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 102 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 103 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 104 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 106 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 107 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 108 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 123 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 124 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 126 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Name"); field 127 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 128 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 130 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Name"); field 131 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 132 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 147 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 148 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 150 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("First Name"); field 151 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 152 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 154 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Middle Name"); field 155 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("middle_name"); field 156 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 158 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 159 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 160 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 178 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 179 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 181 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Name"); field 182 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 183 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 185 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 186 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 187 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 202 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 203 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 205 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Name"); field 206 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 207 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 209 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 210 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("middle_name"); field 211 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 213 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 214 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 215 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 233 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 234 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 236 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("First Name"); field 237 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 238 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 240 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("MI"); field 241 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("middle_name"); field 242 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 244 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("Last Name"); field 245 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("last_name"); field 246 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 264 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 265 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 267 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("First Name"); field 268 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("first_name"); field 269 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 271 components/autofill/core/browser/name_field_unittest.cc field.label = ASCIIToUTF16("MI"); field 272 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("middle_name"); field 273 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 283 components/autofill/core/browser/name_field_unittest.cc FormFieldData field; field 284 components/autofill/core/browser/name_field_unittest.cc field.form_control_type = "text"; field 286 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 287 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("XXXnameXXXfirst"); field 288 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); field 290 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 291 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("XXXnameXXXmi"); field 292 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); field 294 components/autofill/core/browser/name_field_unittest.cc field.label = base::string16(); field 295 components/autofill/core/browser/name_field_unittest.cc field.name = ASCIIToUTF16("XXXnameXXXlast"); field 296 components/autofill/core/browser/name_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); field 24 components/autofill/core/browser/password_autofill_manager.cc const FormFieldData& field, field 27 components/autofill/core/browser/password_autofill_manager.cc if (!FindLoginInfo(field, &password)) field 80 components/autofill/core/browser/password_autofill_manager.cc const FormFieldData& field, field 82 components/autofill/core/browser/password_autofill_manager.cc LoginToPasswordInfoMap::iterator iter = login_to_password_info_.find(field); field 31 components/autofill/core/browser/password_autofill_manager.h bool DidAcceptAutofillSuggestion(const FormFieldData& field, field 57 components/autofill/core/browser/password_autofill_manager.h bool FindLoginInfo(const FormFieldData& field, field 250 components/autofill/core/browser/personal_data_manager.cc const AutofillField* field = form.field(i); field 252 components/autofill/core/browser/personal_data_manager.cc base::TrimWhitespace(field->value, base::TRIM_ALL, &value); field 256 components/autofill/core/browser/personal_data_manager.cc if (!field->IsFieldFillable() || value.empty()) field 259 components/autofill/core/browser/personal_data_manager.cc AutofillType field_type = field->Type(); field 285 components/autofill/core/browser/personal_data_manager.cc if (LowerCaseEqualsASCII(field->form_control_type, "month")) { field 570 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 572 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 573 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 575 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 576 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 578 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 579 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 581 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 582 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 583 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 584 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 585 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 586 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 587 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 588 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 612 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 614 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 615 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 617 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 618 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 619 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Email:", "email", "bogus", "text", &field); field 620 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 622 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 623 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 624 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 625 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 626 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 627 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 628 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 629 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 644 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 646 components/autofill/core/browser/personal_data_manager_unittest.cc "Name:", "name", "George Washington", "text", &field); field 647 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 649 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 650 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 651 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 652 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 653 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 654 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 655 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 656 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 658 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "example@example.com", "text", &field); field 659 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 661 components/autofill/core/browser/personal_data_manager_unittest.cc "Confirm email:", "confirm_email", "example@example.com", "text", &field); field 662 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 675 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 677 components/autofill/core/browser/personal_data_manager_unittest.cc "Name:", "name", "George Washington", "text", &field); field 678 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 680 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 681 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 682 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 683 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 684 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 685 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 686 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 687 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 689 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "example@example.com", "text", &field); field 690 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 692 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email2", "example2@example.com", "text", &field); field 693 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 705 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 707 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 708 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 710 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 711 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 713 components/autofill/core/browser/personal_data_manager_unittest.cc "Card number:", "card_number", "4111 1111 1111 1111", "text", &field); field 714 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 732 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 733 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Name:", "name", "Barack Obama", "text", &field); field 734 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 736 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address", "1600 Pennsylvania Avenue", "text", &field); field 737 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 738 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Washington", "text", &field); field 739 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 740 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "DC", "text", &field); field 741 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 742 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "20500", "text", &field); field 743 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 744 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Country:", "country", "USA", "text", &field); field 745 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 759 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 760 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Name:", "name", "David Cameron", "text", &field); field 761 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 763 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address", "10 Downing Street", "text", &field); field 764 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 765 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "London", "text", &field); field 766 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 768 components/autofill/core/browser/personal_data_manager_unittest.cc "Postcode:", "postcode", "SW1A 2AA", "text", &field); field 769 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 771 components/autofill/core/browser/personal_data_manager_unittest.cc "Country:", "country", "United Kingdom", "text", &field); field 772 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 786 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 788 components/autofill/core/browser/personal_data_manager_unittest.cc "Name:", "name", "Sir Adrian Johns", "text", &field); field 789 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 791 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address", "The Convent, Main Street", "text", &field); field 792 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 793 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Country:", "country", "Gibraltar", "text", &field); field 794 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 806 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 808 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 809 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 811 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 812 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 814 components/autofill/core/browser/personal_data_manager_unittest.cc "Phone #:", "home_phone_area_code", "650", "text", &field); field 815 components/autofill/core/browser/personal_data_manager_unittest.cc field.max_length = 3; field 816 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 818 components/autofill/core/browser/personal_data_manager_unittest.cc "Phone #:", "home_phone_prefix", "555", "text", &field); field 819 components/autofill/core/browser/personal_data_manager_unittest.cc field.max_length = 3; field 820 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 822 components/autofill/core/browser/personal_data_manager_unittest.cc "Phone #:", "home_phone_suffix", "0000", "text", &field); field 823 components/autofill/core/browser/personal_data_manager_unittest.cc field.max_length = 4; field 824 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 826 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 827 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 828 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 829 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 830 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 831 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 832 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 833 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 857 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 859 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 860 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 862 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 863 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 865 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 866 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 873 components/autofill/core/browser/personal_data_manager_unittest.cc &field); field 874 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 875 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 876 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 877 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 878 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 879 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 880 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 941 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 943 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 944 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 946 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 947 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 949 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 950 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 952 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 953 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 954 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 955 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 956 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 957 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 958 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 959 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 984 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "John", "text", &field); field 985 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 987 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Adams", "text", &field); field 988 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 990 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "second@gmail.com", "text", &field); field 991 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 993 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "22 Laussat St", "text", &field); field 994 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 995 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 996 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 997 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 998 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 999 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1000 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1026 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1028 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1029 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1031 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1032 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1034 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1035 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1037 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 1038 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1039 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 1040 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1041 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 1042 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1043 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1044 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1069 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "John", "text", &field); field 1070 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1071 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Last name:", "last_name", "Adams", "text", &field); field 1072 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1074 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "second@gmail.com", "text", &field); field 1075 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1077 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 1078 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1079 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 1080 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1081 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 1082 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1083 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1084 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1114 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1116 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1117 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1119 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1120 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1122 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address", "1600 Pennsylvania Avenue", "text", &field); field 1123 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1125 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 2:", "address2", "Suite A", "text", &field); field 1126 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1127 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 1128 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1129 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 1130 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1131 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1132 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1134 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1135 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1136 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Phone:", "phone", "6505556666", "text", &field); field 1137 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1163 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1164 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1166 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1167 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1169 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address", "1600 Pennsylvania Avenue", "text", &field); field 1170 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1172 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 2:", "address2", "Suite A", "text", &field); field 1173 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1174 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 1175 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1176 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 1177 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1178 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1179 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1181 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1182 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1184 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Country:", "country", "USA", "text", &field); field 1185 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1187 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Phone:", "phone", "6502231234", "text", &field); field 1188 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1215 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1217 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1218 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1220 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1221 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1223 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 1:", "address", "190 High Street", "text", &field); field 1224 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1225 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Philadelphia", "text", &field); field 1226 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1227 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "Pennsylvania", "text", &field); field 1228 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1229 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zipcode", "19106", "text", &field); field 1230 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1255 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1256 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1258 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1259 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1261 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1262 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1264 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 1:", "address", "190 High Street", "text", &field); field 1265 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1266 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Philadelphia", "text", &field); field 1267 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1268 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "Pennsylvania", "text", &field); field 1269 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1270 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zipcode", "19106", "text", &field); field 1271 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1296 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1298 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1299 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1301 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1302 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1304 components/autofill/core/browser/personal_data_manager_unittest.cc "Company:", "company", "Government", "text", &field); field 1305 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1307 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1308 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1310 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 1:", "address", "190 High Street", "text", &field); field 1311 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1312 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Philadelphia", "text", &field); field 1313 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1314 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "Pennsylvania", "text", &field); field 1315 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1316 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zipcode", "19106", "text", &field); field 1317 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1342 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1343 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1345 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1346 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1349 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1350 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1352 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 1:", "address", "190 High Street", "text", &field); field 1353 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1354 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Philadelphia", "text", &field); field 1355 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1356 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "Pennsylvania", "text", &field); field 1357 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1358 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zipcode", "19106", "text", &field); field 1359 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1381 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1383 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 1384 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1386 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 1387 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1389 components/autofill/core/browser/personal_data_manager_unittest.cc "Company:", "company", "Government", "text", &field); field 1390 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1392 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 1393 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1395 components/autofill/core/browser/personal_data_manager_unittest.cc "Address Line 1:", "address", "190 High Street", "text", &field); field 1396 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1397 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Philadelphia", "text", &field); field 1398 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1433 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1435 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "Tester", "text", &field); field 1436 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1438 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "McAddressBookTesterson", "text", &field); field 1439 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1441 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "tester@example.com", "text", &field); field 1442 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1443 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Address:", "address1", "1 Main", "text", &field); field 1444 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1445 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 1446 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1447 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "CA", "text", &field); field 1448 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1449 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 1450 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1451 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Phone:", "phone", "4158889999", "text", &field); field 1452 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1475 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1477 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1478 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1480 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1481 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1482 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1483 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1484 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1485 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1510 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "", "text", &field); field 1511 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1513 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "5500 0000 0000 0004", "text", &field); field 1514 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1515 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "02", "text", &field); field 1516 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1517 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 1518 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1544 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1546 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1547 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1549 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1550 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1551 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1552 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1553 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1554 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1579 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Jim Johansen", "text", &field); field 1580 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1582 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "1000000000000000", "text", &field); field 1583 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1584 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "02", "text", &field); field 1585 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1586 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 1587 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1608 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1610 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1611 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1613 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1614 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1615 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1616 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1617 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1618 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1644 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1645 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1647 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111 1111 1111 1111", "text", &field); field 1648 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1649 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1650 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1651 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 1652 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1679 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1681 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1682 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1684 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1685 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1686 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1687 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1688 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1689 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1714 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1715 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1716 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1717 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1718 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 1719 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1744 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1746 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1747 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1749 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1750 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1751 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1752 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1753 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1754 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 1781 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111111111111111", "text", &field); field 1782 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1783 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1784 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1785 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1786 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 1809 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Johnny McEnroe", "text", &field); field 1810 components/autofill/core/browser/personal_data_manager_unittest.cc form3.fields.push_back(field); field 1812 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "5555555555554444", "text", &field); field 1813 components/autofill/core/browser/personal_data_manager_unittest.cc form3.fields.push_back(field); field 1856 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1858 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1859 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1861 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1862 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1863 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1864 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1865 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 1866 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1911 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1913 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 1914 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1916 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111-1111-1111-1111", "text", &field); field 1917 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1918 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 1919 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1920 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2011", "text", &field); field 1921 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1961 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 1963 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "Marion", "text", &field); field 1964 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1966 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Morrison", "text", &field); field 1967 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1969 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "other.email@example.com", "text", &field); field 1970 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1972 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "123 Zoo St.", "text", &field); field 1973 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1974 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "Hollywood", "text", &field); field 1975 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1976 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "CA", "text", &field); field 1977 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 1978 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "91601", "text", &field); field 1979 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 2019 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 2021 components/autofill/core/browser/personal_data_manager_unittest.cc "Name on card:", "name_on_card", "Biggie Smalls", "text", &field); field 2022 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 2024 components/autofill/core/browser/personal_data_manager_unittest.cc "Card Number:", "card_number", "4111 1111 1111 1111", "text", &field); field 2025 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 2026 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Month:", "exp_month", "01", "text", &field); field 2027 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 2028 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Exp Year:", "exp_year", "2012", "text", &field); field 2029 components/autofill/core/browser/personal_data_manager_unittest.cc form.fields.push_back(field); field 2292 components/autofill/core/browser/personal_data_manager_unittest.cc FormFieldData field; field 2294 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "George", "text", &field); field 2295 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2297 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 2298 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2300 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 2301 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2303 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 2304 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2306 components/autofill/core/browser/personal_data_manager_unittest.cc "City:", "city", "San Francisco", "text", &field); field 2307 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2308 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 2309 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2311 components/autofill/core/browser/personal_data_manager_unittest.cc "Zip:", "zip", "94102", "text", &field); field 2312 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2314 components/autofill/core/browser/personal_data_manager_unittest.cc "Phone number:", "phone_number", "817-555-6789", "text", &field); field 2315 components/autofill/core/browser/personal_data_manager_unittest.cc form1.fields.push_back(field); field 2340 components/autofill/core/browser/personal_data_manager_unittest.cc "First name:", "first_name", "GEORGE", "text", &field); field 2341 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2343 components/autofill/core/browser/personal_data_manager_unittest.cc "Last name:", "last_name", "Washington", "text", &field); field 2344 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2346 components/autofill/core/browser/personal_data_manager_unittest.cc "Email:", "email", "theprez@gmail.com", "text", &field); field 2347 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2349 components/autofill/core/browser/personal_data_manager_unittest.cc "Address:", "address1", "21 Laussat St", "text", &field); field 2350 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2351 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("City:", "city", "San Francisco", "text", &field); field 2352 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2353 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("State:", "state", "California", "text", &field); field 2354 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2355 components/autofill/core/browser/personal_data_manager_unittest.cc test::CreateTestFormField("Zip:", "zip", "94102", "text", &field); field 2356 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 2358 components/autofill/core/browser/personal_data_manager_unittest.cc "Phone number:", "phone_number", "214-555-1234", "text", &field); field 2359 components/autofill/core/browser/personal_data_manager_unittest.cc form2.fields.push_back(field); field 50 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 51 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 53 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone"); field 54 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("phone"); field 55 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone1"))); field 67 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 68 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 70 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Area Code"); field 71 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("area code"); field 72 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1"))); field 74 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone"); field 75 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("phone"); field 76 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone2"))); field 96 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 97 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 99 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone:"); field 100 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("dayphone1"); field 101 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 0; field 102 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1"))); field 104 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("-"); field 105 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("dayphone2"); field 106 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 3; field 107 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("prefix2"))); field 109 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("-"); field 110 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("dayphone3"); field 111 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 4; field 112 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("suffix3"))); field 114 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("ext.:"); field 115 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("dayphone4"); field 116 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 0; field 117 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("ext4"))); field 140 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 141 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 143 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone:"); field 144 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("area"); field 145 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1"))); field 147 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); field 148 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("prefix"); field 149 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("prefix2"))); field 151 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); field 152 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("suffix"); field 153 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("suffix3"))); field 171 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 172 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 174 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("("); field 175 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("phone1"); field 176 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 3; field 177 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone1"))); field 179 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16(")"); field 180 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("phone2"); field 181 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 3; field 182 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone2"))); field 184 components/autofill/core/browser/phone_field_unittest.cc field.label = base::string16(); field 185 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("phone3"); field 186 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 4; field 187 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone3"))); field 207 components/autofill/core/browser/phone_field_unittest.cc FormFieldData field; field 208 components/autofill/core/browser/phone_field_unittest.cc field.form_control_type = "text"; field 210 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone Number"); field 211 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("CountryCode"); field 212 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 3; field 213 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("country"))); field 215 components/autofill/core/browser/phone_field_unittest.cc field.label = ASCIIToUTF16("Phone Number"); field 216 components/autofill/core/browser/phone_field_unittest.cc field.name = ASCIIToUTF16("PhoneNumber"); field 217 components/autofill/core/browser/phone_field_unittest.cc field.max_length = 10; field 218 components/autofill/core/browser/phone_field_unittest.cc list_.push_back(new AutofillField(field, ASCIIToUTF16("phone"))); field 15 components/autofill/core/browser/test_autofill_external_delegate.cc FormFieldData field; field 16 components/autofill/core/browser/test_autofill_external_delegate.cc field.is_focusable = true; field 17 components/autofill/core/browser/test_autofill_external_delegate.cc field.should_autocomplete = true; field 19 components/autofill/core/browser/test_autofill_external_delegate.cc autofill_external_delegate->OnQuery(query_id, form, field, bounds, false); field 149 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 150 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 151 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 155 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 159 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Clark Kent"); field 160 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 164 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Clark Sutter"); field 165 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 169 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Favorite Color"); field 170 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Green"); field 171 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 252 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("blank"); field 253 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = base::string16(); field 254 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 255 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("blank"); field 256 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16(" "); field 257 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 258 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("blank"); field 259 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16(" "); field 260 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 261 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("blank"); field 262 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = kValue; field 263 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 279 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 280 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 281 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 282 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, t1)); field 283 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, t2)); field 309 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 310 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 311 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 312 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, t1)); field 321 components/autofill/core/browser/webdata/autofill_table_unittest.cc table_->AddFormFieldValueTime(field, &changes, t2)); field 391 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 392 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 393 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 394 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValue(field, &changes)); field 414 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 415 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = existing.key().name(); field 416 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = existing.key().value(); field 417 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, t)); field 440 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 441 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("firstname"); field 442 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Joe"); field 443 components/autofill/core/browser/webdata/autofill_table_unittest.cc elements.push_back(field); field 445 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("firstname"); field 446 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Jane"); field 447 components/autofill/core/browser/webdata/autofill_table_unittest.cc elements.push_back(field); field 449 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("lastname"); field 450 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Smith"); field 451 components/autofill/core/browser/webdata/autofill_table_unittest.cc elements.push_back(field); field 453 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("lastname"); field 454 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Jones"); field 455 components/autofill/core/browser/webdata/autofill_table_unittest.cc elements.push_back(field); field 477 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 478 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 479 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 480 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 482 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 484 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 486 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 488 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 491 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 498 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 505 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 506 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 507 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 508 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 510 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 512 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 514 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 516 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 519 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 526 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 533 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 534 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 535 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 536 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 538 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 540 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 542 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 544 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 547 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 555 components/autofill/core/browser/webdata/autofill_table_unittest.cc AutofillKey(field.name, field.value)), field 557 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(0, GetAutofillEntryCount(field.name, field.value, db_.get())); field 564 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 565 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 566 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 567 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 569 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 571 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 573 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 575 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 578 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 586 components/autofill/core/browser/webdata/autofill_table_unittest.cc AutofillKey(field.name, field.value)), field 588 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(4, GetAutofillEntryCount(field.name, field.value, db_.get())); field 591 components/autofill/core/browser/webdata/autofill_table_unittest.cc table_->GetAutofillTimestamps(field.name, field.value, field 601 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 602 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 603 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 604 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 606 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 608 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 610 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 612 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 615 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(5, GetAutofillEntryCount(field.name, field.value, db_.get())); field 623 components/autofill/core/browser/webdata/autofill_table_unittest.cc AutofillKey(field.name, field.value)), field 625 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_EQ(2, GetAutofillEntryCount(field.name, field.value, db_.get())); field 628 components/autofill/core/browser/webdata/autofill_table_unittest.cc table_->GetAutofillTimestamps(field.name, field.value, field 1505 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 1506 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 1507 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 1508 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 1535 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 1536 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 1537 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 1538 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 1547 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 1548 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Clark Kent"); field 1549 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 1580 components/autofill/core/browser/webdata/autofill_table_unittest.cc FormFieldData field; field 1581 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.name = ASCIIToUTF16("Name"); field 1582 components/autofill/core/browser/webdata/autofill_table_unittest.cc field.value = ASCIIToUTF16("Superman"); field 1583 components/autofill/core/browser/webdata/autofill_table_unittest.cc EXPECT_TRUE(table_->AddFormFieldValueTime(field, &changes, field 187 components/autofill/core/browser/webdata/web_data_service_unittest.cc FormFieldData field; field 188 components/autofill/core/browser/webdata/web_data_service_unittest.cc field.name = name; field 189 components/autofill/core/browser/webdata/web_data_service_unittest.cc field.value = value; field 190 components/autofill/core/browser/webdata/web_data_service_unittest.cc form_fields->push_back(field); field 32 components/autofill/core/common/autofill_data_validation.cc bool IsValidFormFieldData(const FormFieldData& field) { field 34 components/autofill/core/common/autofill_data_validation.cc IsValidString16(field.label) && field 35 components/autofill/core/common/autofill_data_validation.cc IsValidString16(field.name) && field 36 components/autofill/core/common/autofill_data_validation.cc IsValidString16(field.value) && field 37 components/autofill/core/common/autofill_data_validation.cc IsValidString(field.form_control_type) && field 38 components/autofill/core/common/autofill_data_validation.cc IsValidString(field.autocomplete_attribute) && field 39 components/autofill/core/common/autofill_data_validation.cc IsValidString16Vector(field.option_values) && field 40 components/autofill/core/common/autofill_data_validation.cc IsValidString16Vector(field.option_contents); field 37 components/autofill/core/common/autofill_data_validation.h bool IsValidFormFieldData(const FormFieldData& field); field 75 components/autofill/core/common/form_field_data.cc bool FormFieldData::operator==(const FormFieldData& field) const { field 78 components/autofill/core/common/form_field_data.cc return (label == field.label && field 79 components/autofill/core/common/form_field_data.cc name == field.name && field 80 components/autofill/core/common/form_field_data.cc form_control_type == field.form_control_type && field 81 components/autofill/core/common/form_field_data.cc autocomplete_attribute == field.autocomplete_attribute && field 82 components/autofill/core/common/form_field_data.cc max_length == field.max_length); field 85 components/autofill/core/common/form_field_data.cc bool FormFieldData::operator!=(const FormFieldData& field) const { field 86 components/autofill/core/common/form_field_data.cc return !operator==(field); field 89 components/autofill/core/common/form_field_data.cc bool FormFieldData::operator<(const FormFieldData& field) const { field 90 components/autofill/core/common/form_field_data.cc if (label == field.label) field 91 components/autofill/core/common/form_field_data.cc return name < field.name; field 93 components/autofill/core/common/form_field_data.cc return label < field.label; field 152 components/autofill/core/common/form_field_data.cc std::ostream& operator<<(std::ostream& os, const FormFieldData& field) { field 154 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.label) field 156 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.name) field 158 components/autofill/core/common/form_field_data.cc << base::UTF16ToUTF8(field.value) field 160 components/autofill/core/common/form_field_data.cc << field.form_control_type field 162 components/autofill/core/common/form_field_data.cc << field.autocomplete_attribute field 164 components/autofill/core/common/form_field_data.cc << field.max_length field 166 components/autofill/core/common/form_field_data.cc << (field.is_autofilled ? "true" : "false") field 168 components/autofill/core/common/form_field_data.cc << (field.is_checked ? "true" : "false") field 170 components/autofill/core/common/form_field_data.cc << (field.is_checkable ? "true" : "false") field 172 components/autofill/core/common/form_field_data.cc << (field.is_focusable ? "true" : "false") field 174 components/autofill/core/common/form_field_data.cc << (field.should_autocomplete ? "true" : "false") field 176 components/autofill/core/common/form_field_data.cc << field.text_direction; field 27 components/autofill/core/common/form_field_data.h bool operator==(const FormFieldData& field) const; field 28 components/autofill/core/common/form_field_data.h bool operator!=(const FormFieldData& field) const; field 30 components/autofill/core/common/form_field_data.h bool operator<(const FormFieldData& field) const; field 59 components/autofill/core/common/form_field_data.h std::ostream& operator<<(std::ostream& os, const FormFieldData& field); field 14 components/autofill/core/common/form_field_data_predictions.cc : field(other.field), field 26 components/autofill/core/common/form_field_data_predictions.cc return (field == predictions.field && field 21 components/autofill/core/common/form_field_data_predictions.h FormFieldData field; field 30 components/password_manager/core/browser/password_generation_manager.cc autofill::AutofillField* field = *field_it; field 31 components/password_manager/core/browser/password_generation_manager.cc if (field->server_type() == autofill::ACCOUNT_CREATION_PASSWORD) { field 49 components/signin/core/browser/about_signin_internals.cc std::string SigninStatusFieldToLabel(UntimedSigninStatusField field) { field 50 components/signin/core/browser/about_signin_internals.cc switch (field) { field 61 components/signin/core/browser/about_signin_internals.cc TimedSigninStatusValue SigninStatusFieldToLabel(TimedSigninStatusField field) { field 62 components/signin/core/browser/about_signin_internals.cc switch (field) { field 111 components/signin/core/browser/about_signin_internals.cc const UntimedSigninStatusField& field, field 113 components/signin/core/browser/about_signin_internals.cc unsigned int field_index = field - UNTIMED_FIELDS_BEGIN; field 120 components/signin/core/browser/about_signin_internals.cc const std::string pref_path = SigninStatusFieldToString(field); field 127 components/signin/core/browser/about_signin_internals.cc const TimedSigninStatusField& field, field 129 components/signin/core/browser/about_signin_internals.cc unsigned int field_index = field - TIMED_FIELDS_BEGIN; field 141 components/signin/core/browser/about_signin_internals.cc const std::string value_pref = SigninStatusFieldToString(field) + ".value"; field 142 components/signin/core/browser/about_signin_internals.cc const std::string time_pref = SigninStatusFieldToString(field) + ".time"; field 350 components/signin/core/browser/about_signin_internals.cc const std::string field = field 353 components/signin/core/browser/about_signin_internals.cc field, field 56 components/signin/core/browser/about_signin_internals.h const signin_internals_util::UntimedSigninStatusField& field, field 60 components/signin/core/browser/about_signin_internals.h const signin_internals_util::TimedSigninStatusField& field, field 22 components/signin/core/browser/signin_internals_util.cc std::string SigninStatusFieldToString(UntimedSigninStatusField field) { field 23 components/signin/core/browser/signin_internals_util.cc switch (field) { field 34 components/signin/core/browser/signin_internals_util.cc std::string SigninStatusFieldToString(TimedSigninStatusField field) { field 35 components/signin/core/browser/signin_internals_util.cc switch (field) { field 61 components/signin/core/browser/signin_internals_util.h std::string SigninStatusFieldToString(UntimedSigninStatusField field); field 62 components/signin/core/browser/signin_internals_util.h std::string SigninStatusFieldToString(TimedSigninStatusField field); field 68 components/signin/core/browser/signin_internals_util.h virtual void NotifySigninValueChanged(const UntimedSigninStatusField& field, field 70 components/signin/core/browser/signin_internals_util.h virtual void NotifySigninValueChanged(const TimedSigninStatusField& field, field 125 components/signin/core/browser/signin_manager_base.cc const UntimedSigninStatusField& field, field 129 components/signin/core/browser/signin_manager_base.cc NotifySigninValueChanged(field, value)); field 133 components/signin/core/browser/signin_manager_base.cc const TimedSigninStatusField& field, field 137 components/signin/core/browser/signin_manager_base.cc NotifySigninValueChanged(field, value)); field 131 components/signin/core/browser/signin_manager_base.h const signin_internals_util::UntimedSigninStatusField& field, field 134 components/signin/core/browser/signin_manager_base.h const signin_internals_util::TimedSigninStatusField& field, field 206 content/browser/geolocation/network_location_provider_unittest.cc const std::string& field, field 209 content/browser/geolocation/network_location_provider_unittest.cc if (!dict.GetList(field, output_list)) field 211 content/browser/geolocation/network_location_provider_unittest.cc << " is missing list field " << field; field 216 content/browser/geolocation/network_location_provider_unittest.cc const std::string& field, field 221 content/browser/geolocation/network_location_provider_unittest.cc if (!expected.Get(field, &expected_value)) field 224 content/browser/geolocation/network_location_provider_unittest.cc << " is missing field " << field; field 225 content/browser/geolocation/network_location_provider_unittest.cc if (!expected.Get(field, &actual_value)) field 228 content/browser/geolocation/network_location_provider_unittest.cc << " is missing field " << field; field 231 content/browser/geolocation/network_location_provider_unittest.cc << "Field " << field << " mismatch: " << PrettyJson(*expected_value) field 52 content/common/gpu/media/h264_dpb.h Field field; field 144 content/common/gpu/media/vaapi_h264_decoder.cc switch (pic->field) { field 508 content/common/gpu/media/vaapi_h264_decoder.cc curr_pic_->field = slice_hdr->bottom_field_flag ? H264Picture::FIELD_BOTTOM field 511 content/common/gpu/media/vaapi_h264_decoder.cc curr_pic_->field = H264Picture::FIELD_NONE; field 589 content/common/gpu/media/vaapi_h264_decoder.cc if (curr_pic_->field != H264Picture::FIELD_BOTTOM) { field 594 content/common/gpu/media/vaapi_h264_decoder.cc if (curr_pic_->field != H264Picture::FIELD_TOP) { field 705 content/common/gpu/media/vaapi_h264_decoder.cc switch (curr_pic_->field) { field 729 content/common/gpu/media/vaapi_h264_decoder.cc DCHECK_EQ(pic->field, H264Picture::FIELD_NONE); field 1256 content/common/gpu/media/vaapi_h264_decoder.cc if (curr_pic_->field == H264Picture::FIELD_NONE) { field 1283 content/common/gpu/media/vaapi_h264_decoder.cc if (curr_pic_->field == H264Picture::FIELD_NONE) { field 1306 content/common/gpu/media/vaapi_h264_decoder.cc prev_ref_field_ = curr_pic_->field; field 2937 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java Field field = Settings.Secure.class.getField("ACCESSIBILITY_SCRIPT_INJECTION"); field 2938 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java field.setAccessible(true); field 2939 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java String accessibilityScriptInjection = (String) field.get(null); field 560 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java public int field; field 588 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java public String field = "foo"; field 614 content/public/android/javatests/src/org/chromium/content/browser/JavaBridgeBasicsTest.java private int field; field 102 content/renderer/pepper/pepper_url_request_unittest.cc WebString GetHeaderValue(const char* field) { field 107 content/renderer/pepper/pepper_url_request_unittest.cc return web_request.httpHeaderField(WebString::fromUTF8(field)); field 16 content/renderer/skia_benchmarking_extension_unittest.cc const char* field) { field 30 content/renderer/skia_benchmarking_extension_unittest.cc if (strstr(info_str->c_str(), field) != NULL) field 31 content/renderer/skia_benchmarking_extension_unittest.cc return testing::AssertionSuccess() << field << " found"; field 34 content/renderer/skia_benchmarking_extension_unittest.cc return testing::AssertionFailure() << field << " not found"; field 96 media/cast/logging/encoding_event_subscriber.cc RepeatedPtrField<BasePacketEvent>* field = field 99 media/cast/logging/encoding_event_subscriber.cc field->pointer_begin(); field 100 media/cast/logging/encoding_event_subscriber.cc it != field->pointer_end(); field 212 net/cert/cert_verify_proc_mac.cc if (status || !signature_field.field()) field 298 net/cert/cert_verify_proc_mac.cc if (err || !serial_number.field()) { field 304 net/cert/cert_verify_proc_mac.cc reinterpret_cast<const char*>(serial_number.field()->Data), field 305 net/cert/cert_verify_proc_mac.cc serial_number.field()->Length); field 24 net/cert/x509_cert_types.cc int ParseIntAndAdvance(const char** field, size_t field_len, bool* ok) { field 26 net/cert/x509_cert_types.cc *ok &= base::StringToInt(base::StringPiece(*field, field_len), &result); field 27 net/cert/x509_cert_types.cc *field += field_len; field 120 net/cert/x509_cert_types.cc const char* field = raw_date.data(); field 124 net/cert/x509_cert_types.cc exploded.year = ParseIntAndAdvance(&field, year_length, &valid); field 125 net/cert/x509_cert_types.cc exploded.month = ParseIntAndAdvance(&field, 2, &valid); field 126 net/cert/x509_cert_types.cc exploded.day_of_month = ParseIntAndAdvance(&field, 2, &valid); field 127 net/cert/x509_cert_types.cc exploded.hour = ParseIntAndAdvance(&field, 2, &valid); field 128 net/cert/x509_cert_types.cc exploded.minute = ParseIntAndAdvance(&field, 2, &valid); field 129 net/cert/x509_cert_types.cc exploded.second = ParseIntAndAdvance(&field, 2, &valid); field 40 net/cert/x509_certificate_mac.cc if (status || !distinguished_name.field()) field 42 net/cert/x509_certificate_mac.cc result->ParseDistinguishedName(distinguished_name.field()->Data, field 43 net/cert/x509_certificate_mac.cc distinguished_name.field()->Length); field 55 net/cert/x509_certificate_mac.cc if (status || !distinguished_name.field()) field 59 net/cert/x509_certificate_mac.cc reinterpret_cast<const char*>(distinguished_name.field()->Data), field 60 net/cert/x509_certificate_mac.cc static_cast<size_t>(distinguished_name.field()->Length)); field 77 net/cert/x509_certificate_mac.cc x509_util::CSSMFieldValue field; field 78 net/cert/x509_certificate_mac.cc OSStatus status = cached_cert.GetField(oid, &field); field 82 net/cert/x509_certificate_mac.cc const CSSM_X509_TIME* x509_time = field.GetAs<CSSM_X509_TIME>(); field 104 net/cert/x509_certificate_mac.cc if (status || !serial_number.field()) field 108 net/cert/x509_certificate_mac.cc reinterpret_cast<const char*>(serial_number.field()->Data), field 109 net/cert/x509_certificate_mac.cc serial_number.field()->Length); field 246 net/cert/x509_certificate_mac.cc if (status || !subject_alt_name.field()) field 414 net/cert/x509_certificate_mac.cc if (status == CSSM_OK && key_usage.field()) { field 423 net/cert/x509_certificate_mac.cc if (status == CSSM_OK && key_usage.field()) { field 67 net/cert/x509_certificate_openssl.cc std::string field; field 68 net/cert/x509_certificate_openssl.cc if (!x509_util::ParsePrincipalValueByIndex(name, index, &field)) field 70 net/cert/x509_certificate_openssl.cc fields->push_back(field); field 158 net/cert/x509_util_mac.cc CSSM_DATA_PTR field) field 161 net/cert/x509_util_mac.cc field_(field) { field 170 net/cert/x509_util_mac.cc CSSM_DATA_PTR field) { field 175 net/cert/x509_util_mac.cc field_ = field; field 207 net/cert/x509_util_mac.cc CSSMFieldValue* field) const { field 225 net/cert/x509_util_mac.cc field->Reset(cl_handle_, oid, field_ptr); field 68 net/cert/x509_util_mac.h CSSM_DATA_PTR field); field 72 net/cert/x509_util_mac.h CSSM_DATA_PTR field() const { return field_; } field 87 net/cert/x509_util_mac.h CSSM_DATA_PTR field); field 128 net/cert/x509_util_mac.h OSStatus GetField(const CSSM_OID* field_oid, CSSMFieldValue* field) const; field 145 net/proxy/proxy_config_service_linux_unittest.cc #define ENTRY(key, field) \ field 146 net/proxy/proxy_config_service_linux_unittest.cc strings_table.settings[SettingGetter::key] = &values.field field 154 net/proxy/proxy_config_service_linux_unittest.cc #define ENTRY(key, field) \ field 155 net/proxy/proxy_config_service_linux_unittest.cc ints_table.settings[SettingGetter::key] = &values.field field 161 net/proxy/proxy_config_service_linux_unittest.cc #define ENTRY(key, field) \ field 162 net/proxy/proxy_config_service_linux_unittest.cc bools_table.settings[SettingGetter::key] = &values.field field 205 net/server/http_server_unittest.cc std::string field = StringToLowerASCII(std::string(kHeaders[i][0])); field 207 net/server/http_server_unittest.cc ASSERT_EQ(1u, requests_[0].headers.count(field)) << field; field 208 net/server/http_server_unittest.cc ASSERT_EQ(value, requests_[0].headers[field]) << kHeaders[i][0]; field 173 ppapi/c/private/ppb_x509_certificate_private.h PP_X509Certificate_Private_Field field); field 50 ppapi/cpp/private/x509_certificate_private.cc PP_X509Certificate_Private_Field field) const { field 55 ppapi/cpp/private/x509_certificate_private.cc field)); field 30 ppapi/cpp/private/x509_certificate_private.h Var GetField(PP_X509Certificate_Private_Field field) const; field 3985 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struct_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { field 3987 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->GetField(resource, field); field 5337 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Private_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField field 23 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc PP_X509Certificate_Private_Field field, field 25 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc uint32_t index = static_cast<uint32_t>(field); field 31 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc PP_X509Certificate_Private_Field field) const { field 32 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc uint32_t index = static_cast<uint32_t>(field); field 129 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc PP_X509Certificate_Private_Field field) { field 133 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc return fields_->GetFieldAsPPVar(field); field 29 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h void SetField(PP_X509Certificate_Private_Field field, base::Value* value); field 30 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h PP_Var GetFieldAsPPVar(PP_X509Certificate_Private_Field field) const; field 60 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h virtual PP_Var GetField(PP_X509Certificate_Private_Field field) OVERRIDE; field 21 ppapi/tests/test_x509_certificate_private.cc PP_X509Certificate_Private_Field field, field 23 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); field 31 ppapi/tests/test_x509_certificate_private.cc PP_X509Certificate_Private_Field field, field 33 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); field 42 ppapi/tests/test_x509_certificate_private.cc PP_X509Certificate_Private_Field field, field 45 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); field 58 ppapi/tests/test_x509_certificate_private.cc PP_X509Certificate_Private_Field field) { field 59 ppapi/tests/test_x509_certificate_private.cc return certificate.GetField(field).is_null(); field 19 ppapi/thunk/ppb_x509_certificate_private_api.h virtual PP_Var GetField(PP_X509Certificate_Private_Field field) = 0; field 41 ppapi/thunk/ppb_x509_certificate_private_thunk.cc PP_X509Certificate_Private_Field field) { field 45 ppapi/thunk/ppb_x509_certificate_private_thunk.cc return enter.object()->GetField(field); field 89 sync/protocol/proto_value_conversions.cc #define SET(field, fn) \ field 90 sync/protocol/proto_value_conversions.cc if (proto.has_##field()) { \ field 91 sync/protocol/proto_value_conversions.cc value->Set(#field, fn(proto.field())); \ field 93 sync/protocol/proto_value_conversions.cc #define SET_REP(field, fn) \ field 94 sync/protocol/proto_value_conversions.cc value->Set(#field, MakeRepeatedValue(proto.field(), fn)) field 95 sync/protocol/proto_value_conversions.cc #define SET_ENUM(field, fn) \ field 96 sync/protocol/proto_value_conversions.cc value->Set(#field, MakeEnumValue(proto.field(), fn)) field 98 sync/protocol/proto_value_conversions.cc #define SET_BOOL(field) SET(field, new base::FundamentalValue) field 99 sync/protocol/proto_value_conversions.cc #define SET_BYTES(field) SET(field, MakeBytesValue) field 100 sync/protocol/proto_value_conversions.cc #define SET_INT32(field) SET(field, MakeInt64Value) field 101 sync/protocol/proto_value_conversions.cc #define SET_INT32_REP(field) SET_REP(field, MakeInt64Value) field 102 sync/protocol/proto_value_conversions.cc #define SET_INT64(field) SET(field, MakeInt64Value) field 103 sync/protocol/proto_value_conversions.cc #define SET_INT64_REP(field) SET_REP(field, MakeInt64Value) field 104 sync/protocol/proto_value_conversions.cc #define SET_STR(field) SET(field, new base::StringValue) field 105 sync/protocol/proto_value_conversions.cc #define SET_STR_REP(field) \ field 106 sync/protocol/proto_value_conversions.cc value->Set(#field, \ field 110 sync/protocol/proto_value_conversions.cc base::StringValue>(proto.field(), \ field 112 sync/protocol/proto_value_conversions.cc #define SET_EXPERIMENT_ENABLED_FIELD(field) \ field 114 sync/protocol/proto_value_conversions.cc if (proto.has_##field() && \ field 115 sync/protocol/proto_value_conversions.cc proto.field().has_enabled()) { \ field 116 sync/protocol/proto_value_conversions.cc value->Set(#field, \ field 118 sync/protocol/proto_value_conversions.cc proto.field().enabled())); \ field 122 sync/protocol/proto_value_conversions.cc #define SET_FIELD(field, fn) \ field 124 sync/protocol/proto_value_conversions.cc if (specifics.has_##field()) { \ field 125 sync/protocol/proto_value_conversions.cc value->Set(#field, fn(specifics.field())); \ field 146 sync/syncable/entry.cc const std::string& field = kernel->ref(static_cast<StringField>(i)); field 147 sync/syncable/entry.cc os << g_metas_columns[i].name << ": " << field << ", "; field 73 sync/syncable/entry_kernel.cc T field = static_cast<T>(i); field 74 sync/syncable/entry_kernel.cc const std::string& key = enum_key_fn(field); field 75 sync/syncable/entry_kernel.cc V* value = enum_value_fn(kernel.ref(field)); field 87 sync/syncable/entry_kernel.cc ProtoField field = static_cast<ProtoField>(i); field 88 sync/syncable/entry_kernel.cc const std::string& key = GetProtoFieldString(field); field 92 sync/syncable/entry_kernel.cc const sync_pb::EncryptedData& encrypted = kernel.ref(field).encrypted(); field 94 sync/syncable/entry_kernel.cc kernel.ref(field).has_encrypted() && field 100 sync/syncable/entry_kernel.cc value = EntitySpecificsToValue(kernel.ref(field)); field 236 sync/syncable/entry_kernel.h inline void put(MetahandleField field, int64 value) { field 237 sync/syncable/entry_kernel.h int64_fields[field - INT64_FIELDS_BEGIN] = value; field 239 sync/syncable/entry_kernel.h inline void put(Int64Field field, int64 value) { field 240 sync/syncable/entry_kernel.h int64_fields[field - INT64_FIELDS_BEGIN] = value; field 242 sync/syncable/entry_kernel.h inline void put(TimeField field, const base::Time& value) { field 245 sync/syncable/entry_kernel.h time_fields[field - TIME_FIELDS_BEGIN] = field 248 sync/syncable/entry_kernel.h inline void put(IdField field, const Id& value) { field 249 sync/syncable/entry_kernel.h id_fields[field - ID_FIELDS_BEGIN] = value; field 251 sync/syncable/entry_kernel.h inline void put(BaseVersion field, int64 value) { field 252 sync/syncable/entry_kernel.h int64_fields[field - INT64_FIELDS_BEGIN] = value; field 254 sync/syncable/entry_kernel.h inline void put(IndexedBitField field, bool value) { field 255 sync/syncable/entry_kernel.h bit_fields[field - BIT_FIELDS_BEGIN] = value; field 257 sync/syncable/entry_kernel.h inline void put(IsDelField field, bool value) { field 258 sync/syncable/entry_kernel.h bit_fields[field - BIT_FIELDS_BEGIN] = value; field 260 sync/syncable/entry_kernel.h inline void put(BitField field, bool value) { field 261 sync/syncable/entry_kernel.h bit_fields[field - BIT_FIELDS_BEGIN] = value; field 263 sync/syncable/entry_kernel.h inline void put(StringField field, const std::string& value) { field 264 sync/syncable/entry_kernel.h string_fields[field - STRING_FIELDS_BEGIN] = value; field 266 sync/syncable/entry_kernel.h inline void put(ProtoField field, const sync_pb::EntitySpecifics& value) { field 267 sync/syncable/entry_kernel.h specifics_fields[field - PROTO_FIELDS_BEGIN].CopyFrom(value); field 269 sync/syncable/entry_kernel.h inline void put(UniquePositionField field, const UniquePosition& value) { field 270 sync/syncable/entry_kernel.h unique_position_fields[field - UNIQUE_POSITION_FIELDS_BEGIN] = value; field 272 sync/syncable/entry_kernel.h inline void put(AttachmentMetadataField field, field 274 sync/syncable/entry_kernel.h attachment_metadata_fields[field - ATTACHMENT_METADATA_FIELDS_BEGIN] = field 277 sync/syncable/entry_kernel.h inline void put(BitTemp field, bool value) { field 278 sync/syncable/entry_kernel.h bit_temps[field - BIT_TEMPS_BEGIN] = value; field 282 sync/syncable/entry_kernel.h inline int64 ref(MetahandleField field) const { field 283 sync/syncable/entry_kernel.h return int64_fields[field - INT64_FIELDS_BEGIN]; field 285 sync/syncable/entry_kernel.h inline int64 ref(Int64Field field) const { field 286 sync/syncable/entry_kernel.h return int64_fields[field - INT64_FIELDS_BEGIN]; field 288 sync/syncable/entry_kernel.h inline const base::Time& ref(TimeField field) const { field 289 sync/syncable/entry_kernel.h return time_fields[field - TIME_FIELDS_BEGIN]; field 291 sync/syncable/entry_kernel.h inline const Id& ref(IdField field) const { field 292 sync/syncable/entry_kernel.h return id_fields[field - ID_FIELDS_BEGIN]; field 294 sync/syncable/entry_kernel.h inline int64 ref(BaseVersion field) const { field 295 sync/syncable/entry_kernel.h return int64_fields[field - INT64_FIELDS_BEGIN]; field 297 sync/syncable/entry_kernel.h inline bool ref(IndexedBitField field) const { field 298 sync/syncable/entry_kernel.h return bit_fields[field - BIT_FIELDS_BEGIN]; field 300 sync/syncable/entry_kernel.h inline bool ref(IsDelField field) const { field 301 sync/syncable/entry_kernel.h return bit_fields[field - BIT_FIELDS_BEGIN]; field 303 sync/syncable/entry_kernel.h inline bool ref(BitField field) const { field 304 sync/syncable/entry_kernel.h return bit_fields[field - BIT_FIELDS_BEGIN]; field 306 sync/syncable/entry_kernel.h inline const std::string& ref(StringField field) const { field 307 sync/syncable/entry_kernel.h return string_fields[field - STRING_FIELDS_BEGIN]; field 309 sync/syncable/entry_kernel.h inline const sync_pb::EntitySpecifics& ref(ProtoField field) const { field 310 sync/syncable/entry_kernel.h return specifics_fields[field - PROTO_FIELDS_BEGIN]; field 312 sync/syncable/entry_kernel.h inline const UniquePosition& ref(UniquePositionField field) const { field 313 sync/syncable/entry_kernel.h return unique_position_fields[field - UNIQUE_POSITION_FIELDS_BEGIN]; field 316 sync/syncable/entry_kernel.h AttachmentMetadataField field) const { field 317 sync/syncable/entry_kernel.h return attachment_metadata_fields[field - ATTACHMENT_METADATA_FIELDS_BEGIN]; field 319 sync/syncable/entry_kernel.h inline bool ref(BitTemp field) const { field 320 sync/syncable/entry_kernel.h return bit_temps[field - BIT_TEMPS_BEGIN]; field 324 sync/syncable/entry_kernel.h inline std::string& mutable_ref(StringField field) { field 325 sync/syncable/entry_kernel.h return string_fields[field - STRING_FIELDS_BEGIN]; field 327 sync/syncable/entry_kernel.h inline sync_pb::EntitySpecifics& mutable_ref(ProtoField field) { field 328 sync/syncable/entry_kernel.h return specifics_fields[field - PROTO_FIELDS_BEGIN]; field 330 sync/syncable/entry_kernel.h inline Id& mutable_ref(IdField field) { field 331 sync/syncable/entry_kernel.h return id_fields[field - ID_FIELDS_BEGIN]; field 333 sync/syncable/entry_kernel.h inline UniquePosition& mutable_ref(UniquePositionField field) { field 334 sync/syncable/entry_kernel.h return unique_position_fields[field - UNIQUE_POSITION_FIELDS_BEGIN]; field 77 sync/syncable/syncable_columns.h static inline const char* ColumnName(int field) { field 78 sync/syncable/syncable_columns.h DCHECK(field < BEGIN_TEMPS); field 79 sync/syncable/syncable_columns.h return g_metas_columns[field].name; field 53 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h const std::string& GetFieldValue(AddressField field) const; field 57 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_data.h void SetFieldValue(AddressField field, const std::string& value); field 41 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_field.h std::ostream& operator<<(std::ostream& o, AddressField field); field 61 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h AddressProblem(AddressField field, Type type, int description_id); field 65 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_problem.h AddressField field; field 34 third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h AddressField field; field 35 third_party/libaddressinput/chromium/cpp/src/address_data.cc AddressField field) { field 36 third_party/libaddressinput/chromium/cpp/src/address_data.cc switch (field) { field 84 third_party/libaddressinput/chromium/cpp/src/address_data.cc if (element.field == STREET_ADDRESS) { field 94 third_party/libaddressinput/chromium/cpp/src/address_data.cc line += GetFieldValue(element.field); field 107 third_party/libaddressinput/chromium/cpp/src/address_data.cc const std::string& AddressData::GetFieldValue(AddressField field) const { field 108 third_party/libaddressinput/chromium/cpp/src/address_data.cc const std::string* field_value = GetMemberForField(*this, field); field 112 third_party/libaddressinput/chromium/cpp/src/address_data.cc void AddressData::SetFieldValue(AddressField field, const std::string& value) { field 114 third_party/libaddressinput/chromium/cpp/src/address_data.cc const_cast<std::string*>(GetMemberForField(*this, field)); field 22 third_party/libaddressinput/chromium/cpp/src/address_field.cc std::ostream& operator<<(std::ostream& o, AddressField field) { field 23 third_party/libaddressinput/chromium/cpp/src/address_field.cc switch (field) { field 23 third_party/libaddressinput/chromium/cpp/src/address_problem.cc AddressProblem::AddressProblem(AddressField field, field 26 third_party/libaddressinput/chromium/cpp/src/address_problem.cc : field(field), type(type), description_id(description_id) {} field 52 third_party/libaddressinput/chromium/cpp/src/address_problem.cc o << "[" << problem.field << ", " field 38 third_party/libaddressinput/chromium/cpp/src/address_ui.cc int GetMessageIdForField(AddressField field, field 41 third_party/libaddressinput/chromium/cpp/src/address_ui.cc switch (field) { field 189 third_party/libaddressinput/chromium/cpp/src/address_ui.cc AddressField field = element_it->field; field 190 third_party/libaddressinput/chromium/cpp/src/address_ui.cc if (!element_it->IsField() || fields.find(field) != fields.end()) { field 193 third_party/libaddressinput/chromium/cpp/src/address_ui.cc fields.insert(field); field 199 third_party/libaddressinput/chromium/cpp/src/address_ui.cc component.field = field; field 201 third_party/libaddressinput/chromium/cpp/src/address_ui.cc GetMessageIdForField(field, field 72 third_party/libaddressinput/chromium/cpp/src/address_validator.cc AddressField field, field 80 third_party/libaddressinput/chromium/cpp/src/address_validator.cc if (it->first == field && it->second == problem) { field 218 third_party/libaddressinput/chromium/cpp/src/address_validator.cc static_cast<AddressField>(ruleset->field() + 1); field 232 third_party/libaddressinput/chromium/cpp/src/address_validator.cc if (ruleset->field() > COUNTRY && field 425 third_party/libaddressinput/chromium/cpp/src/address_validator.cc suggestion.SetFieldValue(suggestion_ruleset->field(), field 459 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset->field() == COUNTRY); field 86 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc AddressField field, field 88 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc scoped_ptr<Rule> rule = ParseRule(key, field); field 96 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc if (field == COUNTRY) { field 107 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc scoped_ptr<Ruleset> ruleset(new Ruleset(field, rule.Pass())); field 126 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc field); field 158 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc static_cast<AddressField>(field + 1), field 172 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc AddressField field) const { field 178 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc if (field == COUNTRY) { field 91 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.h AddressField field, field 96 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.h scoped_ptr<Rule> ParseRule(const std::string& key, AddressField field) const; field 36 third_party/libaddressinput/chromium/cpp/src/rule.cc bool ParseToken(char c, AddressField* field) { field 37 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(field != NULL); field 40 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = COUNTRY; field 43 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = ADMIN_AREA; field 46 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = LOCALITY; field 49 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = DEPENDENT_LOCALITY; field 52 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = SORTING_CODE; field 55 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = POSTAL_CODE; field 58 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = STREET_ADDRESS; field 61 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = ORGANIZATION; field 64 third_party/libaddressinput/chromium/cpp/src/rule.cc *field = RECIPIENT; field 112 third_party/libaddressinput/chromium/cpp/src/rule.cc AddressField field = COUNTRY; field 113 third_party/libaddressinput/chromium/cpp/src/rule.cc if (ParseToken(control_character, &field)) { field 114 third_party/libaddressinput/chromium/cpp/src/rule.cc lines->back().push_back(FormatElement(field)); field 133 third_party/libaddressinput/chromium/cpp/src/rule.cc AddressField field = COUNTRY; field 134 third_party/libaddressinput/chromium/cpp/src/rule.cc if (ParseToken(required[i], &field)) { field 135 third_party/libaddressinput/chromium/cpp/src/rule.cc fields->push_back(field); field 202 third_party/libaddressinput/chromium/cpp/src/rule.cc FormatElement::FormatElement(AddressField field) field 203 third_party/libaddressinput/chromium/cpp/src/rule.cc : field(field), literal() {} field 206 third_party/libaddressinput/chromium/cpp/src/rule.cc : field(COUNTRY), literal(literal) { field 213 third_party/libaddressinput/chromium/cpp/src/rule.cc return field == other.field && literal == other.literal; field 363 third_party/libaddressinput/chromium/cpp/src/rule.cc int Rule::GetInvalidFieldMessageId(AddressField field) const { field 364 third_party/libaddressinput/chromium/cpp/src/rule.cc switch (field) { field 36 third_party/libaddressinput/chromium/cpp/src/rule.h explicit FormatElement(AddressField field); field 51 third_party/libaddressinput/chromium/cpp/src/rule.h AddressField field; field 165 third_party/libaddressinput/chromium/cpp/src/rule.h int GetInvalidFieldMessageId(AddressField field) const; field 34 third_party/libaddressinput/chromium/cpp/src/ruleset.cc Ruleset::Ruleset(AddressField field, scoped_ptr<Rule> rule) field 38 third_party/libaddressinput/chromium/cpp/src/ruleset.cc field_(field), field 39 third_party/libaddressinput/chromium/cpp/src/ruleset.cc deepest_ruleset_level_(field), field 84 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset->field() == static_cast<AddressField>(field() + 1)); field 200 third_party/libaddressinput/chromium/cpp/src/ruleset.cc if (deepest_ruleset_level_ < ruleset->field()) { field 201 third_party/libaddressinput/chromium/cpp/src/ruleset.cc deepest_ruleset_level_ = ruleset->field(); field 213 third_party/libaddressinput/chromium/cpp/src/ruleset.cc address_field_tries->find(ruleset->field()); field 52 third_party/libaddressinput/chromium/cpp/src/ruleset.h Ruleset(AddressField field, scoped_ptr<Rule> rule); field 62 third_party/libaddressinput/chromium/cpp/src/ruleset.h AddressField field() const { return field_; } field 47 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc if (component_it->field < kMinAddressField || field 48 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc component_it->field > kMaxAddressField) { field 50 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc << component_it->field; field 53 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc if (fields.find(component_it->field) != fields.end()) { field 55 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc << component_it->field; field 57 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc fields.insert(component_it->field); field 61 third_party/libaddressinput/chromium/cpp/test/address_ui_test.cc << component_it->field; field 124 third_party/libaddressinput/chromium/cpp/test/address_validator_test.cc EXPECT_EQ(problems[0].field, POSTAL_CODE); field 135 third_party/libaddressinput/chromium/cpp/test/address_validator_test.cc EXPECT_EQ(problems[0].field, POSTAL_CODE); field 146 third_party/libaddressinput/chromium/cpp/test/address_validator_test.cc EXPECT_EQ(problems[0].field, POSTAL_CODE); field 157 third_party/libaddressinput/chromium/cpp/test/address_validator_test.cc EXPECT_EQ(problems[0].field, POSTAL_CODE); field 227 third_party/libaddressinput/chromium/cpp/test/address_validator_test.cc EXPECT_EQ(ADMIN_AREA, problems[0].field); field 492 third_party/libaddressinput/chromium/cpp/test/rule_test.cc if (element.IsField() && element.field == STREET_ADDRESS) { field 109 third_party/libevent/compat/sys/queue.h #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) field 111 third_party/libevent/compat/sys/queue.h #define SLIST_FOREACH(var, head, field) \ field 114 third_party/libevent/compat/sys/queue.h (var) = SLIST_NEXT(var, field)) field 123 third_party/libevent/compat/sys/queue.h #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ field 124 third_party/libevent/compat/sys/queue.h (elm)->field.sle_next = (slistelm)->field.sle_next; \ field 125 third_party/libevent/compat/sys/queue.h (slistelm)->field.sle_next = (elm); \ field 128 third_party/libevent/compat/sys/queue.h #define SLIST_INSERT_HEAD(head, elm, field) do { \ field 129 third_party/libevent/compat/sys/queue.h (elm)->field.sle_next = (head)->slh_first; \ field 133 third_party/libevent/compat/sys/queue.h #define SLIST_REMOVE_HEAD(head, field) do { \ field 134 third_party/libevent/compat/sys/queue.h (head)->slh_first = (head)->slh_first->field.sle_next; \ field 160 third_party/libevent/compat/sys/queue.h #define LIST_NEXT(elm, field) ((elm)->field.le_next) field 162 third_party/libevent/compat/sys/queue.h #define LIST_FOREACH(var, head, field) \ field 165 third_party/libevent/compat/sys/queue.h (var) = LIST_NEXT(var, field)) field 174 third_party/libevent/compat/sys/queue.h #define LIST_INSERT_AFTER(listelm, elm, field) do { \ field 175 third_party/libevent/compat/sys/queue.h if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \ field 176 third_party/libevent/compat/sys/queue.h (listelm)->field.le_next->field.le_prev = \ field 177 third_party/libevent/compat/sys/queue.h &(elm)->field.le_next; \ field 178 third_party/libevent/compat/sys/queue.h (listelm)->field.le_next = (elm); \ field 179 third_party/libevent/compat/sys/queue.h (elm)->field.le_prev = &(listelm)->field.le_next; \ field 182 third_party/libevent/compat/sys/queue.h #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ field 183 third_party/libevent/compat/sys/queue.h (elm)->field.le_prev = (listelm)->field.le_prev; \ field 184 third_party/libevent/compat/sys/queue.h (elm)->field.le_next = (listelm); \ field 185 third_party/libevent/compat/sys/queue.h *(listelm)->field.le_prev = (elm); \ field 186 third_party/libevent/compat/sys/queue.h (listelm)->field.le_prev = &(elm)->field.le_next; \ field 189 third_party/libevent/compat/sys/queue.h #define LIST_INSERT_HEAD(head, elm, field) do { \ field 190 third_party/libevent/compat/sys/queue.h if (((elm)->field.le_next = (head)->lh_first) != NULL) \ field 191 third_party/libevent/compat/sys/queue.h (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ field 193 third_party/libevent/compat/sys/queue.h (elm)->field.le_prev = &(head)->lh_first; \ field 196 third_party/libevent/compat/sys/queue.h #define LIST_REMOVE(elm, field) do { \ field 197 third_party/libevent/compat/sys/queue.h if ((elm)->field.le_next != NULL) \ field 198 third_party/libevent/compat/sys/queue.h (elm)->field.le_next->field.le_prev = \ field 199 third_party/libevent/compat/sys/queue.h (elm)->field.le_prev; \ field 200 third_party/libevent/compat/sys/queue.h *(elm)->field.le_prev = (elm)->field.le_next; \ field 203 third_party/libevent/compat/sys/queue.h #define LIST_REPLACE(elm, elm2, field) do { \ field 204 third_party/libevent/compat/sys/queue.h if (((elm2)->field.le_next = (elm)->field.le_next) != NULL) \ field 205 third_party/libevent/compat/sys/queue.h (elm2)->field.le_next->field.le_prev = \ field 206 third_party/libevent/compat/sys/queue.h &(elm2)->field.le_next; \ field 207 third_party/libevent/compat/sys/queue.h (elm2)->field.le_prev = (elm)->field.le_prev; \ field 208 third_party/libevent/compat/sys/queue.h *(elm2)->field.le_prev = (elm2); \ field 234 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_NEXT(elm, field) ((elm)->field.sqe_next) field 236 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_FOREACH(var, head, field) \ field 239 third_party/libevent/compat/sys/queue.h (var) = SIMPLEQ_NEXT(var, field)) field 249 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_INSERT_HEAD(head, elm, field) do { \ field 250 third_party/libevent/compat/sys/queue.h if (((elm)->field.sqe_next = (head)->sqh_first) == NULL) \ field 251 third_party/libevent/compat/sys/queue.h (head)->sqh_last = &(elm)->field.sqe_next; \ field 255 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \ field 256 third_party/libevent/compat/sys/queue.h (elm)->field.sqe_next = NULL; \ field 258 third_party/libevent/compat/sys/queue.h (head)->sqh_last = &(elm)->field.sqe_next; \ field 261 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ field 262 third_party/libevent/compat/sys/queue.h if (((elm)->field.sqe_next = (listelm)->field.sqe_next) == NULL)\ field 263 third_party/libevent/compat/sys/queue.h (head)->sqh_last = &(elm)->field.sqe_next; \ field 264 third_party/libevent/compat/sys/queue.h (listelm)->field.sqe_next = (elm); \ field 267 third_party/libevent/compat/sys/queue.h #define SIMPLEQ_REMOVE_HEAD(head, elm, field) do { \ field 268 third_party/libevent/compat/sys/queue.h if (((head)->sqh_first = (elm)->field.sqe_next) == NULL) \ field 295 third_party/libevent/compat/sys/queue.h #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) field 299 third_party/libevent/compat/sys/queue.h #define TAILQ_PREV(elm, headname, field) \ field 300 third_party/libevent/compat/sys/queue.h (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) field 304 third_party/libevent/compat/sys/queue.h #define TAILQ_FOREACH(var, head, field) \ field 307 third_party/libevent/compat/sys/queue.h (var) = TAILQ_NEXT(var, field)) field 309 third_party/libevent/compat/sys/queue.h #define TAILQ_FOREACH_REVERSE(var, head, field, headname) \ field 312 third_party/libevent/compat/sys/queue.h (var) = TAILQ_PREV(var, headname, field)) field 322 third_party/libevent/compat/sys/queue.h #define TAILQ_INSERT_HEAD(head, elm, field) do { \ field 323 third_party/libevent/compat/sys/queue.h if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \ field 324 third_party/libevent/compat/sys/queue.h (head)->tqh_first->field.tqe_prev = \ field 325 third_party/libevent/compat/sys/queue.h &(elm)->field.tqe_next; \ field 327 third_party/libevent/compat/sys/queue.h (head)->tqh_last = &(elm)->field.tqe_next; \ field 329 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_prev = &(head)->tqh_first; \ field 332 third_party/libevent/compat/sys/queue.h #define TAILQ_INSERT_TAIL(head, elm, field) do { \ field 333 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_next = NULL; \ field 334 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_prev = (head)->tqh_last; \ field 336 third_party/libevent/compat/sys/queue.h (head)->tqh_last = &(elm)->field.tqe_next; \ field 339 third_party/libevent/compat/sys/queue.h #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ field 340 third_party/libevent/compat/sys/queue.h if (((elm)->field.tqe_next = (listelm)->field.tqe_next) != NULL)\ field 341 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_next->field.tqe_prev = \ field 342 third_party/libevent/compat/sys/queue.h &(elm)->field.tqe_next; \ field 344 third_party/libevent/compat/sys/queue.h (head)->tqh_last = &(elm)->field.tqe_next; \ field 345 third_party/libevent/compat/sys/queue.h (listelm)->field.tqe_next = (elm); \ field 346 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_prev = &(listelm)->field.tqe_next; \ field 349 third_party/libevent/compat/sys/queue.h #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ field 350 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ field 351 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_next = (listelm); \ field 352 third_party/libevent/compat/sys/queue.h *(listelm)->field.tqe_prev = (elm); \ field 353 third_party/libevent/compat/sys/queue.h (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \ field 356 third_party/libevent/compat/sys/queue.h #define TAILQ_REMOVE(head, elm, field) do { \ field 357 third_party/libevent/compat/sys/queue.h if (((elm)->field.tqe_next) != NULL) \ field 358 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_next->field.tqe_prev = \ field 359 third_party/libevent/compat/sys/queue.h (elm)->field.tqe_prev; \ field 361 third_party/libevent/compat/sys/queue.h (head)->tqh_last = (elm)->field.tqe_prev; \ field 362 third_party/libevent/compat/sys/queue.h *(elm)->field.tqe_prev = (elm)->field.tqe_next; \ field 365 third_party/libevent/compat/sys/queue.h #define TAILQ_REPLACE(head, elm, elm2, field) do { \ field 366 third_party/libevent/compat/sys/queue.h if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL) \ field 367 third_party/libevent/compat/sys/queue.h (elm2)->field.tqe_next->field.tqe_prev = \ field 368 third_party/libevent/compat/sys/queue.h &(elm2)->field.tqe_next; \ field 370 third_party/libevent/compat/sys/queue.h (head)->tqh_last = &(elm2)->field.tqe_next; \ field 371 third_party/libevent/compat/sys/queue.h (elm2)->field.tqe_prev = (elm)->field.tqe_prev; \ field 372 third_party/libevent/compat/sys/queue.h *(elm2)->field.tqe_prev = (elm2); \ field 399 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_NEXT(elm, field) ((elm)->field.cqe_next) field 400 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_PREV(elm, field) ((elm)->field.cqe_prev) field 404 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_FOREACH(var, head, field) \ field 407 third_party/libevent/compat/sys/queue.h (var) = CIRCLEQ_NEXT(var, field)) field 409 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_FOREACH_REVERSE(var, head, field) \ field 412 third_party/libevent/compat/sys/queue.h (var) = CIRCLEQ_PREV(var, field)) field 422 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ field 423 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next = (listelm)->field.cqe_next; \ field 424 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev = (listelm); \ field 425 third_party/libevent/compat/sys/queue.h if ((listelm)->field.cqe_next == CIRCLEQ_END(head)) \ field 428 third_party/libevent/compat/sys/queue.h (listelm)->field.cqe_next->field.cqe_prev = (elm); \ field 429 third_party/libevent/compat/sys/queue.h (listelm)->field.cqe_next = (elm); \ field 432 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \ field 433 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next = (listelm); \ field 434 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev = (listelm)->field.cqe_prev; \ field 435 third_party/libevent/compat/sys/queue.h if ((listelm)->field.cqe_prev == CIRCLEQ_END(head)) \ field 438 third_party/libevent/compat/sys/queue.h (listelm)->field.cqe_prev->field.cqe_next = (elm); \ field 439 third_party/libevent/compat/sys/queue.h (listelm)->field.cqe_prev = (elm); \ field 442 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_INSERT_HEAD(head, elm, field) do { \ field 443 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next = (head)->cqh_first; \ field 444 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev = CIRCLEQ_END(head); \ field 448 third_party/libevent/compat/sys/queue.h (head)->cqh_first->field.cqe_prev = (elm); \ field 452 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_INSERT_TAIL(head, elm, field) do { \ field 453 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next = CIRCLEQ_END(head); \ field 454 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev = (head)->cqh_last; \ field 458 third_party/libevent/compat/sys/queue.h (head)->cqh_last->field.cqe_next = (elm); \ field 462 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_REMOVE(head, elm, field) do { \ field 463 third_party/libevent/compat/sys/queue.h if ((elm)->field.cqe_next == CIRCLEQ_END(head)) \ field 464 third_party/libevent/compat/sys/queue.h (head)->cqh_last = (elm)->field.cqe_prev; \ field 466 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next->field.cqe_prev = \ field 467 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev; \ field 468 third_party/libevent/compat/sys/queue.h if ((elm)->field.cqe_prev == CIRCLEQ_END(head)) \ field 469 third_party/libevent/compat/sys/queue.h (head)->cqh_first = (elm)->field.cqe_next; \ field 471 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_prev->field.cqe_next = \ field 472 third_party/libevent/compat/sys/queue.h (elm)->field.cqe_next; \ field 475 third_party/libevent/compat/sys/queue.h #define CIRCLEQ_REPLACE(head, elm, elm2, field) do { \ field 476 third_party/libevent/compat/sys/queue.h if (((elm2)->field.cqe_next = (elm)->field.cqe_next) == \ field 480 third_party/libevent/compat/sys/queue.h (elm2)->field.cqe_next->field.cqe_prev = (elm2); \ field 481 third_party/libevent/compat/sys/queue.h if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) == \ field 485 third_party/libevent/compat/sys/queue.h (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ field 77 third_party/libevent/event-internal.h #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) field 78 third_party/libevent/event-internal.h #define TAILQ_FOREACH(var, head, field) \ field 81 third_party/libevent/event-internal.h (var) = TAILQ_NEXT(var, field)) field 82 third_party/libevent/event-internal.h #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ field 83 third_party/libevent/event-internal.h (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ field 84 third_party/libevent/event-internal.h (elm)->field.tqe_next = (listelm); \ field 85 third_party/libevent/event-internal.h *(listelm)->field.tqe_prev = (elm); \ field 86 third_party/libevent/event-internal.h (listelm)->field.tqe_prev = &(elm)->field.tqe_next; \ field 6436 third_party/libxml/src/xmlregexp.c } field; field 6439 third_party/libxml/src/xmlregexp.c #define exp_min field.count.f_min field 6440 third_party/libxml/src/xmlregexp.c #define exp_max field.count.f_max field 6442 third_party/libxml/src/xmlregexp.c #define exp_right field.children.f_right field 6443 third_party/libxml/src/xmlregexp.c #define exp_str field.f_str field 8295 third_party/libxml/src/xmlschemas.c xmlSchemaIDCSelectPtr field = NULL, lastField = NULL; field 8391 third_party/libxml/src/xmlschemas.c field = xmlSchemaParseIDCSelectorAndField(ctxt, field 8393 third_party/libxml/src/xmlschemas.c if (field != NULL) { field 8394 third_party/libxml/src/xmlschemas.c field->index = item->nbFields; field 8397 third_party/libxml/src/xmlschemas.c lastField->next = field; field 8399 third_party/libxml/src/xmlschemas.c item->fields = field; field 8400 third_party/libxml/src/xmlschemas.c lastField = field; field 177 third_party/libxslt/libxslt/extra.c long int field; field 204 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 205 third_party/libxslt/libxslt/extra.c gmt_tm.tm_year = field - 1900; field 209 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 210 third_party/libxslt/libxslt/extra.c gmt_tm.tm_mon = field - 1; field 214 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 215 third_party/libxslt/libxslt/extra.c gmt_tm.tm_mday = field; field 219 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 220 third_party/libxslt/libxslt/extra.c gmt_tm.tm_hour = field; field 224 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 225 third_party/libxslt/libxslt/extra.c gmt_tm.tm_min = field; field 229 third_party/libxslt/libxslt/extra.c field = strtol(digits, NULL, 10); field 230 third_party/libxslt/libxslt/extra.c gmt_tm.tm_sec = field; field 55 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java for (final FieldDescriptor field : getDescriptorForType().getFields()) { field 56 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRequired()) { field 57 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (!hasField(field)) { field 66 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field = entry.getKey(); field 67 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 68 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRepeated()) { field 115 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field = entry.getKey(); field 117 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (isMessageSet && field.isExtension() && field 118 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getType() == FieldDescriptor.Type.MESSAGE && field 119 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java !field.isRepeated()) { field 120 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java output.writeMessageSetExtension(field.getNumber(), (Message) value); field 122 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldSet.writeField(field, value, output); field 148 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field = entry.getKey(); field 150 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (isMessageSet && field.isExtension() && field 151 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getType() == FieldDescriptor.Type.MESSAGE && field 152 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java !field.isRepeated()) { field 154 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getNumber(), (Message) value); field 156 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java size += FieldSet.computeFieldSize(field, value); field 200 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field = entry.getKey(); field 202 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java hash = (37 * hash) + field.getNumber(); field 203 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.getType() != FieldDescriptor.Type.ENUM){ field 205 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java } else if (field.isRepeated()) { field 308 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field = entry.getKey(); field 309 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRepeated()) { field 311 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java addRepeatedField(field, element); field 313 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 314 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final Message existingValue = (Message)getField(field); field 316 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java setField(field, entry.getValue()); field 318 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java setField(field, field 325 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java setField(field, entry.getValue()); field 367 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field, field 370 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java builder.addRepeatedField(field, value); field 372 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java extensions.addRepeatedField(field, value); field 380 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field, field 383 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java builder.setField(field, value); field 385 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java extensions.setField(field, value); field 393 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field) { field 395 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return builder.hasField(field); field 397 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return extensions.hasField(field); field 405 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field) { field 407 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return (Message) builder.getField(field); field 409 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return (Message) extensions.getField(field); field 417 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field, field 419 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java Message originalMessage = getOriginalMessage(builder, extensions, field); field 456 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field; field 470 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field = null; field 472 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field = extension.descriptor; field 475 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 478 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getFullName()); field 482 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field = null; field 485 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field = type.findFieldByNumber(fieldNumber); field 487 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field = null; field 492 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field == null) { field 495 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getLiteType(), field 498 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java } else if (field.isPackable() && field 500 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java field.getLiteType(), field 514 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.getLiteType() == WireFormat.FieldType.ENUM) { field 517 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final Object value = field.getEnumType().findValueByNumber(rawValue); field 523 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java addRepeatedField(builder, extensions, field, value); field 528 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldSet.readPrimitiveField(input, field.getLiteType()); field 529 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java addRepeatedField(builder, extensions, field, value); field 535 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java switch (field.getType()) { field 541 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java subBuilder = builder.newBuilderForField(field); field 543 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (!field.isRepeated()) { field 544 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java mergeOriginalMessage(builder, extensions, field, subBuilder); field 546 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java input.readGroup(field.getNumber(), subBuilder, extensionRegistry); field 555 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java subBuilder = builder.newBuilderForField(field); field 557 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (!field.isRepeated()) { field 558 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java mergeOriginalMessage(builder, extensions, field, subBuilder); field 566 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java value = field.getEnumType().findValueByNumber(rawValue); field 575 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java value = FieldSet.readPrimitiveField(input, field.getLiteType()); field 579 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRepeated()) { field 580 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java addRepeatedField(builder, extensions, field, value); field 582 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java setField(builder, extensions, field, value); field 688 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field = extension.descriptor; field 690 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (hasOriginalMessage(builder, extensions, field)) { field 692 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java getOriginalMessage(builder, extensions, field); field 702 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java builder.setField(field, value); field 704 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java extensions.setField(field, value); field 715 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java FieldDescriptor field = extension.descriptor; field 716 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java boolean hasOriginalValue = hasOriginalMessage(builder, extensions, field); field 723 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java getOriginalMessage(builder, extensions, field); field 731 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java setField(builder, extensions, field, value); field 741 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java builder.setField(field, lazyField); field 743 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java builder.setField(field, lazyField.getValue()); field 746 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java extensions.setField(field, lazyField); field 759 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java public Message.Builder getFieldBuilder(final FieldDescriptor field) { field 788 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java for (final FieldDescriptor field : field 790 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRequired() && !message.hasField(field)) { field 791 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java results.add(prefix + field.getName()); field 797 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field = entry.getKey(); field 800 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 801 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isRepeated()) { field 805 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java subMessagePrefix(prefix, field, i++), field 809 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (message.hasField(field)) { field 811 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java subMessagePrefix(prefix, field, -1), field 820 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final FieldDescriptor field, field 823 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java if (field.isExtension()) { field 825 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java .append(field.getFullName()) field 828 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java result.append(field.getName()); field 624 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java for (final FieldDescriptor field : fields) { field 625 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java field.crossLink(); field 1905 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java void addFieldByNumber(final FieldDescriptor field) field 1908 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java new DescriptorIntPair(field.getContainingType(), field.getNumber()); field 1909 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java final FieldDescriptor old = fieldsByNumber.put(key, field); field 1912 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java throw new DescriptorValidationException(field, field 1913 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java "Field number " + field.getNumber() + field 1915 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java field.getContainingType().getFullName() + field 155 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public boolean hasField(FieldDescriptor field) { field 156 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 157 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.hasField(field); field 160 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Object getField(FieldDescriptor field) { field 161 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 162 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java Object result = fields.getField(field); field 164 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.isRepeated()) { field 166 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 167 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java result = getDefaultInstance(field.getMessageType()); field 169 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java result = field.getDefaultValue(); field 175 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public int getRepeatedFieldCount(FieldDescriptor field) { field 176 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 177 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.getRepeatedFieldCount(field); field 180 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Object getRepeatedField(FieldDescriptor field, int index) { field 181 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 182 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.getRepeatedField(field, index); field 192 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java for (final FieldDescriptor field : type.getFields()) { field 193 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.isRequired()) { field 194 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (!fields.hasField(field)) { field 266 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java private void verifyContainingType(FieldDescriptor field) { field 267 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.getContainingType() != type) { field 375 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Builder newBuilderForField(FieldDescriptor field) { field 376 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 378 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { field 383 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return new Builder(field.getMessageType()); field 386 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public boolean hasField(FieldDescriptor field) { field 387 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 388 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.hasField(field); field 391 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Object getField(FieldDescriptor field) { field 392 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 393 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java Object result = fields.getField(field); field 395 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 396 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java result = getDefaultInstance(field.getMessageType()); field 398 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java result = field.getDefaultValue(); field 404 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Builder setField(FieldDescriptor field, Object value) { field 405 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 407 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java fields.setField(field, value); field 411 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Builder clearField(FieldDescriptor field) { field 412 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 414 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java fields.clearField(field); field 418 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public int getRepeatedFieldCount(FieldDescriptor field) { field 419 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 420 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.getRepeatedFieldCount(field); field 423 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Object getRepeatedField(FieldDescriptor field, int index) { field 424 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 425 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java return fields.getRepeatedField(field, index); field 428 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Builder setRepeatedField(FieldDescriptor field, field 430 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 432 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java fields.setRepeatedField(field, index, value); field 436 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public Builder addRepeatedField(FieldDescriptor field, Object value) { field 437 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java verifyContainingType(field); field 439 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java fields.addRepeatedField(field, value); field 462 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java private void verifyContainingType(FieldDescriptor field) { field 463 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java if (field.getContainingType() != type) { field 476 third_party/protobuf/java/src/main/java/com/google/protobuf/DynamicMessage.java public com.google.protobuf.Message.Builder getFieldBuilder(FieldDescriptor field) { field 231 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java final FieldDescriptor field = extension.descriptor; field 232 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java if (field.getContainingType().getOptions().getMessageSetWireFormat() && field 233 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java field.getType() == FieldDescriptor.Type.MESSAGE && field 234 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java field.isOptional() && field 235 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java field.getExtensionScope() == field.getMessageType()) { field 239 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java extensionsByName.put(field.getMessageType().getFullName(), extension); field 106 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java for (final FieldDescriptor field : descriptor.getFields()) { field 107 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 108 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java final List<?> value = (List<?>) getField(field); field 110 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java result.put(field, value); field 113 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (hasField(field)) { field 114 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java result.put(field, getField(field)); field 123 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java for (final FieldDescriptor field : getDescriptorForType().getFields()) { field 125 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRequired()) { field 126 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (!hasField(field)) { field 131 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 132 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 134 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java List<Message> messageList = (List<Message>) getField(field); field 141 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (hasField(field) && !((Message) getField(field)).isInitialized()) { field 157 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public boolean hasField(final FieldDescriptor field) { field 158 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field).has(this); field 162 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getField(final FieldDescriptor field) { field 163 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field).get(this); field 167 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public int getRepeatedFieldCount(final FieldDescriptor field) { field 168 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field) field 173 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getRepeatedField(final FieldDescriptor field, final int index) { field 174 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field) field 322 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java for (final FieldDescriptor field : descriptor.getFields()) { field 323 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 324 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java final List value = (List) getField(field); field 326 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java result.put(field, value); field 329 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (hasField(field)) { field 330 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java result.put(field, getField(field)); field 338 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java final FieldDescriptor field) { field 339 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field).newBuilder(); field 343 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Message.Builder getFieldBuilder(final FieldDescriptor field) { field 344 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field).getBuilder(this); field 348 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public boolean hasField(final FieldDescriptor field) { field 349 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field).has(this); field 353 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getField(final FieldDescriptor field) { field 354 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java Object object = internalGetFieldAccessorTable().getField(field).get(this); field 355 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 364 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType setField(final FieldDescriptor field, field 366 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java internalGetFieldAccessorTable().getField(field).set(this, value); field 371 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType clearField(final FieldDescriptor field) { field 372 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java internalGetFieldAccessorTable().getField(field).clear(this); field 377 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public int getRepeatedFieldCount(final FieldDescriptor field) { field 378 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field) field 383 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getRepeatedField(final FieldDescriptor field, field 385 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return internalGetFieldAccessorTable().getField(field) field 389 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType setRepeatedField(final FieldDescriptor field, field 391 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java internalGetFieldAccessorTable().getField(field) field 396 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType addRepeatedField(final FieldDescriptor field, field 398 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java internalGetFieldAccessorTable().getField(field).addRepeated(this, value); field 422 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java for (final FieldDescriptor field : getDescriptorForType().getFields()) { field 424 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRequired()) { field 425 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (!hasField(field)) { field 430 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 431 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 433 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java List<Message> messageList = (List<Message>) getField(field); field 440 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (hasField(field) && field 441 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java !((Message) getField(field)).isInitialized()) { field 759 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public boolean hasField(final FieldDescriptor field) { field 760 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 761 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 762 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.hasField(field); field 764 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.hasField(field); field 769 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getField(final FieldDescriptor field) { field 770 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 771 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 772 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java final Object value = extensions.getField(field); field 774 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 777 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return DynamicMessage.getDefaultInstance(field.getMessageType()); field 779 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return field.getDefaultValue(); field 785 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getField(field); field 790 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public int getRepeatedFieldCount(final FieldDescriptor field) { field 791 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 792 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 793 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.getRepeatedFieldCount(field); field 795 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getRepeatedFieldCount(field); field 800 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getRepeatedField(final FieldDescriptor field, field 802 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 803 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 804 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.getRepeatedField(field, index); field 806 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getRepeatedField(field, index); field 810 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java private void verifyContainingType(final FieldDescriptor field) { field 811 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getContainingType() != getDescriptorForType()) { field 1049 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getField(final FieldDescriptor field) { field 1050 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1051 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1052 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java final Object value = extensions.getField(field); field 1054 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 1057 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return DynamicMessage.getDefaultInstance(field.getMessageType()); field 1059 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return field.getDefaultValue(); field 1065 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getField(field); field 1070 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public int getRepeatedFieldCount(final FieldDescriptor field) { field 1071 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1072 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1073 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.getRepeatedFieldCount(field); field 1075 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getRepeatedFieldCount(field); field 1080 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public Object getRepeatedField(final FieldDescriptor field, field 1082 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1083 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1084 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.getRepeatedField(field, index); field 1086 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.getRepeatedField(field, index); field 1091 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public boolean hasField(final FieldDescriptor field) { field 1092 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1093 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1094 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return extensions.hasField(field); field 1096 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.hasField(field); field 1101 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType setField(final FieldDescriptor field, field 1103 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1104 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1106 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java extensions.setField(field, value); field 1110 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.setField(field, value); field 1115 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType clearField(final FieldDescriptor field) { field 1116 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1117 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1119 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java extensions.clearField(field); field 1123 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.clearField(field); field 1128 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType setRepeatedField(final FieldDescriptor field, field 1130 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1131 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1133 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java extensions.setRepeatedField(field, index, value); field 1137 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.setRepeatedField(field, index, value); field 1142 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java public BuilderType addRepeatedField(final FieldDescriptor field, field 1144 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isExtension()) { field 1145 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java verifyContainingType(field); field 1147 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java extensions.addRepeatedField(field, value); field 1151 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return super.addRepeatedField(field, value); field 1161 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java private void verifyContainingType(final FieldDescriptor field) { field 1162 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getContainingType() != getDescriptorForType()) { field 1497 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java FieldDescriptor field = descriptor.getFields().get(i); field 1498 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.isRepeated()) { field 1499 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 1501 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1502 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java } else if (field.getJavaType() == FieldDescriptor.JavaType.ENUM) { field 1504 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1507 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1510 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 1512 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1513 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java } else if (field.getJavaType() == FieldDescriptor.JavaType.ENUM) { field 1515 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1518 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java field, camelCaseNames[i], messageClass, builderClass); field 1534 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java private FieldAccessor getField(final FieldDescriptor field) { field 1535 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java if (field.getContainingType() != descriptor) { field 1538 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java } else if (field.isExtension()) { field 1544 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java return fields[field.getIndex()]; field 165 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java LazyField field = entry.getValue(); field 166 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java if (field == null) { field 169 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyField.java return field.getValue(); field 149 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder newBuilderForField(Descriptors.FieldDescriptor field); field 167 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder getFieldBuilder(Descriptors.FieldDescriptor field); field 174 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder setField(Descriptors.FieldDescriptor field, Object value); field 180 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder clearField(Descriptors.FieldDescriptor field); field 190 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder setRepeatedField(Descriptors.FieldDescriptor field, field 198 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value); field 97 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageOrBuilder.java boolean hasField(Descriptors.FieldDescriptor field); field 106 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageOrBuilder.java Object getField(Descriptors.FieldDescriptor field); field 115 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageOrBuilder.java int getRepeatedFieldCount(Descriptors.FieldDescriptor field); field 125 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageOrBuilder.java Object getRepeatedField(Descriptors.FieldDescriptor field, int index); field 167 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public static void printField(final FieldDescriptor field, field 171 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java DEFAULT_PRINTER.printField(field, value, new TextGenerator(output)); field 174 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public static String printFieldToString(final FieldDescriptor field, field 178 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printField(field, value, text); field 195 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public static void printFieldValue(final FieldDescriptor field, field 199 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java DEFAULT_PRINTER.printFieldValue(field, value, new TextGenerator(output)); field 271 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java for (Map.Entry<FieldDescriptor, Object> field field 273 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printField(field.getKey(), field.getValue(), generator); field 278 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private void printField(final FieldDescriptor field, final Object value, field 280 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.isRepeated()) { field 283 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printSingleField(field, element, generator); field 286 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printSingleField(field, value, generator); field 290 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private void printSingleField(final FieldDescriptor field, field 294 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.isExtension()) { field 297 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.getContainingType().getOptions().getMessageSetWireFormat() field 298 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java && (field.getType() == FieldDescriptor.Type.MESSAGE) field 299 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java && (field.isOptional()) field 301 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java && (field.getExtensionScope() == field.getMessageType())) { field 302 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(field.getMessageType().getFullName()); field 304 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(field.getFullName()); field 308 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.getType() == FieldDescriptor.Type.GROUP) { field 310 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(field.getMessageType().getName()); field 312 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java generator.print(field.getName()); field 316 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 327 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printFieldValue(field, value, generator); field 329 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 345 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private void printFieldValue(final FieldDescriptor field, field 349 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java switch (field.getType()) { field 415 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final UnknownFieldSet.Field field = entry.getValue(); field 417 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field.getVarintList(), generator); field 419 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field.getFixed32List(), generator); field 421 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field.getFixed64List(), generator); field 423 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field.getLengthDelimitedList(), generator); field 424 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java for (final UnknownFieldSet value : field.getGroupList()) { field 1074 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java FieldDescriptor field; field 1100 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field = extension.descriptor; field 1103 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field = type.findFieldByName(name); field 1108 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field == null) { field 1112 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field = type.findFieldByName(lowerName); field 1114 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field != null && field.getType() != FieldDescriptor.Type.GROUP) { field 1115 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field = null; field 1119 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field != null && field.getType() == FieldDescriptor.Type.GROUP && field 1120 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java !field.getMessageType().getName().equals(name)) { field 1121 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java field = null; field 1124 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field == null) { field 1133 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { field 1146 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java subBuilder = builder.newBuilderForField(field); field 1164 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java switch (field.getType()) { field 1208 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final EnumDescriptor enumType = field.getEnumType(); field 1236 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (field.isRepeated()) { field 1237 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java builder.addRepeatedField(field, value); field 1239 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java builder.setField(field, value); field 89 third_party/protobuf/java/src/main/java/com/google/protobuf/UninitializedMessageException.java for (final String field : missingFields) { field 95 third_party/protobuf/java/src/main/java/com/google/protobuf/UninitializedMessageException.java description.append(field); field 389 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeField(final int number, final Field field) { field 394 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java getFieldBuilder(number).mergeFrom(field); field 399 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java addField(number, field); field 429 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder addField(final int number, final Field field) { field 441 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java fields.put(number, field); field 78 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public boolean hasField(Descriptors.FieldDescriptor field) { field 79 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedMessage.hasField(field); field 81 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Object getField(Descriptors.FieldDescriptor field) { field 82 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedMessage.getField(field); field 84 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { field 85 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedMessage.getRepeatedFieldCount(field); field 88 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java Descriptors.FieldDescriptor field, int index) { field 89 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedMessage.getRepeatedField(field, index); field 130 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Builder newBuilderForField(Descriptors.FieldDescriptor field) { field 131 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return new Builder(wrappedBuilder.newBuilderForField(field)); field 133 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public boolean hasField(Descriptors.FieldDescriptor field) { field 134 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedBuilder.hasField(field); field 136 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Object getField(Descriptors.FieldDescriptor field) { field 137 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedBuilder.getField(field); field 139 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Builder setField(Descriptors.FieldDescriptor field, Object value) { field 140 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java wrappedBuilder.setField(field, value); field 143 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Builder clearField(Descriptors.FieldDescriptor field) { field 144 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java wrappedBuilder.clearField(field); field 147 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { field 148 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedBuilder.getRepeatedFieldCount(field); field 151 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java Descriptors.FieldDescriptor field, int index) { field 152 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedBuilder.getRepeatedField(field, index); field 154 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Builder setRepeatedField(Descriptors.FieldDescriptor field, field 156 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java wrappedBuilder.setRepeatedField(field, index, value); field 160 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java Descriptors.FieldDescriptor field, Object value) { field 161 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java wrappedBuilder.addRepeatedField(field, value); field 172 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java public Message.Builder getFieldBuilder(FieldDescriptor field) { field 173 third_party/protobuf/java/src/test/java/com/google/protobuf/AbstractMessageTest.java return wrappedBuilder.getFieldBuilder(field); field 167 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java FieldDescriptor field = messageType.getFields().get(0); field 168 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals("optional_int32", field.getName()); field 169 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(field, messageType.findFieldByName("optional_int32")); field 171 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertEquals(field, messageType.findFieldByNumber(1)); field 362 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java FieldDescriptor field = descriptor.findFieldByName("field1"); field 363 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertNotNull(field); field 366 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); field 368 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java field.getOptions().getExtension(UnittestCustomOptions.fieldOpt1)); field 640 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java FieldDescriptor field = fieldlist.get(0); field 641 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertTrue(field.getType() == FieldDescriptor.Type.ENUM); field 642 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertTrue(field.getEnumType().getName().equals("MyEnum")); field 643 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertTrue(field.getEnumType().getFile().getName().equals("bar.proto")); field 644 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java assertTrue(field.getEnumType().getFile().getPackage().equals( field 714 third_party/protobuf/java/src/test/java/com/google/protobuf/GeneratedMessageTest.java Descriptors.FieldDescriptor field = field 717 third_party/protobuf/java/src/test/java/com/google/protobuf/GeneratedMessageTest.java message.getField(field)); field 2913 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java Message.Builder parent, Descriptors.FieldDescriptor field) { field 2915 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java return parent.newBuilderForField(field); field 2918 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java extensionRegistry.findExtensionByNumber(field.getContainingType(), field 2919 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java field.getNumber()); field 59 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); field 60 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertNotNull(field); field 61 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java return unknownFields.getField(field.getNumber()); field 101 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = getField("optional_int32"); field 102 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getVarintList().size()); field 104 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java (long) field.getVarintList().get(0)); field 108 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = getField("optional_fixed32"); field 109 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getFixed32List().size()); field 111 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java (int) field.getFixed32List().get(0)); field 115 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = getField("optional_fixed64"); field 116 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getFixed64List().size()); field 118 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java (long) field.getFixed64List().get(0)); field 122 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = getField("optional_bytes"); field 123 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getLengthDelimitedList().size()); field 125 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java field.getLengthDelimitedList().get(0)); field 133 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = getField("optionalgroup"); field 134 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getGroupList().size()); field 136 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet group = field.getGroupList().get(0); field 223 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = field 225 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getVarintList().size()); field 226 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(654321, (long) field.getVarintList().get(0)); field 340 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java UnknownFieldSet.Field field = parsed.getField(1); field 341 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(1, field.getVarintList().size()); field 342 third_party/protobuf/java/src/test/java/com/google/protobuf/UnknownFieldSetTest.java assertEquals(0x7FFFFFFFFFFFFFFFL, (long)field.getVarintList().get(0)); field 444 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java UnknownFieldSet.Field field = unknownFields.getField(UNKNOWN_TYPE_ID); field 445 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java assertEquals(1, field.getLengthDelimitedList().size()); field 446 third_party/protobuf/java/src/test/java/com/google/protobuf/WireFormatTest.java assertEquals("bar", field.getLengthDelimitedList().get(0).toStringUtf8()); field 607 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc if (unknown_field_set->field(i).number() == field 609 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc result = PyInt_FromLong(unknown_field_set->field(i).varint()); field 699 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc if (unknown_field_set->field(i).number() == field 91 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc field_generators_[i].reset(MakeGenerator(descriptor->field(i), options)); field 95 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc FieldGenerator* FieldGeneratorMap::MakeGenerator(const FieldDescriptor* field, field 97 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc if (field->is_repeated()) { field 98 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc switch (field->cpp_type()) { field 100 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new RepeatedMessageFieldGenerator(field, options); field 102 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc switch (field->options().ctype()) { field 105 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new RepeatedStringFieldGenerator(field, options); field 108 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new RepeatedEnumFieldGenerator(field, options); field 110 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new RepeatedPrimitiveFieldGenerator(field, options); field 113 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc switch (field->cpp_type()) { field 115 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new MessageFieldGenerator(field, options); field 117 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc switch (field->options().ctype()) { field 120 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new StringFieldGenerator(field, options); field 123 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new EnumFieldGenerator(field, options); field 125 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return new PrimitiveFieldGenerator(field, options); field 133 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc const FieldDescriptor* field) const { field 134 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc GOOGLE_CHECK_EQ(field->containing_type(), descriptor_); field 135 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc return *field_generators_[field->index()]; field 159 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h const FieldGenerator& get(const FieldDescriptor* field) const; field 165 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.h static FieldGenerator* MakeGenerator(const FieldDescriptor* field, field 169 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string FieldName(const FieldDescriptor* field) { field 170 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string result = field->name(); field 178 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string FieldConstantName(const FieldDescriptor *field) { field 179 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string field_name = UnderscoresToCamelCase(field->name(), true); field 182 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (!field->is_extension() && field 183 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc field->containing_type()->FindFieldByCamelcaseName( field 184 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc field->camelcase_name()) != field) { field 188 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc result += "_" + SimpleItoa(field->number()); field 194 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string FieldMessageTypeName(const FieldDescriptor* field) { field 197 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return ClassName(field->message_type(), true); field 259 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc string DefaultValue(const FieldDescriptor* field) { field 260 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc switch (field->cpp_type()) { field 263 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (field->default_value_int32() == kint32min) { field 270 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return SimpleItoa(field->default_value_int32()); field 272 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return SimpleItoa(field->default_value_uint32()) + "u"; field 275 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc if (field->default_value_int64() == kint64min) { field 283 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return "GOOGLE_LONGLONG(" + SimpleItoa(field->default_value_int64()) + ")"; field 285 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return "GOOGLE_ULONGLONG(" + SimpleItoa(field->default_value_uint64())+ ")"; field 287 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc double value = field->default_value_double(); field 300 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc float value = field->default_value_float(); field 319 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return field->default_value_bool() ? "true" : "false"; field 325 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc ClassName(field->enum_type(), true), field 326 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc field->default_value_enum()->number()); field 329 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc CEscape(field->default_value_string())) + field 332 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc return FieldMessageTypeName(field) + "::default_instance()"; field 75 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h string FieldName(const FieldDescriptor* field); field 79 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h string FieldConstantName(const FieldDescriptor *field); field 83 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h inline const Descriptor* FieldScope(const FieldDescriptor* field) { field 84 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h return field->is_extension() ? field 85 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h field->extension_scope() : field->containing_type(); field 90 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h string FieldMessageTypeName(const FieldDescriptor* field); field 107 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h string DefaultValue(const FieldDescriptor* field); field 62 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { field 65 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc string def = field->DebugString(); field 92 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc fields[i] = descriptor->field(i); field 110 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field) { field 136 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = type->field(i); field 137 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_required()) { field 140 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && field 141 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc !ShouldIgnoreRequiredFieldCheck(field)) { field 142 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (HasRequiredFields(field->message_type(), already_seen)) { field 160 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc int EstimateAlignmentSize(const FieldDescriptor* field) { field 161 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field == NULL) return 0; field 162 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) return 8; field 163 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc switch (field->cpp_type()) { field 193 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc FieldGroup(float preferred_location, const FieldDescriptor* field) field 195 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc fields_(1, field) {} field 356 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 358 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 361 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc SetCommonFieldVariables(field, &vars, options_); field 362 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc vars["constant_name"] = FieldConstantName(field); field 364 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 374 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateAccessorDeclarations(printer); field 393 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 395 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 398 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc SetCommonFieldVariables(field, &vars, options_); field 401 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 409 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc vars["has_array_index"] = SimpleItoa(field->index() / 32); field 410 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc vars["has_mask"] = FastHex32ToBuffer(1u << (field->index() % 32), buffer); field 429 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateClearingCode(printer); field 432 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 440 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateInlineAccessorDefinitions(printer); field 620 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!descriptor_->field(i)->is_repeated()) { field 623 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(descriptor_->field(i))); field 626 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(descriptor_->field(i))); field 655 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc fields.push_back(descriptor_->field(i)); field 822 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(descriptor_->field(i)) field 871 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(descriptor_->field(i)) field 896 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(descriptor_->field(i)) field 903 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor *field = descriptor_->field(i); field 906 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "classname", ClassName(FieldScope(field), false), field 907 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "constant_name", FieldConstantName(field)); field 984 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 988 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1006 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(descriptor_->field(i)) field 1025 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(descriptor_->field(i)) field 1041 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1043 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated() && field 1044 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1046 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1082 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1084 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated() && field 1085 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1094 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field), field 1095 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "type", FieldMessageTypeName(field)); field 1191 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1193 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 1207 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "index", SimpleItoa(field->index())); field 1216 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || field 1217 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field->cpp_type() == FieldDescriptor::CPPTYPE_STRING; field 1222 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1226 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateClearingCode(printer); field 1243 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1245 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 1246 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateClearingCode(printer); field 1273 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1274 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateSwappingCode(printer); field 1348 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1350 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 1351 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateMergingCode(printer); field 1359 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1361 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 1370 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "index", SimpleItoa(field->index())); field 1378 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1381 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateMergingCode(printer); field 1494 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = ordered_fields[i]; field 1496 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 1500 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "number", SimpleItoa(field->number())); field 1502 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldGenerator& field_generator = field_generators_.get(field); field 1508 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "wiretype", kWireTypeNames[WireFormat::WireTypeForField(field)]); field 1510 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (i > 0 || (field->is_repeated() && !field->options().packed())) { field 1513 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", field->name()); field 1517 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->options().packed()) { field 1525 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_packable() && field->options().packed()) { field 1531 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc kWireTypeNames[WireFormat::WireTypeForFieldType(field->type())]); field 1535 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc } else if (field->is_packable() && !field->options().packed()) { field 1552 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated() && !field->options().packed()) { field 1556 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "tag", SimpleItoa(WireFormat::MakeTag(field)), field 1557 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", field->name()); field 1669 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc io::Printer* printer, const FieldDescriptor* field, bool to_array) { field 1670 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 1672 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 1675 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1680 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateSerializeWithCachedSizesToArray( field 1683 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateSerializeWithCachedSizes(printer); field 1686 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 1865 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1867 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (!field->is_repeated()) { field 1879 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "index", SimpleItoa(field->index())); field 1884 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 1888 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1891 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateByteSize(printer); field 1908 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1910 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 1911 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc PrintFieldComment(printer, field); field 1912 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc field_generators_.get(field).GenerateByteSize(printer); field 1964 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(index); field 1966 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_required()) { field 1983 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1984 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && field 1985 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc !ShouldIgnoreRequiredFieldCheck(field) && field 1986 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc HasRequiredFields(field->message_type())) { field 1987 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc if (field->is_repeated()) { field 1992 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 1998 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc "name", FieldName(field)); field 148 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.h const FieldDescriptor* field, field 167 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc foo->message_type(0)->field(0)->type()); field 169 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc foo->message_type(0)->field(0)->message_type()); field 177 third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc void WriteFieldDocComment(io::Printer* printer, const FieldDescriptor* field) { field 189 third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc "def", EscapeJavadoc(FirstLineOf(field->DebugString()))); field 190 third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc WriteDocCommentBody(printer, field); field 52 third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.h void WriteFieldDocComment(io::Printer* printer, const FieldDescriptor* field); field 72 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc FieldGenerator* generator = MakeGenerator(descriptor->field(i), field 88 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc const FieldDescriptor* field, int messageBitIndex, int builderBitIndex) { field 89 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc if (field->is_repeated()) { field 90 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc switch (GetJavaType(field)) { field 93 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 96 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 99 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 102 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 105 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc switch (GetJavaType(field)) { field 108 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 111 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 114 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 117 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc field, messageBitIndex, builderBitIndex); field 125 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc const FieldDescriptor* field) const { field 126 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc GOOGLE_CHECK_EQ(field->containing_type(), descriptor_); field 127 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc return *field_generators_[field->index()]; field 90 third_party/protobuf/src/google/protobuf/compiler/java/java_field.h const FieldGenerator& get(const FieldDescriptor* field) const; field 98 third_party/protobuf/src/google/protobuf/compiler/java/java_field.h static FieldGenerator* MakeGenerator(const FieldDescriptor* field, field 57 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc const string& FieldName(const FieldDescriptor* field) { field 61 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (GetType(field) == FieldDescriptor::TYPE_GROUP) { field 62 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->message_type()->name(); field 64 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->name(); field 101 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string UnderscoresToCamelCase(const FieldDescriptor* field) { field 102 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return UnderscoresToCamelCaseImpl(FieldName(field), false); field 105 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field) { field 106 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return UnderscoresToCamelCaseImpl(FieldName(field), true); field 199 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string FieldConstantName(const FieldDescriptor *field) { field 200 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string name = field->name() + "_FIELD_NUMBER"; field 205 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc FieldDescriptor::Type GetType(const FieldDescriptor* field) { field 206 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->type(); field 209 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc JavaType GetJavaType(const FieldDescriptor* field) { field 210 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc switch (GetType(field)) { field 284 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc string DefaultValue(const FieldDescriptor* field) { field 287 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc switch (field->cpp_type()) { field 289 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return SimpleItoa(field->default_value_int32()); field 292 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return SimpleItoa(static_cast<int32>(field->default_value_uint32())); field 294 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return SimpleItoa(field->default_value_int64()) + "L"; field 296 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return SimpleItoa(static_cast<int64>(field->default_value_uint64())) + field 299 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc double value = field->default_value_double(); field 311 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc float value = field->default_value_float(); field 323 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_bool() ? "true" : "false"; field 325 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (GetType(field) == FieldDescriptor::TYPE_BYTES) { field 326 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (field->has_default_value()) { field 330 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc CEscape(field->default_value_string())); field 335 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if (AllAscii(field->default_value_string())) { field 337 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return "\"" + CEscape(field->default_value_string()) + "\""; field 342 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc CEscape(field->default_value_string())); field 347 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return ClassName(field->enum_type()) + "." + field 348 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc field->default_value_enum()->name(); field 351 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return ClassName(field->message_type()) + ".getDefaultInstance()"; field 361 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc bool IsDefaultValueJavaDefault(const FieldDescriptor* field) { field 364 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc switch (field->cpp_type()) { field 366 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_int32() == 0; field 368 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_uint32() == 0; field 370 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_int64() == 0L; field 372 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_uint64() == 0L; field 374 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_double() == 0.0; field 376 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_float() == 0.0; field 378 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc return field->default_value_bool() == false; field 54 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string UnderscoresToCamelCase(const FieldDescriptor* field); field 55 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string UnderscoresToCapitalizedCamelCase(const FieldDescriptor* field); field 92 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string FieldConstantName(const FieldDescriptor *field); field 97 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h FieldDescriptor::Type GetType(const FieldDescriptor* field); field 111 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h JavaType GetJavaType(const FieldDescriptor* field); field 118 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h string DefaultValue(const FieldDescriptor* field); field 119 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.h bool IsDefaultValueJavaDefault(const FieldDescriptor* field); field 63 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { field 66 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc string def = field->DebugString(); field 91 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc fields[i] = descriptor->field(i); field 132 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = type->field(i); field 133 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (field->is_required()) { field 136 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (GetJavaType(field) == JAVATYPE_MESSAGE) { field 137 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (HasRequiredFields(field->message_type(), already_seen)) { field 240 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc UnderscoresToCapitalizedCamelCase(descriptor_->field(i))); field 288 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc PrintFieldComment(printer, descriptor_->field(i)); field 289 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)) field 415 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc totalBits += field_generators_.get(descriptor_->field(i)) field 426 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc PrintFieldComment(printer, descriptor_->field(i)); field 428 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "constant_name", FieldConstantName(descriptor_->field(i)), field 429 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "number", SimpleItoa(descriptor_->field(i)->number())); field 430 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)).GenerateMembers(printer); field 439 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)) field 668 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc io::Printer* printer, const FieldDescriptor* field) { field 669 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateSerializationCode(printer); field 747 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc totalBits += field_generators_.get(descriptor_->field(i)) field 758 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc PrintFieldComment(printer, descriptor_->field(i)); field 759 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)) field 828 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)) field 855 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)) field 911 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldGenerator& field = field_generators_.get(descriptor_->field(i)); field 912 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc totalBuilderBits += field.GetNumBitsForBuilder(); field 913 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc totalMessageBits += field.GetNumBitsForMessage(); field 928 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)).GenerateBuildingCode(printer); field 978 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(descriptor_->field(i)).GenerateMergingCode(printer); field 1052 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1054 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (field->is_required()) { field 1060 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field), field 1067 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1068 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (GetJavaType(field) == JAVATYPE_MESSAGE && field 1069 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc HasRequiredFields(field->message_type())) { field 1070 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc switch (field->label()) { field 1077 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "type", ClassName(field->message_type()), field 1078 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field), field 1089 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "type", ClassName(field->message_type()), field 1090 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field), field 1101 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "type", ClassName(field->message_type()), field 1102 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field), field 1151 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1152 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (!field->is_repeated()) { field 1156 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field)); field 1159 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateEqualsCode(printer); field 1160 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (!field->is_repeated()) { field 1200 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = descriptor_->field(i); field 1201 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (!field->is_repeated()) { field 1204 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc "name", UnderscoresToCapitalizedCamelCase(field)); field 1207 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateHashCode(printer); field 1208 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (!field->is_repeated()) { field 1263 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldGenerator& field = field_generators_.get(descriptor_->field(i)); field 1264 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc totalBuilderBits += field.GetNumBitsForBuilder(); field 1307 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = sorted_fields[i]; field 1308 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc uint32 tag = WireFormatLite::MakeTag(field->number(), field 1309 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc WireFormat::WireTypeForFieldType(field->type())); field 1316 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateParsingCode(printer); field 1323 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc if (field->is_packable()) { field 1326 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc uint32 packed_tag = WireFormatLite::MakeTag(field->number(), field 1333 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateParsingCodeFromPacked(printer); field 1360 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc const FieldDescriptor* field = sorted_fields[i]; field 1361 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc field_generators_.get(field).GenerateParsingDoneCode(printer); field 86 third_party/protobuf/src/google/protobuf/compiler/java/java_message.h const FieldDescriptor* field); field 96 third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc const char* GetCapitalizedType(const FieldDescriptor* field) { field 97 third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc switch (GetType(field)) { field 643 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseMessageField(FieldDescriptorProto* field, field 655 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_label(label); field 660 third_party/protobuf/src/google/protobuf/compiler/parser.cc location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::TYPE); field 667 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_type(type); field 670 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_type_name(type_name); field 679 third_party/protobuf/src/google/protobuf/compiler/parser.cc location.RecordLegacyLocation(field, DescriptorPool::ErrorCollector::NAME); field 680 third_party/protobuf/src/google/protobuf/compiler/parser.cc DO(ConsumeIdentifier(field->mutable_name(), "Expected field name.")); field 689 third_party/protobuf/src/google/protobuf/compiler/parser.cc field, DescriptorPool::ErrorCollector::NUMBER); field 692 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_number(number); field 696 third_party/protobuf/src/google/protobuf/compiler/parser.cc DO(ParseFieldOptions(field, field_location)); field 699 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (field->has_type() && field->type() == FieldDescriptorProto::TYPE_GROUP) { field 708 third_party/protobuf/src/google/protobuf/compiler/parser.cc group->set_name(field->name()); field 735 third_party/protobuf/src/google/protobuf/compiler/parser.cc LowerString(field->mutable_name()); field 737 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_type_name(group->name()); field 751 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseFieldOptions(FieldDescriptorProto* field, field 765 third_party/protobuf/src/google/protobuf/compiler/parser.cc DO(ParseDefaultAssignment(field, field_location)); field 767 third_party/protobuf/src/google/protobuf/compiler/parser.cc DO(ParseOption(field->mutable_options(), location, OPTION_ASSIGNMENT)); field 775 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ParseDefaultAssignment(FieldDescriptorProto* field, field 777 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (field->has_default_value()) { field 779 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->clear_default_value(); field 788 third_party/protobuf/src/google/protobuf/compiler/parser.cc field, DescriptorPool::ErrorCollector::DEFAULT_VALUE); field 789 third_party/protobuf/src/google/protobuf/compiler/parser.cc string* default_value = field->mutable_default_value(); field 791 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!field->has_type()) { field 798 third_party/protobuf/src/google/protobuf/compiler/parser.cc switch (field->type()) { field 806 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (field->type() == FieldDescriptorProto::TYPE_INT32 || field 807 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->type() == FieldDescriptorProto::TYPE_SINT32 || field 808 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->type() == FieldDescriptorProto::TYPE_SFIXED32) { field 831 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (field->type() == FieldDescriptorProto::TYPE_UINT32 || field 832 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->type() == FieldDescriptorProto::TYPE_FIXED32) { field 1176 third_party/protobuf/src/google/protobuf/compiler/parser.cc FieldDescriptorProto* field = extensions->Add(); field 1186 third_party/protobuf/src/google/protobuf/compiler/parser.cc field, DescriptorPool::ErrorCollector::EXTENDEE); field 1191 third_party/protobuf/src/google/protobuf/compiler/parser.cc field->set_extendee(extendee); field 1193 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!ParseMessageField(field, messages, parent_location, field 328 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ParseMessageField(FieldDescriptorProto* field, field 379 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ParseFieldOptions(FieldDescriptorProto* field, field 384 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ParseDefaultAssignment(FieldDescriptorProto* field, field 1405 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptor* field = descriptor->FindFieldByNumber(*path_begin); field 1407 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field == NULL) { field 1415 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field->is_repeated()) { field 1419 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc *output_field = field; field 1425 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc int size = reflection->FieldSize(root, field); field 1428 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ADD_FAILURE() << descriptor->name() << "." << field->name() field 1434 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1436 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const Message& child = reflection->GetRepeatedMessage(root, field, index); field 1442 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc *output_field = field; field 1446 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ADD_FAILURE() << descriptor->name() << "." << field->name() field 1451 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1452 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const Message& child = reflection->GetMessage(root, field); field 1458 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc *output_field = field; field 1462 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ADD_FAILURE() << descriptor->name() << "." << field->name() field 1499 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptor* field = NULL; field 1502 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc &descriptor_proto, &field, &index)) { field 1506 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc spans_.insert(make_pair(SpanKey(*descriptor_proto, field, index), field 1557 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptor* field = field 1559 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field == NULL) { field 1566 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc start_marker, end_marker, descriptor_proto, field, index, field 1586 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptor* field, int index, field 1590 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc spans_.equal_range(SpanKey(descriptor_proto, field, index)); field 1640 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptor* field; field 1647 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc : descriptor_proto(&descriptor_proto_param), field(field_param), field 1653 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field < other.field) return true; field 1654 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (field > other.field) return false; field 1730 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& field1 = file_.message_type(0).field(0); field 1731 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& field2 = file_.message_type(0).field(1); field 1912 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& field = file_.message_type(0).field(0); field 1914 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('a', 'k', field)); field 1915 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('a', 'b', field, "label")); field 1916 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('c', 'd', field, "type")); field 1917 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('e', 'f', field, "name")); field 1918 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('e', 'f', field, "type_name")); field 1919 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('g', 'h', field, "number")); field 2184 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& field = file_.message_type(0).field(0); field 2185 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const UninterpretedOption& option1 = field.options().uninterpreted_option(0); field 2186 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const UninterpretedOption& option2 = field.options().uninterpreted_option(1); field 2188 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('a', 'h', field.options())); field 2189 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan('b', 'c', field, "default_value")); field 2197 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan(field)); field 2198 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan(field, "label")); field 2199 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan(field, "type")); field 2200 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan(field, "name")); field 2201 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc EXPECT_TRUE(HasSpan(field, "number")); field 2265 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& bar = foo.field(0); field 2306 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& bar = foo.field(0); field 2344 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc const FieldDescriptorProto& bar = foo.field(0); field 169 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc string StringifyDefaultValue(const FieldDescriptor& field) { field 170 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (field.is_repeated()) { field 174 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc switch (field.cpp_type()) { field 176 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return SimpleItoa(field.default_value_int32()); field 178 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return SimpleItoa(field.default_value_uint32()); field 180 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return SimpleItoa(field.default_value_int64()); field 182 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return SimpleItoa(field.default_value_uint64()); field 184 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc double value = field.default_value_double(); field 200 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc float value = field.default_value_float(); field 216 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return field.default_value_bool() ? "True" : "False"; field 218 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return SimpleItoa(field.default_value_enum()->number()); field 220 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (field.type() == FieldDescriptor::TYPE_STRING) { field 221 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return "unicode(\"" + CEscape(field.default_value_string()) + field 224 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return "\"" + CEscape(field.default_value_string()) + "\""; field 695 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field_descriptor = *descriptor.field(i); field 727 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field, field 730 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc containing_type, field, python_dict_name); field 733 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const Descriptor* foreign_message_type = field.message_type(); field 738 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const EnumDescriptor* enum_type = field.enum_type(); field 756 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field, field 760 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc GOOGLE_CHECK_EQ(field.file(), file_) << field.file()->name() << " vs. " field 763 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc return field.name(); field 768 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc python_dict_name, field.name()); field 885 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field, bool is_extension) const { field 887 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc field.options().SerializeToString(&options_string); field 889 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["name"] = field.name(); field 890 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["full_name"] = field.full_name(); field 891 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["index"] = SimpleItoa(field.index()); field 892 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["number"] = SimpleItoa(field.number()); field 893 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["type"] = SimpleItoa(field.type()); field 894 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["cpp_type"] = SimpleItoa(field.cpp_type()); field 895 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["label"] = SimpleItoa(field.label()); field 896 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["has_default_value"] = field.has_default_value() ? "True" : "False"; field 897 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc m["default_value"] = StringifyDefaultValue(field); field 939 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc &Descriptor::field_count, &Descriptor::field); field 1066 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field = *file_->extension(i); field 1067 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc FixOptionsForField(field); field 1101 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field) const { field 1103 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc "FieldOptions", field.options().SerializeAsString()); field 1106 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (field.is_extension()) { field 1107 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc if (field.extension_scope() == NULL) { field 1109 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc field_name = field.name(); field 1112 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc field.extension_scope(), field, "extensions_by_name"); field 1116 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc field.containing_type(), field, "fields_by_name"); field 1135 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field = *descriptor.field(i); field 1136 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc FixOptionsForField(field); field 1140 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc const FieldDescriptor& field = *descriptor.extension(i); field 1141 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc FixOptionsForField(field); field 83 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h const FieldDescriptor& field, bool is_extension) const; field 105 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h const FieldDescriptor& field, field 109 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h const FieldDescriptor& field, field 142 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.h void FixOptionsForField(const FieldDescriptor& field) const; field 409 third_party/protobuf/src/google/protobuf/descriptor.cc bool AddExtension(const FieldDescriptor* field); field 525 third_party/protobuf/src/google/protobuf/descriptor.cc bool AddFieldByNumber(const FieldDescriptor* field); field 530 third_party/protobuf/src/google/protobuf/descriptor.cc void AddFieldByStylizedNames(const FieldDescriptor* field); field 755 third_party/protobuf/src/google/protobuf/descriptor.cc const FieldDescriptor* field) { field 757 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->is_extension()) { field 758 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->extension_scope() == NULL) { field 759 third_party/protobuf/src/google/protobuf/descriptor.cc parent = field->file(); field 761 third_party/protobuf/src/google/protobuf/descriptor.cc parent = field->extension_scope(); field 764 third_party/protobuf/src/google/protobuf/descriptor.cc parent = field->containing_type(); field 767 third_party/protobuf/src/google/protobuf/descriptor.cc PointerStringPair lowercase_key(parent, field->lowercase_name().c_str()); field 768 third_party/protobuf/src/google/protobuf/descriptor.cc InsertIfNotPresent(&fields_by_lowercase_name_, lowercase_key, field); field 770 third_party/protobuf/src/google/protobuf/descriptor.cc PointerStringPair camelcase_key(parent, field->camelcase_name().c_str()); field 771 third_party/protobuf/src/google/protobuf/descriptor.cc InsertIfNotPresent(&fields_by_camelcase_name_, camelcase_key, field); field 774 third_party/protobuf/src/google/protobuf/descriptor.cc bool FileDescriptorTables::AddFieldByNumber(const FieldDescriptor* field) { field 775 third_party/protobuf/src/google/protobuf/descriptor.cc DescriptorIntPair key(field->containing_type(), field->number()); field 776 third_party/protobuf/src/google/protobuf/descriptor.cc return InsertIfNotPresent(&fields_by_number_, key, field); field 785 third_party/protobuf/src/google/protobuf/descriptor.cc bool DescriptorPool::Tables::AddExtension(const FieldDescriptor* field) { field 786 third_party/protobuf/src/google/protobuf/descriptor.cc DescriptorIntPair key(field->containing_type(), field->number()); field 787 third_party/protobuf/src/google/protobuf/descriptor.cc if (InsertIfNotPresent(&extensions_, key, field)) { field 1512 third_party/protobuf/src/google/protobuf/descriptor.cc field(i)->CopyTo(proto->add_field()); field 1795 third_party/protobuf/src/google/protobuf/descriptor.cc if (field(i)->type() == FieldDescriptor::TYPE_GROUP) { field 1796 third_party/protobuf/src/google/protobuf/descriptor.cc groups.insert(field(i)->message_type()); field 1816 third_party/protobuf/src/google/protobuf/descriptor.cc field(i)->DebugString(depth, contents); field 2334 third_party/protobuf/src/google/protobuf/descriptor.cc void CrossLinkField(FieldDescriptor* field, field 2481 third_party/protobuf/src/google/protobuf/descriptor.cc void ValidateFieldOptions(FieldDescriptor* field, field 2492 third_party/protobuf/src/google/protobuf/descriptor.cc void ValidateMapKey(FieldDescriptor* field, field 3267 third_party/protobuf/src/google/protobuf/descriptor.cc BUILD_ARRAY(proto, result, field , BuildField , result); field 3285 third_party/protobuf/src/google/protobuf/descriptor.cc const FieldDescriptor* field = result->field(i); field 3288 third_party/protobuf/src/google/protobuf/descriptor.cc if (range->start <= field->number() && field->number() < range->end) { field 3289 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto.extension_range(j), field 3294 third_party/protobuf/src/google/protobuf/descriptor.cc field->name(), field->number())); field 3775 third_party/protobuf/src/google/protobuf/descriptor.cc CrossLinkField(&message->fields_[i], proto.field(i)); field 3784 third_party/protobuf/src/google/protobuf/descriptor.cc FieldDescriptor* field, const FieldDescriptorProto& proto) { field 3785 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->options_ == NULL) { field 3786 third_party/protobuf/src/google/protobuf/descriptor.cc field->options_ = &FieldOptions::default_instance(); field 3790 third_party/protobuf/src/google/protobuf/descriptor.cc Symbol extendee = LookupSymbol(proto.extendee(), field->full_name(), field 3793 third_party/protobuf/src/google/protobuf/descriptor.cc AddNotDefinedError(field->full_name(), proto, field 3798 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3803 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type_ = extendee.descriptor; field 3805 third_party/protobuf/src/google/protobuf/descriptor.cc if (!field->containing_type()->IsExtensionNumber(field->number())) { field 3806 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3810 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type()->full_name(), field 3811 third_party/protobuf/src/google/protobuf/descriptor.cc field->number())); field 3823 third_party/protobuf/src/google/protobuf/descriptor.cc LookupSymbol(proto.type_name(), field->full_name(), field 3828 third_party/protobuf/src/google/protobuf/descriptor.cc AddNotDefinedError(field->full_name(), proto, field 3837 third_party/protobuf/src/google/protobuf/descriptor.cc field->type_ = FieldDescriptor::TYPE_MESSAGE; field 3839 third_party/protobuf/src/google/protobuf/descriptor.cc field->type_ = FieldDescriptor::TYPE_ENUM; field 3841 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3848 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 3850 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3855 third_party/protobuf/src/google/protobuf/descriptor.cc field->message_type_ = type.descriptor; field 3857 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->has_default_value()) { field 3858 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3862 third_party/protobuf/src/google/protobuf/descriptor.cc } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { field 3864 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3869 third_party/protobuf/src/google/protobuf/descriptor.cc field->enum_type_ = type.enum_descriptor; field 3871 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->enum_type()->is_placeholder_) { field 3874 third_party/protobuf/src/google/protobuf/descriptor.cc field->has_default_value_ = false; field 3877 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->has_default_value()) { field 3883 third_party/protobuf/src/google/protobuf/descriptor.cc field->enum_type()->full_name()); field 3886 third_party/protobuf/src/google/protobuf/descriptor.cc default_value.enum_value_descriptor->type() == field->enum_type()) { field 3887 third_party/protobuf/src/google/protobuf/descriptor.cc field->default_value_enum_ = default_value.enum_value_descriptor; field 3889 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3891 third_party/protobuf/src/google/protobuf/descriptor.cc "Enum type \"" + field->enum_type()->full_name() + field 3894 third_party/protobuf/src/google/protobuf/descriptor.cc } else if (field->enum_type()->value_count() > 0) { field 3898 third_party/protobuf/src/google/protobuf/descriptor.cc field->default_value_enum_ = field->enum_type()->value(0); field 3901 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 3905 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || field 3906 third_party/protobuf/src/google/protobuf/descriptor.cc field->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) { field 3907 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 3915 third_party/protobuf/src/google/protobuf/descriptor.cc if (!file_tables_->AddFieldByNumber(field)) { field 3917 third_party/protobuf/src/google/protobuf/descriptor.cc file_tables_->FindFieldByNumber(field->containing_type(), field 3918 third_party/protobuf/src/google/protobuf/descriptor.cc field->number()); field 3919 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->is_extension()) { field 3920 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3924 third_party/protobuf/src/google/protobuf/descriptor.cc field->number(), field 3925 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type()->full_name(), field 3928 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 3932 third_party/protobuf/src/google/protobuf/descriptor.cc field->number(), field 3933 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type()->full_name(), field 3938 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->is_extension()) { field 3941 third_party/protobuf/src/google/protobuf/descriptor.cc tables_->AddExtension(field); field 3945 third_party/protobuf/src/google/protobuf/descriptor.cc file_tables_->AddFieldByStylizedNames(field); field 4054 third_party/protobuf/src/google/protobuf/descriptor.cc VALIDATE_OPTIONS_FROM_ARRAY(message, field, Field); field 4074 third_party/protobuf/src/google/protobuf/descriptor.cc void DescriptorBuilder::ValidateFieldOptions(FieldDescriptor* field, field 4076 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->options().has_experimental_map_key()) { field 4077 third_party/protobuf/src/google/protobuf/descriptor.cc ValidateMapKey(field, proto); field 4081 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->options().lazy()) { field 4082 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->type() != FieldDescriptor::TYPE_MESSAGE) { field 4083 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 4090 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->options().packed() && !field->is_packable()) { field 4092 third_party/protobuf/src/google/protobuf/descriptor.cc field->full_name(), proto, field 4099 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->containing_type_ != NULL && field 4100 third_party/protobuf/src/google/protobuf/descriptor.cc &field->containing_type()->options() != field 4102 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type()->options().message_set_wire_format()) { field 4103 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->is_extension()) { field 4104 third_party/protobuf/src/google/protobuf/descriptor.cc if (!field->is_optional() || field 4105 third_party/protobuf/src/google/protobuf/descriptor.cc field->type() != FieldDescriptor::TYPE_MESSAGE) { field 4106 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 4111 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 4118 third_party/protobuf/src/google/protobuf/descriptor.cc if (IsLite(field->file()) && field 4119 third_party/protobuf/src/google/protobuf/descriptor.cc field->containing_type_ != NULL && field 4120 third_party/protobuf/src/google/protobuf/descriptor.cc !IsLite(field->containing_type()->file())) { field 4121 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, field 4184 third_party/protobuf/src/google/protobuf/descriptor.cc void DescriptorBuilder::ValidateMapKey(FieldDescriptor* field, field 4186 third_party/protobuf/src/google/protobuf/descriptor.cc if (!field->is_repeated()) { field 4187 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4192 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { field 4193 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4198 third_party/protobuf/src/google/protobuf/descriptor.cc const Descriptor* item_type = field->message_type(); field 4200 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4206 third_party/protobuf/src/google/protobuf/descriptor.cc const string& key_name = field->options().experimental_map_key(); field 4215 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4223 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4229 third_party/protobuf/src/google/protobuf/descriptor.cc AddError(field->full_name(), proto, DescriptorPool::ErrorCollector::TYPE, field 4234 third_party/protobuf/src/google/protobuf/descriptor.cc field->experimental_map_key_ = key_field; field 4352 third_party/protobuf/src/google/protobuf/descriptor.cc const FieldDescriptor* field = NULL; field 4371 third_party/protobuf/src/google/protobuf/descriptor.cc field = symbol.field_descriptor; field 4380 third_party/protobuf/src/google/protobuf/descriptor.cc field = descriptor->FindFieldByName(name_part); field 4383 third_party/protobuf/src/google/protobuf/descriptor.cc if (field == NULL) { field 4392 third_party/protobuf/src/google/protobuf/descriptor.cc } else if (field->containing_type() != descriptor) { field 4393 third_party/protobuf/src/google/protobuf/descriptor.cc if (get_is_placeholder(field->containing_type())) { field 4409 third_party/protobuf/src/google/protobuf/descriptor.cc } else if (field->is_repeated()) { field 4414 third_party/protobuf/src/google/protobuf/descriptor.cc if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { field 4419 third_party/protobuf/src/google/protobuf/descriptor.cc intermediate_fields.push_back(field); field 4420 third_party/protobuf/src/google/protobuf/descriptor.cc descriptor = field->message_type(); field 4436 third_party/protobuf/src/google/protobuf/descriptor.cc field, debug_msg_name, field 4445 third_party/protobuf/src/google/protobuf/descriptor.cc if (!SetOptionValue(field, unknown_fields.get())) { field 4491 third_party/protobuf/src/google/protobuf/descriptor.cc const FieldDescriptor* field = field 4493 third_party/protobuf/src/google/protobuf/descriptor.cc GOOGLE_CHECK(field != NULL); field 4495 third_party/protobuf/src/google/protobuf/descriptor.cc options->GetReflection()->AddMessage(options, field) field 4511 third_party/protobuf/src/google/protobuf/descriptor.cc if (unknown_fields.field(i).number() == innermost_field->number()) { field 4520 third_party/protobuf/src/google/protobuf/descriptor.cc if (unknown_fields.field(i).number() == field 4522 third_party/protobuf/src/google/protobuf/descriptor.cc const UnknownField* unknown_field = &unknown_fields.field(i); field 172 third_party/protobuf/src/google/protobuf/descriptor.h const FieldDescriptor* field(int index) const; field 1331 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, field, const FieldDescriptor*) field 2107 third_party/protobuf/src/google/protobuf/descriptor.pb.cc 2, this->field(i), output); field 2162 third_party/protobuf/src/google/protobuf/descriptor.pb.cc 2, this->field(i), target); field 2231 third_party/protobuf/src/google/protobuf/descriptor.pb.cc this->field(i)); field 2322 third_party/protobuf/src/google/protobuf/descriptor.pb.cc if (!this->field(i).IsInitialized()) return false; field 626 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FieldDescriptorProto& field(int index) const; field 630 third_party/protobuf/src/google/protobuf/descriptor.pb.h field() const; field 3346 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const { field 3356 third_party/protobuf/src/google/protobuf/descriptor.pb.h DescriptorProto::field() const { field 151 third_party/protobuf/src/google/protobuf/descriptor_database.cc const FieldDescriptorProto& field, field 153 third_party/protobuf/src/google/protobuf/descriptor_database.cc if (!field.extendee().empty() && field.extendee()[0] == '.') { field 157 third_party/protobuf/src/google/protobuf/descriptor_database.cc make_pair(field.extendee().substr(1), field 158 third_party/protobuf/src/google/protobuf/descriptor_database.cc field.number()), field 161 third_party/protobuf/src/google/protobuf/descriptor_database.cc "extend " << field.extendee() << " { " field 162 third_party/protobuf/src/google/protobuf/descriptor_database.cc << field.name() << " = " << field.number() << " }"; field 170 third_party/protobuf/src/google/protobuf/descriptor_database.h bool AddExtension(const FieldDescriptorProto& field, field 452 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc foo_ = message_->field(0); field 453 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc bar_ = message_->field(1); field 454 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc baz_ = message_->field(2); field 455 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc qux_ = message_->field(3); field 461 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc foo2_ = message2_->field(0); field 462 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc bar2_ = message2_->field(1); field 463 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc quux2_ = message2_->field(2); field 503 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(foo_, message_->field(0)); field 504 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(bar_, message_->field(1)); field 505 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(baz_, message_->field(2)); field 506 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(qux_, message_->field(3)); field 722 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foo_foo", message_->field(0)->lowercase_name()); field 723 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foobar" , message_->field(1)->lowercase_name()); field 724 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foobaz" , message_->field(2)->lowercase_name()); field 725 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foofoo" , message_->field(3)->lowercase_name()); field 726 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foobar" , message_->field(4)->lowercase_name()); field 742 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("fooFoo", message_->field(0)->camelcase_name()); field 743 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("fooBar", message_->field(1)->camelcase_name()); field 744 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("fooBaz", message_->field(2)->camelcase_name()); field 745 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("fooFoo", message_->field(3)->camelcase_name()); field 746 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("foobar", message_->field(4)->camelcase_name()); field 762 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(0), field 764 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(1), field 766 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(2), field 796 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(0), field 798 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(1), field 800 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(message_->field(2), field 1530 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc FieldDescriptorProto* field = field 1536 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->set_type_name("TestMessage"); field 1538 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->set_type_name("DummyEnum"); field 1548 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return file->message_type(0)->field(0); field 1555 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* field = GetFieldDescriptorOfType(type); field 1556 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return field != NULL ? field->type_name() : ""; field 1560 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* field = GetFieldDescriptorOfType(type); field 1561 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return field != NULL ? field->cpp_type() : field 1566 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* field = GetFieldDescriptorOfType(type); field 1567 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc return field != NULL ? field->cpp_type_name() : ""; field 1722 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(0)->has_default_value()); field 1723 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(1)->has_default_value()); field 1724 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(2)->has_default_value()); field 1725 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(3)->has_default_value()); field 1726 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(4)->has_default_value()); field 1727 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(5)->has_default_value()); field 1728 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(6)->has_default_value()); field 1729 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(7)->has_default_value()); field 1730 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(8)->has_default_value()); field 1731 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(9)->has_default_value()); field 1732 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_TRUE(message->field(10)->has_default_value()); field 1734 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(-1 , message->field(0)->default_value_int32 ()); field 1736 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc message->field(1)->default_value_int64 ()); field 1737 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(42 , message->field(2)->default_value_uint32()); field 1739 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc message->field(3)->default_value_uint64()); field 1740 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(4.5 , message->field(4)->default_value_float ()); field 1741 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(10e100 , message->field(5)->default_value_double()); field 1742 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_TRUE( message->field(6)->default_value_bool ()); field 1743 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("hello" , message->field(7)->default_value_string()); field 1744 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("\001\002\003" , message->field(8)->default_value_string()); field 1745 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(enum_value_b , message->field(9)->default_value_enum ()); field 1746 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("" , message->field(10)->default_value_string()); field 1748 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(11)->has_default_value()); field 1749 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(12)->has_default_value()); field 1750 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(13)->has_default_value()); field 1751 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(14)->has_default_value()); field 1752 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(15)->has_default_value()); field 1753 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(16)->has_default_value()); field 1754 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(17)->has_default_value()); field 1755 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(18)->has_default_value()); field 1756 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(19)->has_default_value()); field 1757 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ASSERT_FALSE(message->field(20)->has_default_value()); field 1759 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0 , message->field(11)->default_value_int32 ()); field 1760 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0 , message->field(12)->default_value_int64 ()); field 1761 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0 , message->field(13)->default_value_uint32()); field 1762 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0 , message->field(14)->default_value_uint64()); field 1763 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0.0f , message->field(15)->default_value_float ()); field 1764 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(0.0 , message->field(16)->default_value_double()); field 1765 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_FALSE( message->field(17)->default_value_bool ()); field 1766 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("" , message->field(18)->default_value_string()); field 1767 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("" , message->field(19)->default_value_string()); field 1768 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(enum_value_a, message->field(20)->default_value_enum()); field 1798 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* foo = message->field(0); field 1799 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* bar = message->field(1); field 1879 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc bar_field_ = foo_type_->field(0); field 1880 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc baz_field_ = foo_type_->field(1); field 1881 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc qux_field_ = foo_type_->field(2); field 2115 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* quux_field = corge_desc->field(0); field 2135 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* field = message->FindFieldByName("field1"); field 2147 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->options().GetExtension(protobuf_unittest::field_opt1)); field 2149 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->options().GetExtension(protobuf_unittest::field_opt2)); field 2162 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ(FieldOptions::CORD, field->options().ctype()); field 2397 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc const FieldDescriptor* field = msg->FindFieldByName("fieldname"); field 2421 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->options().GetExtension(protobuf_unittest::fieldopt).s()); field 94 third_party/protobuf/src/google/protobuf/dynamic_message.cc int FieldSpaceUsed(const FieldDescriptor* field) { field 96 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (field->label() == FD::LABEL_REPEATED) { field 97 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->cpp_type()) { field 109 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->options().ctype()) { field 117 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->cpp_type()) { field 131 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->options().ctype()) { field 255 third_party/protobuf/src/google/protobuf/dynamic_message.cc const FieldDescriptor* field = descriptor->field(i); field 257 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->cpp_type()) { field 260 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (!field->is_repeated()) { \ field 261 third_party/protobuf/src/google/protobuf/dynamic_message.cc new(field_ptr) TYPE(field->default_value_##TYPE()); \ field 277 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (!field->is_repeated()) { field 278 third_party/protobuf/src/google/protobuf/dynamic_message.cc new(field_ptr) int(field->default_value_enum()->number()); field 285 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->options().ctype()) { field 288 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (!field->is_repeated()) { field 290 third_party/protobuf/src/google/protobuf/dynamic_message.cc new(field_ptr) const string*(&field->default_value_string()); field 306 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (!field->is_repeated()) { field 335 third_party/protobuf/src/google/protobuf/dynamic_message.cc const FieldDescriptor* field = descriptor->field(i); field 338 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (field->is_repeated()) { field 339 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->cpp_type()) { field 357 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->options().ctype()) { field 372 third_party/protobuf/src/google/protobuf/dynamic_message.cc } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { field 373 third_party/protobuf/src/google/protobuf/dynamic_message.cc switch (field->options().ctype()) { field 377 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (ptr != &field->default_value_string()) { field 383 third_party/protobuf/src/google/protobuf/dynamic_message.cc } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 403 third_party/protobuf/src/google/protobuf/dynamic_message.cc const FieldDescriptor* field = descriptor->field(i); field 406 third_party/protobuf/src/google/protobuf/dynamic_message.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && field 407 third_party/protobuf/src/google/protobuf/dynamic_message.cc !field->is_repeated()) { field 413 third_party/protobuf/src/google/protobuf/dynamic_message.cc factory->GetPrototypeNoLock(field->message_type()); field 529 third_party/protobuf/src/google/protobuf/dynamic_message.cc int field_size = FieldSpaceUsed(type->field(i)); field 548 third_party/protobuf/src/google/protobuf/extension_set.h RepeatedPtrFieldBase* field); field 289 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc RepeatedPtrFieldBase* field) { field 290 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc return field->SpaceUsedExcludingSelf<GenericTypeHandler<Message> >(); field 585 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc template_descriptor_proto.field()); field 69 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Descriptor* descriptor, const FieldDescriptor* field, field 75 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc " Field : " << field->full_name() << "\n" field 94 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Descriptor* descriptor, const FieldDescriptor* field, field 101 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc " Field : " << field->full_name() << "\n" field 104 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc " Field type: " << cpptype_names_[field->cpp_type()]; field 108 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Descriptor* descriptor, const FieldDescriptor* field, field 114 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc " Field : " << field->full_name() << "\n" field 116 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc " Expected : " << field->enum_type()->full_name() << "\n" field 122 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc ReportReflectionUsageError(descriptor_, field, #METHOD, ERROR_DESCRIPTION) field 129 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \ field 130 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc ReportReflectionUsageTypeError(descriptor_, field, #METHOD, \ field 134 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (value->type() != field->enum_type()) \ field 135 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc ReportReflectionUsageEnumTypeError(descriptor_, field, #METHOD, value) field 138 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc USAGE_CHECK_EQ(field->containing_type(), descriptor_, \ field 141 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc USAGE_CHECK_NE(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \ field 144 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc USAGE_CHECK_EQ(field->label(), FieldDescriptor::LABEL_REPEATED, METHOD, \ field 206 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field = descriptor_->field(i); field 208 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_repeated()) { field 209 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 212 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc total_size += GetRaw<RepeatedField<LOWERCASE> >(message, field) \ field 227 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 230 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc total_size += GetRaw<RepeatedPtrField<string> >(message, field) field 240 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GetRaw<RepeatedPtrFieldBase>(message, field) field 245 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 258 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 261 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const string* ptr = GetField<const string*>(message, field); field 266 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const string* default_ptr = DefaultRaw<const string*>(field); field 284 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message* sub_message = GetRaw<const Message*>(message, field); field 327 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field = descriptor_->field(i); field 328 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_repeated()) { field 329 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 332 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<TYPE> >(message1, field)->Swap( \ field 333 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<TYPE> >(message2, field)); \ field 348 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message1, field)->Swap( field 349 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message2, field)); field 353 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); field 356 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 359 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc std::swap(*MutableRaw<TYPE>(message1, field), \ field 360 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<TYPE>(message2, field)); \ field 373 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc std::swap(*MutableRaw<Message*>(message1, field), field 374 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<Message*>(message2, field)); field 378 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 381 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc std::swap(*MutableRaw<string*>(message1, field), field 382 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<string*>(message2, field)); field 388 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); field 403 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field) const { field 407 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 408 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).Has(field->number()); field 410 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return HasBit(message, field); field 415 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field) const { field 419 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 420 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).ExtensionSize(field->number()); field 422 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 425 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<RepeatedField<LOWERCASE> >(message, field).size() field 439 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<RepeatedPtrFieldBase>(message, field).size(); field 448 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 451 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 452 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->ClearExtension(field->number()); field 453 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc } else if (!field->is_repeated()) { field 454 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (HasBit(*message, field)) { field 455 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc ClearBit(message, field); field 458 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 461 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<TYPE>(message, field) = \ field 462 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->default_value_##TYPE(); \ field 475 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<int>(message, field) = field 476 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->default_value_enum()->number(); field 480 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 483 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const string* default_ptr = DefaultRaw<const string*>(field); field 484 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc string** value = MutableRaw<string*>(message, field); field 486 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->has_default_value()) { field 487 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc (*value)->assign(field->default_value_string()); field 498 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc (*MutableRaw<Message*>(message, field))->Clear(); field 503 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 506 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<LOWERCASE> >(message, field)->Clear(); \ field 520 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 523 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrField<string> >(message, field)->Clear(); field 532 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message, field) field 542 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field) const { field 546 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 547 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->RemoveLast(field->number()); field 549 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 552 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<LOWERCASE> >(message, field)->RemoveLast(); \ field 566 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 569 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrField<string> >(message, field)->RemoveLast(); field 575 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message, field) field 584 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field) const { field 587 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 589 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->ReleaseLast(field->number())); field 591 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return MutableRaw<RepeatedPtrFieldBase>(message, field) field 598 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field, field 604 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 605 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->SwapElements(field->number(), index1, index2); field 607 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->cpp_type()) { field 610 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<LOWERCASE> >(message, field) \ field 626 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message, field) field 652 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field = descriptor_->field(i); field 653 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_repeated()) { field 654 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (FieldSize(message, field) > 0) { field 655 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc output->push_back(field); field 658 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (HasBit(message, field)) { field 659 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc output->push_back(field); field 678 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { \ field 680 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { \ field 682 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), field->default_value_##PASSTYPE()); \ field 684 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetField<TYPE>(message, field); \ field 689 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, \ field 692 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { \ field 694 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), field->type(), value, field); \ field 696 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetField<TYPE>(message, field, value); \ field 702 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field, int index) const { \ field 704 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { \ field 706 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), index); \ field 708 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRepeatedField<TYPE>(message, field, index); \ field 713 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, \ field 716 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { \ field 718 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), index, value); \ field 720 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetRepeatedField<TYPE>(message, field, index, value); \ field 725 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, \ field 728 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { \ field 730 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), field->type(), field->options().packed(), value, \ field 731 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field); \ field 733 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc AddField<TYPE>(message, field, value); \ field 749 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { field 751 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 752 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).GetString(field->number(), field 753 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->default_value_string()); field 755 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 758 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return *GetField<const string*>(message, field); field 768 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field, string* scratch) const { field 770 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 771 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).GetString(field->number(), field 772 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->default_value_string()); field 774 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 777 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return *GetField<const string*>(message, field); field 787 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 790 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 791 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return MutableExtensionSet(message)->SetString(field->number(), field 792 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->type(), value, field); field 794 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 797 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc string** ptr = MutableField<string*>(message, field); field 798 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (*ptr == DefaultRaw<const string*>(field)) { field 811 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, int index) const { field 813 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 814 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).GetRepeatedString(field->number(), index); field 816 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 819 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRepeatedPtrField<string>(message, field, index); field 828 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, field 831 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 832 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetExtensionSet(message).GetRepeatedString(field->number(), index); field 834 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 837 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRepeatedPtrField<string>(message, field, index); field 847 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 850 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 852 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), index, value); field 854 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 857 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRepeatedField<string>(message, field, index) = value; field 865 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 868 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 869 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->AddString(field->number(), field 870 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->type(), value, field); field 872 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc switch (field->options().ctype()) { field 875 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *AddField<string>(message, field) = value; field 885 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { field 889 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 891 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), field->default_value_enum()->number()); field 893 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc value = GetField<int>(message, field); field 896 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->enum_type()->FindValueByNumber(value); field 898 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc << field->full_name() << " of type " field 899 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc << field->enum_type()->full_name() << "."; field 904 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 909 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 910 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->SetEnum(field->number(), field->type(), field 911 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc value->number(), field); field 913 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetField<int>(message, field, value->number()); field 918 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, int index) const { field 922 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 923 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc value = GetExtensionSet(message).GetRepeatedEnum(field->number(), index); field 925 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc value = GetRepeatedField<int>(message, field, index); field 928 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->enum_type()->FindValueByNumber(value); field 930 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc << field->full_name() << " of type " field 931 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc << field->enum_type()->full_name() << "."; field 937 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field, int index, field 942 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 944 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), index, value->number()); field 946 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetRepeatedField<int>(message, field, index, value->number()); field 951 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 956 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 957 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->AddEnum(field->number(), field->type(), field 958 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->options().packed(), field 959 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc value->number(), field); field 961 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc AddField<int>(message, field, value->number()); field 968 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, field 974 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 977 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), field->message_type(), factory)); field 980 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc result = GetRaw<const Message*>(message, field); field 982 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc result = DefaultRaw<const Message*>(field); field 989 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 995 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 997 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->MutableMessage(field, factory)); field 1000 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message** result_holder = MutableField<Message*>(message, field); field 1002 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message* default_message = DefaultRaw<const Message*>(field); field 1012 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field, field 1018 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 1020 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->ReleaseMessage(field, factory)); field 1022 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc ClearBit(message, field); field 1023 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message** result = MutableRaw<Message*>(message, field); field 1031 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, int index) const { field 1034 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 1036 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GetExtensionSet(message).GetRepeatedMessage(field->number(), index)); field 1038 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<RepeatedPtrFieldBase>(message, field) field 1044 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, int index) const { field 1047 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 1050 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number(), index)); field 1052 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return MutableRaw<RepeatedPtrFieldBase>(message, field) field 1058 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 1064 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) { field 1066 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableExtensionSet(message)->AddMessage(field, factory)); field 1071 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrFieldBase>(message, field); field 1077 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc prototype = factory->GetPrototype(field->message_type()); field 1089 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 1093 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->cpp_type() != cpptype) field 1095 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field, "MutableRawRepeatedField", cpptype); field 1097 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GOOGLE_CHECK_EQ(field->options().ctype(), ctype) << "subtype mismatch"; field 1099 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc GOOGLE_CHECK_EQ(field->message_type(), desc) << "wrong submessage type"; field 1100 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc if (field->is_extension()) field 1102 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc field->number()); field 1104 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return reinterpret_cast<uint8*>(message) + offsets_[field->index()]; field 1152 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { field 1154 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc offsets_[field->index()]; field 1160 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 1161 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc void* ptr = reinterpret_cast<uint8*>(message) + offsets_[field->index()]; field 1167 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const FieldDescriptor* field) const { field 1169 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc offsets_[field->index()]; field 1200 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { field 1201 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetHasBits(message)[field->index() / 32] & field 1202 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc (1 << (field->index() % 32)); field 1206 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 1207 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableHasBits(message)[field->index() / 32] |= (1 << (field->index() % 32)); field 1211 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 1212 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableHasBits(message)[field->index() / 32] &= ~(1 << (field->index() % 32)); field 1220 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field) const { field 1221 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<Type>(message, field); field 1226 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, const Type& value) const { field 1227 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc *MutableRaw<Type>(message, field) = value; field 1228 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetBit(message, field); field 1233 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 1234 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc SetBit(message, field); field 1235 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return MutableRaw<Type>(message, field); field 1240 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, int index) const { field 1241 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<RepeatedField<Type> >(message, field).Get(index); field 1246 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc const Message& message, const FieldDescriptor* field, int index) const { field 1247 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc return GetRaw<RepeatedPtrField<Type> >(message, field).Get(index); field 1252 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, field 1254 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<Type> >(message, field)->Set(index, value); field 1259 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, int index) const { field 1261 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrField<Type> >(message, field); field 1267 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field, const Type& value) const { field 1268 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedField<Type> >(message, field)->Add(value); field 1273 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc Message* message, const FieldDescriptor* field) const { field 1275 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc MutableRaw<RepeatedPtrField<Type> >(message, field); field 146 third_party/protobuf/src/google/protobuf/generated_message_reflection.h bool HasField(const Message& message, const FieldDescriptor* field) const; field 147 third_party/protobuf/src/google/protobuf/generated_message_reflection.h int FieldSize(const Message& message, const FieldDescriptor* field) const; field 148 third_party/protobuf/src/google/protobuf/generated_message_reflection.h void ClearField(Message* message, const FieldDescriptor* field) const; field 149 third_party/protobuf/src/google/protobuf/generated_message_reflection.h void RemoveLast(Message* message, const FieldDescriptor* field) const; field 150 third_party/protobuf/src/google/protobuf/generated_message_reflection.h Message* ReleaseLast(Message* message, const FieldDescriptor* field) const; field 152 third_party/protobuf/src/google/protobuf/generated_message_reflection.h void SwapElements(Message* message, const FieldDescriptor* field, field 158 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 160 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 162 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 164 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 166 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 168 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 170 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 172 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 174 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 177 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 179 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 183 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int32 value) const; field 185 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int64 value) const; field 187 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, uint32 value) const; field 189 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, uint64 value) const; field 191 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, float value) const; field 193 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, double value) const; field 195 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, bool value) const; field 197 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 199 third_party/protobuf/src/google/protobuf/generated_message_reflection.h void SetEnum (Message* message, const FieldDescriptor* field, field 201 third_party/protobuf/src/google/protobuf/generated_message_reflection.h Message* MutableMessage(Message* message, const FieldDescriptor* field, field 203 third_party/protobuf/src/google/protobuf/generated_message_reflection.h Message* ReleaseMessage(Message* message, const FieldDescriptor* field, field 207 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 209 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 211 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 213 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 215 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 217 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 219 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 221 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index) const; field 223 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 226 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 229 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 234 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, int32 value) const; field 236 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, int64 value) const; field 238 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, uint32 value) const; field 240 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, uint64 value) const; field 242 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, float value) const; field 244 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, double value) const; field 246 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, bool value) const; field 248 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, field 250 third_party/protobuf/src/google/protobuf/generated_message_reflection.h void SetRepeatedEnum(Message* message, const FieldDescriptor* field, field 254 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 258 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int32 value) const; field 260 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int64 value) const; field 262 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, uint32 value) const; field 264 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, uint64 value) const; field 266 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, float value) const; field 268 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, double value) const; field 270 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, bool value) const; field 272 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, const string& value) const; field 274 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 276 third_party/protobuf/src/google/protobuf/generated_message_reflection.h Message* AddMessage(Message* message, const FieldDescriptor* field, field 284 third_party/protobuf/src/google/protobuf/generated_message_reflection.h Message* message, const FieldDescriptor* field, FieldDescriptor::CppType, field 308 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 311 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 313 third_party/protobuf/src/google/protobuf/generated_message_reflection.h inline const Type& DefaultRaw(const FieldDescriptor* field) const; field 321 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 323 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 325 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 329 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 332 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, const Type& value) const; field 335 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 338 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 342 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 346 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, int index, field 350 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, field 354 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field, const Type& value) const; field 357 third_party/protobuf/src/google/protobuf/generated_message_reflection.h const FieldDescriptor* field) const; field 194 third_party/protobuf/src/google/protobuf/message.cc const Message& message, const FieldDescriptor* field) const { \ field 197 third_party/protobuf/src/google/protobuf/message.cc field, CPPTYPE, CTYPE, NULL)); \ field 202 third_party/protobuf/src/google/protobuf/message.cc Message* message, const FieldDescriptor* field) const { \ field 204 third_party/protobuf/src/google/protobuf/message.cc MutableRawRepeatedField(message, field, CPPTYPE, CTYPE, NULL)); \ field 219 third_party/protobuf/src/google/protobuf/message.cc Message* message, const FieldDescriptor* field, bool is_string) const { field 220 third_party/protobuf/src/google/protobuf/message.cc return MutableRawRepeatedField(message, field, field 380 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 384 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 389 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 399 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 403 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 410 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 427 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 429 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 431 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 433 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 435 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 437 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 439 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 441 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field) const = 0; field 443 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field) const = 0; field 446 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 465 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 473 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int32 value) const = 0; field 475 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int64 value) const = 0; field 477 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, uint32 value) const = 0; field 479 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, uint64 value) const = 0; field 481 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, float value) const = 0; field 483 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, double value) const = 0; field 485 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, bool value) const = 0; field 487 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 490 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 503 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 513 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 521 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 524 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 527 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 530 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 533 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 536 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 539 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 542 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 546 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int index) const = 0; field 549 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int index) const = 0; field 553 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field, field 561 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 564 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 567 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 570 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 573 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 576 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 579 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 582 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 585 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int index, field 590 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field, int index) const = 0; field 597 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int32 value) const = 0; field 599 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, int64 value) const = 0; field 601 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, uint32 value) const = 0; field 603 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, uint64 value) const = 0; field 605 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, float value) const = 0; field 607 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, double value) const = 0; field 609 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, bool value) const = 0; field 611 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 614 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 618 third_party/protobuf/src/google/protobuf/message.h const FieldDescriptor* field, field 675 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field, FieldDescriptor::CppType, field 684 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field, bool is_string) const; field 757 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field) const; \ field 762 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field) const; field 783 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field) const { field 785 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedString(const_cast<Message*>(&message), field, true)); field 790 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field) const { field 792 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedString(message, field, true)); field 800 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field) const { field 802 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedField(const_cast<Message*>(&message), field, field 809 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field) const { field 811 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedField(message, field, field 818 third_party/protobuf/src/google/protobuf/message.h const Message& message, const FieldDescriptor* field) const { field 820 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedField(const_cast<Message*>(&message), field, field 827 third_party/protobuf/src/google/protobuf/message.h Message* message, const FieldDescriptor* field) const { field 829 third_party/protobuf/src/google/protobuf/message.h MutableRawRepeatedField(message, field, field 67 third_party/protobuf/src/google/protobuf/reflection_ops.cc const FieldDescriptor* field = fields[i]; field 69 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->is_repeated()) { field 70 third_party/protobuf/src/google/protobuf/reflection_ops.cc int count = from_reflection->FieldSize(from, field); field 72 third_party/protobuf/src/google/protobuf/reflection_ops.cc switch (field->cpp_type()) { field 75 third_party/protobuf/src/google/protobuf/reflection_ops.cc to_reflection->Add##METHOD(to, field, \ field 76 third_party/protobuf/src/google/protobuf/reflection_ops.cc from_reflection->GetRepeated##METHOD(from, field, j)); \ field 91 third_party/protobuf/src/google/protobuf/reflection_ops.cc to_reflection->AddMessage(to, field)->MergeFrom( field 92 third_party/protobuf/src/google/protobuf/reflection_ops.cc from_reflection->GetRepeatedMessage(from, field, j)); field 97 third_party/protobuf/src/google/protobuf/reflection_ops.cc switch (field->cpp_type()) { field 100 third_party/protobuf/src/google/protobuf/reflection_ops.cc to_reflection->Set##METHOD(to, field, \ field 101 third_party/protobuf/src/google/protobuf/reflection_ops.cc from_reflection->Get##METHOD(from, field)); \ field 116 third_party/protobuf/src/google/protobuf/reflection_ops.cc to_reflection->MutableMessage(to, field)->MergeFrom( field 117 third_party/protobuf/src/google/protobuf/reflection_ops.cc from_reflection->GetMessage(from, field)); field 145 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (descriptor->field(i)->is_required()) { field 146 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (!reflection->HasField(message, descriptor->field(i))) { field 156 third_party/protobuf/src/google/protobuf/reflection_ops.cc const FieldDescriptor* field = fields[i]; field 157 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 159 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->is_repeated()) { field 160 third_party/protobuf/src/google/protobuf/reflection_ops.cc int size = reflection->FieldSize(message, field); field 163 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (!reflection->GetRepeatedMessage(message, field, j) field 169 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (!reflection->GetMessage(message, field).IsInitialized()) { field 187 third_party/protobuf/src/google/protobuf/reflection_ops.cc const FieldDescriptor* field = fields[i]; field 188 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 189 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->is_repeated()) { field 190 third_party/protobuf/src/google/protobuf/reflection_ops.cc int size = reflection->FieldSize(*message, field); field 192 third_party/protobuf/src/google/protobuf/reflection_ops.cc reflection->MutableRepeatedMessage(message, field, j) field 196 third_party/protobuf/src/google/protobuf/reflection_ops.cc reflection->MutableMessage(message, field)->DiscardUnknownFields(); field 203 third_party/protobuf/src/google/protobuf/reflection_ops.cc const FieldDescriptor* field, field 206 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->is_extension()) { field 208 third_party/protobuf/src/google/protobuf/reflection_ops.cc result.append(field->full_name()); field 211 third_party/protobuf/src/google/protobuf/reflection_ops.cc result.append(field->name()); field 231 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (descriptor->field(i)->is_required()) { field 232 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (!reflection->HasField(message, descriptor->field(i))) { field 233 third_party/protobuf/src/google/protobuf/reflection_ops.cc errors->push_back(prefix + descriptor->field(i)->name()); field 242 third_party/protobuf/src/google/protobuf/reflection_ops.cc const FieldDescriptor* field = fields[i]; field 243 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 245 third_party/protobuf/src/google/protobuf/reflection_ops.cc if (field->is_repeated()) { field 246 third_party/protobuf/src/google/protobuf/reflection_ops.cc int size = reflection->FieldSize(message, field); field 250 third_party/protobuf/src/google/protobuf/reflection_ops.cc reflection->GetRepeatedMessage(message, field, j); field 252 third_party/protobuf/src/google/protobuf/reflection_ops.cc SubMessagePrefix(prefix, field, j), field 256 third_party/protobuf/src/google/protobuf/reflection_ops.cc const Message& sub_message = reflection->GetMessage(message, field); field 258 third_party/protobuf/src/google/protobuf/reflection_ops.cc SubMessagePrefix(prefix, field, -1), field 148 third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc message1.unknown_fields().field(0).type()); field 149 third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); field 151 third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc message1.unknown_fields().field(1).type()); field 152 third_party/protobuf/src/google/protobuf/reflection_ops_unittest.cc EXPECT_EQ(2, message1.unknown_fields().field(1).varint()); field 60 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 62 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 0); field 64 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(5); field 66 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 1); field 67 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), 5); field 69 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(42); field 71 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 2); field 72 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), 5); field 73 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(1), 42); field 75 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Set(1, 23); field 77 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 2); field 78 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), 5); field 79 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(1), 23); field 81 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 83 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 1); field 84 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), 5); field 86 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Clear(); field 88 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 0); field 90 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.SpaceUsedExcludingSelf(), expected_usage); field 97 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 100 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(i * i); field 103 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 16); field 106 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(i), i * i); field 110 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_GE(field.SpaceUsedExcludingSelf(), expected_usage); field 175 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc static int ReservedSpace(RepeatedField<int>* field) { field 176 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const int* ptr = field->data(); field 178 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field->Add(0); field 179 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc } while (field->data() == ptr); field 181 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc return field->size() - 1; field 187 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 188 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 190 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(20, ReservedSpace(&field)); field 196 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 197 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 198 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(30); field 200 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(40, ReservedSpace(&field)); field 206 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 207 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 208 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const int* previous_ptr = field.data(); field 209 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(10); field 211 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(previous_ptr, field.data()); field 212 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(20, ReservedSpace(&field)); field 265 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field(values.begin(), values.end()); field 266 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc ASSERT_EQ(values.size(), field.size()); field 267 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[0], field.Get(0)); field 268 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[1], field.Get(1)); field 270 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> other(field.begin(), field.end()); field 306 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 307 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(1); field 308 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(1, field.Get(0)); field 311 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc *field.mutable_data() = 2; field 312 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(2, field.Get(0)); field 316 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int> field; field 318 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(12); field 319 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(34); field 320 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(56); field 321 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(78); field 322 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(4, field.size()); field 324 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Truncate(3); field 325 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(3, field.size()); field 327 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(90); field 328 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(4, field.size()); field 329 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(90, field.Get(3)); field 333 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Truncate(field.size()); field 335 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_DEBUG_DEATH(field.Truncate(field.size() + 1), "new_size"); field 346 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedField<int32> field; field 348 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(i); field 349 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz); field 355 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.ExtractSubrange(start, num, catcher); field 358 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz - num); field 367 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(i), i); field 368 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc for (int i = start; i < field.size(); ++i) field 369 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(i), i + num); field 380 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 382 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 0); field 384 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add()->assign("foo"); field 386 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 1); field 387 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), "foo"); field 389 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add()->assign("bar"); field 391 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 2); field 392 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), "foo"); field 393 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(1), "bar"); field 395 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Mutable(1)->assign("baz"); field 397 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 2); field 398 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), "foo"); field 399 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(1), "baz"); field 401 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 403 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 1); field 404 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(0), "foo"); field 406 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Clear(); field 408 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 0); field 413 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 416 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc *field.Add() += 'a' + i; field 419 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), 16); field 422 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(i).size(), 1); field 423 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Get(i)[0], 'a' + i); field 427 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_GE(field.SpaceUsedExcludingSelf(), min_expected_usage); field 491 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc static int ReservedSpace(RepeatedPtrField<string>* field) { field 492 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const string* const* ptr = field->data(); field 494 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field->Add(); field 495 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc } while (field->data() == ptr); field 497 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc return field->size() - 1; field 501 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 502 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 504 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(20, ReservedSpace(&field)); field 508 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 509 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 510 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(30); field 512 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(40, ReservedSpace(&field)); field 516 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 517 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 518 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc const string* const* previous_ptr = field.data(); field 519 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(10); field 521 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(previous_ptr, field.data()); field 522 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(20, ReservedSpace(&field)); field 529 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 530 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc string* first = field.Add(); field 531 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 533 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Reserve(20); field 534 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(first, field.Add()); field 540 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 542 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc string* original = field.Add(); field 545 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 547 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 549 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 1); field 551 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Add(), original); // Should return same string for reuse. field 553 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ReleaseLast(), original); // We take ownership. field 554 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 556 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_NE(field.Add(), original); // Should NOT return the same string. field 557 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 559 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(original); // Give ownership back. field 560 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 561 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Mutable(1), original); field 563 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Clear(); field 564 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 2); field 565 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ReleaseCleared(), original); // Take ownership again. field 566 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 1); field 567 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_NE(field.Add(), original); field 568 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 569 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_NE(field.Add(), original); field 570 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 572 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddCleared(original); // Give ownership back, but as a cleared object. field 573 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 1); field 574 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Add(), original); field 575 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 580 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 581 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc while (field.size() < field.Capacity()) { field 582 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add()->assign("filler"); field 585 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc int index = field.size(); field 589 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(foo); field 590 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(index + 1, field.size()); field 591 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(0, field.ClearedCount()); field 592 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(foo, &field.Get(index)); field 596 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(bar); field 598 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(index + 1, field.size()); field 599 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(0, field.ClearedCount()); field 600 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(bar, &field.Get(index)); field 603 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 605 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(baz); field 606 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(index + 1, field.size()); field 607 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(1, field.ClearedCount()); field 608 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(baz, &field.Get(index)); field 611 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc while (field.size() < field.Capacity()) { field 612 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add()->assign("filler2"); field 614 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 615 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc index = field.size(); field 617 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(qux); field 618 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(index + 1, field.size()); field 620 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(0, field.ClearedCount()); field 621 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(qux, &field.Get(index)); field 674 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field(values.begin(), values.end()); field 675 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc ASSERT_EQ(values.size(), field.size()); field 676 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[0], field.Get(0)); field 677 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[1], field.Get(1)); field 679 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> other(field.begin(), field.end()); field 693 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<Nested> field(values.begin(), values.end()); field 694 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc ASSERT_EQ(values.size(), field.size()); field 695 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[0].bb(), field.Get(0).bb()); field 696 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(values[1].bb(), field.Get(1).bb()); field 698 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<Nested> other(field.begin(), field.end()); field 734 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 735 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc *field.Add() = "1"; field 736 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ("1", field.Get(0)); field 739 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc string** data = field.mutable_data(); field 741 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ("2", field.Get(0)); field 754 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc RepeatedPtrField<string> field; field 757 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.AddAllocated(subject[i]); field 759 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz + extra); field 761 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.RemoveLast(); field 762 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz); field 763 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), extra); field 769 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.ExtractSubrange(start, num, catcher); field 772 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz - num); field 781 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Mutable(i), subject[i]); field 782 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc for (int i = start; i < field.size(); ++i) field 783 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.Mutable(i), subject[i + num]); field 786 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), extra); field 788 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc field.Add(); field 789 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.ClearedCount(), 0); field 790 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc EXPECT_EQ(field.size(), sz - num + extra); field 796 third_party/protobuf/src/google/protobuf/repeated_field_unittest.cc if (field.Mutable(j - num) == subject[i]) field 2976 third_party/protobuf/src/google/protobuf/test_util.cc const FieldDescriptor* field = output[i]; field 2977 third_party/protobuf/src/google/protobuf/test_util.cc if (!field->is_repeated()) continue; field 2979 third_party/protobuf/src/google/protobuf/test_util.cc reflection->RemoveLast(message, field); field 2990 third_party/protobuf/src/google/protobuf/test_util.cc const FieldDescriptor* field = output[i]; field 2991 third_party/protobuf/src/google/protobuf/test_util.cc if (!field->is_repeated()) continue; field 2992 third_party/protobuf/src/google/protobuf/test_util.cc if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) continue; field 2994 third_party/protobuf/src/google/protobuf/test_util.cc Message* released = reflection->ReleaseLast(message, field); field 2995 third_party/protobuf/src/google/protobuf/test_util.cc if (!field->is_extension() || expect_extensions_notnull) { field 2997 third_party/protobuf/src/google/protobuf/test_util.cc << field->name(); field 3009 third_party/protobuf/src/google/protobuf/test_util.cc const FieldDescriptor* field = output[i]; field 3010 third_party/protobuf/src/google/protobuf/test_util.cc if (!field->is_repeated()) continue; field 3012 third_party/protobuf/src/google/protobuf/test_util.cc reflection->SwapElements(message, field, 0, 1); field 110 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 112 third_party/protobuf/src/google/protobuf/text_format.cc locations_[field].push_back(location); field 116 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field) { field 119 third_party/protobuf/src/google/protobuf/text_format.cc vector<TextFormat::ParseInfoTree*>* trees = &nested_[field]; field 125 third_party/protobuf/src/google/protobuf/text_format.cc void CheckFieldIndex(const FieldDescriptor* field, int index) { field 126 third_party/protobuf/src/google/protobuf/text_format.cc if (field == NULL) { return; } field 128 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated() && index == -1) { field 130 third_party/protobuf/src/google/protobuf/text_format.cc << "Field: " << field->name(); field 131 third_party/protobuf/src/google/protobuf/text_format.cc } else if (!field->is_repeated() && index != -1) { field 133 third_party/protobuf/src/google/protobuf/text_format.cc << "Field: " << field->name(); field 138 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, int index) const { field 139 third_party/protobuf/src/google/protobuf/text_format.cc CheckFieldIndex(field, index); field 143 third_party/protobuf/src/google/protobuf/text_format.cc FindOrNull(locations_, field); field 152 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, int index) const { field 153 third_party/protobuf/src/google/protobuf/text_format.cc CheckFieldIndex(field, index); field 156 third_party/protobuf/src/google/protobuf/text_format.cc const vector<TextFormat::ParseInfoTree*>* trees = FindOrNull(nested_, field); field 231 third_party/protobuf/src/google/protobuf/text_format.cc bool ParseField(const FieldDescriptor* field, Message* output) { field 233 third_party/protobuf/src/google/protobuf/text_format.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 234 third_party/protobuf/src/google/protobuf/text_format.cc suc = ConsumeFieldMessage(output, output->GetReflection(), field); field 236 third_party/protobuf/src/google/protobuf/text_format.cc suc = ConsumeFieldValue(output, output->GetReflection(), field); field 315 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field = NULL; field 330 third_party/protobuf/src/google/protobuf/text_format.cc field = (finder_ != NULL field 334 third_party/protobuf/src/google/protobuf/text_format.cc if (field == NULL) { field 349 third_party/protobuf/src/google/protobuf/text_format.cc field = descriptor->FindFieldByName(field_name); field 353 third_party/protobuf/src/google/protobuf/text_format.cc if (field == NULL) { field 356 third_party/protobuf/src/google/protobuf/text_format.cc field = descriptor->FindFieldByName(lower_field_name); field 358 third_party/protobuf/src/google/protobuf/text_format.cc if (field != NULL && field->type() != FieldDescriptor::TYPE_GROUP) { field 359 third_party/protobuf/src/google/protobuf/text_format.cc field = NULL; field 363 third_party/protobuf/src/google/protobuf/text_format.cc if (field != NULL && field->type() == FieldDescriptor::TYPE_GROUP field 364 third_party/protobuf/src/google/protobuf/text_format.cc && field->message_type()->name() != field_name) { field 365 third_party/protobuf/src/google/protobuf/text_format.cc field = NULL; field 368 third_party/protobuf/src/google/protobuf/text_format.cc if (field == NULL) { field 381 third_party/protobuf/src/google/protobuf/text_format.cc if (field == NULL) { field 398 third_party/protobuf/src/google/protobuf/text_format.cc !field->is_repeated() && reflection->HasField(*message, field)) { field 405 third_party/protobuf/src/google/protobuf/text_format.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 408 third_party/protobuf/src/google/protobuf/text_format.cc DO(ConsumeFieldMessage(message, reflection, field)); field 411 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated() && TryConsume("[")) { field 414 third_party/protobuf/src/google/protobuf/text_format.cc DO(ConsumeFieldValue(message, reflection, field)); field 421 third_party/protobuf/src/google/protobuf/text_format.cc DO(ConsumeFieldValue(message, reflection, field)); field 429 third_party/protobuf/src/google/protobuf/text_format.cc if (field->options().deprecated()) { field 437 third_party/protobuf/src/google/protobuf/text_format.cc RecordLocation(parse_info_tree_, field, field 480 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field) { field 486 third_party/protobuf/src/google/protobuf/text_format.cc parse_info_tree_ = CreateNested(parent, field); field 497 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated()) { field 498 third_party/protobuf/src/google/protobuf/text_format.cc DO(ConsumeMessage(reflection->AddMessage(message, field), delimeter)); field 500 third_party/protobuf/src/google/protobuf/text_format.cc DO(ConsumeMessage(reflection->MutableMessage(message, field), field 528 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field) { field 534 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated()) { \ field 535 third_party/protobuf/src/google/protobuf/text_format.cc reflection->Add##CPPTYPE(message, field, VALUE); \ field 537 third_party/protobuf/src/google/protobuf/text_format.cc reflection->Set##CPPTYPE(message, field, VALUE); \ field 540 third_party/protobuf/src/google/protobuf/text_format.cc switch(field->cpp_type()) { field 603 third_party/protobuf/src/google/protobuf/text_format.cc ReportError("Invalid value for boolean field \"" + field->name() field 613 third_party/protobuf/src/google/protobuf/text_format.cc const EnumDescriptor* enum_type = field->enum_type(); field 634 third_party/protobuf/src/google/protobuf/text_format.cc "field \"" + field->name() + "\"."); field 1094 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1101 third_party/protobuf/src/google/protobuf/text_format.cc return parser.ParseField(field, output); field 1190 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1200 third_party/protobuf/src/google/protobuf/text_format.cc PrintFieldValue(message, message.GetReflection(), field, index, generator); field 1205 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1208 third_party/protobuf/src/google/protobuf/text_format.cc field->is_repeated() && field 1209 third_party/protobuf/src/google/protobuf/text_format.cc field->cpp_type() != FieldDescriptor::CPPTYPE_STRING && field 1210 third_party/protobuf/src/google/protobuf/text_format.cc field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { field 1211 third_party/protobuf/src/google/protobuf/text_format.cc PrintShortRepeatedField(message, reflection, field, generator); field 1217 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated()) { field 1218 third_party/protobuf/src/google/protobuf/text_format.cc count = reflection->FieldSize(message, field); field 1219 third_party/protobuf/src/google/protobuf/text_format.cc } else if (reflection->HasField(message, field)) { field 1224 third_party/protobuf/src/google/protobuf/text_format.cc PrintFieldName(message, reflection, field, generator); field 1226 third_party/protobuf/src/google/protobuf/text_format.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1239 third_party/protobuf/src/google/protobuf/text_format.cc if (!field->is_repeated()) { field 1243 third_party/protobuf/src/google/protobuf/text_format.cc PrintFieldValue(message, reflection, field, field_index, generator); field 1245 third_party/protobuf/src/google/protobuf/text_format.cc if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { field 1265 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1268 third_party/protobuf/src/google/protobuf/text_format.cc PrintFieldName(message, reflection, field, generator); field 1270 third_party/protobuf/src/google/protobuf/text_format.cc int size = reflection->FieldSize(message, field); field 1274 third_party/protobuf/src/google/protobuf/text_format.cc PrintFieldValue(message, reflection, field, i, generator); field 1285 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1287 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_extension()) { field 1290 third_party/protobuf/src/google/protobuf/text_format.cc if (field->containing_type()->options().message_set_wire_format() field 1291 third_party/protobuf/src/google/protobuf/text_format.cc && field->type() == FieldDescriptor::TYPE_MESSAGE field 1292 third_party/protobuf/src/google/protobuf/text_format.cc && field->is_optional() field 1293 third_party/protobuf/src/google/protobuf/text_format.cc && field->extension_scope() == field->message_type()) { field 1294 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(field->message_type()->full_name()); field 1296 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(field->full_name()); field 1300 third_party/protobuf/src/google/protobuf/text_format.cc if (field->type() == FieldDescriptor::TYPE_GROUP) { field 1302 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(field->message_type()->name()); field 1304 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(field->name()); field 1312 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1315 third_party/protobuf/src/google/protobuf/text_format.cc GOOGLE_DCHECK(field->is_repeated() || (index == -1)) field 1318 third_party/protobuf/src/google/protobuf/text_format.cc switch (field->cpp_type()) { field 1321 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(TO_STRING(field->is_repeated() ? \ field 1322 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetRepeated##METHOD(message, field, index) : \ field 1323 third_party/protobuf/src/google/protobuf/text_format.cc reflection->Get##METHOD(message, field))); \ field 1336 third_party/protobuf/src/google/protobuf/text_format.cc const string& value = field->is_repeated() ? field 1338 third_party/protobuf/src/google/protobuf/text_format.cc message, field, index, &scratch) : field 1339 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetStringReference(message, field, &scratch); field 1353 third_party/protobuf/src/google/protobuf/text_format.cc if (field->is_repeated()) { field 1354 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(reflection->GetRepeatedBool(message, field, index) field 1357 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(reflection->GetBool(message, field) field 1363 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(field->is_repeated() ? field 1364 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetRepeatedEnum(message, field, index)->name() : field 1365 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetEnum(message, field)->name()); field 1369 third_party/protobuf/src/google/protobuf/text_format.cc Print(field->is_repeated() ? field 1370 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetRepeatedMessage(message, field, index) : field 1371 third_party/protobuf/src/google/protobuf/text_format.cc reflection->GetMessage(message, field), field 1400 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1403 third_party/protobuf/src/google/protobuf/text_format.cc return Printer().PrintFieldValueToString(message, field, index, output); field 1408 third_party/protobuf/src/google/protobuf/text_format.cc const FieldDescriptor* field, field 1410 third_party/protobuf/src/google/protobuf/text_format.cc return Parser().ParseFieldValueFromString(input, field, message); field 1428 third_party/protobuf/src/google/protobuf/text_format.cc const UnknownField& field = unknown_fields.field(i); field 1429 third_party/protobuf/src/google/protobuf/text_format.cc string field_number = SimpleItoa(field.number()); field 1431 third_party/protobuf/src/google/protobuf/text_format.cc switch (field.type()) { field 1435 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(SimpleItoa(field.varint())); field 1446 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(FastHex32ToBuffer(field.fixed32(), buffer)); field 1458 third_party/protobuf/src/google/protobuf/text_format.cc generator.Print(FastHex64ToBuffer(field.fixed64(), buffer)); field 1468 third_party/protobuf/src/google/protobuf/text_format.cc const string& value = field.length_delimited(); field 1508 third_party/protobuf/src/google/protobuf/text_format.cc PrintUnknownFields(field.group(), generator); field 84 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 107 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 153 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 159 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 166 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 173 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 209 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 246 third_party/protobuf/src/google/protobuf/text_format.h ParseLocation GetLocation(const FieldDescriptor* field, int index) const; field 251 third_party/protobuf/src/google/protobuf/text_format.h ParseInfoTree* GetTreeForNested(const FieldDescriptor* field, field 259 third_party/protobuf/src/google/protobuf/text_format.h void RecordLocation(const FieldDescriptor* field, ParseLocation location); field 262 third_party/protobuf/src/google/protobuf/text_format.h ParseInfoTree* CreateNested(const FieldDescriptor* field); field 319 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 347 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 350 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field); field 356 third_party/protobuf/src/google/protobuf/text_format.h const FieldDescriptor* field, field 358 third_party/protobuf/src/google/protobuf/text_format.h info_tree->RecordLocation(field, location); field 362 third_party/protobuf/src/google/protobuf/text_format.h ParseInfoTree* info_tree, const FieldDescriptor* field) { field 363 third_party/protobuf/src/google/protobuf/text_format.h return info_tree->CreateNested(field); field 89 third_party/protobuf/src/google/protobuf/unknown_field_set.cc AddField(other.field(i)); field 98 third_party/protobuf/src/google/protobuf/unknown_field_set.cc const UnknownField& field = (*fields_)[i]; field 99 third_party/protobuf/src/google/protobuf/unknown_field_set.cc switch (field.type()) { field 101 third_party/protobuf/src/google/protobuf/unknown_field_set.cc total_size += sizeof(*field.length_delimited_.string_value_) + field 103 third_party/protobuf/src/google/protobuf/unknown_field_set.cc *field.length_delimited_.string_value_); field 106 third_party/protobuf/src/google/protobuf/unknown_field_set.cc total_size += field.group_->SpaceUsed(); field 121 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField field; field 122 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.number_ = number; field 123 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.type_ = UnknownField::TYPE_VARINT; field 124 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.varint_ = value; field 125 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 130 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField field; field 131 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.number_ = number; field 132 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.type_ = UnknownField::TYPE_FIXED32; field 133 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.fixed32_ = value; field 134 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 139 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField field; field 140 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.number_ = number; field 141 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.type_ = UnknownField::TYPE_FIXED64; field 142 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.fixed64_ = value; field 143 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 148 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField field; field 149 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.number_ = number; field 150 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.type_ = UnknownField::TYPE_LENGTH_DELIMITED; field 151 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.length_delimited_.string_value_ = new string; field 152 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 153 third_party/protobuf/src/google/protobuf/unknown_field_set.cc return field.length_delimited_.string_value_; field 159 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField field; field 160 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.number_ = number; field 161 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.type_ = UnknownField::TYPE_GROUP; field 162 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field.group_ = new UnknownFieldSet; field 163 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 164 third_party/protobuf/src/google/protobuf/unknown_field_set.cc return field.group_; field 167 third_party/protobuf/src/google/protobuf/unknown_field_set.cc void UnknownFieldSet::AddField(const UnknownField& field) { field 169 third_party/protobuf/src/google/protobuf/unknown_field_set.cc fields_->push_back(field); field 193 third_party/protobuf/src/google/protobuf/unknown_field_set.cc UnknownField* field = &(*fields_)[i]; field 194 third_party/protobuf/src/google/protobuf/unknown_field_set.cc if (field->number() == number) { field 195 third_party/protobuf/src/google/protobuf/unknown_field_set.cc field->Delete(); field 107 third_party/protobuf/src/google/protobuf/unknown_field_set.h inline const UnknownField& field(int index) const; field 123 third_party/protobuf/src/google/protobuf/unknown_field_set.h void AddField(const UnknownField& field); field 239 third_party/protobuf/src/google/protobuf/unknown_field_set.h inline const UnknownField& UnknownFieldSet::field(int index) const { field 67 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const FieldDescriptor* field = descriptor_->FindFieldByName(name); field 68 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc if (field == NULL) return NULL; field 70 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc if (unknown_fields_->field(i).number() == field->number()) { field 71 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc return &unknown_fields_->field(i); field 85 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField& unknown_field = unknown_fields_->field(i); field 118 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const FieldDescriptor* field = descriptor_->FindFieldByNumber(i); field 119 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc if (field != NULL) { field 121 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(i, unknown_fields_->field(pos++).number()); field 122 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc if (field->is_repeated()) { field 125 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(i, unknown_fields_->field(pos++).number()); field 133 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField* field = GetField("optional_int32"); field 134 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(field != NULL); field 136 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, field->type()); field 137 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(all_fields_.optional_int32(), field->varint()); field 141 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField* field = GetField("optional_fixed32"); field 142 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(field != NULL); field 144 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_FIXED32, field->type()); field 145 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(all_fields_.optional_fixed32(), field->fixed32()); field 149 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField* field = GetField("optional_fixed64"); field 150 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(field != NULL); field 152 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_FIXED64, field->type()); field 153 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(all_fields_.optional_fixed64(), field->fixed64()); field 157 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField* field = GetField("optional_string"); field 158 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(field != NULL); field 160 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_LENGTH_DELIMITED, field->type()); field 161 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(all_fields_.optional_string(), field->length_delimited()); field 165 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField* field = GetField("optionalgroup"); field 166 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_TRUE(field != NULL); field 168 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_GROUP, field->type()); field 169 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(1, field->group().field_count()); field 171 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc const UnknownField& nested_field = field->group().field(0); field 329 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc destination.unknown_fields().field(0).type()); field 330 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(654321, destination.unknown_fields().field(0).varint()); field 436 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(singular_field->number(), unknown_fields.field(0).number()); field 437 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(0).type()); field 438 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(5, unknown_fields.field(0).varint()); field 440 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); field 441 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(1).type()); field 442 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(4, unknown_fields.field(1).varint()); field 444 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); field 445 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(2).type()); field 446 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(6, unknown_fields.field(2).varint()); field 466 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(singular_field->number(), unknown_fields.field(0).number()); field 467 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(0).type()); field 468 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(5, unknown_fields.field(0).varint()); field 470 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(repeated_field->number(), unknown_fields.field(1).number()); field 471 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(1).type()); field 472 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(4, unknown_fields.field(1).varint()); field 474 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(repeated_field->number(), unknown_fields.field(2).number()); field 475 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc ASSERT_EQ(UnknownField::TYPE_VARINT, unknown_fields.field(2).type()); field 476 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(6, unknown_fields.field(2).varint()); field 537 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(i, unknown.field(i).fixed32()); field 539 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(i + num, unknown.field(i).fixed32()); field 557 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc unknown_fields.field(i).number()); field 83 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field = NULL; field 87 third_party/protobuf/src/google/protobuf/wire_format.cc field = descriptor->FindFieldByNumber(field_number); field 90 third_party/protobuf/src/google/protobuf/wire_format.cc if (field == NULL && descriptor->IsExtensionNumber(field_number)) { field 92 third_party/protobuf/src/google/protobuf/wire_format.cc field = message_reflection->FindKnownExtensionByNumber(field_number); field 94 third_party/protobuf/src/google/protobuf/wire_format.cc field = input->GetExtensionPool() field 101 third_party/protobuf/src/google/protobuf/wire_format.cc if (field == NULL && field 111 third_party/protobuf/src/google/protobuf/wire_format.cc if (!ParseAndMergeField(tag, field, message, input)) { field 119 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, // May be NULL for unknown field 126 third_party/protobuf/src/google/protobuf/wire_format.cc if (field == NULL) { field 129 third_party/protobuf/src/google/protobuf/wire_format.cc WireTypeForFieldType(field->type())) { field 131 third_party/protobuf/src/google/protobuf/wire_format.cc } else if (field->is_packable() && field 149 third_party/protobuf/src/google/protobuf/wire_format.cc switch (field->type()) { field 157 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->Add##CPPTYPE_METHOD(message, field, value); \ field 186 third_party/protobuf/src/google/protobuf/wire_format.cc field->enum_type()->FindValueByNumber(value); field 188 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->AddEnum(message, field, enum_value); field 208 third_party/protobuf/src/google/protobuf/wire_format.cc switch (field->type()) { field 215 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { \ field 216 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->Add##CPPTYPE_METHOD(message, field, value); \ field 218 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->Set##CPPTYPE_METHOD(message, field, value); \ field 246 third_party/protobuf/src/google/protobuf/wire_format.cc field->enum_type()->FindValueByNumber(value); field 248 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 249 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->AddEnum(message, field, enum_value); field 251 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->SetEnum(message, field, enum_value); field 269 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 270 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->AddString(message, field, value); field 272 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->SetString(message, field, value); field 280 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 281 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->AddString(message, field, value); field 283 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->SetString(message, field, value); field 290 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 292 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, input->GetExtensionFactory()); field 295 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, input->GetExtensionFactory()); field 306 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 308 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, input->GetExtensionFactory()); field 311 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, input->GetExtensionFactory()); field 339 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field = NULL; field 355 third_party/protobuf/src/google/protobuf/wire_format.cc field = message_reflection->FindKnownExtensionByNumber(type_id); field 363 third_party/protobuf/src/google/protobuf/wire_format.cc if (!ParseAndMergeField(fake_tag, field, message, field 386 third_party/protobuf/src/google/protobuf/wire_format.cc if (!ParseAndMergeField(fake_tag, field, message, input)) { field 435 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, field 440 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_extension() && field 441 third_party/protobuf/src/google/protobuf/wire_format.cc field->containing_type()->options().message_set_wire_format() && field 442 third_party/protobuf/src/google/protobuf/wire_format.cc field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && field 443 third_party/protobuf/src/google/protobuf/wire_format.cc !field->is_repeated()) { field 444 third_party/protobuf/src/google/protobuf/wire_format.cc SerializeMessageSetItemWithCachedSizes(field, message, output); field 450 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 451 third_party/protobuf/src/google/protobuf/wire_format.cc count = message_reflection->FieldSize(message, field); field 452 third_party/protobuf/src/google/protobuf/wire_format.cc } else if (message_reflection->HasField(message, field)) { field 456 third_party/protobuf/src/google/protobuf/wire_format.cc const bool is_packed = field->options().packed(); field 458 third_party/protobuf/src/google/protobuf/wire_format.cc WireFormatLite::WriteTag(field->number(), field 460 third_party/protobuf/src/google/protobuf/wire_format.cc const int data_size = FieldDataOnlyByteSize(field, message); field 465 third_party/protobuf/src/google/protobuf/wire_format.cc switch (field->type()) { field 468 third_party/protobuf/src/google/protobuf/wire_format.cc const CPPTYPE value = field->is_repeated() ? \ field 470 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j) : \ field 472 third_party/protobuf/src/google/protobuf/wire_format.cc message, field); \ field 476 third_party/protobuf/src/google/protobuf/wire_format.cc WireFormatLite::Write##TYPE_METHOD(field->number(), value, output); \ field 502 third_party/protobuf/src/google/protobuf/wire_format.cc field->number(), \ field 503 third_party/protobuf/src/google/protobuf/wire_format.cc field->is_repeated() ? \ field 505 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j) : \ field 506 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->Get##CPPTYPE_METHOD(message, field), \ field 515 third_party/protobuf/src/google/protobuf/wire_format.cc const EnumValueDescriptor* value = field->is_repeated() ? field 516 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetRepeatedEnum(message, field, j) : field 517 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetEnum(message, field); field 521 third_party/protobuf/src/google/protobuf/wire_format.cc WireFormatLite::WriteEnum(field->number(), value->number(), output); field 530 third_party/protobuf/src/google/protobuf/wire_format.cc const string& value = field->is_repeated() ? field 532 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j, &scratch) : field 533 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetStringReference(message, field, &scratch); field 535 third_party/protobuf/src/google/protobuf/wire_format.cc WireFormatLite::WriteString(field->number(), value, output); field 541 third_party/protobuf/src/google/protobuf/wire_format.cc const string& value = field->is_repeated() ? field 543 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j, &scratch) : field 544 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetStringReference(message, field, &scratch); field 545 third_party/protobuf/src/google/protobuf/wire_format.cc WireFormatLite::WriteBytes(field->number(), value, output); field 553 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, field 563 third_party/protobuf/src/google/protobuf/wire_format.cc output->WriteVarint32(field->number()); field 568 third_party/protobuf/src/google/protobuf/wire_format.cc const Message& sub_message = message_reflection->GetMessage(message, field); field 602 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, field 606 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_extension() && field 607 third_party/protobuf/src/google/protobuf/wire_format.cc field->containing_type()->options().message_set_wire_format() && field 608 third_party/protobuf/src/google/protobuf/wire_format.cc field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && field 609 third_party/protobuf/src/google/protobuf/wire_format.cc !field->is_repeated()) { field 610 third_party/protobuf/src/google/protobuf/wire_format.cc return MessageSetItemByteSize(field, message); field 614 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 615 third_party/protobuf/src/google/protobuf/wire_format.cc count = message_reflection->FieldSize(message, field); field 616 third_party/protobuf/src/google/protobuf/wire_format.cc } else if (message_reflection->HasField(message, field)) { field 620 third_party/protobuf/src/google/protobuf/wire_format.cc const int data_size = FieldDataOnlyByteSize(field, message); field 622 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->options().packed()) { field 627 third_party/protobuf/src/google/protobuf/wire_format.cc our_size += TagSize(field->number(), FieldDescriptor::TYPE_STRING); field 631 third_party/protobuf/src/google/protobuf/wire_format.cc our_size += count * TagSize(field->number(), field->type()); field 637 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, field 642 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 643 third_party/protobuf/src/google/protobuf/wire_format.cc count = message_reflection->FieldSize(message, field); field 644 third_party/protobuf/src/google/protobuf/wire_format.cc } else if (message_reflection->HasField(message, field)) { field 649 third_party/protobuf/src/google/protobuf/wire_format.cc switch (field->type()) { field 652 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { \ field 656 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j)); \ field 660 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->Get##CPPTYPE_METHOD(message, field)); \ field 692 third_party/protobuf/src/google/protobuf/wire_format.cc if (field->is_repeated()) { field 695 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetRepeatedEnum(message, field, j)->number()); field 699 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetEnum(message, field)->number()); field 710 third_party/protobuf/src/google/protobuf/wire_format.cc const string& value = field->is_repeated() ? field 712 third_party/protobuf/src/google/protobuf/wire_format.cc message, field, j, &scratch) : field 713 third_party/protobuf/src/google/protobuf/wire_format.cc message_reflection->GetStringReference(message, field, &scratch); field 723 third_party/protobuf/src/google/protobuf/wire_format.cc const FieldDescriptor* field, field 730 third_party/protobuf/src/google/protobuf/wire_format.cc our_size += io::CodedOutputStream::VarintSize32(field->number()); field 733 third_party/protobuf/src/google/protobuf/wire_format.cc const Message& sub_message = message_reflection->GetMessage(message, field); field 80 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field); field 133 third_party/protobuf/src/google/protobuf/wire_format.h static uint32 MakeTag(const FieldDescriptor* field); field 139 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, // May be NULL for unknown field 145 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, // Cannot be NULL field 153 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, // Cannot be NULL field 162 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, field 166 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, field 174 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field, // Cannot be NULL field 200 third_party/protobuf/src/google/protobuf/wire_format.h const FieldDescriptor* field) { field 201 third_party/protobuf/src/google/protobuf/wire_format.h if (field->options().packed()) { field 204 third_party/protobuf/src/google/protobuf/wire_format.h return WireTypeForFieldType(field->type()); field 217 third_party/protobuf/src/google/protobuf/wire_format.h inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) { field 218 third_party/protobuf/src/google/protobuf/wire_format.h return WireFormatLite::MakeTag(field->number(), WireTypeForField(field)); field 213 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 214 third_party/protobuf/src/google/protobuf/wire_format_lite.cc switch (field.type()) { field 216 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 218 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint64(field.varint()); field 221 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 223 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteLittleEndian32(field.fixed32()); field 226 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 228 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteLittleEndian64(field.fixed64()); field 231 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 233 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(field.length_delimited().size()); field 234 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteString(field.length_delimited()); field 237 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 239 third_party/protobuf/src/google/protobuf/wire_format_lite.cc SerializeUnknownFields(field.group(), output); field 240 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(WireFormatLite::MakeTag(field.number(), field 251 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 253 third_party/protobuf/src/google/protobuf/wire_format_lite.cc switch (field.type()) { field 256 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), field.varint(), target); field 260 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), field.fixed32(), target); field 264 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), field.fixed64(), target); field 268 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), field.length_delimited(), target); field 272 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), WireFormatLite::WIRETYPE_START_GROUP, target); field 273 third_party/protobuf/src/google/protobuf/wire_format_lite.cc target = SerializeUnknownFieldsToArray(field.group(), target); field 275 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), WireFormatLite::WIRETYPE_END_GROUP, target); field 286 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 289 third_party/protobuf/src/google/protobuf/wire_format_lite.cc if (field.type() == UnknownField::TYPE_LENGTH_DELIMITED) { field 290 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const string& data = field.length_delimited(); field 297 third_party/protobuf/src/google/protobuf/wire_format_lite.cc output->WriteVarint32(field.number()); field 314 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 318 third_party/protobuf/src/google/protobuf/wire_format_lite.cc if (field.type() == UnknownField::TYPE_LENGTH_DELIMITED) { field 319 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const string& data = field.length_delimited(); field 329 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.number(), target); field 350 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 352 third_party/protobuf/src/google/protobuf/wire_format_lite.cc switch (field.type()) { field 355 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 357 third_party/protobuf/src/google/protobuf/wire_format_lite.cc size += io::CodedOutputStream::VarintSize64(field.varint()); field 361 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 367 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 373 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 376 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.length_delimited().size()); field 377 third_party/protobuf/src/google/protobuf/wire_format_lite.cc size += field.length_delimited().size(); field 381 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 383 third_party/protobuf/src/google/protobuf/wire_format_lite.cc size += ComputeUnknownFieldsSize(field.group()); field 385 third_party/protobuf/src/google/protobuf/wire_format_lite.cc WireFormatLite::MakeTag(field.number(), field 398 third_party/protobuf/src/google/protobuf/wire_format_lite.cc const UnknownField& field = unknown_fields.field(i); field 402 third_party/protobuf/src/google/protobuf/wire_format_lite.cc if (field.type() == UnknownField::TYPE_LENGTH_DELIMITED) { field 404 third_party/protobuf/src/google/protobuf/wire_format_lite.cc size += io::CodedOutputStream::VarintSize32(field.number()); field 406 third_party/protobuf/src/google/protobuf/wire_format_lite.cc field.length_delimited().size()); field 407 third_party/protobuf/src/google/protobuf/wire_format_lite.cc size += field.length_delimited().size(); field 472 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc message_set.unknown_fields().field(0).type()); field 473 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc EXPECT_EQ("bar", message_set.unknown_fields().field(0).length_delimited()); field 666 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc const google::protobuf::FieldDescriptor* field; field 667 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_fixed32"); field 668 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 669 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(1, WireFormat::TagSize(field->number(), field->type())); field 670 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_int32"); field 671 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 672 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(1, WireFormat::TagSize(field->number(), field->type())); field 673 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_fixed64"); field 674 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 675 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(2, WireFormat::TagSize(field->number(), field->type())); field 676 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_int64"); field 677 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 678 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(2, WireFormat::TagSize(field->number(), field->type())); field 679 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_float"); field 680 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 681 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(3, WireFormat::TagSize(field->number(), field->type())); field 682 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field = desc->FindFieldByName("repeated_uint64"); field 683 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_TRUE(field != NULL); field 684 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc ASSERT_EQ(3, WireFormat::TagSize(field->number(), field->type())); field 695 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc const FieldDescriptor* field = field 698 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc GOOGLE_CHECK(field != NULL); field 706 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc WireFormatLite::WriteBytes(field->number(), string(bytes, size), &output); field 716 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc const FieldDescriptor* field = field 719 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc GOOGLE_CHECK(field != NULL); field 727 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc output.WriteVarint32(WireFormat::MakeTag(field)); field 731 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc field->number(), WireFormatLite::WIRETYPE_END_GROUP)); field 193 third_party/tcmalloc/chromium/src/base/basictypes.h #define OFFSETOF_MEMBER(strct, field) \ field 194 third_party/tcmalloc/chromium/src/base/basictypes.h (reinterpret_cast<char*>(&reinterpret_cast<strct*>(16)->field) - \ field 193 third_party/tcmalloc/vendor/src/base/basictypes.h #define OFFSETOF_MEMBER(strct, field) \ field 194 third_party/tcmalloc/vendor/src/base/basictypes.h (reinterpret_cast<char*>(&reinterpret_cast<strct*>(16)->field) - \ field 222 third_party/v4l2capture/v4l2capture.c format.fmt.pix.field = V4L2_FIELD_NONE; field 234 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl()); field 235 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (!field) field 238 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo* info = cache_->Lookup(field->getParent()); field 242 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo::Fields::iterator it = info->GetFields().find(field); field 297 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) { field 302 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp const string& name = field->getNameAsString(); field 312 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp RecordInfo::Fields::iterator it = info_->GetFields().find(field); field 916 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp if (Config::IsIgnoreCycleAnnotated(point_->field())) { field 930 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp src_, e->value(), point_->field()->getNameAsString(), kind, loc_); field 959 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp GetLocString(it->second.field()->getLocStart())); field 1112 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << info->record() << point->field(); field 1131 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << dtor << it->second->field(); field 1214 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp void NoteFieldRequiresTracing(RecordInfo* holder, FieldDecl* field) { field 1215 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp NoteField(field, diag_field_requires_tracing_note_); field 1219 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp FieldDecl* field = point->field(); field 1220 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp SourceLocation loc = field->getLocStart(); field 1224 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp << field << field->getParent(); field 1254 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp NoteField(point->field(), note); field 1257 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp void NoteField(FieldDecl* field, unsigned note) { field 1258 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp SourceLocation loc = field->getLocStart(); field 1261 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp diagnostic_.Report(full_loc, note) << field; field 336 tools/clang/blink_gc_plugin/RecordInfo.cpp FieldDecl* field = *it; field 338 tools/clang/blink_gc_plugin/RecordInfo.cpp if (Config::IsIgnoreAnnotated(field)) field 340 tools/clang/blink_gc_plugin/RecordInfo.cpp if (Edge* edge = CreateEdge(field->getType().getTypePtrOrNull())) { field 342 tools/clang/blink_gc_plugin/RecordInfo.cpp fields->insert(std::make_pair(field, FieldPoint(field, edge))); field 54 tools/clang/blink_gc_plugin/RecordInfo.h FieldPoint(clang::FieldDecl* field, Edge* edge) field 55 tools/clang/blink_gc_plugin/RecordInfo.h : field_(field), edge_(edge) {} field 59 tools/clang/blink_gc_plugin/RecordInfo.h clang::FieldDecl* field() { return field_; }