/kernel/linux/linux-5.10/fs/autofs/ |
H A D | root.c | 25 static struct vfsmount *autofs_d_automount(struct path *); 26 static int autofs_d_manage(const struct path *, bool); 240 static int autofs_mount_wait(const struct path *path, bool rcu_walk) in autofs_mount_wait() argument 242 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait() 243 struct autofs_info *ino = autofs_dentry_ino(path->dentry); in autofs_mount_wait() 249 pr_debug("waiting for mount name=%pd\n", path->dentry); in autofs_mount_wait() 250 status = autofs_wait(sbi, path, NFY_MOUNT); in autofs_mount_wait() 260 static int do_expire_wait(const struct path *path, boo argument 284 autofs_mountpoint_changed(struct path *path) autofs_mountpoint_changed() argument 309 autofs_d_automount(struct path *path) autofs_d_automount() argument 397 autofs_d_manage(const struct path *path, bool rcu_walk) autofs_d_manage() argument [all...] |
/kernel/linux/linux-6.6/fs/autofs/ |
H A D | root.c | 28 static struct vfsmount *autofs_d_automount(struct path *); 29 static int autofs_d_manage(const struct path *, bool); 245 static int autofs_mount_wait(const struct path *path, bool rcu_walk) in autofs_mount_wait() argument 247 struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb); in autofs_mount_wait() 248 struct autofs_info *ino = autofs_dentry_ino(path->dentry); in autofs_mount_wait() 254 pr_debug("waiting for mount name=%pd\n", path->dentry); in autofs_mount_wait() 255 status = autofs_wait(sbi, path, NFY_MOUNT); in autofs_mount_wait() 265 static int do_expire_wait(const struct path *path, boo argument 289 autofs_mountpoint_changed(struct path *path) autofs_mountpoint_changed() argument 331 autofs_d_automount(struct path *path) autofs_d_automount() argument 419 autofs_d_manage(const struct path *path, bool rcu_walk) autofs_d_manage() argument [all...] |
/third_party/skia/samplecode/ |
H A D | SamplePath.cpp | 52 SkPath path; in test_cubic2() local 53 SkParsePath::FromSVGString(str, &path); in test_cubic2() 56 SkRect r = path.getBounds(); in test_cubic2() 71 canvas.drawPath(path, paint); in test_cubic2() 135 void drawPath(SkCanvas* canvas, const SkPath& path, SkPaint::Join j) { in drawPath() argument 146 paint.getFillPath(path, &fill); in drawPath() 150 canvas->drawPath(path, paint); in drawPath() 155 canvas->drawPath(path, paint); in drawPath() 259 void makePath(SkPath* path) { in makePath() argument 260 path in makePath() 272 SkPath path; global() variable 368 makePath(SkPath* path) makePath() argument 388 SkPath path; global() variable 472 SkPath path; global() variable 697 SkPath path; global() variable [all...] |
H A D | SampleSlides.cpp | 67 static void scale(SkPath* path, SkScalar scale) { in scale() argument 70 path->transform(m); in scale() 74 SkPath path; in one_d_pe() local 75 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); in one_d_pe() 77 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in one_d_pe() 78 path.close(); in one_d_pe() 79 path.offset(SkIntToScalar(-6), 0); in one_d_pe() 80 scale(&path, 1.5f); in one_d_pe() 82 paint->setPathEffect(SkPath1DPathEffect::Make(path, SkIntToScalar(21), 0, in one_d_pe() 103 SkPath path; in MakeTileEffect() local 120 SkPath path; patheffect_slide() local [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-ofono.c | 64 char *path; member 163 pa_assert_se(m = dbus_message_new_method_call(t->owner, t->path, "org.ofono.HandsfreeAudioCard", method)); in card_send() 247 static void hf_audio_agent_card_removed(pa_bluetooth_backend *backend, const char *path); 256 hf_audio_agent_card_removed(card->backend, card->path); in device_unlink_cb() 261 static struct hf_audio_card *hf_audio_card_new(pa_bluetooth_backend *backend, const char *path) { in hf_audio_card_new() argument 264 card->path = pa_xstrdup(path); in hf_audio_card_new() 284 pa_xfree(card->path); in hf_audio_card_free() 361 pa_log_info("Transport %s already released", t->path); in hf_audio_agent_transport_release() 371 static void hf_audio_agent_card_found(pa_bluetooth_backend *backend, const char *path, DBusMessageIte argument 439 hf_audio_agent_card_removed(pa_bluetooth_backend *backend, const char *path) hf_audio_agent_card_removed() argument 477 const char *path; hf_audio_agent_get_cards_reply() local 549 const char *path = HF_AUDIO_AGENT_PATH; hf_audio_agent_register() local 567 const char *path = HF_AUDIO_AGENT_PATH; hf_audio_agent_unregister() local 678 const char *sender, *path; hf_audio_agent_new_connection() local 732 const char *path, *interface, *member; hf_audio_agent_handler() local [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | kfigure.py | 52 from os import path namespace 86 if path.isfile(fname): 90 if not path.isdir(folder): 105 return (path.exists(path1) 256 fname, in_ext = path.splitext(path.basename(img_node['uri'])) 258 src_fname = path.join(translator.builder.srcdir, img_node['uri']) 259 if not path.exists(src_fname): 260 src_fname = path.join(translator.builder.outdir, img_node['uri']) 276 dst_fname = path [all...] |
/third_party/libcoap/tests/ |
H A D | test_uri.c | 30 CU_ASSERT(uri.path.length == 16); in t_parse_uri1() 31 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri1() 53 CU_ASSERT(uri.path.length == 16); in t_parse_uri2() 54 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri2() 76 CU_ASSERT(uri.path.length == 0); in t_parse_uri3() 106 CU_ASSERT(uri.path.length == 0); in t_parse_uri5() 107 CU_ASSERT(uri.path.s == NULL); in t_parse_uri5() 131 CU_ASSERT(uri.path.length == 16); in t_parse_uri6() 132 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16); in t_parse_uri6() 149 /* The list of path segment in t_parse_uri7() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
H A D | bloat.py | 56 Yields: (symbol name, symbol type, symbol size, source file path). 79 path = match.group(4) 80 yield sym, type, size, path 209 for sym, type, size, path in symbols: 210 if path: 211 path = os.path.normpath(path) 212 if strip_prefix and path.startswith(strip_prefix): 213 path 424 path = '' global() variable [all...] |
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_refactor.py | 18 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data") 19 FIXER_DIR = os.path.join(TEST_DATA_DIR, "fixers") 21 sys.path.append(FIXER_DIR) 25 sys.path.pop() 32 sys.path.append(FIXER_DIR) 35 sys.path.pop() 207 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 224 test_file = os.path [all...] |
H A D | test_main.py | 15 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data") 16 PY2_TEST_MODULE = os.path.join(TEST_DATA_DIR, "py2_test_grammar.py") 59 self.py2_src_dir = os.path.join(self.temp_dir, "python2_project") 60 self.py3_dest_dir = os.path.join(self.temp_dir, "python3_project") 65 open(os.path.join(self.py2_src_dir, "__init__.py"), "w").close() 68 self.setup_files.append(os.path.basename(PY2_TEST_MODULE)) 69 self.trivial_py2_file = os.path.join(self.py2_src_dir, "trivial.py") 70 self.init_py2_file = os.path.join(self.py2_src_dir, "__init__.py") 96 os.path [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | util.py | 8 import os.path namespace 26 EXTENSIONS.path = None 34 for path in sys.path: 37 file_path = os.path.join(path, filename) 38 if os.path.exists(file_path): 39 EXTENSIONS.path = path 93 if not os.path [all...] |
/third_party/vk-gl-cts/scripts/ |
H A D | run_nightly.py | 34 BASE_NIGHTLY_DIR = os.path.normpath(os.path.join(DEQP_DIR, "..", "deqp-nightly")) 35 BASE_BUILD_DIR = os.path.join(BASE_NIGHTLY_DIR, "build") 36 BASE_LOGS_DIR = os.path.join(BASE_NIGHTLY_DIR, "logs") 37 BASE_REFS_DIR = os.path.join(BASE_NIGHTLY_DIR, "refs") 43 CASELIST_PATH = os.path.join(DEQP_DIR, "Candy", "Data") 98 return os.path.join(self.buildConfig.getBuildDir(), self.generator.getBinaryPath(self.buildConfig.getBuildType(), basePath)) 102 BuildConfig.__init__(self, os.path.join(BASE_BUILD_DIR, name), buildType, args) 133 batchResult = BatchResult(batchResultName if batchResultName != None else os.path.basename(filename)) 143 fullPath = os.path [all...] |
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | misc.c | 154 * convert_to_nt_pathname() - extract and return windows path string 155 * whose share directory prefix was removed from file path 157 * @path: path to report 159 * Return : windows path string or error 163 const struct path *path) in convert_to_nt_pathname() 172 ab_pathname = d_path(path, pathname, PATH_MAX); in convert_to_nt_pathname() 178 if (strncmp(ab_pathname, share->path, share_path_len)) { in convert_to_nt_pathname() 210 void ksmbd_conv_path_to_unix(char *path) in ksmbd_conv_path_to_unix() argument 162 convert_to_nt_pathname(struct ksmbd_share_config *share, const struct path *path) convert_to_nt_pathname() argument 215 ksmbd_strip_last_slash(char *path) ksmbd_strip_last_slash() argument 225 ksmbd_conv_path_to_windows(char *path) ksmbd_conv_path_to_windows() argument [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | adp.c | 62 void fs_show(const char *path) in fs_show() argument 66 if (path == NULL) { in fs_show() 67 PRINTK("path is NULL\n"); in fs_show() 70 ret = statfs(path, &fss); in fs_show() 71 PRINTK("Filesystem %s info: \n", path); in fs_show() 165 char *basename(const char *path) in basename() argument 171 if ((path != NULL) && *path) { in basename() 172 first = (CHAR *)path; in basename() 173 last = (CHAR *)path in basename() [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | resolver.py | 38 def add_path_resolver(cls, tag, path, kind=None): 40 # `new_path` is a pattern that is matched against the path from the 54 for element in path: 62 raise ResolverError("Invalid path element: %s" % element) 98 for path, kind in self.resolver_prefix_paths[-1]: 99 if self.check_resolver_prefix(depth, path, kind, 101 if len(path) > depth: 102 prefix_paths.append((path, kind)) 104 exact_paths[kind] = self.yaml_path_resolvers[path, kind] 106 for path, kin [all...] |
/third_party/node/lib/ |
H A D | os.js | 182 let path; 184 path = process.env.TEMP || 187 if (path.length > 1 && StringPrototypeEndsWith(path, '\\') && 188 !StringPrototypeEndsWith(path, ':\\')) 189 path = StringPrototypeSlice(path, 0, -1); 191 path = safeGetenv('TMPDIR') || 195 if (path.length > 1 && StringPrototypeEndsWith(path, '/')) [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | xcode_ninja.py | 24 (build_file_root, build_file_ext) = os.path.splitext(main_gyp) 28 workspace_path = os.path.join(options.generator_output, workspace_path) 38 name = os.path.splitext(os.path.basename(gyp_name))[0] + ".xcodeproj" 43 workspace_file = os.path.join(workspace_path, "contents.xcworkspacedata") 60 # Determine ninja top level build dir (e.g. /path/to/out). 65 ninja_toplevel = os.path.join( 174 data: Dict of flattened build files keyed on gyp path. 187 (build_file_root, build_file_ext) = os.path.splitext(orig_gyp) 254 base = os.path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcode_ninja.py | 24 (build_file_root, build_file_ext) = os.path.splitext(main_gyp) 28 workspace_path = os.path.join(options.generator_output, workspace_path) 38 name = os.path.splitext(os.path.basename(gyp_name))[0] + ".xcodeproj" 43 workspace_file = os.path.join(workspace_path, "contents.xcworkspacedata") 60 # Determine ninja top level build dir (e.g. /path/to/out). 65 ninja_toplevel = os.path.join( 174 data: Dict of flattened build files keyed on gyp path. 187 (build_file_root, build_file_ext) = os.path.splitext(orig_gyp) 254 base = os.path [all...] |
/third_party/libfuse/example/ |
H A D | invalidate_path.c | 83 static int xmp_getattr(const char *path, in xmp_getattr() argument 86 if (strcmp(path, "/") == 0) { in xmp_getattr() 90 } else if (strcmp(path, "/" TIME_FILE_NAME) == 0) { in xmp_getattr() 95 } else if (strcmp(path, "/" GROW_FILE_NAME) == 0) { in xmp_getattr() 107 static int xmp_readdir(const char *path, void *buf, fuse_fill_dir_t filler, in xmp_readdir() argument 113 if (strcmp(path, "/") != 0) { in xmp_readdir() 127 static int xmp_open(const char *path, struct fuse_file_info *fi) { in xmp_open() argument 128 (void) path; in xmp_open() 135 static int xmp_read(const char *path, char *buf, size_t size, off_t offset, in xmp_read() argument 139 if (strcmp(path, "/" TIME_FILE_NAM in xmp_read() 179 invalidate(struct fuse *fuse, const char *path) invalidate() argument [all...] |
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.py | 65 def install(self, path): 66 self.command="'cd "+path+"; tar xzf "+SRC+"; cd locks; make'" 72 def cp(self, fichier, path): 73 command="scp "+fichier+" "+user+"@"+self.machine+":"+path 123 path=os.path.abspath(".") 129 c.mkdir(path) 130 c.cp(fichier, path) 131 c.install(path) 140 path [all...] |
/third_party/rust/crates/clang-sys/build/ |
H A D | dynamic.rs | 6 use std::path::{Path, PathBuf}; 15 fn parse_elf_header(path: &Path) -> io::Result<u8> { in parse_elf_header() 16 let mut file = File::open(path)?; in parse_elf_header() 27 fn parse_pe_header(path: &Path) -> io::Result<u16> { in parse_pe_header() 28 let mut file = File::open(path)?; in parse_pe_header() 52 fn validate_library(path: &Path) -> Result<(), String> { in validate_library() 54 let class = parse_elf_header(path).map_err(|e| e.to_string())?; in validate_library() 66 let magic = parse_pe_header(path).map_err(|e| e.to_string())?; in validate_library() 146 let path = directory.join(&filename); in search_libclang_directories() 147 match validate_library(&path) { in search_libclang_directories() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | grep.py | 31 io: iomenu.IOBinding instance with default path to search. 57 yield from (os.path.join(dirpath, name) 79 globvar: String value of Entry widget for path to search. 99 io: iomenu.IOBinding instance containing file path. 103 path = io.filename or "" 105 path = "" 106 dir, base = os.path.split(path) 107 head, tail = os.path.splitext(base) 110 self.globvar.set(os.path [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | retrace_restricted_traces.py | 33 script_dir = os.path.dirname(sys.argv[0]) 34 return os.path.join(script_dir, trace) 42 try_path = os.path.join(trace_path, header) 43 if os.path.isfile(try_path): 101 def path_contains_header(path): 102 for file in os.listdir(path): 110 parser.add_argument('gn_path', help='GN build path') 138 script_dir = os.path.dirname(sys.argv[0]) 141 with open(os.path.join(script_dir, DEFAULT_TEST_JSON)) as f: 146 binary = os.path [all...] |
/third_party/vixl/tools/ |
H A D | util.py | 39 def ListCCFilesWithoutExt(path): 40 src_files = glob.glob(os.path.join(path, '*.cc')) 41 return [os.path.splitext(os.path.basename(x))[0] for x in src_files] 59 if not os.path.exists(path_name): 70 def relrealpath(path, start=os.getcwd()): 71 return os.path.relpath(os.path.realpath(path), star [all...] |
/third_party/protobuf/python/ |
H A D | setup.py | 23 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 25 elif os.path.exists("../src/protoc"): 27 elif os.path.exists("../src/protoc.exe"): 29 elif os.path.exists("../vsprojects/Debug/protoc.exe"): 31 elif os.path.exists("../vsprojects/Release/protoc.exe"): 43 with open(os.path.join('google', 'protobuf', '__init__.py')) as version_file: 54 if not require and not os.path.exists(source): 59 if (not os.path.exists(output) or 60 (os.path.exists(source) and 61 os.path [all...] |