/dports/games/xinfocom/xinfocom/ |
H A D | file.c | 77 filep save_file; in save_game() local 95 err = save_block(i, save_file); in save_game() 106 err = err || os_close(save_file); in save_game() 164 filep save_file; in restore_game() local 184 err = !find_cookie(save_file); in restore_game() 186 err = load_block(i, save_file); in restore_game() 189 err = err || ld_word(save_file, &temp); in restore_game() 191 err = err || ld_word(save_file, &temp); in restore_game() 195 err = ld_word(save_file, &temp); in restore_game() 200 err = err || ld_word(save_file, &page); in restore_game() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/tests/ |
H A D | test-save-and-export.c | 190 GFile *save_file; in saved_imported_file_files() local 228 save_file, in saved_imported_file_files() 241 g_file_delete (save_file, NULL, NULL); in saved_imported_file_files() 242 g_object_unref (save_file); in saved_imported_file_files() 255 GFile *save_file; in exported_file_files() local 272 save_file, in exported_file_files() 284 g_file_delete (save_file, NULL, NULL); in exported_file_files() 285 g_object_unref (save_file); in exported_file_files() 303 GFile *save_file; in clear_import_file_after_export() local 343 save_file, in clear_import_file_after_export() [all …]
|
/dports/astro/p5-Astro-Constants/Astro-Constants-0.14/script/ |
H A D | archive_xmlfile.pl | 30 my $save_file = join '/', $archive_dir, "$archive_name$extension"; 31 if (-e $save_file) { 32 print "File $save_file exists. Renaming\n"; 36 say "File already archived as $save_file Exiting"; 41 $save_file = join '.', $save_file, ($1 + 1); 44 $save_file .= '.1'; 48 copy( $file, $save_file ); 49 say "$file archived as $save_file";
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/download/ |
H A D | save_file_manager.cc | 355 auto save_file = in StartSave() local 359 save_file->Initialize(); in StartSave() 363 save_file_map_[save_file->save_item_id()] = std::move(save_file); in StartSave() 378 if (save_file) { in UpdateSaveProgress() 379 DCHECK(save_file->InProgress()); in UpdateSaveProgress() 386 save_file->save_item_id(), save_file->BytesSoFar(), in UpdateSaveProgress() 406 if (save_file) { in SaveFinished() 407 DCHECK(save_file->InProgress()); in SaveFinished() 410 save_file->Finish(); in SaveFinished() 411 save_file->Detach(); in SaveFinished() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/download/ |
H A D | save_file_manager.cc | 371 auto save_file = in StartSave() local 375 save_file->Initialize(); in StartSave() 379 save_file_map_[save_file->save_item_id()] = std::move(save_file); in StartSave() 394 if (save_file) { in UpdateSaveProgress() 395 DCHECK(save_file->InProgress()); in UpdateSaveProgress() 402 save_file->save_item_id(), save_file->BytesSoFar(), in UpdateSaveProgress() 422 if (save_file) { in SaveFinished() 423 DCHECK(save_file->InProgress()); in SaveFinished() 426 save_file->Finish(); in SaveFinished() 427 save_file->Detach(); in SaveFinished() [all …]
|
/dports/audio/cam/cam-1.02/ |
H A D | sounds.c | 137 FILE *save_file; in set_sound() local 155 fscanf(save_file,"%i\n",&dummy); in set_sound() 160 fflush(save_file); in set_sound() 165 fclose(save_file); in set_sound() 172 fscanf(save_file,"%i\n",&dummy); in set_sound() 176 fflush(save_file); in set_sound() 180 fclose(save_file); in set_sound() 188 fprintf(save_file,"%i\n",0); in set_sound() 215 fprintf(save_file,"%i\n",0); in set_sound() 305 FILE *save_file; in ctrl_sliders() local [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/HW/GCMemcard/ |
H A D | GCIFile.cpp | 21 File::IOFile save_file(m_filename, "rb"); in LoadHeader() local 22 if (!save_file) in LoadHeader() 26 if (!save_file.ReadBytes(&m_gci_header, sizeof(m_gci_header))) in LoadHeader() 42 File::IOFile save_file(m_filename, "rb"); in LoadSaveBlocks() local 43 if (!save_file) in LoadSaveBlocks() 50 u64 file_size = save_file.GetSize(); in LoadSaveBlocks() 61 save_file.Seek(DENTRY_SIZE, SEEK_SET); in LoadSaveBlocks() 62 if (!save_file.ReadBytes(m_save_data.data(), size)) in LoadSaveBlocks()
|
/dports/net/wireshark/wireshark-3.6.1/ui/ |
H A D | rtp_stream.c | 79 tapinfo->save_file = ws_fopen(filename, "wb"); in rtpstream_save() 80 if (tapinfo->save_file==NULL) { in rtpstream_save() 85 rtp_write_header(stream, tapinfo->save_file); in rtpstream_save() 86 if (ferror(tapinfo->save_file)) { in rtpstream_save() 88 fclose(tapinfo->save_file); in rtpstream_save() 103 if (ferror(tapinfo->save_file)) { in rtpstream_save() 105 fclose(tapinfo->save_file); in rtpstream_save() 109 if (fclose(tapinfo->save_file) == EOF) { in rtpstream_save()
|
H A D | capture.c | 136 if(capture_opts->save_file != NULL) { in capture_start() 137 g_free(capture_opts->save_file); in capture_start() 138 capture_opts->save_file = NULL; in capture_start() 393 if(capture_opts->save_file != NULL) { in capture_input_new_file() 407 g_free(capture_opts->save_file); in capture_input_new_file() 523 ws_assert(capture_opts->save_file); in capture_input_new_packets() 760 if(capture_opts->save_file == NULL) { in capture_input_closed() 772 g_free(capture_opts->save_file); in capture_input_closed() 779 capture_opts->save_file = NULL; in capture_input_closed() 783 g_free(capture_opts->save_file); in capture_input_closed() [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/ui/ |
H A D | rtp_stream.c | 79 tapinfo->save_file = ws_fopen(filename, "wb"); in rtpstream_save() 80 if (tapinfo->save_file==NULL) { in rtpstream_save() 85 rtp_write_header(stream, tapinfo->save_file); in rtpstream_save() 86 if (ferror(tapinfo->save_file)) { in rtpstream_save() 88 fclose(tapinfo->save_file); in rtpstream_save() 103 if (ferror(tapinfo->save_file)) { in rtpstream_save() 105 fclose(tapinfo->save_file); in rtpstream_save() 109 if (fclose(tapinfo->save_file) == EOF) { in rtpstream_save()
|
H A D | capture.c | 136 if(capture_opts->save_file != NULL) { in capture_start() 137 g_free(capture_opts->save_file); in capture_start() 138 capture_opts->save_file = NULL; in capture_start() 393 if(capture_opts->save_file != NULL) { in capture_input_new_file() 407 g_free(capture_opts->save_file); in capture_input_new_file() 523 ws_assert(capture_opts->save_file); in capture_input_new_packets() 760 if(capture_opts->save_file == NULL) { in capture_input_closed() 772 g_free(capture_opts->save_file); in capture_input_closed() 779 capture_opts->save_file = NULL; in capture_input_closed() 783 g_free(capture_opts->save_file); in capture_input_closed() [all …]
|
/dports/net/tshark/wireshark-3.6.1/ui/ |
H A D | rtp_stream.c | 79 tapinfo->save_file = ws_fopen(filename, "wb"); 80 if (tapinfo->save_file==NULL) { 85 rtp_write_header(stream, tapinfo->save_file); 86 if (ferror(tapinfo->save_file)) { 88 fclose(tapinfo->save_file); 103 if (ferror(tapinfo->save_file)) { 105 fclose(tapinfo->save_file); 109 if (fclose(tapinfo->save_file) == EOF) {
|
/dports/net/tshark-lite/wireshark-3.6.1/ui/ |
H A D | rtp_stream.c | 79 tapinfo->save_file = ws_fopen(filename, "wb"); in rtpstream_save() 80 if (tapinfo->save_file==NULL) { in rtpstream_save() 85 rtp_write_header(stream, tapinfo->save_file); in rtpstream_save() 86 if (ferror(tapinfo->save_file)) { in rtpstream_save() 88 fclose(tapinfo->save_file); in rtpstream_save() 103 if (ferror(tapinfo->save_file)) { in rtpstream_save() 105 fclose(tapinfo->save_file); in rtpstream_save() 109 if (fclose(tapinfo->save_file) == EOF) { in rtpstream_save()
|
/dports/news/nn/nn-6.7.3/ |
H A D | save.c | 225 if (current_group->save_file) in init_save() 464 save_file = NULL; in save() 513 if (save_file == NULL) { in save() 542 mailbox_format(save_file, 1); in save() 549 putc(c, save_file); in save() 559 fputc(NL, save_file); in save() 561 fflush(save_file); in save() 573 fputs(copybuf, save_file); in save() 589 save_file = NULL; in save() 636 sf = save_file; in end_save() [all …]
|
/dports/print/tex-dvipsk/texlive-20150521-source/texk/dvipsk/vmcms/ |
H A D | dvipscms.h | 101 char *save_file; local 105 if (!(save_file = 111 strcpy(save_file, filename); 115 ptr = strtok(save_file, ". ") ; 138 free(save_file);
|
/dports/graphics/sane-airscan/sane-airscan-0.99.26/ |
H A D | test-decode.c | 25 } save_file; typedef 47 save_file *file = png_get_io_ptr(png_ptr); in png_write_fn() 59 save_file *file = png_get_error_ptr(png_ptr); in png_error_fn() 65 save_file* 68 save_file *save = mem_new(save_file, 1); in save_open() 112 save_close (save_file *save) in save_close() 124 save_write (save_file *save, void *data) in save_write() 143 save_file *save; in main()
|
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/cli/ |
H A D | gaussian_analyzer.py | 22 save_file = "gau_data.gz" variable 39 if os.path.exists(save_file) and not reanalyze: 40 …msg = "Using previously assimilated data from {}.".format(save_file) + " Use -f to force re-analys… 41 queen.load_data(save_file) 44 msg = "Results saved to {} for faster reloading.".format(save_file) 45 queen.save_data(save_file)
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/HW/ |
H A D | WiiSave.cpp | 180 SaveFile save_file; in ScanForFiles() local 182 save_file.attributes = 0; in ScanForFiles() 302 SaveFile save_file; in ReadFiles() local 307 save_file.mode = file_hdr.permissions; in ReadFiles() 308 save_file.attributes = file_hdr.attrib; in ReadFiles() 312 save_file.type = type; in ReadFiles() 313 save_file.path = in ReadFiles() 359 for (const SaveFile& save_file : files) in WriteFiles() local 363 file_hdr.permissions = save_file.mode; in WriteFiles() 364 file_hdr.attrib = save_file.attributes; in WriteFiles() [all …]
|
/dports/sysutils/py-salt/salt-3004.1/salt/states/ |
H A D | iptables.py | 392 save_file = rule["save"] 394 save_file = True 402 if save_file is True: 403 save_file = None 521 save_file = rule["save"] 523 save_file = True 531 if save_file is True: 532 save_file = None 649 save_file = True 657 if save_file is True: [all …]
|
/dports/games/voadi/voadi-v0.3/data/scripts/ |
H A D | game_manager.lua | 13 local save_file = "save1.dat" 22 sol.game.delete(save_file) 23 local game = sol.game.load(save_file) 32 local game = sol.game.load(save_file)
|
/dports/www/p5-HTTP-Cookies-Mozilla/HTTP-Cookies-Mozilla-2.036/t/ |
H A D | save_ff3.t | 10 my $save_file = 't/cookies2.sqlite'; 13 END { -e $_ && unlink $_ for $save_file, $txt_file1, $txt_file2 } 44 my $result = $jar->save($save_file); 45 ok(-s $save_file, "something was saved, actually ($condition)"); 49 my $jar2 = HTTP::Cookies::Mozilla->new(File => $save_file); 60 -e $_ && unlink $_ for $save_file, $txt_file1, $txt_file2;
|
/dports/games/zoom/zoom-1.1.5/src/ |
H A D | options.c | 114 args->save_file = args->arg[1]; in get_options() 182 args->save_file = argv[optind+1]; in get_options() 184 args->save_file = NULL; in get_options() 202 args->save_file = NULL; in get_options() 207 args->save_file = NULL; in get_options() 212 args->save_file = argv[2]; in get_options()
|
/dports/graphics/gegl/gegl-0.4.34/examples/ |
H A D | 2geglbuffer.c | 10 GeglNode *gegl, *load_file, *save_file; in main() local 27 save_file = gegl_node_new_child (gegl, in main() 32 gegl_node_link_many (load_file, save_file, NULL); in main() 33 gegl_node_process (save_file); in main()
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-fec/python/fec/polar/ |
H A D | channel_construction_bec.py | 131 def plot_channel_capacities(capacity, save_file=None): argument 147 if save_file: 148 plt.savefig(save_file) 154 def plot_average_channel_distance(save_file=None): argument 192 if save_file: 193 plt.savefig(save_file) 199 def plot_capacity_histogram(design_snr, save_file=None): argument 220 if save_file: 221 plt.savefig(save_file)
|
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/io/ |
H A D | DocumentEntryAutosaveThread.java | 78 final File save_file; in run() local 82 save_file = new File(System.getProperty("user.dir")+ in run() 86 save_file = new File ("#" + entry_name + "#"); in run() 97 final Document save_document = new FileDocument (save_file); in run() 130 save_file.renameTo (new_name); in run()
|