/third_party/libinput/test/ |
H A D | test-utils.c | 1534 const char *path; in START_TEST() member 1540 { "/path/to/foo.h", "foo.h" }, in START_TEST() 1551 const char *result = safe_basename(t->path); in START_TEST() 1562 const char *path; in START_TEST() member 1566 { "/path/to/foo.h", "foo" }, in START_TEST() 1567 { "/path/to/foo", "foo" }, in START_TEST() 1578 char *result = trunkname(t->path); in START_TEST()
|
/third_party/libwebsockets/lib/secure-streams/ |
H A D | policy-json.c | 325 // ctx->path); in lws_ss_policy_parser_cb() 429 ctx->path + ctx->st[ctx->sp].p, in lws_ss_policy_parser_cb() 886 memcpy(q, ctx->path + ctx->st[ctx->sp - 2].p + 1, in lws_ss_policy_parser_cb() 917 atoi(ctx->path + ctx->st[ctx->sp - 2].p + 1); in lws_ss_policy_parser_cb() 1125 memcpy(*pp, ctx->path + n, ctx->path_match_len - (unsigned int)n); in lws_ss_policy_parser_cb()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer_vtest.c | 74 vtest_connect_socket(struct vn_instance *instance, const char *path) in vtest_connect_socket() argument 87 memcpy(un.sun_path, path, strlen(path)); in vtest_connect_socket() 90 vn_log(instance, "failed to connect to %s: %s", path, strerror(errno)); in vtest_connect_socket()
|
/third_party/pulseaudio/src/daemon/ |
H A D | ohos_pa_main.c | 477 void change_permission(const char *path, mode_t mode) { in change_permission() argument 478 if (!path) { in change_permission() 479 pa_log_error("chmod empty path"); in change_permission() 483 if (chmod(path, mode)) { in change_permission() 484 pa_log_error("chmod failed for directory: %s", path); in change_permission() 608 pa_log_warn("Couldn't canonicalize binary path, cannot self execute."); in real_main() 859 * up hitting this code path. So we have to check to see if our configured_address in real_main() 1139 pa_log_debug("FASTPATH defined, only fast path asserts disabled."); in real_main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
H A D | ThinLTOCodeGenerator.cpp | 347 sys::path::append(EntryPath, CachePath, "llvmcache-" + Key); in ModuleCacheEntry() 350 // Access the path to this entry in the cache. 376 llvm::sys::path::remove_filename(CachePath); in write() 377 sys::path::append(TempFilename, CachePath, "Thin-%%%%%%.tmp.o"); in write() 857 /// Returns the path to the generated file in SavedObjectsDirectoryPath. 863 llvm::sys::path::append(OutputPath, in writeGeneratedObject()
|
/third_party/python/Modules/clinic/ |
H A D | _ssl.c.h | 23 "_test_decode_cert($module, path, /)\n" 31 _ssl__test_decode_cert_impl(PyObject *module, PyObject *path); 37 PyObject *path; in _ssl__test_decode_cert() local 39 if (!PyUnicode_FSConverter(arg, &path)) { in _ssl__test_decode_cert() 42 return_value = _ssl__test_decode_cert_impl(module, path); in _ssl__test_decode_cert() 618 "load_dh_params($self, path, /)\n"
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | wrapper.rs | 10 use std::path::PathBuf; 372 /// Get the path to this source file as a string. 373 pub fn path(&self) -> PathBuf { in path() functions 375 SourceFile::Compiler(a) => a.path(), in path() 376 SourceFile::Fallback(a) => a.path(), in path()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 860 pub(crate) fn readlink(path: &CStr, buf: &mut [u8]) -> io::Result<usize> { 866 path, 874 pub(crate) fn readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, buf: &mut [u8]) -> io::Result<usize> { 880 path, 1306 path: &CStr, 1317 return unsafe { ret(syscall_readonly!(__NR_faccessat, dirfd, path, access)) };
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | loop.c | 1267 * bd_mutex has been held already in release path, so don't in __loop_clr_fd() 1270 * If the reread partition isn't from release path, lo_refcnt in __loop_clr_fd() 1432 struct path path; in loop_get_status() local 1460 path = lo->lo_backing_file->f_path; in loop_get_status() 1461 path_get(&path); in loop_get_status() 1463 ret = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT); in loop_get_status() 1469 path_put(&path); in loop_get_status()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-table.c | 350 * Convert the path to a device 352 dev_t dm_get_dev_t(const char *path) in dm_get_dev_t() argument 357 bdev = lookup_bdev(path); in dm_get_dev_t() 359 dev = name_to_dev_t(path); in dm_get_dev_t() 373 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode, in dm_get_device() argument 385 if (sscanf(path, "%u:%u%c", &major, &minor, &dummy) == 2) { in dm_get_device() 391 dev = dm_get_dev_t(path); in dm_get_device()
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | smt.c | 80 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path); 1037 len = smt_fill_path(smc,&sif->path); /* set station path descriptor*/ in smt_send_sif_config() 1319 * fill values in path descriptor 1327 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path) in smt_fill_path() argument 1342 path->para.p_type = SMT_P_PATH ; in smt_fill_path() 1343 path->para.p_len = len - PARA_LEN ; in smt_fill_path() 1346 for (p = 0,phy = path->pd_phy ; p < ALLPHYS ; p++, phy++) { in smt_fill_path()
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | apparmorfs.c | 2501 struct path aa_null; 2552 struct path path; in policy_get_link() local 2559 path.mnt = mntget(aafs_mnt); in policy_get_link() 2560 path.dentry = dget(ns_dir(ns)); in policy_get_link() 2561 error = nd_jump_link(&path); in policy_get_link()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | extents_status.c | 623 struct ext4_ext_path *path = NULL; in ext4_es_insert_extent_ext_check() local 630 path = ext4_find_extent(inode, es->es_lblk, NULL, EXT4_EX_NOCACHE); in ext4_es_insert_extent_ext_check() 631 if (IS_ERR(path)) in ext4_es_insert_extent_ext_check() 635 ex = path[depth].p_ext; in ext4_es_insert_extent_ext_check() 703 ext4_ext_drop_refs(path); in ext4_es_insert_extent_ext_check() 704 kfree(path); in ext4_es_insert_extent_ext_check()
|
/kernel/linux/linux-5.10/fs/ext2/ |
H A D | super.c | 328 const struct path *path); 1577 const struct path *path) in ext2_quota_on() 1582 err = dquot_quota_on(sb, type, format_id, path); in ext2_quota_on() 1586 inode = d_inode(path->dentry); in ext2_quota_on() 1576 ext2_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) ext2_quota_on() argument
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | bpf_trace.c | 185 * strncpy_from_user() does long-sized strides in the fast path. If the in bpf_probe_read_user_str_common() 1133 BPF_CALL_3(bpf_d_path, struct path *, path, char *, buf, u32, sz) in BPF_CALL_3() 1135 struct path copy; in BPF_CALL_3() 1143 * The path pointer is verified as trusted and safe to use, in BPF_CALL_3() 1147 len = copy_from_kernel_nofault(©, path, sizeof(*path)); in BPF_CALL_3() 1183 BTF_ID_LIST_SINGLE(bpf_d_path_btf_ids, struct, path)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 948 kfree(uc->guc_fw.path); in cleanup_uc() 949 kfree(uc->huc_fw.path); in cleanup_uc() 1507 error_uc->guc_fw.path = kstrdup(uc->guc.fw.path, ALLOW_FAIL); in gt_record_uc() 1508 error_uc->huc_fw.path = kstrdup(uc->huc.fw.path, ALLOW_FAIL); in gt_record_uc()
|
/kernel/linux/linux-6.6/fs/ext2/ |
H A D | super.c | 322 const struct path *path); 1581 const struct path *path) in ext2_quota_on() 1586 err = dquot_quota_on(sb, type, format_id, path); in ext2_quota_on() 1590 inode = d_inode(path->dentry); in ext2_quota_on() 1580 ext2_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) ext2_quota_on() argument
|
/kernel/linux/linux-6.6/fs/ |
H A D | libfs.c | 31 int simple_getattr(struct mnt_idmap *idmap, const struct path *path, in simple_getattr() argument 35 struct inode *inode = d_inode(path->dentry); in simple_getattr() 1564 * since as an optimization the path lookup code uses any non-NULL ->i_link 1591 const struct path *path, struct kstat *stat, in empty_dir_getattr() 1594 struct inode *inode = d_inode(path->dentry); in empty_dir_getattr() 1590 empty_dir_getattr(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags) empty_dir_getattr() argument
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | HalPhyRf_8723B.c | 382 /* enable path A PA in TXIQK mode */ in phy_PathA_IQK_8723B() 387 /* disable path B PA in TXIQK mode */ in phy_PathA_IQK_8723B() 395 /* path-A IQK setting */ in phy_PathA_IQK_8723B() 423 /* One shot, path A LOK & IQK */ in phy_PathA_IQK_8723B() 495 /* path-A IQK setting */ in phy_PathA_RxIQK8723B() 524 /* One shot, path A LOK & IQK */ in phy_PathA_RxIQK8723B() 582 /* path-A IQK setting */ in phy_PathA_RxIQK8723B() 611 /* One shot, path A LOK & IQK */ in phy_PathA_RxIQK8723B() 673 /* enable path B PA in TXIQK mode */ in phy_PathB_IQK_8723B() 683 /* path in phy_PathB_IQK_8723B() 1625 u8 path, bResult = SUCCESS; PHY_IQCalibrate_8723B() local [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | loop.c | 1178 * open_mutex has been held already in release path, so don't in __loop_clr_fd() 1181 * If the reread partition isn't from release path, lo_refcnt in __loop_clr_fd() 1328 struct path path; in loop_get_status() local 1348 path = lo->lo_backing_file->f_path; in loop_get_status() 1349 path_get(&path); in loop_get_status() 1351 ret = vfs_getattr(&path, &stat, STATX_INO, AT_STATX_SYNC_AS_STAT); in loop_get_status() 1357 path_put(&path); in loop_get_status()
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | smt.c | 80 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path); 1037 len = smt_fill_path(smc,&sif->path); /* set station path descriptor*/ in smt_send_sif_config() 1319 * fill values in path descriptor 1327 static int smt_fill_path(struct s_smc *smc, struct smt_p_path *path) in smt_fill_path() argument 1342 path->para.p_type = SMT_P_PATH ; in smt_fill_path() 1343 path->para.p_len = len - PARA_LEN ; in smt_fill_path() 1346 for (p = 0,phy = path->pd_phy ; p < ALLPHYS ; p++, phy++) { in smt_fill_path()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | apparmorfs.c | 2523 struct path aa_null; 2574 struct path path; in policy_get_link() local 2581 path.mnt = mntget(aafs_mnt); in policy_get_link() 2582 path.dentry = dget(ns_dir(ns)); in policy_get_link() 2583 error = nd_jump_link(&path); in policy_get_link()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | veristat.c | 227 static int append_filter_file(const char *path); 356 static bool is_bpf_obj_file(const char *path) { in is_bpf_obj_file() argument 361 fd = open(path, O_RDONLY | O_CLOEXEC); in is_bpf_obj_file() 578 static int append_filter_file(const char *path) in append_filter_file() argument 584 f = fopen(path, "r"); in append_filter_file() 587 fprintf(stderr, "Failed to open filters in '%s': %d\n", path, err); in append_filter_file() 1996 fprintf(stderr, "Please provide path to BPF object file!\n\n"); in handle_verif_mode()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/ |
H A D | posix_fs_func_test.c | 148 * @tc.name remove the path before fopen and fclose 167 * @tc.name remove the path before fopen and fclose 186 * @tc.name remove the path before fopen and fclose 205 * @tc.name remove the path before fopen and fclose 224 * @tc.name remove the path before fopen and fclose 1984 char path[] = FILE0; variable 1985 char *workDir = dirname((char *)path); 1998 char path[] = FILE1; variable 1999 char *workDir = dirname((char *)path); 2013 char path[] variable [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | prog.c | 912 p_err("expected file path"); in do_dump() 1462 auto_attach_program(struct bpf_program *prog, const char *path) in auto_attach_program() argument 1471 return bpf_obj_pin(bpf_program__fd(prog), path); in auto_attach_program() 1474 err = bpf_link__pin(link, path); in auto_attach_program() 1480 auto_attach_programs(struct bpf_object *obj, const char *path) in auto_attach_programs() argument 1487 err = pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog)); in auto_attach_programs() 1500 if (pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog))) in auto_attach_programs()
|