/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/analysis/tests/ |
H A D | test_molecule_matcher.py | 164 mol1 = Molecule.from_file(os.path.join(test_dir, "t3.xyz")) 165 mol2 = Molecule.from_file(os.path.join(test_dir, "t4.xyz")) 210 mol2 = Molecule.from_file(os.path.join(test_dir, "t2.xyz")) 213 mol1 = Molecule.from_file(os.path.join(test_dir, "c1.xyz")) 214 mol2 = Molecule.from_file(os.path.join(test_dir, "c2.xyz")) 217 mol1 = Molecule.from_file(os.path.join(test_dir, "t3.xyz")) 218 mol2 = Molecule.from_file(os.path.join(test_dir, "t4.xyz")) 221 mol1 = Molecule.from_file(os.path.join(test_dir, "j1.xyz")) 222 mol2 = Molecule.from_file(os.path.join(test_dir, "j2.xyz")) 242 mol1 = Molecule.from_file(os.path.join(test_dir, "t3.xyz")) [all …]
|
H A D | test_molecule_structure_comparator.py | 23 mol1 = Molecule.from_file(os.path.join(test_dir, "t1.xyz")) 24 mol2 = Molecule.from_file(os.path.join(test_dir, "t2.xyz")) 25 mol3 = Molecule.from_file(os.path.join(test_dir, "t3.xyz")) 28 thio1 = Molecule.from_file(os.path.join(test_dir, "thiophene1.xyz")) 29 thio2 = Molecule.from_file(os.path.join(test_dir, "thiophene2.xyz")) 33 hal1 = Molecule.from_file(os.path.join(test_dir, "molecule_with_halogen_bonds_1.xyz")) 34 hal2 = Molecule.from_file(os.path.join(test_dir, "molecule_with_halogen_bonds_2.xyz")) 39 mol1 = Molecule.from_file(os.path.join(test_dir, "t1.xyz")) 73 mol2 = Molecule.from_file(os.path.join(test_dir, "MgBH42.xyz")) 100 mol1 = Molecule.from_file(os.path.join(test_dir, "molecule_with_halogen_bonds_1.xyz")) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/util/ |
H A D | move_tree_work_item_unittest.cc | 72 base::FilePath from_file(from_dir2); in TEST_F() local 73 from_file = from_file.AppendASCII("From_File"); in TEST_F() 118 base::FilePath from_file(from_dir2); in TEST_F() local 119 from_file = from_file.AppendASCII("From_File"); in TEST_F() 169 base::FilePath from_file(from_dir); in TEST_F() local 170 from_file = from_file.AppendASCII("From_File"); in TEST_F() 208 from_file = from_file.AppendASCII("From_File"); in TEST_F() 253 from_file = from_file.AppendASCII("From_File"); in TEST_F() 314 from_file = from_file.AppendASCII("From_File"); in TEST_F() 383 from_file = from_file.AppendASCII("From_File"); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/storage/browser/file_system/ |
H A D | native_file_util_unittest.cc | 214 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 215 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 225 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 281 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 294 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 334 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 342 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 369 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 432 from_file, to_file1, in TEST_F() 445 from_file, to_file2, in TEST_F() [all …]
|
H A D | obfuscated_file_util_memory_delegate_unittest.cc | 272 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 273 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 283 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 284 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 427 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 440 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 552 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 586 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 618 from_file, to_file, in TEST_F() 646 from_file, to_file, in TEST_F() [all …]
|
H A D | local_file_util_unittest.cc | 242 const char* from_file = "fromfile"; in TEST_F() local 254 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 255 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 268 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 269 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 296 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 297 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 306 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 314 const char* from_file = "fromfile"; in TEST_F() local 325 EXPECT_TRUE(FileExists(from_file)); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/storage/browser/file_system/ |
H A D | native_file_util_unittest.cc | 214 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 215 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 225 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 281 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 294 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 334 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 342 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 369 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 432 from_file, to_file1, in TEST_F() 445 from_file, to_file2, in TEST_F() [all …]
|
H A D | obfuscated_file_util_memory_delegate_unittest.cc | 272 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 273 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 283 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 284 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 426 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 439 ASSERT_TRUE(FileExists(from_file)); in TEST_F() 551 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 585 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 617 from_file, to_file, in TEST_F() 645 from_file, to_file, in TEST_F() [all …]
|
H A D | local_file_util_unittest.cc | 242 const char* from_file = "fromfile"; in TEST_F() local 254 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 255 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 268 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 269 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 296 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 297 EXPECT_EQ(1020, GetSize(from_file)); in TEST_F() 306 EXPECT_TRUE(FileExists(from_file)); in TEST_F() 314 const char* from_file = "fromfile"; in TEST_F() local 325 EXPECT_TRUE(FileExists(from_file)); in TEST_F() [all …]
|
/dports/devel/acme/acme-0.97.r323/src/ |
H A D | input.c | 117 static int from_file = 0; in get_processed_from_file() local 127 if (from_file == '#') { in get_processed_from_file() 150 if (from_file == EOF) { in get_processed_from_file() 159 return (char) from_file; in get_processed_from_file() 162 switch (from_file) { in get_processed_from_file() 188 if (from_file != '/') { in get_processed_from_file() 207 return (char) from_file; in get_processed_from_file() 214 } while ((from_file == '\t') || (from_file == ' ')); in get_processed_from_file() 243 } while ((from_file != EOF) && (from_file != CHAR_CR) && (from_file != CHAR_LF)); in get_processed_from_file() 312 switch (from_file) { in GetQuotedByte() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/systrace/systrace/tracing_agents/ |
H A D | atrace_from_file_agent.py | 27 if options.from_file is not None: 28 with open(options.from_file, 'rb') as f_in: 31 options.from_file = T2T_OUTPUT 53 def is_perfetto(from_file): argument 55 if ord(from_file.read(1)) != 0x0a: 62 c = ord(from_file.read(1)) 68 from_file.seek(field_size, os.SEEK_CUR) 70 if ord(from_file.read(1)) != 0x0a: 73 from_file.seek(0) 77 def __init__(self, from_file): argument [all …]
|
/dports/textproc/texi2html/texi2html-5.0/ |
H A D | manage_i18n.pl | 244 my $from_file = shift; 246 if (defined($from_file) and -f $from_file) 248 eval { require($from_file) ;}; 280 my $from_file = shift; 284 if (defined($from_file) and -f $from_file) 286 eval { require($from_file) ;}; 393 my $from_file = shift; 397 if ($to_file eq $from_file) 399 utime $atime, $mtime, $from_file; 405 if (open(FROMFILE, $from_file)) [all …]
|
H A D | manage_i18n.pl.in | 244 my $from_file = shift; 246 if (defined($from_file) and -f $from_file) 248 eval { require($from_file) ;}; 280 my $from_file = shift; 284 if (defined($from_file) and -f $from_file) 286 eval { require($from_file) ;}; 393 my $from_file = shift; 397 if ($to_file eq $from_file) 399 utime $atime, $mtime, $from_file; 405 if (open(FROMFILE, $from_file)) [all …]
|
/dports/science/py-molmod/molmod-1.4.8/molmod/test/ |
H A D | test_molecules.py | 39 … molecule = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/tpa.xyz")) 122 … molecule = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/lau.xyz")) 142 … molecule = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/il2.pdb")) 158 mol1 = Molecule.from_file("%s/caplayer.cml" % dn) 165 mol0 = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/water.xyz")) 168 mol1 = Molecule.from_file("%s/water.xyz" % dn) 174 mol0 = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/water.xyz")) 181 mol0 = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/water.xyz")) 187 mol0 = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/water.xyz")) 191 mol = Molecule.from_file(pkg_resources.resource_filename("molmod", "data/test/benzene.xyz")) [all …]
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/util/ |
H A D | LinkFileMap.java | 55 File from_file ) in get() argument 94 File from_file ) in getEntry() argument 133 File from_file, in put() argument 146 name_map.remove( new wrapper( from_file )); in put() 150 wrapper wrap = new wrapper( from_file ); in put() 155 !existing.getFromFile().equals( from_file) || in put() 167 File from_file, in putMigration() argument 172 name_map.put( new wrapper( from_file ), entry ); in putMigration() 291 private File from_file; field in LinkFileMap.Entry 301 from_file = _from_file; in Entry() [all …]
|
/dports/editors/joe/joe-4.6/joe/ |
H A D | selinux.c | 13 copy_security_context(const char *from_file, const char *to_file) in copy_security_context() argument 26 if (getfilecon(from_file, &from_context) < 0) { in copy_security_context() 36 from_file); in copy_security_context() 63 int match_default_security_context(const char *from_file) in match_default_security_context() argument 74 if (getfilecon(from_file, &scontext) < 0) { in match_default_security_context() 84 from_file); in match_default_security_context() 91 from_file); in match_default_security_context() 119 int output_security_context(const char *from_file) in output_security_context() argument 129 if (getfilecon(from_file, &scontext) < 0) { in output_security_context() 139 from_file); in output_security_context() [all …]
|
/dports/devel/dulwich/dulwich-0.19.16/dulwich/tests/ |
H A D | test_config.py | 42 def from_file(self, text): member in ConfigFileTests 43 return ConfigFile.from_file(BytesIO(text)) 52 cf = self.from_file(b"""[core] 65 cf = self.from_file(b"") 69 cf = self.from_file(b"\n[section]\n") 77 cf = self.from_file(b"[section] # foo\n") 120 cf = self.from_file( 126 cf = self.from_file( 133 cf = self.from_file( 175 cf = self.from_file(b"""[gui] [all …]
|
/dports/devel/kBuild/kBuild-0.1.9998/src/kmk/ |
H A D | file.c | 297 from_file = from_file->renamed; in rehash_file() 308 if (deleted_file != from_file) in rehash_file() 322 from_file->hname = to_hname; in rehash_file() 336 if (from_file->cmds != 0) in rehash_file() 365 if (from_file->multi_head) in rehash_file() 374 if (f == from_file) in rehash_file() 411 if (to_file->double_colon && from_file->is_target && !from_file->double_colon) in rehash_file() 440 from_file->renamed = to_file; in rehash_file() 451 while (from_file) in rename_file() 453 from_file->name = from_file->hname; in rename_file() [all …]
|
/dports/security/py-xmlsec/xmlsec-1.3.12/tests/ |
H A D | test_keys.py | 24 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 29 xmlsec.Key.from_file(1, format="") 35 xmlsec.Key.from_file(tmpfile.name, format=consts.KeyDataFormatPem) 39 key = xmlsec.Key.from_file(fobj, format=consts.KeyDataFormatPem) 46 xmlsec.Key.from_file(fp, format=consts.KeyDataFormatPem) 87 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 92 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 98 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 106 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 112 key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) [all …]
|
H A D | test_ds.py | 28 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 34 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 67 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 73 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 84 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 104 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 124 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 151 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 179 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) 190 ctx.key = xmlsec.Key.from_file(self.path("rsakey.pem"), format=consts.KeyDataFormatPem) [all …]
|
/dports/devel/remake/remake-4.3+dbg-1.5/src/ |
H A D | file.c | 61 from_file->builtin = 0; in rehash_file() 68 while (from_file->renamed != 0) in rehash_file() 69 from_file = from_file->renamed; in rehash_file() 76 if (deleted_file != from_file) in rehash_file() 86 from_file->hname = to_hname; in rehash_file() 100 if (from_file->cmds != 0) in rehash_file() 144 if (to_file->double_colon && from_file->is_target && !from_file->double_colon) in rehash_file() 176 from_file->renamed = to_file; in rehash_file() 187 while (from_file) in rename_file() 189 from_file->name = from_file->hname; in rename_file() [all …]
|
/dports/devel/gmake/make-4.3/src/ |
H A D | file.c | 226 from_file->builtin = 0; in rehash_file() 233 while (from_file->renamed != 0) in rehash_file() 234 from_file = from_file->renamed; in rehash_file() 241 if (deleted_file != from_file) in rehash_file() 251 from_file->hname = to_hname; in rehash_file() 265 if (from_file->cmds != 0) in rehash_file() 309 if (to_file->double_colon && from_file->is_target && !from_file->double_colon) in rehash_file() 341 from_file->renamed = to_file; in rehash_file() 352 while (from_file) in rename_file() 354 from_file->name = from_file->hname; in rename_file() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/ |
H A D | my_copy.cc | 82 File from_file, to_file; in my_copy() local 88 from_file = to_file = -1; in my_copy() 94 if ((from_file = my_open(from, O_RDONLY, MyFlags)) >= 0) { in my_copy() 107 while ((Count = my_read(from_file, buff, sizeof(buff), MyFlags)) != 0) { in my_copy() 118 if (my_close(from_file, MyFlags) | my_close(to_file, MyFlags)) in my_copy() 122 from_file = -1; in my_copy() 159 if (from_file >= 0) (void)my_close(from_file, MyFlags); in my_copy()
|
/dports/textproc/py-orange3-text/orange3-text-1.3.1/orangecontrib/text/tests/ |
H A D | test_corpus.py | 21 c = Corpus.from_file('book-excerpts') 32 c = Corpus.from_file('book-excerpts') 38 c = Corpus.from_file('deerwester') 45 c = Corpus.from_file('book-excerpts') 48 c2 = Corpus.from_file(file) 52 c = Corpus.from_file('book-excerpts') 58 Corpus.from_file('missing_file') 61 c = Corpus.from_file('book-excerpts') 66 c = Corpus.from_file('book-excerpts') 220 c = Corpus.from_file('deerwester') [all …]
|
/dports/print/lyx/lyx-2.3.4.2/src/graphics/ |
H A D | GraphicsConverter.cpp | 46 FileName const & from_file, string const & to_file_base, 125 string const & from_file, string const & to_file_base, 131 FileName const & from_file, string const & to_file_base, in Impl() argument 137 << "\n\tfrom_file: " << from_file in Impl() 149 build_script(doc_fname_.absFileName(), from_file.toFilesystemEncoding(), in Impl() 180 quoteName(onlyFileName(from_file.toFilesystemEncoding())) + ' ' + in Impl() 223 if (from_file == to_file) in move_file() 227 command << "fromfile = " << from_file << "\n" in move_file() 280 string const & from_file, in build_script() argument 305 string const from_ext = getExtension(from_file); in build_script() [all …]
|