Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/third_party/node/deps/npm/node_modules/glob/dist/mjs/
Dwalker.d.ts9 import { Path } from 'path-scurry';
47 … = O extends GWOFileTypesTrue ? Path : O extends GWOFileTypesFalse ? string : O extends GWOFileTyp…
48 … GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypes…
49Path, Path> : O extends GWOFileTypesFalse ? Minipass<string, string> : O extends GWOFileTypesUnset…
55 path: Path;
58 seen: Set<Path>;
63 constructor(patterns: Pattern[], path: Path, opts: O);
67 matchCheck(e: Path, ifDir: boolean): Promise<Path | undefined>;
68 matchCheckTest(e: Path | undefined, ifDir: boolean): Path | undefined;
69 matchCheckSync(e: Path, ifDir: boolean): Path | undefined;
[all …]
Dprocessor.d.ts2 import { Path } from 'path-scurry';
12 hasWalked(target: Path, pattern: Pattern): boolean | undefined;
13 storeWalked(target: Path, pattern: Pattern): void;
21 store: Map<Path, number>;
22 add(target: Path, absolute: boolean, ifDir: boolean): void;
23 entries(): [Path, boolean, boolean][];
30 store: Map<Path, Pattern[]>;
31 add(target: Path, pattern: Pattern): void;
32 get(target: Path): Pattern[];
33 entries(): [Path, Pattern[]][];
[all …]
Dindex.d.ts2 import { Path } from 'path-scurry';
10 …treamSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
13 …StreamSync(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<stri…
19 …lobStream(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
21 …globStream(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<stri…
26 …clare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Path[];
28 export declare function globSync(pattern: string | string[], options: GlobOptions): Path[] | string…
36 …function glob_(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Promise<Path[]>;
38 declare function glob_(pattern: string | string[], options: GlobOptions): Promise<Path[] | string[]…
43 …nc(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Generator<Path, void, void>;
[all …]
/third_party/node/deps/npm/node_modules/glob/dist/cjs/src/
Dwalker.d.ts9 import { Path } from 'path-scurry';
47 … = O extends GWOFileTypesTrue ? Path : O extends GWOFileTypesFalse ? string : O extends GWOFileTyp…
48 … GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypes…
49Path, Path> : O extends GWOFileTypesFalse ? Minipass<string, string> : O extends GWOFileTypesUnset…
55 path: Path;
58 seen: Set<Path>;
63 constructor(patterns: Pattern[], path: Path, opts: O);
67 matchCheck(e: Path, ifDir: boolean): Promise<Path | undefined>;
68 matchCheckTest(e: Path | undefined, ifDir: boolean): Path | undefined;
69 matchCheckSync(e: Path, ifDir: boolean): Path | undefined;
[all …]
Dprocessor.d.ts2 import { Path } from 'path-scurry';
12 hasWalked(target: Path, pattern: Pattern): boolean | undefined;
13 storeWalked(target: Path, pattern: Pattern): void;
21 store: Map<Path, number>;
22 add(target: Path, absolute: boolean, ifDir: boolean): void;
23 entries(): [Path, boolean, boolean][];
30 store: Map<Path, Pattern[]>;
31 add(target: Path, pattern: Pattern): void;
32 get(target: Path): Pattern[];
33 entries(): [Path, Pattern[]][];
[all …]
Dindex.d.ts2 import { Path } from 'path-scurry';
10 …treamSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
13 …StreamSync(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<stri…
19 …lobStream(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Minipass<Path, Path>;
21 …globStream(pattern: string | string[], options: GlobOptions): Minipass<Path, Path> | Minipass<stri…
26 …clare function globSync(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Path[];
28 export declare function globSync(pattern: string | string[], options: GlobOptions): Path[] | string…
36 …function glob_(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Promise<Path[]>;
38 declare function glob_(pattern: string | string[], options: GlobOptions): Promise<Path[] | string[]…
43 …nc(pattern: string | string[], options: GlobOptionsWithFileTypesTrue): Generator<Path, void, void>;
[all …]
/third_party/python/Lib/venv/scripts/common/
DActivate.ps177 if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) { in global:deactivate()
78 Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt in global:deactivate()
79 Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT in global:deactivate()
83 if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { in global:deactivate()
84 Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME in global:deactivate()
85 Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME in global:deactivate()
89 if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { in global:deactivate()
90 Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH in global:deactivate()
91 Remove-Item -Path Env:_OLD_VIRTUAL_PATH in global:deactivate()
95 if (Test-Path -Path Env:VIRTUAL_ENV) { in global:deactivate()
[all …]
/third_party/icu/icu4c/packaging/
Ddistrelease.ps129 $icuDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
30 $icuDir = Resolve-Path -Path '$icuDir\..'
35 New-Item -Path "$icuDir\source\dist" -ErrorAction SilentlyContinue -ItemType "directory"
37 Get-ChildItem -Path $source -ErrorAction SilentlyContinue | Remove-Item -Recurse
38 New-Item -Path $source -ItemType "directory" -ErrorAction SilentlyContinue
43 Copy-Item -Path "$icuDir\lib64" -Destination $source -Recurse
44 Copy-Item -Path "$icuDir\bin64" -Destination $source -Recurse
48 Copy-Item -Path "$icuDir\lib" -Destination $source -Recurse
49 Copy-Item -Path "$icuDir\bin" -Destination $source -Recurse
53 Copy-Item -Path "$icuDir\libARM64" -Destination $source -Recurse
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVirtualFileSystem.cpp124 std::error_code FileSystem::makeAbsolute(SmallVectorImpl<char> &Path) const { in makeAbsolute()
125 if (llvm::sys::path::is_absolute(Path)) in makeAbsolute()
132 llvm::sys::fs::make_absolute(WorkingDir.get(), Path); in makeAbsolute()
136 std::error_code FileSystem::getRealPath(const Twine &Path, in getRealPath() argument
141 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal() argument
145 bool FileSystem::exists(const Twine &Path) { in exists() argument
146 auto Status = status(Path); in exists()
155 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal() argument
158 for (StringRef Comp : llvm::make_range(path::begin(Path), path::end(Path))) in pathHasTraversal()
255 ErrorOr<Status> status(const Twine &Path) override;
[all …]
DPath.cpp226 i.Path = path; in begin()
235 i.Path = path; in end()
241 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++()
247 if (Position == Path.size()) { in operator ++()
258 if (is_separator(Path[Position], S)) { in operator ++()
263 Component = Path.substr(Position, 1); in operator ++()
268 while (Position != Path.size() && is_separator(Path[Position], S)) { in operator ++()
273 if (Position == Path.size() && Component != "/") { in operator ++()
281 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++()
282 Component = Path.slice(Position, end_pos); in operator ++()
[all …]
DFileOutputBuffer.cpp36 OnDiskBuffer(StringRef Path, fs::TempFile Temp, in OnDiskBuffer() argument
38 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {} in OnDiskBuffer()
78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() argument
80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer()
118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) { in createInMemoryBuffer() argument
124 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode); in createInMemoryBuffer()
128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) { in createOnDiskBuffer() argument
130 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode); in createOnDiskBuffer()
157 return createInMemoryBuffer(Path, Size, Mode); in createOnDiskBuffer()
160 return std::make_unique<OnDiskBuffer>(Path, std::move(File), in createOnDiskBuffer()
[all …]
/third_party/mesa3d/.gitlab-ci/windows/
Dmesa_deps_test.ps128 $MyPath = $MyInvocation.MyCommand.Path | Split-Path -Parent
33 New-Item -ItemType Directory -Path ".\glext" -Name "GL"
44 Push-Location -Path C:\src\piglit
49 $piglit_build = New-Item -ItemType Directory -Path "C:\src\piglit" -Name "build"
50 Push-Location -Path $piglit_build.FullName
64 Remove-Item -Recurse -Path $piglit_build
70 Copy-Item -Path C:\freeglut\bin\x64\freeglut.dll -Destination C:\Piglit\lib\piglit\bin\freeglut.dll
75 Push-Location -Path C:\spirv-samples\
88 Push-Location -Path $deqp_source
96 $deqp_build = New-Item -ItemType Directory -Path "C:\deqp"
[all …]
/third_party/rust/crates/cxx/gen/src/
Dfs.rs6 use std::path::{Path, PathBuf};
47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> { in copy() argument
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> { in create_dir_all()
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool { in exists()
78 pub(crate) fn read(path: impl AsRef<Path>) -> Result<Vec<u8>> { in read()
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> { in remove_file()
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> { in remove_dir()
111 original: &'a Path, in symlink() argument
112 link: &'a Path, in symlink() argument
113 fun: fn(&'a Path, &'a Path) -> io::Result<()>, in symlink() argument
[all …]
/third_party/typescript/tests/baselines/reference/
DclodulesDerivedClasses.js10 class Path extends Shape { class
15 module Path.Utils {
16 export function convert2(): Path {
53 var Path = /** @class */ (function (_super) {
54 __extends(Path, _super);
55 function Path() { class in Path
58 return Path;
60 (function (Path) { argument
67 })(Utils = Path.Utils || (Path.Utils = {}));
68 })(Path || (Path = {}));
DclodulesDerivedClasses.symbols18 class Path extends Shape {
19 >Path : Symbol(Path, Decl(clodulesDerivedClasses.ts, 6, 1), Decl(clodulesDerivedClasses.ts, 11, 1))
23 >name : Symbol(Path.name, Decl(clodulesDerivedClasses.ts, 8, 26))
27 module Path.Utils {
28 >Path : Symbol(Path, Decl(clodulesDerivedClasses.ts, 6, 1), Decl(clodulesDerivedClasses.ts, 11, 1))
31 export function convert2(): Path {
33 >Path : Symbol(Path, Decl(clodulesDerivedClasses.ts, 6, 1), Decl(clodulesDerivedClasses.ts, 11, 1))
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
Dcoverage_test.go52 tree.Add(cov.Path{"a", "b"}, coverage(fileA, span0, span1))
64 tree.Add(cov.Path{"a", "b", "d", "i"}, coverage(fileA, span0, span1))
79 tree.Add(cov.Path{"a", "b", "e"}, coverage(fileA, span0, span1, span2))
94 tree.Add(cov.Path{"a", "c", "g", "n"}, coverage(fileA, span0, span3))
109 tree.Add(cov.Path{"a", "c", "g", "o"}, coverage(fileA, span0, span3))
124 tree.Add(cov.Path{"a", "c", "f"}, coverage(fileA, span1))
138 tree.Add(cov.Path{"a", "b", "e", "j"}, coverage(fileA, span3))
152 tree.Add(cov.Path{"a", "b", "e", "k"}, coverage(fileA, span3))
166 tree.Add(cov.Path{"a", "c", "f", "l", "v"}, coverage(fileA, span1, span2))
182 tree.Add(cov.Path{"a", "c", "f", "l", "x"}, coverage(fileA, span1, span2))
[all …]
/third_party/typescript/src/compiler/
DbuilderState.ts17 fileInfos: ESMap<Path, BuilderState.FileInfo>;
42 hasCalledUpdateShapeSignature?: Set<Path>;
46 oldSignatures?: ESMap<Path, string | false>;
50 oldExportedModulesMap?: ESMap<Path, ReadonlySet<Path> | false>;
72 getKeys(v: Path): ReadonlySet<Path> | undefined;
73 getValues(k: Path): ReadonlySet<Path> | undefined;
74 keys(): Iterator<Path>;
78 deleteKey(k: Path): boolean;
79 set(k: Path, v: ReadonlySet<Path>): void;
83 …function create(forward: ESMap<Path, ReadonlySet<Path>>, reverse: ESMap<Path, Set<Path>>, deleted:…
[all …]
/third_party/rust/crates/which-rs/src/
Dlib.rs106 Option::<&Path>::None, in which_all_global()
153 V: AsRef<path::Path>, in which_in() argument
206 V: AsRef<path::Path>, in which_in_all() argument
228 finder.find(binary_name, paths, Option::<&Path>::None, binary_checker) in which_in_global()
403 pub struct Path { struct
407 impl Path { impl
411 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new() argument
412 which(binary_name).map(|inner| Path { inner }) in new()
418 pub fn all<T: AsRef<OsStr>>(binary_name: T) -> Result<impl Iterator<Item = Path>> { in all()
419 which_all(binary_name).map(|inner| inner.map(|inner| Path { inner })) in all()
[all …]
/third_party/typescript/src/testRunner/unittests/tsserver/
DpackageJsonInfo.ts29 assert.isUndefined(projectService.packageJsonCache.getInDirectory("/" as Path));
33 let packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
45 packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
52 projectService.getPackageJsonsVisibleToFile("/src/whatever/blah.ts" as Path);
53 assert.ok(projectService.packageJsonCache.getInDirectory("/" as Path));
57 assert.isUndefined(projectService.packageJsonCache.getInDirectory("/" as Path));
65 assert.lengthOf(projectService.getPackageJsonsVisibleToFile("/a.ts" as Path), 1);
66 assert.lengthOf(projectService.getPackageJsonsVisibleToFile("/src/b.ts" as Path), 2);
72 projectService.getPackageJsonsVisibleToFile("/src/whatever/blah.ts" as Path);
73 const packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
[all …]
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerIO.cpp26 long GetEpoch(const std::string &Path) { in GetEpoch() argument
28 if (stat(Path.c_str(), &St)) in GetEpoch()
33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { in FileToVector() argument
34 std::ifstream T(Path); in FileToVector()
36 Printf("No such directory: %s; exiting\n", Path.c_str()); in FileToVector()
51 std::string FileToString(const std::string &Path) { in FileToString() argument
52 std::ifstream T(Path); in FileToString()
57 void CopyFileToErr(const std::string &Path) { in CopyFileToErr() argument
58 Printf("%s", FileToString(Path).c_str()); in CopyFileToErr()
61 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp235 i.Path = path; in begin()
243 i.Path = path; in end()
249 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++()
255 if (Position == Path.size()) { in operator ++()
268 if (is_separator(Path[Position])) { in operator ++()
276 Component = Path.substr(Position, 1); in operator ++()
281 while (Position != Path.size() && in operator ++()
282 is_separator(Path[Position])) { in operator ++()
287 if (Position == Path.size()) { in operator ++()
295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DVirtualFileSystem.h128 std::string Path; variable
133 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry() argument
134 : Path(std::move(Path)), Type(Type) {} in directory_entry()
136 llvm::StringRef path() const { return Path; } in path()
214 recursive_directory_iterator(FileSystem &FS, const Twine &Path,
249 virtual llvm::ErrorOr<Status> status(const Twine &Path) = 0;
253 openFileForRead(const Twine &Path) = 0;
268 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
276 virtual std::error_code getRealPath(const Twine &Path,
280 bool exists(const Twine &Path);
[all …]
/third_party/python/Doc/library/
Dpathlib.rst17 appropriate for different operating systems. Path classes are divided
26 right for your task, :class:`Path` is most likely what you need. It instantiates
51 >>> from pathlib import Path
55 >>> p = Path('.')
69 >>> p = Path('/etc')
113 >>> PurePath(Path('foo'), Path('bar'))
367 recommended to first call :meth:`Path.resolve` so as to resolve
629 .. class:: Path(*pathsegments)
635 >>> Path('setup.py')
642 A subclass of :class:`Path` and :class:`PurePosixPath`, this class
[all …]
/third_party/skia/modules/sksg/include/
DSkSGPath.h23 class Path : public GeometryNode {
25 static sk_sp<Path> Make() { return sk_sp<Path>(new Path(SkPath())); } in Make()
26 static sk_sp<Path> Make(const SkPath& r) { return sk_sp<Path>(new Path(r)); } in Make()
28 SG_ATTRIBUTE(Path, SkPath, fPath) in SG_ATTRIBUTE() argument
53 explicit Path(const SkPath&);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp180 const std::string &Path, const std::string &Basename) { in getDarwinDWARFResourceForPath() argument
181 SmallString<16> ResourceName = StringRef(Path); in getDarwinDWARFResourceForPath()
182 if (sys::path::extension(Path) != ".dSYM") { in getDarwinDWARFResourceForPath()
190 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC() argument
192 MemoryBuffer::getFileOrSTDIN(Path); in checkFileCRC()
326 SmallString<128> Path{Directory}; in findDebugBinary() local
327 sys::path::append(Path, ".build-id", in findDebugBinary()
330 Path += ".debug"; in findDebugBinary()
331 return Path; in findDebugBinary()
334 SmallString<128> Path = getDebugPath( in findDebugBinary() local
[all …]

12345678910>>...38