Home
last modified time | relevance | path

Searched refs:NewName (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/lib/Tooling/Core/
DLookup.cpp50 StringRef NewName, in getBestNamespaceSubstr() argument
58 return HadLeadingColonColon ? NewName : NewName.substr(2); in getBestNamespaceSubstr()
65 if (NewName.startswith(NS)) in getBestNamespaceSubstr()
66 return NewName.substr(NS.size()); in getBestNamespaceSubstr()
/external/llvm/include/llvm/IR/
DFunctionInfo.h218 SmallString<256> NewName(Name); in getGlobalNameForLocal()
219 NewName += ".llvm."; in getGlobalNameForLocal()
220 raw_svector_ostream(NewName) << ModId; in getGlobalNameForLocal()
221 return NewName.str(); in getGlobalNameForLocal()
/external/jhead/
Djhead.c486 char NewName[_MAX_PATH+1];
514 strcpy(NewName, NewBaseName);
518 strncat(NewName, finddata.name+a, _MAX_PATH-strlen(NewName)); // add extension to new name
520 if (rename(FilePattern, NewName) == 0){
522 printf("%s --> %s\n",FilePattern, NewName);
546 char NewName[PATH_MAX+2];
630 strftime(NewName, PATH_MAX, pattern, &tm);
633 sprintf(NewName, "%02d%02d-%02d%02d%02d",
638 CatPath(NewBaseName, NewName);
642 char NewName[PATH_MAX+10];
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp620 std::string NewName; in MakeLegalFunctionName() local
625 NewName = Name; in MakeLegalFunctionName()
628 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
629 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
635 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
636 char old_c = NewName.at(pos); in MakeLegalFunctionName()
639 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
642 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy.cpp622 std::string NewName; in MakeLegalFunctionName() local
627 NewName = Name; in MakeLegalFunctionName()
630 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
631 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
637 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
638 char old_c = NewName.at(pos); in MakeLegalFunctionName()
641 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
644 return NewName; in MakeLegalFunctionName()
/external/clang/test/Modules/Inputs/oldname/
Dmodule.map1 module NewName {
/external/llvm/lib/IR/
DValue.cpp197 void Value::setNameImpl(const Twine &NewName) { in setNameImpl() argument
199 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
203 StringRef NameRef = NewName.toStringRef(NameData); in setNameImpl()
250 void Value::setName(const Twine &NewName) { in setName() argument
251 setNameImpl(NewName); in setName()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp659 std::string NewName; in MakeLegalFunctionName() local
663 NewName = Name; in MakeLegalFunctionName()
666 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
667 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
673 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
675 NumStream << (int)NewName.at(pos); in MakeLegalFunctionName()
676 NewName = NewName.replace(pos, 1, NumStream.str()); in MakeLegalFunctionName()
679 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp659 std::string NewName; in MakeLegalFunctionName() local
663 NewName = Name; in MakeLegalFunctionName()
666 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
667 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
673 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
675 NumStream << (int)NewName.at(pos); in MakeLegalFunctionName()
676 NewName = NewName.replace(pos, 1, NumStream.str()); in MakeLegalFunctionName()
679 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp659 std::string NewName; in MakeLegalFunctionName() local
663 NewName = Name; in MakeLegalFunctionName()
666 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
667 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
673 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
675 NumStream << (int)NewName.at(pos); in MakeLegalFunctionName()
676 NewName = NewName.replace(pos, 1, NumStream.str()); in MakeLegalFunctionName()
679 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy.cpp643 std::string NewName; in MakeLegalFunctionName() local
648 NewName = Name; in MakeLegalFunctionName()
651 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
652 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
658 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
659 char old_c = NewName.at(pos); in MakeLegalFunctionName()
662 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
665 return NewName; in MakeLegalFunctionName()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp662 std::string NewName; in MakeLegalFunctionName() local
667 NewName = Name; in MakeLegalFunctionName()
670 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
671 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
677 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
678 char old_c = NewName.at(pos); in MakeLegalFunctionName()
681 NewName = NewName.replace(pos, 1, new_str); in MakeLegalFunctionName()
684 return NewName; in MakeLegalFunctionName()
/external/clang/test/Modules/
Drenamed.m1 @import NewName;
/external/llvm/lib/MC/
DMCContext.cpp188 SmallString<128> NewName = Name; in createSymbol() local
193 NewName.resize(Name.size()); in createSymbol()
194 raw_svector_ostream(NewName) << NextUniqueID++; in createSymbol()
196 auto NameEntry = UsedNames.insert(std::make_pair(NewName, true)); in createSymbol()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp660 std::string NewName; in MakeLegalFunctionName() local
664 NewName = Name; in MakeLegalFunctionName()
667 if (NewName.find_first_of("0123456789") == 0) { in MakeLegalFunctionName()
668 NewName.insert(0, 1, 'n'); in MakeLegalFunctionName()
674 while ((pos = NewName.find_first_not_of(legal_elements)) != std::string::npos) { in MakeLegalFunctionName()
676 NumStream << (int)NewName.at(pos); in MakeLegalFunctionName()
677 NewName = NewName.replace(pos, 1, NumStream.str()); in MakeLegalFunctionName()
680 return NewName; in MakeLegalFunctionName()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h392 std::string NewName = SrcM.getName(); in emitPartition() local
394 NewName += "."; in emitPartition()
395 NewName += F->getName(); in emitPartition()
398 auto M = llvm::make_unique<Module>(NewName, SrcM.getContext()); in emitPartition()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h54 static Status copyWithNewName(const Status &In, StringRef NewName);
56 StringRef NewName);
/external/lzma/CPP/7zip/UI/Common/
DUpdate.h70 UString NewName; member
DArchiveCommandLine.cpp345 pair.NewName = newName; in AddRenamePair()
354 val += pair.NewName; in AddRenamePair()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp978 std::string NewName = I->getName(); in DoPromotion() local
980 NewName += "." + utostr(Operands[i]); in DoPromotion()
982 NewName += ".val"; in DoPromotion()
983 TheArg->setName(NewName); in DoPromotion()
/external/llvm/lib/TableGen/
DRecord.cpp1594 void Record::setName(Init *NewName) { in setName() argument
1595 Name = NewName; in setName()
1632 Init *NewName = Name->resolveReferences(*this, RV); in resolveReferencesTo() local
1633 if (NewName != OldName) { in resolveReferencesTo()
1635 setName(NewName); in resolveReferencesTo()
1920 BinOpInit *NewName = in QualifyName() local
1930 NewName = in QualifyName()
1936 NewName->Fold(&CurRec, CurMultiClass), in QualifyName()
1940 return NewName->Fold(&CurRec, CurMultiClass); in QualifyName()
/external/clang/lib/Basic/
DVirtualFileSystem.cpp53 Status Status::copyWithNewName(const Status &In, StringRef NewName) { in copyWithNewName() argument
54 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName()
59 Status Status::copyWithNewName(const file_status &In, StringRef NewName) { in copyWithNewName() argument
60 return Status(NewName, In.getUniqueID(), In.getLastModificationTime(), in copyWithNewName()
124 RealFile(int FD, StringRef NewName) in RealFile() argument
125 : FD(FD), S(NewName, {}, {}, {}, {}, {}, in RealFile()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp486 std::string NewName = std::string(Suffix) + ".split-lp"; in SplitBlockPredecessors() local
488 SplitLandingPadPredecessors(BB, Preds, Suffix, NewName.c_str(), NewBBs, DT, in SplitBlockPredecessors()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1224 std::string NewName = "rev" + utostr(I); in emitArgumentReversal() local
1227 Variable NewV(V.getType(), NewName + VariablePostfix); in emitArgumentReversal()
1269 std::string NewName = "s" + utostr(I); in emitShadowedArgs() local
1270 Variable V2(V.getType(), NewName + VariablePostfix); in emitShadowedArgs()
/external/clang/lib/Lex/
DPPDirectives.cpp1592 StringRef NewName = HeaderInfo.MapHeaderToIncludeAlias(OriginalFilename); in HandleIncludeDirective() local
1593 if (!NewName.empty()) in HandleIncludeDirective()
1594 Filename = NewName; in HandleIncludeDirective()

12