Home
last modified time | relevance | path

Searched refs:path_cstr (Results 1 – 12 of 12) sorted by relevance

/dports/devel/allegro5/allegro5-5.2.7.0/addons/physfs/
H A Da5_physfs_dir.c28 const char *path_cstr; member
86 e->path_cstr = al_path_cstr(e->path, '/'); in fs_phys_create_entry()
187 PHYSFS_file *f = PHYSFS_openRead(e->path_cstr); in fs_phys_entry_size()
201 if (!PHYSFS_stat(e->path_cstr, &stat)) in fs_phys_entry_mode()
215 if (!PHYSFS_stat(e->path_cstr, &stat)) in fs_phys_entry_mtime()
223 return PHYSFS_exists(e->path_cstr) != 0; in fs_phys_entry_exists()
229 return PHYSFS_delete(e->path_cstr) != 0; in fs_phys_remove_entry()
236 e->file_list = PHYSFS_enumerateFiles(e->path_cstr); in fs_phys_open_directory()
254 tmp = al_ustr_new(e->path_cstr); in fs_phys_read_directory()
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSMacOSX/mdns_objects/
H A Dmdns_managed_defaults.c124 char *path_cstr = NULL; in _mdns_managed_defaults_create_domain_url() local
125 asprintf(&path_cstr, "/Library/Managed Preferences/mobile/%s.plist", domain); in _mdns_managed_defaults_create_domain_url()
126 require_action_quiet(path_cstr, exit, err = kNoMemoryErr); in _mdns_managed_defaults_create_domain_url()
128 …CFStringRef path = CFStringCreateWithCStringNoCopy(NULL, path_cstr, kCFStringEncodingUTF8, kCFAllo… in _mdns_managed_defaults_create_domain_url()
129 require_action_quiet(path, exit, ForgetMem(&path_cstr); err = kNoResourcesErr); in _mdns_managed_defaults_create_domain_url()
130 path_cstr = NULL; in _mdns_managed_defaults_create_domain_url()
/dports/devel/allegro5/allegro5-5.2.7.0/src/android/
H A Dandroid_apk_fs.c22 const char *path_cstr; member
89 e->path_cstr = al_path_cstr(e->path, '/'); in fs_apk_create_entry()
155 int n = strlen(e->path_cstr); in fs_apk_entry_mode()
156 if (e->path_cstr[n - 1] == '/') in fs_apk_entry_mode()
191 jstring jpath = (*jnienv)->NewStringUTF(jnienv, e->path_cstr); in fs_apk_open_directory()
221 tmp = al_ustr_new(e->path_cstr); in fs_apk_read_directory()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/libraries/nacl_io/fusefs/
H A Dfuse_fs.cc63 const char* path_cstr = path_str.c_str(); in OpenWithMode() local
74 result = fuse_ops_->create(path_cstr, mode, &fi); in OpenWithMode()
78 result = fuse_ops_->mknod(path_cstr, mode, dev_); in OpenWithMode()
89 result = fuse_ops_->getattr(path_cstr, &statbuf); in OpenWithMode()
96 ScopedNode node(new DirFuseFsNode(this, fuse_ops_, fi, path_cstr)); in OpenWithMode()
117 result = fuse_ops_->truncate(path_cstr, 0); in OpenWithMode()
126 result = fuse_ops_->open(path_cstr, &fi); in OpenWithMode()
131 ScopedNode node(new FileFuseFsNode(this, fuse_ops_, fi, path_cstr)); in OpenWithMode()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/
H A Dfs.rs544 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_create_directory() localVariable
545 Ok(path_cstr) => path_cstr, in wasi_path_create_directory()
549 match unsafe { mkdirat(dir, path_cstr.as_ptr(), 0o777) } { in wasi_path_create_directory()
574 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_unlink_file() localVariable
575 Ok(path_cstr) => path_cstr, in wasi_path_unlink_file()
579 match unsafe { unlinkat(dir, path_cstr.as_ptr(), 0) } { in wasi_path_unlink_file()
923 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_filestat_set_times() localVariable
924 Ok(path_cstr) => path_cstr, in wasi_path_filestat_set_times()
1255 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_remove_directory() localVariable
1256 Ok(path_cstr) => path_cstr, in wasi_path_remove_directory()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/
H A Dfs.rs544 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_create_directory() localVariable
545 Ok(path_cstr) => path_cstr, in wasi_path_create_directory()
549 match unsafe { mkdirat(dir, path_cstr.as_ptr(), 0o777) } { in wasi_path_create_directory()
574 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_unlink_file() localVariable
575 Ok(path_cstr) => path_cstr, in wasi_path_unlink_file()
579 match unsafe { unlinkat(dir, path_cstr.as_ptr(), 0) } { in wasi_path_unlink_file()
923 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_filestat_set_times() localVariable
924 Ok(path_cstr) => path_cstr, in wasi_path_filestat_set_times()
1255 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_remove_directory() localVariable
1256 Ok(path_cstr) => path_cstr, in wasi_path_remove_directory()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-wasi/src/hostcalls/
H A Dfs.rs544 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_create_directory() localVariable
545 Ok(path_cstr) => path_cstr, in wasi_path_create_directory()
549 match unsafe { mkdirat(dir, path_cstr.as_ptr(), 0o777) } { in wasi_path_create_directory()
574 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_unlink_file() localVariable
575 Ok(path_cstr) => path_cstr, in wasi_path_unlink_file()
579 match unsafe { unlinkat(dir, path_cstr.as_ptr(), 0) } { in wasi_path_unlink_file()
923 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_filestat_set_times() localVariable
924 Ok(path_cstr) => path_cstr, in wasi_path_filestat_set_times()
1255 let path_cstr = match std::ffi::CString::new(path.as_os_str().as_bytes()) { in wasi_path_remove_directory() localVariable
1256 Ok(path_cstr) => path_cstr, in wasi_path_remove_directory()
[all …]
/dports/devel/xparam/xparam-1.22/lib/sources/
H A Dxpv_dynamic_loader.cpp149 const char* path_cstr = getenv("XPARAM_CLASSPATH"); in get_path() local
150 if (path_cstr == NULL) in get_path()
152 string path = path_cstr; in get_path()
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/system-fileio-0.3.16.4/tests/FilesystemTests/
H A DPosix.hs688 fp <- liftIO $ withPathCString path $ \path_cstr ->
690 c_fopen path_cstr mode_cstr
703 ret <- liftIO $ withPathCString path $ \path_cstr ->
704 c_mkdir path_cstr 0o700
721 ret <- liftIO $ withPathCString path $ \path_cstr ->
722 c_mkfifo path_cstr 0o700
/dports/lang/ruby26/ruby-2.6.9/ext/objspace/
H A Dobject_tracing.c84 …const char *path_cstr = RTEST(path) ? make_unique_str(arg->str_table, RSTRING_PTR(path), RSTRING_L… in newobj_i() local
107 info->path = path_cstr; in newobj_i()
/dports/x11/gmrun/gmrun-0.9.2/src/
H A Dgtkcompletionline.cc335 char *path_cstr = (char*)getenv("PATH"); in generate_path() local
337 istringstream path_ss(path_cstr); in generate_path()
/dports/devel/brz/breezy-3.2.0/breezy/bzr/
H A D_dirstate_helpers_pyx.pyx383 cdef char *path_cstr
399 path_cstr = PyBytes_AsString(path)
408 path_cstr, path_size) < 0:
436 cdef char *path_cstr
452 path_cstr = PyBytes_AsString(path)
460 if _cmp_path_by_dirblock_intern(path_cstr, path_size,