Home
last modified time | relevance | path

Searched refs:isDigit (Results 1 – 25 of 65) sorted by relevance

123

/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/parse-number-fxx-test-data/script/
Dextract-numbery-strings.go57 func isDigit(x byte) bool { return (('0' <= x) && (x <= '9')) } func
126 if isDigit(c) {
143 for (j < len(src)) && isDigit(src[j]) {
155 for (len(s) > 1) && (s[0] == '0') && isDigit(s[1]) {
158 for (len(s) > 0) && !isDigit(s[len(s)-1]) {
/third_party/skia/third_party/externals/icu/source/i18n/
Ddouble-conversion-string-to-double.cpp169 static bool isDigit(int x, int radix) { in isDigit() function
216 if (!isDigit(**it, base)) { in Advance()
223 if (**it == separator && isDigit(*(*it + 1), base)) { in Advance()
246 while (isDigit(*current, 16)) { in IsHexFloatString()
252 while (isDigit(*current, 16)) { in IsHexFloatString()
263 if (!isDigit(*current, 10)) return false; in IsHexFloatString()
265 while (isDigit(*current, 10)) { in IsHexFloatString()
363 if (!isDigit(**current, radix)) break; in RadixStringToIeee()
553 if (!parse_as_hex_float && !isDigit(*current, 16)) { in StringToIeee()
Dcollationdata.h76 UBool isDigit(UChar32 c) const { in isDigit() function
82 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/third_party/node/deps/icu-small/source/i18n/
Ddouble-conversion-string-to-double.cpp169 static bool isDigit(int x, int radix) { in isDigit() function
216 if (!isDigit(**it, base)) { in Advance()
223 if (**it == separator && isDigit(*(*it + 1), base)) { in Advance()
246 while (isDigit(*current, 16)) { in IsHexFloatString()
252 while (isDigit(*current, 16)) { in IsHexFloatString()
263 if (!isDigit(*current, 10)) return false; in IsHexFloatString()
265 while (isDigit(*current, 10)) { in IsHexFloatString()
363 if (!isDigit(**current, radix)) break; in RadixStringToIeee()
553 if (!parse_as_hex_float && !isDigit(*current, 16)) { in StringToIeee()
Dcollationdata.h72 UBool isDigit(UChar32 c) const { in isDigit() function
78 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/third_party/icu/icu4c/source/i18n/
Ddouble-conversion-string-to-double.cpp169 static bool isDigit(int x, int radix) { in isDigit() function
216 if (!isDigit(**it, base)) { in Advance()
223 if (**it == separator && isDigit(*(*it + 1), base)) { in Advance()
246 while (isDigit(*current, 16)) { in IsHexFloatString()
252 while (isDigit(*current, 16)) { in IsHexFloatString()
263 if (!isDigit(*current, 10)) return false; in IsHexFloatString()
265 while (isDigit(*current, 10)) { in IsHexFloatString()
363 if (!isDigit(**current, radix)) break; in RadixStringToIeee()
553 if (!parse_as_hex_float && !isDigit(*current, 16)) { in StringToIeee()
Dcollationdata.h72 UBool isDigit(UChar32 c) const { in isDigit() function
78 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/third_party/icu/vendor/double-conversion/upstream/double-conversion/
Dstring-to-double.cc148 static bool isDigit(int x, int radix) { in isDigit() function
195 if (!isDigit(**it, base)) { in Advance()
202 if (**it == separator && isDigit(*(*it + 1), base)) { in Advance()
225 while (isDigit(*current, 16)) { in IsHexFloatString()
231 while (isDigit(*current, 16)) { in IsHexFloatString()
242 if (!isDigit(*current, 10)) return false; in IsHexFloatString()
244 while (isDigit(*current, 10)) { in IsHexFloatString()
342 if (!isDigit(**current, radix)) break; in RadixStringToIeee()
532 if (!parse_as_hex_float && !isDigit(*current, 16)) { in StringToIeee()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeStringUtil.cpp153 bool isDigit (char c) in isDigit() function
203 DE_TEST_ASSERT(isDigit('0')); in StringUtil_selfTest()
204 DE_TEST_ASSERT(!isDigit('a')); in StringUtil_selfTest()
DdeStringUtil.hpp56 bool isDigit (char c);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp69 while (isDigit(*CurPtr)) in LexFloatLiteral()
82 while (isDigit(*CurPtr)) in LexFloatLiteral()
127 while (isDigit(*CurPtr)) in LexHexFloatLiteral()
145 if (CurPtr[-1] == '.' && isDigit(*CurPtr)) { in LexIdentifier()
147 while (isDigit(*CurPtr)) in LexIdentifier()
252 if (isDigit(*LookAhead)) { in doHexLookAhead()
358 if (!isDigit(CurPtr[0])) { in LexDigit()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCompare.java62 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
63 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUCharacterCompare.java65 if (UCharacter.isDigit(i) != Character.isDigit(i)) in main()
66 … trackDifference(p, i, "isDigit()", "" + UCharacter.isDigit(i), "" + Character.isDigit(i)); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringRef.cpp67 if (isDigit(Data[I]) && isDigit(RHS.Data[I])) { in compare_numeric()
72 bool ld = J < Length && isDigit(Data[J]); in compare_numeric()
73 bool rd = J < RHS.Length && isDigit(RHS.Data[J]); in compare_numeric()
408 if (Str[0] == '0' && Str.size() > 1 && isDigit(Str[1])) { in GetAutoSenseRadix()
/third_party/typescript/src/services/
DpatternMatcher.ts417 function isDigit(ch: number) { function
423 …return isUpperCaseLetter(ch) || isLowerCaseLetter(ch) || isDigit(ch) || ch === CharacterCodes._ ||…
477 const lastIsDigit = isDigit(identifier.charCodeAt(i - 1));
478 const currentIsDigit = isDigit(identifier.charCodeAt(i));
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java91 if (cpZero == -1 || !UCharacter.isDigit(cpZero) || UCharacter.digit(cpZero) != 0) { in DecimalMatcher()
174 if (UCharacter.isDigit(cp)) { in match()
459 if (segment.startsWith(separatorSet) || UCharacter.isDigit(segment.getCodePoint())) { in smokeTest()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DDecimalMatcher.java93 if (cpZero == -1 || !UCharacter.isDigit(cpZero) || UCharacter.digit(cpZero) != 0) { in DecimalMatcher()
176 if (UCharacter.isDigit(cp)) { in match()
461 if (segment.startsWith(separatorSet) || UCharacter.isDigit(segment.getCodePoint())) { in smokeTest()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DMigrationJob.java196 if (!Character.isDigit(oldFormat.charAt(i))) { in getMigratedValue()
202 && Character.isDigit(newFormat.charAt(i))) { in getMigratedValue()
206 && Character.isDigit(newFormat.charAt(newFormatPointer))); in getMigratedValue()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DUCharacterPerf.java170 UCharacter.isDigit(ch);
185 Character.isDigit(ch);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationData.java53 boolean isDigit(int c) { in isDigit() method in CollationData
59 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationData.java51 boolean isDigit(int c) { in isDigit() method in CollationData
57 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringExtras.h76 inline bool isDigit(char C) { return C >= '0' && C <= '9'; } in isDigit() function
88 inline bool isAlnum(char C) { return isAlpha(C) || isDigit(C); } in isAlnum()
/third_party/node/deps/v8/src/numbers/
Dconversions.cc151 inline bool isDigit(int x, int radix) { in isDigit() function
236 if (current == end || !isDigit(*current, radix)) break; in InternalStringToIntDouble()
460 if (!leading_zero_ && !isDigit(*current, radix_)) { in DetectRadixInternal()
713 if (current == end || !isDigit(*current, 16) || sign != Sign::kNone) { in InternalStringToDouble()
723 if (current == end || !isDigit(*current, 8) || sign != Sign::kNone) { in InternalStringToDouble()
/third_party/icu/icu4c/source/test/perf/charperf/
Dcharperf.h138 inline void isDigit(UChar32 ch) in isDigit() function
Dcharperf.cpp147 return new CharPerfFunction(isDigit, MIN_, MAX_); in TestIsDigit()

123