Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/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.cpp101 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar()
176 if (C.peek() != 'i' || !isdigit(C.peek(1))) in maybeLexIntegerType()
180 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()
335 if (isdigit(C.peek(Rule.size()))) in maybeLexIRBlock()
[all …]
/external/e2fsprogs/misc/
Dbase_device.c75 !isdigit(cp[1]) || !isdigit(cp[3])) in base_device()
85 if (isdigit(*cp)) in base_device()
114 if (!isdigit(*cp)) in base_device()
136 if (!isdigit(*cp)) in base_device()
/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/include/
Dcctype24 int isdigit(int c);
83 #ifdef isdigit
84 inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isdigit(int __c) {return isdigit(__c);}
85 #undef isdigit
86 inline _LIBCPP_INLINE_VISIBILITY int isdigit(int __c) {return __libcpp_isdigit(__c);}
87 #else // isdigit
88 using ::isdigit;
89 #endif // isdigit
/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); in test3()
76 isdigit(10); 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/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()
894 if (!isdigit(static_cast<unsigned char>(TokStart[0])) && in LexDigitOrNegative()
895 !isdigit(static_cast<unsigned char>(CurPtr[0]))) { in LexDigitOrNegative()
909 for (; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexDigitOrNegative()
933 while (isdigit(static_cast<unsigned char>(CurPtr[0]))) ++CurPtr; in LexDigitOrNegative()
936 if (isdigit(static_cast<unsigned char>(CurPtr[1])) || in LexDigitOrNegative()
[all …]
/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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dttl.py34 if text.isdigit():
37 if not text[0].isdigit():
42 if c.isdigit():
Dtokenizer.py127 if c.isdigit():
136 if not (c2.isdigit() and c3.isdigit()):
377 if c.isdigit():
384 if not (c2.isdigit() and c3.isdigit()):
447 if not token.value.isdigit():
488 if not token.value.isdigit():
De164.py38 parts = [d for d in text if d.isdigit()]
55 dlabels = [d for d in name.labels if (d.isdigit() and len(d) == 1)]
/external/valgrind/coregrind/m_demangle/
Ddemangle.c201 && VG_(isdigit)(sym[4]) in VG_()
202 && VG_(isdigit)(sym[5]) in VG_()
203 && VG_(isdigit)(sym[6]) in VG_()
204 && VG_(isdigit)(sym[7]) in VG_()
205 && 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(!isdigit('a')); in main()
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch184 + while (isdigit(*cp))
189 + if (isdigit(*cp)) {
191 + if (isdigit(*cp)) {
224 + while (isdigit(*cp))
230 + if (!(isdigit(*cp)))
233 + while (isdigit(*cp))
238 + if (!(isdigit(*cp)))
241 + while (isdigit(*cp))
246 + if (isdigit(*cp)) {
248 + if (isdigit(*cp)) {
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/
DLOC.py161 if t.isdigit():
166 if not seconds.isdigit():
172 if l == 0 or l > 3 or not milliseconds.isdigit():
182 elif t.isdigit():
192 if t.isdigit():
197 if not seconds.isdigit():
203 if l == 0 or l > 3 or not milliseconds.isdigit():
213 elif t.isdigit():
DGPOS.py23 if what.isdigit():
28 if not left == '' and not left.isdigit():
30 if not right == '' and not right.isdigit():
/external/llvm/include/llvm/TableGen/
DStringToOffsetTable.h64 if (isdigit(AggregateString[i+1])) { in EmitString()
65 assert(isdigit(AggregateString[i+2]) && in EmitString()
66 isdigit(AggregateString[i+3]) && in EmitString()
/external/llvm/lib/TableGen/
DTGLexer.cpp139 if (isdigit(CurChar)) { in LexToken()
146 } while (isdigit(NextChar)); in LexToken()
242 while (isalpha(*CurPtr) || isdigit(*CurPtr) || *CurPtr == '_') in LexVarName()
255 while (isalpha(*CurPtr) || isdigit(*CurPtr) || *CurPtr == '_') in LexIdentifier()
419 if (!isdigit(CurPtr[0])) { in LexNumber()
426 while (isdigit(CurPtr[0])) in LexNumber()
/external/libedit/src/
Dunvis.c78 #define xtod(c) (isdigit(c) ? (c - '0') : ((tolower(c) - 'a') + 10))
79 #define XTOD(c) (isdigit(c) ? (c - '0') : ((c - 'A') + 10))
397 if (isxdigit(uc) && (isdigit(uc) || isupper(uc))) { in unvis()
405 if (isxdigit(uc) && (isdigit(uc) || isupper(uc))) { in unvis()
466 if (!isdigit(uc)) in unvis()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp76 while (isdigit(*CurPtr)) in LexFloatLiteral()
86 while (isdigit(*CurPtr)) in LexFloatLiteral()
131 while (isdigit(*CurPtr)) in LexHexFloatLiteral()
148 if (CurPtr[-1] == '.' && isdigit(*CurPtr)) { in LexIdentifier()
150 while (isdigit(*CurPtr)) in LexIdentifier()
223 if (isdigit(*LookAhead)) { in doLookAhead()
286 if (!isdigit(CurPtr[0])) { in LexDigit()
/external/valgrind/memcheck/tests/
Dunit_libcbase.c295 CHECK( VG_(isdigit)('0') ); in test_isdigit()
296 CHECK( VG_(isdigit)('1') ); in test_isdigit()
297 CHECK( VG_(isdigit)('5') ); in test_isdigit()
298 CHECK( VG_(isdigit)('9') ); in test_isdigit()
299 CHECK( ! VG_(isdigit)('a') ); in test_isdigit()
300 CHECK( ! VG_(isdigit)('!') ); in test_isdigit()
/external/opencv3/samples/cpp/
Dlaplace.cpp31 if( argc == 1 || (argc == 2 && strlen(argv[1]) == 1 && isdigit(argv[1][0]))) in main()
41 if( argc > 2 && isdigit(argv[2][0]) ) in main()

12345678910>>...14