/third_party/node/test/doctool/ |
H A D | testcfg.py | 3 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
/third_party/node/test/es-module/ |
H A D | testcfg.py | 2 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
/third_party/musl/src/stat/ |
H A D | chmod.c | 5 int chmod(const char *path, mode_t mode) in chmod() argument 8 return syscall(SYS_chmod, path, mode); in chmod() 10 return syscall(SYS_fchmodat, AT_FDCWD, path, mode); in chmod()
|
H A D | mkfifo.c | 6 int mkfifo(const char *path, mode_t mode) in mkfifo() argument 9 return syscall(SYS_mkfifo, path, mode); in mkfifo() 11 return mknod(path, mode | S_IFIFO, 0); in mkfifo()
|
H A D | mkdir.c | 5 int mkdir(const char *path, mode_t mode) in mkdir() argument 8 return syscall(SYS_mkdir, path, mode); in mkdir() 10 return syscall(SYS_mkdirat, AT_FDCWD, path, mode); in mkdir()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | remove.c | 6 int remove(const char *path) in remove() argument 8 int r = unlink(path); in remove() 9 if (r==-EISDIR) r = rmdir(path); in remove()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | remove.c | 6 int remove(const char *path) in remove() argument 8 int r = unlink(path); in remove() 9 if (r==-EISDIR) r = rmdir(path); in remove()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | remove.c | 6 int remove(const char *path) in remove() argument 8 int r = unlink(path); in remove() 9 if (r==-EISDIR) r = rmdir(path); in remove()
|
/third_party/rust/crates/cxx/tests/ui/ |
H A D | include.rs | 4 include!("path/to" what); 5 include!(<path/to> what); 6 include!(<path/to); 7 include!(<path[to]>);
|
/third_party/skia/third_party/externals/brotli/scripts/dictionary/ |
H A D | step-01-download-rfc.py | 11 path = "rfc7932.txt" variable 13 with open(path, "w") as rfc: 16 print("Downloaded and saved " + str(len(text)) + " bytes to " + path)
|
/third_party/skia/tools/fiddle/ |
H A D | make_all_examples_cpp.py | 9 os.chdir(os.path.dirname(__file__)) 14 for path in sorted(glob.glob('../../docs/examples/*.cpp')): 15 o.write('#include "%s"\n' % path)
|
/third_party/skia/docs/examples/ |
H A D | Path_setFillType.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.setFillType(SkPathFillType::kInverseWinding); in REG_FIDDLE() 11 canvas->drawPath(path, paint); in REG_FIDDLE()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_modifier.cpp | 168 RSPath path; in PaintCircle() local 171 RSRecordingPath path; in PaintCircle() local 175 GetPaintPath(arcData, path, endPath); in PaintCircle() 176 PaintProgress(canvas, arcData, path, endPath, true); in PaintCircle() 202 RSPath path; in PaintCircle() local 205 RSRecordingPath path; in PaintCircle() local 209 GetPaintPath(arcData, path, endPath); in PaintCircle() 210 PaintProgress(canvas, arcData, path, endPath, false); in PaintCircle() 216 void DataPanelModifier::GetPaintPath(ArcData& arcData, RSPath& path, RSPath& endPath) const in GetPaintPath() argument 270 * path o in GetPaintPath() 575 PaintProgress( RSCanvas& canvas, ArcData arcData, RSPath& path, RSPath& endPath, bool isShadow) const PaintProgress() argument 697 Path2DArc( RSPath& path, double x, double y, double r, double startAngle, double endAngle, bool counterclockwise) const Path2DArc() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc() argument 228 path << WM8958_MBC_SEL_SHIFT | in wm8958_dsp_start_mbc() 232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss() argument 276 if (wm8994->mbc_ena[path]) in wm8958_dsp_start_vss() 278 if (wm8994->hpf2_ena[path]) in wm8958_dsp_start_vss() 280 if (wm8994->hpf1_ena[path]) in wm8958_dsp_start_vss() 282 if (wm8994->vss_ena[path]) in wm8958_dsp_start_vss() 287 /* Switch the DSP into the data path */ in wm8958_dsp_start_vss() 290 path << WM8958_MBC_SEL_SHIFT | WM8958_MBC_ENA); in wm8958_dsp_start_vss() 293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq() argument 324 wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) wm8958_dsp_apply() argument [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_merge.c | 220 struct hmdfs_dentry_comrade *lookup_comrade(struct path lower_path, in lookup_comrade() 225 struct path path; in lookup_comrade() local 230 &path); in lookup_comrade() 234 comrade = alloc_comrade(path.dentry, dev_id); in lookup_comrade() 235 path_put(&path); in lookup_comrade() 350 struct path root, path; in merge_lookup_comrade() local 360 err = vfs_path_lookup(root.dentry, root.mnt, name, flags, &path); in merge_lookup_comrade() 366 comrade = alloc_comrade(path in merge_lookup_comrade() 773 hmdfs_getattr_merge(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) hmdfs_getattr_merge() argument 895 hmdfs_do_ops_merge(struct inode *i_parent, struct dentry *d_child, struct dentry *lo_d_child, struct path path, struct hmdfs_recursive_para *rec_op_para) hmdfs_do_ops_merge() argument 938 struct path path = { .mnt = NULL, .dentry = NULL }; hmdfs_create_lower_dentry() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_merge.c | 220 struct hmdfs_dentry_comrade *lookup_comrade(struct path lower_path, in lookup_comrade() 225 struct path path; in lookup_comrade() local 230 &path); in lookup_comrade() 234 comrade = alloc_comrade(path.dentry, dev_id); in lookup_comrade() 235 path_put(&path); in lookup_comrade() 350 struct path root, path; in merge_lookup_comrade() local 360 err = vfs_path_lookup(root.dentry, root.mnt, name, flags, &path); in merge_lookup_comrade() 366 comrade = alloc_comrade(path in merge_lookup_comrade() 773 hmdfs_getattr_merge(struct mnt_idmap *idmap, const struct path *path, struct kstat *stat, u32 request_mask, unsigned int flags) hmdfs_getattr_merge() argument 895 hmdfs_do_ops_merge(struct inode *i_parent, struct dentry *d_child, struct dentry *lo_d_child, struct path path, struct hmdfs_recursive_para *rec_op_para) hmdfs_do_ops_merge() argument 938 struct path path = { .mnt = NULL, .dentry = NULL }; hmdfs_create_lower_dentry() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 188 static void wm8958_dsp_start_mbc(struct snd_soc_component *component, int path) in wm8958_dsp_start_mbc() argument 228 path << WM8958_MBC_SEL_SHIFT | in wm8958_dsp_start_mbc() 232 static void wm8958_dsp_start_vss(struct snd_soc_component *component, int path) in wm8958_dsp_start_vss() argument 276 if (wm8994->mbc_ena[path]) in wm8958_dsp_start_vss() 278 if (wm8994->hpf2_ena[path]) in wm8958_dsp_start_vss() 280 if (wm8994->hpf1_ena[path]) in wm8958_dsp_start_vss() 282 if (wm8994->vss_ena[path]) in wm8958_dsp_start_vss() 287 /* Switch the DSP into the data path */ in wm8958_dsp_start_vss() 290 path << WM8958_MBC_SEL_SHIFT | WM8958_MBC_ENA); in wm8958_dsp_start_vss() 293 static void wm8958_dsp_start_enh_eq(struct snd_soc_component *component, int path) in wm8958_dsp_start_enh_eq() argument 324 wm8958_dsp_apply(struct snd_soc_component *component, int path, int start) wm8958_dsp_apply() argument [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | msvs_emulation.py | 35 arg = os.path.normpath(arg) 67 # Take care to normpath only the path in the case of 'call ../x.bat' because 68 # otherwise the whole thing is incorrectly interpreted as a path and not 74 program = call + " " + os.path.normpath(program) 76 program = os.path.normpath(args[0]) 81 def _GenericRetrieve(root, default, path): 82 """Given a list of dictionary keys |path| and a tree of dicts |root|, find 83 value at path, or return |default| if any of the path doesn't exist.""" 86 if not path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | msvs_emulation.py | 35 arg = os.path.normpath(arg) 67 # Take care to normpath only the path in the case of 'call ../x.bat' because 68 # otherwise the whole thing is incorrectly interpreted as a path and not 74 program = call + " " + os.path.normpath(program) 76 program = os.path.normpath(args[0]) 81 def _GenericRetrieve(root, default, path): 82 """Given a list of dictionary keys |path| and a tree of dicts |root|, find 83 value at path, or return |default| if any of the path doesn't exist.""" 86 if not path [all...] |
/third_party/lwip/src/apps/http/makefsdata/ |
H A D | makefsdata.c | 65 #define GETCWD(path, len) GetCurrentDirectoryA(len, path) 66 #define CHDIR(path) SetCurrentDirectoryA(path) 71 #define GETCWD(path, len) getcwd(path, len) 72 #define CHDIR(path) chdir(path) 122 int check_path(char *path, size_t size); 159 printf(" targetdir: relative or absolute path t in print_usage() 181 char path[MAX_PATH_LEN]; main() local 381 check_path(char *path, size_t size) check_path() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | scrub.c | 224 struct btrfs_path *path; member 411 * this makes the path point to (inum INODE_ITEM ioff) in scrub_print_warning_inode() 417 ret = btrfs_search_slot(NULL, local_root, &key, swarn->path, 0, 0); in scrub_print_warning_inode() 420 btrfs_release_path(swarn->path); in scrub_print_warning_inode() 424 eb = swarn->path->nodes[0]; in scrub_print_warning_inode() 425 inode_item = btrfs_item_ptr(eb, swarn->path->slots[0], in scrub_print_warning_inode() 428 btrfs_release_path(swarn->path); in scrub_print_warning_inode() 436 ipath = init_ipath(4096, local_root, swarn->path); in scrub_print_warning_inode() 455 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu, length %u, links %u (path: %s)", in scrub_print_warning_inode() 469 "%s at logical %llu on dev %s, physical %llu, root %llu, inode %llu, offset %llu: path resolvin in scrub_print_warning_inode() 483 struct btrfs_path *path; scrub_print_common_warning() local 1334 compare_extent_item_range(struct btrfs_path *path, u64 search_start, u64 search_len) compare_extent_item_range() argument 1372 find_first_extent_item(struct btrfs_root *extent_root, struct btrfs_path *path, u64 search_start, u64 search_len) find_first_extent_item() argument 1436 get_extent_info(struct btrfs_path *path, u64 *extent_start_ret, u64 *size_ret, u64 *flags_ret, u64 *generation_ret) get_extent_info() argument 2387 struct btrfs_path *path; scrub_enumerate_chunks() local [all...] |
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | vfs.c | 64 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt() local 68 err = follow_down(&path); in nfsd_cross_mnt() 71 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt() 74 path_put(&path); in nfsd_cross_mnt() 78 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 90 path_put(&path); in nfsd_cross_mnt() 97 * This is subtle: path.dentry is *not* on path in nfsd_cross_mnt() 113 follow_to_parent(struct path *path) follow_to_parent() argument 127 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), nfsd_lookup_parent() local 743 struct path path; __nfsd_open() local 1554 struct path path; nfsd_readlink() local 1587 nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, char *path, struct svc_fh *resfhp) nfsd_symlink() argument 2080 struct path path = { nfsd_statfs() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | vfs.c | 127 struct path path = {.mnt = mntget(exp->ex_path.mnt), in nfsd_cross_mnt() local 135 err = follow_down(&path, follow_flags); in nfsd_cross_mnt() 138 if (path.mnt == exp->ex_path.mnt && path.dentry == dentry && in nfsd_cross_mnt() 141 path_put(&path); in nfsd_cross_mnt() 145 exp2 = rqst_exp_get_by_name(rqstp, &path); in nfsd_cross_mnt() 157 path_put(&path); in nfsd_cross_mnt() 164 * This is subtle: path.dentry is *not* on path in nfsd_cross_mnt() 180 follow_to_parent(struct path *path) follow_to_parent() argument 194 struct path path = {.mnt = mntget((*exp)->ex_path.mnt), nfsd_lookup_parent() local 830 struct path path; __nfsd_open() local 1554 struct path path; nfsd_readlink() local 1597 nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, char *fname, int flen, char *path, struct nfsd_attrs *attrs, struct svc_fh *resfhp) nfsd_symlink() argument 2140 struct path path = { nfsd_statfs() local [all...] |
/third_party/libabigail/src/ |
H A D | abg-tools-utils.cc | 329 /// @param path the path to the function to stat. 335 get_stat(const string& path, in get_stat() argument 337 {return (lstat(path.c_str(), s) == 0);} in get_stat() 339 /// Tests whether a path exists; 341 /// @param path the path to test for. 343 /// @return true iff the path at @p path exist. 345 file_exists(const string& path) in file_exists() argument 358 dir_exists(const string &path) dir_exists() argument 365 dir_is_empty(const string &path) dir_is_empty() argument 391 is_regular_file(const string& path) is_regular_file() argument 514 is_dir(const string& path) is_dir() argument 687 dir_name(string const& path, string& dir_name, bool keep_separator_at_end) dir_name() argument 716 base_name(string const &path, string& file_name) base_name() argument 793 ensure_parent_dir_created(const string& path) ensure_parent_dir_created() argument 834 check_file(const string& path, ostream& out, const string& prog_name) check_file() argument 862 check_dir(const string& path, ostream& out, const string& prog_name) check_dir() argument 2405 char* path[] = {const_cast<char*>(from.c_str()), 0}; find_vmlinux_and_module_paths() local 2447 char* path[] = {const_cast<char*>(from.c_str()), 0}; find_vmlinux_path() local [all...] |
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_dbapi.py | 654 path = FakePath(TESTFN) 655 self.addCleanup(unlink, path) 656 self.assertFalse(os.path.exists(path)) 657 with contextlib.closing(sqlite.connect(path)) as cx: 658 self.assertTrue(os.path.exists(path)) 666 path = TESTFN_UNDECODABLE 667 self.addCleanup(unlink, path) 668 self.assertFalse(os.path [all...] |