Home
last modified time | relevance | path

Searched refs:InfoTable (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Basic/
DCharInfo.h20 extern const uint16_t InfoTable[256];
52 if (InfoTable[c] & (CHAR_UPPER|CHAR_LOWER|CHAR_UNDER))
62 if (InfoTable[c] & (CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER))
73 return (InfoTable[c] & (CHAR_HORZ_WS|CHAR_SPACE)) != 0; in isHorizontalWhitespace()
81 return (InfoTable[c] & CHAR_VERT_WS) != 0; in isVerticalWhitespace()
90 return (InfoTable[c] & (CHAR_HORZ_WS|CHAR_VERT_WS|CHAR_SPACE)) != 0; in isWhitespace()
96 return (InfoTable[c] & CHAR_DIGIT) != 0; in isDigit()
102 return (InfoTable[c] & CHAR_LOWER) != 0; in isLowercase()
108 return (InfoTable[c] & CHAR_UPPER) != 0; in isUppercase()
114 return (InfoTable[c] & (CHAR_UPPER|CHAR_LOWER)) != 0; in isLetter()
[all …]
/external/clang/unittests/Basic/
DCharInfoTest.cpp19 EXPECT_EQ((unsigned)CHAR_SPACE, InfoTable[(unsigned)' ']); in TEST()
20 EXPECT_EQ((unsigned)CHAR_HORZ_WS, InfoTable[(unsigned)'\t']); in TEST()
21 EXPECT_EQ((unsigned)CHAR_HORZ_WS, InfoTable[(unsigned)'\f']); // ?? in TEST()
22 EXPECT_EQ((unsigned)CHAR_HORZ_WS, InfoTable[(unsigned)'\v']); // ?? in TEST()
23 EXPECT_EQ((unsigned)CHAR_VERT_WS, InfoTable[(unsigned)'\n']); in TEST()
24 EXPECT_EQ((unsigned)CHAR_VERT_WS, InfoTable[(unsigned)'\r']); in TEST()
25 EXPECT_EQ((unsigned)CHAR_UNDER, InfoTable[(unsigned)'_']); in TEST()
26 EXPECT_EQ((unsigned)CHAR_PERIOD, InfoTable[(unsigned)'.']); in TEST()
29 EXPECT_EQ((unsigned)CHAR_XLOWER, InfoTable[i]); in TEST()
30 EXPECT_EQ((unsigned)CHAR_XUPPER, InfoTable[i+'A'-'a']); in TEST()
[all …]
/external/clang/lib/Driver/
DDriverOptions.cpp23 static const OptTable::Info InfoTable[] = { variable
37 : OptTable(InfoTable, llvm::array_lengthof(InfoTable)) {} in DriverOptTable()
/external/llvm/unittests/Option/
DOptionParsingTest.cpp39 static const OptTable::Info InfoTable[] = { variable
52 : OptTable(InfoTable, array_lengthof(InfoTable)) {} in TestOptTable()
/external/clang/lib/Basic/
DCharInfo.cpp16 const uint16_t clang::charinfo::InfoTable[256] = { member in clang::charinfo