| /third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Win-Clang-x86_64-Release-Direct3D.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 29 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 44 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 57 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 65 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path [all...] |
| H A D | Build-Win-Clang-x86_64-Release-Shared.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 29 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 44 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 57 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 65 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path [all...] |
| H A D | Build-Win-Clang-x86_64-Debug-ANGLE.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 29 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 44 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 57 "PATH": "<PATH>;RECIPE_REPO[depot_tools]" 65 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | disk_cache_os.c | 107 /* Create a directory named 'path' if it does not already exist. 109 * Returns: 0 if path already exists as a directory or if created. 113 mkdir_if_needed(const char *path) in mkdir_if_needed() argument 117 /* If the path exists already, then our work is done if it's a in mkdir_if_needed() 120 if (stat(path, &sb) == 0) { in mkdir_if_needed() 125 "---disabling.\n", path); in mkdir_if_needed() 130 int ret = mkdir(path, 0755); in mkdir_if_needed() 135 path, strerror(errno)); in mkdir_if_needed() 140 /* Concatenate an existing path and a new name to form a new path 151 concatenate_and_mkdir(void *ctx, const char *path, const char *name) concatenate_and_mkdir() argument 307 is_regular_non_tmp_file(const char *path, const struct stat *sb, const char *d_name, const size_t len) is_regular_non_tmp_file() argument 321 unlink_lru_file_from_directory(const char *path) unlink_lru_file_from_directory() argument 345 is_two_character_sub_directory(const char *path, const struct stat *sb, const char *d_name, const size_t len) is_two_character_sub_directory() argument 820 char *path = getenv("MESA_SHADER_CACHE_DIR"); disk_cache_generate_cache_dir() local 968 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache, char *path) disk_cache_mmap_cache_index() argument [all...] |
| /third_party/typescript/src/compiler/ |
| H A D | builderState.ts | 17 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>;
[all...] |
| H A D | watchUtilities.ts | 7 fileExists(path: string): boolean;
8 readFile(path: string, encoding?: string): string | undefined;
11 directoryExists?(path: string): boolean;
12 getDirectories?(path: string): string[];
13 readDirectory?(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[];
14 realpath?(path: string): string;
16 createDirectory?(path: string): void;
17 writeFile?(path: string, data: string, writeByteOrderMark?: boolean): void;
28 getDirectories(path: string): string[];
29 readDirectory(path [all...] |
| /third_party/python/Lib/distutils/command/ |
| H A D | build_py.py | 54 for name, path in self.distribution.package_dir.items(): 55 self.package_dir[name] = convert_path(path) 107 build_dir = os.path.join(*([self.build_lib] + package.split('.'))) 109 # Length of path to strip from found files 127 # Each pattern has to be converted to a platform-specific path 128 filelist = glob.glob(os.path.join(glob.escape(src_dir), convert_path(pattern))) 131 and os.path.isfile(fn)]) 139 target = os.path.join(build_dir, filename) 140 self.mkpath(os.path.dirname(target)) 141 self.copy_file(os.path [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | watchEnvironment.ts | 9 path: `${projectFolder}/tsconfig.json`,
17 path: `${projectSrcFolder}/index.ts`,
21 path: `${projectSrcFolder}/file1.ts`,
38 path: `${projectSrcFolder}/file2.ts`,
41 host.writeFile(file2.path, file2.content);
70 path: root + "project/tsconfig.json",
74 path: root + "project/file1.ts",
78 path: root + "project/file2.ts",
99 path: `${projectFolder}/tsconfig.json`,
103 path [all...] |
| /third_party/rust/crates/which-rs/tests/ |
| H A D | basic.rs | 8 use std::path::{Path, PathBuf}; 15 /// $PATH 17 /// Binaries created in $PATH 25 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() 27 let bin = dir.join(path).with_extension(extension); in mk_bin() 36 fn touch(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in touch() 37 let b = dir.join(path) in touch() [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
| H A D | rs_path.cpp | 18 #include "draw/path.h" 31 std::shared_ptr<RSPath> RSPath::CreateRSPath(const Drawing::Path& path) in CreateRSPath() argument 34 rsPath->SetDrawingPath(path); in CreateRSPath() 38 std::shared_ptr<RSPath> RSPath::CreateRSPath(const std::string& path) in CreateRSPath() argument 40 Drawing::Path drAnimationPath; in CreateRSPath() 41 drAnimationPath.BuildFromSVGString(path); in CreateRSPath() 47 drPath_ = new Drawing::Path(); in RSPath() 57 const Drawing::Path& RSPath::GetDrawingPath() const in GetDrawingPath() 62 void RSPath::SetDrawingPath(const Drawing::Path argument 72 Drawing::Path path; Reverse() local [all...] |
| /third_party/node/deps/ngtcp2/ngtcp2/lib/ |
| H A D | ngtcp2_path.c | 31 void ngtcp2_path_init(ngtcp2_path *path, const ngtcp2_addr *local, in ngtcp2_path_init() argument 33 path->local = *local; in ngtcp2_path_init() 34 path->remote = *remote; in ngtcp2_path_init() 53 ngtcp2_addr_init(&ps->path.local, (const ngtcp2_sockaddr *)&ps->local_addrbuf, in ngtcp2_path_storage_init() 55 ngtcp2_addr_init(&ps->path.remote, in ngtcp2_path_storage_init() 58 ngtcp2_addr_copy_byte(&ps->path.local, local_addr, local_addrlen); in ngtcp2_path_storage_init() 59 ngtcp2_addr_copy_byte(&ps->path.remote, remote_addr, remote_addrlen); in ngtcp2_path_storage_init() 61 ps->path.user_data = user_data; in ngtcp2_path_storage_init() 65 const ngtcp2_path *path) { in ngtcp2_path_storage_init2() 66 ngtcp2_path_storage_init(ps, path in ngtcp2_path_storage_init2() 64 ngtcp2_path_storage_init2(ngtcp2_path_storage *ps, const ngtcp2_path *path) ngtcp2_path_storage_init2() argument [all...] |
| /third_party/vk-gl-cts/external/amber/src/src/ |
| H A D | virtual_file_store.h | 26 /// Stores a number of virtual files by path. 29 /// Return the path sanitized into a canonical form. 30 static std::string GetCanonical(const std::string& path); 32 /// Adds the virtual file with content |content| to the virtual file path 33 /// |path|. If there's already a virtual file with the given path, an error is 35 Result Add(const std::string& path, const std::string& content) { in Add() argument 36 if (path.length() == 0) { in Add() 37 return Result("Virtual file path was empty"); in Add() 40 auto canonical = GetCanonical(path); in Add() 52 Get(const std::string& path, std::string* content) const Get() argument [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | autolift3.types | 19 >(function() { var CScriptIO = (function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } })(); return inner; })() : any
20 >(function() { var CScriptIO = (function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } })(); return inner; }) : () => any
21 >function() { var CScriptIO = (function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } })(); return inner; } : () => any
24 >CScriptIO : { readFile: (path: string) => string; }
25 >(function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } })() : { readFile: (path: string) => string; }
26 >(function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } }) : () => { readFile: (path: string) => string; }
27 >function() { var fso = 0 return { readFile: function(path: string): string { return fso.toString(); } } } : () => { readFile: (path [all...] |
| /third_party/skia/infra/bots/assets/svg/ |
| H A D | create.py | 18 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 19 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 20 SVG_TOOLS = os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir, 'tools', 'svg') 26 target_dir = os.path.realpath(target_dir) 27 target_svg_dir = os.path.join(target_dir, 'svg') 28 target_image_dir = os.path.join(target_dir, 'images') 30 if not os.path.exists(target_svg_dir): 33 if not os.path [all...] |
| /third_party/jinja2/ |
| H A D | loaders.py | 25 """Split a path into segments and perform a sanity check. If it detects 26 '..' in the path it will raise a `TemplateNotFound` error. 31 os.path.sep in piece 32 or (os.path.altsep and os.path.altsep in piece) 33 or piece == os.path.pardir 51 from os.path import join, exists, getmtime 55 def __init__(self, path): 56 self.path = path [all...] |
| /third_party/node/deps/v8/tools/unittests/ |
| H A D | run_perf_test.py | 22 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 23 RUN_PERF = os.path.join(BASE_DIR, 'run_perf.py') 24 TEST_DATA = os.path.join(BASE_DIR, 'unittests', 'testdata') 26 TEST_WORKSPACE = os.path.join(tempfile.gettempdir(), 'test-v8-run-perf') 31 'path': ['.'], 46 'path': ['.'], 53 'path': ['richards'], 60 'path' [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/ |
| H A D | Symbolize.cpp | 33 #include "llvm/Support/Path.h" 175 // For Path="/path/to/foo" and Basename="foo" assume that debug info is in 176 // /path/to/foo.dSYM/Contents/Resources/DWARF/foo. 177 // For Path="/path/to/bar.dSYM" and Basename="foo" assume that debug info is in 178 // /path/to/bar.dSYM/Contents/Resources/DWARF/foo. 180 const std::string &Path, const std::string &Basename) { in getDarwinDWARFResourceForPath() 181 SmallString<16> ResourceName = StringRef(Path); in getDarwinDWARFResourceForPath() 182 if (sys::path in getDarwinDWARFResourceForPath() 179 getDarwinDWARFResourceForPath( const std::string &Path, const std::string &Basename) getDarwinDWARFResourceForPath() argument 190 checkFileCRC(StringRef Path, uint32_t CRCHash) checkFileCRC() argument 334 SmallString<128> Path = getDebugPath( findDebugBinary() local 350 SmallString<128> Path = getDebugPath(Directory); findDebugBinary() local 391 lookUpDebuglinkObject(const std::string &Path, const ObjectFile *Obj, const std::string &ArchName) lookUpDebuglinkObject() argument 411 lookUpBuildIDObject(const std::string &Path, const ELFObjectFileBase *Obj, const std::string &ArchName) lookUpBuildIDObject() argument 431 getOrCreateObjectPair(const std::string &Path, const std::string &ArchName) getOrCreateObjectPair() argument 462 getOrCreateObject(const std::string &Path, const std::string &ArchName) getOrCreateObject() argument [all...] |
| /foundation/filemanagement/dfs_service/utils/system/src/ |
| H A D | utils_directory.cpp | 182 void ForceCreateDirectory(const string &path, function<void(const string &)> onSubDirCreated) in ForceCreateDirectory() argument 187 index = path.find('/', index + 1); in ForceCreateDirectory() 189 subPath = path; in ForceCreateDirectory() 191 subPath = path.substr(0, index); in ForceCreateDirectory() 204 void ForceCreateDirectory(const string &path) in ForceCreateDirectory() argument 206 ForceCreateDirectory(path, nullptr); in ForceCreateDirectory() 209 void ForceCreateDirectory(const string &path, mode_t mode) in ForceCreateDirectory() argument 211 ForceCreateDirectory(path, [mode](const string &subPath) { in ForceCreateDirectory() 218 void ForceCreateDirectory(const string &path, mode_t mode, uid_t uid, gid_t gid) in ForceCreateDirectory() argument 220 ForceCreateDirectory(path, [mod in ForceCreateDirectory() 227 ForceRemoveDirectory(const string &path) ForceRemoveDirectory() argument 234 ForceRemoveDirectoryDeepFirst(const string& path) ForceRemoveDirectoryDeepFirst() argument 282 IsFile(const std::string &path) IsFile() argument 310 std::vector<std::string> path; GetFilePath() local 334 ChangeOwnerRecursive(const std::string &path, uid_t uid, gid_t gid) ChangeOwnerRecursive() argument [all...] |
| /third_party/littlefs/tests/ |
| H A D | test_paths.toml | 2 # simple path test 54 # dot path test 83 # dot dot path test 116 # trailing dot path test 141 # leading dot path test 156 # root dot dot path test 183 # invalid path tests 275 # max path test 286 char path[1024]; 287 memset(path, ' [all...] |
| /third_party/libinput/doc/ |
| H A D | touchpad-softbutton-state-machine.svg | 5 <path d="M 862 441 L 894 441" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 6 <path d="M 899 441 L 892 445 L 894 441 L 892 438 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 26 <path d="M 921 411 C 923 408 927 405 932 405 L 965 405 C 970 405 974 408 976 411 L 996 439 C 997 440 997 442 996 444 L 976 471 C 974 475 970 477 965 477 L 932 477 C 927 477 923 475 921 471 L 901 444 C 900 442 900 440 901 439 L 921 411 Z" fill="#ffd966" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/> 31 <path d="M 759 7 C 762 4 766 2 770 2 L 804 2 C 808 2 812 4 815 7 L 835 30 C 836 31 836 33 835 34 L 815 57 C 812 60 808 62 804 62 L 770 62 C 766 62 762 60 759 57 L 739 34 C 739 33 739 31 739 30 L 759 7 Z" fill="#ffd966" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/> 36 <path d="M 997 441 L 1016 442" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 37 <path d="M 1022 442 L 1015 445 L 1016 442 L 1015 438 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 38 <path d="M 766 235 C 768 232 771 230 774 230 L 800 230 C 803 230 806 232 808 235 L 824 259 C 824 260 824 262 824 263 L 808 287 C 806 290 803 292 800 292 L 774 292 C 771 292 768 290 766 287 L 750 263 C 750 262 750 260 750 259 L 766 235 Z" fill="#ffd966" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/> 43 <path d="M 785 181 L 786 224" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 44 <path d="M 786 229 L 783 222 L 786 224 L 790 222 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="none"/> 45 <path [all...] |
| /third_party/cJSON/tests/json-patch-tests/ |
| H A D | spec_tests.json | 5 "patch": [ {"op": "add", "path": "/a/b", "value": 1} ], 7 "path /a does not exist -- missing objects are not created recursively" 16 { "op": "add", "path": "/baz", "value": "qux" } 30 { "op": "add", "path": "/foo/1", "value": "qux" } 44 { "op": "remove", "path": "/baz" } 57 { "op": "remove", "path": "/foo/1" } 71 { "op": "replace", "path": "/baz", "value": "boo" } 91 { "op": "move", "from": "/foo/waldo", "path": "/qux/thud" } 110 { "op": "move", "from": "/foo/1", "path": "/foo/3" } 125 { "op": "test", "path" [all...] |
| /third_party/mesa3d/ohos/ |
| H A D | build_mesa3d.py | 26 import os.path namespace 33 # input /path/to/openharmony/out/rk3568 37 mesa3d_install_dir = os.path.join(out_dir, 'packages', 'phone', 'mesa3d') 38 product = os.path.basename(out_dir) 39 project_dir = os.path.dirname(os.path.dirname(out_dir)) 40 project_dir = os.path.abspath(project_dir) 41 mesa3d_dir = os.path.dirname(os.path.dirname(__file__)) 42 mesa3d_dir = os.path [all...] |
| /third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/ |
| H A D | variable_or_object_mutation.js | 26 _randomVariableOrObject(path) { 27 const randomVar = common.randomVariable(path); 35 _randomVariableOrObjectMutations(path, recurseDepth=0) { 43 const first = this._randomVariableOrObjectMutations(path, recurseDepth + 1); 45 path, recurseDepth + 1); 49 const randVarOrObject = this._randomVariableOrObject(path); 53 newRandVarOrObject = this._randomVariableOrObject(path); 78 RANDOM: common.randomValue(path), 83 common.callRandomFunction(path, randVarOrObject))); 87 var randomVar = common.randomVariable(path); [all...] |
| /third_party/musl/porting/liteos_a/user/src/misc/ |
| H A D | nftw.c | 22 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) in do_nftw() argument 24 size_t l = strlen(path), j = l && path[l-1]=='/' ? l-1 : l; in do_nftw() 31 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw() 32 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw() 37 if (access(path, R_OK) < 0) type = FTW_DNR; in do_nftw() 61 for (k=j; k && path[k]=='/'; k--); in do_nftw() 62 for (; k && path[k-1]!='/'; k--); in do_nftw() 66 if (!(flags & FTW_DEPTH) && (r=fn(path, in do_nftw() 107 nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) nftw() argument [all...] |
| /third_party/rust/crates/syn/tests/ |
| H A D | test_path.rs | 21 Expr::Path { in parse_interpolated_leading_component() 22 path: Path { in parse_interpolated_leading_component() 37 Type::Path { in parse_interpolated_leading_component() 38 path: Path { in parse_interpolated_leading_component() 60 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 64 assert!(ty.path.segments.pop().is_some()); in print_incomplete_qpath() 68 assert!(ty.path.segments.pop().is_none()); in print_incomplete_qpath() 75 assert!(ty.path in print_incomplete_qpath() [all...] |