/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | phy.h | 51 void rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path); 53 u8 path); 54 u8 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path); 81 #define RTW_DECL_TABLE_PHY_COND_CORE(name, cfg, path) \ 87 .rf_path = path, \ 93 #define RTW_DECL_TABLE_RF_RADIO(name, path) \ 94 RTW_DECL_TABLE_PHY_COND_CORE(name, rtw_phy_cfg_rf, RF_PATH_ ## path) 149 rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path,
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
H A D | fanotify.h | 3 #include <linux/path.h> 231 struct path path; member 249 struct path path; member 278 static inline struct path *fanotify_event_path(struct fanotify_event *event) in fanotify_event_path() 281 return &FANOTIFY_PE(event)->path; in fanotify_event_path() 283 return &FANOTIFY_PERM(event)->path; in fanotify_event_path()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | namespace.c | 132 /* Return full path out of a dentry set for automount */ 189 static struct vfsmount *cifs_do_automount(struct path *path) in cifs_do_automount() argument 192 struct dentry *mntpt = path->dentry; in cifs_do_automount() 205 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); in cifs_do_automount() 257 struct vfsmount *cifs_d_automount(struct path *path) in cifs_d_automount() argument 261 cifs_dbg(FYI, "%s: %pd\n", __func__, path->dentry); in cifs_d_automount() 263 newmnt = cifs_do_automount(path); in cifs_d_automount()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | phy.h | 51 void rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path); 53 u8 path); 54 u8 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path); 86 #define RTW_DECL_TABLE_PHY_COND_CORE(name, cfg, path) \ 92 .rf_path = path, \ 98 #define RTW_DECL_TABLE_RF_RADIO(name, path) \ 99 RTW_DECL_TABLE_PHY_COND_CORE(name, rtw_phy_cfg_rf, RF_PATH_ ## path) 155 rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path,
|
/third_party/icu/icu4c/source/test/depstest/ |
H A D | depstest.py | 31 import os.path namespace 66 path = os.path.join(root_path, library_name, obj_name) 68 "--extern-only", "--no-sort", path], 100 obj_paths = glob.glob(os.path.join(root_path, library_name, "*.o")) 101 for path in obj_paths: 102 _ReadObjFile(root_path, library_name, os.path.basename(path)) 219 "need one argument with the root path to the built ICU libraries/*.o files."))
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_open.c | 84 int get_path_from_fd(int fd, char **path) in get_path_from_fd() argument 111 *path = copypath; in get_path_from_fd() 140 PRINT_ERR("alloc path cache %s failed\n", name); in do_creat() 145 int fp_open(int dirfd, const char *path, int oflags, mode_t mode) in fp_open() argument 155 ret = follow_symlink(dirfd, path, &vnode, &fullpath); in fp_open() 318 int do_open(int dirfd, const char *path, int oflags, mode_t mode) in do_open() argument 329 fd = fp_open(dirfd, path, oflags, mode); in do_open() 350 int open(const char *path, int oflags, ...) in open() argument 360 return do_open(AT_FDCWD, path, oflags, mode); in open()
|
/third_party/libunwind/libunwind/src/ |
H A D | os-linux.h | 37 char *path; member 68 char path[sizeof ("/proc/0123456789/maps")], *cp; in maps_init() local 70 memcpy (path, "/proc/", 6); in maps_init() 71 cp = unw_ltoa (path + 6, pid); in maps_init() 72 assert (cp + 6 < path + sizeof (path)); in maps_init() 75 mi->fd = open (path, O_RDONLY); in maps_init() 273 cp = mi->path = skip_whitespace (cp); in maps_next()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/ |
H A D | main.c | 182 char uri[128], path[128]; in sequencer_start_client() local 197 path[0] = '/'; in sequencer_start_client() 201 lws_strncpy(&path[n], path1, sizeof(path) - 1); in sequencer_start_client() 203 i.path = path; in sequencer_start_client() 216 __func__, prot, i.address, i.port, path); in sequencer_start_client() 229 s->cwsi, prot, i.address, i.port, path); in sequencer_start_client()
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | run.js | 13 const path = require('path'); 74 const inputDir = path.resolve(program.input_dir); 118 path.resolve(program.input_dir), 139 .option('-i, --input_dir <path>', 'Input directory.') 140 .option('-o, --output_dir <path>', 'Output directory.') 144 .option('-m, --mutate <path>', 'Mutate a file and output results.') 188 const absPath = path.resolve(program.mutate); 189 const baseDir = path.dirname(absPath); 190 const fileName = path [all...] |
/third_party/node/deps/v8/tools/ |
H A D | adb-d8.py | 39 filename = os.path.abspath(filename) 43 if not os.path.isfile(filename): 47 sys.stdout.write("Serving {}\r\n".format(os.path.relpath(filename))) 92 os.path.join(build_dir, filename), 114 # Don't use os.path.join for d8 because we care about the device's os, not 156 script_dir = os.path.dirname(sys.argv[0]) 159 adb = os.path.join( 204 build_dir = os.path.abspath(sys.argv[arg_index]) 209 script_root_dir = os.path.abspath(os.curdir)
|
/third_party/nghttp2/script/ |
H A D | fetch-ocsp-response | 55 import os.path namespace 103 def read_file(path): 104 with open(path, 'rb') as f: 108 def write_file(path, data): 109 with open(path, 'wb') as f: 159 verify_fn = os.path.join(tempdir, 'verify.out') 201 issuer_fn = os.path.join(tempdir, 'issuer.crt') 204 respder_fn = os.path.join(tempdir, 'resp.der') 240 help='path to certificate file to validate')
|
/third_party/node/deps/npm/lib/commands/ |
H A D | run-script.js | 66 async run ([event, ...args], { path = this.npm.localPrefix, pkg } = {}) { 72 const { content } = await pkgJson.normalize(path) 87 !(event === 'start' && (await isServerPackage(path))) 93 const suggestions = await didYouMean(path, event) 112 path, 129 async list (args, path) { 131 const { content: { scripts, name, _id } } = await pkgJson.normalize(path || this.npm.localPrefix) 203 path: workspacePath,
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | index.js | 29 const { resolve } = require('path') 83 path: options.path || '.', 99 this.path = resolve(this.options.path) 117 const path = wsMap.get(name) 118 if (!path) { 123 const loc = relpath(tree.realpath, path) 202 cwd: node.path,
|
/third_party/libinput/tools/ |
H A D | libinput-measure-touchpad-tap.py | 89 def __init__(self, path): 90 if path is None: 91 self.path = self._find_touch_device() 93 self.path = path 94 fd = open(self.path, "rb") 97 print("Using {}: {}\n".format(self.name, self.path)) 245 "path", 265 device = Device(args.path)
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap05.c | 59 static char *path, *pathover; variable 71 static int checksys(char *path, char *pattern, long exp_val); 192 path = path_sys_sz_huge; in setup() 195 path = PATH_PROC_HUGE; in setup() 214 SAFE_FILE_PRINTF(path, "%ld", size); in setup() 215 SAFE_FILE_SCANF(path, "%lu", &hpages); in setup() 259 static int checksys(char *path, char *string, long exp_val) in checksys() argument 263 SAFE_FILE_SCANF(path, "%ld", &act_val); in checksys()
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
H A D | acl1.c | 299 printf("path = %s **** errno = %d", dir, errno); in test_acl_default() 300 char *path = strcat(dir, "/testfile"); in test_acl_default() local 301 fopen(path, "w+"); in test_acl_default() 308 acl2 = acl_get_file(path, ACL_TYPE_ACCESS); in test_acl_default() 310 test1(path); in test_acl_default() 311 test2(path); in test_acl_default() 312 test3(path); in test_acl_default() 313 test4(path); in test_acl_default() 314 test5(path); in test_acl_default()
|
/third_party/node/deps/v8/src/torque/ |
H A D | torque-compiler.cc | 21 base::Optional<std::string> ReadFile(const std::string& path) { in ReadFile() argument 22 std::ifstream file_stream(path); in ReadFile() 29 void ReadAndParseTorqueFile(const std::string& path) { in ReadAndParseTorqueFile() argument 30 SourceId source_id = SourceFileMap::AddSource(path); in ReadAndParseTorqueFile() 33 // path might be either a normal file path or an encoded URI. in ReadAndParseTorqueFile() 36 if (auto maybe_path = FileUriDecode(path)) { in ReadAndParseTorqueFile() 42 Error("Cannot open file path/uri: ", path).Throw(); in ReadAndParseTorqueFile() 151 for (const auto& path in CompileTorque() [all...] |
/third_party/protobuf/benchmarks/python/ |
H A D | py_benchmark.py | 29 sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) + "/.libs" ) 31 sys.path.append( os.path.dirname( os.path.dirname( os.path.abspath(__file__) ) ) + "/tmp" )
|
/third_party/python/Lib/multiprocessing/ |
H A D | spawn.py | 25 # _python_exe is the assumed path to the python executable. 47 set_executable(os.path.join(sys.exec_prefix, 'python.exe')) 167 sys_path=sys.path.copy() 193 if (not os.path.isabs(main_path) and 195 main_path = os.path.join(process.ORIGINAL_DIR, main_path) 196 d['init_main_from_path'] = os.path.normpath(main_path) 223 sys.path = data['sys_path'] 277 main_name = os.path.splitext(os.path.basename(main_path))[0] 286 # If the parent process has sent a path throug [all...] |
/third_party/skia/src/gpu/geometry/ |
H A D | GrShape.h | 45 * to a point or line, not empty. This is to preserve geometric data for path effects and strokes. 61 // The fill rule that is used by asPath() for shapes that aren't already a path. 68 explicit GrShape(const SkPath& path) { this->setPath(path); } in GrShape() argument 102 // Returns the path direction extracted from the path during simplification, if the shape's 105 // Returns the start index extracted from the path during simplification, if the shape's 139 SkPath& path() { SkASSERT(this->isPath()); return fPath; } in path() function in GrShape 140 const SkPath& path() const { SkASSERT(this->isPath()); return fPath; } in path() function in GrShape 153 // path, sinc 174 setPath(const SkPath& path) setPath() argument [all...] |
H A D | GrStyledShape.h | 23 * Represents a geometric shape (rrect or path) and the GrStyle that it should be rendered with. 26 * the path effect from the style. In this case the resulting shape will include any remaining 27 * stroking information that is to be applied after the path effect. 35 * Currently this can only be constructed from a path, rect, or rrect though it can become a path 41 // Keys for paths may be extracted from the path data for small paths. Clients aren't supposed 49 explicit GrStyledShape(const SkPath& path, DoSimplify doSimplify = DoSimplify::kYes) in GrStyledShape() argument 50 : GrStyledShape(path, GrStyle::SimpleFill(), doSimplify) {} in GrStyledShape() 58 GrStyledShape(const SkPath& path, const SkPaint& paint, in GrStyledShape() argument 60 : GrStyledShape(path, GrStyl in GrStyledShape() 70 GrStyledShape(const SkPath& path, const GrStyle& style, DoSimplify doSimplify = DoSimplify::kYes) GrStyledShape() argument [all...] |
/third_party/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 70 * Draw a single path element of the clip stack into the accumulation bitmap 83 SkPath path; in drawShape() local 84 shape.asPath(&path); in drawShape() 87 fDraw.drawPathCoverage(path, paint); in drawShape() 89 fDraw.drawPath(path, paint); in drawShape() 121 SkPath path; in drawShape() local 122 shape.asPath(&path); in drawShape() 125 fDraw.drawPathCoverage(path, paint); in drawShape() 127 fDraw.drawPath(path, paint); in drawShape()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | spdy_fileserver.c | 146 const char *path, in standard_request_handler() 173 //printf("received request for '%s %s %s'\n", method, path, version); in standard_request_handler() 174 if(strlen(path) > 1 && NULL == strstr(path, "..") && '/' == path[0]) in standard_request_handler() 176 asprintf(&fname,"%s%s",basedir,path); in standard_request_handler() 212 GET_MIME_TYPE(path,mime); in standard_request_handler() 248 if(strcmp(path,"/close")==0) in standard_request_handler() 254 printf("Not found %s\n",path); in standard_request_handler() 142 standard_request_handler(void *cls, struct SPDY_Request * request, uint8_t priority, const char *method, const char *path, const char *version, const char *host, const char *scheme, struct SPDY_NameValue * headers, bool more) standard_request_handler() argument
|
/third_party/skia/tests/ |
H A D | PathOpsSimplifyRectThreadedTest.cpp | 41 SkPath path, out; in testSimplify4x4RectsMain() local 65 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 68 pathStr.appendf(" path.addRect(%d, %d, %d, %d," in testSimplify4x4RectsMain() 97 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 100 pathStr.appendf(" path.addRect(%d, %d, %d, %d," in testSimplify4x4RectsMain() 129 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 132 pathStr.appendf(" path.addRect(%d, %d, %d, %d," in testSimplify4x4RectsMain() 161 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 164 pathStr.appendf(" path.addRect(%d, %d, %d, %d," in testSimplify4x4RectsMain() 172 path in testSimplify4x4RectsMain() [all...] |
/third_party/skia/tools/fonts/ |
H A D | RandomScalerContext.cpp | 69 SkPath path; in generateMetrics() local 70 if (!fProxy->getPath(glyph->getPackedID(), &path)) { in generateMetrics() 78 paint.doComputeFastBounds(path.getBounds(), &storage, SkPaint::kFill_Style); in generateMetrics() 110 // If the format is ARGB, just draw the glyph from path. in generateImage() 111 SkPath path; in generateImage() local 112 if (!fProxy->getPath(glyph.getPackedID(), &path)) { in generateImage() 125 canvas.drawPath(path, this->getRandomTypeface()->paint()); in generateImage() 128 bool RandomScalerContext::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath() argument 129 return fProxy->generatePath(glyph, path); in generatePath()
|