| /third_party/node/test/parallel/ |
| H A D | test-path-normalize.js | 4 const path = require('path'); 6 assert.strictEqual(path.win32.normalize('./fixtures///b/../b/c.js'), 8 assert.strictEqual(path.win32.normalize('/foo/../../../bar'), '\\bar'); 9 assert.strictEqual(path.win32.normalize('a//b//../b'), 'a\\b'); 10 assert.strictEqual(path.win32.normalize('a//b//./c'), 'a\\b\\c'); 11 assert.strictEqual(path.win32.normalize('a//b//.'), 'a\\b'); 12 assert.strictEqual(path.win32.normalize('//server/share/dir/file.ext'), 14 assert.strictEqual(path.win32.normalize('/a/b/c/../../../x/y/z'), '\\x\\y\\z'); 15 assert.strictEqual(path [all...] |
| H A D | test-fs-mkdir.js | 26 const path = require('path'); 36 // fs.mkdir creates directory using assigned path 38 const pathname = path.join(tmpdir.path, nextdir()); 48 const pathname = path.join(tmpdir.path, nextdir()); 58 const pathname = path.join(tmpdir.path, nextdir()); 68 const pathname = path [all...] |
| H A D | test-fs-symlink-dir.js | 13 const path = require('path'); 21 path.join(tmpdir.path, 'absolute-target'), 24 path.relative(process.cwd(), path.join(tmpdir.path, 'relative-path')), 25 path.join(tmpdir.path, 'absolut [all...] |
| H A D | test-path-extname.js | 4 const path = require('path'); 12 ['/path/to/file', ''], 13 ['/path/to/file.ext', '.ext'], 14 ['/path.to/file.ext', '.ext'], 15 ['/path.to/file', ''], 16 ['/path.to/.file', ''], 17 ['/path.to/.file.ext', '.ext'], 18 ['/path/to/f.ext', '.ext'], 19 ['/path/t [all...] |
| H A D | test-url-pathtofileurl.js | 28 // UNC path: \\server\share\resource 57 // UNC paths on posix are considered a single path that has backslashes: 58 const fileURL = url.pathToFileURL('\\\\nas\\share\\path.txt').href; 68 { path: 'C:\\foo', expected: 'file:///C:/foo' }, 70 { path: 'C:\\FOO', expected: 'file:///C:/FOO' }, 72 { path: 'C:\\dir\\foo', expected: 'file:///C:/dir/foo' }, 74 { path: 'C:\\dir\\', expected: 'file:///C:/dir/' }, 76 { path: 'C:\\foo.mjs', expected: 'file:///C:/foo.mjs' }, 78 { path: 'C:\\foo bar', expected: 'file:///C:/foo%20bar' }, 80 { path [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_receiver.rs | 16 ty: Type::Path { in test_by_value() 17 path: Path { in test_by_value() 38 ty: Type::Path { in test_by_mut_value() 39 path: Path { in test_by_mut_value() 60 elem: Type::Path { in test_by_ref() 61 path: Path { in test_by_ref() 82 ty: Type::Path { in test_by_box() [all...] |
| /test/xts/acts/graphic/acts_graphicXTSDrawing/entry/src/ohosTest/ets/test/ |
| H A D | Path.test.ets | 52 let path = new drawing.Path(); 53 path.moveTo(10, 10); 54 path.moveTo(10.1, 10.1); 55 path.moveTo(-1, -1); 73 let path = new drawing.Path(); 75 path.moveTo(undefined, 10); 83 path.moveTo(10, undefined); 91 path [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_shutil.py | 10 import os.path namespace 59 # Pretend the destination path is on a different filesystem. 73 def write_file(path, content, binary=False): 74 """Write *content* to a file located at *path*. 76 If *path* is a tuple instead of a string, os.path.join will be used to 77 make a path. If *binary* is true, the file will be opened in binary 80 if isinstance(path, tuple): 81 path = os.path [all...] |
| H A D | test_compileall.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 61 self.source_path2 = os.path.join(self.directory, '_test2.py') 64 self.subdirectory = os.path.join(self.directory, '_subdir') 66 self.source_path3 = os.path.join(self.subdirectory, '_test3.py') 73 self.bad_source_path = os.path.join(self.directory, '_test_bad.py') 139 self.assertTrue(os.path.isfile(self.bc_path) and 140 not os.path.isfile(self.bc_path2)) 144 self.assertTrue(os.path.isfile(self.bc_path) and 145 os.path.isfile(self.bc_path2)) 156 self.assertFalse(os.path [all...] |
| /third_party/skia/infra/bots/recipe_modules/flavor/examples/full.expected/ |
| H A D | Perf-Android-Clang-NVIDIA_Shield-CPU-TegraX1-arm64-Release-All-Android.json | 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 42 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprin [all...] |
| H A D | retry_ios_install.json | 12 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 26 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 40 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 51 "/path/to/tmp/json", 64 "/path/to/tmp/json", 82 "PATH": "<PATH> [all...] |
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| H A D | programUpdates.ts | 6 path: configFilePath,
15 path: "/a/b/c/app.ts",
23 path: "/a/b/c/module.d.ts",
37 path: "/a/b/app.ts",
41 path: configFilePath,
57 path: configFilePath,
67 path: "/a/b/c/f1.ts",
71 path: "/a/b/d/f2.ts",
75 path: "/a/b/e/f3.ts",
91 change: sys => sys.writeFile(commonFile2.path, commonFile [all...] |
| /third_party/littlefs/tests/ |
| H A D | test_relocations.toml | 26 char path[1024]; 27 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i); 28 lfs_file_open(&lfs, &file, path, LFS_O_CREAT | LFS_O_WRONLY) => 0; 38 char path[1024]; 39 sprintf(path, "test%03d_loooooooooooooooooong_name", i); 41 strcmp(info.name, path) => 0; 51 char path[1024]; 52 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i); 53 lfs_remove(&lfs, path) => 0; 65 char path[102 [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
| H A D | traces-radeonsi.yml | 5 - path: glmark2/desktop:windows=4:effect=blur:blur-radius=5:passes=1:separable=true-v2.trace 9 - path: glmark2/jellyfish-v2.trace 13 - path: glxgears/glxgears-2-v2.trace 17 - path: 0ad/0ad-v2.trace 21 - path: pathfinder/demo-v2.trace 25 - path: pathfinder/canvas_moire-v2.trace 29 - path: pathfinder/canvas_text_v2-v2.trace 33 - path: gputest/furmark-v2.trace 37 - path: gputest/triangle-v2.trace 41 - path [all...] |
| /third_party/musl/scripts/ |
| H A D | search_source_files.py | 6 def file_search(path, target_type):
8 if not os.path.isdir(path):
10 src_list = os.listdir(path)
12 cur_path = os.path.join(path, src)
13 if os.path.isdir(cur_path):
24 def arch_file_search(path, arch):
26 target_path = path + "/" + arch
27 if os.path [all...] |
| /third_party/skia/infra/bots/recipe_modules/run/examples/full.expected/ |
| H A D | test.json | 8 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 21 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 35 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 46 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 56 "/path/to/tmp/json", 59 "/path/t [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | resolutionCache.ts | 5 path: "/a/b/app.js",
9 path: "/a/cache/node_modules/@types/lib/index.d.ts",
19 projectService.openClientFile(file1.path);
27 path: "/a/b/app.ts",
31 path: "/a/b/node_modules/@types/lib1/index.d.ts",
35 path: "/a/b/node_modules/@types/lib2/index.d.ts",
39 path: "/a/b/tsconfig.json",
48 projectService.openClientFile(f1.path);
50 checkProjectActualFiles(configuredProjectAt(projectService, 0), [f1.path, t1.path, tsconfi [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
| H A D | FileSystem.h | 12 // path class. 286 /// @brief Make \a path an absolute path. 288 /// Makes \a path absolute using the \a current_directory if it is not already. 289 /// An empty \a path will result in the \a current_directory. 291 /// /absolute/path => /absolute/path 292 /// relative/../path => <current-directory>/relative/../path 294 /// @param path 412 exists(const Twine &Path) exists() argument 426 can_write(const Twine &Path) can_write() argument 477 is_directory(const Twine &Path) is_directory() argument 499 is_regular_file(const Twine &Path) is_regular_file() argument 540 file_size(const Twine &Path, uint64_t &Result) file_size() argument 737 std::string Path; global() member in llvm::sys::fs::directory_entry 741 directory_entry(const Twine &path, file_status st = file_status()) directory_entry() argument 747 assign(const Twine &path, file_status st = file_status()) assign() argument 754 const std::string &path() const { return Path; } path() function in llvm::sys::fs::directory_entry 794 directory_iterator(const Twine &path, std::error_code &ec) directory_iterator() argument 856 recursive_directory_iterator(const Twine &path, std::error_code &ec) recursive_directory_iterator() argument [all...] |
| /third_party/glib/patch/ |
| H A D | backport-regex-Perform-more-tests-both-with-and-without-optimizations.patch | 19 - path = g_strdup_printf ("/regex/match-%s/%d", _name, ++total); \ 22 + path = g_strdup_printf ("/regex/match-%s-optimized/%d", _name, total); \ 24 + path = g_strdup_printf ("/regex/match-%s/%d", _name, total); \ 25 + g_test_add_data_func_full (path, data, test_match_simple, g_free); \ 26 + g_free (path); \ 31 + path = g_strdup_printf ("/regex/match-%s/%d", _name, total); \ 36 + path = g_strdup_printf ("/regex/match-%s-optimized/%d", _name, total); \ 38 g_test_add_data_func_full (path, data, test_match_simple, g_free); \ 39 g_free (path); \ 45 - path [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_reader.py | 1 import os.path namespace 13 path = pathlib.Path(__file__).parent / 'namespacedata01' 14 cls.folder = str(path) 22 MultiplexedPath(os.path.join(self.folder, 'binary.file')) 25 contents = {path.name for path in MultiplexedPath(self.folder).iterdir()} 33 data01 = os.path.abspath(os.path.join(__file__, '..', 'data01')) 35 path [all...] |
| /third_party/node/deps/npm/node_modules/glob/dist/commonjs/ |
| H A D | walker.d.ts | 9 import { Path } from 'path-scurry'; 47 export type Result<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Path : O extends GWOFileTypesFalse ? string : O extends GWOFileTypesUnset ? string : Path | string; 48 export type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypesUnset ? Set<string> : Set<Path | string>; 49 export type MatchStream<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Minipass<Path, Path> : O extends GWOFileTypesFalse ? Minipass<string, string> : O extends GWOFileTypesUnset ? Minipass<string, string> : Minipass<Path | string, Path | strin [all...] |
| /third_party/node/deps/npm/node_modules/glob/dist/esm/ |
| H A D | walker.d.ts | 9 import { Path } from 'path-scurry'; 47 export type Result<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Path : O extends GWOFileTypesFalse ? string : O extends GWOFileTypesUnset ? string : Path | string; 48 export type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypesUnset ? Set<string> : Set<Path | string>; 49 export type MatchStream<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Minipass<Path, Path> : O extends GWOFileTypesFalse ? Minipass<string, string> : O extends GWOFileTypesUnset ? Minipass<string, string> : Minipass<Path | string, Path | strin [all...] |
| /foundation/resourceschedule/memmgr/test/unittest/phone/ |
| H A D | kernel_interface_test.cpp | 88 std::string path = KernelInterface::GetInstance().JoinPath(first, second); in HWTEST_F() local 89 EXPECT_EQ(path.compare(first + "/" + second), 0); in HWTEST_F() 90 path = KernelInterface::GetInstance().JoinPath(empty, second); in HWTEST_F() 91 EXPECT_EQ(path.compare(second), 0); in HWTEST_F() 92 path = KernelInterface::GetInstance().JoinPath(first, empty); in HWTEST_F() 93 EXPECT_EQ(path.compare(first + "/"), 0); in HWTEST_F() 94 path = KernelInterface::GetInstance().JoinPath(empty, empty); in HWTEST_F() 95 EXPECT_EQ(path.compare(empty), 0); in HWTEST_F() 98 path = KernelInterface::GetInstance().JoinPath(first, second, third); in HWTEST_F() 99 EXPECT_EQ(path in HWTEST_F() 124 std::string path = KernelInterface::GetInstance().JoinPath(BASE_PATH, "testFile"); HWTEST_F() local 135 std::string path = KernelInterface::GetInstance().JoinPath(BASE_PATH, "testFile"); HWTEST_F() local 148 std::string path = KernelInterface::GetInstance().JoinPath(BASE_PATH, "testFile"); HWTEST_F() local 181 std::string path = KernelInterface::GetInstance().JoinPath(BASE_PATH, "testFile"); HWTEST_F() local 209 std::string path = "/NoSuchDir/file"; HWTEST_F() local 231 std::string path = "/NoSuchDir/NoSuchFile"; HWTEST_F() local 256 std::string path = KernelInterface::GetInstance().JoinPath(BASE_PATH, "testDir"); HWTEST_F() local [all...] |
| /third_party/typescript/tests/cases/fourslash/ |
| H A D | tripleSlashRefPathCompletionBackandForwardSlash.ts | 1 /// <reference path='fourslash.ts' /> 12 //// /// <reference path=".\..\..\/*28*/ 15 //// /// <reference path="/*0*/ 16 //// /// <reference path=".//*1*/ 17 //// /// <reference path=".\/*2*/ 18 //// /// <reference path="[|./*3*/|] 20 //// /// <reference path="d1//*4*/ 21 //// /// <reference path="d1/.//*5*/ 22 //// /// <reference path="d1/.\/*6*/ 23 //// /// <reference path [all...] |
| /third_party/python/Lib/test/test_importlib/import_/ |
| H A D | test_path.py | 29 # Test that sys.path is used when 'path' is None. 32 path = '<test path>' 34 with util.import_state(path_importer_cache={path: importer}, 35 path=[path]): 40 # Test that 'path' is used when set. 43 path = '<test path>' [all...] |