| /NextBSD/contrib/llvm/lib/Support/ |
| HD | StringRef.cpp | 339 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument 342 if (Radix == 0) in getAsUnsignedInteger() 343 Radix = GetAutoSenseRadix(Str); in getAsUnsignedInteger() 363 if (CharVal >= Radix) in getAsUnsignedInteger() 368 Result = Result*Radix+CharVal; in getAsUnsignedInteger() 371 if (Result/Radix < PrevResult) in getAsUnsignedInteger() 380 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger() argument 386 if (getAsUnsignedInteger(Str, Radix, ULLVal) || in getAsSignedInteger() 395 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || in getAsSignedInteger() 406 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() argument [all …]
|
| HD | APInt.cpp | 2143 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument 2145 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString() 2146 Radix == 36) && in toString() 2151 switch (Radix) { in toString() 2205 *--BufPtr = Digits[N % Radix]; in toString() 2206 N /= Radix; in toString() 2234 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString() 2236 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString() 2237 unsigned MaskAmt = Radix - 1; in toString() 2245 APInt divisor(Radix == 10? 4 : 8, Radix); in toString() [all …]
|
| /NextBSD/contrib/llvm/lib/MC/MCParser/ |
| HD | AsmLexer.cpp | 257 unsigned Radix = doLookAhead(CurPtr, 10); in LexDigit() local 258 bool isHex = Radix == 16; in LexDigit() 268 if (Result.getAsInteger(Radix, Value)) in LexDigit() 273 if (Radix == 2 || Radix == 16) in LexDigit() 344 unsigned Radix = doLookAhead(CurPtr, 8); in LexDigit() local 345 bool isHex = Radix == 16; in LexDigit() 347 if (Result.getAsInteger(Radix, Value)) in LexDigit() 352 if (Radix == 16) in LexDigit()
|
| /NextBSD/contrib/llvm/include/llvm/ADT/ |
| HD | StringRef.h | 28 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 31 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 347 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 349 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger() 358 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 363 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger() 380 bool getAsInteger(unsigned Radix, APInt &Result) const;
|
| HD | APSInt.h | 64 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 65 APInt::toString(Str, Radix, isSigned()); 69 std::string toString(unsigned Radix) const { in toString() argument 70 return APInt::toString(Radix, isSigned()); in toString()
|
| HD | APInt.h | 1428 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed, 1433 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1434 toString(Str, Radix, false, false); 1439 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1440 toString(Str, Radix, true, false); 1448 std::string toString(unsigned Radix, bool Signed) const;
|
| /NextBSD/usr.bin/sort/nls/ |
| HD | C.msg | 13 9 "Radix sort cannot be used with these sort options"
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | LiteralSupport.cpp | 886 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument 887 switch (Radix) { in alwaysFitsInto64Bits()
|
| /NextBSD/contrib/llvm/include/llvm-c/ |
| HD | Core.h | 1516 uint8_t Radix); 1525 unsigned SLen, uint8_t Radix);
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Core.cpp | 843 uint8_t Radix) { in LLVMConstIntOfString() argument 845 Radix)); in LLVMConstIntOfString() 849 unsigned SLen, uint8_t Radix) { in LLVMConstIntOfStringAndSize() argument 851 Radix)); in LLVMConstIntOfStringAndSize()
|