/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_trans_db_test.cpp | 490 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 526 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 570 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 607 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 643 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F() 691 ValueObject(AssetValue{ .id = "119", .name = "picture1", .hash = "111", .path = "/data/test" })); in HWTEST_F()
|
H A D | rdb_sqlite_shared_result_set_test.cpp | 933 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 936 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F() 964 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 968 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F() 1000 std::string path = RdbSqliteSharedResultSetTest::store->GetPath();
in HWTEST_F() local 1003 EXPECT_EQ(path, "/data/test/shared_test.db");
in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/ |
H A D | rdb_store_test.cpp | 1545 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1548 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F() 1576 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1580 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F() 1612 std::string path = RdbTest::store->GetPath(); in HWTEST_F() local 1615 EXPECT_EQ(path, "/data/test/shared_test.db"); in HWTEST_F()
|
/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()
|
/third_party/backends/frontend/ |
H A D | scanimage.c | 2051 // if the user passes us a path with a known extension then he won't be surprised if we figure in guess_output_format() 2077 fprintf(stderr, "Could not guess output format from the given path and no --format given.\n"); in guess_output_format() 2734 char path[PATH_MAX]; in main() local 2738 sprintf (path, format, n); /* love --(C++) */ in main() 2739 strcpy (part_path, path); in main() 2872 if (rename (part_path, path)) in main() 2875 part_path, path); in main() 2881 fprintf (stdout, "%s\n", path); in main()
|
/third_party/node/src/ |
H A D | env.cc | 634 // get the full path before process.execPath is used. in GetExecPath() 1302 const char* path, in CollectExceptionInfo() 1317 if (path != nullptr) { in CollectExceptionInfo() 1319 Buffer::Copy(env->isolate(), path, strlen(path)).ToLocalChecked(); in CollectExceptionInfo() 1340 const char* path, in CollectUVExceptionInfo() 1353 syscall, message, path, dest); in CollectUVExceptionInfo() 1296 CollectExceptionInfo(Environment* env, Local<Object> obj, int errorno, const char* err_string, const char* syscall, const char* message, const char* path, const char* dest) CollectExceptionInfo() argument 1336 CollectUVExceptionInfo(Local<Value> object, int errorno, const char* syscall, const char* message, const char* path, const char* dest) CollectUVExceptionInfo() argument
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | context.rs | 639 /// Add another path to the set of included files. 1050 let path = item.path_for_allowlisting(self); in process_replacements() 1051 let replacement = self.replacements.get(&path[1..]); in process_replacements() 2079 path: &[String], in is_replaced_type() 2083 matches!(self.replacements.get(path), Some(replaced_by) if *replaced_by != id) in is_replaced_type() 2087 pub fn opaque_by_name(&self, path: &[String]) -> bool { in opaque_by_name() 2092 self.options.opaque_types.matches(path[1..].join("::")) in opaque_by_name()
|
/third_party/python/Lib/ |
H A D | subprocess.py | 1458 raise TypeError('path-like args is not allowed when ' 1513 # gh-101283: without a fully-qualified path, before Windows 1521 comspec = os.path.join(system_root, 'System32', 'cmd.exe') 1522 if not os.path.isabs(comspec): 1524 if os.path.isabs(comspec): 1804 raise TypeError('path-like args is not allowed when ' 1824 and os.path.dirname(executable) 1874 if os.path.dirname(executable): 1879 os.path.join(os.fsencode(dir), executable)
|
/third_party/skia/src/pathops/ |
H A D | SkOpSegment.cpp | 167 SkPathWriter* path) const { in addCurveTo() 175 path->deferredMove(start->ptT()); in addCurveTo() 178 FAIL_IF(!path->deferredLine(end->ptT())); in addCurveTo() 181 path->quadTo(curvePart.fCurve.fQuad[1].asSkPoint(), end->ptT()); in addCurveTo() 184 path->conicTo(curvePart.fCurve.fConic[1].asSkPoint(), end->ptT(), in addCurveTo() 188 path->cubicTo(curvePart.fCurve.fCubic[1].asSkPoint(), in addCurveTo()
|