/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | Archive.cpp | 157 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/ |
D | Archive.cpp | 47 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/ |
D | StringRef.h | 564 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/ |
D | utils.h | 133 static inline void rtrim(std::string& s) { in rtrim() function 143 rtrim(s); in trim()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | StringRef.h | 811 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/ |
D | StringRef.h | 834 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/ |
D | checkpatch.pl | 2159 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/ |
D | StringRefTest.cpp | 288 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/ |
D | BreakableToken.cpp | 77 StringRef BeforeCut = Text.substr(0, SpaceOffset).rtrim(Blanks); in getCommentSplit() 347 StartOfLine = Lines[LineIndex].rtrim("\r\n").size(); in adjustWhitespace()
|
D | FormatTokenLexer.cpp | 483 FormatTok->TokenText = FormatTok->TokenText.rtrim(" \t\v\f"); in getNextToken()
|
/external/llvm/include/llvm/Object/ |
D | Archive.h | 46 return StringRef(LastModified, sizeof(LastModified)).rtrim(' '); in getRawLastModified()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | Archive.h | 59 sizeof(ArMemHdr->LastModified)).rtrim(' '); in getRawLastModified()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 43 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/ |
D | RuntimeDyldChecker.cpp | 43 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/ |
D | StringRefTest.cpp | 335 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/ |
D | coff2yaml.cpp | 246 .rtrim(StringRef("\0", /*length=*/1)); in dumpSymbols()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | coff2yaml.cpp | 309 .rtrim(StringRef("\0", /*length=*/1)); in dumpSymbols()
|
/external/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 658 outs() << "AUX " << Name.rtrim(StringRef("\0", 1)) << '\n'; in printCOFFSymbolTable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 676 outs() << "AUX " << Name.rtrim(StringRef("\0", 1)) << '\n'; in printCOFFSymbolTable()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 150 ProgName = ProgName.rtrim("0123456789."); in parseDriverSuffix()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cxxdump/ |
D | llvm-cxxdump.cpp | 390 outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)), in dumpCXXData()
|
/external/llvm/tools/llvm-cxxdump/ |
D | llvm-cxxdump.cpp | 392 outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)), in dumpCXXData()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | CodeCoverage.cpp | 517 DC.DemangledNames[Function.Name] = Symbols[I++].rtrim(); in demangleSymbols()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | YAMLParser.cpp | 1908 return Value.rtrim(' '); in getValue()
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1301 W.printString("FileName", Name.rtrim(StringRef("\0", 1))); in printSymbol()
|