Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp425 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger() argument
428 if (Radix == 0) in consumeUnsignedInteger()
429 Radix = GetAutoSenseRadix(Str); in consumeUnsignedInteger()
450 if (CharVal >= Radix) in consumeUnsignedInteger()
455 Result = Result * Radix + CharVal; in consumeUnsignedInteger()
458 if (Result / Radix < PrevResult) in consumeUnsignedInteger()
473 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger() argument
479 if (consumeUnsignedInteger(Str, Radix, ULLVal) || in consumeSignedInteger()
489 if (consumeUnsignedInteger(Str2, Radix, ULLVal) || in consumeSignedInteger()
503 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument
[all …]
DAPInt.cpp2106 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2108 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2109 Radix == 36) && in toString()
2114 switch (Radix) { in toString()
2168 *--BufPtr = Digits[N % Radix]; in toString()
2169 N /= Radix; in toString()
2197 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2199 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2200 unsigned MaskAmt = Radix - 1; in toString()
2208 APInt divisor(Radix == 10? 4 : 8, Radix); in toString()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringRef.cpp416 bool llvm::consumeUnsignedInteger(StringRef &Str, unsigned Radix, in consumeUnsignedInteger() argument
419 if (Radix == 0) in consumeUnsignedInteger()
420 Radix = GetAutoSenseRadix(Str); in consumeUnsignedInteger()
441 if (CharVal >= Radix) in consumeUnsignedInteger()
446 Result = Result * Radix + CharVal; in consumeUnsignedInteger()
449 if (Result / Radix < PrevResult) in consumeUnsignedInteger()
464 bool llvm::consumeSignedInteger(StringRef &Str, unsigned Radix, in consumeSignedInteger() argument
470 if (consumeUnsignedInteger(Str, Radix, ULLVal) || in consumeSignedInteger()
480 if (consumeUnsignedInteger(Str2, Radix, ULLVal) || in consumeSignedInteger()
494 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument
[all …]
DAPInt.cpp2168 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2170 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2171 Radix == 36) && in toString()
2176 switch (Radix) { in toString()
2230 *--BufPtr = Digits[N % Radix]; in toString()
2231 N /= Radix; in toString()
2258 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2260 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2261 unsigned MaskAmt = Radix - 1; in toString()
2271 udivrem(Tmp, Radix, Tmp, Digit); in toString()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp299 unsigned Radix = 0; in LexDigit() local
303 Radix = 16; in LexDigit()
306 Radix = 2; in LexDigit()
308 if (Radix == 2 || Radix == 16) { in LexDigit()
312 if (Result.drop_back().getAsInteger(Radix, Value)) in LexDigit()
313 return ReturnError(TokStart, Radix == 2 ? "invalid binary number" : in LexDigit()
328 unsigned Radix = doHexLookAhead(CurPtr, 10, LexMasmIntegers); in LexDigit() local
329 bool isHex = Radix == 16; in LexDigit()
340 if (Result.getAsInteger(Radix, Value)) in LexDigit()
345 if (LexMasmIntegers && Radix == 16) in LexDigit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringRef.h38 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
41 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
43 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix,
45 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result);
499 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
501 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger()
510 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
515 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
533 consumeInteger(unsigned Radix, T &Result) { in consumeInteger() argument
535 if (consumeSignedInteger(*this, Radix, LLVal) || in consumeInteger()
[all …]
DAPSInt.h82 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
83 APInt::toString(Str, Radix, isSigned());
87 std::string toString(unsigned Radix) const { in toString() argument
88 return APInt::toString(Radix, isSigned()); in toString()
DAPInt.h1728 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1733 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1734 toString(Str, Radix, false, false);
1739 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1740 toString(Str, Radix, true, false);
1748 std::string toString(unsigned Radix, bool Signed) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h31 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
34 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
36 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix,
38 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result);
494 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
496 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger()
505 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
510 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
528 consumeInteger(unsigned Radix, T &Result) { in consumeInteger() argument
530 if (consumeSignedInteger(*this, Radix, LLVal) || in consumeInteger()
[all …]
DAPInt.h1410 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1415 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1416 toString(Str, Radix, false, false);
1421 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1422 toString(Str, Radix, true, false);
1430 std::string toString(unsigned Radix, bool Signed) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1898 uint8_t Radix);
1907 unsigned SLen, uint8_t Radix);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp1313 uint8_t Radix) { in LLVMConstIntOfString() argument
1315 Radix)); in LLVMConstIntOfString()
1319 unsigned SLen, uint8_t Radix) { in LLVMConstIntOfStringAndSize() argument
1321 Radix)); in LLVMConstIntOfStringAndSize()
/third_party/python/Misc/
DACKS1418 Jérôme Radix
/third_party/flutter/skia/third_party/externals/icu/source/data/unidata/
Dppucd.txt2876 # Radix symbols
/third_party/skia/third_party/externals/icu/source/data/unidata/
Dppucd.txt2908 # Radix symbols
/third_party/icu/icu4c/source/data/unidata/
Dppucd.txt2908 # Radix symbols