Searched refs:kDigits (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_fixed.cc | 35 const char kDigits[] = "0123456789"; variable 38 *p++ = kDigits[(v / 10) % 10]; in Format02d() 39 *p++ = kDigits[v % 10]; in Format02d() 44 if (const char* ap = std::strchr(kDigits, *p)) { in Parse02d() 45 int v = static_cast<int>(ap - kDigits); in Parse02d() 46 if (const char* bp = std::strchr(kDigits, *++p)) { in Parse02d() 47 return (v * 10) + static_cast<int>(bp - kDigits); in Parse02d()
|
D | time_zone_posix.cc | 31 const char kDigits[] = "0123456789"; variable 37 for (; const char* dp = strchr(kDigits, *p); ++p) { in ParseInt() 38 int d = static_cast<int>(dp - kDigits); in ParseInt() 62 if (strchr(kDigits, *p)) break; in ParseAbbr()
|
D | time_zone_format.cc | 142 const char kDigits[] = "0123456789"; variable 161 *--ep = kDigits[last_digit]; in Format64() 167 *--ep = kDigits[v % 10]; in Format64() 176 *--ep = kDigits[v % 10]; in Format02d() 177 *--ep = kDigits[(v / 10) % 10]; in Format02d() 248 while (const char* cp = strchr(kDigits, *dp)) { in ParseInt() 249 int d = static_cast<int>(cp - kDigits); in ParseInt() 628 while (const char* cp = strchr(kDigits, *dp)) { in ParseSubSeconds() 629 int d = static_cast<int>(cp - kDigits); in ParseSubSeconds()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
D | phonenumberutil.cc | 105 const char kDigits[] = "\\p{Nd}"; variable 213 return StrCat("([", kDigits, "]{1,", max_length, "})"); in ExtnDigits() 765 StrCat(kDigits, "{", PhoneNumberUtil::kMinLengthForNsn, "}|[", in PhoneNumberRegExpsAndMappings() 768 kDigits, "){3,}[", PhoneNumberUtil::kValidPunctuation, in PhoneNumberRegExpsAndMappings() 769 kStarSign, kValidAlpha, kDigits, "]*")), in PhoneNumberRegExpsAndMappings() 784 regexp_factory_->CreateRegExp(StrCat("[", kDigits, "]*"))), in PhoneNumberRegExpsAndMappings() 786 regexp_factory_->CreateRegExp(StrCat("([", kDigits, "])"))), in PhoneNumberRegExpsAndMappings() 790 StrCat("[", PhoneNumberUtil::kPlusChars, kDigits, "]"))), in PhoneNumberRegExpsAndMappings() 2685 StrCat("[^", kDigits, "]")); in NormalizeDigitsOnly()
|