/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/sys/ |
H A D | osfile.rs | 60 let fd = self.as_file()?; in allocate() 74 self.as_file()?.sync_data()?; in datasync() 78 fd::fdstat_get(&*self.as_file()?) in fdstat_get() 87 fd::filestat_get(&*self.as_file()?) in filestat_get() 90 self.as_file()?.set_len(size)?; in filestat_set_size() 102 let mut fd: &File = &*self.as_file()?; in preadv() 110 let mut fd: &File = &*self.as_file()?; in pwritev() 118 let nread = self.as_file()?.read_vectored(iovs)?; in read_vectored() 122 let pos = self.as_file()?.seek(offset)?; in seek() 126 self.as_file()?.sync_all()?; in sync() [all …]
|
H A D | mod.rs | 40 fn as_file(&self) -> io::Result<ManuallyDrop<File>>; in as_file() method 44 fn as_file(&self) -> io::Result<ManuallyDrop<File>> { in as_file() method 46 file.as_file() in as_file() 48 dir.as_file() in as_file() 50 stdin.as_file() in as_file() 52 stdout.as_file() in as_file() 54 stderr.as_file() in as_file() 56 other.as_file() in as_file()
|
H A D | stdio.rs | 57 fd::fdstat_get(&*self.as_file()?) in fdstat_get() 60 if let Some(_) = fd::fdstat_set_flags(&*self.as_file()?, fdflags)? { in fdstat_set_flags() 103 fd::fdstat_get(&*self.as_file()?) in fdstat_get() 106 if let Some(_) = fd::fdstat_set_flags(&*self.as_file()?, fdflags)? { in fdstat_set_flags() 157 fd::fdstat_get(&*self.as_file()?) in fdstat_get() 160 if let Some(_) = fd::fdstat_set_flags(&*self.as_file()?, fdflags)? { in fdstat_set_flags()
|
H A D | osother.rs | 74 fd::fdstat_get(&*self.as_file()?) in fdstat_get() 77 if let Some(handle) = fd::fdstat_set_flags(&*self.as_file()?, fdflags)? { in fdstat_set_flags() 83 let nread = self.as_file()?.read_vectored(iovs)?; in read_vectored() 87 let mut fd: &File = &*self.as_file()?; in write_vectored()
|
/dports/devel/tla/tla-1.3.5/src/tla/libarch/=scraps/ |
H A D | inventory.c | 156 t_uchar * as_file = 0; in arch_inventory_id() local 166 as_file = file_name_from_directory (0, path); in arch_inventory_id() 167 if (!as_file) in arch_inventory_id() 170 basename = file_name_tail (0, as_file); in arch_inventory_id() 171 dir = file_name_directory_file (0, as_file); in arch_inventory_id() 180 safe_lstat (as_file, &lstat); in arch_inventory_id() 196 answer = explicit_tag (as_file, "E_", 0); in arch_inventory_id() 209 || !str_cmp ("./{arch}", as_file)) in arch_inventory_id() 276 answer = implicit_tag (prog, as_file); in arch_inventory_id() 336 answer = str_alloc_cat (0, "?", as_file); in arch_inventory_id() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/tools/gn/ |
H A D | source_dir.cc | 31 bool ValidateResolveInput(bool as_file, in ValidateResolveInput() argument 35 if (as_file) { in ValidateResolveInput() 76 bool as_file, in ResolveRelativeAs() argument 81 if (!ValidateResolveInput<StringType>(as_file, blame_input_value, input_value, in ResolveRelativeAs() 85 return ResolveRelative(input_value, value_, as_file, source_root); in ResolveRelativeAs() 105 std::string SourceDir::ResolveRelativeAs(bool as_file, in ResolveRelativeAs() argument 117 ResolveRelativeAs(as_file, v, *v_value, err, source_root); in ResolveRelativeAs() 118 if (!as_file) in ResolveRelativeAs() 139 bool as_file, 146 bool as_file,
|
H A D | build_settings.cc | 52 bool as_file) const { in GetFullPath() 53 return ResolvePath(path, as_file, root_path_).NormalizePathSeparatorsTo('/'); in GetFullPath() 66 bool as_file) const { in GetFullPathSecondary() 67 return ResolvePath(path, as_file, secondary_source_path_) in GetFullPathSecondary()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/gn/ |
H A D | source_dir.cc | 31 bool ValidateResolveInput(bool as_file, in ValidateResolveInput() argument 35 if (as_file) { in ValidateResolveInput() 81 bool as_file, in ResolveRelativeAs() argument 86 if (!ValidateResolveInput<StringType>(as_file, blame_input_value, input_value, in ResolveRelativeAs() 90 return ResolveRelative(input_value, value_.str(), as_file, source_root); in ResolveRelativeAs() 110 std::string SourceDir::ResolveRelativeAs(bool as_file, in ResolveRelativeAs() argument 122 ResolveRelativeAs(as_file, v, *v_value, err, source_root); in ResolveRelativeAs() 123 if (!as_file) in ResolveRelativeAs() 144 bool as_file, 151 bool as_file,
|
H A D | build_settings.cc | 53 bool as_file) const { in GetFullPath() 54 return ResolvePath(path, as_file, root_path_).NormalizePathSeparatorsTo('/'); in GetFullPath() 67 bool as_file) const { in GetFullPathSecondary() 68 return ResolvePath(path, as_file, secondary_source_path_) in GetFullPathSecondary()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/boost-docs/boost_1_72_0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/boost-libs/boost_1_72_0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/boost-jam/boost_1_72_0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/boost_build/build-29baa79/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/boost-python-libs/boost_1_72_0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/hyperscan/boost_1_75_0/tools/build/src/engine/ |
H A D | pathvms.cpp | 138 string as_file[ 1 ]; in translate_path_posix2vms() local 147 string_new( as_file ); in translate_path_posix2vms() 156 m_vmsfilespec = as_file; in translate_path_posix2vms() 174 && stat(as_file->value, &statbuf ) > 0 in translate_path_posix2vms() 178 string_append( path, as_file->value ); in translate_path_posix2vms() 189 string_append( path, as_file->value ); in translate_path_posix2vms() 203 string_free( as_file ); in translate_path_posix2vms()
|
/dports/devel/glade/glade-3.22.1/plugins/gtk+/ |
H A D | glade-gtk-about-dialog.c | 101 gboolean as_file = g_value_get_boolean (value); in glade_gtk_about_dialog_set_property() local 103 glade_property_set_sensitive (icon, !as_file, as_file ? NOT_SELECTED_MSG : NULL); in glade_gtk_about_dialog_set_property() 104 glade_property_set_enabled (icon, !as_file); in glade_gtk_about_dialog_set_property() 106 glade_property_set_sensitive (logo, as_file, as_file ? NULL : NOT_SELECTED_MSG); in glade_gtk_about_dialog_set_property() 107 glade_property_set_enabled (logo, as_file); in glade_gtk_about_dialog_set_property()
|
/dports/devel/gn/gn-1962/src/gn/ |
H A D | source_dir.cc | 30 bool ValidateResolveInput(bool as_file, in ValidateResolveInput() argument 34 if (as_file) { in ValidateResolveInput() 77 std::string SourceDir::ResolveRelativeAs(bool as_file, in ResolveRelativeAs() argument 82 if (!ValidateResolveInput(as_file, blame_input_value, input_value, err)) { in ResolveRelativeAs() 85 return ResolveRelative(input_value, value_.str(), as_file, source_root); in ResolveRelativeAs() 114 std::string SourceDir::ResolveRelativeAs(bool as_file, in ResolveRelativeAs() argument 126 ResolveRelativeAs(as_file, v, *v_value, err, source_root); in ResolveRelativeAs() 127 if (!as_file) in ResolveRelativeAs()
|
H A D | build_settings.cc | 53 bool as_file) const { in GetFullPath() 54 return ResolvePath(path, as_file, root_path_).NormalizePathSeparatorsTo('/'); in GetFullPath() 67 bool as_file) const { in GetFullPathSecondary() 68 return ResolvePath(path, as_file, secondary_source_path_) in GetFullPathSecondary()
|
/dports/converters/p5-Convert-UU/Convert-UU-0.5201/ |
H A D | puuencode | 5 my($file,$as_file) = @ARGV; 6 $as_file ||= $file; 11 print uuencode(\*F,$as_file,$mode);
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/importlib_resources/tests/ |
H A D | test_path.py | 11 with resources.as_file(resources.files(package).joinpath(path)): 21 with resources.as_file(target) as path: 39 with resources.as_file(target) as path: 59 with resources.as_file(target) as path:
|
/dports/devel/py-importlib-resources/importlib_resources-5.4.0/importlib_resources/tests/ |
H A D | test_path.py | 11 with resources.as_file(resources.files(package).joinpath(path)): 21 with resources.as_file(target) as path: 39 with resources.as_file(target) as path: 59 with resources.as_file(target) as path:
|
/dports/lang/mono/mono-5.10.1.57/mono/mini/ |
H A D | helpers.c | 146 char *as_file; in mono_disassemble_code() local 152 as_file = g_strdup_printf ("%s/test.s", tmp); in mono_disassemble_code() 154 if (!(ofd = fopen (as_file, "w"))) in mono_disassemble_code() 157 i = g_file_open_tmp (NULL, &as_file, NULL); in mono_disassemble_code() 272 cmd = g_strdup_printf (ARCH_PREFIX AS_CMD " %s -o %s", as_file, o_file); in mono_disassemble_code() 300 unlink (as_file); in mono_disassemble_code() 303 g_free (as_file); in mono_disassemble_code()
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/tempfile-3.0.5/src/file/ |
H A D | mod.rs | 708 … imp::reopen(self.as_file(), NamedTempFile::path(self)).with_err_path(|| NamedTempFile::path(self)) in reopen() 712 pub fn as_file(&self) -> &File { in as_file() method 745 self.as_file().read(buf).with_err_path(|| self.path()) in read() 761 self.as_file().write(buf).with_err_path(|| self.path()) in write() 765 self.as_file().flush().with_err_path(|| self.path()) in flush() 777 self.as_file().seek(pos).with_err_path(|| self.path()) in seek() 785 self.as_file().as_raw_fd() in as_raw_fd() 793 self.as_file().as_raw_handle() in as_raw_handle()
|
/dports/www/youtube_dl/youtube-dl/test/ |
H A D | test_swfinterp.py | 35 as_file = os.path.join(TEST_DIR, testfile) 38 or os.path.getmtime(swf_file) < os.path.getmtime(as_file)): 43 '-static-link-runtime-shared-libraries', as_file]) 54 with io.open(as_file, 'r', encoding='utf-8') as as_f:
|