Home
last modified time | relevance | path

Searched full:path (Results 1126 - 1150 of 32868) sorted by relevance

1...<<41424344454647484950>>...1315

/third_party/typescript/src/testRunner/unittests/tscWatch/
H A DwatchEnvironment.ts12 path: `${projectFolder}/typescript.ts`,
75 path: "/a/b/tsconfig.json",
101 change: sys => sys.writeFile(commonFile1.path, "var zz30 = 100;"),
128 path: `${projectFolder}/tsconfig.json`,
136 path: `${projectSrcFolder}/file1.ts`,
142 commandLineArgs: ["--w", "-p", configFile.path],
153 change: sys => sys.renameFile(file.path, file.path.replace("file1.ts", "file2.ts")),
181 path: `${cwd}/src/file.ts`,
185 path
[all...]
/base/hiviewdfx/hidumper/frameworks/native/
H A Ddump_utils.cpp285 char path[PATH_MAX] = {0}; in FdToRead() local
286 if (realpath(file.c_str(), path) == nullptr) { in FdToRead()
287 DUMPER_HILOGE(MODULE_COMMON, "realpath, no such file. path=[%{public}s], file=[%{public}s]", in FdToRead()
288 path, file.c_str()); in FdToRead()
292 if (file != std::string(path)) { in FdToRead()
293 DUMPER_HILOGI(MODULE_COMMON, "fail to check consistency. path=[%{public}s], file=[%{public}s]", in FdToRead()
294 path, file.c_str()); in FdToRead()
297 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC | O_NONBLOCK)); in FdToRead()
299 DUMPER_HILOGE(MODULE_COMMON, "open [%{public}s] %{public}s", path, ErrnoToMsg(errno).c_str()); in FdToRead()
309 DUMPER_HILOGE(MODULE_COMMON, "file path in FdToWrite()
315 char path[PATH_MAX] = {0}; FdToWrite() local
341 char path[PATH_MAX] = {0}; CheckProcessAlive() local
394 DirectoryExists(const std::string &path) DirectoryExists() argument
403 PathIsValid(const std::string &path) PathIsValid() argument
[all...]
/test/testfwk/xdevice/src/xdevice/_core/config/
H A Dconfig_manager.py60 user_path = os.path.join(Variables.exec_dir, "config")
61 top_user_path = os.path.join(Variables.top_dir, "config")
62 config_path = os.path.join(Variables.res_dir, "config")
65 for path in paths:
66 if os.path.exists(os.path.abspath(os.path.join(
67 path, ConfigFileConst.userconfig_filepath))):
68 self.file_path = os.path.abspath(os.path
[all...]
/third_party/libwebsockets/lib/misc/
H A Ddir.c78 lws_dir_via_stat(char *combo, size_t l, const char *path, struct lws_dir_entry *lde) in lws_dir_via_stat() argument
82 lws_strncpy(combo + l, path, COMBO_SIZEOF - l); in lws_dir_via_stat()
220 char path[384]; in lws_dir_glob_cb() local
229 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, in lws_dir_glob_cb()
231 filter->cb(filter->user, path); in lws_dir_glob_cb()
240 char path[384]; in lws_dir_rm_rf_cb() local
245 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, lde->name); in lws_dir_rm_rf_cb()
262 if (readlink(path, dumm in lws_dir_rm_rf_cb()
301 char path[256], base[64], *q = base; lws_plugins_dir_cb() local
[all...]
/third_party/typescript/src/testRunner/unittests/tsserver/
H A Dcompletions.ts5 path: "/a.ts",
9 path: "/b.ts",
13 path: "/tsconfig.json",
21 file: bTs.path,
163 path: "/a.ts",
174 path: "/b.ts",
180 path: "/tsconfig.json",
188 file: bTs.path,
277 path: `${projectRoot}/package.json`,
288 path
[all...]
/third_party/python/Lib/lib2to3/tests/
H A Dtest_refactor.py18 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
19 FIXER_DIR = os.path.join(TEST_DATA_DIR, "fixers")
21 sys.path.append(FIXER_DIR)
25 sys.path.pop()
32 sys.path.append(FIXER_DIR)
35 sys.path.pop()
207 test_file = os.path.join(tmpdir, os.path.basename(test_file))
224 test_file = os.path
[all...]
/base/hiviewdfx/hiview_lite/
H A Dhiview_file.c42 if (fp == NULL || fp->path == NULL) { in InitHiviewFile()
46 fp->fhandle = HIVIEW_FileOpen(fp->path); in InitHiviewFile()
240 int32 ret = HIVIEW_FileCopy(fp->path, dest); in ProcFile()
241 fp->fhandle = HIVIEW_FileOpen(fp->path); in ProcFile()
259 int32 ret = HIVIEW_FileMove(fp->path, dest); in ProcFile()
276 int IsValidPath(const char *path) in IsValidPath() argument
278 if (strcmp(path, HIVIEW_FILE_PATH_LOG) == 0 || in IsValidPath()
279 strcmp(path, HIVIEW_FILE_PATH_UE_EVENT) == 0 || in IsValidPath()
280 strcmp(path, HIVIEW_FILE_PATH_FAULT_EVENT) == 0 || in IsValidPath()
281 strcmp(path, HIVIEW_FILE_PATH_STAT_EVEN in IsValidPath()
291 RegisterFileWatcher(HiviewFile *fp, FileProc func, const char *path) RegisterFileWatcher() argument
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_maps.cpp44 std::string path = ""; in GetMapsFile() local
46 path = std::string(PROC_SELF_MAPS_PATH); in GetMapsFile()
48 path = StringPrintf("/proc/%d/maps", (int)pid); in GetMapsFile()
50 return path; in GetMapsFile()
56 std::string path = GetMapsFile(pid); in Create() local
57 if (path == "") { in Create()
62 DFXLOGU("Create maps(%{public}s) with not crash, will only parse exec map", path.c_str()); in Create()
65 if (dfxMaps->Parse(pid, path)) { in Create()
71 std::shared_ptr<DfxMaps> DfxMaps::Create(const pid_t pid, const std::string& path) in Create() argument
74 if (dfxMaps->Parse(pid, path)) { in Create()
82 std::string path = GetMapsFile(pid); Create() local
96 Parse(const pid_t pid, const std::string& path) Parse() argument
[all...]
/base/msdp/device_status/utils/common/src/
H A Dutility.cpp88 void Utility::RemoveTrailingChars(char c, char *path) in RemoveTrailingChars() argument
90 CHKPV(path); in RemoveTrailingChars()
91 size_t len = strlen(path); in RemoveTrailingChars()
92 while (len > 0 && path[len-1] == c) { in RemoveTrailingChars()
93 path[--len] = '\0'; in RemoveTrailingChars()
97 void Utility::RemoveTrailingChars(const std::string &toRemoved, std::string &path) in RemoveTrailingChars() argument
99 while (!path.empty() && (toRemoved.find(path.back()) != std::string::npos)) { in RemoveTrailingChars()
100 path.pop_back(); in RemoveTrailingChars()
128 bool Utility::DoesFileExist(const char *path) in DoesFileExist() argument
138 GetFileSize(const char *path) GetFileSize() argument
155 ShowFileAttributes(const char *path) ShowFileAttributes() argument
[all...]
/base/update/packaging_tools/test/
H A Dcreate_package_data.py91 if not os.path.exists(package_name_path):
95 create_file(os.path.join(package_name_path, "system.img"), get_target_vendor_data())
106 create_file(os.path.join(package_name_path, "vendor.img"), vendor_content)
108 create_file(os.path.join(package_name_path, "updater_binary"), UPDATER_BINARY_DATA)
111 create_file(os.path.join(package_name_path, "uImage"), get_target_vendor_data())
112 create_file(os.path.join(package_name_path, "updater.img"), get_target_vendor_data())
113 create_file(os.path.join(package_name_path, "updater_b.img"), get_target_vendor_data())
114 create_file(os.path.join(package_name_path, "updater_uImage"), get_target_vendor_data())
117 if not os.path.exists(updater_config_path):
119 create_file(os.path
[all...]
/third_party/ninja/src/
H A Dclean.cc38 int Cleaner::RemoveFile(const string& path) { in RemoveFile() argument
39 return disk_interface_->RemoveFile(path); in RemoveFile()
42 bool Cleaner::FileExists(const string& path) { in FileExists() argument
44 TimeStamp mtime = disk_interface_->Stat(path, &err); in FileExists()
50 void Cleaner::Report(const string& path) { in Report() argument
53 printf("Remove %s\n", path.c_str()); in Report()
56 void Cleaner::Remove(const string& path) { in Remove() argument
57 if (!IsAlreadyRemoved(path)) { in Remove()
58 removed_.insert(path); in Remove()
60 if (FileExists(path)) in Remove()
72 IsAlreadyRemoved(const string& path) IsAlreadyRemoved() argument
[all...]
/third_party/node/deps/npm/node_modules/npm-bundled/lib/
H A Dindex.js11 const path = require('path')
21 this.path = path.resolve(opt.path || process.cwd())
29 const base = path.basename(this.path)
30 const scope = path.basename(path.dirname(this.path))
[all...]
/third_party/protobuf/benchmarks/util/
H A Dresult_parser.py5 import os.path namespace
8 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
16 filename = os.path.dirname(os.path.abspath(__file__)) + "/../" + filename
62 filename = os.path.dirname(os.path.abspath(__file__)) + '/' + filename
97 filename = os.path
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DTarWriter.cpp28 #include "llvm/Support/Path.h"
101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) { in writePaxHeader() argument
104 std::string PaxAttr = formatPax("path", Path); in writePaxHeader()
118 // Path fits in a Ustar header if
120 // - Path is less than 100 characters long, or
121 // - Path is in the form of "<prefix>/<name>" where <prefix> is less
125 // If Path fits in a Ustar header, updates Prefix and Name and returns true.
127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument
128 if (Path in splitUstar()
173 append(StringRef Path, StringRef Data) append() argument
[all...]
/third_party/skia/tools/
H A Dgit-sync-deps14 GIT_EXECUTABLE: path to "git" binary; if unset, will look for git in
15 your default path.
24 cd path/to/repository
28 cd path/to/repository
59 DEFAULT_DEPS_PATH = os.path.normpath(
60 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS'))
91 directory (string) the path into which the repository
97 return os.path.realpath(directory) == os.path
[all...]
/third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/
H A DBuild-Debian10-GCC-x86_64-Release-Shared_Docker.json26 "/path/to/tmp/json",
93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
101 "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.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path
[all...]
H A DBuild-Debian10-GCC-x86_64-Release-NoGPU_Docker.json26 "/path/to/tmp/json",
93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
101 "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.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path
[all...]
H A DBuild-Debian10-GCC-x86_64-Debug-Docker.json26 "/path/to/tmp/json",
93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
101 "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.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path
[all...]
H A DBuild-Debian10-GCC-x86-Debug-Docker.json26 "/path/to/tmp/json",
93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
101 "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.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path
[all...]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_query.c32 static int32_t MallocCertPath(struct CmMutableBlob *cPath, const char *path) in MallocCertPath() argument
34 uint32_t pathSize = strlen(path) + 1; in MallocCertPath()
77 CM_LOG_E("copy uid path failed"); in ConstrutPathList()
105 CM_LOG_E("Failed to obtain number of uid from path"); in CreateCertPathList()
160 uint32_t sysPathCnt = 1; /* system root ca path only have one layer */ in CmGetSysCertPathList()
177 CM_LOG_E("sprintf_s path failed"); in CmGetSysCertPathList()
195 cFileList[i].path.size = 0; in CmFreeCertFiles()
196 CM_FREE_PTR(cFileList[i].path.data); in CmFreeCertFiles()
204 static int32_t MallocCertNameAndPath(struct CertFileInfo *certFile, const char *path, in MallocCertNameAndPath() argument
207 uint32_t pathSize = strlen(path) in MallocCertNameAndPath()
228 GetCertNameAndPath(struct CertFileInfo *certFile, const char *path, const char *fileName) GetCertNameAndPath() argument
249 CreateCertFile(struct CertFileInfo *cFileList, const char *path, uint32_t *certCount) CreateCertFile() argument
[all...]
/base/startup/init/ueventd/
H A Dueventd_device_handler.c96 static void SetDeviceLable(const char *path, char **symLinks) in SetDeviceLable() argument
103 p = path; in SetDeviceLable()
104 slash = strchr(path, '/'); in SetDeviceLable()
116 if (memcpy_s(buffer, PATH_MAX, path, p - path - 1) != EOK) { in SetDeviceLable()
117 INIT_LOGE("[uevent] Failed to memcpy path %s", path); in SetDeviceLable()
124 rc += Restorecon(path); in SetDeviceLable()
126 INIT_LOGE("[uevent] Failed to Restorecon \" %s \"", path); in SetDeviceLable()
138 setfilecon(path, contex in SetDeviceLable()
228 FindPlatformDeviceName(char *path) FindPlatformDeviceName() argument
[all...]
/test/xts/acts/storage/storagefileurijstest/entry/src/ohosTest/js/test/
H A Dfileuri.test.js32 * @tc.desc Function of API, get Uri from Path. Test normal function.
39 let path = "/data/storage/el2/base/haps/entry/files/sync.jpg";
40 let uri = fileUri.getUriFromPath(path);
55 * @tc.desc Function of API, get Uri from Path. Test path is empty.
77 * @tc.desc Function of API, get Uri from Path. Test argument is empty.
95 * @tc.desc Function of API, get Uri from Path. Test argument is number.
113 * @tc.desc Get the FileURI object through 'path' and validates the properties of the FileURI object.
122 let path = '/data/storage/el2/base/haps/sync_000.txt';
123 let uri = fileUri.getUriFromPath(path);
[all...]
/third_party/node/deps/v8/tools/dev/
H A Dv8gen.py11 This script can be added to the PATH and be used on other checkouts. It always
50 CONFIG = os.path.join('infra', 'mb', 'mb_config.pyl')
51 GOMA_DEFAULT = os.path.join(os.path.expanduser("~"), 'goma')
54 TOOLS_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
55 sys.path.append(os.path.join(TOOLS_PATH, 'mb'))
139 # outdir is used as path, whil
[all...]
/third_party/python/Tools/ssl/
H A Dmultissltests.py62 HERE = os.path.dirname(os.path.abspath(__file__))
63 PYTHONROOT = os.path.abspath(os.path.join(HERE, '..', '..'))
64 MULTISSL_DIR = os.path.abspath(os.path.join(PYTHONROOT, '..', 'multissl'))
158 os.path.join(PYTHONROOT, "Modules/_ssl.c"),
159 os.path.join(PYTHONROOT, "Modules/_hashopenssl.c"),
167 self.install_dir = os.path.join(
168 os.path
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_namespace_pkgs.py15 # need to test when nested, so that the top-level path isn't sys.path
16 # need to test dynamic path detection, both at top-level and nested
17 # with dynamic path, check when a loader is returned on path reload (that is,
46 >>> with namespace_tree_context(path=['/tmp/xxyy/portion1',
60 to be added to sys.path.
62 root = os.path.join(os.path.dirname(__file__), 'namespace_pkgs')
66 os.path
[all...]

Completed in 17 milliseconds

1...<<41424344454647484950>>...1315