Home
last modified time | relevance | path

Searched refs:CharVal (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Support/
DStringRef.cpp265 unsigned CharVal; in GetAsUnsignedInteger() local
267 CharVal = Str[0]-'0'; in GetAsUnsignedInteger()
269 CharVal = Str[0]-'a'+10; in GetAsUnsignedInteger()
271 CharVal = Str[0]-'A'+10; in GetAsUnsignedInteger()
277 if (CharVal >= Radix) in GetAsUnsignedInteger()
282 Result = Result*Radix+CharVal; in GetAsUnsignedInteger()
386 unsigned CharVal; in getAsInteger() local
388 CharVal = Str[0]-'0'; in getAsInteger()
390 CharVal = Str[0]-'a'+10; in getAsInteger()
392 CharVal = Str[0]-'A'+10; in getAsInteger()
[all …]
/external/clang/lib/Lex/
DLiteralSupport.cpp93 int CharVal = HexDigitValue(ThisTokBuf[0]); in ProcessCharEscape() local
94 if (CharVal == -1) break; in ProcessCharEscape()
98 ResultChar |= CharVal; in ProcessCharEscape()
189 int CharVal = HexDigitValue(ThisTokBuf[0]); in ProcessUCNEscape() local
190 if (CharVal == -1) break; in ProcessUCNEscape()
192 UcnVal |= CharVal; in ProcessUCNEscape()
660 llvm::APInt CharVal(Val.getBitWidth(), 0); in GetIntegerValue() local
670 CharVal = C; in GetIntegerValue()
682 Val += CharVal; in GetIntegerValue()
683 OverflowOccurred |= Val.ult(CharVal); in GetIntegerValue()