Home
last modified time | relevance | path

Searched refs:path (Results 4626 - 4650 of 8453) sorted by relevance

1...<<181182183184185186187188189190>>...339

/third_party/openssl/crypto/dso/
H A Ddso_win32.c67 static int win32_pathbyaddr(void *addr, char *path, int sz);
503 static int win32_pathbyaddr(void *addr, char *path, int sz) in win32_pathbyaddr() argument
574 path, sz, NULL, NULL); in win32_pathbyaddr()
583 path[i] = (char)me32.szExePath[i]; in win32_pathbyaddr()
584 path[len++] = '\0'; in win32_pathbyaddr()
595 memcpy(path, me32.szExePath, len); in win32_pathbyaddr()
596 path[len++] = '\0'; in win32_pathbyaddr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DVirtualFileSystem.h136 llvm::StringRef path() const { return Path; } in path() function in llvm::vfs::directory_entry
156 /// An input iterator over the entries in a virtual path, similar to
165 if (Impl->CurrentEntry.path().empty()) in directory_iterator()
176 if (Impl->CurrentEntry.path().empty()) in increment()
186 return Impl->CurrentEntry.path() == RHS.Impl->CurrentEntry.path(); in operator ==()
206 /// An input iterator over the recursive contents of a virtual path,
233 /// Gets the current level. Starting path is at level 0.
273 /// Gets real path of \p Path e.g. collapse all . and .. patterns, resolve
285 /// Make \a Path an absolute path
[all...]
/third_party/toybox/kconfig/
H A Dconfdata.c577 char *name, path[128]; in conf_split_config() local
645 d = path; in conf_split_config()
652 /* Assume directory path already exists. */ in conf_split_config()
653 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
663 d = path; in conf_split_config()
666 if (stat(path, &sb) && mkdir(path, 0755)) { in conf_split_config()
673 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_split_config()
/third_party/libbpf/src/
H A Dlibbpf.c714 char path[]; member
1294 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() argument
1302 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new()
1304 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new()
1308 strcpy(obj->path, path); in bpf_object__new()
1313 libbpf_strlcpy(obj->name, basename((void *)path), sizeof(obj->name)); in bpf_object__new()
1395 obj->efile.fd = open(obj->path, O_RDONLY | O_CLOEXEC);
1401 pr_warn("elf: failed to open %s: %s\n", obj->path, cp);
1410 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errms
2261 pathname_concat(char *buf, size_t buf_sz, const char *path, const char *name) global() argument
2274 build_map_pin_path(struct bpf_map *map, const char *path) global() argument
7819 bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, const struct bpf_object_open_opts *opts) global() argument
7911 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts) global() argument
7921 bpf_object__open(const char *path) global() argument
8438 make_parent_dir(const char *path) global() argument
8460 check_path(const char *path) global() argument
8490 bpf_program__pin(struct bpf_program *prog, const char *path) global() argument
8519 bpf_program__unpin(struct bpf_program *prog, const char *path) global() argument
8540 bpf_map__pin(struct bpf_map *map, const char *path) global() argument
8601 bpf_map__unpin(struct bpf_map *map, const char *path) global() argument
8637 bpf_map__set_pin_path(struct bpf_map *map, const char *path) global() argument
8675 bpf_object__pin_maps(struct bpf_object *obj, const char *path) global() argument
8723 bpf_object__unpin_maps(struct bpf_object *obj, const char *path) global() argument
8753 bpf_object__pin_programs(struct bpf_object *obj, const char *path) global() argument
8790 bpf_object__unpin_programs(struct bpf_object *obj, const char *path) global() argument
8813 bpf_object__pin(struct bpf_object *obj, const char *path) global() argument
8830 bpf_object__unpin(struct bpf_object *obj, const char *path) global() argument
10441 bpf_link__open(const char *path) global() argument
10475 bpf_link__pin(struct bpf_link *link, const char *path) global() argument
11719 bpf_program__attach_uprobe_multi(const struct bpf_program *prog, pid_t pid, const char *path, const char *func_pattern, const struct bpf_uprobe_multi_opts *opts) global() argument
12101 char *path = NULL, *provider = NULL, *name = NULL; global() local
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Doverlay.c187 * need to be adjusted to be the correct path for the live device tree.
191 * where symbol_path_tail can be a single node or it may be a multi-node path.
195 * path from the fragment node.
204 const char *path; in dup_and_fixup_symbol_prop() local
217 path = prop->value; in dup_and_fixup_symbol_prop()
218 path_len = strlen(path); in dup_and_fixup_symbol_prop()
222 fragment_node = __of_find_node_by_path(ovcs->overlay_tree, path + 1); in dup_and_fixup_symbol_prop()
239 path_tail = path + overlay_name_len; in dup_and_fixup_symbol_prop()
390 * not contain the full path in node->full_name. Thus an overlay
391 * created from an FDT also will not contain the full path i
690 const char *path; find_target() local
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Dlivetree.c240 p = build_property("target-path", d, NULL); in add_orphan_node()
512 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path() argument
517 if (!path || ! (*path)) { in get_node_by_path()
523 while (path[0] == '/') in get_node_by_path()
524 path++; in get_node_by_path()
526 p = strchr(path, '/'); in get_node_by_path()
529 if (p && strprefixeq(path, p - path, child->name)) in get_node_by_path()
531 else if (!p && streq(path, chil in get_node_by_path()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dcoredump.c42 #include <linux/path.h>
136 * resulting corefile path to consist of a ".." or ".". in cn_esc_printf()
163 char *pathbuf, *path, *ptr; in cn_print_exe_file() local
168 return cn_esc_printf(cn, "%s (path unknown)", current->comm); in cn_print_exe_file()
176 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file()
177 if (IS_ERR(path)) { in cn_print_exe_file()
178 ret = PTR_ERR(path); in cn_print_exe_file()
183 ptr = strrchr(path, '/'); in cn_print_exe_file()
185 path = ptr + 1; in cn_print_exe_file()
187 ret = cn_esc_printf(cn, "%s", path); in cn_print_exe_file()
[all...]
/kernel/linux/linux-5.10/fs/nfsd/
H A Dtrace.h115 __string(path, exp_path)
122 __assign_str(path, exp_path);
125 TP_printk("fsid=%x::%s domain=%s path=%s cache=%s",
129 __get_str(path),
139 __string(path, key->ex_path.dentry->d_name.name)
144 __assign_str(path, key->ex_path.dentry->d_name.name);
148 TP_printk("path=%s domain=%s status=%d",
149 __get_str(path),
159 __string(path, key->ex_path.dentry->d_name.name)
164 __assign_str(path, ke
[all...]
/kernel/linux/linux-6.6/fs/
H A Dcoredump.c41 #include <linux/path.h>
137 * resulting corefile path to consist of a ".." or ".". in cn_esc_printf()
164 char *pathbuf, *path, *ptr; in cn_print_exe_file() local
169 return cn_esc_printf(cn, "%s (path unknown)", current->comm); in cn_print_exe_file()
177 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file()
178 if (IS_ERR(path)) { in cn_print_exe_file()
179 ret = PTR_ERR(path); in cn_print_exe_file()
184 ptr = strrchr(path, '/'); in cn_print_exe_file()
186 path = ptr + 1; in cn_print_exe_file()
188 ret = cn_esc_printf(cn, "%s", path); in cn_print_exe_file()
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dsuper.c185 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device()
190 dif->path = kmemdup_nul(dis->tag, sizeof(dis->tag), GFP_KERNEL); in erofs_init_device()
191 if (!dif->path) in erofs_init_device()
196 fscache = erofs_fscache_register_cookie(sb, dif->path, 0); in erofs_init_device()
201 bdev_handle = bdev_open_by_path(dif->path, BLK_OPEN_READ, in erofs_init_device()
500 dif->path = kstrdup(param->string, GFP_KERNEL); in erofs_fc_parse_param()
501 if (!dif->path) { in erofs_fc_parse_param()
509 kfree(dif->path); in erofs_fc_parse_param()
745 kfree(dif->path); in erofs_release_device_info()
/third_party/curl/lib/vssh/
H A Dwolfssh.c527 result = Curl_getworkingpath(data, sshc->homedir, &sftp_scp->path); in wssh_statemach_act()
555 if(sftp_scp->path[strlen(sftp_scp->path)-1] == '/') in wssh_statemach_act()
567 rc = wolfSSH_SFTP_STAT(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
599 rc = wolfSSH_SFTP_Open(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
711 rc = wolfSSH_SFTP_Open(sshc->ssh_session, sftp_scp->path, in wssh_statemach_act()
739 rc = wolfSSH_SFTP_STAT(sshc->ssh_session, sftp_scp->path, &attrs); in wssh_statemach_act()
841 name = wolfSSH_SFTP_LS(sshc->ssh_session, sftp_scp->path); in wssh_statemach_act()
1050 Curl_safefree(sftp_scp->path); in wssh_done()
/third_party/glslang/gtests/
H A DTestFixture.h88 // Reads the content of the file at the given |path|. On success, returns true
90 std::pair<bool, std::string> ReadFile(const std::string& path);
91 std::pair<bool, std::vector<std::uint32_t> > ReadSpvBinaryFile(const std::string& path);
93 // Writes the given |contents| into the file at the given |path|. Returns true
95 bool WriteFile(const std::string& path, const std::string& contents);
120 // Tries to load the contents from the file at the given |path|. On success,
122 void tryLoadFile(const std::string& path, const std::string& tag, in tryLoadFile() argument
126 std::tie(fileReadOk, *contents) = ReadFile(path); in tryLoadFile()
127 ASSERT_TRUE(fileReadOk) << "Cannot open " << tag << " file: " << path; in tryLoadFile() local
130 // Tries to load the contents from the file at the given |path|
132 tryLoadSpvFile(const std::string& path, const std::string& tag, std::vector<uint32_t>& contents) tryLoadSpvFile() argument
137 ASSERT_TRUE(fileReadOk) << "Cannot open " << tag << " file: " << path; tryLoadSpvFile() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_gather_info.c61 nir_deref_path path; in get_deref_info() local
62 nir_deref_path_init(&path, deref, NULL); in get_deref_info()
63 assert(path.path[0]->deref_type == nir_deref_type_var); in get_deref_info()
64 nir_deref_instr **p = &path.path[1]; in get_deref_info()
77 if (!path.path[0]->var->data.compact) { in get_deref_info()
90 nir_deref_path_finish(&path); in get_deref_info()
/third_party/node/test/common/
H A Dindex.js31 const path = require('path');
221 const localRelative = path.relative(process.cwd(), `${tmpdir.path}/`);
224 return path.join(pipePrefix, pipeName);
487 path.join(__dirname, '..', '..', 'tools', 'node_modules', 'eslint'),
499 // If unix tools are in the path, they can shadow the one we want,
500 // so use the full path while executing whoami
501 const whoamiPath = path.join(process.env.SystemRoot,
845 let possiblePackage = path
[all...]
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_to_tgsi_info.c112 nir_deref_path path; in gather_usage() local
113 nir_deref_path_init(&path, (nir_deref_instr *)deref, NULL); in gather_usage()
115 unsigned location_frac = path.path[0]->var->data.location_frac; in gather_usage()
128 gather_usage_helper((const nir_deref_instr **)&path.path[1], in gather_usage()
129 path.path[0]->var->data.driver_location, in gather_usage()
132 nir_deref_path_finish(&path); in gather_usage()
/third_party/node/deps/openssl/openssl/crypto/conf/
H A Dconf_def.c57 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx);
811 * Check whether included path is a directory.
813 * also an opened directory context and the include path.
844 * Get next file from the directory path.
847 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx) in get_next_file() argument
852 pathlen = strlen(path); in get_next_file()
853 while ((filename = OPENSSL_DIR_read(dirctx, path)) != NULL) { in get_next_file()
875 * If the given path isn't clear VMS syntax, in get_next_file()
878 if (path[pathlen - 1] == ']' in get_next_file()
879 || path[pathle in get_next_file()
[all...]
/third_party/openssl/crypto/conf/
H A Dconf_def.c57 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx);
811 * Check whether included path is a directory.
813 * also an opened directory context and the include path.
844 * Get next file from the directory path.
847 static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx) in get_next_file() argument
852 pathlen = strlen(path); in get_next_file()
853 while ((filename = OPENSSL_DIR_read(dirctx, path)) != NULL) { in get_next_file()
875 * If the given path isn't clear VMS syntax, in get_next_file()
878 if (path[pathlen - 1] == ']' in get_next_file()
879 || path[pathle in get_next_file()
[all...]
/third_party/skia/tests/
H A DStreamTest.cpp54 SkString path = SkOSPath::Join(tmpDir, "wstream_test"); in test_filestreams() local
59 SkFILEWStream writer(path.c_str()); in test_filestreams()
61 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str()); in test_filestreams()
71 SkFILEStream stream(path.c_str()); in test_filestreams()
80 FILE* file = ::fopen(path.c_str(), "rb"); in test_filestreams()
310 auto path = SkOSPath::Join(tmpdir.c_str(), "file"); in DEF_TEST() local
312 SkFILEWStream wStream(path.c_str()); in DEF_TEST()
320 ERRORF(reporter, "error wrtiting to file %s", path.c_str()); in DEF_TEST()
324 SkFILEStream fileStream(path.c_str()); in DEF_TEST()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dqp.c1734 static void mlx4_set_sched(struct mlx4_qp_path *path, u8 port) in mlx4_set_sched() argument
1736 path->sched_queue = (path->sched_queue & 0xbf) | ((port - 1) << 6); in mlx4_set_sched()
1741 u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, in _mlx4_set_path()
1748 path->grh_mylmc = rdma_ah_get_path_bits(ah) & 0x7f; in _mlx4_set_path()
1749 path->rlid = cpu_to_be16(rdma_ah_get_dlid(ah)); in _mlx4_set_path()
1751 path->static_rate = rdma_ah_get_static_rate(ah) + in _mlx4_set_path()
1753 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path()
1754 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path()
1755 --path in _mlx4_set_path()
1739 _mlx4_set_path(struct mlx4_ib_dev *dev, const struct rdma_ah_attr *ah, u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, struct mlx4_roce_smac_vlan_info *smac_info, u8 port) _mlx4_set_path() argument
1857 mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, enum ib_qp_attr_mask qp_attr_mask, struct mlx4_ib_qp *mqp, struct mlx4_qp_path *path, u8 port, u16 vlan_id, u8 *smac) mlx4_set_path() argument
1869 mlx4_set_alt_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, enum ib_qp_attr_mask qp_attr_mask, struct mlx4_ib_qp *mqp, struct mlx4_qp_path *path, u8 port) mlx4_set_alt_path() argument
3943 to_rdma_ah_attr(struct mlx4_ib_dev *ibdev, struct rdma_ah_attr *ah_attr, struct mlx4_qp_path *path) to_rdma_ah_attr() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dqp.c1767 static void mlx4_set_sched(struct mlx4_qp_path *path, u8 port) in mlx4_set_sched() argument
1769 path->sched_queue = (path->sched_queue & 0xbf) | ((port - 1) << 6); in mlx4_set_sched()
1774 u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, in _mlx4_set_path()
1781 path->grh_mylmc = rdma_ah_get_path_bits(ah) & 0x7f; in _mlx4_set_path()
1782 path->rlid = cpu_to_be16(rdma_ah_get_dlid(ah)); in _mlx4_set_path()
1784 path->static_rate = rdma_ah_get_static_rate(ah) + in _mlx4_set_path()
1786 while (path->static_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in _mlx4_set_path()
1787 !(1 << path->static_rate & dev->dev->caps.stat_rate_support)) in _mlx4_set_path()
1788 --path in _mlx4_set_path()
1772 _mlx4_set_path(struct mlx4_ib_dev *dev, const struct rdma_ah_attr *ah, u64 smac, u16 vlan_tag, struct mlx4_qp_path *path, struct mlx4_roce_smac_vlan_info *smac_info, u8 port) _mlx4_set_path() argument
1890 mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, enum ib_qp_attr_mask qp_attr_mask, struct mlx4_ib_qp *mqp, struct mlx4_qp_path *path, u8 port, u16 vlan_id, u8 *smac) mlx4_set_path() argument
1902 mlx4_set_alt_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, enum ib_qp_attr_mask qp_attr_mask, struct mlx4_ib_qp *mqp, struct mlx4_qp_path *path, u8 port) mlx4_set_alt_path() argument
3976 to_rdma_ah_attr(struct mlx4_ib_dev *ibdev, struct rdma_ah_attr *ah_attr, struct mlx4_qp_path *path) to_rdma_ah_attr() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfs.h9 #include <linux/path.h>
610 * the RCU path lookup and 'stat' data) fields at the beginning
633 /* Stat data, not accessed from path walking */
924 struct path f_path;
1711 * -> i_mutex (write path, truncate, directory ops, ...)
1800 int vfs_utimes(const struct path *path, struct timespec64 *times);
1816 extern bool may_open_dev(const struct path *path);
1944 int (*getattr) (const struct path *, struc
[all...]
/third_party/skia/src/core/
H A DSkCanvas.cpp1523 void SkCanvas::clipPath(const SkPath& path, SkClipOp op, bool doAA) {
1527 if (!path.isInverseFillType() && fMCRec->fMatrix.asM33().rectStaysRect()) {
1529 if (path.isRect(&r)) {
1534 if (path.isOval(&r)) {
1539 if (path.isRRect(&rrect)) {
1545 this->onClipPath(path, op, edgeStyle);
1548 void SkCanvas::onClipPath(const SkPath& path, SkClipOp op, ClipEdgeStyle edgeStyle) {
1552 this->topDevice()->clipPath(path, op, isAA);
1634 bool SkCanvas::quickReject(const SkPath& path) const {
1635 return path
[all...]
/third_party/python/Lib/urllib/
H A Drequest.py236 Returns a tuple containing the path to the newly created
239 url_type, path = _splittype(url)
244 # Just return the local path and the "headers" for file://
247 return os.path.normpath(path), headers
345 # unwrap('<URL:type://host/path>') --> 'type://host/path'
713 if not urlparts.path and urlparts.netloc:
775 # and 3.3.), path is empty or starts with '/'
861 """Accept authority or URI and extract only the authority and path
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Defi.h286 #define __efi64_argmap_locate_device_path(protocol, path, handle) \
287 ((protocol), (path), efi64_zero_upper(handle))
298 #define __efi64_argmap_load_file(protocol, path, policy, bufsize, buf) \
299 ((protocol), (path), (policy), efi64_zero_upper(bufsize), (buf))
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dopenat2_test.c232 char *path, *fdpath = NULL; in test_openat2_flags() local
243 path = (test->how.flags & O_CREAT) ? "/tmp/ksft.openat2_tmpfile" : "."; in test_openat2_flags()
244 unlink(path); in test_openat2_flags()
246 fd = sys_openat2(AT_FDCWD, path, &test->how); in test_openat2_flags()

Completed in 48 milliseconds

1...<<181182183184185186187188189190>>...339