/external/llvm/lib/Support/ |
D | StringRef.cpp | 378 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument 381 if (Radix == 0) in getAsUnsignedInteger() 382 Radix = GetAutoSenseRadix(Str); in getAsUnsignedInteger() 402 if (CharVal >= Radix) in getAsUnsignedInteger() 407 Result = Result*Radix+CharVal; in getAsUnsignedInteger() 410 if (Result/Radix < PrevResult) in getAsUnsignedInteger() 419 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger() argument 425 if (getAsUnsignedInteger(Str, Radix, ULLVal) || in getAsSignedInteger() 434 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || in getAsSignedInteger() 445 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() argument [all …]
|
D | 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 …]
|
/external/llvm/lib/MC/MCParser/ |
D | 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()
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 359 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 361 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger() 370 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument 375 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger() 392 bool getAsInteger(unsigned Radix, APInt &Result) const;
|
D | APSInt.h | 65 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 66 APInt::toString(Str, Radix, isSigned()); 70 std::string toString(unsigned Radix) const { in toString() argument 71 return APInt::toString(Radix, isSigned()); in toString()
|
D | APInt.h | 1429 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed, 1434 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1435 toString(Str, Radix, false, false); 1440 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 1441 toString(Str, Radix, true, false); 1449 std::string toString(unsigned Radix, bool Signed) const;
|
/external/llvm/tools/llvm-size/ |
D | llvm-size.cpp | 66 Radix("-radix", cl::desc("Print size in radix. Only 8, 10, and 16 are valid"), variable 97 conv.toString(result, Radix, false, true); in getNumLengthAsString() 103 switch (Radix) { in getRadixFmt() 122 if (Radix == hexadecimal) in PrintDarwinSectionSizes() 364 << (Radix == octal ? "oct" : "dec") << " hex filename\n"; in PrintObjectSectionSizes() 374 fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << " " in PrintObjectSectionSizes() 717 Radix = RadixShort; in main()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 882 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument 883 switch (Radix) { in alwaysFitsInto64Bits()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1427 uint8_t Radix); 1436 unsigned SLen, uint8_t Radix);
|
/external/llvm/lib/IR/ |
D | Core.cpp | 848 uint8_t Radix) { in LLVMConstIntOfString() argument 850 Radix)); in LLVMConstIntOfString() 854 unsigned SLen, uint8_t Radix) { in LLVMConstIntOfStringAndSize() argument 856 Radix)); in LLVMConstIntOfStringAndSize()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 736 value Radix) { in llvm_const_int_of_string() argument 738 Int_val(Radix)); in llvm_const_int_of_string()
|
/external/icu/icu4c/source/data/unidata/ |
D | ppucd.txt | 2770 # Radix symbols
|