Home
last modified time | relevance | path

Searched refs:to_filename (Results 1 – 25 of 246) sorted by relevance

12345678910

/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilesystem.cpp112 bool FileSystem::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
114 if (fix_slashes(from_filename) == fix_slashes(to_filename)) in file_rename()
118 WriteStream::Handle write_stream = get_write_stream(to_filename); in file_rename()
150 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy() argument
155 WriteStream::Handle write_stream = to_file_system->get_write_stream(to_filename); in copy()
160 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy_recursive() argument
164 return copy(from_file_system, from_filename, to_file_system, to_filename); in copy_recursive()
167 if (!to_file_system->directory_create(to_filename)) in copy_recursive()
176 to_filename + ETL_DIRECTORY_SEPARATOR + *i )) in copy_recursive()
H A Dfilesystemnative.cpp124 bool FileSystemNative::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
135 old_file = to_filename+"."+guid.get_string().substr(0,8); in file_rename()
138 rename(Glib::locale_from_utf8(to_filename).c_str(),Glib::locale_from_utf8(old_file).c_str()); in file_rename()
140 …if(rename(Glib::locale_from_utf8(from_filename).c_str(),Glib::locale_from_utf8(to_filename).c_str(… in file_rename()
142 rename(Glib::locale_from_utf8(old_file).c_str(),Glib::locale_from_utf8(to_filename).c_str()); in file_rename()
150 return 0 == rename(from_filename.c_str(), to_filename.c_str()); in file_rename()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilesystem.cpp112 bool FileSystem::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
114 if (fix_slashes(from_filename) == fix_slashes(to_filename)) in file_rename()
118 WriteStream::Handle write_stream = get_write_stream(to_filename); in file_rename()
150 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy() argument
155 WriteStream::Handle write_stream = to_file_system->get_write_stream(to_filename); in copy()
160 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy_recursive() argument
164 return copy(from_file_system, from_filename, to_file_system, to_filename); in copy_recursive()
167 if (!to_file_system->directory_create(to_filename)) in copy_recursive()
176 to_filename + ETL_DIRECTORY_SEPARATOR + *i )) in copy_recursive()
H A Dfilesystemnative.cpp124 bool FileSystemNative::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
135 old_file = to_filename+"."+guid.get_string().substr(0,8); in file_rename()
138 rename(Glib::locale_from_utf8(to_filename).c_str(),Glib::locale_from_utf8(old_file).c_str()); in file_rename()
140 …if(rename(Glib::locale_from_utf8(from_filename).c_str(),Glib::locale_from_utf8(to_filename).c_str(… in file_rename()
142 rename(Glib::locale_from_utf8(old_file).c_str(),Glib::locale_from_utf8(to_filename).c_str()); in file_rename()
150 return 0 == rename(from_filename.c_str(), to_filename.c_str()); in file_rename()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilesystem.cpp112 bool FileSystem::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
114 if (fix_slashes(from_filename) == fix_slashes(to_filename)) in file_rename()
118 WriteStream::Handle write_stream = get_write_stream(to_filename); in file_rename()
150 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy() argument
155 WriteStream::Handle write_stream = to_file_system->get_write_stream(to_filename); in copy()
160 …le from_file_system, const String &from_filename, Handle to_file_system, const String &to_filename) in copy_recursive() argument
164 return copy(from_file_system, from_filename, to_file_system, to_filename); in copy_recursive()
167 if (!to_file_system->directory_create(to_filename)) in copy_recursive()
176 to_filename + ETL_DIRECTORY_SEPARATOR + *i )) in copy_recursive()
H A Dfilesystemnative.cpp124 bool FileSystemNative::file_rename(const String &from_filename, const String &to_filename) in file_rename() argument
135 old_file = to_filename+"."+guid.get_string().substr(0,8); in file_rename()
138 rename(Glib::locale_from_utf8(to_filename).c_str(),Glib::locale_from_utf8(old_file).c_str()); in file_rename()
140 …if(rename(Glib::locale_from_utf8(from_filename).c_str(),Glib::locale_from_utf8(to_filename).c_str(… in file_rename()
142 rename(Glib::locale_from_utf8(old_file).c_str(),Glib::locale_from_utf8(to_filename).c_str()); in file_rename()
150 return 0 == rename(from_filename.c_str(), to_filename.c_str()); in file_rename()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/loggers/mod_logfile/
H A Dmod_logfile.c147 char *to_filename = NULL; in mod_logfile_rotate() local
150 to_filename = switch_core_alloc(pool, strlen(profile->logfile) + WARM_FUZZY_OFFSET); in mod_logfile_rotate()
153 sprintf((char *) to_filename, "%s.%i", profile->logfile, i); in mod_logfile_rotate()
156 if (switch_file_exists(to_filename, pool) == SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
157 if ((status = switch_file_remove(to_filename, pool)) != SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
158 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Error removing log %s\n",to_filename); in mod_logfile_rotate()
163 if ((status = switch_file_rename(from_filename, to_filename, pool)) != SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
165 from_filename, to_filename, strerror(errno)); in mod_logfile_rotate()
170 sprintf((char *) to_filename, "%s.%i", profile->logfile, i); in mod_logfile_rotate()
172 if (switch_file_exists(to_filename, pool) == SWITCH_STATUS_SUCCESS) { in mod_logfile_rotate()
[all …]
/dports/textproc/py-pybtex/pybtex-0.24.0/pybtex/database/convert/
H A D__init__.py34 from_filename, to_filename, argument
44 if from_filename == to_filename:
54 bib_data.to_file(to_filename, bib_format=to_format, encoding=output_encoding)
/dports/textproc/py-pybtex/pybtex-0.24.0/pybtex/database/format/
H A D__init__.py32 from_filename, to_filename, argument
42 output_backend = find_plugin('pybtex.backends', output_backend, filename=to_filename)
58 output_backend(output_encoding).write_to_file(formatted_bibliography, to_filename)
/dports/science/py-nibabel/nibabel-3.2.1/nibabel/cmdline/tests/
H A Dtest_roi.py70 img.to_filename(fname)
73 lossless_slice(img1, (slice(None), slice(None), slice(2, 4))).to_filename(sliced_fname)
86 img.to_filename(fname)
89 lossless_slice(img1, (slice(None), slice(None), slice(2, 4))).to_filename(sliced_fname)
105 in_img.to_filename(out_file)
/dports/databases/py-gdbm/Python-3.8.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/databases/py-sqlite3/Python-3.8.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/finance/electrum/Electrum-4.1.5/packages/setuptools/_distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/lang/python37/Python-3.7.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/lang/python38/Python-3.8.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/lang/python311/Python-3.11.0a3/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/lang/python-legacy/Python-2.7.18/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
73 def to_filename(name): function
/dports/lang/python-tools/Python-3.8.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/lang/python27/Python-2.7.18/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
73 def to_filename(name): function
/dports/lang/python39/Python-3.9.9/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
73 def to_filename(name): function
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/www/firefox/firefox-99.0/third_party/python/setuptools/setuptools/_distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/devel/py-setuptools/setuptools-57.0.0/setuptools/_distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
72 def to_filename(name): function
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
H A Dinstall_egg_info.py25 to_filename(safe_name(self.distribution.get_name())),
26 to_filename(safe_version(self.distribution.get_version())),
73 def to_filename(name): function

12345678910