/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 178 path: &CStr, in openat_via_syscall() 184 let path = c_str(path); in openat_via_syscall() 190 path, in openat_via_syscall() 200 path: &CStr, 208 return openat_via_syscall(dirfd, path, oflags, mode); 216 c_str(path), 258 pub(crate) fn readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, buf: &mut [u8]) -> io::Result<usize> { 262 c_str(path), 271 pub(crate) fn mkdirat(dirfd: BorrowedFd<'_>, path [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | patch_analog.c | 761 struct nid_path *path; in ad1988_auto_smux_enum_put() local 770 path = snd_hda_get_path_from_idx(codec, in ad1988_auto_smux_enum_put() 772 if (path) in ad1988_auto_smux_enum_put() 773 snd_hda_activate_path(codec, path, false, true); in ad1988_auto_smux_enum_put() 774 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[val]); in ad1988_auto_smux_enum_put() 775 if (path) in ad1988_auto_smux_enum_put() 776 snd_hda_activate_path(codec, path, true, true); in ad1988_auto_smux_enum_put() 802 struct nid_path *path; in ad1988_auto_init() local 803 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[i]); in ad1988_auto_init() 804 if (path) in ad1988_auto_init() 856 struct nid_path *path = snd_array_new(&spec->gen.paths); ad1988_add_spdif_mux_ctl() local [all...] |
/kernel/uniproton/src/fs/vfs/ |
H A D | vfs_fs.c | 58 S32 OsVfsOpen(const char *path, S32 flags, va_list ap) in OsVfsOpen() argument 67 if ((path == NULL) || (path[strlen(path) - 1] == '/')) { in OsVfsOpen() 77 mp = OsVfsFindMp(path, &pathInMp); in OsVfsOpen() 99 file->fullPath = strdup(path); in OsVfsOpen() 277 S32 OsVfsStat(const char *path, struct stat *stat) in OsVfsStat() argument 283 if ((path == NULL) || (stat == NULL)) { in OsVfsStat() 293 mp = OsVfsFindMp(path, &pathInMp); in OsVfsStat() 322 S32 OsVfsStatfs(const char *path, struc argument 355 OsVfsUnlink(const char *path) OsVfsUnlink() argument 483 OsVfsOpendir(const char *path) OsVfsOpendir() argument 602 OsVfsMkdir(const char *path, S32 mode) OsVfsMkdir() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_analog.c | 754 struct nid_path *path; in ad1988_auto_smux_enum_put() local 763 path = snd_hda_get_path_from_idx(codec, in ad1988_auto_smux_enum_put() 765 if (path) in ad1988_auto_smux_enum_put() 766 snd_hda_activate_path(codec, path, false, true); in ad1988_auto_smux_enum_put() 767 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[val]); in ad1988_auto_smux_enum_put() 768 if (path) in ad1988_auto_smux_enum_put() 769 snd_hda_activate_path(codec, path, true, true); in ad1988_auto_smux_enum_put() 795 struct nid_path *path; in ad1988_auto_init() local 796 path = snd_hda_get_path_from_idx(codec, spec->smux_paths[i]); in ad1988_auto_init() 797 if (path) in ad1988_auto_init() 849 struct nid_path *path = snd_array_new(&spec->gen.paths); ad1988_add_spdif_mux_ctl() local [all...] |
/third_party/python/Lib/urllib/ |
H A D | parse.py | 252 'SplitResult', 'scheme netloc path query fragment') 254 'ParseResult', 'scheme netloc path params query fragment') 272 SplitResult(scheme, netloc, path, query, fragment) 284 _SplitResultBase.path.__doc__ = """ 285 The hierarchical path, such as the path to a file to download. 290 in path component, identifies a resource in the scope of URI's scheme and 300 ParseResult(scheme, netloc, path, params, query, fragment) 307 _ParseResultBase.path.__doc__ = _SplitResultBase.path [all...] |
/third_party/python/Lib/test/ |
H A D | test_genericpath.py | 321 # os.path.commonprefix doesn't raise ValueError 366 for path in (None, True, 0, 2.5, [], bytearray(b''), {'o','o'}): 367 self.assertRaises(TypeError, normcase, path) 449 for path in (b'', b'foo', undecodable_path, b'/foo', b'C:\\'): 450 self.assertIsInstance(self.pathmodule.abspath(path), bytes) 460 for path in ('', '.', '/', '\\', '///foo/.//bar//'): 461 self.assertIsInstance(self.pathmodule.normpath(path), str) 464 for path in ('\x00', 'foo\x00bar', '\x00\x00', '\x00foo', 'foo\x00'): 465 self.assertEqual(self.pathmodule.normpath(path), path) [all...] |
/third_party/rust/crates/syn/src/ |
H A D | pat.rs | 35 /// A path pattern like `Color::Red`, optionally qualified with a 38 /// Unqualified path patterns can legally refer to variants, structs, 39 /// constants or associated constants. Qualified path patterns like 165 pub path: Path, 188 pub path: Path, 233 use crate::path; 394 let (qself, path) = path::parsing::qpath(input, true)?; in pat_path_or_macro_or_struct_or_range() 399 && path.is_mod_style() in pat_path_or_macro_or_struct_or_range() 406 path, in pat_path_or_macro_or_struct_or_range() [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | reiserfs.h | 2074 * search_by_key fills up the path from the root to the leaf as it descends 2087 /* Pointer to the buffer at the path in the tree. */ 2115 * of nodes is called the path. This information is used while 2116 * performing balancing. Note that this path information may become 2136 /* Array of the path elements. */ 2141 #define pos_in_item(path) ((path)->pos_in_item) 2146 /* Get path element by path and path positio 2226 tp_item_head(const struct treepath *path) tp_item_head() argument 2231 tp_item_body(const struct treepath *path) tp_item_body() argument 3277 struct treepath *path; global() member 3346 reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) reiserfs_new_unf_blocknrs() argument 3364 reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) reiserfs_new_unf_blocknrs2() argument [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | reiserfs.h | 2071 * search_by_key fills up the path from the root to the leaf as it descends 2084 /* Pointer to the buffer at the path in the tree. */ 2112 * of nodes is called the path. This information is used while 2113 * performing balancing. Note that this path information may become 2133 /* Array of the path elements. */ 2138 #define pos_in_item(path) ((path)->pos_in_item) 2143 /* Get path element by path and path positio 2223 tp_item_head(const struct treepath *path) tp_item_head() argument 2228 tp_item_body(const struct treepath *path) tp_item_body() argument 3277 struct treepath *path; global() member 3346 reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) reiserfs_new_unf_blocknrs() argument 3364 reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) reiserfs_new_unf_blocknrs2() argument [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ioctl.c | 822 pending_snapshot->path = btrfs_alloc_path(); in create_snapshot() 823 if (!pending_snapshot->root_item || !pending_snapshot->path) { in create_snapshot() 892 btrfs_free_path(pending_snapshot->path); in create_snapshot() 965 static noinline int btrfs_mksubvol(const struct path *parent, in btrfs_mksubvol() 1020 static noinline int btrfs_mksnapshot(const struct path *parent, in btrfs_mksnapshot() 1103 struct btrfs_path *path; in find_new_extents() local 1111 path = btrfs_alloc_path(); in find_new_extents() 1112 if (!path) in find_new_extents() 1120 ret = btrfs_search_forward(root, &min_key, path, newer_than); in find_new_extents() 1129 leaf = path in find_new_extents() 2116 copy_to_sk(struct btrfs_path *path, struct btrfs_key *key, struct btrfs_ioctl_search_key *sk, u64 *buf_size, char __user *ubuf, unsigned long *sk_offset, int *num_found) copy_to_sk() argument 2257 struct btrfs_path *path; search_ioctl() local 2400 struct btrfs_path *path; btrfs_search_path_in_tree() local 2485 struct btrfs_path *path; btrfs_search_path_in_tree_user() local 2732 struct btrfs_path *path; btrfs_ioctl_get_subvol_info() local 2854 struct btrfs_path *path; btrfs_ioctl_get_subvol_rootref() local 3448 struct btrfs_path *path = NULL; btrfs_ioctl_default_subvol() local 3872 struct btrfs_path *path; btrfs_ioctl_ino_to_path() local 3932 struct btrfs_path *path = NULL; btrfs_ioctl_logical_to_ino() local [all...] |
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | load_config.py | 21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ): 22 config_file = os.path.abspath(config_file) 47 if os.path.isfile(config_file):
|
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | load_config.py | 21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ): 22 config_file = os.path.abspath(config_file) 47 if os.path.isfile(config_file):
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-path-selector.h | 20 * We provide an abstraction for the code that chooses which path 29 /* Information about a path selector type */ 38 * Constructs a path selector object, takes custom arguments 44 * Add an opaque path object, along with some selector specific 45 * path args (eg, path priority). 47 int (*add_path) (struct path_selector *ps, struct dm_path *path, 51 * Chooses a path for this io, if no paths are available then 58 * Notify the selector that a path has failed. 63 * Ask selector to reinstate a path [all...] |
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
H A D | genpd.py | 17 path = kobj['name'].string() 20 path = kobject_get_path(parent) + '/' + path 21 return path
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | symlink.c | 55 static int ext4_encrypted_symlink_getattr(const struct path *path, in ext4_encrypted_symlink_getattr() argument 59 ext4_getattr(path, stat, request_mask, query_flags); in ext4_encrypted_symlink_getattr() 61 return fscrypt_symlink_getattr(path, stat); in ext4_encrypted_symlink_getattr()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-path-selector.h | 21 * We provide an abstraction for the code that chooses which path 31 * If a path selector uses this flag, a high resolution timer is used 33 * This improves performance of some path selectors (i.e. HST), in 35 * The extra cost is usually offset by improved path selection for 44 /* Information about a path selector type */ 54 * Constructs a path selector object, takes custom arguments 60 * Add an opaque path object, along with some selector specific 61 * path args (eg, path priority). 63 int (*add_path)(struct path_selector *ps, struct dm_path *path, [all...] |
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | genpd.py | 17 path = kobj['name'].string() 20 path = kobject_get_path(parent) + '/' + path 21 return path
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_utime.c | 50 int utime(const char *path, const struct utimbuf *ptimes) in utime() argument 60 if (path == NULL) { in utime() 65 if (!path[0]) { in utime() 70 ret = vfs_normalize_path((const char *)NULL, path, &fullpath); in utime()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | dlfcnndk.cpp | 28 const char *path = "/system/lib/extensionability/libstatic_subscriber_extension_module.z.so";
in DlSym() local 29 void *ptr = dlopen(path, RTLD_LAZY);
in DlSym() 39 const char *path = "/system/lib/extensionability/libstatic_subscriber_extension_module.z.so";
in DlVSym() local 40 void *ptr = dlopen(path, RTLD_LAZY);
in DlVSym()
|
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils_file.c | 47 int32_t ReadFileBuffer(const char* path, const char* fileName, char** outStr) in ReadFileBuffer() argument 49 if (path == NULL || fileName == NULL || outStr == NULL) { in ReadFileBuffer() 54 if (GetFileSize(path, fileName, &fileSize) != 0) { in ReadFileBuffer() 66 int32_t ret = ReadFile(path, fileName, buffer, bufferSize); in ReadFileBuffer()
|
/third_party/gn/src/base/files/ |
H A D | scoped_temp_dir.cc | 53 bool ScopedTempDir::Set(const FilePath& path) { in Set() argument 57 if (!DirectoryExists(path) && !base::CreateDirectory(path)) in Set() 60 path_ = path; in Set() 70 // We only clear the path if deleted the directory. in Delete()
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_readlink.c | 35 ssize_t do_readlink(int dirfd, const char *path, char *buf, size_t bufsize)
in do_readlink() argument 41 if (!path)
in do_readlink() 47 if (*path == '\0' || buf == NULL || bufsize < 0)
in do_readlink() 53 ret = vfs_normalize_pathat(dirfd, path, &fullpath);
in do_readlink()
|
/third_party/NuttX/fs/vfs/include/ |
H A D | driver.h | 97 * path - The path to the vnode to create 107 * EINVAL - 'path' is invalid for this operation 108 * EEXIST - An vnode already exists at 'path' 113 * The parameter path must point a valid string, which end with the terminating null byte. 114 * The total length of parameter path must less than the value defined by PATH_MAX. 115 * The prefix of the parameter path must be /dev/. 120 int register_driver(const char *path, 132 * The parameter path must point a valid string, which end with the terminating null byte. 133 * The length of parameter path mus [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/ |
H A D | ResultSubject.java | 46 public final void hasKey(RbPath path) { in hasKey() argument 47 hasKeyThat().isEqualTo(path); in hasKey() 50 public final void hasKey(String path) { in hasKey() argument 51 hasKey(RbPath.parse(path)); in hasKey()
|
/third_party/libunwind/libunwind/src/ptrace/ |
H A D | _UPT_get_dyn_info_list_addr.c | 39 char path[PATH_MAX]; in get_list_addr() local 51 if (elf_map_image (&ui->edi.ei, path) < 0) in get_list_addr() 55 Debug (16, "checking object %s\n", path); in get_list_addr() 57 if (tdep_find_unwind_table (&ui->edi, as, path, lo, off, 0) > 0) in get_list_addr()
|