Home
last modified time | relevance | path

Searched refs:isalpha (Results 1 – 25 of 100) sorted by relevance

1234

/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/classification/
H A Disalpha.pass.cpp21 assert(!std::isalpha(' ', l)); in main()
22 assert(!std::isalpha('<', l)); in main()
23 assert(!std::isalpha('\x8', l)); in main()
24 assert( std::isalpha('A', l)); in main()
25 assert( std::isalpha('a', l)); in main()
26 assert( std::isalpha('z', l)); in main()
27 assert(!std::isalpha('3', l)); in main()
28 assert(!std::isalpha('.', l)); in main()
29 assert( std::isalpha('f', l)); in main()
30 assert(!std::isalpha('9', l)); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/c.strings/
H A Dcctype.pass.cpp21 #ifdef isalpha
22 #error isalpha defined
77 ASSERT_SAME_TYPE(int, decltype(std::isalpha(0))); in main()
92 assert( std::isalpha('a')); in main()
/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/
H A Dctype_h.pass.cpp21 #ifdef isalpha
22 #error isalpha defined
76 static_assert((std::is_same<decltype(isalpha(0)), int>::value), ""); in main()
91 assert(isalpha('a')); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dcctype20 int isalpha(int c);
51 #ifdef isalpha
52 #undef isalpha
105 using ::isalpha _LIBCPP_USING_IF_EXISTS;
H A Dctype.h43 #undef isalpha
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DLexer.cpp79 if (isalpha(curPtr[-1])) in lexToken()
203 if (!isalpha(cur) && cur != '_') in lexAtIdentifier()
207 while (isalpha(*curPtr) || isdigit(*curPtr) || *curPtr == '_' || in lexAtIdentifier()
220 while (isalpha(*curPtr) || isdigit(*curPtr) || *curPtr == '_' || in lexBareIdentifierOrKeyword()
374 } else if (isalpha(*curPtr) || isPunct(*curPtr)) { in lexPrefixedIdentifier()
377 } while (isalpha(*curPtr) || isdigit(*curPtr) || isPunct(*curPtr)); in lexPrefixedIdentifier()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dstd-c-library-functions.cpp10 bool isalpha(char);
13 clang_analyzer_eval(isalpha('A')); // no-crash // expected-warning{{UNKNOWN}} in test()
H A Dstd-c-library-functions.c177 int isalpha(int);
179 clang_analyzer_eval(isalpha(']')); // expected-warning{{FALSE}} in test_isalpha()
180 clang_analyzer_eval(isalpha('Q')); // expected-warning{{TRUE}} in test_isalpha()
181 clang_analyzer_eval(isalpha(128)); // expected-warning{{UNKNOWN}} in test_isalpha()
H A Dstd-c-library-functions-path-notes.c8 int isalpha(int);
23 if (isalpha(c)) {// \ in test_isalpha()
/llvm-project-15.0.7/libc/src/ctype/
H A Disalpha.cpp18 LLVM_LIBC_FUNCTION(int, isalpha, (int c)) {
19 return static_cast<int>(internal::isalpha(static_cast<unsigned>(c)));
H A DCMakeLists.txt12 isalpha
14 isalpha.cpp
16 isalpha.h
H A Disalpha.h14 int isalpha(int c);
/llvm-project-15.0.7/libc/test/src/ctype/
H A Disalpha_test.cpp18 EXPECT_NE(__llvm_libc::isalpha(ch), 0); in TEST()
20 EXPECT_EQ(__llvm_libc::isalpha(ch), 0); in TEST()
H A DCMakeLists.txt14 isalpha
20 libc.src.ctype.isalpha
/llvm-project-15.0.7/libc/src/__support/
H A Dctype_utils.h21 static constexpr bool isalpha(unsigned ch) { return (ch | 32) - 'a' < 26; } in isalpha() function
26 return isalpha(ch) || isdigit(ch); in isalnum()
/llvm-project-15.0.7/clang/test/Sema/
H A Dlibbuiltins-ctype-x86_64.c4 int isalpha(int);
22 (void)isalpha(x); in test()
H A Dlibbuiltins-ctype-powerpc64.c4 int isalpha(int);
22 (void)isalpha(x); in test()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.cpp146 if (isalpha(CurChar) || CurChar == '_') in LexToken()
254 if (isalpha(NextChar) || NextChar == '_') in LexToken()
320 if (!isalpha(CurPtr[0]) && CurPtr[0] != '_') in LexVarName()
326 while (isalpha(*CurPtr) || isdigit(*CurPtr) || *CurPtr == '_') in LexVarName()
338 while (isalpha(*CurPtr) || isdigit(*CurPtr) || *CurPtr == '_') in LexIdentifier()
539 if (!isalpha(*CurPtr)) in LexExclaim()
543 while (isalpha(*CurPtr)) in LexExclaim()
893 if (*CurPtr != '_' && !isalpha(*CurPtr)) in prepLexMacroName()
897 while (isalpha(*CurPtr) || isdigit(*CurPtr) || *CurPtr == '_') in prepLexMacroName()
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/
H A Dctype.c15 i += !!isalpha(c); in check_ctype()
46 i += !!isalpha(EOF); in check_ctype()
/llvm-project-15.0.7/lldb/examples/scripting/
H A Ddictionary.c28 while ((start < end) && (!isalpha(start[0]))) in strip()
31 while ((end > start) && (!isalpha(end[0]))) in strip()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DFormatGen.cpp88 if (isalpha(curChar) || curChar == '_') in lexToken()
147 if (!isalpha(curPtr[0]) && curPtr[0] != '_') in lexVariable()
400 if (!isalpha(value.front()) && value.front() != '_') { in canFormatStringAsKeyword()
429 if (isalpha(front) || bare.contains(front)) in isValidLiteral()
/llvm-project-15.0.7/third-party/benchmark/tools/
H A Dstrip_asm.py56 if not first.isalpha() and first != '_':
78 tk[1].isalpha() and tk[1] != 'Z':
/llvm-project-15.0.7/llvm/lib/Demangle/
H A DDLangDemangle.cpp209 if (Mangled == nullptr || !std::isalpha(*Mangled)) in decodeBackrefPos()
224 while (std::isalpha(*Mangled)) { in decodeBackrefPos()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DOptionParser.cpp65 if (long_options[i].flag == nullptr && isalpha(long_options[i].val)) { in GetShortOptionString()
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointID.cpp99 if (!isalpha(str[0]) && str[0] != '_') in StringIsBreakpointName()

1234