Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DStringRef.cpp321 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, in getAsUnsignedInteger() argument
324 if (Radix == 0) in getAsUnsignedInteger()
325 Radix = GetAutoSenseRadix(Str); in getAsUnsignedInteger()
345 if (CharVal >= Radix) in getAsUnsignedInteger()
350 Result = Result*Radix+CharVal; in getAsUnsignedInteger()
353 if (Result/Radix < PrevResult) in getAsUnsignedInteger()
362 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix, in getAsSignedInteger() argument
368 if (getAsUnsignedInteger(Str, Radix, ULLVal) || in getAsSignedInteger()
377 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || in getAsSignedInteger()
388 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() argument
[all …]
DAPInt.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 …]
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp201 unsigned Radix = doLookAhead(CurPtr, 10); in LexDigit() local
202 bool isHex = Radix == 16; in LexDigit()
212 if (Result.getAsInteger(Radix, Value)) { in LexDigit()
216 if (Result.getAsInteger(Radix, UValue)) in LexDigit()
223 if (Radix == 2 || Radix == 16) in LexDigit()
290 unsigned Radix = doLookAhead(CurPtr, 8); in LexDigit() local
291 bool isHex = Radix == 16; in LexDigit()
293 if (Result.getAsInteger(Radix, Value)) in LexDigit()
298 if (Radix == 16) in LexDigit()
/external/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 ? PRIo64 : PRIu64) << " " in PrintObjectSectionSizes()
297 Radix = RadixShort; in main()
304 << (Radix == octal ? "oct" : "dec") in main()
/external/llvm/include/llvm/ADT/
DStringRef.h29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
331 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
333 if (getAsSignedInteger(*this, Radix, LLVal) || in getAsInteger()
342 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() argument
344 if (getAsUnsignedInteger(*this, Radix, ULLVal) || in getAsInteger()
361 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.h1286 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1291 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1292 toString(Str, Radix, false, false);
1297 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1298 toString(Str, Radix, true, false);
1304 std::string toString(unsigned Radix, bool Signed) const;
/external/dropbear/libtommath/
Dtommath.out89 \BOOKMARK [2][-]{subsection.6.2.2}{Choosing a Radix Point}{section.6.2}
99 \BOOKMARK [1][-]{section.6.4}{The Diminished Radix Algorithm}{chapter.6}
102 \BOOKMARK [2][-]{subsection.6.4.3}{Restricted Diminished Radix Reduction}{section.6.4}
103 \BOOKMARK [2][-]{subsection.6.4.4}{Unrestricted Diminished Radix Reduction}{section.6.4}
118 \BOOKMARK [2][-]{subsection.8.1.3}{Radix- Division with Remainder}{section.8.1}
126 \BOOKMARK [2][-]{subsection.8.4.1}{Reading Radix-n Input}{section.8.4}
127 \BOOKMARK [2][-]{subsection.8.4.2}{Generating Radix-n Output}{section.8.4}
Dbn.tex1493 \section{Restricted Dimminished Radix}
1495 ``Dimminished Radix'' reduction refers to reduction with respect to moduli that are ameniable to si…
1526 \section{Unrestricted Dimminshed Radix}
1567 detect when Barrett, Montgomery, Restricted and Unrestricted Dimminished Radix based exponentiation…
/external/dropbear/libtommath/logs/
Dgraphs.dem13 …od (Montgomery)", 'expt_dr.log' smooth bezier title "Exptmod (Dimminished Radix)", 'expt_2k.log' s…
/external/clang/lib/Lex/
DLiteralSupport.cpp758 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { in alwaysFitsInto64Bits() argument
759 switch (Radix) { in alwaysFitsInto64Bits()
/external/llvm/include/llvm-c/
DCore.h1339 uint8_t Radix);
1348 unsigned SLen, uint8_t Radix);
/external/llvm/lib/IR/
DCore.cpp636 uint8_t Radix) { in LLVMConstIntOfString() argument
638 Radix)); in LLVMConstIntOfString()
642 unsigned SLen, uint8_t Radix) { in LLVMConstIntOfStringAndSize() argument
644 Radix)); in LLVMConstIntOfStringAndSize()
/external/quake/quake/src/QW/
Dqwchangelog.txt23 telefrag, they both die (happens in deathmatch 4). Thanks to Nolan 'Radix'
Dqwrlnote.txt149 telefrag, they both die (happens in deathmatch 4). Thanks to Nolan 'Radix'
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c629 value Radix) { in llvm_const_int_of_string() argument
631 Int_val(Radix)); in llvm_const_int_of_string()
/external/icu4c/data/unidata/
Dppucd.txt2647 # Radix symbols