Home
last modified time | relevance | path

Searched refs:form (Results 1 – 25 of 2915) sorted by relevance

12345678910>>...117

/external/chromium_org/components/autofill/core/common/
Dpassword_form.cc32 bool PasswordForm::operator==(const PasswordForm& form) const { in operator ==()
33 return signon_realm == form.signon_realm && in operator ==()
34 origin == form.origin && in operator ==()
35 action == form.action && in operator ==()
36 submit_element == form.submit_element && in operator ==()
37 username_element == form.username_element && in operator ==()
38 username_value == form.username_value && in operator ==()
39 other_possible_usernames == form.other_possible_usernames && in operator ==()
40 password_element == form.password_element && in operator ==()
41 password_value == form.password_value && in operator ==()
[all …]
Dform_data.cc73 bool FormData::operator==(const FormData& form) const { in operator ==()
74 return name == form.name && in operator ==()
75 origin == form.origin && in operator ==()
76 action == form.action && in operator ==()
77 user_submitted == form.user_submitted && in operator ==()
78 fields == form.fields; in operator ==()
81 bool FormData::operator!=(const FormData& form) const { in operator !=()
82 return !operator==(form); in operator !=()
85 bool FormData::operator<(const FormData& form) const { in operator <()
86 if (name != form.name) in operator <()
[all …]
Dautofill_data_validation.cc43 bool IsValidFormData(const FormData& form) { in IsValidFormData() argument
44 if (!IsValidString16(form.name) || in IsValidFormData()
45 !IsValidGURL(form.origin) || in IsValidFormData()
46 !IsValidGURL(form.action)) in IsValidFormData()
49 if (form.fields.size() > kMaxListSize) in IsValidFormData()
52 for (std::vector<FormFieldData>::const_iterator it = form.fields.begin(); in IsValidFormData()
53 it != form.fields.end(); ++it) { in IsValidFormData()
61 bool IsValidPasswordFormFillData(const PasswordFormFillData& form) { in IsValidPasswordFormFillData() argument
62 if (!IsValidFormData(form.basic_data) || in IsValidPasswordFormFillData()
63 !IsValidString(form.preferred_realm)) in IsValidPasswordFormFillData()
[all …]
/external/chromium_org/components/password_manager/core/browser/
Dpassword_store_change.h22 PasswordStoreChange(Type type, const autofill::PasswordForm& form) in PasswordStoreChange() argument
23 : type_(type), form_(form) { in PasswordStoreChange()
28 const autofill::PasswordForm& form() const { return form_; } in form() function
32 form().signon_realm == other.form().signon_realm &&
33 form().origin == other.form().origin &&
34 form().action == other.form().action &&
35 form().submit_element == other.form().submit_element &&
36 form().username_element == other.form().username_element &&
37 form().username_value == other.form().username_value &&
38 form().password_element == other.form().password_element &&
[all …]
Dlogin_database_unittest.cc26 PasswordStoreChangeList AddChangeForForm(const PasswordForm& form) { in AddChangeForForm() argument
29 form)); in AddChangeForForm()
32 PasswordStoreChangeList UpdateChangeForForm(const PasswordForm& form) { in UpdateChangeForForm() argument
34 PasswordStoreChange::UPDATE, form)); in UpdateChangeForForm()
123 PasswordForm form; in TEST_F() local
124 form.origin = GURL("http://accounts.google.com/LoginAuth"); in TEST_F()
125 form.action = GURL("http://accounts.google.com/Login"); in TEST_F()
126 form.username_element = ASCIIToUTF16("Email"); in TEST_F()
127 form.username_value = ASCIIToUTF16("test@gmail.com"); in TEST_F()
128 form.password_element = ASCIIToUTF16("Passwd"); in TEST_F()
[all …]
Dlogin_database.cc79 void BindAddStatement(const PasswordForm& form, in BindAddStatement() argument
82 s->BindString(COLUMN_ORIGIN_URL, form.origin.spec()); in BindAddStatement()
83 s->BindString(COLUMN_ACTION_URL, form.action.spec()); in BindAddStatement()
84 s->BindString16(COLUMN_USERNAME_ELEMENT, form.username_element); in BindAddStatement()
85 s->BindString16(COLUMN_USERNAME_VALUE, form.username_value); in BindAddStatement()
86 s->BindString16(COLUMN_PASSWORD_ELEMENT, form.password_element); in BindAddStatement()
89 s->BindString16(COLUMN_SUBMIT_ELEMENT, form.submit_element); in BindAddStatement()
90 s->BindString(COLUMN_SIGNON_REALM, form.signon_realm); in BindAddStatement()
91 s->BindInt(COLUMN_SSL_VALID, form.ssl_valid); in BindAddStatement()
92 s->BindInt(COLUMN_PREFERRED, form.preferred); in BindAddStatement()
[all …]
Dpassword_manager_unittest.cc129 PasswordForm form; in MakeSimpleForm() local
130 form.origin = GURL("http://www.google.com/a/LoginAuth"); in MakeSimpleForm()
131 form.action = GURL("http://www.google.com/a/Login"); in MakeSimpleForm()
132 form.username_element = ASCIIToUTF16("Email"); in MakeSimpleForm()
133 form.password_element = ASCIIToUTF16("Passwd"); in MakeSimpleForm()
134 form.username_value = ASCIIToUTF16("google"); in MakeSimpleForm()
135 form.password_value = ASCIIToUTF16("password"); in MakeSimpleForm()
137 form.password_autocomplete_set = true; in MakeSimpleForm()
138 form.submit_element = ASCIIToUTF16("signIn"); in MakeSimpleForm()
139 form.signon_realm = "http://www.google.com"; in MakeSimpleForm()
[all …]
Dpassword_form_data.cc15 PasswordForm* form = new PasswordForm(); in CreatePasswordFormFromData() local
16 form->scheme = form_data.scheme; in CreatePasswordFormFromData()
17 form->preferred = form_data.preferred; in CreatePasswordFormFromData()
18 form->ssl_valid = form_data.ssl_valid; in CreatePasswordFormFromData()
19 form->date_created = base::Time::FromDoubleT(form_data.creation_time); in CreatePasswordFormFromData()
21 form->signon_realm = std::string(form_data.signon_realm); in CreatePasswordFormFromData()
23 form->origin = GURL(form_data.origin); in CreatePasswordFormFromData()
25 form->action = GURL(form_data.action); in CreatePasswordFormFromData()
27 form->submit_element = base::WideToUTF16(form_data.submit_element); in CreatePasswordFormFromData()
29 form->username_element = base::WideToUTF16(form_data.username_element); in CreatePasswordFormFromData()
[all …]
Dtest_password_store.cc53 const autofill::PasswordForm& form) { in AddLoginImpl() argument
55 stored_passwords_[form.signon_realm].push_back(form); in AddLoginImpl()
56 changes.push_back(PasswordStoreChange(PasswordStoreChange::ADD, form)); in AddLoginImpl()
61 const autofill::PasswordForm& form) { in UpdateLoginImpl() argument
64 stored_passwords_[form.signon_realm]; in UpdateLoginImpl()
67 if (FormsAreEquivalent(form, *it)) { in UpdateLoginImpl()
68 *it = form; in UpdateLoginImpl()
70 PasswordStoreChange(PasswordStoreChange::UPDATE, form)); in UpdateLoginImpl()
77 const autofill::PasswordForm& form) { in RemoveLoginImpl() argument
80 stored_passwords_[form.signon_realm]; in RemoveLoginImpl()
[all …]
/external/vixl/src/a64/
Ddisasm-a64.cc64 const char *form = "'Rds, 'Rns, 'IAddSub"; in VisitAddSubImmediate() local
74 form = form_mov; in VisitAddSubImmediate()
83 form = form_cmp; in VisitAddSubImmediate()
94 form = form_cmp; in VisitAddSubImmediate()
100 Format(instr, mnemonic, form); in VisitAddSubImmediate()
108 const char *form = "'Rd, 'Rn, 'Rm'HDP"; in VisitAddSubShifted() local
120 form = form_cmp; in VisitAddSubShifted()
129 form = form_neg; in VisitAddSubShifted()
138 form = form_cmp; in VisitAddSubShifted()
141 form = form_neg; in VisitAddSubShifted()
[all …]
/external/chromium_org/v8/src/arm64/
Ddisasm-arm64.cc57 const char *form = "'Rds, 'Rns, 'IAddSub"; in VisitAddSubImmediate() local
67 form = form_mov; in VisitAddSubImmediate()
76 form = form_cmp; in VisitAddSubImmediate()
87 form = form_cmp; in VisitAddSubImmediate()
93 Format(instr, mnemonic, form); in VisitAddSubImmediate()
101 const char *form = "'Rd, 'Rn, 'Rm'HDP"; in VisitAddSubShifted() local
113 form = form_cmp; in VisitAddSubShifted()
122 form = form_neg; in VisitAddSubShifted()
131 form = form_cmp; in VisitAddSubShifted()
134 form = form_neg; in VisitAddSubShifted()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_manager_unittest.cc185 void CreateTestCreditCardFormData(FormData* form, in CreateTestCreditCardFormData() argument
188 form->name = ASCIIToUTF16("MyForm"); in CreateTestCreditCardFormData()
190 form->origin = GURL("https://myform.com/form.html"); in CreateTestCreditCardFormData()
191 form->action = GURL("https://myform.com/submit.html"); in CreateTestCreditCardFormData()
193 form->origin = GURL("http://myform.com/form.html"); in CreateTestCreditCardFormData()
194 form->action = GURL("http://myform.com/submit.html"); in CreateTestCreditCardFormData()
196 form->user_submitted = true; in CreateTestCreditCardFormData()
200 form->fields.push_back(field); in CreateTestCreditCardFormData()
202 form->fields.push_back(field); in CreateTestCreditCardFormData()
206 form->fields.push_back(field); in CreateTestCreditCardFormData()
[all …]
Dform_structure_unittest.cc35 std::ostream& operator<<(std::ostream& os, const FormData& form) { in operator <<() argument
36 os << base::UTF16ToUTF8(form.name) in operator <<()
38 << form.origin.spec() in operator <<()
40 << form.action.spec() in operator <<()
44 form.fields.begin(); in operator <<()
45 iter != form.fields.end(); ++iter) { in operator <<()
64 FormData form; in TEST() local
70 form.fields.push_back(field); in TEST()
75 form.fields.push_back(field); in TEST()
80 form.fields.push_back(field); in TEST()
[all …]
Dautofill_metrics_unittest.cc143 explicit TestFormStructure(const FormData& form) : FormStructure(form) {} in TestFormStructure() argument
187 void AddSeenForm(const FormData& form, in AddSeenForm() argument
190 FormData empty_form = form; in AddSeenForm()
201 void FormSubmitted(const FormData& form, const TimeTicks& timestamp) { in FormSubmitted() argument
203 if (!OnFormSubmitted(form, timestamp)) in FormSubmitted()
284 FormData form; in TEST_F() local
285 form.name = ASCIIToUTF16("TestForm"); in TEST_F()
286 form.origin = GURL("http://example.com/form.html"); in TEST_F()
287 form.action = GURL("http://example.com/submit.html"); in TEST_F()
288 form.user_submitted = true; in TEST_F()
[all …]
Dautocomplete_history_manager_unittest.cc90 FormData form; in TEST_F() local
91 form.name = ASCIIToUTF16("MyForm"); in TEST_F()
92 form.origin = GURL("http://myform.com/form.html"); in TEST_F()
93 form.action = GURL("http://myform.com/submit.html"); in TEST_F()
94 form.user_submitted = true; in TEST_F()
102 form.fields.push_back(valid_cc); in TEST_F()
105 autocomplete_manager_->OnFormSubmitted(form); in TEST_F()
112 FormData form; in TEST_F() local
113 form.name = ASCIIToUTF16("MyForm"); in TEST_F()
114 form.origin = GURL("http://myform.com/form.html"); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/password_manager/
Dnative_backend_gnome_x.cc120 scoped_ptr<PasswordForm> form(new PasswordForm()); in FormFromAttributes() local
121 form->origin = GURL(string_attr_map["origin_url"]); in FormFromAttributes()
122 form->action = GURL(string_attr_map["action_url"]); in FormFromAttributes()
123 form->username_element = UTF8ToUTF16(string_attr_map["username_element"]); in FormFromAttributes()
124 form->username_value = UTF8ToUTF16(string_attr_map["username_value"]); in FormFromAttributes()
125 form->password_element = UTF8ToUTF16(string_attr_map["password_element"]); in FormFromAttributes()
126 form->submit_element = UTF8ToUTF16(string_attr_map["submit_element"]); in FormFromAttributes()
127 form->signon_realm = string_attr_map["signon_realm"]; in FormFromAttributes()
128 form->ssl_valid = uint_attr_map["ssl_valid"]; in FormFromAttributes()
129 form->preferred = uint_attr_map["preferred"]; in FormFromAttributes()
[all …]
Dpassword_store_win.cc37 const PasswordForm& form,
46 : form(request_form), in RequestInfo()
49 PasswordForm* form; member
61 const PasswordForm& form);
85 delete i->second.form; in ~DBHandler()
90 const PasswordForm& form, in GetIE7Login() argument
95 ie7_password::GetUrlHash(base::UTF8ToWide(form.origin.spec())); in GetIE7Login()
99 RequestInfo(new PasswordForm(form), callback_runner); in GetIE7Login()
104 const PasswordForm& form) { in GetIE7Results() argument
118 std::wstring url = base::ASCIIToWide(form.origin.spec()); in GetIE7Results()
[all …]
Dnative_backend_kwallet_x.cc269 const PasswordForm& form) { in AddLogin() argument
275 GetLoginsList(&forms.get(), form.signon_realm, wallet_handle); in AddLogin()
285 if (CompareForms(form, *forms[i], false)) { in AddLogin()
288 *forms[i] = form; in AddLogin()
293 forms.push_back(new PasswordForm(form)); in AddLogin()
295 password_manager::PasswordStoreChange::ADD, form)); in AddLogin()
297 bool ok = SetLoginsList(forms.get(), form.signon_realm, wallet_handle); in AddLogin()
305 const PasswordForm& form, in UpdateLogin() argument
314 GetLoginsList(&forms.get(), form.signon_realm, wallet_handle); in UpdateLogin()
318 if (CompareForms(form, *forms[i], true)) { in UpdateLogin()
[all …]
/external/chromium_org/chrome/utility/importer/
Dnss_decryptor.cc149 autofill::PasswordForm form; in ParseSignons() local
150 form.origin = GURL(lines[i]).ReplaceComponents(rep); in ParseSignons()
151 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
152 form.blacklisted_by_user = true; in ParseSignons()
153 forms->push_back(form); in ParseSignons()
171 autofill::PasswordForm form; in ParseSignons() local
201 form.origin = url.ReplaceComponents(rep); in ParseSignons()
202 form.signon_realm = form.origin.GetOrigin().spec(); in ParseSignons()
204 form.signon_realm += realm; in ParseSignons()
205 form.ssl_valid = form.origin.SchemeIsSecure(); in ParseSignons()
[all …]
/external/chromium_org/chrome/browser/resources/gaia_auth/
Doffline.js25 var form = $('offline-login-form');
26 form.addEventListener('submit', function(e) {
28 form.email.classList.remove('field-error');
29 form.password.classList.remove('field-error');
30 form.password.classList.remove('form-error');
32 if (form.email.value == '') {
33 form.email.classList.add('field-error');
34 form.email.focus();
35 } else if (form.password.value == '') {
36 form.password.classList.add('field-error');
[all …]
/external/openssl/crypto/ec/
Decp_oct.c199 …ec_GFp_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, in ec_GFp_simple_point2oct() argument
208 if ((form != POINT_CONVERSION_COMPRESSED) in ec_GFp_simple_point2oct()
209 && (form != POINT_CONVERSION_UNCOMPRESSED) in ec_GFp_simple_point2oct()
210 && (form != POINT_CONVERSION_HYBRID)) in ec_GFp_simple_point2oct()
234 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GFp_simple_point2oct()
260 if ((form == POINT_CONVERSION_COMPRESSED || form == POINT_CONVERSION_HYBRID) && BN_is_odd(y)) in ec_GFp_simple_point2oct()
261 buf[0] = form + 1; in ec_GFp_simple_point2oct()
263 buf[0] = form; in ec_GFp_simple_point2oct()
286 if (form == POINT_CONVERSION_UNCOMPRESSED || form == POINT_CONVERSION_HYBRID) in ec_GFp_simple_point2oct()
328 point_conversion_form_t form; in ec_GFp_simple_oct2point() local
[all …]
Dec2_oct.c165 …c_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, in ec_GF2m_simple_point2oct() argument
174 if ((form != POINT_CONVERSION_COMPRESSED) in ec_GF2m_simple_point2oct()
175 && (form != POINT_CONVERSION_UNCOMPRESSED) in ec_GF2m_simple_point2oct()
176 && (form != POINT_CONVERSION_HYBRID)) in ec_GF2m_simple_point2oct()
200 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len; in ec_GF2m_simple_point2oct()
227 buf[0] = form; in ec_GF2m_simple_point2oct()
228 if ((form != POINT_CONVERSION_UNCOMPRESSED) && !BN_is_zero(x)) in ec_GF2m_simple_point2oct()
255 if (form == POINT_CONVERSION_UNCOMPRESSED || form == POINT_CONVERSION_HYBRID) in ec_GF2m_simple_point2oct()
300 point_conversion_form_t form; in ec_GF2m_simple_oct2point() local
312 form = buf[0]; in ec_GF2m_simple_oct2point()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
Dperfect.c117 hashform *form) in checkdup() argument
119 switch(form->hashtype) in checkdup()
143 fprintf(stderr, "perfect.c: Illegal hash type %ld\n", (ub4)form->hashtype); in checkdup()
158 hashform *form, /* user directives */ in inittab() argument
178 checkdup(mykey, otherkey, form); in inittab()
319 hashform *form, /* user directives */ in initkey() argument
323 switch(form->mode) in initkey()
334 finished = inithex(keys, nkeys, alen, blen, smax, salt, final, form); in initkey()
350 return inittab(tabb, blen, keys, form, FALSE); in initkey()
358 hashform *form) /* user directives */ in duplicates() argument
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateIssuer.java20 final ASN1Encodable form; field in AttributeCertificateIssuer
29 form = issuer.getIssuer(); in AttributeCertificateIssuer()
34 form = new V2Form(new GeneralNames(new GeneralName(principal))); in AttributeCertificateIssuer()
41 if (form instanceof V2Form) in getNames()
43 name = ((V2Form)form).getIssuerName(); in getNames()
47 name = (GeneralNames)form; in getNames()
87 return new AttributeCertificateIssuer(AttCertIssuer.getInstance(form)); in clone()
104 return this.form.equals(other.form); in equals()
109 return this.form.hashCode(); in hashCode()
121 if (form instanceof V2Form) in match()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/ec/
Doct.c78 point_conversion_form_t form, in ec_GFp_simple_point2oct() argument
86 if ((form != POINT_CONVERSION_COMPRESSED) && in ec_GFp_simple_point2oct()
87 (form != POINT_CONVERSION_UNCOMPRESSED) && in ec_GFp_simple_point2oct()
88 (form != POINT_CONVERSION_HYBRID)) { in ec_GFp_simple_point2oct()
109 (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2 * field_len; in ec_GFp_simple_point2oct()
134 if ((form == POINT_CONVERSION_COMPRESSED || in ec_GFp_simple_point2oct()
135 form == POINT_CONVERSION_HYBRID) && in ec_GFp_simple_point2oct()
137 buf[0] = form + 1; in ec_GFp_simple_point2oct()
139 buf[0] = form; in ec_GFp_simple_point2oct()
159 if (form == POINT_CONVERSION_UNCOMPRESSED || in ec_GFp_simple_point2oct()
[all …]

12345678910>>...117