Searched refs:Radix (Results 1 - 13 of 13) sorted by relevance

/external/llvm/lib/Support/
H A DStringRef.cpp321 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix,
324 if (Radix == 0)
325 Radix = GetAutoSenseRadix(Str);
345 if (CharVal >= Radix)
350 Result = Result*Radix+CharVal;
353 if (Result/Radix < PrevResult)
362 bool llvm::getAsSignedInteger(StringRef Str, unsigned Radix,
368 if (getAsUnsignedInteger(Str, Radix, ULLVal) ||
377 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) ||
388 bool StringRef::getAsInteger(unsigned Radix, APIn
[all...]
H A DAPInt.cpp614 "Radix should be 2, 8, 10, 16, or 36!");
2069 "Radix should be 2, 8, 10, 16, or 36!");
2124 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix,
2126 assert((Radix == 10 || Radix == 8 || Radix == 16 || Radix == 2 ||
2127 Radix == 36) &&
2128 "Radix should be 2, 8, 10, 16, or 36!");
2132 switch (Radix) {
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp201 unsigned Radix = doLookAhead(CurPtr, 10); local
202 bool isHex = Radix == 16;
212 if (Result.getAsInteger(Radix, Value)) {
216 if (Result.getAsInteger(Radix, UValue))
223 if (Radix == 2 || Radix == 16)
290 unsigned Radix = doLookAhead(CurPtr, 8); local
291 bool isHex = Radix == 16;
293 if (Result.getAsInteger(Radix, Value))
298 if (Radix
[all...]
/external/llvm/tools/llvm-size/
H A Dllvm-size.cpp52 Radix("-radix",
79 /// @brief Get the length of the string that represents @p num in Radix
84 conv.toString(result, Radix, false, true);
90 /// The format used is determined by @c OutputFormat and @c Radix.
97 switch (Radix) {
226 fmt << "%7" << (Radix == octal ? PRIo64 : PRIu64) << " "
297 Radix = RadixShort;
304 << (Radix == octal ? "oct" : "dec")
/external/llvm/include/llvm/ADT/
H A DStringRef.h29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
323 /// \p Radix is specified as zero, this does radix autosensing using
331 getAsInteger(unsigned Radix, T &Result) const {
333 if (getAsSignedInteger(*this, Radix, LLVal) ||
342 getAsInteger(unsigned Radix, T &Result) const {
344 if (getAsUnsignedInteger(*this, Radix, ULLVal) ||
351 /// Parse the current string as an integer of the specified \p Radix, or of
352 /// an autosensed radix if the \p Radix given is 0. The current value in
361 bool getAsInteger(unsigned Radix, APIn
[all...]
H A DAPSInt.h61 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
62 APInt::toString(Str, Radix, isSigned());
66 std::string toString(unsigned Radix) const {
67 return APInt::toString(Radix, isSigned());
H A DAPInt.h1401 void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
1406 void toStringUnsigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1407 toString(Str, Radix, false, false);
1412 void toStringSigned(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
1413 toString(Str, Radix, true, false);
1421 std::string toString(unsigned Radix, bool Signed) const;
/external/clang/lib/Lex/
H A DLiteralSupport.cpp809 static bool alwaysFitsInto64Bits(unsigned Radix, unsigned NumDigits) { argument
810 switch (Radix) {
820 llvm_unreachable("impossible Radix");
/external/llvm/include/llvm-c/
H A DCore.h1386 uint8_t Radix);
1395 unsigned SLen, uint8_t Radix);
/external/llvm/lib/IR/
H A DCore.cpp642 uint8_t Radix) {
644 Radix));
648 unsigned SLen, uint8_t Radix) {
650 Radix));
641 LLVMConstIntOfString(LLVMTypeRef IntTy, const char Str[], uint8_t Radix) argument
647 LLVMConstIntOfStringAndSize(LLVMTypeRef IntTy, const char Str[], unsigned SLen, uint8_t Radix) argument
/external/dropbear/libtommath/
H A Dbn.tex1493 \section{Restricted Dimminished Radix}
1495 ``Dimminished Radix'' reduction refers to reduction with respect to moduli that are ameniable to simple
1526 \section{Unrestricted Dimminshed Radix}
1567 detect when Barrett, Montgomery, Restricted and Unrestricted Dimminished Radix based exponentiation can be used. Generally
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c629 value Radix) {
631 Int_val(Radix));
628 llvm_const_int_of_string(LLVMTypeRef IntTy, value S, value Radix) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 484 milliseconds