Home
last modified time | relevance | path

Searched refs:path (Results 3376 - 3400 of 9842) sorted by relevance

1...<<131132133134135136137138139140>>...394

/third_party/selinux/libselinux/utils/
H A Dselabel_lookup_best_match.c13 "usage: %s [-v] [-r] -p path [-m mode] [-f file] [link...]\n\n" in usage()
23 " 1) An exact match for the real path (if no links), or\n\t\t" in usage()
28 " Find best matching context for the specified path using one link.\n\n", in usage()
57 char *validate = NULL, *path = NULL, *context = NULL, *file = NULL; in main() local
81 path = optarg; in main()
125 rc = selabel_lookup_best_match_raw(hnd, &context, path, in main()
128 rc = selabel_lookup_best_match(hnd, &context, path, in main()
141 "failed to validate context, or path / mode " in main()
/third_party/skia/bench/
H A DBezierBench.cpp27 const SkPath& path = rec->fQuad; in draw_quad() local
29 canvas->drawPath(path, paint); in draw_quad()
39 const SkPath& path = rec->fCubic; in draw_cubic() local
41 canvas->drawPath(path, paint); in draw_cubic()
/third_party/skia/bench/graphite/
H A DIntersectionTreeBench.cpp128 const SkPath& path,
133 if (path.isConvex()) {
136 int numVerbs = path.countVerbs();
137 SkRect drawBounds = matrix.mapRect(path.getBounds());
/third_party/skia/demos.skia.org/demos/path_performance/
H A Dshared.js92 for (const [path, fillColor] of this.data) {
94 ctx.fill(path);
131 for (const [path, color] of this.data) {
133 canvas.drawPath(path, this.paint);
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
H A Dparse.rs47 let path = match group.stream().into_iter().next() { in parse_next_attr()
55 path, in parse_next_attr()
75 pub(crate) path: Option<Ident>,
80 self.path.as_ref().map_or(false, |p| *p == ident)
/third_party/selinux/libselinux/src/
H A Dcompute_create.c57 char path[PATH_MAX]; in security_compute_create_name_raw() local
67 snprintf(path, sizeof path, "%s/create", selinux_mnt); in security_compute_create_name_raw()
68 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_create_name_raw()
H A Dcompute_av.c19 char path[PATH_MAX]; in security_compute_av_flags_raw() local
30 snprintf(path, sizeof path, "%s/access", selinux_mnt); in security_compute_av_flags_raw()
31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_av_flags_raw()
H A Dcompute_user.c16 char path[PATH_MAX]; in security_compute_user_raw() local
30 snprintf(path, sizeof path, "%s/user", selinux_mnt); in security_compute_user_raw()
31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_user_raw()
/third_party/rust/crates/rustix/src/
H A Druntime.rs227 /// `execveat(dirfd, path.as_c_str(), argv, envp, flags)`—Execute a new
245 path: &CStr, in execveat()
250 backend::runtime::syscalls::execveat(dirfd.as_fd(), path, argv, envp, flags) in execveat()
253 /// `execve(path.as_c_str(), argv, envp)`—Execute a new command using the
267 pub unsafe fn execve(path: &CStr, argv: *const *const u8, envp: *const *const u8) -> io::Errno { in execve()
268 backend::runtime::syscalls::execve(path, argv, envp) in execve()
/third_party/rust/crates/nix/test/
H A Dtest_dir.rs22 File::create(tmp.path().join("foo")).unwrap(); in read()
23 std::os::unix::fs::symlink("foo", tmp.path().join("bar")).unwrap(); in read()
24 let mut dir = Dir::open(tmp.path(), flags(), Mode::empty()).unwrap(); in read()
44 let mut dir = Dir::open(tmp.path(), flags(), Mode::empty()).unwrap(); in rewind()
/third_party/spirv-tools/tools/objdump/
H A Dobjdump.cpp50 // Fixing path to prevent this edge case to be reached.
59 // created HLSL file's filename is the path's filename obtained from `sources`.
64 std::filesystem::path outdir(fixPathForLLVM(outdirPath)); in OutputSourceFiles()
80 std::filesystem::path old_path(filepath); in OutputSourceFiles()
81 std::filesystem::path new_path = outdir / old_path.filename(); in OutputSourceFiles()
165 const std::filesystem::path outdirPath(flags::outdir.value()); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_offload.py35 bpf_test_dir = os.path.dirname(os.path.realpath(__file__))
212 args = "prog load %s %s" % (os.path.join(bpf_test_dir, sample), file_name)
238 def bpf_obj(name, sec=".text", path=bpf_test_dir,):
239 return "obj %s sec %s" % (os.path.join(path, name), sec)
281 def __init__(self, path):
282 self.path = path
283 self._dict = self._debugfs_dir_read(path)
[all...]
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify_user.c252 static int create_fd(struct fsnotify_group *group, const struct path *path, in create_fd() argument
266 new_file = dentry_open(path, in create_fd()
662 const struct path *path = fanotify_event_path(event); in copy_event_to_user() local
693 path && path->mnt && path->dentry) { in copy_event_to_user()
694 fd = create_fd(group, path, &f); in copy_event_to_user()
998 struct path *pat in fanotify_find_path()
997 fanotify_find_path(int dfd, const char __user *filename, struct path *path, unsigned int flags, __u64 mask, unsigned int obj_type) fanotify_find_path() argument
1612 fanotify_events_supported(struct fsnotify_group *group, const struct path *path, __u64 mask, unsigned int flags) fanotify_events_supported() argument
1667 struct path path; do_fanotify_mark() local
[all...]
/third_party/python/Lib/xml/etree/
H A DElementTree.py283 def find(self, path, namespaces=None):
284 """Find first matching element by tag name or path.
286 *path* is a string having either an element tag or an XPath,
292 return ElementPath.find(self, path, namespaces)
294 def findtext(self, path, default=None, namespaces=None):
295 """Find text for first matching element by tag name or path.
297 *path* is a string having either an element tag or an XPath,
306 return ElementPath.findtext(self, path, default, namespaces)
308 def findall(self, path, namespaces=None):
309 """Find all matching subelements by tag name or path
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dunittest.c121 np = of_find_node_by_path("/testcase-data/missing-path"); in of_unittest_find_node_by_name()
122 unittest(!np, "non-existent path returned node %pOF\n", np); in of_unittest_find_node_by_name()
129 np = of_find_node_by_path("testcase-alias/missing-path"); in of_unittest_find_node_by_name()
130 unittest(!np, "non-existent alias with relative path returned node %pOF\n", np); in of_unittest_find_node_by_name()
135 "option path test failed\n"); in of_unittest_find_node_by_name()
140 "option path test, subcase #1 failed\n"); in of_unittest_find_node_by_name()
145 "option path test, subcase #2 failed\n"); in of_unittest_find_node_by_name()
149 unittest(np, "NULL option path test failed\n"); in of_unittest_find_node_by_name()
155 "option alias path test failed\n"); in of_unittest_find_node_by_name()
161 "option alias path tes in of_unittest_find_node_by_name()
949 of_unittest_dma_ranges_one(const char *path, u64 expect_dma_addr, u64 expect_paddr) of_unittest_dma_ranges_one() argument
1382 const char *path; global() member
1753 of_path_to_platform_device(const char *path) of_path_to_platform_device() argument
1769 of_path_platform_device_exists(const char *path) of_path_platform_device_exists() argument
1989 of_path_to_i2c_client(const char *path) of_path_to_i2c_client() argument
2005 of_path_i2c_client_exists(const char *path) of_path_i2c_client_exists() argument
2015 of_path_i2c_client_exists(const char *path) of_path_i2c_client_exists() argument
2026 of_path_device_type_exists(const char *path, enum overlay_type ovtype) of_path_device_type_exists() argument
2061 const char *path; of_unittest_device_exists() local
3924 char *path = NULL; of_unittest_pci_node_verify() local
[all...]
/third_party/skia/dm/
H A DDMSrcSink.cpp158 static SkString get_scaled_name(const Path& path, float scale) { in get_scaled_name() argument
159 return SkStringPrintf("%s_%.3f", SkOSPath::Basename(path.c_str()).c_str(), scale); in get_scaled_name()
163 BRDSrc::BRDSrc(Path path, Mode mode, CodecSrc::DstColorType dstColorType, uint32_t sampleSize) in BRDSrc() argument
164 : fPath(path) in BRDSrc()
176 static std::unique_ptr<android::skia::BitmapRegionDecoder> create_brd(Path path) { in create_brd() argument
177 sk_sp<SkData> encoded(SkData::MakeFromFileName(path.c_str())); in create_brd()
335 static bool serial_from_path_name(const SkString& path) { in serial_from_path_name() argument
341 const char* actualExt = strrchr(path.c_str(), '.'); in serial_from_path_name()
354 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType, in CodecSrc() argument
356 : fPath(path) in CodecSrc()
824 AndroidCodecSrc(Path path, CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType, int sampleSize) AndroidCodecSrc() argument
913 ImageGenSrc(Path path, Mode mode, SkAlphaType alphaType, bool isGpu) ImageGenSrc() argument
1023 ColorCodecSrc(Path path, bool decode_to_dst) ColorCodecSrc() argument
1089 SKPSrc(Path path) SKPSrc() argument
1106 get_cull_rect_for_skp(const char* path) get_cull_rect_for_skp() argument
1131 BisectSrc(Path path, const char* trail) BisectSrc() argument
1172 const FoundPath& path = pathFinder.foundPaths()[i]; draw() local
1187 SkottieSrc(Path path) SkottieSrc() argument
1263 SkRiveSrc(Path path) SkRiveSrc() argument
1324 SVGSrc(Path path) SVGSrc() argument
1389 MSKPSrc(Path path) MSKPSrc() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dextent_io.c2458 * btrfs_next_leaf() releases the path, there's an ordered extent that in emit_fiemap_extent()
2464 * will leave us with a path pointing to the new extent item, for the in emit_fiemap_extent()
2473 * it, but after btrfs_next_leaf() released the path, delalloc was in emit_fiemap_extent()
2609 static int fiemap_next_leaf_item(struct btrfs_inode *inode, struct btrfs_path *path) in fiemap_next_leaf_item() argument
2616 path->slots[0]++; in fiemap_next_leaf_item()
2617 if (path->slots[0] < btrfs_header_nritems(path->nodes[0])) in fiemap_next_leaf_item()
2620 ret = btrfs_next_leaf(inode->root, path); in fiemap_next_leaf_item()
2628 btrfs_item_key_to_cpu(path->nodes[0], &key, path in fiemap_next_leaf_item()
2650 fiemap_search_slot(struct btrfs_inode *inode, struct btrfs_path *path, u64 file_offset) fiemap_search_slot() argument
2835 fiemap_find_last_extent_offset(struct btrfs_inode *inode, struct btrfs_path *path, u64 *last_extent_end_ret) fiemap_find_last_extent_offset() argument
2917 struct btrfs_path *path; extent_fiemap() local
[all...]
/third_party/f2fs-tools/lib/
H A Dlibf2fs.c738 int f2fs_dev_is_umounted(char *path) in f2fs_dev_is_umounted() argument
749 if (!strcmp(path, rootdev_name)) in f2fs_dev_is_umounted()
759 ret = is_mounted("/proc/mounts", path); in f2fs_dev_is_umounted()
769 ret = is_mounted(MOUNTED, path); in f2fs_dev_is_umounted()
797 if (stat(path, st_buf) == 0 && S_ISBLK(st_buf->st_mode)) { in f2fs_dev_is_umounted()
798 int fd = open(path, O_RDONLY | O_EXCL); in f2fs_dev_is_umounted()
818 if (f2fs_dev_is_umounted((char *)c.devices[i].path)) in f2fs_devs_are_umounted()
873 static int open_check_fs(char *path, int flag) in open_check_fs() argument
879 return open(path, O_RDONLY | flag); in open_check_fs()
908 fd = open(dev->path, O_RDW in get_device_info()
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Diogen.c93 char f_path[MAX_FNAME_LENGTH + 1]; /* file name (full path) */
120 int create_file(char *path, int nbytes);
528 * otherwise, attempt to create a FIFO on path Outpipe. Exit with an
1002 if (lk_rawdev(rec->f_path, dinfo.path, sizeof(dinfo.path), 0) == in get_file_info()
1040 strcpy(dinfo.path, rec->f_path); in get_file_info()
1066 * Create file path as nbytes long. If path exists, the file will either be
1071 int create_file(char *path, int nbytes) in create_file() argument
1085 rval = stat(path, in create_file()
[all...]
/third_party/libinput/src/
H A Dquirks.c495 section_new(const char *path, const char *name) in section_new() argument
499 char *path_dup = safe_strdup(path); in section_new()
915 parse_file(struct quirks_context *ctx, const char *path) in parse_file() argument
931 qlog_debug(ctx, "%s\n", path); in parse_file()
936 fp = fopen(path, "r"); in parse_file()
945 qlog_error(ctx, "%s: failed to open file\n", path); in parse_file()
980 path, lineno, line); in parse_file()
993 path, lineno, line); in parse_file()
999 path, lineno, line); in parse_file()
1006 path, linen in parse_file()
1104 char path[PATH_MAX]; parse_files() local
[all...]
/third_party/node/deps/uv/src/win/
H A Dutil.c117 /* Get the path as UTF-16. */ in uv_exepath()
265 /* Windows stores the drive-local path in an "hidden" environment variable, in uv_chdir()
294 /* Doesn't look like a drive letter could be there - probably an UNC path. in uv_chdir()
1120 wchar_t *path; in uv_os_tmpdir() local
1134 path = uv__malloc(len * sizeof(wchar_t)); in uv_os_tmpdir()
1135 if (path == NULL) { in uv_os_tmpdir()
1138 len = GetTempPathW(len, path); in uv_os_tmpdir()
1141 uv__free(path); in uv_os_tmpdir()
1147 if (path[len - 1] == L'\\' && in uv_os_tmpdir()
1148 !(len == 3 && path[ in uv_os_tmpdir()
1294 wchar_t *path; uv__getpwuid_r() local
[all...]
/third_party/python/Lib/
H A Dpathlib.py50 """A flavour implements a particular (platform-specific) set of path
104 # Same drive => second path is relative to the first
107 # Second path is non-anchored (common case)
133 # * '\\?\c:\a' is an extended path, which bypasses normal Windows API
134 # path processing. Thus relative paths are not resolved and slash is not
135 # translated to backslash. It has the native NT path limit of 32767
141 # The only path separator at the filesystem level is backslash.
160 # is a UNC path:
167 # a UNC path can't have two slashes in a row
218 def make_uri(self, path)
[all...]
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlibbpf.h117 * name from file path's base name;
126 * auto-pinned to that path on load; defaults to "/sys/fs/bpf".
187 * the BPF ELF object file pointed to by the passed path and loading it
189 * @param path BPF object file path.
193 LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
197 * the BPF ELF object file pointed to by the passed path and loading it
199 * @param path BPF object file path
206 bpf_object__open_file(const char *path, cons
[all...]
/third_party/libbpf/src/
H A Dlibbpf.h117 * name from file path's base name;
126 * auto-pinned to that path on load; defaults to "/sys/fs/bpf".
187 * the BPF ELF object file pointed to by the passed path and loading it
189 * @param path BPF object file path.
193 LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
197 * the BPF ELF object file pointed to by the passed path and loading it
199 * @param path BPF object file path
206 bpf_object__open_file(const char *path, cons
[all...]
/third_party/icu/icu4c/source/tools/tzcode/
H A Dzdump.c554 char path[FILENAME_MAX + 1]; in main() local
555 strcpy(path, dirarg); in main()
556 strcat(path, "/"); in main()
557 zstart = strlen(path); in main()
558 strcat(path, argv[i]); in main()
560 while(path[++zstart] != 0) { in main()
561 if (path[zstart] == '/') { in main()
562 path[zstart] = '-'; in main()
565 if ((fp = fopen(path, "w")) == NULL) { in main()
566 fprintf(stderr, "cannot create output file %s\n", path); in main()
1037 char path[FILENAME_MAX + 1]; getzones() local
[all...]

Completed in 30 milliseconds

1...<<131132133134135136137138139140>>...394