Home
last modified time | relevance | path

Searched refs:NewPath (Results 1 – 25 of 48) sorted by relevance

12

/external/clang/lib/Tooling/
DFileMatchTrie.cpp54 void insert(StringRef NewPath, unsigned ConsumedLength = 0) { in insert() argument
57 if (llvm::sys::path::is_relative(NewPath)) in insert()
61 Path = NewPath; in insert()
66 if (NewPath == Path) in insert()
74 StringRef(NewPath).drop_back(ConsumedLength))); in insert()
75 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
174 void FileMatchTrie::insert(StringRef NewPath) { in insert() argument
175 Root->insert(NewPath); in insert()
/external/llvm-project/clang/lib/Tooling/
DFileMatchTrie.cpp59 void insert(StringRef NewPath, unsigned ConsumedLength = 0) { in insert() argument
62 if (llvm::sys::path::is_relative(NewPath)) in insert()
66 Path = std::string(NewPath); in insert()
71 if (NewPath == Path) in insert()
79 StringRef(NewPath).drop_back(ConsumedLength))); in insert()
80 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1); in insert()
192 void FileMatchTrie::insert(StringRef NewPath) { in insert() argument
193 Root->insert(NewPath); in insert()
/external/llvm-project/clang-tools-extra/clangd/
DHeaderSourceSwitch.cpp54 llvm::SmallString<128> NewPath = llvm::StringRef(OriginalFile); in getCorrespondingHeaderOrSource() local
58 llvm::sys::path::replace_extension(NewPath, NewExt); in getCorrespondingHeaderOrSource()
59 if (VFS->exists(NewPath)) in getCorrespondingHeaderOrSource()
60 return NewPath.str().str(); // First str() to convert from SmallString to in getCorrespondingHeaderOrSource()
65 llvm::sys::path::replace_extension(NewPath, NewExt.upper()); in getCorrespondingHeaderOrSource()
66 if (VFS->exists(NewPath)) in getCorrespondingHeaderOrSource()
67 return NewPath.str().str(); in getCorrespondingHeaderOrSource()
/external/skia/modules/pathkit/tests/
Dpath2d.spec.js5 let path = PathKit.NewPath();
31 let secondPath = PathKit.NewPath();
76 let path = PathKit.NewPath();
107 let path = PathKit.NewPath()
119 let path = PathKit.NewPath();
129 let basePath = PathKit.NewPath();
150 let path = PathKit.NewPath();
Dpath.spec.js5 let path = PathKit.NewPath();
17 let blank = PathKit.NewPath();
66 let copy = PathKit.NewPath(orig);
99 let path = PathKit.NewPath();
115 let path = PathKit.NewPath();
148 let path = PathKit.NewPath();
Dsvg.spec.js79 let path = PathKit.NewPath();
/external/skqp/modules/pathkit/tests/
Dpath2d.spec.js22 let path = PathKit.NewPath();
48 let secondPath = PathKit.NewPath();
93 let path = PathKit.NewPath();
124 let path = PathKit.NewPath()
136 let path = PathKit.NewPath();
146 let basePath = PathKit.NewPath();
167 let path = PathKit.NewPath();
Dpath.spec.js21 let path = PathKit.NewPath();
33 let blank = PathKit.NewPath();
82 let copy = PathKit.NewPath(orig);
115 let path = PathKit.NewPath();
131 let path = PathKit.NewPath();
164 let path = PathKit.NewPath();
Dsvg.spec.js95 let path = PathKit.NewPath();
/external/skia/modules/pathkit/perf/
Dpath.bench.js3 let path = PathKit.NewPath();
28 let secondPath = PathKit.NewPath();
86 let p = PathKit.NewPath()
211 let path = PathKit.NewPath();
225 let path = PathKit.NewPath();
253 let path = PathKit.NewPath();
279 let path = PathKit.NewPath();
Deffects.bench.js5 let p = PathKit.NewPath();
/external/skqp/modules/pathkit/perf/
Dpath.bench.js20 let path = PathKit.NewPath();
45 let secondPath = PathKit.NewPath();
103 let p = PathKit.NewPath()
228 let path = PathKit.NewPath();
242 let path = PathKit.NewPath();
270 let path = PathKit.NewPath();
296 let path = PathKit.NewPath();
/external/skia/site/docs/user/modules/
Dpathkit.md136 let path = PathKit.NewPath();
175 let path = drawStar(PathKit.NewPath());
233 - From `PathKit.NewPath()` (It will be blank)
235 `PathKit.NewPath(path)`
297 // let path = PathKit.NewPath().moveTo(0, 10).lineTo(30, 40).quadTo(20, 50, 45, 60);
300 #### `NewPath()`
306 let path = PathKit.NewPath();
313 #### `NewPath(pathToCopy)`
322 let clone = PathKit.NewPath(otherPath);
338 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
[all …]
/external/skqp/site/user/modules/
Dpathkit.md131 let path = PathKit.NewPath();
170 let path = drawStar(PathKit.NewPath());
231 - From `PathKit.NewPath()` (It will be blank)
232 - As a copy of an existing `SkPath` with `path.copy()` or `PathKit.NewPath(path)`
283 // let path = PathKit.NewPath().moveTo(0, 10).lineTo(30, 40).quadTo(20, 50, 45, 60);
286 #### `NewPath()` ####
292 let path = PathKit.NewPath();
299 #### `NewPath(pathToCopy)` ####
307 let clone = PathKit.NewPath(otherPath);
323 let pathOne = PathKit.NewPath().moveTo(0, 20).lineTo(10, 10).lineTo(20, 20).close();
[all …]
/external/pdfium/core/fxge/
Dcfx_pathdata.cpp322 CFX_PathData* NewPath, in GetZeroAreaPath() argument
342 NewPath->AppendPoint( in GetZeroAreaPath()
373 NewPath->Append(&t_path, nullptr); in GetZeroAreaPath()
406 NewPath->AppendPoint(start.m_Point, FXPT_TYPE::MoveTo, false); in GetZeroAreaPath()
407 NewPath->AppendPoint(end.m_Point, FXPT_TYPE::LineTo, false); in GetZeroAreaPath()
417 NewPath->AppendPoint(start.m_Point, FXPT_TYPE::MoveTo, false); in GetZeroAreaPath()
418 NewPath->AppendPoint(end.m_Point, FXPT_TYPE::LineTo, false); in GetZeroAreaPath()
423 size_t new_path_size = NewPath->GetPoints().size(); in GetZeroAreaPath()
Dcfx_pathdata.h59 CFX_PathData* NewPath,
/external/llvm-project/clang/include/clang/Tooling/
DFileMatchTrie.h68 void insert(StringRef NewPath);
/external/clang/include/clang/Tooling/
DFileMatchTrie.h69 void insert(StringRef NewPath);
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerIOPosix.cpp127 void RenameFile(const std::string &OldPath, const std::string &NewPath) { in RenameFile() argument
128 rename(OldPath.c_str(), NewPath.c_str()); in RenameFile()
DFuzzerFork.cpp218 auto NewPath = DirPlusFile(MainCorpusDir, Hash(U)); in RunOneMergeJob() local
219 WriteToFile(U, NewPath); in RunOneMergeJob()
220 Files.push_back(NewPath); in RunOneMergeJob()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerIOPosix.cpp127 void RenameFile(const std::string &OldPath, const std::string &NewPath) { in RenameFile() argument
128 rename(OldPath.c_str(), NewPath.c_str()); in RenameFile()
DFuzzerFork.cpp218 auto NewPath = DirPlusFile(MainCorpusDir, Hash(U)); in RunOneMergeJob() local
219 WriteToFile(U, NewPath); in RunOneMergeJob()
220 Files.push_back(NewPath); in RunOneMergeJob()
/external/skqp/experimental/go-demo/
Dmain.go51 path := skia.NewPath()
/external/clang/lib/Basic/
DFileManager.cpp397 SmallString<128> NewPath(FileSystemOpts.WorkingDir); in FixupRelativePath() local
398 llvm::sys::path::append(NewPath, pathRef); in FixupRelativePath()
399 path = NewPath; in FixupRelativePath()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp329 SmallString<128> NewPath(Path); in getThinLTOOutputFile() local
330 llvm::sys::path::replace_path_prefix(NewPath, OldPrefix, NewPrefix); in getThinLTOOutputFile()
331 StringRef ParentPath = llvm::sys::path::parent_path(NewPath.str()); in getThinLTOOutputFile()
337 return NewPath.str(); in getThinLTOOutputFile()

12