Home
last modified time | relevance | path

Searched refs:isdigit (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/external/libcxx/test/std/localization/locales/locale.convenience/classification/
Disdigit.pass.cpp20 assert(!std::isdigit(' ', l)); in main()
21 assert(!std::isdigit('<', l)); in main()
22 assert(!std::isdigit('\x8', l)); in main()
23 assert(!std::isdigit('A', l)); in main()
24 assert(!std::isdigit('a', l)); in main()
25 assert(!std::isdigit('z', l)); in main()
26 assert( std::isdigit('3', l)); in main()
27 assert(!std::isdigit('.', l)); in main()
28 assert(!std::isdigit('f', l)); in main()
29 assert( std::isdigit('9', l)); in main()
[all …]
/external/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cc24 DECLARE_REAL(int, isdigit, int);
26 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() argument
46 ASSERT_TRUE(INTERCEPT_FUNCTION(isdigit)); in TEST()
50 EXPECT_NE(0, isdigit('1')); in TEST()
52 EXPECT_EQ(0, isdigit('a')); in TEST()
57 EXPECT_NE(0, REAL(isdigit)('1')); in TEST()
58 EXPECT_EQ(0, REAL(isdigit)('a')); in TEST()
/external/llvm/test/Transforms/InstCombine/
Disdigit-1.ll1 ; Test that the isdigit library call simplifier works correctly.
7 declare i32 @isdigit(i32)
9 ; Check isdigit(c) -> (c - '0') <u 10;
13 %ret = call i32 @isdigit(i32 47)
20 %ret = call i32 @isdigit(i32 48)
27 %ret = call i32 @isdigit(i32 57)
34 %ret = call i32 @isdigit(i32 58)
42 %ret = call i32 @isdigit(i32 %x)
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/
DIsDigit.ll5 declare i32 @isdigit(i32)
10 %val1 = call i32 @isdigit( i32 47 ) ; <i32> [#uses=1]
11 %val2 = call i32 @isdigit( i32 48 ) ; <i32> [#uses=1]
12 %val3 = call i32 @isdigit( i32 57 ) ; <i32> [#uses=1]
13 %val4 = call i32 @isdigit( i32 58 ) ; <i32> [#uses=1]
17 %rslt = call i32 @isdigit( i32 %sum ) ; <i32> [#uses=1]
/external/blktrace/
Dstrverscmp.c129 state = S_N | ((c1 == '0') + (isdigit (c1) != 0)); in strverscmp()
136 state |= (c1 == '0') + (isdigit (c1) != 0); in strverscmp()
139 state = result_type[state << 2 | (((c2 == '0') + (isdigit (c2) != 0)))]; in strverscmp()
147 while (isdigit (*p1++)) in strverscmp()
148 if (!isdigit (*p2++)) in strverscmp()
151 return isdigit (*p2) ? -1 : diff; in strverscmp()
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp105 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar()
177 if (C.peek() != 'i' || !isdigit(C.peek(1))) in maybeLexIntegerType()
181 while (isdigit(C.peek())) in maybeLexIntegerType()
253 if (!isdigit(C.peek())) { in maybeLexMachineBasicBlock()
259 while (isdigit(C.peek())) in maybeLexMachineBasicBlock()
279 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
284 while (isdigit(C.peek())) in maybeLexIndex()
292 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
297 while (isdigit(C.peek())) in maybeLexIndexAndName()
343 if (isdigit(C.peek(Rule.size()))) in maybeLexIRBlock()
[all …]
/external/e2fsprogs/misc/
Dbase_device.c76 !isdigit(cp[1]) || !isdigit(cp[3])) in base_device()
86 if (isdigit(*cp)) in base_device()
115 if (!isdigit(*cp)) in base_device()
137 if (!isdigit(*cp)) in base_device()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLLexer.cpp315 if (isdigit(CurPtr[0])) { in LexAt()
316 for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr) in LexAt()
379 if (isdigit(CurPtr[0])) { in LexPercent()
380 for (++CurPtr; isdigit(CurPtr[0]); ++CurPtr) in LexPercent()
440 if (!IntEnd && !isdigit(*CurPtr)) IntEnd = CurPtr; in LexIdentifier()
755 if (!isdigit(TokStart[0]) && !isdigit(CurPtr[0])) { in LexDigitOrNegative()
769 for (; isdigit(CurPtr[0]); ++CurPtr) in LexDigitOrNegative()
806 while (isdigit(CurPtr[0])) ++CurPtr; in LexDigitOrNegative()
809 if (isdigit(CurPtr[1]) || in LexDigitOrNegative()
810 ((CurPtr[1] == '-' || CurPtr[1] == '+') && isdigit(CurPtr[2]))) { in LexDigitOrNegative()
[all …]
/external/ppp/pppd/plugins/pppoatm/
Dtext2atm.c30 if (isdigit(*text)) { in try_pvc()
31 if (*text == '0' && isdigit(text[1])) return TRY_OTHER; in try_pvc()
37 while (isdigit(*text)); in try_pvc()
84 if (isdigit(*walk)) { in do_try_nsap()
117 value = isdigit(*text) ? *text-'0' : (islower(*text) ? in do_try_nsap()
139 if (!isdigit(*text)) return -1; /* non-digit in length */ in do_try_nsap()
167 if (isdigit(*text)) { in try_e164()
/external/llvm/lib/AsmParser/
DLLLexer.cpp365 if (isdigit(static_cast<unsigned char>(CurPtr[0]))) { in LexVar()
366 for (++CurPtr; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexVar()
432 if (isdigit(static_cast<unsigned char>(CurPtr[0]))) { in LexHash()
433 for (++CurPtr; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexHash()
458 if (!IntEnd && !isdigit(static_cast<unsigned char>(*CurPtr))) in LexIdentifier()
914 if (!isdigit(static_cast<unsigned char>(TokStart[0])) && in LexDigitOrNegative()
915 !isdigit(static_cast<unsigned char>(CurPtr[0]))) { in LexDigitOrNegative()
929 for (; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexDigitOrNegative()
953 while (isdigit(static_cast<unsigned char>(CurPtr[0]))) ++CurPtr; in LexDigitOrNegative()
956 if (isdigit(static_cast<unsigned char>(CurPtr[1])) || in LexDigitOrNegative()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp138 while (i < strLength && !std::isdigit(dtStr[i])) in FromPDFDateTimeString()
151 if (!std::isdigit(ch)) in FromPDFDateTimeString()
165 if (!std::isdigit(ch)) in FromPDFDateTimeString()
179 if (!std::isdigit(ch)) in FromPDFDateTimeString()
193 if (!std::isdigit(ch)) in FromPDFDateTimeString()
207 if (!std::isdigit(ch)) in FromPDFDateTimeString()
221 if (!std::isdigit(ch)) in FromPDFDateTimeString()
242 if (!std::isdigit(ch)) in FromPDFDateTimeString()
258 if (!std::isdigit(ch)) in FromPDFDateTimeString()
/external/libcxx/test/std/depr/depr.c.headers/
Dctype_h.pass.cpp32 #ifdef isdigit
33 #error isdigit defined
78 static_assert((std::is_same<decltype(isdigit(0)), int>::value), ""); in main()
93 assert(!isdigit('a')); in main()
/external/clang/test/Sema/
Denable_if.c69 int isdigit(int c) __attribute__((overloadable)); // expected-note{{candidate function}}
70 int isdigit(int c) __attribute__((overloadable)) // expected-note{{candidate function has been exp…
75 isdigit(c); // expected-warning{{ignoring return value of function declared with pure attribute}} in test3()
76 isdigit(10); // expected-warning{{ignoring return value of function declared with pure attribute}} in test3()
78isdigit(-10); // expected-error{{call to unavailable function 'isdigit': 'c' must have the value … in test3()
/external/mdnsresponder/Clients/
DClientCommon.c55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1])) in GetNextLabel()
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc205 if (!isdigit(SafeFirstChar(str))) return false; in safe_strto64()
216 } while (isdigit(SafeFirstChar(str))); in safe_strto64()
225 } while (isdigit(SafeFirstChar(str))); in safe_strto64()
237 if (!isdigit(SafeFirstChar(str))) return false; in safe_strtou64()
247 } while (isdigit(SafeFirstChar(str))); in safe_strtou64()
267 if (!isdigit(SafeFirstChar(str))) return false; in safe_strto32()
276 } while (isdigit(SafeFirstChar(str))); in safe_strto32()
288 if (!isdigit(SafeFirstChar(str))) return false; in safe_strtou32()
297 } while (isdigit(SafeFirstChar(str))); in safe_strtou32()
/external/python/cpython2/Python/
Datof.c16 while ((c = *s++) != '\0' && isdigit(c)) { in atof()
20 while ((c = *s++) != '\0' && isdigit(c)) { in atof()
35 while (isdigit(c)) { in atof()
/external/valgrind/coregrind/m_demangle/
Ddemangle.c249 && VG_(isdigit)(sym[4]) in VG_()
250 && VG_(isdigit)(sym[5]) in VG_()
251 && VG_(isdigit)(sym[6]) in VG_()
252 && VG_(isdigit)(sym[7]) in VG_()
253 && VG_(isdigit)(sym[8]) in VG_()
/external/libcxx/test/std/strings/c.strings/
Dcctype.pass.cpp32 #ifdef isdigit
33 #error isdigit defined
78 static_assert((std::is_same<decltype(std::isdigit(0)), int>::value), ""); in main()
93 assert(!std::isdigit('a')); in main()
/external/python/cpython3/Tools/pybench/
DStrings.py483 s.isdigit()
491 s.isdigit()
499 s.isdigit()
507 s.isdigit()
515 s.isdigit()
523 s.isdigit()
531 s.isdigit()
539 s.isdigit()
547 s.isdigit()
555 s.isdigit()
/external/python/cpython2/Tools/pybench/
DStrings.py477 s.isdigit()
485 s.isdigit()
493 s.isdigit()
501 s.isdigit()
509 s.isdigit()
517 s.isdigit()
525 s.isdigit()
533 s.isdigit()
541 s.isdigit()
549 s.isdigit()
/external/libcxx/include/
Dcctype24 int isdigit(int c);
63 #ifdef isdigit
64 #undef isdigit
108 using ::isdigit;
/external/swiftshader/third_party/LLVM/utils/TableGen/
DStringToOffsetTable.h62 if (isdigit(AggregateString[i+1])) { in EmitString()
63 assert(isdigit(AggregateString[i+2]) && in EmitString()
64 isdigit(AggregateString[i+3]) && in EmitString()
/external/syslinux/com32/lib/math/
Dstrtod.c78 while (isdigit(*p)) { in strtod()
88 while (isdigit(*p)) { in strtod()
119 while (isdigit(*p)) { in strtod()
/external/libtextclassifier/util/i18n/
Dlocale.cc63 return std::isdigit(region[0]) && std::isdigit(region[1]) && in CheckRegion()
64 std::isdigit(region[2]); in CheckRegion()
/external/syslinux/core/lwip/src/core/ipv4/
Dip_addr.c116 #define isdigit(c) in_range(c, '0', '9') macro
117 #define isxdigit(c) (isdigit(c) || in_range(c, 'a', 'f') || in_range(c, 'A', 'F'))
167 if (!isdigit(c)) in ipaddr_aton()
180 if (isdigit(c)) { in ipaddr_aton()

12345678910>>...21