Home
last modified time | relevance | path

Searched refs:get_filename (Results 1 – 25 of 44) sorted by relevance

12

/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_case_sensitivity.py47 self.assertIn(self.name, sensitive.get_filename(self.name))
56 self.assertIn(self.name, sensitive.get_filename(self.name))
58 self.assertIn(self.name, insensitive.get_filename(self.name))
Dtest_file_loader.py60 self.assertEqual(path, loader.get_filename(name))
61 self.assertEqual(path, loader.get_filename())
62 self.assertEqual(path, loader.get_filename(None))
64 loader.get_filename(name + 'XXX')
Dtest_finder.py119 self.assertIn('__init__', loader.get_filename(name))
/external/python/cpython3/Doc/includes/
Demail-read-alternative.py52 fn = part.get_filename()
54 extension = os.path.splitext(part.get_filename())[1]
Demail-unpack.py40 filename = part.get_filename()
/external/python/cpython2/Lib/test/
Dtest_zipimport.py220 self.assertEqual(zi.get_filename(TESTPACK), mod.__file__)
232 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
236 self.assertEqual(loader.get_filename(mod_name), mod.__file__)
265 self.assertEqual(zi.get_filename(TESTPACK2), mod.__file__)
276 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
280 self.assertEqual(loader.get_filename(mod_name), mod.__file__)
/external/python/cpython3/Lib/test/
Dtest_zipimport.py440 self.assertEqual(find_mod.get_filename('spam'), load_mod.__file__)
443 self.assertEqual(zi.get_filename(TESTPACK), mod.__file__)
459 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
464 self.assertEqual(loader.get_filename(mod_name), mod.__file__)
494 self.assertEqual(zi.get_filename(TESTPACK2), mod.__file__)
509 find_mod_dotted.get_filename(TESTMOD), load_mod.__file__)
517 self.assertEqual(zi.get_filename(mod_path), mod.__file__)
522 self.assertEqual(loader.get_filename(mod_name), mod.__file__)
693 self.assertRaises(ValueError, zi.get_filename, 'foo')
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py287 def get_filename(self, fullname): member in ExecutionLoader
288 return super().get_filename(fullname)
300 self.ins.get_filename('blah')
618 def mock_methods(self, *, get_source=False, get_filename=False): argument
623 if get_filename:
631 get_source=True, get_filename=True)
661 get_source=True, get_filename=True)
694 def get_filename(self, fullname): member in SourceOnlyLoader
/external/python/cpython3/Lib/importlib/
Dabc.py262 def get_filename(self, fullname): member in ExecutionLoader
280 path = self.get_filename(fullname)
D_bootstrap_external.py594 location = loader.get_filename(name)
714 filename = _path_split(self.get_filename(fullname))[1]
777 path = self.get_filename(fullname)
800 source_path = self.get_filename(fullname)
910 def get_filename(self, fullname): member in FileLoader
997 path = self.get_filename(fullname)
1069 def get_filename(self, fullname): member in ExtensionFileLoader
Dresources.py312 fullname_path = Path(self.zipimporter.get_filename(self.fullname))
/external/python/cpython2/Doc/includes/
Demail-unpack.py54 filename = part.get_filename()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/DIA/
DDIAInjectedSource.cpp33 return invokeBstrMethod(*SourceFile, &IDiaInjectedSource::get_filename); in getFileName()
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py141 filenames = [p.get_filename() for p in msg.get_payload()]
146 eq(subpart.get_filename(), 'dingusfish.gif')
152 filenames = [p.get_filename() for p in msg.get_payload()]
270 self.assertEqual(msg.get_filename(), None)
275 self.assertEqual(msg.get_filename(), '')
2304 eq(msg.get_filename(), 'foo\\wacky"name')
3098 self.assertEqual(msg.get_filename(),
3110 self.assertEqual(msg.get_filename(),
3123 msg.get_filename(),
3136 msg.get_filename(),
[all …]
Dtest_email.py146 filenames = [p.get_filename() for p in msg.get_payload()]
151 eq(subpart.get_filename(), 'dingusfish.gif')
157 filenames = [p.get_filename() for p in msg.get_payload()]
311 self.assertEqual(msg.get_filename(), None)
316 self.assertEqual(msg.get_filename(), '')
2443 eq(msg.get_filename(), 'foo\\wacky"name')
3360 self.assertEqual(msg.get_filename(),
3372 self.assertEqual(msg.get_filename(),
3385 msg.get_filename(),
3398 msg.get_filename(),
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py160 filenames = [p.get_filename() for p in msg.get_payload()]
165 eq(subpart.get_filename(), 'dingusfish.gif')
171 filenames = [p.get_filename() for p in msg.get_payload()]
340 self.assertEqual(msg.get_filename(), None)
345 self.assertEqual(msg.get_filename(), '')
3231 eq(msg.get_filename(), 'foo\\wacky"name')
5077 self.assertEqual(msg.get_filename(),
5091 self.assertEqual(msg.get_filename(),
5122 self.assertEqual(msg.get_filename(),
5135 self.assertEqual(msg.get_filename(),
[all …]
/external/python/cpython2/Lib/
Dpkgutil.py315 def get_filename(self, fullname=None): member in ImpLoader
319 return self._get_delegate().get_filename()
/external/python/cpython2/Lib/hotshot/
Dlog.py68 def get_filename(self, fileno): member in LogReader
/external/python/cpython3/Lib/
Dpkgutil.py357 def get_filename(self, fullname=None): member in ImpLoader
361 return self._get_delegate().get_filename()
Dpyclbr.py175 fname = spec.loader.get_filename(fullmodule)
/external/selinux/gui/
DmodulesPage.py189 self.add(dialog.get_filename())
Dpolgengui.py583 self.exec_entry.set_text(self.file_dialog.get_filename())
594 self.init_script_entry.set_text(self.file_dialog.get_filename())
673 self.output_entry.set_text(self.file_dialog.get_filename())
/external/python/cpython2/Lib/email/
Dgenerator.py343 'filename' : part.get_filename('[no filename]'),
/external/python/cpython3/Lib/idlelib/
Dquery.py204 file_path = spec.loader.get_filename(name)
/external/python/cpython3/Lib/email/
Dgenerator.py494 'filename' : part.get_filename('[no filename]'),

12