/external/libchrome/third_party/jinja2/ |
D | loaders.py | 70 def get_source(self, environment, template): member in BaseLoader 113 source, filename, uptodate = self.get_source(environment, name) 167 def get_source(self, environment, template): member in FileSystemLoader 231 def get_source(self, environment, template): member in PackageLoader 282 def get_source(self, environment, template): member in DictLoader 313 def get_source(self, environment, template): member in FunctionLoader 349 def get_source(self, environment, template): member in PrefixLoader 352 return loader.get_source(environment, name) 393 def get_source(self, environment, template): member in ChoiceLoader 396 return loader.get_source(environment, template)
|
/external/python/cpython2/Lib/ |
D | linecache.py | 92 get_source = getattr(loader, 'get_source', None) 94 if name and get_source: 96 data = get_source(name)
|
D | pkgutil.py | 280 source = self.get_source(fullname) 292 def get_source(self, fullname=None): member in ImpLoader 308 self.source = self._get_delegate().get_source()
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_abc.py | 260 def get_source(self, fullname): member in InspectLoader 261 return super().get_source(fullname) 277 self.ins.get_source('blah') 618 def mock_methods(self, *, get_source=False, get_filename=False): argument 620 if get_source: 631 get_source=True, get_filename=True) 644 source_mock_context, _ = self.mock_methods(get_source=True) 661 get_source=True, get_filename=True) 796 self.assertEqual(self.loader.get_source(self.name), expected_source) 801 self.loader.get_source(self.name) [all …]
|
/external/python/cpython3/Lib/ |
D | linecache.py | 171 get_source = getattr(loader, 'get_source', None) 173 if name and get_source: 174 get_lines = functools.partial(get_source, name)
|
D | pkgutil.py | 322 source = self.get_source(fullname) 334 def get_source(self, fullname=None): member in ImpLoader 349 self.source = self._get_delegate().get_source()
|
D | pyclbr.py | 168 source = spec.loader.get_source(fullmodule)
|
/external/python/cpython2/Lib/test/ |
D | test_zipimport.py | 230 self.assertEqual(zi.get_source(TESTPACK), None) 231 self.assertEqual(zi.get_source(mod_path), None) 235 self.assertEqual(loader.get_source(mod_name), None) 274 self.assertEqual(zi.get_source(TESTPACK2), None) 275 self.assertEqual(zi.get_source(mod_path), None) 279 self.assertEqual(loader.get_source(mod_name), None) 447 self.assertRaises(TypeError, z.get_source, None) 455 self.assertRaises(error, z.get_source, 'abc')
|
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 224 source = self.get_source(fullname) 230 def get_source(self, fullname): member in InspectLoader 276 source = self.get_source(fullname)
|
D | _bootstrap_external.py | 775 def get_source(self, fullname): member in SourceLoader 1012 def get_source(self, fullname): member in SourcelessFileLoader 1064 def get_source(self, fullname): member in ExtensionFileLoader 1150 def get_source(self, fullname): member in _NamespaceLoader
|
D | _bootstrap.py | 761 def get_source(cls, fullname): member in BuiltinImporter 838 def get_source(cls, fullname): member in FrozenImporter
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAInjectedSource.cpp | 54 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode() 58 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 457 self.assertEqual(zi.get_source(TESTPACK), None) 458 self.assertEqual(zi.get_source(mod_path), None) 463 self.assertEqual(loader.get_source(mod_name), None) 515 self.assertEqual(zi.get_source(TESTPACK2), None) 516 self.assertEqual(zi.get_source(mod_path), None) 521 self.assertEqual(loader.get_source(mod_name), None) 697 self.assertRaises(ValueError, zi.get_source, 'foo') 715 self.assertRaises(TypeError, zi.get_source, 'bar') 779 self.assertRaises(TypeError, z.get_source, None) 787 self.assertRaises(error, z.get_source, 'abc')
|
/external/python/cpython3/Python/ |
D | _warnings.c | 880 _Py_IDENTIFIER(get_source); in get_source_line() 885 PyObject *get_source; in get_source_line() local 904 (void)_PyObject_LookupAttrId(loader, &PyId_get_source, &get_source); in get_source_line() 906 if (!get_source) { in get_source_line() 911 source = PyObject_CallFunctionObjArgs(get_source, module_name, NULL); in get_source_line() 912 Py_DECREF(get_source); in get_source_line()
|
/external/v8/tools/testrunner/objects/ |
D | testcase.py | 248 source = source or self.get_source() 257 def get_source(self): member in TestCase
|
/external/v8/tools/testrunner/local/ |
D | verbose.py | 81 print test.get_source()
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 85 result = self.machinery.BuiltinImporter.get_source(util.BUILTINS.good_name)
|
/external/mesa3d/src/mesa/main/ |
D | ff_fragment_shader.cpp | 382 get_source(texenv_fragment_program *p, in get_source() function 443 src = get_source(p, source, unit); in emit_combine_source() 600 return get_source(p, TEXENV_SRC_PREVIOUS, 0); in emit_texenv() 1001 ir_rvalue *cf = get_source(p, TEXENV_SRC_PREVIOUS, 0); in emit_instructions()
|
/external/pdfium/fxjs/ |
D | cjs_event.h | 59 CJS_Return get_source(CJS_Runtime* pRuntime);
|
D | cjs_event.cpp | 230 CJS_Return event::get_source(CJS_Runtime* pRuntime) { in get_source() function in event
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 200 result = self.machinery.FrozenImporter.get_source('__hello__')
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atifs_to_tgsi.c | 126 get_source(struct st_translate *t, GLuint src_type) in get_source() function 154 struct ureg_src src = get_source(t, srcReg->Index); in prepare_argument()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a2.rst | 68 Fix an assertion failure in `zipimporter.get_source()` in case of a bad 242 of the received loader's get_source() has a bad splitlines() method. Patch
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 40 def get_source(self, _): return 'attr = 42' member in SimpleTest.test_load_module_API.Tester 53 def get_source(self, _): pass member in SimpleTest.test_get_filename_API.Tester
|
/external/python/cpython3/Doc/library/ |
D | zipimport.rst | 106 .. method:: get_source(fullname)
|