Home
last modified time | relevance | path

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

12345678910>>...22

/openbsd/src/usr.sbin/syslogd/
Dparsemsg.c122 isdigit(msg[0]) && isdigit(msg[1]) && isdigit(msg[2]) && in parsemsg_timestamp_v1()
123 isdigit(msg[3]) && msg[4] == '-' && in parsemsg_timestamp_v1()
124 isdigit(msg[5]) && isdigit(msg[6]) && msg[7] == '-' && in parsemsg_timestamp_v1()
125 isdigit(msg[8]) && isdigit(msg[9]) && msg[10] == 'T' && in parsemsg_timestamp_v1()
126 isdigit(msg[11]) && isdigit(msg[12]) && msg[13] == ':' && in parsemsg_timestamp_v1()
127 isdigit(msg[14]) && isdigit(msg[15]) && msg[16] == ':' && in parsemsg_timestamp_v1()
128 isdigit(msg[17]) && isdigit(msg[18]) && (msg[19] == '.' || in parsemsg_timestamp_v1()
135 if (msglen >= 3 && msg[0] == '.' && isdigit(msg[1])) { in parsemsg_timestamp_v1()
140 while(i < 7 && msglen >= 1 && isdigit(msg[0])) { in parsemsg_timestamp_v1()
152 isdigit(msg[1]) && isdigit(msg[2]) && in parsemsg_timestamp_v1()
[all …]
/openbsd/src/gnu/llvm/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()
/openbsd/src/usr.sbin/ldapd/
Dsyntax.c183 if (!isdigit((unsigned char)*value)) in syntax_is_integer()
257 if (!isdigit((unsigned char)*p) || *p != ' ') in syntax_is_numeric_string()
271 if (!isdigit((unsigned char)p[0]) || \ in syntax_is_time()
272 !isdigit((unsigned char)p[1])) \ in syntax_is_time()
288 if (!gen || isdigit((unsigned char)*p)) { in syntax_is_time()
290 if (isdigit((unsigned char)*p)) in syntax_is_time()
297 !isdigit((unsigned char)*++p))) in syntax_is_time()
303 if (!gen || isdigit((unsigned char)*p)) in syntax_is_time()
/openbsd/src/distrib/special/more/
Dtputs.c66 if (isdigit(*cp)) { in tputs()
69 } while (isdigit(*cp)); in tputs()
74 if (isdigit(*cp)) in tputs()
79 while (isdigit(*cp)) in tputs()
/openbsd/src/gnu/usr.bin/perl/cpan/Time-Piece/
DPiece.xs385 if (!isdigit((unsigned char)*buf)) in _strptime()
390 for (i = 0; len && *buf != 0 && isdigit((unsigned char)*buf); buf++) { in _strptime()
472 if (!isdigit((unsigned char)*buf)) in _strptime()
476 for (i = 0; len && *buf != 0 && isdigit((unsigned char)*buf); buf++) { in _strptime()
493 if (!isdigit((unsigned char)*buf)) in _strptime()
497 for (i = 0; len && *buf != 0 && isdigit((unsigned char)*buf); buf++) { in _strptime()
530 if (!isdigit((unsigned char)*buf)) in _strptime()
534 for (i = 0; len && *buf != 0 && isdigit((unsigned char)*buf); buf++) { in _strptime()
615 if (!isdigit((unsigned char)*buf)) in _strptime()
619 for (i = 0; len && *buf != 0 && isdigit((unsigned char)*buf); buf++) { in _strptime()
[all …]
/openbsd/src/lib/libcurses/tinfo/
Dlib_tputs.c341 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME()
342 while (isdigit(UChar(*string))) { in NCURSES_SP_NAME()
349 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME()
353 while (isdigit(UChar(*string))) in NCURSES_SP_NAME()
378 if ((!isdigit(UChar(*string)) && *string != '.') in NCURSES_SP_NAME()
386 while (isdigit(UChar(*string))) { in NCURSES_SP_NAME()
393 if (isdigit(UChar(*string))) { in NCURSES_SP_NAME()
397 while (isdigit(UChar(*string))) in NCURSES_SP_NAME()
Dcaptoinfo.c209 while (isdigit(UChar(*sp))) { in cvtchar()
321 if (parameterized >= 0 && isdigit(UChar(*s))) in _nc_captoinfo()
323 if (!(isdigit(UChar(*s)) || *s == '*' || *s == '.')) in _nc_captoinfo()
519 if (isdigit(UChar(*s)) || *s == '*' || *s == '.') in _nc_captoinfo()
546 && isdigit(UChar(ch1)) in bcd_expression()
547 && isdigit(UChar(ch2)) in bcd_expression()
649 while (isdigit(UChar(*padding)) || *padding == '.' || *padding == '*') in _nc_infotocap()
655 while (isdigit(UChar(*padding)) || *padding == '.' || *padding == '*') in _nc_infotocap()
807 while (isdigit(UChar(*str)) in _nc_infotocap()
894 while (isdigit(UChar(*str))) { in _nc_infotocap()
/openbsd/src/usr.bin/hexdump/
Dparse.c114 if (isdigit((unsigned char)*p)) { in add()
115 for (savep = p; isdigit((unsigned char)*p); ++p); in add()
130 if (isdigit((unsigned char)*p)) { in add()
131 for (savep = p; isdigit((unsigned char)*p); ++p); in add()
176 if (*fmt == '.' && isdigit((unsigned char)*++fmt)) { in size()
178 while (isdigit((unsigned char)*++fmt)); in size()
254 isdigit((unsigned char)*++p1)) { in rewrite()
257 while (isdigit((unsigned char)*++p1)) in rewrite()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp119 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar()
306 if (!isdigit(C.peek())) { in maybeLexMachineBasicBlock()
312 while (isdigit(C.peek())) in maybeLexMachineBasicBlock()
335 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
340 while (isdigit(C.peek())) in maybeLexIndex()
348 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
353 while (isdigit(C.peek())) in maybeLexIndexAndName()
399 if (isdigit(C.peek(Rule.size()))) in maybeLexIRBlock()
409 if (isdigit(C.peek(Rule.size()))) in maybeLexIRValue()
426 while (isdigit(C.peek())) in lexVirtualRegister()
[all …]
/openbsd/src/lib/libc/net/
Dinet_net_pton.c118 } else if (isascii(ch) && isdigit(ch)) { in inet_net_pton_ipv4()
130 isascii(ch) && isdigit(ch)); in inet_net_pton_ipv4()
139 if (!isascii(ch) || !isdigit(ch)) in inet_net_pton_ipv4()
147 isdigit((unsigned char)src[0]) && dst > odst) { in inet_net_pton_ipv4()
159 isascii(ch) && isdigit(ch)); in inet_net_pton_ipv4()
/openbsd/src/usr.bin/vi/vi/
Dv_increment.c99 #define ishex(c) (isdigit(c) || strchr("abcdefABCDEF", (c))) in v_increment()
101 #define isoctal(c) (isdigit(c) && (c) != '8' && (c) != '9') in v_increment()
127 if (!isdigit(p[end])) in v_increment()
133 if (!isdigit(p[end])) { in v_increment()
152 if (isdigit(p[end])) in v_increment()
/openbsd/src/usr.bin/tmux/
Dlayout-custom.c290 if (!isdigit((u_char) **layout)) in layout_construct()
295 while (isdigit((u_char) **layout)) in layout_construct()
300 while (isdigit((u_char) **layout)) in layout_construct()
305 while (isdigit((u_char) **layout)) in layout_construct()
310 while (isdigit((u_char) **layout)) in layout_construct()
315 while (isdigit((u_char) **layout)) in layout_construct()
/openbsd/src/gnu/llvm/llvm/lib/AsmParser/
DLLLexer.cpp338 if (!isdigit(static_cast<unsigned char>(CurPtr[0]))) in LexUIntID()
341 for (++CurPtr; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexUIntID()
459 if (!IntEnd && !isdigit(static_cast<unsigned char>(*CurPtr))) in LexIdentifier()
1046 if (!isdigit(static_cast<unsigned char>(TokStart[0])) && in LexDigitOrNegative()
1047 !isdigit(static_cast<unsigned char>(CurPtr[0]))) { in LexDigitOrNegative()
1061 for (; isdigit(static_cast<unsigned char>(CurPtr[0])); ++CurPtr) in LexDigitOrNegative()
1065 if (isdigit(TokStart[0]) && CurPtr[0] == ':') { in LexDigitOrNegative()
1095 while (isdigit(static_cast<unsigned char>(CurPtr[0]))) ++CurPtr; in LexDigitOrNegative()
1098 if (isdigit(static_cast<unsigned char>(CurPtr[1])) || in LexDigitOrNegative()
1100 isdigit(static_cast<unsigned char>(CurPtr[2])))) { in LexDigitOrNegative()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/TableGen/
DStringToOffsetTable.h65 if (isdigit(AggregateString[i + 1])) { in EmitString()
66 assert(isdigit(AggregateString[i + 2]) && in EmitString()
67 isdigit(AggregateString[i + 3]) && in EmitString()
/openbsd/src/usr.bin/pr/
Degetopt.c109 if (strchr(ostr, '#') && (isdigit((unsigned char)eoptopt) || in egetopt()
111 isdigit((unsigned char)*place)))) { in egetopt()
116 if (!isdigit((unsigned char)*p)) in egetopt()
/openbsd/src/lib/libform/
Dfty_num.c52 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c)))
54 #define isDigit(c) isdigit(UChar(c))
248 if (!isdigit(UChar(*bp))) in Check_This_Field()
257 if (!isdigit(UChar(*bp))) in Check_This_Field()
Dfty_int.c42 #define isDigit(c) (iswdigit((wint_t)(c)) || isdigit(UChar(c)))
44 #define isDigit(c) isdigit(UChar(c))
220 if (!isdigit(UChar(*bp))) in Check_This_Field()
Dfty_ipv4.c59 if (isdigit(UChar(*bp))) /* Must start with digit */ in Check_IPV4_Field()
87 return ((isdigit(UChar(c)) || (c == '.')) ? TRUE : FALSE); in Check_IPV4_Character()
/openbsd/src/gnu/llvm/libcxx/include/
Dcctype23 int isdigit(int c);
71 #ifdef isdigit
72 #undef isdigit
116 using ::isdigit _LIBCPP_USING_IF_EXISTS;
/openbsd/src/lib/libc/gen/
Disctype.c74 #undef isdigit
76 isdigit(int c) in isdigit() function
80 DEF_STRONG(isdigit);
/openbsd/src/gnu/llvm/llvm/lib/Demangle/
DDLangDemangle.cpp184 if (Mangled == nullptr || !std::isdigit(*Mangled)) in decodeNumber()
198 } while (std::isdigit(*Mangled)); in decodeNumber()
329 if (std::isdigit(*Mangled)) in isSymbolName()
341 return std::isdigit(Qref[-Ret]); in isSymbolName()
439 while (NumPtr < (Mangled + Len) && std::isdigit(*NumPtr)) in parseIdentifier()
/openbsd/src/gnu/gcc/libstdc++-v3/include/c_std/
Dstd_cctype.h57 #undef isdigit
73 using ::isdigit;
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/c_std/
Dstd_cctype.h55 #undef isdigit
71 using ::isdigit;
/openbsd/src/bin/sleep/
Dsleep.c75 if (!isdigit((unsigned char)*cp)) in main()
91 if (!isdigit((unsigned char)*cp)) in main()
/openbsd/src/usr.bin/calendar/
Dio.c220 for (; !isdigit((unsigned char)*p) && !isalpha((unsigned char)*p) && in getfield()
228 if (isdigit((unsigned char)*p)) { in getfield()
230 for (; !isdigit((unsigned char)*p) && in getfield()
241 for(; isdigit((unsigned char)*++p); ) in getfield()
305 for (*p = savech; !isdigit((unsigned char)*p) && in getfield()

12345678910>>...22