Home
last modified time | relevance | path

Searched refs:path (Results 2851 - 2875 of 12350) sorted by relevance

1...<<111112113114115116117118119120>>...494

/third_party/ltp/lib/
H A Dtst_fs_has_free.c29 int tst_fs_has_free_(void (*cleanup)(void), const char *path, in tst_fs_has_free_() argument
34 if (statfs(path, &sf)) { in tst_fs_has_free_()
36 "tst_fs_has_free: failed to statfs(%s)", path); in tst_fs_has_free_()
/third_party/node/test/known_issues/
H A Dtestcfg.py3 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
/third_party/musl/src/unistd/
H A Dchown.c5 int chown(const char *path, uid_t uid, gid_t gid) in chown() argument
8 return syscall(SYS_chown, path, uid, gid); in chown()
10 return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, 0); in chown()
H A Dlchown.c6 int lchown(const char *path, uid_t uid, gid_t gid) in lchown() argument
10 return syscall(SYS_lchown, path, uid, gid); in lchown()
12 return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
/third_party/musl/src/stat/
H A Dmknod.c6 int mknod(const char *path, mode_t mode, dev_t dev) in mknod() argument
10 return syscall(SYS_mknod, path, mode, dev); in mknod()
12 return syscall(SYS_mknodat, AT_FDCWD, path, mode, dev); in mknod()
/third_party/musl/porting/liteos_a/user/src/stat/
H A Dmknod.c6 int mknod(const char *path, mode_t mode, dev_t dev) in mknod() argument
10 return syscall(SYS_mknod, path, mode, dev); in mknod()
12 return syscall(SYS_mknodat, AT_FDCWD, path, mode, dev); in mknod()
/third_party/musl/porting/liteos_a/user/src/unistd/
H A Dlchown.c6 int lchown(const char *path, uid_t uid, gid_t gid) in lchown() argument
10 return syscall(SYS_lchown, path, uid, gid); in lchown()
12 return syscall(SYS_fchownat, AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
H A Dftok.c27 char path[PATH_MAX] = {0}; in ftok_0100() local
28 FILE_ABSOLUTE_PATH("ftok", path); in ftok_0100()
29 key_t result = ftok(path, 1); in ftok_0100()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_file.h44 u_file_access(const char *path, int mode) { in u_file_access() argument
46 return access(path, mode); in u_file_access()
48 return _access(path, mode); in u_file_access()
/third_party/rust/crates/cxx/gen/cmd/src/
H A Doutput.rs1 use std::path::PathBuf;
13 Output::File(path) => path.to_string_lossy().ends_with(suffix),
/third_party/skia/gn/
H A Dmake_gm_gni.py7 os.chdir(os.path.dirname(__file__))
19 for path in sorted(glob.glob('../gm/*.c*')):
20 o.write(' "%s",\n' % path.replace('../gm', '$_gm'))
/third_party/skia/bin/
H A Dsync14 path = os.path.dirname(__file__) + '/../tools/git-sync-deps' variable
15 subprocess.check_call([sys.executable, path] + sys.argv[:1],
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_custom_paint_method_test_ng.cpp650 Testing::MockPath path; in HWTEST_F() local
667 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
671 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
694 Testing::MockPath path; in HWTEST_F() local
704 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
711 EXPECT_CALL(path, AddRect(_, _)).WillRepeatedly(Return()); in HWTEST_F()
734 Testing::MockPath path; in HWTEST_F() local
739 EXPECT_CALL(path, SetFillStyle(_)).WillRepeatedly(Return()); in HWTEST_F()
743 EXPECT_CALL(path, SetFillStyle(_)).WillRepeatedly(Return()); in HWTEST_F()
761 Testing::MockPath path; in HWTEST_F() local
952 Testing::MockPath path; HWTEST_F() local
986 Testing::MockPath path; HWTEST_F() local
1023 Testing::MockPath path; HWTEST_F() local
1078 Testing::MockPath path; HWTEST_F() local
1109 Testing::MockPath path; HWTEST_F() local
1312 Testing::MockPath path; HWTEST_F() local
[all...]
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dfile_fs_impl.cpp56 int ret = uv_fs_stat(nullptr, req, fileInfo.path.get(), nullptr); in CheckFsStat()
58 LOGE("Failed to stat file with path"); in CheckFsStat()
118 int ret = uv_fs_access(nullptr, stat_req.get(), fileInfo.path.get(), 0, nullptr); in GetFsAccess()
120 LOGE("Failed to access file by path"); in GetFsAccess()
158 LOGE("ParseFile false, please check the file path!"); in Stat()
175 std::tuple<int32_t, sptr<StreamImpl>> FileFsImpl::CreateStream(std::string path, std::string mode) in CreateStream() argument
177 std::unique_ptr<FILE, decltype(&fclose)> fp = { fopen(path.c_str(), mode.c_str()), fclose }; in CreateStream()
179 LOGE("Failed to fdopen file by path"); in CreateStream()
208 std::tuple<int32_t, sptr<StatImpl>> FileFsImpl::Lstat(std::string path) in Lstat() argument
218 int ret = uv_fs_lstat(nullptr, lstat_req.get(), path in Lstat()
303 Mkdir(std::string path, bool recursion, bool isTwoArgs) Mkdir() argument
330 Rmdir(std::string path) Rmdir() argument
395 Unlink(std::string path) Unlink() argument
414 JudgeExistAndEmpty(const string &path) JudgeExistAndEmpty() argument
426 RmDirectory(const string &path) RmDirectory() argument
929 Access(std::string path) Access() argument
1050 GetFileSize(const string &path, int64_t &offset) GetFileSize() argument
1113 ReadTextOpenFile(const std::string& path) ReadTextOpenFile() argument
1139 ReadText(char* path, int64_t offset, bool hasLen, int64_t len, char* encoding) ReadText() argument
1187 Utimes(std::string path, double mtime) Utimes() argument
1224 CreateWatcher(std::string path, uint32_t events, void (*callback)(CWatchEvent)) CreateWatcher() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drosen_render_shape.cpp217 LOGW("path value is invalid"); in CreatePath()
268 SkPath path = path_; in PaintOnCanvas() local
269 path_.offset(offset.GetX(), offset.GetY(), &path); in PaintOnCanvas()
270 RosenSvgPainter::SetFillStyle(skCanvas, path, fillState_, UINT8_MAX, antiAlias_.second); in PaintOnCanvas()
271 DrawStroke(skCanvas, path); in PaintOnCanvas()
276 RSRecordingPath path; in PaintOnCanvas() local
277 path.AddPath(path_); in PaintOnCanvas()
278 path.Offset(offset.GetX(), offset.GetY()); in PaintOnCanvas()
279 RosenSvgPainter::SetFillStyle(canvas, path, fillState_, UINT8_MAX, antiAlias_.second); in PaintOnCanvas()
280 DrawStroke(canvas, path); in PaintOnCanvas()
285 DrawStroke(SkCanvas* skCanvas, const SkPath& path) DrawStroke() argument
304 DrawStroke(RSCanvas* canvas, const RSPath& path) DrawStroke() argument
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/engine/
H A Dengine_value_manager.cpp145 EnginePropertyParams params, BASE_NS::string pathTaken, BASE_NS::string_view path, EngineValueOptions options) in ConstructValueImpl()
147 if (path == params.property.name) { in ConstructValueImpl()
156 path.remove_prefix(params.property.name.size() + 1); in ConstructValueImpl()
163 return ConstructValueImpl(h, BASE_NS::move(pathTaken), path, options); in ConstructValueImpl()
166 auto root = path.substr(0, path.find_first_of('.')); in ConstructValueImpl()
171 return ConstructValueImpl(propParams, BASE_NS::move(pathTaken), path, options); in ConstructValueImpl()
178 CORE_NS::IPropertyHandle* handle, BASE_NS::string pathTaken, BASE_NS::string_view path, EngineValueOptions options) in ConstructValueImpl()
184 auto root = path.substr(0, path in ConstructValueImpl()
144 ConstructValueImpl( EnginePropertyParams params, BASE_NS::string pathTaken, BASE_NS::string_view path, EngineValueOptions options) ConstructValueImpl() argument
177 ConstructValueImpl( CORE_NS::IPropertyHandle* handle, BASE_NS::string pathTaken, BASE_NS::string_view path, EngineValueOptions options) ConstructValueImpl() argument
197 ConstructValue( CORE_NS::IPropertyHandle* handle, BASE_NS::string_view path, EngineValueOptions options) ConstructValue() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Dmd-multipath.c82 struct md_rdev *rdev = conf->multipaths[mp_bh->path].rdev; in multipath_end_request()
116 mp_bh->path = multipath_map(conf); in multipath_make_request()
117 if (mp_bh->path < 0) { in multipath_make_request()
122 multipath = conf->multipaths + mp_bh->path; in multipath_make_request()
164 * Uh oh, we can do nothing if this is our last path, but in multipath_error()
168 pr_warn("multipath: only one IO path left and IO error.\n"); in multipath_error()
183 pr_err("multipath: IO failure on %s, disabling IO path.\n" in multipath_error()
216 int path; in multipath_add_disk() local
226 for (path = first; path < in multipath_add_disk()
[all...]
/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Ddebugfs.c310 dump_page_info(struct seq_file *m, unsigned long iova, u64 *path) in dump_page_info() argument
313 iova >> VTD_PAGE_SHIFT, path[5], path[4], in dump_page_info()
314 path[3], path[2], path[1]); in dump_page_info()
319 u64 *path) in pgtable_walk_level()
331 path[level] = pde->val; in pgtable_walk_level()
333 dump_page_info(m, start, path); in pgtable_walk_level()
336 level - 1, start, path); in pgtable_walk_level()
317 pgtable_walk_level(struct seq_file *m, struct dma_pte *pde, int level, unsigned long start, u64 *path) pgtable_walk_level() argument
345 u64 path[6] = { 0 }; show_device_domain_translation() local
[all...]
/kernel/linux/linux-5.10/fs/ceph/
H A Ddebugfs.c60 char *path; in mdsc_show() local
84 path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in mdsc_show()
86 if (IS_ERR(path)) in mdsc_show()
87 path = NULL; in mdsc_show()
92 path ? path : ""); in mdsc_show()
94 ceph_mdsc_free_path(path, pathlen); in mdsc_show()
103 path = ceph_mdsc_build_path(req->r_old_dentry, &pathlen, in mdsc_show()
105 if (IS_ERR(path)) in mdsc_show()
106 path in mdsc_show()
[all...]
/kernel/linux/linux-5.10/fs/vboxsf/
H A Ddir.c361 struct shfl_string *path; in vboxsf_dir_unlink() local
373 path = vboxsf_path_from_dentry(sbi, dentry); in vboxsf_dir_unlink()
374 if (IS_ERR(path)) in vboxsf_dir_unlink()
375 return PTR_ERR(path); in vboxsf_dir_unlink()
377 err = vboxsf_remove(sbi->root, path, flags); in vboxsf_dir_unlink()
378 __putname(path); in vboxsf_dir_unlink()
436 struct shfl_string *path, *ssymname; in vboxsf_dir_symlink() local
440 path = vboxsf_path_from_dentry(sbi, dentry); in vboxsf_dir_symlink()
441 if (IS_ERR(path)) in vboxsf_dir_symlink()
442 return PTR_ERR(path); in vboxsf_dir_symlink()
[all...]
/kernel/linux/linux-6.6/fs/ceph/
H A Ddebugfs.c60 char *path; in mdsc_show() local
84 path = ceph_mdsc_build_path(req->r_dentry, &pathlen, in mdsc_show()
86 if (IS_ERR(path)) in mdsc_show()
87 path = NULL; in mdsc_show()
92 path ? path : ""); in mdsc_show()
94 ceph_mdsc_free_path(path, pathlen); in mdsc_show()
103 path = ceph_mdsc_build_path(req->r_old_dentry, &pathlen, in mdsc_show()
105 if (IS_ERR(path)) in mdsc_show()
106 path in mdsc_show()
[all...]
/kernel/linux/linux-6.6/fs/vboxsf/
H A Ddir.c364 struct shfl_string *path; in vboxsf_dir_unlink() local
376 path = vboxsf_path_from_dentry(sbi, dentry); in vboxsf_dir_unlink()
377 if (IS_ERR(path)) in vboxsf_dir_unlink()
378 return PTR_ERR(path); in vboxsf_dir_unlink()
380 err = vboxsf_remove(sbi->root, path, flags); in vboxsf_dir_unlink()
381 __putname(path); in vboxsf_dir_unlink()
441 struct shfl_string *path, *ssymname; in vboxsf_dir_symlink() local
445 path = vboxsf_path_from_dentry(sbi, dentry); in vboxsf_dir_symlink()
446 if (IS_ERR(path)) in vboxsf_dir_symlink()
447 return PTR_ERR(path); in vboxsf_dir_symlink()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Dmd-multipath.c82 struct md_rdev *rdev = conf->multipaths[mp_bh->path].rdev; in multipath_end_request()
116 mp_bh->path = multipath_map(conf); in multipath_make_request()
117 if (mp_bh->path < 0) { in multipath_make_request()
122 multipath = conf->multipaths + mp_bh->path; in multipath_make_request()
160 * Uh oh, we can do nothing if this is our last path, but in multipath_error()
164 pr_warn("multipath: only one IO path left and IO error.\n"); in multipath_error()
179 pr_err("multipath: IO failure on %pg, disabling IO path.\n" in multipath_error()
211 int path; in multipath_add_disk() local
221 for (path = first; path < in multipath_add_disk()
[all...]
/third_party/littlefs/scripts/
H A Dcoverage.py23 for path in paths:
24 with open(path) as f:
69 def openio(path, mode='r'):
70 if path == '-':
76 return open(path, mode)
82 for path in args['info_paths']:
83 if os.path.isdir(path):
84 path = path
[all...]
/third_party/ninja/src/
H A Ddisk_interface_test.cc41 bool Touch(const char* path) { in Touch()
42 FILE *f = fopen(path, "w"); in Touch()
63 // path prefix is not a directory. in TEST_F()
224 string path = "path/with/double//slash/"; in TEST_F() local
225 EXPECT_TRUE(disk_.MakeDirs(path)); in TEST_F()
226 FILE* f = fopen((path + "a_file").c_str(), "w"); in TEST_F()
265 virtual TimeStamp Stat(const string& path, string* err) const;
266 virtual bool WriteFile(const string& path, const string& contents) { in WriteFile()
270 virtual bool MakeDir(const string& path) { in MakeDir()
288 Stat(const string& path, string* err) const Stat() argument
[all...]

Completed in 15 milliseconds

1...<<111112113114115116117118119120>>...494