Home
last modified time | relevance | path

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

12345678

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.cpp124 Ops[1].getAsInteger(10, Op0); in parseGenericRegister()
125 Ops[2].getAsInteger(10, Op1); in parseGenericRegister()
126 Ops[3].getAsInteger(10, CRn); in parseGenericRegister()
127 Ops[4].getAsInteger(10, CRm); in parseGenericRegister()
128 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
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DCOFFModuleDefinition.cpp172 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) in readAsInt()
258 Tok.Value.getAsInteger(10, E.Ordinal); in parseExport()
259 } else if (Tok.Value.drop_front().getAsInteger(10, E.Ordinal)) { in parseExport()
345 if (V1.getAsInteger(10, *Major)) in parseVersion()
349 else if (V2.getAsInteger(10, *Minor)) in parseVersion()
DArchive.cpp157 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName()
195 if (Name.substr(3).rtrim(' ').getAsInteger(10, NameLength)) { in getName()
230 sizeof(ArMemHdr->Size)).rtrim(" ").getAsInteger(10, Ret)) { in getSize()
248 sizeof(ArMemHdr->AccessMode)).rtrim(' ').getAsInteger(8, Ret)) { in getAccessMode()
268 .getAsInteger(10, Seconds)) { in getLastModified()
289 if (User.getAsInteger(10, Ret)) { in getUID()
308 if (Group.getAsInteger(10, Ret)) { in getGID()
379 if (Name.substr(3).rtrim(' ').getAsInteger(10, NameSize)) { in Child()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCachePruning.cpp44 if (NumStr.getAsInteger(0, Num)) in parseDuration()
87 if (SizeStr.getAsInteger(0, Size)) in parseCachePruningPolicy()
112 if (Value.getAsInteger(0, Size)) in parseCachePruningPolicy()
117 if (Value.getAsInteger(0, Policy.MaxSizeFiles)) in parseCachePruningPolicy()
/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/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/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()
/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-7.0/llvm/lib/IR/
DStatepoint.cpp76 if (!AttrID.getValueAsString().getAsInteger(10, StatepointID)) in parseStatepointDirectivesFromAttrs()
83 if (!AttrNumPatchBytes.getValueAsString().getAsInteger(10, NumPatchBytes)) in parseStatepointDirectivesFromAttrs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfReader.cpp75 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples)) in ParseHead()
77 if (Input.substr(n2 + 1).getAsInteger(10, NumHeadSamples)) in ParseHead()
109 if (Loc.getAsInteger(10, LineOffset) || !isOffsetLegal(LineOffset)) in ParseLine()
113 if (Loc.substr(0, n2).getAsInteger(10, LineOffset)) in ParseLine()
115 if (Loc.substr(n2 + 1).getAsInteger(10, Discriminator)) in ParseLine()
124 if (Rest.getAsInteger(10, NumSamples)) in ParseLine()
127 if (Rest.substr(0, n3).getAsInteger(10, NumSamples)) in ParseLine()
160 if (!WordAfterColon.getAsInteger(10, count)) in ParseLine()
181 if (Rest.substr(n3 + 1).getAsInteger(10, NumSamples)) in ParseLine()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DLaneBitmask.h74 constexpr Type getAsInteger() const { return Mask; } in getAsInteger() function
96 OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger()); in PrintLaneMask()
/external/parameter-framework/upstream/test/functional-tests/include/
DElementHandle.hpp83 void getAsInteger(uint32_t &value) const { mayFailCall(&EH::getAsInteger, value); } in getAsInteger() function in parameterFramework::ElementHandle
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringRefTest.cpp605 TEST(StringRefTest, getAsInteger) { in TEST() argument
612 bool U8Success = StringRef(Unsigned[i].Str).getAsInteger(0, U8); in TEST()
619 bool U16Success = StringRef(Unsigned[i].Str).getAsInteger(0, U16); in TEST()
626 bool U32Success = StringRef(Unsigned[i].Str).getAsInteger(0, U32); in TEST()
633 bool U64Success = StringRef(Unsigned[i].Str).getAsInteger(0, U64); in TEST()
648 bool S8Success = StringRef(Signed[i].Str).getAsInteger(0, S8); in TEST()
655 bool S16Success = StringRef(Signed[i].Str).getAsInteger(0, S16); in TEST()
662 bool S32Success = StringRef(Signed[i].Str).getAsInteger(0, S32); in TEST()
669 bool S64Success = StringRef(Signed[i].Str).getAsInteger(0, S64); in TEST()
698 bool IsBadNumber = StringRef(BadStrings[i]).getAsInteger(0, U64); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-report/
DOptReport.cpp203 Value->getValue(Tmp).getAsInteger(10, Line); in collectLocationInfo()
208 Value->getValue(Tmp).getAsInteger(10, Column); in collectLocationInfo()
228 Value->getValue(Tmp).getAsInteger(10, VectorizationFactor); in collectLocationInfo()
233 Value->getValue(Tmp).getAsInteger(10, InterleaveCount); in collectLocationInfo()
238 Value->getValue(Tmp).getAsInteger(10, UnrollCount); in collectLocationInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp954 && !name.substr(3).getAsInteger(10, intVal) in matchRegisterName()
1025 && !name.substr(3).getAsInteger(10, intVal) in matchRegisterName()
1035 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1043 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1050 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1057 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
1065 && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 32) { in matchRegisterName()
1072 && !name.substr(1, 2).getAsInteger(10, intVal) in matchRegisterName()
1082 && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 31) { in matchRegisterName()
1090 && !name.substr(1).getAsInteger(10, intVal) in matchRegisterName()
/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-7.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp307 if (Result.drop_back().getAsInteger(Radix, Value)) in LexDigit()
334 if (Result.getAsInteger(Radix, Value)) in LexDigit()
368 if (Result.substr(2).getAsInteger(2, Value)) in LexDigit()
394 if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result)) in LexDigit()
413 if (Result.getAsInteger(Radix, Value)) in LexDigit()
/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()

12345678