Home
last modified time | relevance | path

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

12345678910>>...30

/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/classification/
Disdigit.pass.cpp21 assert(!std::isdigit(' ', l)); in main()
22 assert(!std::isdigit('<', l)); in main()
23 assert(!std::isdigit('\x8', l)); in main()
24 assert(!std::isdigit('A', l)); in main()
25 assert(!std::isdigit('a', l)); in main()
26 assert(!std::isdigit('z', l)); in main()
27 assert( std::isdigit('3', l)); in main()
28 assert(!std::isdigit('.', l)); in main()
29 assert(!std::isdigit('f', l)); in main()
30 assert( std::isdigit('9', l)); in main()
[all …]
/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/llvm-project/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cpp27 DECLARE_REAL(int, isdigit, int);
29 INTERCEPTOR(int, isdigit, int d) { in INTERCEPTOR() argument
48 EXPECT_TRUE(INTERCEPT_FUNCTION(isdigit)); in TEST()
52 EXPECT_NE(0, isdigit('1')); in TEST()
54 EXPECT_EQ(0, isdigit('a')); in TEST()
59 EXPECT_NE(0, REAL(isdigit)('1')); in TEST()
60 EXPECT_EQ(0, REAL(isdigit)('a')); in TEST()
/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/libcups/scheduler/
Dutil.c46 if (isdigit(*s & 255) && isdigit(*t & 255)) in cupsdCompareNames()
61 while (isdigit(*s & 255) && *s == *t) in cupsdCompareNames()
71 if (isdigit(*s & 255) && !isdigit(*t & 255)) in cupsdCompareNames()
73 else if (!isdigit(*s & 255) && isdigit(*t & 255)) in cupsdCompareNames()
75 else if (!isdigit(*s & 255) || !isdigit(*t & 255)) in cupsdCompareNames()
91 while (isdigit(*s & 255)) in cupsdCompareNames()
97 while (isdigit(*t & 255)) in cupsdCompareNames()
/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/llvm-project/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/llvm-project/mlir/lib/Parser/
DLexer.cpp183 while (isalpha(*curPtr) || isdigit(*curPtr) || *curPtr == '_' || in lexAtIdentifier()
196 while (isalpha(*curPtr) || isdigit(*curPtr) || *curPtr == '_' || in lexBareIdentifierOrKeyword()
272 assert(isdigit(curPtr[-1])); in lexNumber()
289 while (isdigit(*curPtr)) in lexNumber()
297 while (isdigit(*curPtr)) in lexNumber()
301 if (isdigit(static_cast<unsigned char>(curPtr[1])) || in lexNumber()
303 isdigit(static_cast<unsigned char>(curPtr[2])))) { in lexNumber()
305 while (isdigit(*curPtr)) in lexNumber()
346 if (isdigit(*curPtr)) { in lexPrefixedIdentifier()
348 while (isdigit(*curPtr)) { in lexPrefixedIdentifier()
[all …]
/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-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp110 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar()
281 if (!isdigit(C.peek())) { in maybeLexMachineBasicBlock()
287 while (isdigit(C.peek())) in maybeLexMachineBasicBlock()
310 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
315 while (isdigit(C.peek())) in maybeLexIndex()
323 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
328 while (isdigit(C.peek())) in maybeLexIndexAndName()
374 if (isdigit(C.peek(Rule.size()))) in maybeLexIRBlock()
384 if (isdigit(C.peek(Rule.size()))) in maybeLexIRValue()
401 while (isdigit(C.peek())) in lexVirtualRegister()
[all …]
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp121 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar()
296 if (!isdigit(C.peek())) { in maybeLexMachineBasicBlock()
302 while (isdigit(C.peek())) in maybeLexMachineBasicBlock()
325 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
330 while (isdigit(C.peek())) in maybeLexIndex()
338 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
343 while (isdigit(C.peek())) in maybeLexIndexAndName()
389 if (isdigit(C.peek(Rule.size()))) in maybeLexIRBlock()
399 if (isdigit(C.peek(Rule.size()))) in maybeLexIRValue()
416 while (isdigit(C.peek())) in lexVirtualRegister()
[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/libcxx/test/std/strings/c.strings/
Dcctype.pass.cpp34 #ifdef isdigit
35 #error isdigit defined
81 ASSERT_SAME_TYPE(int, decltype(std::isdigit(0))); in main()
96 assert(!std::isdigit('a')); in main()
/external/llvm-project/libcxx/test/std/strings/c.strings/
Dcctype.pass.cpp33 #ifdef isdigit
34 #error isdigit defined
80 ASSERT_SAME_TYPE(int, decltype(std::isdigit(0))); in main()
95 assert(!std::isdigit('a')); in main()
/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/mdnsresponder/Clients/
DClientCommon.c55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1])) in GetNextLabel()
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dctype_h.pass.cpp33 #ifdef isdigit
34 #error isdigit defined
79 static_assert((std::is_same<decltype(isdigit(0)), int>::value), ""); in main()
94 assert(!isdigit('a')); in main()
/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/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/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/llvm-project/clang/test/Sema/
Denable_if.c69 int isdigit(int c) __attribute__((overloadable));
70 int isdigit(int c) __attribute__((overloadable)) // expected-note {{'isdigit' has been explicitly m…
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{{'isdigit' is unavailable: 'c' must have the value of an unsigned… in test3()
/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;

12345678910>>...30