Home
last modified time | relevance | path

Searched refs:path (Results 826 - 850 of 9842) sorted by relevance

1...<<31323334353637383940>>...394

/third_party/skia/bench/
H A DDashBench.cpp27 static void path_hline(SkPath* path) { in path_hline() argument
28 path->moveTo(SkIntToScalar(10), SkIntToScalar(10)); in path_hline()
29 path->lineTo(SkIntToScalar(600), SkIntToScalar(10)); in path_hline()
55 virtual void makePath(SkPath* path) { in makePath() argument
56 path_hline(path); in makePath()
71 SkPath path; variable
72 this->makePath(&path);
77 SkRect r = path.getBounds();
84 this->handlePath(canvas, path, paint, loops);
87 virtual void handlePath(SkCanvas* canvas, const SkPath& path, in handlePath() argument
139 make_unit_star(SkPath* path, int n) make_unit_star() argument
151 make_poly(SkPath* path) make_poly() argument
157 make_quad(SkPath* path) make_quad() argument
165 make_cubic(SkPath* path) make_cubic() argument
[all...]
/kernel/linux/linux-6.6/fs/
H A Dnamespace.c678 * mount @o after path lookup but before @namespace_sem could be
700 * lookup_mnt - Return the first child mount mounted at path
715 struct vfsmount *lookup_mnt(const struct path *path) in lookup_mnt() argument
724 child_mnt = __lookup_mnt(path->mnt, path->dentry); in lookup_mnt()
1375 * path_is_mountpoint() - Check if path is a mount in the current namespace.
1376 * @path: path to check
1382 * checks if the passed in path i
1385 path_is_mountpoint(const struct path *path) path_is_mountpoint() argument
1404 mnt_clone_internal(const struct path *path) mnt_clone_internal() argument
1855 path_mounted(const struct path *path) path_mounted() argument
1869 can_umount(const struct path *path, int flags) can_umount() argument
1887 path_umount(struct path *path, int flags) path_umount() argument
1905 struct path path; ksys_umount() local
2034 collect_mounts(const struct path *path) collect_mounts() argument
2103 clone_private_mount(const struct path *path) clone_private_mount() argument
2436 do_lock_mount(struct path *path, bool beneath) do_lock_mount() argument
2494 lock_mount(struct path *path) lock_mount() argument
2543 do_change_type(struct path *path, int ms_flags) do_change_type() argument
2602 do_loopback(struct path *path, const char *old_name, int recurse) do_loopback() argument
2648 open_detached_copy(struct path *path, bool recursive) open_detached_copy() argument
2690 struct path path; SYSCALL_DEFINE3() local
2818 do_reconfigure_mnt(struct path *path, unsigned int mnt_flags) do_reconfigure_mnt() argument
2855 do_remount(struct path *path, int ms_flags, int sb_flags, int mnt_flags, void *data) do_remount() argument
3017 path_overmounted(const struct path *path) path_overmounted() argument
3205 do_move_mount_old(struct path *path, const char *old_name) do_move_mount_old() argument
3225 do_add_mount(struct mount *newmnt, struct mountpoint *mp, const struct path *path, int mnt_flags) do_add_mount() argument
3299 do_new_mount(struct path *path, const char *fstype, int sb_flags, int mnt_flags, const char *name, void *data) do_new_mount() argument
3354 finish_automount(struct vfsmount *m, const struct path *path) finish_automount() argument
3598 path_mount(const char *dev_name, struct path *path, const char *type_page, unsigned long flags, void *data_page) path_mount() argument
3680 struct path path; do_mount() local
3840 struct path path; mount_subtree() local
4431 do_mount_setattr(struct path *path, struct mount_kattr *kattr) do_mount_setattr() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dreflink.c165 struct btrfs_path *path, in clone_copy_inline_extent()
191 ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); in clone_copy_inline_extent()
195 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) { in clone_copy_inline_extent()
196 ret = btrfs_next_leaf(root, path); in clone_copy_inline_extent()
202 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in clone_copy_inline_extent()
215 ei = btrfs_item_ptr(path->nodes[0], path->slots[0], in clone_copy_inline_extent()
222 if (btrfs_file_extent_type(path in clone_copy_inline_extent()
164 clone_copy_inline_extent(struct inode *dst, struct btrfs_path *path, struct btrfs_key *new_key, const u64 drop_start, const u64 datal, const u64 size, const u8 comp_type, char *inline_data, struct btrfs_trans_handle **trans_out) clone_copy_inline_extent() argument
333 struct btrfs_path *path = NULL; btrfs_clone() local
[all...]
/third_party/vulkan-loader/tests/framework/
H A Dtest_util.h34 * path abstraction class - modelled after C++17's filesystem::path
186 struct path {
194 path() {}
195 path(std::string const& in) : contents(make_native(in)) {}
196 path(const char* in) : contents(make_native(std::string(in))) {}
199 path& operator+=(path const& in);
200 path& operator+=(std::string const& in);
201 path
[all...]
/third_party/gn/src/base/
H A Dvalues.cc298 Value* Value::FindPath(std::initializer_list<std::string_view> path) { in FindPath() argument
299 return const_cast<Value*>(const_cast<const Value*>(this)->FindPath(path)); in FindPath()
302 Value* Value::FindPath(span<const std::string_view> path) { in FindPath() argument
303 return const_cast<Value*>(const_cast<const Value*>(this)->FindPath(path)); in FindPath()
307 std::initializer_list<std::string_view> path) const { in FindPath()
308 DCHECK_GE(path.size(), 2u) << "Use FindKey() for a path of length 1."; in FindPath()
309 return FindPath(make_span(path.begin(), path.size())); in FindPath()
312 const Value* Value::FindPath(span<const std::string_view> path) cons
321 FindPathOfType(std::initializer_list<std::string_view> path, Type type) FindPathOfType() argument
327 FindPathOfType(span<const std::string_view> path, Type type) FindPathOfType() argument
332 FindPathOfType(std::initializer_list<std::string_view> path, Type type) const FindPathOfType() argument
338 FindPathOfType(span<const std::string_view> path, Type type) const FindPathOfType() argument
346 SetPath(std::initializer_list<std::string_view> path, Value value) SetPath() argument
352 SetPath(span<const std::string_view> path, Value value) SetPath() argument
382 RemovePath(std::initializer_list<std::string_view> path) RemovePath() argument
387 RemovePath(span<const std::string_view> path) RemovePath() argument
[all...]
/third_party/lz4/programs/
H A Dutil.h492 char* path; in UTIL_prepareFileList() local
498 path = (char*) malloc(dirLength + 3); in UTIL_prepareFileList()
499 if (!path) return 0; in UTIL_prepareFileList()
501 memcpy(path, dirName, dirLength); in UTIL_prepareFileList()
502 path[dirLength] = '\\'; in UTIL_prepareFileList()
503 path[dirLength+1] = '*'; in UTIL_prepareFileList()
504 path[dirLength+2] = 0; in UTIL_prepareFileList()
506 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList()
511 free(path); in UTIL_prepareFileList()
516 path in UTIL_prepareFileList()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c13 static int set_immutable(const char *path, int immutable) in set_immutable() argument
20 fd = open(path, O_RDONLY); in set_immutable()
44 static int get_immutable(const char *path) in get_immutable() argument
51 fd = open(path, O_RDONLY); in get_immutable()
70 const char *path; in main() local
75 fprintf(stderr, "usage: %s <path>\n", argv[0]); in main()
79 path = argv[1]; in main()
89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
103 rc = get_immutable(path); in main()
108 rc = set_immutable(path, in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c13 static int set_immutable(const char *path, int immutable) in set_immutable() argument
20 fd = open(path, O_RDONLY); in set_immutable()
44 static int get_immutable(const char *path) in get_immutable() argument
51 fd = open(path, O_RDONLY); in get_immutable()
70 const char *path; in main() local
75 fprintf(stderr, "usage: %s <path>\n", argv[0]); in main()
79 path = argv[1]; in main()
89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main()
103 rc = get_immutable(path); in main()
108 rc = set_immutable(path, in main()
[all...]
/third_party/NuttX/fs/vfs/
H A Dfs_symlink.c36 int follow_symlink(int dirfd, const char *path, struct Vnode **vnode, char **fullpath) in follow_symlink() argument
40 char *pathname = (char *)path; in follow_symlink()
43 if (path == NULL) { in follow_symlink()
93 int do_symlink(const char *target, int newfd, const char *path) in do_symlink() argument
102 if (!path) in do_symlink()
108 if (*path == '\0') in do_symlink()
120 ret = vfs_normalize_pathat(newfd, path, &fullpath); in do_symlink()
171 int symlink(const char *target, const char *path) in symlink() argument
173 return do_symlink(target, AT_FDCWD, path); in symlink()
176 int symlinkat(const char *target, int newdirfd, const char *path) in symlinkat() argument
[all...]
/third_party/json/docs/docset/
H A DMakefile30 */index.md) path=$${page/\/index.md/} ;; \
31 *) path=$${page/.md/} ;; \
33 title=$$(sqlite3 docSet.dsidx "SELECT name FROM searchIndex WHERE path='$$path/index.html'" | tr '\n' ',' | $(SED) -e 's/,/, /g' -e 's/, $$/\n/'); \
35 $(SED) -i "s%<title>.*</title>%<title>$$title</title>%" "JSON_for_Modern_C++.docset/Contents/Resources/Documents/$$path/index.html"; \
59 */index.md) path=$${page/\/index.md/} ;; \
60 *) path=$${page/.md/} ;; \
62 if [ "x$$page" != "xindex.md" -a "x$$(sqlite3 docSet.dsidx "SELECT COUNT(*) FROM searchIndex WHERE path='$$path/index.html'")" = "x0" ]; then \
70 @for path i
[all...]
/third_party/node/test/parallel/
H A Dtest-require-symlink.js13 const path = require('path');
22 const fixtureSource = fixtures.path(dirName);
23 const tmpDirTarget = path.join(tmpdir.path, dirName);
31 const fullPathSource = path.join(source, entry);
32 const fullPathTarget = path.join(target, entry);
46 // path.
47 process.chdir(tmpdir.path);
49 const linkDir = path
[all...]
/third_party/node/deps/openssl/openssl/crypto/rand/
H A Drand_egd.c21 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
26 int RAND_egd(const char *path) in RAND_egd() argument
31 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
47 char sun_path[108]; /* path name (gag) */
109 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
122 if (strlen(path) >= sizeof(addr.sun_path)) in RAND_query_egd_bytes()
124 strcpy(addr.sun_path, path); in RAND_query_egd_bytes()
125 i = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
204 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
208 num = RAND_query_egd_bytes(path, NUL in RAND_egd_bytes()
216 RAND_egd(const char *path) RAND_egd() argument
[all...]
/third_party/openssl/crypto/rand/
H A Drand_egd.c21 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
26 int RAND_egd(const char *path) in RAND_egd() argument
31 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
47 char sun_path[108]; /* path name (gag) */
109 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) in RAND_query_egd_bytes() argument
122 if (strlen(path) >= sizeof(addr.sun_path)) in RAND_query_egd_bytes()
124 strcpy(addr.sun_path, path); in RAND_query_egd_bytes()
125 i = offsetof(struct sockaddr_un, sun_path) + strlen(path); in RAND_query_egd_bytes()
204 int RAND_egd_bytes(const char *path, int bytes) in RAND_egd_bytes() argument
208 num = RAND_query_egd_bytes(path, NUL in RAND_egd_bytes()
216 RAND_egd(const char *path) RAND_egd() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/
H A Dcommit_id.py54 cwd = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')
55 aosp_angle_path = os.path.join(os.path.dirname('.'), 'external', 'angle')
56 if os.path.exists(aosp_angle_path):
59 git_dir_exists = os.path.exists(os.path.join(cwd, '.git', 'HEAD'))
72 ref_file_full_path = os.path.join(cwd, '.git', ref_file)
73 ref_file_exists = os.path
[all...]
/third_party/skia/src/gpu/v1/
H A DPathRenderer.cpp31 SkPath path; in validate() local
32 fShape->asPath(&path); in validate()
33 SkASSERT(!path.isInverseFillType()); in validate()
40 SkDEBUGCODE(SkPath path;) in getStencilSupport()
41 SkDEBUGCODE(shape.asPath(&path);) in getStencilSupport()
43 SkASSERT(!path.isInverseFillType()); in getStencilSupport()
64 SkPath path; in drawPath() local
65 args.fShape->asPath(&path); in drawPath()
73 void PathRenderer::GetPathDevBounds(const SkPath& path, in GetPathDevBounds() argument
77 if (path in GetPathDevBounds()
[all...]
/third_party/skia/tools/rebaseline/
H A Dtoggle_legacy_flag.py29 ANDROID_TOOLS_DIR = os.path.join(
30 os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
35 sys.path.append(ANDROID_TOOLS_DIR)
68 config_file = os.path.join('skia', 'config', 'SkUserConfig.h')
102 G3_SCRIPT_DIR = os.path.expanduser("~/skia-g3/scripts")
103 if not os.path.isdir(G3_SCRIPT_DIR):
109 sys.path.append(G3_SCRIPT_DIR)
145 args.chromium_dir = os.path
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypeGuardOfFormThisMemberErrors.js16 constructor(public path: string) {}
20 constructor(path: string, public content: string) { super(path); }
55 function FileSystemObject(path) {
56 this.path = path;
80 function File(path, content) {
81 var _this = _super.call(this, path) || this;
106 path: string;
112 constructor(path
[all...]
/third_party/skia/docs/examples/
H A Dexample3ps.cpp16 SkPath path; in REG_FIDDLE() local
17 path.moveTo(2, 2); in REG_FIDDLE()
18 path.lineTo(3, 3); in REG_FIDDLE()
19 path.lineTo(3, 4); in REG_FIDDLE()
20 path.lineTo(2, 4); in REG_FIDDLE()
21 path.lineTo(1, 5); in REG_FIDDLE()
22 path.close(); in REG_FIDDLE()
30 canvas->drawPath(path, p); in REG_FIDDLE()
38 canvas->drawPath(path, p); in REG_FIDDLE()
45 canvas->drawPath(path, in REG_FIDDLE()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/ia64/
H A Daliasing-test.c24 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem() argument
30 fd = open(path, O_RDWR); in map_mem()
32 perror(path); in map_mem()
36 if (fnmatch("/proc/bus/pci/*", path, 0) == 0) { in map_mem()
62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree() argument
69 n = scandir(path, &namelist, 0, alphasort); in scan_tree()
83 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree()
84 strcpy(path2, path); in scan_tree()
119 static int read_rom(char *path) in read_rom() argument
124 fd = open(path, O_RDW in read_rom()
147 scan_rom(char *path, char *file) scan_rom() argument
[all...]
/kernel/linux/linux-5.10/fs/configfs/
H A Dsymlink.c59 struct config_item *target, char *path) in configfs_get_target_path()
71 for (s = path; depth--; s += 3) in configfs_get_target_path()
74 fill_item_path(target, path, size); in configfs_get_target_path()
75 pr_debug("%s: path = '%s'\n", __func__, path); in configfs_get_target_path()
119 static int get_target(const char *symname, struct path *path, in get_target() argument
124 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
126 if (path->dentry->d_sb == sb) { in get_target()
127 *target = configfs_get_config_item(path in get_target()
58 configfs_get_target_path(struct config_item *item, struct config_item *target, char *path) configfs_get_target_path() argument
145 struct path path; configfs_symlink() local
[all...]
/kernel/linux/linux-6.6/fs/configfs/
H A Dsymlink.c57 struct config_item *target, char *path) in configfs_get_target_path()
69 for (s = path; depth--; s += 3) in configfs_get_target_path()
72 fill_item_path(target, path, size); in configfs_get_target_path()
73 pr_debug("%s: path = '%s'\n", __func__, path); in configfs_get_target_path()
117 static int get_target(const char *symname, struct path *path, in get_target() argument
122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
124 if (path->dentry->d_sb == sb) { in get_target()
125 *target = configfs_get_config_item(path in get_target()
56 configfs_get_target_path(struct config_item *item, struct config_item *target, char *path) configfs_get_target_path() argument
144 struct path path; configfs_symlink() local
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dtopology.c17 static int get_temp(char *path) in get_temp() argument
21 strcpy(path, TEMPL); in get_temp()
23 fd = mkstemp(path); in get_temp()
33 static int session_write_header(char *path) in session_write_header() argument
37 .path = path, in session_write_header()
62 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology() argument
66 .path = path, in check_cpu_topology()
207 char path[PATH_MA in test__session_topology() local
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Drealpath.c84 * tomoyo_get_absolute_path - Get the path of a dentry but ignores chroot'ed root.
86 * @path: Pointer to "struct path".
94 static char *tomoyo_get_absolute_path(const struct path *path, char * const buffer, in tomoyo_get_absolute_path() argument
101 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path()
103 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path()
115 * tomoyo_get_dentry_path - Get the path of a dentry.
145 * tomoyo_get_local_path - Get the path of a dentry.
225 * @path
237 tomoyo_realpath_from_path(const struct path *path) tomoyo_realpath_from_path() argument
301 struct path path; tomoyo_realpath_nofollow() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/ia64/
H A Daliasing-test.c24 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem() argument
30 fd = open(path, O_RDWR); in map_mem()
32 perror(path); in map_mem()
36 if (fnmatch("/proc/bus/pci/*", path, 0) == 0) { in map_mem()
62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree() argument
69 n = scandir(path, &namelist, 0, alphasort); in scan_tree()
83 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree()
84 strcpy(path2, path); in scan_tree()
119 static int read_rom(char *path) in read_rom() argument
124 fd = open(path, O_RDW in read_rom()
147 scan_rom(char *path, char *file) scan_rom() argument
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
H A DPrefixTree.java254 private RangeSpecification path = RangeSpecification.empty(); field in PrefixTree.TrimmingVisitor
258 RangeSpecification oldPath = path; in visit()
259 path = path.extendByMask(edge.getDigitMask()); in visit()
261 paths.add(path); in visit()
265 path = oldPath; in visit()
295 * of the "included" path as possible (node), potentially splitting into several sub-recursive
296 * steps if the current included edge overlaps with multiple "excluded" paths. Once a path no
301 DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) { in recursivelyMinimize()
309 minimal = minimal.union(RangeTree.from(path in recursivelyMinimize()
300 recursivelyMinimize( DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) recursivelyMinimize() argument
339 emit( DfaNode node, RangeSpecification path, RangeTree minimal, int minLength) emit() argument
[all...]

Completed in 40 milliseconds

1...<<31323334353637383940>>...394