/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/jinja/src/jinja2/ |
D | loaders.py | 69 def get_source(self, environment, template): member in BaseLoader 113 source, filename, uptodate = self.get_source(environment, name) 174 def get_source(self, environment, template): member in FileSystemLoader 287 def get_source(self, environment, template): member in PackageLoader 365 def get_source(self, environment, template): member in DictLoader 396 def get_source(self, environment, template): member in FunctionLoader 432 def get_source(self, environment, template): member in PrefixLoader 435 return loader.get_source(environment, name) 476 def get_source(self, environment, template): member in ChoiceLoader 479 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/ |
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 | 323 source = self.get_source(fullname) 335 def get_source(self, fullname=None): member in ImpLoader 350 self.source = self._get_delegate().get_source()
|
D | pyclbr.py | 170 source = spec.loader.get_source(fullmodule)
|
/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') 631 def mock_methods(self, *, get_source=False, get_filename=False): argument 633 if get_source: 644 get_source=True, get_filename=True) 657 source_mock_context, _ = self.mock_methods(get_source=True) 674 get_source=True, get_filename=True) 809 self.assertEqual(self.loader.get_source(self.name), expected_source) 814 self.loader.get_source(self.name) [all …]
|
/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/llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAInjectedSource.cpp | 53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode() 57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAInjectedSource.cpp | 53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode() 57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
|
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 225 source = self.get_source(fullname) 231 def get_source(self, fullname): member in InspectLoader 277 source = self.get_source(fullname)
|
D | _bootstrap_external.py | 838 def get_source(self, fullname): member in SourceLoader 1078 def get_source(self, fullname): member in SourcelessFileLoader 1130 def get_source(self, fullname): member in ExtensionFileLoader 1219 def get_source(self, fullname): member in _NamespaceLoader
|
D | _bootstrap.py | 778 def get_source(cls, fullname): member in BuiltinImporter 857 def get_source(cls, fullname): member in FrozenImporter
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 475 self.assertEqual(zi.get_source(TESTPACK), None) 476 self.assertEqual(zi.get_source(mod_path), None) 481 self.assertEqual(loader.get_source(mod_name), None) 529 self.assertEqual(zi.get_source(TESTPACK2), None) 530 self.assertEqual(zi.get_source(mod_path), None) 535 self.assertEqual(loader.get_source(mod_name), None) 752 self.assertRaises(TypeError, z.get_source, None) 760 self.assertRaises(error, z.get_source, 'abc')
|
D | test_unparse.py | 133 def get_source(self, code1, code2=None): member in ASTTestCase 139 code1, code2 = self.get_source(code1, code2) 144 code1, code2 = self.get_source(code1, code2)
|
/external/python/cpython3/Doc/library/ |
D | linecache.rst | 35 If there is such a loader and it defines a ``get_source`` method, 37 (if ``get_source()`` returns ``None``, then ``''`` is returned).
|
/external/python/jinja/tests/ |
D | test_loader.py | 70 def get_source(self, environment, template): member in TestLoaders.test_caching.TestLoader 316 source, name, up_to_date = package_dir_loader.get_source(None, template) 340 source, name, up_to_date = package_zip_loader.get_source(None, template)
|
/external/python/cpython3/Python/ |
D | _warnings.c | 989 _Py_IDENTIFIER(get_source); in get_source_line() 993 PyObject *get_source; in get_source_line() local 1012 (void)_PyObject_LookupAttrId(loader, &PyId_get_source, &get_source); in get_source_line() 1014 if (!get_source) { in get_source_line() 1019 source = PyObject_CallOneArg(get_source, module_name); in get_source_line() 1020 Py_DECREF(get_source); in get_source_line()
|
/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() 999 ir_rvalue *cf = get_source(p, TEXENV_SRC_PREVIOUS, 0); in emit_instructions()
|
/external/pdfium/fxjs/ |
D | cjs_event.h | 89 CJS_Result get_source(CJS_Runtime* pRuntime);
|
D | cjs_event.cpp | 234 CJS_Result CJS_Event::get_source(CJS_Runtime* pRuntime) { in get_source() function in CJS_Event
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 200 result = self.machinery.FrozenImporter.get_source('__hello__')
|
/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
|