Home
last modified time | relevance | path

Searched refs:rtrim (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DArchive.cpp157 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName()
160 OS.write_escaped(Name.substr(1).rtrim(' ')); in getName()
195 if (Name.substr(3).rtrim(' ').getAsInteger(10, NameLength)) { in getName()
198 OS.write_escaped(Name.substr(3).rtrim(' ')); in getName()
216 NameLength).rtrim('\0'); in getName()
221 return Name.rtrim(' '); in getName()
230 sizeof(ArMemHdr->Size)).rtrim(" ").getAsInteger(10, Ret)) { in getSize()
234 sizeof(ArMemHdr->Size)).rtrim(" ")); in getSize()
248 sizeof(ArMemHdr->AccessMode)).rtrim(' ').getAsInteger(8, Ret)) { in getAccessMode()
252 sizeof(ArMemHdr->AccessMode)).rtrim(" ")); in getAccessMode()
[all …]
/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()
61 if (StringRef(LastModified, sizeof(LastModified)).rtrim(' ') in getLastModified()
72 StringRef User = StringRef(UID, sizeof(UID)).rtrim(' '); in getUID()
82 StringRef Group = StringRef(GID, sizeof(GID)).rtrim(' '); 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()
236 return Data.substr(sizeof(ArchiveMemberHeader), name_size).rtrim('\0'); in getName()
240 return name.rtrim(' '); in getName()
/external/llvm/include/llvm/ADT/
DStringRef.h564 StringRef rtrim(char Char) const { in rtrim() function
570 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
577 return ltrim(Char).rtrim(Char); in trim()
583 return ltrim(Chars).rtrim(Chars);
/external/autotest/client/deps/glbench/src/
Dutils.h133 static inline void rtrim(std::string& s) { in rtrim() function
143 rtrim(s); in trim()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h811 StringRef rtrim(char Char) const { in rtrim() function
818 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
826 return ltrim(Char).rtrim(Char); in trim()
833 return ltrim(Chars).rtrim(Chars);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringRef.h834 StringRef rtrim(char Char) const { in rtrim() function
841 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
849 return ltrim(Char).rtrim(Char); in trim()
856 return ltrim(Chars).rtrim(Chars);
/external/u-boot/scripts/
Dcheckpatch.pl2159 sub rtrim { subroutine
3619 …"Prefer '" . trim($sign) . " int" . rtrim($pointer) . "' to bare use of '$sign" . rtrim($pointer) …
3625 $decl = rtrim($decl) if ($var eq "");
3988 my $fixedline = rtrim($prevrawline) . " {";
4025 $declare = rtrim($declare);
4245 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
4274 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
4308 $good = $fix_elements[$n] . rtrim($fix_elements[$n + 1]);
4329 $good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
4355 $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]) . " ";
[all …]
/external/llvm/unittests/ADT/
DStringRefTest.cpp288 EXPECT_EQ(StringRef("hello"), Str0.rtrim()); in TEST()
289 EXPECT_EQ(StringRef(" hello"), Str1.rtrim()); in TEST()
290 EXPECT_EQ(StringRef(" hello"), Str2.rtrim()); in TEST()
/external/clang/lib/Format/
DBreakableToken.cpp77 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks); in getCommentSplit()
347 StartOfLine = Lines[LineIndex].rtrim("\r\n").size(); in adjustWhitespace()
DFormatTokenLexer.cpp483 FormatTok->TokenText = FormatTok->TokenText.rtrim(" \t\v\f"); in getNextToken()
/external/llvm/include/llvm/Object/
DArchive.h46 return StringRef(LastModified, sizeof(LastModified)).rtrim(' '); in getRawLastModified()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DArchive.h59 sizeof(ArMemHdr->LastModified)).rtrim(' '); in getRawLastModified()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp43 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate()
337 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalStubAddr()
382 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalSectionAddr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp43 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate()
337 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalStubAddr()
382 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalSectionAddr()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DStringRefTest.cpp335 EXPECT_EQ(StringRef("hello"), Str0.rtrim()); in TEST()
336 EXPECT_EQ(StringRef(" hello"), Str1.rtrim()); in TEST()
337 EXPECT_EQ(StringRef(" hello"), Str2.rtrim()); in TEST()
/external/llvm/tools/obj2yaml/
Dcoff2yaml.cpp246 .rtrim(StringRef("\0", /*length=*/1)); in dumpSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dcoff2yaml.cpp309 .rtrim(StringRef("\0", /*length=*/1)); in dumpSymbols()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp658 outs() << "AUX " << Name.rtrim(StringRef("\0", 1)) << '\n'; in printCOFFSymbolTable()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DCOFFDump.cpp676 outs() << "AUX " << Name.rtrim(StringRef("\0", 1)) << '\n'; in printCOFFSymbolTable()
/external/clang/lib/Driver/
DToolChain.cpp150 ProgName = ProgName.rtrim("0123456789."); in parseDriverSuffix()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp390 outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)), in dumpCXXData()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp392 outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)), in dumpCXXData()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCodeCoverage.cpp517 DC.DemangledNames[Function.Name] = Symbols[I++].rtrim(); in demangleSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DYAMLParser.cpp1908 return Value.rtrim(' '); in getValue()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp1301 W.printString("FileName", Name.rtrim(StringRef("\0", 1))); in printSymbol()

12