Home
last modified time | relevance | path

Searched refs:Radix (Results 1 – 10 of 10) sorted by relevance

/trueos/contrib/llvm/lib/Support/
HDStringRef.cpp340 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument
343 if (Radix == 0) in getAsUnsignedInteger()
344 Radix = GetAutoSenseRadix(Str); in getAsUnsignedInteger()
364 if (CharVal >= Radix) in getAsUnsignedInteger()
369 Result = Result*Radix+CharVal; in getAsUnsignedInteger()
372 if (Result/Radix < PrevResult) in getAsUnsignedInteger()
381 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger() argument
387 if (getAsUnsignedInteger(Str, Radix, ULLVal) || in getAsSignedInteger()
396 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || in getAsSignedInteger()
407 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() argument
[all …]
HDAPInt.cpp2124 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2126 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2127 Radix == 36) && in toString()
2132 switch (Radix) { in toString()
2186 *--BufPtr = Digits[N % Radix]; in toString()
2187 N /= Radix; in toString()
2215 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2217 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2218 unsigned MaskAmt = Radix - 1; in toString()
2226 APInt divisor(Radix == 10? 4 : 8, Radix); in toString()
[all …]
/trueos/contrib/llvm/lib/MC/MCParser/
HDAsmLexer.cpp248 unsigned Radix = doLookAhead(CurPtr, 10); in LexDigit() local
249 bool isHex = Radix == 16; in LexDigit()
259 if (Result.getAsInteger(Radix, Value)) { in LexDigit()
263 if (Result.getAsInteger(Radix, UValue)) in LexDigit()
270 if (Radix == 2 || Radix == 16) in LexDigit()
342 unsigned Radix = doLookAhead(CurPtr, 8); in LexDigit() local
343 bool isHex = Radix == 16; in LexDigit()
345 if (Result.getAsInteger(Radix, Value)) in LexDigit()
350 if (Radix == 16) in LexDigit()
/trueos/contrib/llvm/include/llvm/ADT/
HDStringRef.h29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
337 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
339 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger()
348 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
350 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
367 bool getAsInteger(unsigned Radix, APInt &Result) const;
HDAPSInt.h61 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
62 APInt::toString(Str, Radix, isSigned());
66 std::string toString(unsigned Radix) const { in toString() argument
67 return APInt::toString(Radix, isSigned()); in toString()
HDAPInt.h1407 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1412 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1413 toString(Str, Radix, false, false);
1418 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1419 toString(Str, Radix, true, false);
1427 std::string toString(unsigned Radix, bool Signed) const;
/trueos/usr.bin/sort/nls/
HDC.msg13 9 "Radix sort cannot be used with these sort options"
/trueos/contrib/llvm/tools/clang/lib/Lex/
HDLiteralSupport.cpp838 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument
839 switch (Radix) { in alwaysFitsInto64Bits()
/trueos/contrib/llvm/include/llvm-c/
HDCore.h1448 uint8_t Radix);
1457 unsigned SLen, uint8_t Radix);
/trueos/contrib/llvm/lib/IR/
HDCore.cpp676 uint8_t Radix) { in LLVMConstIntOfString() argument
678 Radix)); in LLVMConstIntOfString()
682 unsigned SLen, uint8_t Radix) { in LLVMConstIntOfStringAndSize() argument
684 Radix)); in LLVMConstIntOfStringAndSize()