Home
last modified time | relevance | path

Searched refs:getAsInteger (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp83 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
95 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
108 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
118 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
138 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset); in LayoutOverrideSource()
DCompilerInvocation.cpp1307 Val.getAsInteger(10, Opts.StackAlignment); in ParseCodeGenArgs()
2194 Value.substr(0, Comma).getAsInteger(10, Bytes) || in ParsePreprocessorArgs()
2195 Value.substr(Comma + 1).getAsInteger(10, EndOfLine)) in ParsePreprocessorArgs()
2373 llvm::APInt getAsInteger() const;
2408 llvm::APInt ModuleSignature::getAsInteger() const { in getAsInteger() function in ModuleSignature
2461 return Signature.getAsInteger().toString(36, /*Signed=*/false); in getModuleHash()
/external/llvm/lib/Object/
DArchive.cpp51 StringRef(Size, sizeof(Size)).getAsInteger(10, ret); in getSize()
113 name.substr(1).getAsInteger(10, offset); in getName()
129 name.substr(3).getAsInteger(10, name_size); in getName()
147 name.substr(3).getAsInteger(10, name_size); in getSize()
159 name.substr(3).getAsInteger(10, name_size); in getBuffer()
DCOFFObjectFile.cpp662 if (Name.substr(1).getAsInteger(10, Offset)) in getSectionName()
/external/llvm/unittests/ADT/
DStringRefTest.cpp385 TEST(StringRefTest, getAsInteger) { in TEST() argument
392 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8); in TEST()
399 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16); in TEST()
406 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32); in TEST()
413 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64); in TEST()
428 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
435 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
442 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
449 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64); in TEST()
/external/clang/include/clang/Frontend/
DCommandLineSourceLoc.h40 if (!ColSplit.second.getAsInteger(10, PSL.Column) && in FromString()
41 !LineSplit.second.getAsInteger(10, PSL.Line)) { in FromString()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp187 if (Result.getAsInteger(10, Value)) { in LexDigit()
191 if (Result.getAsInteger(10, UValue)) in LexDigit()
222 if (Result.substr(2).getAsInteger(2, Value)) in LexDigit()
243 if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result)) in LexDigit()
260 if (Result.getAsInteger(8, Value)) in LexDigit()
/external/llvm/include/llvm/ADT/
DStringRef.h333 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
344 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
364 bool getAsInteger(unsigned Radix, APInt &Result) const;
/external/clang/lib/Basic/
DTargetInfo.cpp226 if (!Name.getAsInteger(0, n)) in isValidGCCRegisterName()
282 if (!Name.getAsInteger(0, n)) { in getNormalizedGCCRegisterName()
/external/llvm/lib/Support/
DRegex.cpp154 if (!Ref.getAsInteger(10, RefValue) && in sub()
DCommandLine.cpp991 if (Arg.getAsInteger(0, Value)) in parse()
1001 if (Arg.getAsInteger(0, Value)) in parse()
1011 if (Arg.getAsInteger(0, Value)) in parse()
DStringRef.cpp389 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() function in StringRef
DYAMLParser.cpp1736 if (UnquotedValue.substr(1, 2).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
1748 if (UnquotedValue.substr(1, 4).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
1760 if (UnquotedValue.substr(1, 8).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
/external/llvm/lib/MC/
DMCSectionMachO.cpp299 if (StubSizeStr.getAsInteger(0, StubSize)) in ParseSectionSpecifier()
/external/llvm/tools/llvm-mc/
DDisassembler.cpp127 if (Value.getAsInteger(0, ByteVal) || ByteVal > 255) { in ByteArrayFromString()
/external/compiler-rt/utils/llvm-symbolizer/
Dllvm-symbolizer.cpp281 StringRef(ModuleOffsetStr).getAsInteger(0, Offset)) { in symbolize()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp299 if (StringRef(IDStart, IDEnd-IDStart).getAsInteger(10, Val)) in EmitInlineAsm()
/external/llvm/lib/VMCore/
DModule.cpp98 getToken(token, ":").first.getAsInteger(10, size); in getPointerSize()
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp80 if (lines[idx+1].getAsInteger(10, timeModified)) in initFromFile()
/external/llvm/utils/yaml2obj/
Dyaml2obj.cpp46 if (Value.getAsInteger(0, Result)) in getAs()
108 if (StringRef(Pair.data(), 2).getAsInteger(16, Byte)) in hexStringToByteArray()
/external/llvm/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp416 if (String.substr(4).getAsInteger(10,regNum)) in MatchFslRegister()
/external/clang/lib/Driver/
DArgList.cpp223 if (StringRef(A->getValue(*this)).getAsInteger(10, Res)) { in getLastArgIntValue()
DToolChains.cpp980 if (First.first.getAsInteger(10, GoodVersion.Major) || in Parse()
983 if (Second.first.getAsInteger(10, GoodVersion.Minor) || in Parse()
1000 if (PatchText.slice(0, EndNumber).getAsInteger(10, GoodVersion.Patch) || in Parse()
/external/llvm/lib/Target/
DTargetData.cpp130 R.getAsInteger(10, Result); in getInt()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp361 if( NumString.getAsInteger(10, IntVal)) in matchRegisterName()

12