HomeSort by relevance Sort by last modified time
    Searched refs:IsZipValid (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/content/common/android/
address_parser_unittest.cc 61 bool IsZipValid(const std::string& zip, const std::string& state) const {
69 return ::IsZipValid(words.front(), state_index);
159 EXPECT_TRUE(IsZipValid("90000", "CA"));
160 EXPECT_TRUE(IsZipValid("01234", "MA"));
161 EXPECT_TRUE(IsZipValid("99999-9999", "Alaska"));
163 EXPECT_FALSE(IsZipValid("999999999", "Alaska"));
164 EXPECT_FALSE(IsZipValid("9999-99999", "Alaska"));
165 EXPECT_FALSE(IsZipValid("999999999-", "Alaska"));
166 EXPECT_FALSE(IsZipValid("99999-999a", "Alaska"));
167 EXPECT_FALSE(IsZipValid("99999--9999", "Alaska"))
    [all...]
address_parser_internal.h 77 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index);
address_parser.cc 193 if (!IsZipValid(words[zip_word], state_index))
address_parser_internal.cc 415 bool IsZipValid(const Word& word, size_t state_index) {

Completed in 200 milliseconds