/dports/editors/py-babi/babi-0.0.24/babi/ |
H A D | history.py | 22 history_filename = os.path.join(history_dir, filename) 23 with open(history_filename, encoding='UTF-8') as f: 32 history_filename = os.path.join(history_dir, k) 33 with open(history_filename, 'a+', encoding='UTF-8') as f:
|
/dports/sysutils/py-tmuxp/tmuxp-1.9.3/tmuxp/ |
H A D | shell.py | 125 history_filename = os.path.expanduser('~/.ptpython_history') 128 history_filename=history_filename, 151 history_filename = os.path.expanduser('~/.ptpython_history') 154 history_filename=history_filename,
|
/dports/devel/py-pudb/pudb-2020.1/pudb/ |
H A D | shell.py | 240 history_filename = os.path.expanduser("~/.ptpython/history") 242 history_filename=history_filename, 250 history_filename = os.path.expanduser("~/.ptpython/history") 252 history_filename=history_filename,
|
/dports/devel/awscli/awscli-1.20.61/awscli/customizations/history/ |
H A D | __init__.py | 50 history_filename = os.environ.get( 52 if not os.path.isdir(os.path.dirname(history_filename)): 53 os.makedirs(os.path.dirname(history_filename)) 55 connection = DatabaseConnection(history_filename)
|
/dports/devel/rlwrap/rlwrap-0.45.2/src/ |
H A D | main.c | 83 static char *history_filename = NULL; variable 667 if (history_filename) { in init_rlwrap() 668 histdir = mydirname(history_filename); in init_rlwrap() 671 history_filename = add3strings(homedir_prefix, command_name, "_history"); in init_rlwrap() 678 if (access(history_filename, R_OK | W_OK) != 0) { in init_rlwrap() 679 myerror(FATAL|USE_ERRNO, "cannot read and write %s", history_filename); in init_rlwrap() 683 assert(!stat(history_filename, &statbuf)); in init_rlwrap() 696 myerror(FATAL|USE_ERRNO, "cannot create history file %s", history_filename); in init_rlwrap() 708 feed_file_into_completion_list(history_filename); in init_rlwrap() 866 case 'H': history_filename = mysavestring(optarg); break; in read_options_and_command_name() [all …]
|
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/ui/ |
H A D | root.cc | 400 …std::string history_filename = m_control->core()->download_store()->path() + "rtorrent.input_histo… in load_input_history() local 401 std::fstream history_file(history_filename.c_str(), std::ios::in); in load_input_history() 431 …orrent::LOG_DEBUG, "input history file corrupted, discarding (path:%s)", history_filename.c_str()); in load_input_history() 434 … lt_log_print(torrent::LOG_DEBUG, "input history file read (path:%s)", history_filename.c_str()); in load_input_history() 457 …print(torrent::LOG_DEBUG, "could not open input history file (path:%s)", history_filename.c_str()); in load_input_history() 466 …std::string history_filename = m_control->core()->download_store()->path() + "rtorrent.input_histo… in save_input_history() local 467 std::string history_filename_tmp = history_filename + ".new"; in save_input_history() 471 …t::LOG_DEBUG, "could not open input history file for writing (path:%s)", history_filename.c_str()); in save_input_history() 484 …UG, "input history file corrupted during writing, discarding (path:%s)", history_filename.c_str()); in save_input_history() 487 …lt_log_print(torrent::LOG_DEBUG, "input history file written (path:%s)", history_filename.c_str()); in save_input_history() [all …]
|
/dports/devel/p5-CPAN-Testers-Common-Client/CPAN-Testers-Common-Client-0.14/lib/CPAN/Testers/Common/Client/ |
H A D | History.pm | 164 my $history_filename = _get_history_file(); 165 my $file_exists = -f $history_filename; 171 my $history = IO::File->new( $history_filename, $mode ) 173 . "'$history_filename': $!\n");
|
/dports/devel/gdb/gdb-11.1/gdb/ |
H A D | top.c | 952 static char *history_filename; variable 959 return (history_filename == nullptr || *history_filename == '\0'); in history_filename_empty() 1236 ret = rename (history_filename, local_history_filename.c_str ()); in gdb_safe_append_history() 1273 local_history_filename.c_str (), history_filename, in gdb_safe_append_history() 1804 if (write_history_p && history_filename) in quit_force() 2054 history_filename = xstrdup (tmpenv); in init_history() 2055 else if (history_filename == nullptr) in init_history() 2068 history_filename = temp.release (); in init_history() 2072 read_history (history_filename); in init_history() 2165 xfree (history_filename); in set_history_filename() [all …]
|
/dports/games/libgnome-games-support/libgnome-games-support-1.8.0/games/scores/ |
H A D | history-file-importer.vala | 66 … var history_filename = Path.build_filename (new_scores_dir.get_path (), "..", "history", null); 67 var stream = FileStream.open (history_filename, "r"); 71 debug ("Importing scores from %s", history_filename); 80 warning ("Failed to import from %s score line %s", history_filename, line); 84 var history_file = File.new_for_path (history_filename);
|
/dports/devel/p5-CPAN-Reporter/CPAN-Reporter-1.2018/lib/CPAN/Reporter/ |
H A D | History.pm | 228 my $history_filename = _get_history_file(); 229 my $file_exists = -f $history_filename; 235 my $history = IO::File->new( $history_filename, $mode ) 237 . "'$history_filename': $!\n");
|
/dports/sysutils/pdsh/pdsh-pdsh-2.34/src/pdsh/ |
H A D | main.c | 239 char history_filename[MAXPATHLEN]; in _interactive_dsh() local 248 len = sizeof (history_filename); in _interactive_dsh() 250 if (_history_file_create (history_filename, len) < 0) { in _interactive_dsh() 288 append_history (1, history_filename); in _interactive_dsh()
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/ |
H A D | top.c | 673 static char *history_filename; variable 1247 if (write_history_p && history_filename) in quit_target() 1248 write_history (history_filename); in quit_target() 1462 history_filename = xstrdup (tmpenv); in init_history() 1463 else if (!history_filename) in init_history() 1470 history_filename = concat (current_directory, "/_gdb_history", in init_history() 1473 history_filename = concat (current_directory, "/.gdb_history", in init_history() 1477 read_history (history_filename); in init_history() 1590 add_setshow_filename_cmd ("filename", no_class, &history_filename, _("\ in init_main()
|
/dports/www/py-flask-script/Flask-Script-2.0.6/flask_script/ |
H A D | commands.py | 310 history_filename = os.path.expanduser('~/.ptpython_history') 311 embed(banner1=self.banner, user_ns=context, history_filename=history_filename) 320 history_filename = os.path.expanduser('~/.ptpython_history') 321 embed(globals=context, history_filename=history_filename)
|
/dports/devel/gdb761/gdb-7.6.1/gdb/ |
H A D | top.c | 723 static char *history_filename; variable 1302 if (write_history_p && history_filename) in quit_target() 1303 write_history (history_filename); in quit_target() 1537 history_filename = xstrdup (tmpenv); in init_history() 1538 else if (!history_filename) in init_history() 1545 history_filename = concat (current_directory, "/_gdb_history", in init_history() 1548 history_filename = concat (current_directory, "/.gdb_history", in init_history() 1552 read_history (history_filename); in init_history() 1664 add_setshow_filename_cmd ("filename", no_class, &history_filename, _("\ in init_main()
|
/dports/cad/magic/magic-8.3.245/readline/readline-4.3/ |
H A D | histfile.c | 100 history_filename (filename) in history_filename() function 161 input = history_filename (filename); 268 filename = history_filename (fname); 384 output = history_filename (filename);
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/readline/ |
H A D | histfile.c | 100 history_filename (filename) in history_filename() function 161 input = history_filename (filename); 268 filename = history_filename (fname); 384 output = history_filename (filename);
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/readline/ |
H A D | histfile.c | 100 history_filename (filename) in history_filename() function 161 input = history_filename (filename); 268 filename = history_filename (fname); 384 output = history_filename (filename);
|
/dports/databases/gqlplus/gqlplus-1.16/readline/ |
H A D | histfile.c | 100 history_filename (filename) in history_filename() function 161 input = history_filename (filename); 268 filename = history_filename (fname); 384 output = history_filename (filename);
|
/dports/databases/gqlplus/gqlplus-1.16/gqlplus-1.15/readline/ |
H A D | histfile.c | 100 history_filename (filename) in history_filename() function 161 input = history_filename (filename); 268 filename = history_filename (fname); 384 output = history_filename (filename);
|
/dports/devel/py-spyder/spyder-3.2.7/spyder/widgets/ |
H A D | mixins.py | 730 def __init__(self, history_filename=''): argument 731 self.history_filename = history_filename 736 if self.history_filename and not osp.isfile(self.history_filename): 737 encoding.writelines(self.INITHISTORY, self.history_filename) 754 if self.history_filename not in self.HISTORY_FILENAMES: 755 self.HISTORY_FILENAMES.append(self.history_filename) 760 encoding.write(text, self.history_filename, mode='ab') 764 self.append_to_history.emit(self.history_filename, text)
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | top.c | 978 static char *history_filename; variable 1495 if (write_history_p && history_filename) in quit_target() 1496 write_history (history_filename); in quit_target() 1695 history_filename = savestring (tmpenv, strlen (tmpenv)); in init_history() 1696 else if (!history_filename) in init_history() 1703 history_filename = concat (current_directory, "/_gdb_history", NULL); in init_history() 1705 history_filename = concat (current_directory, "/.gdb_history", NULL); in init_history() 1708 read_history (history_filename); in init_history() 1823 (char *) &history_filename, in init_main()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | top.c | 978 static char *history_filename; variable 1495 if (write_history_p && history_filename) in quit_target() 1496 write_history (history_filename); in quit_target() 1695 history_filename = savestring (tmpenv, strlen (tmpenv)); in init_history() 1696 else if (!history_filename) in init_history() 1703 history_filename = concat (current_directory, "/_gdb_history", NULL); in init_history() 1705 history_filename = concat (current_directory, "/.gdb_history", NULL); in init_history() 1708 read_history (history_filename); in init_history() 1823 (char *) &history_filename, in init_main()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/history/core/browser/ |
H A D | in_memory_history_backend.cc | 21 bool InMemoryHistoryBackend::Init(const base::FilePath& history_filename) { in Init() argument 23 return db_->InitFromDisk(history_filename); in Init()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/history/core/browser/ |
H A D | in_memory_history_backend.cc | 21 bool InMemoryHistoryBackend::Init(const base::FilePath& history_filename) { in Init() argument 23 return db_->InitFromDisk(history_filename); in Init()
|
/dports/www/py-django-extensions/django-extensions-3.0.5/django_extensions/management/commands/ |
H A D | shell_plus.py | 410 history_filename = os.path.expanduser('~/.ptpython_history') 411 embed(globals=imported_objects, history_filename=history_filename, 430 history_filename = os.path.expanduser('~/.ptpython_history') 431 embed(user_ns=imported_objects, history_filename=history_filename,
|