/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | madvise.c | 22 const char *path = "madvise_function_test.c"; variable 26 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in openfile() 36 if (access(path, F_OK) == 0) { in clearfile() 37 remove(path); in clearfile()
|
/third_party/musl/libc-test/src/functionalext/supplement/process/ |
H A D | execvpe.c | 30 char *path = getenv("touch"); in execvpe_0100() local 35 int result = execvpe("touch", argv, &path); in execvpe_0100() 53 char *path = getenv("touch"); in execvpe_0200() local 59 int result = execvpe("touch", argv, &path); in execvpe_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | funlockfile.c | 22 const char *path = "/data/test.txt"; variable 28 FILE *filep = fopen(path, "r+"); in child_func() 80 FILE *fp = fopen(path, "w+"); in main() 88 remove(path); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | readv.c | 31 char path[PATH_MAX] = {0}; in readv_0100() local 32 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in readv_0100() 33 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in readv_0100() 62 remove(path); in readv_0100()
|
/third_party/rust/crates/clang-sys/ |
H A D | build.rs | 10 //! * `LLVM_CONFIG_PATH` - provides a path to an `llvm-config` executable 11 //! * `LIBCLANG_PATH` - provides a path to a directory containing a `libclang` 12 //! shared library or a path to a specific `libclang` shared library 13 //! * `LIBCLANG_STATIC_PATH` - provides a path to a directory containing LLVM 20 use std::path::Path; 22 #[path = "build/common.rs"] 24 #[path = "build/dynamic.rs"] 26 #[path = "build/static.rs"]
|
/third_party/vk-gl-cts/external/amber/src/tools/ |
H A D | update_build_version.py | 24 import os.path namespace 45 if not os.path.exists(directory): 68 '{}\n'.format(get_version_string(p, os.path.join(srcdir, p))) 73 if os.path.isfile(file):
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/file_hooking/ |
H A D | shader_cache_file_hooking.cpp | 25 int HookedOpen(const char *path, int flags, mode_t mode) in HookedOpen() argument 29 if (!std::regex_match(path, expr)) in HookedOpen() 31 return open(path, flags, mode); in HookedOpen() 35 std::cerr << "open(\"" << path << "\", \"" << flags << "\") is skipped" << std::endl; in HookedOpen()
|
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_wasm.py | 53 total_size_bytes_key: os.path.getsize(input_file) 62 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz') 64 name = os.path.basename(input_file) 76 with open(os.path.join(out_dir, name+'.json'), 'w') as output:
|
H A D | buildstats_web.py | 38 total_size_bytes_key: os.path.getsize(input_file) 47 r['gzip_size_bytes'] = os.path.getsize(temp_file + '.gz') 49 name = os.path.basename(input_file) 62 with open(os.path.join(out_dir, name+'.json'), 'w') as output:
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-getall.py | 23 path = wpas.GetInterface(ifname) 24 if_obj = bus.get_object("fi.w1.wpa_supplicant1", path) 28 print("GetAll(fi.w1.wpa_supplicant1.Interface, %s):" % (path)) 34 print("GetAll(fi.w1.wpa_supplicant1.Interface.WPS, %s):" % (path))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-getall.py | 23 path = wpas.GetInterface(ifname) 24 if_obj = bus.get_object("fi.w1.wpa_supplicant1", path) 28 print("GetAll(fi.w1.wpa_supplicant1.Interface, %s):" % (path)) 34 print("GetAll(fi.w1.wpa_supplicant1.Interface.WPS, %s):" % (path))
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | dev-replace.c | 82 struct btrfs_path *path = NULL; in btrfs_init_dev_replace() local 90 path = btrfs_alloc_path(); in btrfs_init_dev_replace() 91 if (!path) { in btrfs_init_dev_replace() 99 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace() 131 slot = path->slots[0]; in btrfs_init_dev_replace() 132 eb = path->nodes[0]; in btrfs_init_dev_replace() 233 btrfs_free_path(path); in btrfs_init_dev_replace() 239 * and path. 350 struct btrfs_path *path; in btrfs_run_dev_replace() local 368 path in btrfs_run_dev_replace() 456 struct btrfs_path *path; mark_block_group_to_copy() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | putil.cpp | 698 * To avoid checking lots of paths, just check that the target path 974 static char* searchForTZFile(const char* path, DefaultTZInfo* tzInfo) { in searchForTZFile() argument 980 /* Save the current path */ in searchForTZFile() 981 CharString curpath(path, -1, status); in searchForTZFile() 986 dirp = opendir(path); in searchForTZFile() 1013 /* If this new path is a directory, make a recursive call with the newpath. */ in searchForTZFile() 1125 // the other code path returns a pointer to a heap location. in uprv_tzname() 1155 /* The colon forces tzset() to treat the remainder as zoneinfo path */ in uprv_tzname() 1222 * the other code path returns a pointer to a heap location. */ in uprv_tzname() 1344 uprv_pathIsAbsolute(const char *path) in uprv_pathIsAbsolute() argument 1422 const char *path = NULL; dataDirectoryInitFn() local 1495 setTimeZoneFilesDir(const char *path, UErrorCode &status) setTimeZoneFilesDir() argument 1572 u_setTimeZoneFilesDirectory(const char *path, UErrorCode *status) u_setTimeZoneFilesDirectory() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | putil.cpp | 698 * To avoid checking lots of paths, just check that the target path 974 static char* searchForTZFile(const char* path, DefaultTZInfo* tzInfo) { in searchForTZFile() argument 980 /* Save the current path */ in searchForTZFile() 981 CharString curpath(path, -1, status); in searchForTZFile() 986 dirp = opendir(path); in searchForTZFile() 1013 /* If this new path is a directory, make a recursive call with the newpath. */ in searchForTZFile() 1125 // the other code path returns a pointer to a heap location. in uprv_tzname() 1155 /* The colon forces tzset() to treat the remainder as zoneinfo path */ in uprv_tzname() 1180 // which will not have "/zoneinfo/" in the path. in uprv_tzname() 1237 * the other code path return in uprv_tzname() 1359 uprv_pathIsAbsolute(const char *path) uprv_pathIsAbsolute() argument 1437 const char *path = nullptr; dataDirectoryInitFn() local 1510 setTimeZoneFilesDir(const char *path, UErrorCode &status) setTimeZoneFilesDir() argument 1587 u_setTimeZoneFilesDirectory(const char *path, UErrorCode *status) u_setTimeZoneFilesDirectory() argument [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | build-ideal-tree.js | 9 const { resolve, dirname } = require('path') 25 const fromPath = require('../from-path.js') 51 // Push items in, pop them sorted by depth and then path 93 depth.items.sort((a, b) => localeCompare(a.path, b.path)) 287 const pkg = await rpj(this.path + '/package.json') 304 path: this.path, 370 path: this.path, [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | putil.cpp | 698 * To avoid checking lots of paths, just check that the target path 965 static char* searchForTZFile(const char* path, DefaultTZInfo* tzInfo) { in searchForTZFile() argument 971 /* Save the current path */ in searchForTZFile() 972 CharString curpath(path, -1, status); in searchForTZFile() 977 dirp = opendir(path); in searchForTZFile() 1004 /* If this new path is a directory, make a recursive call with the newpath. */ in searchForTZFile() 1116 // the other code path returns a pointer to a heap location. in uprv_tzname() 1146 /* The colon forces tzset() to treat the remainder as zoneinfo path */ in uprv_tzname() 1213 * the other code path returns a pointer to a heap location. */ in uprv_tzname() 1335 uprv_pathIsAbsolute(const char *path) in uprv_pathIsAbsolute() argument 1413 const char *path = NULL; dataDirectoryInitFn() local 1486 setTimeZoneFilesDir(const char *path, UErrorCode &status) setTimeZoneFilesDir() argument 1563 u_setTimeZoneFilesDirectory(const char *path, UErrorCode *status) u_setTimeZoneFilesDirectory() argument [all...] |
/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...] |
/drivers/peripheral/camera/test/ut/usb_camera/ |
H A D | test_camera_base.cpp | 51 char path[pathLen] = {0}; in StoreImage() local 63 if (sprintf_s(path, sizeof(path), "%spicture_%ld.jpeg", prefix, start.tv_usec) < 0) { in StoreImage() 68 imgFD = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StoreImage() 74 CAMERA_LOGD("demo test:StoreImage %{public}s size == %{public}d\n", path, size); in StoreImage() 87 char path[pathLen] = {0}; in StoreVideo() local 95 if (sprintf_s(path, sizeof(path), "%svideo_%ld.yuv", prefix, start.tv_usec) < 0) { in StoreVideo() 99 int videoFd = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StoreVideo() 101 CAMERA_LOGE("demo test: StartVideo open %s %{public}s failed", path, strerro in StoreVideo() 116 char path[pathLen] = {0}; OpenVideoFile() local 191 char path[PATH_MAX] = {0}; SaveYUV() local [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...] |