/external/llvm/lib/Support/ |
StringRef.cpp | 338 /// sequence of radix up to 36 to an unsigned long long value. 339 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix, 341 // Autosense radix if not specified. 342 if (Radix == 0) 343 Radix = GetAutoSenseRadix(Str); 345 // Empty strings (after the radix autosense) are invalid. 348 // Parse all the bytes of the string given this radix. Watch for overflow. 361 // If the parsed value is larger than the integer radix, the string is 363 if (CharVal >= Radix) 368 Result = Result*Radix+CharVal [all...] |
APInt.cpp | 50 inline static unsigned getDigit(char cdigit, uint8_t radix) { 53 if (radix == 16 || radix == 36) { 59 if (r <= radix - 11U) 63 if (r <= radix - 11U) 66 radix = 10; 70 if (r < radix) 117 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix) 120 fromString(numbits, Str, radix); 611 unsigned APInt::getBitsNeeded(StringRef str, uint8_t radix) { [all...] |
/external/llvm/include/llvm/ADT/ |
StringRef.h | 28 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 31 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 334 /// Parse the current string as an integer of the specified radix. If 335 /// \p Radix is specified as zero, this does radix autosensing using 343 getAsInteger(unsigned Radix, T &Result) const { 345 if (getAsSignedInteger(*this, Radix, LLVal) || 354 getAsInteger(unsigned Radix, T &Result) const { 356 if (getAsUnsignedInteger(*this, Radix, ULLVal) || 363 /// Parse the current string as an integer of the specified \p Radix, or o [all...] |
APSInt.h | 55 void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const { 56 APInt::toString(Str, Radix, isSigned()); 60 std::string toString(unsigned Radix) const { 61 return APInt::toString(Radix, isSigned());
|
APInt.h | 162 /// \param radix 2, 8, 10, 16, or 36 172 void fromString(unsigned numBits, StringRef str, uint8_t radix); 176 /// This is used by the toString method to divide by the radix. It simply 266 /// This constructor interprets the string \p str in the given radix. The 268 /// radix is encountered, or the end of the string. Acceptable radix values 274 /// \param radix the radix to use for the conversion 275 APInt(unsigned numBits, StringRef str, uint8_t radix); [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmLexer.cpp | 257 unsigned Radix = doLookAhead(CurPtr, 10); 258 bool isHex = Radix == 16; 268 if (Result.getAsInteger(Radix, Value)) 273 if (Radix == 2 || Radix == 16) 344 unsigned Radix = doLookAhead(CurPtr, 8); 345 bool isHex = Radix == 16; 347 if (Result.getAsInteger(Radix, Value)) 352 if (Radix == 16)
|
/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 65 Radix("-radix", cl::desc("Print size in radix. Only 8, 10, and 16 are valid"), 69 RadixShort(cl::desc("Print size in radix:"), 91 /// @brief Get the length of the string that represents @p num in Radix 96 conv.toString(result, Radix, false, true); 100 /// @brief Return the the printing format for the Radix. 102 switch (Radix) { 121 if (Radix == hexadecimal) 276 /// The format used is determined by @c OutputFormat and @c Radix [all...] |
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 528 if (*s == '0') { // parse radix 533 radix = 10; 751 /// radix etc. 762 radix = 16; 822 radix = 2; 836 // For now, the radix is set to 8. If we discover that we have a 837 // floating point constant, the radix will change to 10. Octal floating 839 radix = 8; 851 radix = 10; 866 radix = 10 [all...] |
/external/llvm/include/llvm-c/ |
Core.h | [all...] |
/external/llvm/lib/IR/ |
Core.cpp | 738 uint8_t Radix) { 740 Radix)); 744 unsigned SLen, uint8_t Radix) { 746 Radix)); [all...] |
/external/llvm/bindings/ocaml/llvm/ |
llvm_ocaml.c | 722 value Radix) { 724 Int_val(Radix)); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.jasper_5.5.17.v201004212143.jar | |