Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.cpp95 Ops[1].getAsInteger(10, Op0); in parseGenericRegister()
96 Ops[2].getAsInteger(10, Op1); in parseGenericRegister()
97 Ops[3].getAsInteger(10, CRn); in parseGenericRegister()
98 Ops[4].getAsInteger(10, CRm); in parseGenericRegister()
99 Ops[5].getAsInteger(10, Op2); in parseGenericRegister()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp84 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
96 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
109 (void)LineStr.getAsInteger(10, Size); in LayoutOverrideSource()
119 (void)LineStr.getAsInteger(10, Alignment); in LayoutOverrideSource()
139 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset); in LayoutOverrideSource()
/external/swiftshader/third_party/LLVM/lib/Support/
DStringRef.cpp301 bool StringRef::getAsInteger(unsigned Radix, unsigned long long &Result) const { in getAsInteger() function in StringRef
306 bool StringRef::getAsInteger(unsigned Radix, long long &Result) const { in getAsInteger() function in StringRef
331 bool StringRef::getAsInteger(unsigned Radix, int &Result) const { in getAsInteger() function in StringRef
333 if (getAsInteger(Radix, Val) || in getAsInteger()
340 bool StringRef::getAsInteger(unsigned Radix, unsigned &Result) const { in getAsInteger() function in StringRef
342 if (getAsInteger(Radix, Val) || in getAsInteger()
349 bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const { in getAsInteger() function in StringRef
DRegex.cpp154 if (!Ref.getAsInteger(10, RefValue) && in sub()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringRef.h309 bool getAsInteger(unsigned Radix, long long &Result) const;
310 bool getAsInteger(unsigned Radix, unsigned long long &Result) const;
311 bool getAsInteger(unsigned Radix, int &Result) const;
312 bool getAsInteger(unsigned Radix, unsigned &Result) const;
327 bool getAsInteger(unsigned Radix, APInt &Result) const;
/external/llvm/lib/Object/
DArchive.cpp47 if (llvm::StringRef(Size, sizeof(Size)).rtrim(" ").getAsInteger(10, Ret)) in getSize()
54 if (StringRef(AccessMode, sizeof(AccessMode)).rtrim(' ').getAsInteger(8, Ret)) in getAccessMode()
62 .getAsInteger(10, Seconds)) in getLastModified()
75 if (User.getAsInteger(10, Ret)) in getUID()
85 if (Group.getAsInteger(10, Ret)) in getGID()
116 if (Name.substr(3).rtrim(' ').getAsInteger(10, NameSize)) in Child()
218 if (name.substr(1).rtrim(' ').getAsInteger(10, offset)) in getName()
234 if (name.substr(3).rtrim(' ').getAsInteger(10, name_size)) in getName()
/external/llvm/unittests/ADT/
DStringRefTest.cpp466 TEST(StringRefTest, getAsInteger) { in TEST() argument
473 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8); in TEST()
480 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16); in TEST()
487 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32); in TEST()
494 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64); in TEST()
509 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
516 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
523 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
530 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64); in TEST()
556 bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64); 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/IR/
DStatepoint.cpp63 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs()
70 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
/external/swiftshader/third_party/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/lib/ProfileData/
DSampleProfReader.cpp64 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples)) in ParseHead()
66 if (Input.substr(n2 + 1).getAsInteger(10, NumHeadSamples)) in ParseHead()
98 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine()
102 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine()
104 if (Loc.substr(n2 + 1).getAsInteger(10, Discriminator)) in ParseLine()
113 if (Rest.getAsInteger(10, NumSamples)) in ParseLine()
116 if (Rest.substr(0, n3).getAsInteger(10, NumSamples)) in ParseLine()
129 if (pair.substr(n4 + 1).getAsInteger(10, count)) in ParseLine()
137 if (Rest.substr(n3 + 1).getAsInteger(10, NumSamples)) in ParseLine()
DInstrProfReader.cpp145 if ((Str).getAsInteger(10, (Dst))) \ in readValueProfileData()
157 if (Line->getAsInteger(10, NumValueKinds)) { in readValueProfileData()
219 if ((Line++)->getAsInteger(0, Record.Hash)) in readNextRecord()
226 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord()
238 if ((Line++)->getAsInteger(10, Count)) in readNextRecord()
/external/parameter-framework/upstream/test/functional-tests/include/
DElementHandle.hpp80 void getAsInteger(uint32_t &value) const { mayFailCall(&EH::getAsInteger, value); } in getAsInteger() function in parameterFramework::ElementHandle
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp964 && !name.substr(3).getAsInteger(10, intVal) in matchRegisterName()
1035 && !name.substr(3).getAsInteger(10, intVal) in matchRegisterName()
1045 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1053 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1060 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1067 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1075 && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 32) { in matchRegisterName()
1082 && !name.substr(1, 2).getAsInteger(10, intVal) in matchRegisterName()
1092 && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 31) { in matchRegisterName()
1100 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
/external/swiftshader/third_party/LLVM/lib/Object/
DArchive.cpp46 StringRef(Size, sizeof(Size)).getAsInteger(10, ret); in getSize()
90 name.substr(1).getAsInteger(10, offset); in getName()
/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp271 if (Result.getAsInteger(Radix, Value)) in LexDigit()
305 if (Result.substr(2).getAsInteger(2, Value)) in LexDigit()
331 if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result)) in LexDigit()
350 if (Result.getAsInteger(Radix, Value)) in LexDigit()
/external/clang/lib/Basic/
DTargetInfo.cpp371 if (!Name.getAsInteger(0, n)) in isValidGCCRegisterName()
414 if (!Name.getAsInteger(0, n)) { in getNormalizedGCCRegisterName()
554 .getAsInteger(10, i)) in validateInputConstraint()
/external/llvm/include/llvm/ADT/
DStringRef.h366 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
377 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
399 bool getAsInteger(unsigned Radix, APInt &Result) const;
/external/llvm/lib/ObjectYAML/
DYAML.cpp47 StringRef((const char *)&Data[I], 2).getAsInteger(16, Byte); in writeAsBinary()
/external/llvm/lib/CodeGen/
DXRayInstrumentation.cpp51 if (Attr.getValueAsString().getAsInteger(10, XRayThreshold)) in runOnMachineFunction()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatProviders.h68 else if (Str.getAsInteger(10, Prec)) { in parseNumericPrecision()
205 if (!Style.empty() && Style.getAsInteger(10, N)) {
/external/clang/tools/clang-format/
DClangFormat.cpp126 return LineRange.first.getAsInteger(0, FromLine) || in parseLineRange()
127 LineRange.second.getAsInteger(0, ToLine); in parseLineRange()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h494 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
505 getAsInteger(unsigned Radix, T &Result) const { in getAsInteger() function
558 bool getAsInteger(unsigned Radix, APInt &Result) const;
/external/parameter-framework/upstream/parameter/include/
DElementHandle.h199 bool getAsInteger(uint32_t &value, std::string &error) const;
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp118 if (Str.getAsInteger(0, Result)) { in getIntegerAttribute()

1234