Home
last modified time | relevance | path

Searched refs:path (Results 1851 - 1875 of 12508) sorted by relevance

1...<<71727374757677787980>>...501

/third_party/skia/modules/skparagraph/utils/
H A DTestFontCollection.cpp22 SkString path; in TestFontCollection() local
23 while (iter.next(&path)) { in TestFontCollection()
24 addFontFromFile(path.c_str()); in TestFontCollection()
38 bool TestFontCollection::addFontFromFile(const std::string& path, const std::string& familyName) { in addFontFromFile() argument
41 file_path.printf("%s/%s", fResourceDir.c_str(), path.c_str()); in addFontFromFile()
/third_party/skia/infra/bots/assets/bazel/
H A Dcreate.py16 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
17 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
18 sys.path.insert(0, INFRA_BOTS_DIR)
/third_party/skia/docs/examples/
H A Dbug5252.cpp26 SkPath path; in REG_FIDDLE() local
27 path.moveTo(6, 6); in REG_FIDDLE()
28 path.cubicTo(14, 10, 13, 12, 10, 12); in REG_FIDDLE()
29 path.cubicTo(7, 15, 8, 17, 14, 18); in REG_FIDDLE()
30 canvas->drawPath(path, pa); in REG_FIDDLE()
H A DPath_countVerbs.cpp7 SkPath path; in REG_FIDDLE() local
8 SkDebugf("empty verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
9 path.addRoundRect({10, 20, 30, 40}, 5, 5); in REG_FIDDLE()
10 SkDebugf("round rect verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
/third_party/skia/infra/bots/assets/clang_win/
H A Dcreate.py17 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
18 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
19 sys.path.insert(0, INFRA_BOTS_DIR)
/third_party/skia/infra/bots/assets/cockroachdb/
H A Dcreate.py18 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 sys.path.insert(0, INFRA_BOTS_DIR)
/third_party/vk-gl-cts/scripts/opengl/
H A Dgen_str_util.py28 sys.path.append(os.path.dirname(os.path.dirname(__file__)))
964 prototypeFile = os.path.join(OPENGL_DIR, "gluStrUtilPrototypes.inl")
965 implFile = os.path.join(OPENGL_DIR, "gluStrUtil.inl")
/test/xts/acts/ai/nncore/common/
H A Dnncore_utils.cpp362 PathType CheckPath(const std::string &path) in CheckPath() argument
364 if (path.empty()) { in CheckPath()
365 LOGI("CheckPath: path is null"); in CheckPath()
369 if (stat(path.c_str(), &buf) == 0) { in CheckPath()
378 LOGI("%s not found", path.c_str()); in CheckPath()
382 bool DeleteFile(const std::string &path) in DeleteFile() argument
384 if (path.empty()) { in DeleteFile()
385 LOGI("DeleteFile: path is null"); in DeleteFile()
388 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile()
389 LOGI("not found: %s", path in DeleteFile()
426 DeleteFolder(const std::string &path) DeleteFolder() argument
462 CreateFolder(const std::string &path) CreateFolder() argument
[all...]
/third_party/lzma/CPP/7zip/UI/FileManager/
H A DBrowseDialog.cpp112 bool GetParentPath(const UString &path, UString &parentPrefix, UString &name);
463 bool CBrowseDialog::GetParentPath(const UString &path, UString &parentPrefix, UString &name) in GetParentPath() argument
467 if (path.IsEmpty()) in GetParentPath()
469 if (_topDirPrefix == path) in GetParentPath()
471 UString s = path; in GetParentPath()
829 bool MyBrowseForFolder(HWND owner, LPCWSTR title, LPCWSTR path, UString &resultPath) in MyBrowseForFolder() argument
836 if (!IsSuperOrDevicePath(path)) in MyBrowseForFolder()
837 if (MyStringLen(path) < MAX_PATH) in MyBrowseForFolder()
839 return NShell::BrowseForFolder(owner, title, path, resultPath); in MyBrowseForFolder()
849 if (path) in MyBrowseForFolder()
962 RemoveDotsAndSpaces(UString &path) RemoveDotsAndSpaces() argument
978 UString path = path2; CorrectFsPath() local
1069 CorrectFsPath(const UString & , const UString &path, UString &result) CorrectFsPath() argument
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs42 open(tmp.path().parent().unwrap(), OFlag::empty(), Mode::empty()) in test_openat()
46 tmp.path().file_name().unwrap(), in test_openat()
65 open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat()
66 let old_path = old_dir.path().join("old"); in test_renameat()
70 open(new_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat()
78 assert!(new_dir.path().join("new").exists()); in test_renameat()
95 open(old_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
96 let old_path = old_dir.path().join("old"); in test_renameat2_behaves_like_renameat_with_no_flags()
100 open(new_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
122 assert!(new_dir.path() in test_renameat2_behaves_like_renameat_with_no_flags()
[all...]
/third_party/NuttX/fs/driver/
H A Dfs_unregisterblockdriver.c40 * Remove the block driver inode at 'path' from the pseudo-file system
44 int unregister_blockdriver(const char *path) in unregister_blockdriver() argument
46 if (path == NULL || strlen(path) >= PATH_MAX || strncmp("/dev/", path, DEV_PATH_LEN) != 0) in unregister_blockdriver()
/third_party/musl/src/linux/
H A Dswap.c4 int swapon(const char *path, int flags) in swapon() argument
6 return syscall(SYS_swapon, path, flags); in swapon()
9 int swapoff(const char *path) in swapoff() argument
11 return syscall(SYS_swapoff, path); in swapoff()
/third_party/typescript/tests/baselines/reference/
H A DdynamicImportTrailingComma.js2 const path = './foo';
3 import(path,);
7 var path = './foo'; variable
8 _a = path, Promise.resolve().then(function () { return require(_a); });
/third_party/nghttp2/src/
H A Dshrpx_http3_upstream.cc500 auto path = ngtcp2_conn_get_path(conn_); in handshake_completed() local
502 return send_new_token(&path->remote); in handshake_completed()
506 int path_validation(ngtcp2_conn *conn, uint32_t flags, const ngtcp2_path *path, in path_validation() argument
515 if (upstream->send_new_token(&path->remote) != 0) { in path_validation()
730 auto path = ngtcp2_path{ in init() local
742 rv = ngtcp2_conn_server_new(&conn_, &initial_hd.scid, &scid, &path, in init()
843 conn_, &ps.path, &pi, bufpos, max_udp_payload_size, &ndatalen, flags, in write_streams()
891 auto faddr = static_cast<UpstreamAddr *>(prev_ps.path.user_data); in write_streams()
895 rv = send_packet(faddr, prev_ps.path.remote.addr, in write_streams()
896 prev_ps.path in write_streams()
1789 auto path = ngtcp2_path{ on_read() local
2236 auto path = req.fs.header(http2::HD__PATH); http_end_request_headers() local
2868 auto path = dir.str(); open_qlog_file() local
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-core.c28 * struct coresight_node - elements of a path, from source to sink
39 * path can exist from a tracer (associated to a CPU) to a sink.
46 * configuration they will enact, for the time being only define a single path
451 * coresight_disable_path_from : Disable components in the given path beyond
455 static void coresight_disable_path_from(struct list_head *path, in coresight_disable_path_from() argument
462 nd = list_first_entry(path, struct coresight_node, link); in coresight_disable_path_from()
464 list_for_each_entry_continue(nd, path, link) { in coresight_disable_path_from()
475 type = (csdev == coresight_get_sink(path)) ? in coresight_disable_path_from()
485 * We skip the first node in the path assuming that it in coresight_disable_path_from()
487 * the middle of a path in coresight_disable_path_from()
502 coresight_disable_path(struct list_head *path) coresight_disable_path() argument
508 coresight_enable_path(struct list_head *path, u32 mode, void *sink_data) coresight_enable_path() argument
565 coresight_get_sink(struct list_head *path) coresight_get_sink() argument
755 _coresight_build_path(struct coresight_device *csdev, struct coresight_device *sink, struct list_head *path) _coresight_build_path() argument
806 struct list_head *path; coresight_build_path() local
834 coresight_release_path(struct list_head *path) coresight_release_path() argument
1048 struct list_head *path; coresight_enable() local
1127 struct list_head *path = NULL; coresight_disable() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Ddefrag.c349 struct btrfs_path *path = NULL; in btrfs_defrag_leaves() local
360 path = btrfs_alloc_path(); in btrfs_defrag_leaves()
361 if (!path) { in btrfs_defrag_leaves()
388 path->keep_locks = 1; in btrfs_defrag_leaves()
390 ret = btrfs_search_forward(root, &key, path, BTRFS_OLDEST_GENERATION); in btrfs_defrag_leaves()
397 btrfs_release_path(path); in btrfs_defrag_leaves()
400 * leafs from path->nodes[1], so set lowest_level to 1 to avoid later in btrfs_defrag_leaves()
403 path->lowest_level = 1; in btrfs_defrag_leaves()
404 wret = btrfs_search_slot(trans, root, &key, path, 0, 1); in btrfs_defrag_leaves()
410 if (!path in btrfs_defrag_leaves()
487 struct btrfs_path path = { 0 }; defrag_get_extent() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_attr.c99 * XXX (dchinner): name path state saving and refilling is an optimisation to
119 xfs_da_state_path_t *path;
126 * Roll down the "path" in the state structure, storing the on-disk
127 * block number for those buffers in the "path".
129 path = &state->path;
130 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH));
131 for (blk = path->blk, level = 0; level < path
[all...]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dhdf_tool_settings.py29 cur_dir = os.path.realpath(os.path.dirname(__file__))
30 return os.path.join(cur_dir, 'resources')
36 self.file_path = os.path.join(get_hdf_tool_resources_path(), 'settings.json')
38 if not os.path.exists(self.file_path):
113 return [os.path.join(dot_config_path, config) for config in configs]
139 cur_dir = os.path.realpath(os.path.dirname(__file__))
140 return os.path.join(cur_dir, 'resources')
167 cur_dir = os.path
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dability_stage_context.cpp93 std::string path; in GetBundleCodePath() local
96 path = options_.assetPath.substr(0, pos); in GetBundleCodePath()
98 return path; in GetBundleCodePath()
244 bool AbilityStageContext::Access(const std::string &path) in Access() argument
246 TAG_LOGD(AAFwkTag::ABILITY_SIM, "Access: dir: %{public}s", path.c_str()); in Access()
254 return (uv_fs_access(nullptr, access_req.get(), path.c_str(), 0, nullptr) == 0); in Access()
257 void AbilityStageContext::Mkdir(const std::string &path) in Mkdir() argument
259 TAG_LOGD(AAFwkTag::ABILITY_SIM, "Mkdir: dir: %{public}s", path.c_str()); in Mkdir()
267 int ret = uv_fs_mkdir(nullptr, mkdir_req.get(), path.c_str(), DIR_DEFAULT_PERM, nullptr); in Mkdir()
273 bool AbilityStageContext::CreateMultiDir(const std::string &path) in CreateMultiDir() argument
[all...]
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h84 static int CheckFsStatByPath(const string &path, uv_fs_t* req) in CheckFsStatByPath() argument
86 int ret = uv_fs_stat(nullptr, req, path.c_str(), nullptr); in CheckFsStatByPath()
88 HILOG_ERROR("Failed to stat file with path"); in CheckFsStatByPath()
94 static bool GetStat(const string &path, StatEntity &statEntity) in GetStat() argument
102 auto err = CheckFsStatByPath(path, stat_req.get()); in GetStat()
110 static bool CheckDir(const string &path) in CheckDir() argument
113 if (stat(path.c_str(), &fileInformation) == 0 && (fileInformation.st_mode & S_IFDIR)) { in CheckDir()
121 static tuple<bool, int> Access(const string &path) in Access() argument
128 int ret = uv_fs_access(nullptr, access_req.get(), path.c_str(), 0, nullptr); in Access()
130 HILOG_ERROR("Failed to access file by path"); in Access()
137 Mkdir(const string &path) Mkdir() argument
270 ScanDir(const string &path) ScanDir() argument
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_dentryfile.h191 struct path *parent_path;
199 struct path *path, loff_t *num,
248 void hmdfs_send_drop_push(struct hmdfs_peer *con, const char *path);
262 int hmdfs_root_unlink(uint64_t device_id, struct path *root_path,
271 int hmdfs_root_rmdir(uint64_t device_id, struct path *root_path,
279 unsigned int flags, struct path *path);
284 long cache_file_truncate(struct hmdfs_sb_info *sbi, const struct path *path,
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dnamespace.c33 * nfs_path - reconstruct the path given an arbitrary dentry
34 * @base - used to return pointer to the end of devname part of path
43 * This is mainly for use in figuring out the path on the
135 * @path - The mountpoint
145 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() argument
150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); in nfs_d_automount()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path in nfs_d_automount()
211 nfs_namespace_getattr(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) nfs_namespace_getattr() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dlsfw.c89 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc_()
100 ret = nvkm_firmware_load_name(subdev, path, "sig", ver, &lsfw->sig); in nvkm_acr_lsfw_load_sig_image_desc_()
104 ret = nvkm_firmware_load_blob(subdev, path, "image", ver, &lsfw->img); in nvkm_acr_lsfw_load_sig_image_desc_()
108 ret = nvkm_firmware_load_name(subdev, path, "desc", ver, pdesc); in nvkm_acr_lsfw_load_sig_image_desc_()
143 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc()
149 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc()
163 const char *path, int ver, in nvkm_acr_lsfw_load_sig_image_desc_v1()
169 lsfw = nvkm_acr_lsfw_load_sig_image_desc_(subdev, falcon, id, path, ver, in nvkm_acr_lsfw_load_sig_image_desc_v1()
183 const char *path, int ver, in nvkm_acr_lsfw_load_bl_inst_data_sig()
197 ret = nvkm_firmware_load_name(subdev, path, "b in nvkm_acr_lsfw_load_bl_inst_data_sig()
86 nvkm_acr_lsfw_load_sig_image_desc_(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func, const struct firmware **pdesc) nvkm_acr_lsfw_load_sig_image_desc_() argument
140 nvkm_acr_lsfw_load_sig_image_desc(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_sig_image_desc() argument
160 nvkm_acr_lsfw_load_sig_image_desc_v1(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_sig_image_desc_v1() argument
180 nvkm_acr_lsfw_load_bl_inst_data_sig(struct nvkm_subdev *subdev, struct nvkm_falcon *falcon, enum nvkm_acr_lsf_id id, const char *path, int ver, const struct nvkm_acr_lsf_func *func) nvkm_acr_lsfw_load_bl_inst_data_sig() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/x86/
H A Dutils.c44 const char *path; member
48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \
53 path, \
63 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \
64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi)
66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \
67 ENTRY(0, "", NULL, path, cpu_model, dmi)
171 if (override_status_ids[i].path) { in acpi_device_override_status()
172 struct acpi_buffer path = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_device_override_status() local
175 if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path)) in acpi_device_override_status()
[all...]
/kernel/linux/linux-6.6/fs/nfs/
H A Dnamespace.c33 * nfs_path - reconstruct the path given an arbitrary dentry
34 * @base - used to return pointer to the end of devname part of path
43 * This is mainly for use in figuring out the path on the
135 * @path - The mountpoint
145 struct vfsmount *nfs_d_automount(struct path *path) in nfs_d_automount() argument
150 struct nfs_server *server = NFS_SB(path->dentry->d_sb); in nfs_d_automount()
155 if (IS_ROOT(path->dentry)) in nfs_d_automount()
161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path in nfs_d_automount()
211 nfs_namespace_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) nfs_namespace_getattr() argument
[all...]

Completed in 16 milliseconds

1...<<71727374757677787980>>...501