HomeSort by relevance Sort by last modified time
    Searched refs:Radix (Results 1 - 14 of 14) sorted by null

  /external/llvm/lib/Support/
StringRef.cpp 320 /// sequence of radix up to 36 to an unsigned long long value.
321 bool llvm::getAsUnsignedInteger(StringRef Str, unsigned Radix,
323 // Autosense radix if not specified.
324 if (Radix == 0)
325 Radix = GetAutoSenseRadix(Str);
327 // Empty strings (after the radix autosense) are invalid.
330 // Parse all the bytes of the string given this radix. Watch for overflow.
343 // If the parsed value is larger than the integer radix, the string is
345 if (CharVal >= Radix)
350 Result = Result*Radix+CharVal
    [all...]
APInt.cpp 49 inline static unsigned getDigit(char cdigit, uint8_t radix) {
52 if (radix == 16 || radix == 36) {
58 if (r <= radix - 11U)
62 if (r <= radix - 11U)
65 radix = 10;
69 if (r < radix)
116 APInt::APInt(unsigned numbits, StringRef Str, uint8_t radix)
119 fromString(numbits, Str, radix);
610 unsigned APInt::getBitsNeeded(StringRef str, uint8_t radix) {
    [all...]
  /external/llvm/lib/MC/MCParser/
AsmLexer.cpp 201 unsigned Radix = doLookAhead(CurPtr, 10);
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);
291 bool isHex = Radix == 16;
293 if (Result.getAsInteger(Radix, Value))
298 if (Radix == 16
    [all...]
  /external/llvm/tools/llvm-size/
llvm-size.cpp 52 Radix("-radix",
53 cl::desc("Print size in radix. Only 8, 10, and 16 are valid"),
57 RadixShort(cl::desc("Print size in 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
    [all...]
  /external/llvm/include/llvm/ADT/
StringRef.h 29 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
32 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
322 /// Parse the current string as an integer of the specified radix. If
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 o
    [all...]
APSInt.h 61 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());
APInt.h 166 /// @param radix 2, 8, 10, 16, or 36
168 void fromString(unsigned numBits, StringRef str, uint8_t radix);
170 /// This is used by the toString method to divide by the radix. It simply
254 /// This constructor interprets the string \p str in the given radix. The
256 /// radix is encountered, or the end of the string. Acceptable radix values
262 /// @param radix the radix to use for the conversion
264 APInt(unsigned numBits, StringRef str, uint8_t radix);
    [all...]
  /external/clang/lib/Lex/
LiteralSupport.cpp 477 if (*s == '0') { // parse radix
482 radix = 10;
632 /// radix etc.
640 radix = 16;
692 radix = 2;
706 // For now, the radix is set to 8. If we discover that we have a
707 // floating point constant, the radix will change to 10. Octal floating
709 radix = 8;
721 radix = 10;
736 radix = 10
    [all...]
  /external/llvm/include/llvm-c/
Core.h     [all...]
  /external/llvm/lib/IR/
Core.cpp 636 uint8_t Radix) {
638 Radix));
642 unsigned SLen, uint8_t Radix) {
644 Radix));
    [all...]
  /external/dropbear/libtommath/
bn.tex     [all...]
  /external/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 629 value Radix) {
631 Int_val(Radix));
    [all...]
  /prebuilts/misc/common/ecj/
ecj.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.jasper_5.5.17.v201004212143.jar 

Completed in 425 milliseconds