/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/ |
H A D | test_hashing_helper.py | 52 with open(tmp_file, 'rb') as stream: 56 with open(tmp_file, 'rb') as stream: 76 tmp_file = self._GetTestFile() 89 with open(tmp_file, 'rb') as stream: 102 with open(tmp_file, 'rb') as stream: 150 tmp_file = self._GetTestFile() 159 with open(tmp_file, 'rb') as stream: 166 with open(tmp_file, 'rb') as stream: 191 tmp_file = self._GetTestFile() 200 with open(tmp_file, 'rb') as stream: [all …]
|
/dports/textproc/py-pyexcel-xlsx/pyexcel-xlsx-0.6.0/tests/ |
H A D | test_bug_fixes.py | 38 tmp_file = "issue_8_save_as.xlsx" 40 s.save_as(tmp_file) 41 s2 = pe.load(tmp_file) 55 os.unlink(tmp_file) 63 tmp_file = "issue_8_save_as.xlsx" 66 s.save_as(tmp_file) 67 s2 = pe.load(tmp_file) 81 os.unlink(tmp_file) 85 tmp_file = "date_field.xlsx" 86 s = pe.get_sheet(file_name=get_fixtures(tmp_file))
|
/dports/www/fusionpbx/fusionpbx-4.4.1/resources/install/scripts/app/voicemail/resources/functions/ |
H A D | record_menu.lua | 27 function record_menu(type, tmp_file, greeting_id, menu) 55 session:streamFile(tmp_file); 58 record_menu(type, tmp_file, greeting_id, menu); 75 if (file_exists(tmp_file)) then 76 os.rename(tmp_file, real_file); 189 if (file_exists(tmp_file)) then 190 os.remove(tmp_file); 200 if (file_exists(tmp_file)) then 201 os.remove(tmp_file); 224 if (file_exists(tmp_file)) then [all …]
|
/dports/devel/p5-Config-Std/Config-Std-0.903/t/ |
H A D | 03autoviv.t | 11 my $tmp_file = 'tmp_file'; 12 open my $fh, '>', $tmp_file or die; 17 read_config $tmp_file, my %config; 21 open $fh, '<', $tmp_file; 27 read_config $tmp_file, my $config_ref; 31 open $fh, '<', $tmp_file; 37 unlink $tmp_file;
|
/dports/devel/py-game/pygame-2.1.0/test/ |
H A D | image__save_gl_surface_test.py | 25 tmp_file = os.path.join(tmp_dir, "opengl_save_surface_test.png") 26 pygame.image.save(screen, tmp_file) 28 self.assertTrue(os.path.exists(tmp_file)) 30 os.remove(tmp_file) 33 tmp_file = os.path.join(tmp_dir, "opengl_save_surface_test.bmp") 34 pygame.image.save(screen, tmp_file) 36 self.assertTrue(os.path.exists(tmp_file)) 38 os.remove(tmp_file)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/build/android/pylib/utils/ |
H A D | test_filter_test.py | 94 tmp_file.seek(0) 98 tmp_file.name]) 107 tmp_file.write('-negative2\n-negative3\n') 108 tmp_file.seek(0) 113 tmp_file.name]) 122 tmp_file.write('positive1\n') 123 tmp_file.seek(0) 128 tmp_file.name]) 136 tmp_file.write('-negative3\n-negative4\n') 137 tmp_file.seek(0) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/build/android/pylib/utils/ |
H A D | test_filter_test.py | 94 tmp_file.seek(0) 98 tmp_file.name]) 107 tmp_file.write('-negative2\n-negative3\n') 108 tmp_file.seek(0) 113 tmp_file.name]) 122 tmp_file.write('positive1\n') 123 tmp_file.seek(0) 128 tmp_file.name]) 136 tmp_file.write('-negative3\n-negative4\n') 137 tmp_file.seek(0) [all …]
|
/dports/lang/v8/v8-9.6.180.12/build/android/pylib/utils/ |
H A D | test_filter_test.py | 94 tmp_file.seek(0) 98 tmp_file.name]) 107 tmp_file.write('-negative2\n-negative3\n') 108 tmp_file.seek(0) 113 tmp_file.name]) 122 tmp_file.write('positive1\n') 123 tmp_file.seek(0) 128 tmp_file.name]) 136 tmp_file.write('-negative3\n-negative4\n') 137 tmp_file.seek(0) [all …]
|
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/build/android/pylib/utils/ |
H A D | test_filter_test.py | 94 tmp_file.seek(0) 98 tmp_file.name]) 107 tmp_file.write('-negative2\n-negative3\n') 108 tmp_file.seek(0) 113 tmp_file.name]) 122 tmp_file.write('positive1\n') 123 tmp_file.seek(0) 128 tmp_file.name]) 136 tmp_file.write('-negative3\n-negative4\n') 137 tmp_file.seek(0) [all …]
|
/dports/devel/glib20/glib-2.70.4/gio/tests/ |
H A D | readwrite.c | 143 char *tmp_file; in test_g_file_open_readwrite() local 152 &tmp_file, NULL); in test_g_file_open_readwrite() 180 g_unlink (tmp_file); in test_g_file_open_readwrite() 181 g_free (tmp_file); in test_g_file_open_readwrite() 187 char *tmp_file; in test_g_file_create_readwrite() local 197 &tmp_file, NULL); in test_g_file_create_readwrite() 208 g_unlink (tmp_file); in test_g_file_create_readwrite() 228 g_unlink (tmp_file); in test_g_file_create_readwrite() 229 g_free (tmp_file); in test_g_file_create_readwrite() 247 &tmp_file, NULL); in test_g_file_replace_readwrite() [all …]
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/shn/ |
H A D | shn.c | 876 shn_file *tmp_file; in shn_insert() local 917 shn_unload(tmp_file); in shn_insert() 1611 shn_file *tmp_file; in load_shn() local 1624 tmp_file->vars.fd = NULL; in load_shn() 1626 tmp_file->vars.eof = 0; in load_shn() 1667 shn_unload(tmp_file); in load_shn() 1684 shn_unload(tmp_file); in load_shn() 1691 tmp_file->vars.bytes_read += tmp_file->wave_header.id3v2_tag_size; in load_shn() 1692 tmp_file->vars.seek_offset = tmp_file->wave_header.id3v2_tag_size; in load_shn() 1702 shn_unload(tmp_file); in load_shn() [all …]
|
/dports/devel/antlr/antlr-2.7.7/antlr/ |
H A D | PreservingFileWriter.java | 20 protected File tmp_file; /// the tmp file we create at first field in PreservingFileWriter 43 tmp_file = new File(file+".antlr.tmp"); in PreservingFileWriter() 67 if( target_file.length() == tmp_file.length() ) in close() 73 source = new BufferedReader(new FileReader(tmp_file)); in close() 108 source = new BufferedReader(new FileReader(tmp_file)); in close() 131 if( tmp_file != null && tmp_file.exists() ) in close() 133 tmp_file.delete(); in close() 134 tmp_file = null; in close()
|
/dports/textproc/R-cran-openxlsx/openxlsx/tests/testthat/ |
H A D | test-fill_merged_cells.R | 24 tmp_file <- temp_xlsx() globalVar 25 saveWorkbook(wb = wb, file = tmp_file, overwrite = TRUE) 27 expect_equal(names(read.xlsx(tmp_file, fillMergedCells = FALSE)), c("A", "B", "X3", "X4")) 28 expect_equal(names(read.xlsx(tmp_file, fillMergedCells = TRUE)), c("A", "B", "B", "B")) 37 expect_equal(read.xlsx(tmp_file, fillMergedCells = FALSE), r1) 38 expect_equal(read.xlsx(tmp_file, fillMergedCells = TRUE), r2) 40 expect_equal( read.xlsx(tmp_file, cols = 1:3, fillMergedCells = TRUE), r2_1) 41 expect_equal( read.xlsx(tmp_file, rows = 1:3, fillMergedCells = TRUE), r2[1:2, ]) 42 expect_equal( read.xlsx(tmp_file, cols = 1:3, rows = 1:4, fillMergedCells = TRUE), r2_1[1:3,])
|
/dports/devel/p5-MCE-Shared/MCE-Shared-1.874/t/ |
H A D | 07_shared_handle.t | 19 my $tmp_file = "$tmp_dir/test.txt"; 21 my $fh = MCE::Shared->handle(">:raw", $tmp_file); 33 mce_open my $fh, ">>:raw", $tmp_file; 42 mce_open $fh, "<:raw", $tmp_file or die "open error: $!"; 74 mce_open $fh, ">:raw", $tmp_file or die "open error: $!"; 82 mce_open $fh, "<:raw", $tmp_file or die "open error: $!"; 98 unlink $tmp_file if -f $tmp_file;
|
/dports/www/firefox-esr/firefox-91.8.0/testing/mozbase/mozproxy/mozproxy/ |
H A D | recordings.py | 71 for tmp_file in os.listdir(self._tempdir): 72 if tmp_file.endswith(".mp"): 73 LOG.info("Renaming %s to dump.mp file" % tmp_file) 75 elif tmp_file.endswith(".json"): 76 if tmp_file.startswith("mitm_netlocs_"): 77 LOG.info("Renaming %s to netlocs.json file" % tmp_file) 79 self._get_temp_path("%s.json" % os.path.splitext(tmp_file)[0]), 83 LOG.info("Renaming %s to metadata.json file" % tmp_file) 88 elif tmp_file.endswith(".png"): 89 LOG.info("Renaming %s to screenshot.png file" % tmp_file) [all …]
|
/dports/www/firefox/firefox-99.0/testing/mozbase/mozproxy/mozproxy/ |
H A D | recordings.py | 73 for tmp_file in os.listdir(self._tempdir): 74 if tmp_file.endswith(".mp"): 75 LOG.info("Renaming %s to dump.mp file" % tmp_file) 77 elif tmp_file.endswith(".json"): 78 if tmp_file.startswith("mitm_netlocs_"): 79 LOG.info("Renaming %s to netlocs.json file" % tmp_file) 81 self._get_temp_path("%s.json" % os.path.splitext(tmp_file)[0]), 85 LOG.info("Renaming %s to metadata.json file" % tmp_file) 90 elif tmp_file.endswith(".png"): 91 LOG.info("Renaming %s to screenshot.png file" % tmp_file) [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/mozbase/mozproxy/mozproxy/ |
H A D | recordings.py | 71 for tmp_file in os.listdir(self._tempdir): 72 if tmp_file.endswith(".mp"): 73 LOG.info("Renaming %s to dump.mp file" % tmp_file) 75 elif tmp_file.endswith(".json"): 76 if tmp_file.startswith("mitm_netlocs_"): 77 LOG.info("Renaming %s to netlocs.json file" % tmp_file) 79 self._get_temp_path("%s.json" % os.path.splitext(tmp_file)[0]), 83 LOG.info("Renaming %s to metadata.json file" % tmp_file) 88 elif tmp_file.endswith(".png"): 89 LOG.info("Renaming %s to screenshot.png file" % tmp_file) [all …]
|
/dports/devel/brz/breezy-3.2.0/breezy/ |
H A D | mergetools.py | 73 args, tmp_file = _subst_filename(cmd_list, filename) 76 if tmp_file is not None: 78 shutil.move(tmp_file, filename) 80 os.remove(tmp_file) 97 tmp_file = None 101 fh, tmp_file = tempfile.mkstemp(u"_bzr_mergetools_%s.THIS" % 103 trace.mutter('fh=%r, tmp_file=%r', fh, tmp_file) 105 shutil.copy(filename + u".THIS", tmp_file) 106 subst_names['this_temp'] = tmp_file 109 return subst_args, tmp_file
|
/dports/audio/sox/sox-14.4.2/src/ |
H A D | reverse.c | 18 FILE * tmp_file; in Error() 25 p->tmp_file = lsx_tmpfile(); 26 if (p->tmp_file == NULL) { 37 if (fwrite(ibuf, sizeof(*ibuf), *isamp, p->tmp_file) != *isamp) { 51 fflush(p->tmp_file); 52 p->pos = ftello(p->tmp_file); 60 fseeko(p->tmp_file, (off_t)(p->pos * sizeof(sox_sample_t)), SEEK_SET); 61 if (fread(obuf, sizeof(sox_sample_t), *osamp, p->tmp_file) != *osamp) { 76 fclose(p->tmp_file); /* auto-deleted by lsx_tmpfile */
|
/dports/biology/vcftools/vcftools-0.1.16/src/cpp/ |
H A D | variant_file.cpp | 71 void variant_file::read_temp_site(ifstream &tmp_file, string &CHROM, int &POS, vector< pair<int,int… in read_temp_site() argument 77 tmp_file.read(&tmp_char,sizeof(char)); in read_temp_site() 84 tmp_file.read((char*)&POS,sizeof(POS)); in read_temp_site() 89 tmp_file.read(&in_byte,sizeof(in_byte)); in read_temp_site() 104 void variant_file::read_big_temp_site(ifstream &tmp_file, string &CHROM, int &POS, int &alleles, ve… in read_big_temp_site() argument 110 tmp_file.read(&tmp_char,sizeof(char)); in read_big_temp_site() 117 tmp_file.read((char*)&POS,sizeof(POS)); in read_big_temp_site() 120 tmp_file.read((char*)&tmp_alleles,sizeof(tmp_alleles)); in read_big_temp_site() 126 tmp_file.read(&in_byte,sizeof(in_byte)); in read_big_temp_site() 132 tmp_file.read(&in_byte,sizeof(in_byte)); in read_big_temp_site()
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/tests/ |
H A D | export.pl | 41 $tmp_file="/tmp/export-old.$$"; 135 unlink($tmp_file); 137 $dbh->Query("select * into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 139 …$dbh->Query("load data infile '$tmp_file' into table export $A") or die $Mysql::db_errstr . " with… 166 unlink($tmp_file); 168 …$dbh->Query("select $field_list into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 170 …$dbh->Query("load data infile '$tmp_file' into table export $A ($field_list)") or die $Mysql::db_e… 180 unlink($tmp_file);
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/tests/ |
H A D | export.pl | 41 $tmp_file="/tmp/export-old.$$"; 135 unlink($tmp_file); 137 $dbh->Query("select * into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 139 …$dbh->Query("load data infile '$tmp_file' into table export $A") or die $Mysql::db_errstr . " with… 166 unlink($tmp_file); 168 …$dbh->Query("select $field_list into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 170 …$dbh->Query("load data infile '$tmp_file' into table export $A ($field_list)") or die $Mysql::db_e… 180 unlink($tmp_file);
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/tests/ |
H A D | export.pl | 41 $tmp_file="/tmp/export-old.$$"; 135 unlink($tmp_file); 137 $dbh->Query("select * into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 139 …$dbh->Query("load data infile '$tmp_file' into table export $A") or die $Mysql::db_errstr . " with… 166 unlink($tmp_file); 168 …$dbh->Query("select $field_list into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 170 …$dbh->Query("load data infile '$tmp_file' into table export $A ($field_list)") or die $Mysql::db_e… 180 unlink($tmp_file);
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/tests/ |
H A D | export.pl | 41 $tmp_file="/tmp/export-old.$$"; 135 unlink($tmp_file); 137 $dbh->Query("select * into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 139 …$dbh->Query("load data infile '$tmp_file' into table export $A") or die $Mysql::db_errstr . " with… 166 unlink($tmp_file); 168 …$dbh->Query("select $field_list into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 170 …$dbh->Query("load data infile '$tmp_file' into table export $A ($field_list)") or die $Mysql::db_e… 180 unlink($tmp_file);
|
/dports/databases/mariadb104-server/mariadb-10.4.24/tests/ |
H A D | export.pl | 34 $tmp_file="/tmp/export-old.$$"; 128 unlink($tmp_file); 130 $dbh->Query("select * into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 132 …$dbh->Query("load data infile '$tmp_file' into table export $A") or die $Mysql::db_errstr . " with… 159 unlink($tmp_file); 161 …$dbh->Query("select $field_list into outfile '$tmp_file' $A from export") or die $Mysql::db_errstr; 163 …$dbh->Query("load data infile '$tmp_file' into table export $A ($field_list)") or die $Mysql::db_e… 173 unlink($tmp_file);
|