| /third_party/python/Lib/distutils/ |
| H A D | archive_util.py | 87 mkpath(os.path.dirname(archive_name), dry_run=dry_run) 132 (if installed and found on the default search path). If neither tool is 137 mkpath(os.path.dirname(zip_filename), dry_run=dry_run) 171 path = os.path.normpath(os.path.join(base_dir, '')) 172 zip.write(path, path) 173 log.info("adding '%s'", path) 176 path [all...] |
| /third_party/skia/infra/bots/recipes/compile.expected/ |
| H A D | Build-Win-Clang-x86-Debug.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/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Debian10-Clang-arm-Release-Chromebook_GLES.json | 8 "/path/to/tmp/json", 11 "/path/to/tmp/" 30 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 46 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 62 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 70 "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...] |
| /base/update/sys_installer/services/module_update/util/src/ |
| H A D | module_utils.cpp | 51 bool CreateDirIfNeeded(const std::string &path, mode_t mode) in CreateDirIfNeeded() argument 55 if (stat(path.c_str(), &statData) != 0) { in CreateDirIfNeeded() 57 if (mkdir(path.c_str(), mode) != 0) { in CreateDirIfNeeded() 58 LOG(ERROR) << "Could not mkdir " << path; in CreateDirIfNeeded() 62 LOG(ERROR) << "Could not stat " << path; in CreateDirIfNeeded() 67 LOG(ERROR) << path << " exists and is not a directory"; in CreateDirIfNeeded() 74 if (chmod(path.c_str(), mode) != 0) { in CreateDirIfNeeded() 75 LOG(WARNING) << "Could not chmod " << path; in CreateDirIfNeeded() 80 bool CheckPathExists(const std::string &path) in CheckPathExists() argument 83 return stat(path in CheckPathExists() 127 WaitForFile(const std::string &path, const std::chrono::nanoseconds &timeout) WaitForFile() argument 196 char path[PATH_MAX] = {'\\0'}; GetRealPath() local 349 RemoveSpecifiedDir(const std::string &path) RemoveSpecifiedDir() argument [all...] |
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
| H A D | bundle_util.h | 42 * @param bundlePath Indicates the HAP file path. 55 * @param fileName Indicates the file path. 62 * @param fileName Indicates the file path. 68 * @param fileName Indicates the file path. 73 * @brief Check whether the disk path memory is available for installing the hap. 74 * @param bundlePath Indicates the file path. 75 * @param diskPath Indicates disk path in the system. 80 static bool CheckSystemFreeSize(const std::string &path, int64_t size); 84 * @param path Indicates the file path [all...] |
| /test/xts/tools/lite/build/ |
| H A D | suite.py | 79 _out_file = os.path.join(_suite_out_file, 103 _config_file = os.path.join(_suite_out_file, 106 _config_file = os.path.join(_out_file, 113 if _test_xml and os.path.exists(_test_xml): 128 module_info_dir = os.path.dirname(suite_out_dir) 129 module_info_list_file = os.path.join(module_info_dir, 132 if os.path.exists(module_info_list_file): 148 if not os.path.exists(tmpl_file): 151 "path %s " % os.path [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/ |
| H A D | FieldMaskTree.cs | 43 /// a field path in the FieldMask.</para> 91 /// Adds a field path to the tree. In a FieldMask, every field path matches the 92 /// specified field as well as all its sub-fields. For example, a field path 94 /// a field path to the tree, redundant sub-paths will be removed. That is, 97 /// Likewise, if the field path to add is a sub-path of an existing leaf node, 100 public FieldMaskTree AddFieldPath(string path) in AddFieldPath() argument 102 var parts = path.Split(FIELD_PATH_SEPARATOR); in AddFieldPath() 114 // Check whether the path matche in AddFieldPath() 170 GetFieldPaths(Node node, string path, List<string> paths) GetFieldPaths() argument 188 IntersectFieldPath(string path, FieldMaskTree output) IntersectFieldPath() argument 249 Merge( Node node, string path, IMessage source, IMessage destination, FieldMask.MergeOptions options) Merge() argument [all...] |
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_util.py | 29 self.join = os.path.join 30 self.isabs = os.path.isabs 31 self.splitdrive = os.path.splitdrive 50 os.path.join = self.join 51 os.path.isabs = self.isabs 52 os.path.splitdrive = self.splitdrive 175 def _join(path): 176 return '/'.join(path) 177 os.path.join = _join 184 def _join(*path) [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/ |
| H A D | update.py | 27 from os import path namespace 36 SCRIPT_DIR = path.dirname(path.realpath(sys.argv[0])) 37 LLVM_STAGING_DIR = path.abspath(path.join(tempfile.gettempdir(), "llvm-10")) 38 LLVM_DIR = path.abspath(path.join(LLVM_STAGING_DIR, "llvm")) 39 LLVM_OBJS = path.join(LLVM_STAGING_DIR, "build") 40 LLVM_CONFIGS = path.abspath(path [all...] |
| /third_party/node/deps/v8/tools/ |
| H A D | run_perf.py | 13 "path": <relative path chunks to perf resources and main file>, 52 specified, it is called after running the tests (with a path relative to the 53 suite level's path). It is expected to read the measurement's output text 62 "path": ["."], 82 "path": ["."], 90 "path": ["richards"], 95 "path": ["navier_stokes"], 101 Path pieces are concatenated. D8 is always run with the suite's path a [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 1 //===- llvm/Support/Windows/Path.inc - Windows Path Impl --------*- C++ -*-===// 9 // This file implements the Windows specific implementation of the Path API. 50 using llvm::sys::path::widenPath; 64 namespace path { 66 // Convert a UTF-8 path to UTF-16. Also, if the absolute equivalent of the 67 // path is longer than CreateDirectory can tolerate, make it absolute and 78 // If we made this path absolute, how much longer would it get? 80 if (llvm::sys::path::is_absolute(Twine(Path8Str))) 88 // Would the absolute path b [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_httpservers.py | 131 self.send_error(int(self.path[1:])) 134 self.send_error(int(self.path[1:])) 364 self.tempdir_name = os.path.basename(self.tempdir) 366 tempname = os.path.join(self.tempdir, 'test') 422 with open(os.path.join(self.tempdir, filename), 'wb') as f: 456 This checks that a path resolving to a directory on our server cannot 459 os.mkdir(os.path.join(self.tempdir, 'existing_directory')) 495 # there are or aren't multiple slashes at the start of the path that 500 #constructs the path relative to the root directory of the HTTPServer 521 os.makedirs(os.path [all...] |
| /third_party/node/deps/v8/src/compiler/ |
| H A D | persistent-map.h | 125 // Output the path to this {FocusedTree} and its length. If no such 126 // {FocusedTree} exists, return {nullptr} and output the path to the last node 128 // path and may be less than the length of the found {FocusedTree}. 130 std::array<const FocusedTree*, kHashBits>* path, 133 // Load value from the leaf node on the focused path of {tree}. 137 // (bit==kRight) child of the node on the path of {tree} at tree level 142 // Find the leftmost path in the tree, starting at the node at tree level 143 // {level} on the path of {start}. Output the level of the leaf to {level} and 144 // the path to {path} 187 const FocusedTree*& path(int i) { path() function 427 FindHash( HashValue hash, std::array<const FocusedTree*, kHashBits>* path, int* length) const FindHash() argument 488 FindLeftmost( const FocusedTree* start, int* level, std::array<const FocusedTree*, kHashBits>* path) FindLeftmost() argument [all...] |
| /third_party/skia/infra/bots/recipes/sync_and_compile.expected/ |
| H A D | Build-Mac-Clang-x86_64-Debug-CommandBuffer.json | 10 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 34 "/path/to/tmp/json", 49 "/path/to/tmp/json", 61 "--spec-path", 72 "/path/to/tmp/json", 86 "PATH": [ 143 "PATH": [ 155 "/path/to/tmp/json", 216 "PATH" [all...] |
| H A D | Build-Debian10-Clang-arm-Release-Flutter_Android.json | 10 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 34 "/path/to/tmp/json", 47 "/path/to/tmp/json", 62 "/path/to/tmp/json", 74 "--spec-path", 85 "/path/to/tmp/json", 101 "PATH": [ 172 "PATH": [ 184 "/path/t [all...] |
| /third_party/skia/buildtools/checkdeps/ |
| H A D | builddeps.py | 15 import os.path namespace 28 # component of path) matches a given regular expression. 47 def NormalizePath(path): 48 """Returns a path normalized to how we write DEPS rules and compare paths.""" 49 return os.path.normcase(path).replace(os.path.sep, posixpath.sep) 67 dir_path = os.path.join(base_directory, os.path.dirname(line)) 95 base_directory: local path t [all...] |
| /third_party/rust/crates/syn/src/ |
| H A D | meta.rs | 6 use crate::path::{Path, PathSegment}; 44 /// use syn::{parse_macro_input, LitStr, Path}; 52 /// let mut with: Vec<Path> = Vec::new(); 54 /// if meta.path.is_ident("kind") { 57 /// } else if meta.path.is_ident("hot") { 60 /// } else if meta.path.is_ident("with") { 62 /// with.push(meta.path); 99 /// use syn::{parse_macro_input, LitStr, Path}; 117 /// with: Vec<Path>, [all...] |
| /third_party/python/Lib/ |
| H A D | os.py | 5 - os.path is either posixpath or ntpath 12 - os.pathsep is the component separator used in $PATH etc 14 - os.defpath is the default search path for executables 15 - os.devnull is the file path of the null device ('/dev/null', etc.) 20 and opendir), and leave all pathname manipulation to os.path 37 "defpath", "name", "path", "devnull", "SEEK_SET", "SEEK_CUR", 50 # Any new dependencies of the os module and/or changes in path separator 61 import posixpath as path namespace 81 import ntpath as path namespace 95 sys.modules['os.path'] [all...] |
| /base/request/request/frameworks/cj/ffi/src/ |
| H A D | cj_initialize.cpp | 130 if (cFile->path == nullptr) { in Convert2FileSpec() 133 file.uri = cFile->path; in Convert2FileSpec() 170 } else if (cForm->value.file.path != nullptr) { in ParseFormItems() 367 std::string path; in CreateDirs() local 369 path += "/" + elem; in CreateDirs() 371 if (std::filesystem::exists(path, err)) { in CreateDirs() 376 if (!std::filesystem::create_directory(path, err)) { in CreateDirs() 387 std::string path = config.saveas; in CheckDownloadFilePath() local 388 if (!StandardizePath(context, config, path)) { in CheckDownloadFilePath() 389 REQUEST_HILOGE("StandardizePath Err: %{public}s", path in CheckDownloadFilePath() 417 FileToWhole( const std::shared_ptr<OHOS::AbilityRuntime::Context> &context, const Config &config, std::string &path) FileToWhole() argument 429 CacheToWhole(const std::shared_ptr<OHOS::AbilityRuntime::Context> &context, std::string &path) CacheToWhole() argument 440 StandardizePath(const std::shared_ptr<OHOS::AbilityRuntime::Context> &context, const Config &config, std::string &path) StandardizePath() argument 564 GetFD(const std::string &path, const Config &config, int32_t &fd) GetFD() argument 647 std::string path; CheckFileSpec() local [all...] |
| /third_party/node/deps/npm/node_modules/tar/lib/ |
| H A D | unpack.js | 4 // but the path reservations are required to avoid race conditions where 13 const path = require('path') 16 const pathReservations = require('./path-reservations.js') 17 const stripAbsolutePath = require('./strip-absolute-path.js') 18 const normPath = require('./normalize-windows-path.js') 68 const unlinkFile = (path, cb) => { 70 return fs.unlink(path, cb) 73 const name = path + '.DELETE.' + crypto.randomBytes(16).toString('hex') 74 fs.rename(path, nam [all...] |
| /third_party/python/Tools/scripts/ |
| H A D | freeze_modules.py | 16 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) 17 ROOT_DIR = os.path.abspath(ROOT_DIR) 18 FROZEN_ONLY = os.path.join(ROOT_DIR, 'Tools', 'freeze', 'flag.py') 20 STDLIB_DIR = os.path.join(ROOT_DIR, 'Lib') 23 FROZEN_MODULES_DIR = os.path.join(ROOT_DIR, 'Python', 'frozen_modules') 24 DEEPFROZEN_MODULES_DIR = os.path.join(ROOT_DIR, 'Python', 'deepfreeze') 26 FROZEN_FILE = os.path.join(ROOT_DIR, 'Python', 'frozen.c') 27 MAKEFILE = os.path [all...] |
| /third_party/node/deps/icu-small/source/common/ |
| H A D | udata.cpp | 83 static UDataMemory *udata_findCachedData(const char *path, UErrorCode &err); 225 findBasename(const char *path) { in findBasename() argument 226 const char *basename=uprv_strrchr(path, U_FILE_SEP_CHAR); in findBasename() 228 return path; in findBasename() 236 packageNameFromPath(const char *path) in packageNameFromPath() argument 238 if((path == nullptr) || (*path == 0)) { in packageNameFromPath() 242 path = findBasename(path); in packageNameFromPath() 244 if((path in packageNameFromPath() 305 udata_findCachedData(const char *path, UErrorCode &err) udata_findCachedData() argument 331 udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) udata_cacheDataItem() argument 420 const char *path; /* working path (u_icudata_Dir) */ global() member in UDataPathIterator 670 openCommonData(const char *path, int32_t commonDataIndex, UErrorCode *pErrorCode) openCommonData() argument 764 UDataPathIterator iter(u_getDataDirectory(), inBasename, path, ".dat", true, pErrorCode); openCommonData() local 918 udata_setAppData(const char *path, const void *data, UErrorCode *err) udata_setAppData() argument 988 doLoadFromIndividualFiles(const char *pkgName, const char *dataPath, const char *tocEntryPathSuffix, const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *subErrorCode, UErrorCode *pErrorCode) doLoadFromIndividualFiles() argument 1046 doLoadFromCommonData(UBool isICUData, const char * , const char * , const char * , const char *tocEntryName, const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *subErrorCode, UErrorCode *pErrorCode) doLoadFromCommonData() argument 1159 doOpenChoice(const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *pErrorCode) doOpenChoice() argument 1395 udata_open(const char *path, const char *type, const char *name, UErrorCode *pErrorCode) udata_open() argument 1415 udata_openChoice(const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *pErrorCode) udata_openChoice() argument [all...] |
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | udata.cpp | 83 static UDataMemory *udata_findCachedData(const char *path, UErrorCode &err); 225 findBasename(const char *path) { in findBasename() argument 226 const char *basename=uprv_strrchr(path, U_FILE_SEP_CHAR); in findBasename() 228 return path; in findBasename() 236 packageNameFromPath(const char *path) in packageNameFromPath() argument 238 if((path == NULL) || (*path == 0)) { in packageNameFromPath() 242 path = findBasename(path); in packageNameFromPath() 244 if((path in packageNameFromPath() 305 udata_findCachedData(const char *path, UErrorCode &err) udata_findCachedData() argument 331 udata_cacheDataItem(const char *path, UDataMemory *item, UErrorCode *pErr) udata_cacheDataItem() argument 420 const char *path; /* working path (u_icudata_Dir) */ global() member in UDataPathIterator 670 openCommonData(const char *path, int32_t commonDataIndex, UErrorCode *pErrorCode) openCommonData() argument 764 UDataPathIterator iter(u_getDataDirectory(), inBasename, path, ".dat", TRUE, pErrorCode); openCommonData() local 918 udata_setAppData(const char *path, const void *data, UErrorCode *err) udata_setAppData() argument 988 doLoadFromIndividualFiles(const char *pkgName, const char *dataPath, const char *tocEntryPathSuffix, const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *subErrorCode, UErrorCode *pErrorCode) doLoadFromIndividualFiles() argument 1046 doLoadFromCommonData(UBool isICUData, const char * , const char * , const char * , const char *tocEntryName, const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *subErrorCode, UErrorCode *pErrorCode) doLoadFromCommonData() argument 1159 doOpenChoice(const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *pErrorCode) doOpenChoice() argument 1395 udata_open(const char *path, const char *type, const char *name, UErrorCode *pErrorCode) udata_open() argument 1415 udata_openChoice(const char *path, const char *type, const char *name, UDataMemoryIsAcceptable *isAcceptable, void *context, UErrorCode *pErrorCode) udata_openChoice() argument [all...] |
| /third_party/icu/icu4j/main/tests/collate/ |
| H A D | .classpath | 3 <classpathentry excluding="**/.svn/" kind="src" path="src"/> 4 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-collate"/> 5 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core"/> 6 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-test-framework"/> 7 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> 8 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-currdata"/> 9 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-langdata"/> 10 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-regiondata"/> 11 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core-tests"/> 12 <classpathentry kind="lib" path [all...] |
| /third_party/icu/icu4j/main/tests/localespi/ |
| H A D | .classpath | 3 <classpathentry excluding="**/.svn/" kind="src" path="src"/> 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> 9 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core"/> 10 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-localespi"/> 11 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-test-framework"/> 12 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-collate"/> 13 <classpathentry kind="lib" path="/external-libraries/hamcrest-core-1.3.jar"/> 14 <classpathentry kind="lib" path="/external-libraries/junit-4.12.jar" sourcepath="/external-libraries/junit-4.12-sources.jar"> 19 <classpathentry kind="lib" path="/external-libraries/JUnitParams-1.0.5.jar" sourcepath="/external-libraries/JUnitParams-1.0.5-sources.jar"> 24 <classpathentry combineaccessrules="false" kind="src" path [all...] |