/third_party/rust/crates/syn/tests/ |
H A D | test_expr.rs | 42 path: Path { in test_await() 61 path: Path { in test_tuple_multi_index() 104 let path = Group::new(Delimiter::None, quote!(f)); in test_macro_variable_func() 105 let tokens = quote!(#path()); in test_macro_variable_func() 111 path: Path { in test_macro_variable_func() 123 let path = Group::new(Delimiter::None, quote! { #[inside] f }); in test_macro_variable_func() 124 let tokens = quote!(#[outside] #path()); in test_macro_variable_func() 154 path: Path { in test_macro_variable_func() 176 path: Path { in test_macro_variable_macro() 198 path in test_macro_variable_struct() [all...] |
/third_party/skia/dm/ |
H A D | DMJsonWriter.cpp | 41 SkString path = SkOSPath::Join(dir, "dm.json"); in DumpJson() local 43 SkFILEWStream stream(path.c_str()); in DumpJson() 104 bool JsonWriter::ReadJson(const char* path, void(*callback)(BitmapResult)) { in ReadJson() argument 105 sk_sp<SkData> json(SkData::MakeFromFileName(path)); in ReadJson()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | statvfs.rs | 135 /// Return a `Statvfs` object with information about the `path` 136 pub fn statvfs<P: ?Sized + NixPath>(path: &P) -> Result<Statvfs> { in statvfs() 140 let res = path.with_nix_path(|path| { in statvfs() 141 libc::statvfs(path.as_ptr(), stat.as_mut_ptr()) in statvfs()
|
/third_party/rust/crates/unicode-ident/generate/src/ |
H A D | main.rs | 9 // $ cargo run --manifest-path generate/Cargo.toml 30 use std::path::Path; 150 let path = unicode_ident_dir.join(TABLES); in main() 151 if let Err(err) = fs::write(&path, out) { in main() 152 let _ = writeln!(io::stderr(), "{}: {err}", path.display()); in main()
|
/third_party/selinux/libselinux/src/ |
H A D | sestatus.c | 281 char path[PATH_MAX]; in selinux_status_open() local 298 snprintf(path, sizeof(path), "%s/status", selinux_mnt); in selinux_status_open() 299 fd = open(path, O_RDONLY | O_CLOEXEC); in selinux_status_open()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | linux_ioctl.c | 199 char path[128], brlink[128], *pos; in linux_br_get() local 202 os_snprintf(path, sizeof(path), "/sys/class/net/%s/brport/bridge", in linux_br_get() 204 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/p2p/ |
H A D | p2p_invite.py | 21 print(" -o = persistent group object path") 48 global path 97 self.path = self.wpas.GetInterface( 107 self.wpas_dbus_interface, self.path) 119 {'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)} 168 # Persistent group object path
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | linux_ioctl.c | 199 char path[128], brlink[128], *pos; in linux_br_get() local 202 os_snprintf(path, sizeof(path), "/sys/class/net/%s/brport/bridge", in linux_br_get() 204 res = readlink(path, brlink, sizeof(brlink)); in linux_br_get()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/p2p/ |
H A D | p2p_invite.py | 21 print(" -o = persistent group object path") 48 global path 97 self.path = self.wpas.GetInterface( 107 self.wpas_dbus_interface, self.path) 119 {'peer':dbus.ObjectPath(self.path+'/Peers/'+self.addr)} 168 # Persistent group object path
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | stash.c | 32 /* Head and path in stash file are aligned with HMDFS_STASH_BLK_SIZE */ 103 struct path src_dir_path; 104 struct path dst_root_path; 150 struct path *, 206 static struct file *hmdfs_new_stash_file(struct path *d_path, const char *cid) in hmdfs_new_stash_file() 211 struct path stash; in hmdfs_new_stash_file() 297 if (strlen(cache->path) == 0) { in hmdfs_flush_stash_file_metadata() 304 hmdfs_err("peer 0x%x:0x%llx inode 0x%llx lost %lld pages due to no path", in hmdfs_flush_stash_file_metadata() 322 /* Write path */ in hmdfs_flush_stash_file_metadata() 324 written = kernel_write(cache->cache_file, cache->path, cach in hmdfs_flush_stash_file_metadata() 2130 struct path path; hmdfs_stash_rebuild_status() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | stash.c | 32 /* Head and path in stash file are aligned with HMDFS_STASH_BLK_SIZE */ 103 struct path src_dir_path; 104 struct path dst_root_path; 150 struct path *, 206 static struct file *hmdfs_new_stash_file(struct path *d_path, const char *cid) in hmdfs_new_stash_file() 210 struct path stash; in hmdfs_new_stash_file() 287 if (strlen(cache->path) == 0) { in hmdfs_flush_stash_file_metadata() 294 hmdfs_err("peer 0x%x:0x%llx inode 0x%llx lost %lld pages due to no path", in hmdfs_flush_stash_file_metadata() 312 /* Write path */ in hmdfs_flush_stash_file_metadata() 314 written = kernel_write(cache->cache_file, cache->path, cach in hmdfs_flush_stash_file_metadata() 2115 struct path path; hmdfs_stash_rebuild_status() local [all...] |
/third_party/nghttp2/src/ |
H A D | HttpServer.cc | 336 FileEntry *get_cached_fd(const std::string &path) { in get_cached_fd() argument 337 auto range = fd_cache_.equal_range(path); in get_cached_fd() 370 FileEntry *cache_fd(const std::string &path, const FileEntry &ent) { in cache_fd() argument 372 auto rv = fd_cache_.emplace(path, std::make_unique<FileEntry>(ent)); in cache_fd() 376 std::make_pair(path, std::make_unique<FileEntry>(ent))); in cache_fd() 482 nghttp2_rcbuf_decref(rcbuf.path); in ~Stream() 1026 http2::make_nv_ls_nocopy(":path", push_path), in submit_push_promise() 1042 promised_header.path = push_path; in submit_push_promise() 1202 auto path = std::string("echo:") + tempfn; in prepare_upload_temp_store() local 1204 sessions->cache_fd(path, FileEntr in prepare_upload_temp_store() 1211 prepare_redirect_response(Stream *stream, Http2Handler *hd, const StringRef &path, int status) prepare_redirect_response() argument 1268 StringRef path; prepare_response() local [all...] |
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 108 TEST_SUPPORT_DIR = os.path.dirname(os.path.abspath(__file__)) 109 TEST_HOME_DIR = os.path.dirname(TEST_SUPPORT_DIR) 110 STDLIB_DIR = os.path.dirname(TEST_HOME_DIR) 111 REPO_ROOT = os.path.dirname(STDLIB_DIR) 158 return load_package_tests(os.path.dirname(__file__), *args) 199 def _force_run(path, func, *args): 211 os.chmod(path, stat.S_IRWXU) 568 TEST_DATA_DIR = os.path.join(TEST_HOME_DIR, "data") 590 """Try to find a file on sys.path o [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852c.c | 378 "[TSSI][EFUSE] path=%d cck[%d]=0x%x\n", in rtw8852c_efuse_parsing_tssi() 390 "[TSSI][EFUSE] path=%d mcs[%d]=0x%x\n", in rtw8852c_efuse_parsing_tssi() 495 "[TSSI] path=%d idx=%d trim=0x%x addr=0x%x\n", in rtw8852c_phycap_parsing_tssi() 512 "[THERMAL][TRIM] path=%d thermal_trim=0x%x\n", in rtw8852c_phycap_parsing_thermal_trim() 542 "[THERMAL][TRIM] path=%d thermal_setting=0x%x\n", in rtw8852c_thermal_trim() 560 "[PA_BIAS][TRIM] path=%d pa_bias_trim=0x%x\n", in rtw8852c_phycap_parsing_pa_bias_trim() 586 "[PA_BIAS][TRIM] path=%d 2G=0x%x 5G=0x%x\n", in rtw8852c_pa_bias_trim() 801 enum rtw89_rf_path path) in rtw8852c_set_gain_error() 812 reg = bb_gain_lna[i].gain_g[path]; in rtw8852c_set_gain_error() 814 reg = bb_gain_lna[i].gain_a[path]; in rtw8852c_set_gain_error() 799 rtw8852c_set_gain_error(struct rtw89_dev *rtwdev, enum rtw89_subband subband, enum rtw89_rf_path path) rtw8852c_set_gain_error() argument 863 rtw8852c_set_gain_offset(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, enum rtw89_phy_idx phy_idx, enum rtw89_rf_path path) rtw8852c_set_gain_offset() argument 1029 rtw8852c_bw_setting(struct rtw89_dev *rtwdev, u8 bw, u8 path) rtw8852c_bw_setting() argument 1254 rtw8852c_set_nbi_tone_idx(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, enum rtw89_rf_path path) rtw8852c_set_nbi_tone_idx() argument 1493 rtw8852c_bb_gpio_trsw(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 tx_path_en, u8 trsw_tx, u8 trsw_rx, u8 trsw, u8 trsw_b) rtw8852c_bb_gpio_trsw() argument 1520 rtw8852c_bb_gpio_rfm(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, enum rtw8852c_rfe_src src, u8 dis_tx_gnt_wl, u8 active_tx_opt, u8 act_bt_en, u8 rfm_output_val) rtw8852c_bb_gpio_rfm() argument 2388 rtw8852c_set_trx_mask(struct rtw89_dev *rtwdev, u8 path, u8 group, u32 val) rtw8852c_set_trx_mask() argument 2689 u8 path; rtw8852c_query_ppdu() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | fs.h | 9 #include <linux/path.h> 638 * the RCU path lookup and 'stat' data) fields at the beginning 661 /* Stat data, not accessed from path walking */ 992 * f_{path,inode,op} are kept on a separate cacheline. 1014 struct path f_path; 1702 * -> i_mutex (write path, truncate, directory ops, ...) 1814 const struct path *parentpath, 1817 struct file *kernel_file_open(const struct path *path, int flags, 1826 int vfs_utimes(const struct path *pat 2676 path_permission(const struct path *path, int mask) path_permission() argument [all...] |
/kernel/linux/linux-6.6/security/ |
H A D | security.c | 1358 * @path: mount point 1372 int security_sb_mount(const char *dev_name, const struct path *path, in security_sb_mount() argument 1375 return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data); in security_sb_mount() 1401 int security_sb_pivotroot(const struct path *old_path, in security_sb_pivotroot() 1402 const struct path *new_path) in security_sb_pivotroot() 1459 int security_move_mount(const struct path *from_path, in security_move_mount() 1460 const struct path *to_path) in security_move_mount() 1467 * @path: file path 1476 security_path_notify(const struct path *path, u64 mask, unsigned int obj_type) security_path_notify() argument 1843 security_path_truncate(const struct path *path) security_path_truncate() argument 1861 security_path_chmod(const struct path *path, umode_t mode) security_path_chmod() argument 1878 security_path_chown(const struct path *path, kuid_t uid, kgid_t gid) security_path_chown() argument 1893 security_path_chroot(const struct path *path) security_path_chroot() argument 2149 security_inode_getattr(const struct path *path) security_inode_getattr() argument [all...] |
/third_party/node/deps/uvwasi/src/ |
H A D | uvwasi.c | 53 char* path in uvwasi__get_filestat_set_times() 80 r = uv_fs_lstat(NULL, &req, path, NULL); in uvwasi__get_filestat_set_times() 1192 buf->u.dir.pr_name_len = strlen(wrap->path); in uvwasi_fd_prestat_get() 1202 char* path, in uvwasi_fd_prestat_dir_name() 1208 UVWASI_DEBUG("uvwasi_fd_prestat_dir_name(uvwasi=%p, fd=%d, path=%p, " in uvwasi_fd_prestat_dir_name() 1212 path, in uvwasi_fd_prestat_dir_name() 1215 if (uvwasi == NULL || path == NULL) in uvwasi_fd_prestat_dir_name() 1226 size = strlen(wrap->path); in uvwasi_fd_prestat_dir_name() 1232 memcpy(path, wrap->path, siz in uvwasi_fd_prestat_dir_name() 1200 uvwasi_fd_prestat_dir_name(uvwasi_t* uvwasi, uvwasi_fd_t fd, char* path, uvwasi_size_t path_len) uvwasi_fd_prestat_dir_name() argument 1641 uvwasi_path_create_directory(uvwasi_t* uvwasi, uvwasi_fd_t fd, const char* path, uvwasi_size_t path_len) uvwasi_path_create_directory() argument 1689 uvwasi_path_filestat_get(uvwasi_t* uvwasi, uvwasi_fd_t fd, uvwasi_lookupflags_t flags, const char* path, uvwasi_size_t path_len, uvwasi_filestat_t* buf) uvwasi_path_filestat_get() argument 1747 uvwasi_path_filestat_set_times(uvwasi_t* uvwasi, uvwasi_fd_t fd, uvwasi_lookupflags_t flags, const char* path, uvwasi_size_t path_len, uvwasi_timestamp_t st_atim, uvwasi_timestamp_t st_mtim, uvwasi_fstflags_t fst_flags) uvwasi_path_filestat_set_times() argument 1932 uvwasi_path_open(uvwasi_t* uvwasi, uvwasi_fd_t dirfd, uvwasi_lookupflags_t dirflags, const char* path, uvwasi_size_t path_len, uvwasi_oflags_t o_flags, uvwasi_rights_t fs_rights_base, uvwasi_rights_t fs_rights_inheriting, uvwasi_fdflags_t fs_flags, uvwasi_fd_t* fd) uvwasi_path_open() argument 2091 uvwasi_path_readlink(uvwasi_t* uvwasi, uvwasi_fd_t fd, const char* path, uvwasi_size_t path_len, char* buf, uvwasi_size_t buf_len, uvwasi_size_t* bufused) uvwasi_path_readlink() argument 2154 uvwasi_path_remove_directory(uvwasi_t* uvwasi, uvwasi_fd_t fd, const char* path, uvwasi_size_t path_len) uvwasi_path_remove_directory() argument 2358 uvwasi_path_unlink_file(uvwasi_t* uvwasi, uvwasi_fd_t fd, const char* path, uvwasi_size_t path_len) uvwasi_path_unlink_file() argument [all...] |
/third_party/libwebsockets/lib/roles/http/client/ |
H A D | client-http.c | 234 lwsl_info("%s: doing h2 hello path\n", __func__); in lws_http_client_socket_service() 595 const char *prot, *ads = NULL, *path, *cce = NULL; in lws_client_interpret_server_handshake() local 758 /* Relative reference absolute path */ in lws_client_interpret_server_handshake() 766 path = p; in lws_client_interpret_server_handshake() 768 if (*path == '/') in lws_client_interpret_server_handshake() 769 path++; in lws_client_interpret_server_handshake() 773 if (lws_parse_uri(p, &prot, &ads, &port, &path)) { in lws_client_interpret_server_handshake() 781 /* Relative reference relative path */ in lws_client_interpret_server_handshake() 783 /* This doesn't try to calculate an absolute path, in lws_client_interpret_server_handshake() 792 path in lws_client_interpret_server_handshake() 1133 _WSI_TOKEN_CLIENT_SENT_PROTOCOLS), *path; lws_generate_client_handshake() local 1591 lws_client_reset(struct lws **pwsi, int ssl, const char *address, int port, const char *path, const char *host, char weak) lws_client_reset() argument [all...] |
/third_party/skia/src/svg/ |
H A D | SkSVGDevice.cpp | 178 void AddPath(const SkGlyphRun& glyphRun, const SkPoint& offset, SkPath* path) { 183 } rec = { path, offset, glyphRun.positions().data() }; 186 [](const SkPath* path, const SkMatrix& mx, void* ctx) { 188 if (path) { 192 rec->fPath->addPath(*path, total); 325 // paths etc). This should only happen when a path effect is attached to 329 SkDebugf("Unsupported path effect in addPaint."); 631 void SkSVGDevice::AutoElement::addPathAttributes(const SkPath& path, 634 SkParsePath::ToSVGString(path, &pathData, encoding); 772 AutoElement path("pat [all...] |
/third_party/toybox/lib/ |
H A D | lib.c | 166 // 2=make path (already exists is ok) 168 // returns 0 = path ok, 1 = error 174 // mkdir -p one/two/three is not an error if the path already exists, in mkpathat() 188 // find next '/', but don't try to mkdir "" at start of absolute path in mkpathat() 217 // Split a path into linked list of components, tracking head and tail of list. 219 struct string_list **splitpath(char *path, struct string_list **list) in splitpath() argument 221 char *new = path; in splitpath() 227 if (*path && *path != '/') continue; in splitpath() 228 len = path in splitpath() 246 find_in_path(char *path, char *filename) find_in_path() argument 1320 readlinkat0(int dirfd, char *path, char *buf, int len) readlinkat0() argument 1331 readlink0(char *path, char *buf, int len) readlink0() argument [all...] |
/foundation/ability/idl_tool/test/hdi_unittest/hdi_hash_test/ |
H A D | hash_bad_01.py | 29 idl_dir = os.path.join(package_path, "foo", "v1_0") 30 if not os.path.exists(idl_dir):
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_path_1d_path_effect.cpp | 21 std::shared_ptr<TexginePathEffect> TexginePath1DPathEffect::Make(const TexginePath &path, in Make() argument 24 auto effect = RSPathEffect::CreatePathDashEffect(*path.GetPath().get(), advance, phase, in Make()
|
H A D | texgine_data.cpp | 30 std::shared_ptr<TexgineData> TexgineData::MakeFromFileName(const std::string &path) in MakeFromFileName() argument 33 data->SetData(RSData::MakeFromFileName(path.c_str())); in MakeFromFileName()
|
/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | media_sink.cpp | 39 void MediaSink::SetPath(const std::string& path) in SetPath() argument 41 path_ = path; in SetPath()
|
/foundation/multimedia/av_session/services/session/adapter/ |
H A D | plugin_lib.h | 32 static std::string GetRealPath(const std::string &path); 33 static bool CheckPathExist(const std::string &path);
|