Home
last modified time | relevance | path

Searched refs:path (Results 201 - 225 of 8591) sorted by relevance

12345678910>>...344

/third_party/node/tools/gyp/pylib/gyp/
H A Dmac_tool.py53 extension = os.path.splitext(source)[1].lower()
54 if os.path.isdir(source):
59 if os.path.exists(dest):
69 if os.path.exists(dest):
80 base = os.path.dirname(os.path.realpath(__file__))
81 if os.path.relpath(source):
82 source = os.path.join(base, source)
83 if os.path.relpath(dest):
84 dest = os.path
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dmac_tool.py53 extension = os.path.splitext(source)[1].lower()
54 if os.path.isdir(source):
59 if os.path.exists(dest):
69 if os.path.exists(dest):
80 base = os.path.dirname(os.path.realpath(__file__))
81 if os.path.relpath(source):
82 source = os.path.join(base, source)
83 if os.path.relpath(dest):
84 dest = os.path
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnamei.h7 #include <linux/path.h>
24 #define LOOKUP_EMPTY 0x4000 /* accept empty path [user_... only] */
50 extern int path_pts(struct path *path);
52 extern int user_path_at_empty(int, const char __user *, unsigned, struct path *, int *empty);
55 struct path *path) in user_path_at()
57 return user_path_at_empty(dfd, name, flags, path, NULL); in user_path_at()
60 extern int kern_path(const char *, unsigned, struct path *);
62 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigne
54 user_path_at(int dfd, const char __user *name, unsigned flags, struct path *path) user_path_at() argument
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_path.c31 void ngtcp2_path_init(ngtcp2_path *path, const ngtcp2_addr *local, in ngtcp2_path_init() argument
33 path->local = *local; in ngtcp2_path_init()
34 path->remote = *remote; in ngtcp2_path_init()
53 ngtcp2_addr_init(&ps->path.local, (const ngtcp2_sockaddr *)&ps->local_addrbuf, in ngtcp2_path_storage_init()
55 ngtcp2_addr_init(&ps->path.remote, in ngtcp2_path_storage_init()
58 ngtcp2_addr_copy_byte(&ps->path.local, local_addr, local_addrlen); in ngtcp2_path_storage_init()
59 ngtcp2_addr_copy_byte(&ps->path.remote, remote_addr, remote_addrlen); in ngtcp2_path_storage_init()
61 ps->path.user_data = user_data; in ngtcp2_path_storage_init()
65 const ngtcp2_path *path) { in ngtcp2_path_storage_init2()
66 ngtcp2_path_storage_init(ps, path in ngtcp2_path_storage_init2()
64 ngtcp2_path_storage_init2(ngtcp2_path_storage *ps, const ngtcp2_path *path) ngtcp2_path_storage_init2() argument
[all...]
/third_party/skia/infra/bots/assets/svg/
H A Dcreate.py18 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
19 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
20 SVG_TOOLS = os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir, 'tools', 'svg')
26 target_dir = os.path.realpath(target_dir)
27 target_svg_dir = os.path.join(target_dir, 'svg')
28 target_image_dir = os.path.join(target_dir, 'images')
30 if not os.path.exists(target_svg_dir):
33 if not os.path
[all...]
/kernel/linux/linux-5.10/Documentation/sphinx/
H A Dkernel_include.py16 the path name and allows to include files from arbitrary locations.
34 import os.path namespace
62 path = os.path.realpath(
63 os.path.expandvars(self.arguments[0]))
66 if path.startswith(os.sep + "etc"):
68 'Problems with "%s" directive, prohibited path: %s'
69 % (self.name, path))
71 self.arguments[0] = path
88 source_dir = os.path
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dnftw.c59 void remove_directory(const char *path) in remove_directory() argument
65 if (!(dir = opendir(path))) { in remove_directory()
75 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory()
81 int result = snprintf(filepath, sizeof(filepath), "%s/%s", path, entry->d_name); in remove_directory()
94 if (rmdir(path) == -1) { in remove_directory()
95 t_error("%s error in rmdir test nftw path! \n", __func__); in remove_directory()
99 void nftw_build_testfile(const char *path) in nftw_build_testfile() argument
102 if (mkdir(path, 0755) == -1) { in nftw_build_testfile()
103 t_error("%s error in mkdir test nftw path! %s \n", __func__, path); in nftw_build_testfile()
182 char path[PATH_MAX]; nftw_build_testDir() local
229 char path[PATH_MAX * TEST_DIGIT_TWO]; nftw_0300() local
[all...]
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dmount.h14 #include <linux/path.h>
29 struct aa_label *label, const struct path *path,
33 struct aa_label *label, const struct path *path,
38 struct aa_label *label, const struct path *path,
42 struct aa_label *label, const struct path *path,
45 struct aa_label *label, const struct path *from_pat
[all...]
/third_party/node/deps/openssl/openssl/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
25 if not os.path.isdir(FUZZER_DIR):
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
32 if not os.path
[all...]
/third_party/openssl/fuzz/
H A Dhelper.py21 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
22 CORPORA_DIR = os.path.abspath(os.path.join(THIS_DIR, "corpora"))
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
25 if not os.path.isdir(FUZZER_DIR):
31 dd = os.path.abspath(os.path.join(CORPORA_DIR, d))
32 if not os.path
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-rm.js7 const path = require('path');
17 path.join(tmpdir.path, `${name}-${count++}`);
30 fs.writeFileSync(path.join(dirname, 'text.txt'), 'hello', 'utf8');
35 fs.writeFileSync(path.join(dirname, `f-${depth}-${f}`), '', options);
42 path.join(dirname, `link-${depth}-good`),
49 path.join(dirname, `link-${depth}-bad`),
57 path.join(dirname, `link-${depth}-loop-${y}`),
64 fs.writeFileSync(path
[all...]
/third_party/skia/docs/examples/
H A DPath_isRect.cpp7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE()
11 path.isRect(&rect, &isClosed, &direction) ? in REG_FIDDLE()
17 SkPath path; in REG_FIDDLE() local
18 debugster("empty", path); in REG_FIDDLE()
19 path.addRect({10, 20, 30, 40}); in REG_FIDDLE()
20 debugster("addRect", path); in REG_FIDDLE()
21 path.moveTo(60, 70); in REG_FIDDLE()
22 debugster("moveTo", path); in REG_FIDDLE()
23 path.lineTo(60, 70); in REG_FIDDLE()
24 debugster("lineTo", path); in REG_FIDDLE()
[all...]
H A DPath_isEmpty.cpp7 auto debugster = [](const char* prefix, const SkPath& path) -> void { in REG_FIDDLE()
8 SkDebugf("%s path is %s" "empty\n", prefix, path.isEmpty() ? "" : "not "); in REG_FIDDLE()
10 SkPath path; in REG_FIDDLE() local
11 debugster("initial", path); in REG_FIDDLE()
12 path.moveTo(0, 0); in REG_FIDDLE()
13 debugster("after moveTo", path); in REG_FIDDLE()
14 path.rewind(); in REG_FIDDLE()
15 debugster("after rewind", path); in REG_FIDDLE()
16 path in REG_FIDDLE()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Ddata.c26 zfree(&files[nr].path); in close_dir()
51 ret = asprintf(&file->path, "%s/data.%d", data->path, i); in perf_data__create_dir()
57 ret = open(file->path, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR); in perf_data__create_dir()
98 dir = opendir(data->path); in perf_data__open_dir()
104 char path[PATH_MAX]; in perf_data__open_dir() local
107 snprintf(path, sizeof(path), "%s/%s", data->path, dent->d_name); in perf_data__open_dir()
108 if (stat(path, in perf_data__open_dir()
483 has_kcore_dir(const char *path) has_kcore_dir() argument
540 is_perf_data(const char *path) is_perf_data() argument
[all...]
/third_party/skia/fuzz/
H A DFuzzCommon.cpp30 // allows some float values for path points
31 void FuzzNicePath(Fuzz* fuzz, SkPath* path, int maxOps) { in FuzzNicePath() argument
32 if (maxOps <= 0 || fuzz->exhausted() || path->countPoints() > 100000) { in FuzzNicePath()
37 path->setFillType((SkPathFillType)fillType); in FuzzNicePath()
41 // When we start adding the path to itself, the fuzzer can make an in FuzzNicePath()
42 // exponentially long path, which causes timeouts. in FuzzNicePath()
43 if (path->countPoints() > 100000) { in FuzzNicePath()
61 path->moveTo(a, b); in FuzzNicePath()
65 path->rMoveTo(a, b); in FuzzNicePath()
69 path in FuzzNicePath()
225 FuzzEvilPath(Fuzz* fuzz, SkPath* path, int last_verb) FuzzEvilPath() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Duuid-tree.c26 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup() local
38 path = btrfs_alloc_path(); in btrfs_uuid_tree_lookup()
39 if (!path) { in btrfs_uuid_tree_lookup()
45 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0); in btrfs_uuid_tree_lookup()
53 eb = path->nodes[0]; in btrfs_uuid_tree_lookup()
54 slot = path->slots[0]; in btrfs_uuid_tree_lookup()
78 btrfs_free_path(path); in btrfs_uuid_tree_lookup()
88 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add() local
106 path = btrfs_alloc_path(); in btrfs_uuid_tree_add()
107 if (!path) { in btrfs_uuid_tree_add()
153 struct btrfs_path *path = NULL; btrfs_uuid_tree_remove() local
295 struct btrfs_path *path; btrfs_uuid_tree_iterate() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Duuid-tree.c29 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup() local
41 path = btrfs_alloc_path(); in btrfs_uuid_tree_lookup()
42 if (!path) { in btrfs_uuid_tree_lookup()
48 ret = btrfs_search_slot(NULL, uuid_root, &key, path, 0, 0); in btrfs_uuid_tree_lookup()
56 eb = path->nodes[0]; in btrfs_uuid_tree_lookup()
57 slot = path->slots[0]; in btrfs_uuid_tree_lookup()
81 btrfs_free_path(path); in btrfs_uuid_tree_lookup()
91 struct btrfs_path *path = NULL; in btrfs_uuid_tree_add() local
109 path = btrfs_alloc_path(); in btrfs_uuid_tree_add()
110 if (!path) { in btrfs_uuid_tree_add()
155 struct btrfs_path *path = NULL; btrfs_uuid_tree_remove() local
297 struct btrfs_path *path; btrfs_uuid_tree_iterate() local
[all...]
/third_party/eudev/src/shared/
H A Dpath-util.c36 #include "path-util.h"
48 int path_get_parent(const char *path, char **_r) { in path_get_parent() argument
53 assert(path); in path_get_parent()
56 if (!*path) in path_get_parent()
59 for (e = path; *e; e++) { in path_get_parent()
77 if (p == path) in path_get_parent()
80 r = strndup(path, p-path); in path_get_parent()
92 /* Makes every item in the list an absolute path by prepending in path_make_absolute()
128 * the path in path_strv_resolve()
216 path_kill_slashes(char *path) path_kill_slashes() argument
251 path_startswith(const char *path, const char *prefix) path_startswith() argument
335 char path[strlen("/proc/self/fdinfo/") + DECIMAL_STR_MAX(int)]; fd_fdinfo_mnt_id() local
543 prefix_root(const char *root, const char *path) prefix_root() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c32 #define format_cgroup_path(buf, path) \
34 CGROUP_WORK_DIR, path)
46 char path[PATH_MAX + 1]; in enable_all_controllers() local
52 snprintf(path, sizeof(path), "%s/cgroup.controllers", cgroup_path); in enable_all_controllers()
53 fd = open(path, O_RDONLY); in enable_all_controllers()
55 log_err("Opening cgroup.controllers: %s", path); in enable_all_controllers()
62 log_err("Reading cgroup.controllers: %s", path); in enable_all_controllers()
72 snprintf(path, sizeof(path), " in enable_all_controllers()
178 join_cgroup(const char *path) join_cgroup() argument
218 create_and_get_cgroup(const char *path) create_and_get_cgroup() argument
246 get_cgroup_id(const char *path) get_cgroup_id() argument
294 cgroup_setup_and_join(const char *path) cgroup_setup_and_join() argument
[all...]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
H A Dmisc.c54 char path[SYSFS_PATH_MAX]; in cpupower_intel_get_perf_bias() local
61 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_get_perf_bias()
63 if (cpupower_read_sysfs(path, linebuf, MAX_LINE_LEN) == 0) in cpupower_intel_get_perf_bias()
75 char path[SYSFS_PATH_MAX]; in cpupower_intel_set_perf_bias() local
81 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/power/energy_perf_bias", cpu); in cpupower_intel_set_perf_bias()
84 if (cpupower_write_sysfs(path, linebuf, 3) <= 0) in cpupower_intel_set_perf_bias()
92 char path[SYSFS_PATH_MAX]; in cpupower_set_epp() local
95 snprintf(path, sizeo in cpupower_set_epp()
111 char path[SYSFS_PATH_MAX]; cpupower_set_amd_pstate_mode() local
129 char path[SYSFS_PATH_MAX]; cpupower_set_turbo_boost() local
[all...]
/third_party/python/Lib/distutils/
H A Darchive_util.py87 mkpath(os.path.dirname(archive_name), dry_run=dry_run)
132 (if installed and found on the default search path). If neither tool is
137 mkpath(os.path.dirname(zip_filename), dry_run=dry_run)
171 path = os.path.normpath(os.path.join(base_dir, ''))
172 zip.write(path, path)
173 log.info("adding '%s'", path)
176 path
[all...]
/third_party/skia/gm/
H A Dsharedcorners.cpp114 SkPath path; in drawTriangleBoxes() local
115 path.setFillType(SkPathFillType::kEvenOdd); in drawTriangleBoxes()
116 path.setIsVolatile(true); in drawTriangleBoxes()
118 path.moveTo(points[triangle[0]]); in drawTriangleBoxes()
119 path.lineTo(points[triangle[1]]); in drawTriangleBoxes()
120 path.lineTo(points[triangle[2]]); in drawTriangleBoxes()
121 path.close(); in drawTriangleBoxes()
123 SkScalar scale = kBoxSize / std::max(path.getBounds().height(), path.getBounds().width()); in drawTriangleBoxes()
124 path in drawTriangleBoxes()
141 drawRow(SkCanvas* canvas, const SkPath& path) drawRow() argument
[all...]
/third_party/musl/porting/linux/user/include/fortify/
H A Dfcntl.h44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
49 return __open_chk(path, flags);
51 return __open_real(path, flags);
56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes)
60 return __open_real(path, flags, modes);
64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
69 return __openat_chk(dirfd, path, flags);
71 return __openat_real(dirfd, path, flags);
76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes)
80 return __openat_real(dirfd, path, flag
[all...]
/third_party/musl/include/fortify/linux/
H A Dfcntl.h44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
49 return __open_chk(path, flags);
51 return __open_real(path, flags);
56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes)
60 return __open_real(path, flags, modes);
64 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
69 return __openat_chk(dirfd, path, flags);
71 return __openat_real(dirfd, path, flags);
76 int openat(int dirfd, const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, mode_t modes)
80 return __openat_real(dirfd, path, flag
[all...]
/third_party/skia/tests/
H A DParsePathTest.cpp11 static void test_to_from(skiatest::Reporter* reporter, const SkPath& path) { in test_to_from() argument
13 SkParsePath::ToSVGString(path, &str); in test_to_from()
22 // edge, even if it is not in the path. in test_to_from()
23 REPORTER_ASSERT(reporter, path == path2); in test_to_from()
24 if (path != path2) { in test_to_from()
46 SkPath path; in DEF_TEST() local
47 bool success = SkParsePath::FromSVGString(gRec[i].fStr, &path); in DEF_TEST()
50 const SkRect& pathBounds = path.getBounds(); in DEF_TEST()
53 test_to_from(reporter, path); in DEF_TEST()
68 SkPath path; in DEF_TEST() local
81 SkPath path, path2; DEF_TEST() local
124 SkPath path; DEF_TEST() local
134 SkPath path; DEF_TEST() local
[all...]

Completed in 9 milliseconds

12345678910>>...344