Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Support/
DStringRef.cpp260 static bool GetAsUnsignedInteger(StringRef Str, unsigned Radix, in GetAsUnsignedInteger() argument
263 if (Radix == 0) in GetAsUnsignedInteger()
264 Radix = GetAutoSenseRadix(Str); in GetAsUnsignedInteger()
284 if (CharVal >= Radix) in GetAsUnsignedInteger()
289 Result = Result*Radix+CharVal; in GetAsUnsignedInteger()
301 bool StringRef::getAsInteger(unsigned Radix, unsigned long long &Result) const { in getAsInteger() argument
302 return GetAsUnsignedInteger(*this, Radix, Result); in getAsInteger()
306 bool StringRef::getAsInteger(unsigned Radix, long long &Result) const { in getAsInteger() argument
311 if (GetAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
320 if (GetAsUnsignedInteger(substr(1), Radix, ULLVal) || in getAsInteger()
[all …]
DAPInt.cpp2183 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2185 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2186 Radix == 36) && in toString()
2191 switch (Radix) { in toString()
2241 *--BufPtr = Digits[N % Radix]; in toString()
2242 N /= Radix; in toString()
2270 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2272 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2273 unsigned MaskAmt = Radix - 1; in toString()
2281 APInt divisor(Radix == 10? 4 : 8, Radix); in toString()
[all …]
/external/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.cpp2121 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2123 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2124 Radix == 36) && in toString()
2129 switch (Radix) { in toString()
2183 *--BufPtr = Digits[N % Radix]; in toString()
2184 N /= Radix; in toString()
2212 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2214 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2215 unsigned MaskAmt = Radix - 1; in toString()
2223 APInt divisor(Radix == 10? 4 : 8, Radix); in toString()
[all …]
/external/llvm/lib/Support/
DStringRef.cpp378 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 …]
DAPInt.cpp2147 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, in toString() argument
2149 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 || in toString()
2150 Radix == 36) && in toString()
2155 switch (Radix) { in toString()
2209 *--BufPtr = Digits[N % Radix]; in toString()
2210 N /= Radix; in toString()
2238 if (Radix == 2 || Radix == 8 || Radix == 16) { in toString()
2240 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString()
2241 unsigned MaskAmt = Radix - 1; in toString()
2249 APInt divisor(Radix == 10? 4 : 8, Radix); in toString()
[all …]
/external/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;
/external/swiftshader/third_party/LLVM/tools/llvm-size/
Dllvm-size.cpp52 Radix("-radix", variable
84 conv.toString(result, Radix, false, true); in getNumLengthAsString()
97 switch (Radix) { in PrintObjectSectionSizes()
226 fmt << "%7" << (Radix == octal ? "llo" : "llu") << " " in PrintObjectSectionSizes()
297 Radix = RadixShort; in main()
304 << (Radix == octal ? "oct" : "dec") in main()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp260 unsigned Radix = doLookAhead(CurPtr, 10); in LexDigit() local
261 bool isHex = Radix == 16; in LexDigit()
271 if (Result.getAsInteger(Radix, Value)) in LexDigit()
276 if (Radix == 2 || Radix == 16) in LexDigit()
347 unsigned Radix = doLookAhead(CurPtr, 8); in LexDigit() local
348 bool isHex = Radix == 16; in LexDigit()
350 if (Result.getAsInteger(Radix, Value)) in LexDigit()
355 if (Radix == 16) in LexDigit()
/external/llvm/include/llvm/ADT/
DStringRef.h30 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
33 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
366 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
368 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger()
377 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
382 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
399 bool getAsInteger(unsigned Radix, APInt &Result) const;
DAPSInt.h65 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()
DAPInt.h1434 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1439 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1440 toString(Str, Radix, false, false);
1445 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1446 toString(Str, Radix, true, false);
1454 std::string toString(unsigned Radix, bool Signed) const;
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringRef.h309 bool getAsInteger(unsigned Radix, long long &Result) const;
310 bool getAsInteger(unsigned Radix, unsigned long long &Result) const;
311 bool getAsInteger(unsigned Radix, int &Result) const;
312 bool getAsInteger(unsigned Radix, unsigned &Result) const;
327 bool getAsInteger(unsigned Radix, APInt &Result) const;
DAPSInt.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()
DAPInt.h1256 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1261 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1262 toString(Str, Radix, false, false);
1267 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1268 toString(Str, Radix, true, false);
1274 std::string toString(unsigned Radix, bool Signed) const;
/external/llvm/tools/llvm-size/
Dllvm-size.cpp73 Radix("-radix", cl::desc("Print size in radix. Only 8, 10, and 16 are valid"), variable
159 conv.toString(result, Radix, false, true); in getNumLengthAsString()
165 switch (Radix) { in getRadixFmt()
208 if (Radix == hexadecimal) in printDarwinSectionSizes()
466 << (Radix == octal ? "oct" : "dec") << " hex filename\n"; in printObjectSectionSizes()
476 fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << " " in printObjectSectionSizes()
835 Radix = RadixShort; in main()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp142 enum Radix { d, o, x }; enum
143 cl::opt<Radix>
633 case Radix::o: in sortAndPrintSymbolList()
636 case Radix::x: in sortAndPrintSymbolList()
646 case Radix::o: in sortAndPrintSymbolList()
649 case Radix::x: in sortAndPrintSymbolList()
/external/pdfium/xfa/fxfa/
Dcxfa_fflistbox.cpp121 case XFA_AttributeEnum::Radix: in GetAlignment()
Dcxfa_ffdatetimeedit.cpp115 case XFA_AttributeEnum::Radix: in GetAlignment()
Dcxfa_ffcombobox.cpp161 case XFA_AttributeEnum::Radix: in GetAlignment()
Dcxfa_fftextedit.cpp229 case XFA_AttributeEnum::Radix: in GetAlignment()
/external/libxaac/decoder/armv7/
Dixheaacd_fft32x32_ld2_armv7.s9 @DIT Radix-4 FFT First Stage
161 @DIT Radix-4 FFT Second Stage
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data_enum.cpp243 {0xe1911d98, L"radix", XFA_AttributeEnum::Radix},
/external/clang/lib/Lex/
DLiteralSupport.cpp895 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument
896 switch (Radix) { in alwaysFitsInto64Bits()

12