Searched refs:IsValidCreditCardNumber (Results 1 – 9 of 9) sorted by relevance
100 TEST(AutofillValidation, IsValidCreditCardNumber) { in TEST() argument104 autofill::IsValidCreditCardNumber(ASCIIToUTF16(kValidNumbers[i]))); in TEST()109 autofill::IsValidCreditCardNumber(ASCIIToUTF16(kInvalidNumbers[i]))); in TEST()
27 bool IsValidCreditCardNumber(const base::string16& text);
132 !autofill::IsValidCreditCardNumber(iter->value) && in OnFormSubmitted()
54 bool IsValidCreditCardNumber(const base::string16& text) { in IsValidCreditCardNumber() function
574 autofill::IsValidCreditCardNumber(number_) && in IsComplete()580 return autofill::IsValidCreditCardNumber(number_) && in IsValid()
525 EXPECT_EQ(test_cases[i].is_valid, IsValidCreditCardNumber(card_number)); in TEST()
495 ASSERT_FALSE(autofill::IsValidCreditCardNumber(ASCIIToUTF16(card))); in IN_PROC_BROWSER_TEST_F()520 ASSERT_TRUE(autofill::IsValidCreditCardNumber(cc1)); in IN_PROC_BROWSER_TEST_F()523 ASSERT_TRUE(autofill::IsValidCreditCardNumber(cc2)); in IN_PROC_BROWSER_TEST_F()
573 if (!autofill::IsValidCreditCardNumber(*it) && !autofill::IsSSN(*it)) in SanitizePossibleUsernames()
3563 if (!number.empty() && !autofill::IsValidCreditCardNumber(number)) { in CreditCardNumberValidityMessage()