| /third_party/python/Lib/venv/scripts/common/ |
| H A D | Activate.ps1 | 7 $Env:PATH environment variable and sets the prompt to signify that you are
12 Path to the directory that contains the virtual environment to activate. The
66 the PATH variable.
77 if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
78 Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
79 Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
83 if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
84 Copy-Item -Path En [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-path-zero-length-strings.js | 3 // These testcases are specific to one uncommon behavior in path module. Few 4 // of the functions in path module, treat '' strings as current working 10 const path = require('path'); 15 assert.strictEqual(path.posix.join(''), '.'); 16 assert.strictEqual(path.posix.join('', ''), '.'); 17 assert.strictEqual(path.win32.join(''), '.'); 18 assert.strictEqual(path.win32.join('', ''), '.'); 19 assert.strictEqual(path.join(pwd), pwd); 20 assert.strictEqual(path [all...] |
| /base/startup/appspawn/modules/sandbox/ |
| H A D | sandbox_adapter.cpp | 23 void MakeAtomicServiceDir(const SandboxContext *context, const char *path) in MakeAtomicServiceDir() argument 25 APPSPAWN_CHECK_ONLY_EXPER(context != NULL && path != NULL, return); in MakeAtomicServiceDir() 26 if (access(path, F_OK) == 0) { in MakeAtomicServiceDir() 27 APPSPAWN_LOGV("path %{public}s already exist, no need to recreate", path); in MakeAtomicServiceDir() 30 int ret = mkdir(path, S_IRWXU); in MakeAtomicServiceDir() 31 APPSPAWN_CHECK(ret == 0, return, "mkdir %{public}s failed, errno %{public}d", path, errno); in MakeAtomicServiceDir() 33 if (strstr(path, "/database") != NULL) { in MakeAtomicServiceDir() 34 ret = chmod(path, S_IRWXU | S_IRWXG | S_ISGID); in MakeAtomicServiceDir() 35 } else if (strstr(path, "/lo in MakeAtomicServiceDir() [all...] |
| /third_party/jerryscript/tools/ |
| H A D | settings.py | 17 from os import path namespace 19 TOOLS_DIR = path.dirname(path.abspath(__file__)) 20 PROJECT_DIR = path.normpath(path.join(TOOLS_DIR, '..')) 21 DEBUGGER_TESTS_DIR = path.join(PROJECT_DIR, 'tests/debugger') 22 JERRY_TESTS_DIR = path.join(PROJECT_DIR, 'tests/jerry') 23 JERRY_TEST_SUITE_DIR = path.join(PROJECT_DIR, 'tests/jerry-test-suite') 24 JERRY_TEST_SUITE_MINIMAL_LIST = path.join(PROJECT_DIR, 'tests/jerry-test-suite/minimal-profile-list') 25 TEST262_TEST_SUITE_DIR = path [all...] |
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_install_data.py | 17 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst') 21 # - a tuple with a path, and a list of file 22 one = os.path.join(pkg_dir, 'one') 24 inst2 = os.path.join(pkg_dir, 'inst2') 25 two = os.path.join(pkg_dir, 'two') 37 rtwo = os.path.split(two)[-1] 38 self.assertTrue(os.path.exists(os.path.join(inst2, rtwo))) 39 rone = os.path.split(one)[-1] 40 self.assertTrue(os.path [all...] |
| /third_party/typescript/src/compiler/ |
| H A D | resolutionCache.ts | 6 finishRecordingFilesWithChangedResolutions(): Path[] | undefined;
13 invalidateResolutionOfFile(filePath: Path): void;
14 removeResolutionsOfFile(filePath: Path): void;
15 removeResolutionsFromProjectReferenceRedirects(filePath: Path): void;
16 setFilesWithInvalidatedNonRelativeUnresolvedImports(filesWithUnresolvedImports: ESMap<Path, readonly string[]>): void;
19 isFileWithInvalidatedNonRelativeUnresolvedImports(path: Path): boolean;
39 files?: Path[];
54 toPath(fileName: string): Path;
69 fileIsOpen(filePath: Path) [all...] |
| /third_party/node/tools/ |
| H A D | test-npm-package.js | 22 const path = require('path'); 27 const projectDir = path.resolve(__dirname, '..'); 28 const npmBin = path.join(projectDir, 'deps', 'npm', 'bin', 'npm-cli.js'); 29 const nodePath = path.dirname(process.execPath); 42 tmpDir.path = `${tmpDir.path}.npm.${srcHash}`; 45 const npmCache = path.join(tmpDir.path, 'npm-cache'); 46 const npmPrefix = path [all...] |
| /third_party/python/Lib/importlib/resources/ |
| H A D | readers.py | 17 self.path = pathlib.Path(loader.path).parent 21 Return the file system path to prevent 22 `resources.path()` from creating a temporary 25 return str(self.path.joinpath(resource)) 28 return self.path 43 def is_resource(self, path): 44 # workaround for `zipfile.Path.is_file` returning true 46 target = self.files().joinpath(path) [all...] |
| /third_party/skia/tests/ |
| H A D | PathOpsSimplifyQuadralateralsThreadedTest.cpp | 38 SkPath path, out; in testSimplifyQuadralateralsMain() local 39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyQuadralateralsMain() 40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); in testSimplifyQuadralateralsMain() 41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyQuadralateralsMain() 42 path.lineTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyQuadralateralsMain() 43 path.close(); in testSimplifyQuadralateralsMain() 44 path.moveTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyQuadralateralsMain() 45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadralateralsMain() 46 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); in testSimplifyQuadralateralsMain() 47 path in testSimplifyQuadralateralsMain() [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | configFileSearch.ts | 5 path: "/a/file1.ts",
9 path: "/tsconfig.json",
14 service.openClientFile(f1.path, /*fileContent*/ undefined, /*scriptKind*/ undefined, "/a");
19 service.closeClientFile(f1.path);
20 service.openClientFile(f1.path);
29 path: `${configFileLocation}/file1.ts`,
33 path: `${configFileLocation}/tsconfig.json`,
37 path: "/a/b/projects/tsconfig.json",
42 service.openClientFile(f1.path, /*fileContent*/ undefined, /*scriptKind*/ undefined, projectDir);
45 host.deleteFile(configFile.path);
[all...] |
| /base/startup/appspawn/service/hnp/base/ |
| H A D | hnp_file.c | 118 HNP_LOGE("realpath unsuccess. path=%{public}s", srcPath);
in GetRealPath() 122 HNP_LOGE("realpath over max path len. len=%{public}d", (int)strlen(dstTmpPath));
in GetRealPath() 132 static int HnpDeleteAllFileInPath(const char *path, DIR *dir)
in HnpDeleteAllFileInPath() argument 147 ret = sprintf_s(filePath, MAX_FILE_PATH_LEN, "%s/%s", path, entry->d_name);
in HnpDeleteAllFileInPath() 149 HNP_LOGE("delete folder sprintf path[%{public}s], file[%{public}s] unsuccess.", path, entry->d_name);
in HnpDeleteAllFileInPath() 167 HNP_LOGE("delete file unsuccess.ret=%{public}d, path=%{public}s, errno=%{public}d", ret, filePath,
in HnpDeleteAllFileInPath() 178 int HnpDeleteFolder(const char *path)
in HnpDeleteFolder() argument 180 if (access(path, F_OK) != 0) {
in HnpDeleteFolder() 183 DIR *dir = opendir(path);
in HnpDeleteFolder() 202 HnpCreateFolder(const char* path) HnpCreateFolder() argument 256 HnpPathFileCount(const char *path) HnpPathFileCount() argument [all...] |
| /foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
| H A D | media_scanner_manager.cpp | 46 int32_t MediaScannerManager::ScanFile(const std::string &path, const std::shared_ptr<IMediaScannerCallback> &callback, in ScanFile() argument 49 MEDIA_DEBUG_LOG("scan file %{private}s, api%{public}d", path.c_str(), static_cast<int>(api)); in ScanFile() 52 if (!PathToRealPath(path, realPath)) { in ScanFile() 53 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFile() 58 MEDIA_ERR_LOG("the path %{private}s is not a regular file", realPath.c_str()); in ScanFile() 69 int32_t MediaScannerManager::ScanFileSync(const std::string &path, in ScanFileSync() argument 72 MEDIA_DEBUG_LOG("scan file %{private}s, api%{public}d", path.c_str(), static_cast<int>(api)); in ScanFileSync() 75 if (!PathToRealPath(path, realPath)) { in ScanFileSync() 76 MEDIA_ERR_LOG("failed to get real path in ScanFileSync() 95 ScanFileSyncWithoutAlbumUpdate(const std::string &path, const std::shared_ptr<IMediaScannerCallback> &callback, MediaLibraryApi api, bool isForceScan, int32_t fileId) ScanFileSyncWithoutAlbumUpdate() argument 122 ScanDir(const std::string &path, const std::shared_ptr<IMediaScannerCallback> &callback) ScanDir() argument 144 ScanDirSync(const std::string &path, const std::shared_ptr<IMediaScannerCallback> &callback) ScanDirSync() argument 188 ErrorRecord(const std::string &path) ErrorRecord() argument [all...] |
| /test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
| H A D | statndk.cpp | 36 #define PATH "/data/storage/el2/base/files"
macro 73 intValue = stat(PATH, &sb);
in Stat() 91 intValue = stat64(PATH, &sb);
in Stat64() 126 char path[] = "/data/storage/el2/base/files/Utimensat.txt";
in Utimensat() local 127 int fd = open(path, O_CREAT);
in Utimensat() 131 int utimensatValue = utimensat(fd, path, times, PARAM_0);
in Utimensat() 136 remove(path);
in Utimensat() 144 char path[] = "/data/storage/el2/base/files/modAt.txt";
in FchModAt() local 145 int df = open(path, O_CREAT, PARAM_0777);
in FchModAt() 146 int ret = fchmodat(df, path, S_IRUS in FchModAt() 156 char path[] = "/data/storage/el2/base/files/mod.txt"; FchMod() local 169 char path[] = "/data/storage/el2/base/files/Fzl.txt"; Creat() local 184 char path[] = "/data/storage/el2/base/files/Fzl.txt"; Creat64() local 211 char path[SIZE_64] = {PARAM_0}; Fstat() local 229 char path[SIZE_64] = {PARAM_0}; Fstat64() local 247 char path[SIZE_64] = {PARAM_0}; Fstatat() local 265 char path[SIZE_64] = {PARAM_0}; Fstatat64() local 296 char path[length]; MkFifoAt() local 323 char path[length]; MkNodAt() local 371 char path[] = "/data/storage/el2/base/files/mkdir1"; MkDir() local 388 char path[] = "/data/storage/el2/base/files/mkdirat1"; MkDirAt() local 402 char path[BUFSIZE] = {PARAM_0}; MkFiFo() local [all...] |
| /third_party/curl/tests/data/ |
| H A D | test31 | 25 Set-Cookie: blankdomain=sure; domain=; path=/ 27 Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
28 Set-Cookie:ismatch=this ; domain=test31.curl; path=/silly/
29 Set-Cookie: overwrite=this ; domain=test31.curl; path=/overwrite/
30 Set-Cookie: overwrite=this2 ; domain=test31.curl; path=/overwrite
31 Set-Cookie: sec1value=secure1 ; domain=test31.curl; path=/secure1/ ; secure
32 Set-Cookie: sec2value=secure2 ; domain=test31.curl; path=/secure2/ ; secure=
33 Set-Cookie: sec3value=secure3 ; domain=test31.curl; path=/secure3/ ; secure=
34 Set-Cookie: sec4value=secure4 ; secure=; domain=test31.curl; path=/secure4/ ;
35 Set-Cookie: sec5value=secure5 ; secure; domain=test31.curl; path [all...] |
| /third_party/node/deps/v8/third_party/jinja2/ |
| H A D | loaders.py | 9 from os import path namespace 22 """Split a path into segments and perform a sanity check. If it detects 23 '..' in the path it will raise a `TemplateNotFound` error. 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 48 from os.path import join, exists, getmtime 52 def __init__(self, path): 53 self.path [all...] |
| /third_party/skia/third_party/externals/jinja2/ |
| H A D | loaders.py | 9 from os import path namespace 22 """Split a path into segments and perform a sanity check. If it detects 23 '..' in the path it will raise a `TemplateNotFound` error. 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 48 from os.path import join, exists, getmtime 52 def __init__(self, path): 53 self.path [all...] |
| /third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Debian10-Clang-x86_64-Debug-SwiftShader_MSAN.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 26 "/path/to/tmp/json", 52 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 53 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 70 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 71 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 86 "PATH" [all...] |
| H A D | Build-Debian10-Clang-x86_64-Release-SwiftShader.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 26 "/path/to/tmp/json", 49 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 50 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 67 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 68 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 83 "PATH" [all...] |
| H A D | Build-Debian10-Clang-x86_64-Debug-SwiftShader_TSAN.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 26 "/path/to/tmp/json", 52 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 53 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 70 "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cmake_linux/bin", 71 "SWIFTSHADER_MSAN_INSTRUMENTED_LIBCXX_PATH": "/totally/phony/path" 86 "PATH" [all...] |
| /third_party/node/deps/npm/node_modules/mkdirp/ |
| H A D | index.js | 2 const pathArg = require('./lib/path-arg.js') 9 const mkdirp = (path, opts) => { 10 path = pathArg(path) 13 ? mkdirpNative(path, opts) 14 : mkdirpManual(path, opts) 17 const mkdirpSync = (path, opts) => { 18 path = pathArg(path) 21 ? mkdirpNativeSync(path, opt [all...] |
| /third_party/gn/src/gn/ |
| H A D | visual_studio_writer_unittest.cc | 21 std::string MakeTestPath(const std::string& path) { in MakeTestPath() argument 23 return "C:" + path; in MakeTestPath() 25 return path; in MakeTestPath() 36 std::string path = in TEST_F() local 40 "base", path, MakeGuid(path, "project"), in TEST_F() 43 path = MakeTestPath("/foo/chromium/src/out/Debug/obj/tools/gn/gn.vcxproj"); in TEST_F() 46 "gn", path, MakeGuid(path, "project"), in TEST_F() 49 path in TEST_F() 95 std::string path = TEST_F() local 172 std::string path = MakeTestPath("blah.vcxproj"); TEST_F() local 207 std::string path = MakeTestPath("blah.vcxproj"); TEST_F() local [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_py_compile.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 60 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 62 # current working directory path and the 'self.source_path' might be 65 drive = os.path.splitdrive(self.source_path)[0] 78 self.assertTrue(os.path.exists(self.pyc_path)) 79 self.assertFalse(os.path.exists(self.cache_path)) 89 assert os.path.islink(self.pyc_path) 93 @unittest.skipIf(not os.path.exists(os.devnull) or os.path.isfile(os.devnull), 103 self.assertTrue(os.path [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| H A D | FileSystem.h | 11 // path class. 295 /// Make \a path an absolute path. 297 /// Makes \a path absolute using the \a current_directory if it is not already. 298 /// An empty \a path will result in the \a current_directory. 300 /// /absolute/path => /absolute/path 301 /// relative/../path => <current-directory>/relative/../path 303 /// @param path 468 exists(const Twine &Path) exists() argument 482 can_write(const Twine &Path) can_write() argument 530 is_local(const Twine &Path) is_local() argument 567 is_directory(const Twine &Path) is_directory() argument 589 is_regular_file(const Twine &Path) is_regular_file() argument 613 is_symlink_file(const Twine &Path) is_symlink_file() argument 696 file_size(const Twine &Path, uint64_t &Result) file_size() argument 1217 std::string Path; global() member in llvm::sys::fs::directory_entry 1223 directory_entry(const Twine &Path, bool FollowSymlinks = true, file_type Type = file_type::type_unknown, basic_file_status Status = basic_file_status()) directory_entry() argument 1234 const std::string &path() const { return Path; } path() function in llvm::sys::fs::directory_entry 1285 directory_iterator(const Twine &path, std::error_code &ec, bool follow_symlinks = true) directory_iterator() argument 1348 recursive_directory_iterator(const Twine &path, std::error_code &ec, bool follow_symlinks = true) recursive_directory_iterator() argument [all...] |
| /base/startup/appspawn/modules/common/ |
| H A D | appspawn_cgroup.c | 46 APPSPAWN_LOGV("Cgroup path %{public}s ", buffer); in GetCgroupPath() 51 APPSPAWN_STATIC int WriteToFile(const char *path, int truncated, pid_t pids[], uint32_t count) in WriteToFile() argument 54 int fd = open(path, O_RDWR | (truncated ? O_TRUNC : O_APPEND)); in WriteToFile() 56 "Failed to open file errno: %{public}d path: %{public}s", errno, path); in WriteToFile() 64 "Failed to write file errno: %{public}d path: %{public}s %{public}s", errno, path, pidName); in WriteToFile() 80 static int WritePidMax(const char *path, uint32_t max) in WritePidMax() argument 105 int fd = open(path, O_RDWR | O_TRUNC); in WritePidMax() 107 "Failed to open file errno: %{public}d path in WritePidMax() 144 KillProcessesByCGroup(const char *path, AppSpawnMgr *content, const AppSpawnedProcessInfo *appInfo) KillProcessesByCGroup() argument 203 char path[PATH_MAX] = {}; ProcessMgrAddApp() local [all...] |
| /third_party/node/deps/v8/third_party/inspector_protocol/ |
| H A D | roll.py | 72 def CheckRepoIsClean(path, suffix): 73 os.chdir(path) # As a side effect this also checks for existence of the dir. 74 # If path isn't a git repo, this will throw and exception. 78 raise Exception('%s is not a clean git repo (run git status)' % path) 79 if not path.endswith(suffix): 80 raise Exception('%s does not end with /%s' % (path, suffix)) 83 def CheckRepoIsNotAtMasterBranch(path): 84 os.chdir(path) 87 raise Exception('%s is at master branch - refusing to copy there.' % path) 90 def CheckRepoIsV8Checkout(path) [all...] |