/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 156 u8 path; in rtw_rx_fill_rx_status() local 198 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_rx_fill_rx_status() 199 rx_status->chains |= BIT(path); in rtw_rx_fill_rx_status() 200 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
|
/third_party/mesa3d/src/amd/common/ |
H A D | gfx10_format_table.py | 33 AMD_REGISTERS = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "../registers")) 34 UTIL_FORMAT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "../../util/format")) 35 sys.path.extend([AMD_REGISTERS, UTIL_FORMAT])
|
/third_party/node/lib/internal/fs/ |
H A D | watchers.js | 41 const { toNamespacedPath } = require('path'); 125 path: filename, 210 path: filename, 250 path: filename, 305 const path = toNamespacedPath(getValidatedPath(filename)); 344 path: filename, 355 const err = handle.start(path, persistent, recursive, encoding); 360 path: filename,
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 22 """Returns the path of the large_pdb_shim.cc file.""" 23 this_dir = os.path.abspath(os.path.dirname(__file__)) 24 src_dir = os.path.abspath(os.path.join(this_dir, "..", "..")) 25 win_data_dir = os.path.join(src_dir, "data", "win") 26 large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc") 131 """Returns the path to the PDB file that will be generated by a given 135 - Look for an explicit path in the VCLinkerTool configuration block. 146 The path o [all...] |
/third_party/musl/src/process/ |
H A D | posix_spawn.c | 18 const char *path; member 123 fd = __sys_open(op->path, op->oflag, op->mode); in child() 132 ret = __syscall(SYS_chdir, op->path); in child() 155 exec(args->path, args->argv, args->envp); in child() 170 int posix_spawn(pid_t *restrict res, const char *restrict path, in posix_spawn() argument 183 args.path = path; in posix_spawn()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
H A D | posix_spawn.c | 17 const char *path; member 122 fd = __sys_open(op->path, op->oflag, op->mode); in child() 131 ret = __syscall(SYS_chdir, op->path); in child() 154 exec(args->path, args->argv, args->envp); in child() 165 int posix_spawn(pid_t *restrict res, const char *restrict path, in posix_spawn() argument 179 args.path = path; in posix_spawn()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 22 """Returns the path of the large_pdb_shim.cc file.""" 23 this_dir = os.path.abspath(os.path.dirname(__file__)) 24 src_dir = os.path.abspath(os.path.join(this_dir, "..", "..")) 25 win_data_dir = os.path.join(src_dir, "data", "win") 26 large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc") 131 """Returns the path to the PDB file that will be generated by a given 135 - Look for an explicit path in the VCLinkerTool configuration block. 146 The path o [all...] |
/third_party/musl/libc-test/src/functionalext/dlns/ |
H A D | dlns_set_fun.c | 32 dlns_set_namespace_lib_path("dlns_set_namespace_lib_path_0100", path), ENOKEY); in dlns_set_namespace_lib_path_0100() 51 dlns_set_namespace_lib_path("dlns_set_namespace_lib_path_0200", path), EOK); in dlns_set_namespace_lib_path_0200() 65 EXPECT_EQ("dlns_set_namespace_lib_path_0300", dlns_set_namespace_lib_path(NULL, path), EINVAL); in dlns_set_namespace_lib_path_0300() 184 dlns_set_namespace_permitted_paths("dlns_set_namespace_permitted_paths_0200", path), EOK); in dlns_set_namespace_permitted_paths_0200() 212 dlns_set_namespace_permitted_paths("dlns_set_namespace_permitted_paths_0300", path), EOK); in dlns_set_namespace_permitted_paths_0300() 275 dlns_set_namespace_allowed_libs("dlns_set_namespace_allowed_libs_0100", path), ENOKEY); in dlns_set_namespace_allowed_libs_0100() 309 EXPECT_EQ("dlns_set_namespace_allowed_libs_0300", dlns_set_namespace_allowed_libs(NULL, path), EINVAL); in dlns_set_namespace_allowed_libs_0300()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | TrailingPathOptimizer.java | 76 // Start with the next path that might be a factor of all the remaining paths. in optimize() 84 // Factor all the remaining paths by the shortest path (where a missing result means it in optimize() 92 // If not all the remaining paths have the shortest path as a common factor, we're done (in in optimize() 98 // Shortest path is a factor of all remaining paths, so add a new path to the graph for it. in optimize() 100 // We're done with this path, but might still be able to find more factors of remaining paths. in optimize() 129 Node node, AnyPath path, MutableValueGraph<Node, SimpleEdge> g, Map<Node, AnyPath> anyPaths) { in recursivelyDetachTrailingPaths() 131 anyPaths.put(node, path); in recursivelyDetachTrailingPaths() 139 AnyPath newPath = path.extend(canTerminate(source, g)); in recursivelyDetachTrailingPaths() 186 Node node, Node end, AnyPath path, Nod in addPath() 128 recursivelyDetachTrailingPaths( Node node, AnyPath path, MutableValueGraph<Node, SimpleEdge> g, Map<Node, AnyPath> anyPaths) recursivelyDetachTrailingPaths() argument 185 addPath( Node node, Node end, AnyPath path, Node lastAdded, MutableValueGraph<Node, SimpleEdge> out) addPath() argument [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | app.rs | 2 #[path = "test.rs"] 12 use std::path::PathBuf; 82 path: include[1..include.len() - 1].to_owned(), 87 path: include.to_owned(), 95 for path in matches.get_many::<PathBuf>(OUTPUT).unwrap_or_default() { 96 outputs.push(if path.as_os_str() == "-" { 99 Output::File(path.clone()) 174 a path ending in `.h`."; in arg_header()
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | driver.py | 107 head, tail = os.path.splitext(gt) 136 if not os.path.exists(a): 138 if not os.path.exists(b): 140 return os.path.getmtime(a) >= os.path.getmtime(b) 154 if os.path.isfile(grammar_source): 156 pickled_name = _generate_pickle_name(os.path.basename(grammar_source)) 166 Calls load_grammar for each argument, a path to a grammar text file.
|
/third_party/python/Lib/ensurepip/ |
H A D | __init__.py | 3 import os.path namespace 32 def _find_packages(path): 35 filenames = os.listdir(path) 37 # Ignore: path doesn't exist or permission error 56 wheel_path = os.path.join(path, filename) 88 sys.path = {additional_paths or []} + sys.path 132 Note that calling this function will alter both sys.path and os.environ. 147 Note that calling this function will alter both sys.path an [all...] |
/third_party/skia/samplecode/ |
H A D | SampleShadowColor.cpp | 94 void drawShadowedPath(SkCanvas* canvas, const SkPath& path, in drawShadowedPath() argument 111 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, in drawShadowedPath() 128 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, in drawShadowedPath() 134 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, in drawShadowedPath() 147 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, in drawShadowedPath() 152 canvas->drawPath(path, paint); in drawShadowedPath() 159 canvas->drawPath(path, strokePaint); in drawShadowedPath()
|
/third_party/skia/src/effects/ |
H A D | Sk2DPathEffect.cpp | 26 uv parameter bounds for the path. Subsequent calls to 38 virtual void nextSpan(int x, int y, int ucount, SkPath* path) const { in nextSpan() 54 this->next(dst, x++, y, path); in nextSpan() 173 SkPath path; in CreateProc() local 174 buffer.readPath(&path); in CreateProc() 175 return SkPath2DPathEffect::Make(matrix, path); in CreateProc() 201 sk_sp<SkPathEffect> SkPath2DPathEffect::Make(const SkMatrix& matrix, const SkPath& path) { in Make() argument 202 return sk_sp<SkPathEffect>(new SkPath2DPathEffectImpl(matrix, path)); in Make()
|
/third_party/skia/third_party/externals/zlib/google/ |
H A D | zip_writer.cc | 30 DLOG(ERROR) << "Could not write data to zip for path " in AddFileContentToZip() 41 const base::FilePath& path, in OpenNewFileEntry() 44 std::string str_path = path.AsUTF8Unsafe(); in OpenNewFileEntry() 59 const base::FilePath& path, in AddFileEntryToZip() 65 if (!OpenNewFileEntry(zip_file, path, /*is_directory=*/false, in AddFileEntryToZip() 69 bool success = AddFileContentToZip(zip_file, std::move(file), path); in AddFileEntryToZip() 77 const base::FilePath& path, in AddDirectoryEntryToZip() 79 return OpenNewFileEntry(zip_file, path, /*is_directory=*/true, in AddDirectoryEntryToZip() 113 DLOG(ERROR) << "Couldn't create ZIP file at path " << zip_file_path; in Create() 40 OpenNewFileEntry(zipFile zip_file, const base::FilePath& path, bool is_directory, base::Time last_modified) OpenNewFileEntry() argument 58 AddFileEntryToZip(zipFile zip_file, const base::FilePath& path, base::File file) AddFileEntryToZip() argument 76 AddDirectoryEntryToZip(zipFile zip_file, const base::FilePath& path, base::Time last_modified) AddDirectoryEntryToZip() argument
|
/third_party/toybox/toys/other/ |
H A D | lsattr.c | 92 static void print_file_attr(char *path) in print_file_attr() argument 98 if (!stat(path, &sb) && !S_ISREG(sb.st_mode) && !S_ISDIR(sb.st_mode)) { in print_file_attr() 102 if (-1 == (fd=open(path, O_RDONLY | O_NONBLOCK))) goto LABEL1; in print_file_attr() 109 if (ext2_getflag(fd, &sb, &flag) < 0) perror_msg("reading flags '%s'", path); in print_file_attr() 116 xprintf("%-50s ", path); in print_file_attr() 132 xprintf("%s %s\n", toybuf, path); in print_file_attr() 138 LABEL1: perror_msg("reading '%s'", path); in print_file_attr()
|
/third_party/toybox/toys/pending/ |
H A D | mdev.c | 31 device name (prefix '='), path (prefix '=' and postfix '/') or create a 38 // mknod in /dev based on a path like "/sys/block/hda/hda1" 39 static void make_device(char *path) in make_device() argument 47 if (path) { in make_device() 50 temp = strrchr(path, '/'); in make_device() 51 fd = open(path, O_RDONLY); in make_device() 60 type = path[5]=='c' ? S_IFCHR : S_IFBLK; in make_device() 63 // if (!path), do hotplug in make_device() 72 if (!(path = getenv("DEVPATH"))) return; in make_device() 76 device_name = strrchr(path, '/') in make_device() [all...] |
/third_party/python/Lib/distutils/tests/ |
H A D | test_file_util.py | 29 self.source = os.path.join(tmp_dir, 'f1') 30 self.target = os.path.join(tmp_dir, 'f2') 31 self.target_dir = os.path.join(tmp_dir, 'd1') 98 self.assertTrue(os.path.samestat(st, st2), (st, st2)) 99 self.assertTrue(os.path.samestat(st2, st3), (st2, st3)) 115 self.assertTrue(os.path.samestat(st, st2), (st, st2)) 116 self.assertFalse(os.path.samestat(st2, st3), (st2, st3))
|
/third_party/skia/gm/ |
H A D | patch.cpp | 184 // These two should look the same (one patch, one simple path) 196 SkPath path; in DEF_SIMPLE_GM() local 197 path.moveTo(gCubics[0]); in DEF_SIMPLE_GM() 198 path.cubicTo(gCubics[ 1], gCubics[ 2], gCubics[ 3]); in DEF_SIMPLE_GM() 199 path.cubicTo(gCubics[ 4], gCubics[ 5], gCubics[ 6]); in DEF_SIMPLE_GM() 200 path.cubicTo(gCubics[ 7], gCubics[ 8], gCubics[ 9]); in DEF_SIMPLE_GM() 201 path.cubicTo(gCubics[10], gCubics[11], gCubics[ 0]); in DEF_SIMPLE_GM() 203 canvas->drawPath(path, paint); in DEF_SIMPLE_GM()
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
H A D | addr.rs | 9 use crate::path; 36 /// Construct a new Unix-domain address from a filesystem path. 38 pub fn new<P: path::Arg>(path: P) -> io::Result<Self> { in new() 39 path.into_with_c_str(Self::_new) in new() 43 fn _new(path: &CStr) -> io::Result<Self> { in _new() 45 let bytes = path.to_bytes_with_nul(); in _new() 144 /// For a filesystem path address, return the path. 146 pub fn path( functions [all...] |
/third_party/vk-gl-cts/scripts/build/ |
H A D | config.py | 68 for path in possiblePaths: 69 if os.path.exists(path): 70 return path 150 return os.path.join(os.path.dirname(basePath), buildType, os.path.basename(basePath) + ".exe")
|
/third_party/vk-gl-cts/scripts/ctsbuild/ |
H A D | config.py | 68 for path in possiblePaths: 69 if os.path.exists(path): 70 return path 150 return os.path.join(os.path.dirname(basePath), buildType, os.path.basename(basePath) + ".exe")
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksServices.cpp | 64 bool LoadPhysicalFile (const string& path, vector<u8>& content) in LoadPhysicalFile() argument 66 std::ifstream file(path, std::ios::binary); in LoadPhysicalFile() 80 bool GetFile (const string& path, vector<u8>& content, bool removeAfter) in GetFile() argument 82 return ServiceStore.Get(path, content, removeAfter) || LoadPhysicalFile(path, content); in GetFile() 85 bool AppendFile (const string& path, const vector<u8>& content, bool clear) in AppendFile() argument 89 std::ofstream file(path, mode); in AppendFile()
|
/third_party/python/Lib/test/ |
H A D | test_mailbox.py | 46 if os.path.isdir(target): 48 elif os.path.exists(target): 515 self.assertFalse(os.path.exists(self._get_lock_path())) 517 self.assertTrue(os.path.exists(self._get_lock_path())) 519 self.assertFalse(os.path.exists(self._get_lock_path())) 554 # Return the path of the dot lock file. May be overridden. 562 box = mailbox.Mailbox('path') 596 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory) 604 self.assertEqual(os.listdir(os.path [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | xattr.c | 663 struct path path; in path_setxattr() local 667 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr() 670 error = mnt_want_write(path.mnt); in path_setxattr() 672 error = setxattr(mnt_idmap(path.mnt), path.dentry, name, in path_setxattr() 674 mnt_drop_write(path.mnt); in path_setxattr() 676 path_put(&path); in path_setxattr() 782 struct path path; in path_getxattr() local 859 struct path path; path_listxattr() local 924 struct path path; path_removexattr() local [all...] |