Home
last modified time | relevance | path

Searched refs:get_source (Results 1 – 25 of 61) sorted by relevance

123

/external/libchrome/third_party/jinja2/
Dloaders.py70 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/
Dloaders.py69 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/pytorch/torch/_dynamo/variables/
Dbuilder.py411 def get_source(self): member in VariableBuilder
415 source = self.get_source()
575 self.get_source(), ConstDictKeySource(self.get_source(), i)
624 source_key = ConstDictKeySource(self.get_source(), i)
627 source_value = GetItemSource(self.get_source(), source_key)
679 func_src = AttrSource(self.get_source(), "func")
683 args_source = AttrSource(self.get_source(), "args")
690 keywords_source = AttrSource(self.get_source(), "keywords")
699 self.get_source().make_guard(GuardBuilder.TYPE_MATCH),
1209 source=GetItemSource(self.get_source(), i),
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py243 def get_source(self, fullname): member in InspectLoader
244 return super().get_source(fullname)
260 self.ins.get_source('blah')
539 def mock_methods(self, *, get_source=False, get_filename=False): argument
541 if get_source:
552 get_source=True, get_filename=True)
565 source_mock_context, _ = self.mock_methods(get_source=True)
582 get_source=True, get_filename=True)
708 self.assertEqual(self.loader.get_source(self.name), expected_source)
713 self.loader.get_source(self.name)
[all …]
/external/python/cpython3/Lib/importlib/
Dabc.py121 source = self.get_source(fullname)
127 def get_source(self, fullname): member in InspectLoader
173 source = self.get_source(fullname)
D_bootstrap_external.py1075 def get_source(self, fullname): member in SourceLoader
1294 def get_source(self, fullname): member in SourcelessFileLoader
1342 def get_source(self, fullname): member in ExtensionFileLoader
1430 def get_source(self, fullname): member in NamespaceLoader
/external/python/cpython3/Lib/
Dlinecache.py185 get_source = getattr(loader, 'get_source', None)
187 if name and get_source:
189 return get_source(name, *args, **kwargs)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIAInjectedSource.cpp53 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-16.0/llvm/lib/DebugInfo/PDB/DIA/
DDIAInjectedSource.cpp53 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/angle/build/android/gyp/
Djinja_template.py32 def get_source(self, environment, template): member in _RecordingFileSystemLoader
33 contents, filename, uptodate = jinja2.FileSystemLoader.get_source(
/external/cronet/tot/build/android/gyp/
Djinja_template.py32 def get_source(self, environment, template): member in _RecordingFileSystemLoader
33 contents, filename, uptodate = jinja2.FileSystemLoader.get_source(
/external/python/cpython3/Doc/library/
Dlinecache.rst35 If there is such a loader and it defines a ``get_source`` method,
37 (if ``get_source()`` returns ``None``, then ``''`` is returned).
/external/cronet/stable/build/android/gyp/
Djinja_template.py32 def get_source(self, environment, template): member in _RecordingFileSystemLoader
33 contents, filename, uptodate = jinja2.FileSystemLoader.get_source(
/external/pytorch/torch/_logging/
Dstructured.py41 payload_fn=lambda: _loader.get_source(filename),
/external/python/cpython3/Lib/test/
Dtest_zipimport.py517 self.assertIsNone(zi.get_source(TESTPACK))
518 self.assertIsNone(zi.get_source(mod_path))
523 self.assertIsNone(loader.get_source(mod_name))
632 self.assertIsNone(zi.get_source(TESTPACK2))
633 self.assertIsNone(zi.get_source(mod_path))
638 self.assertIsNone(loader.get_source(mod_name))
986 self.assertRaises(TypeError, z.get_source, None)
996 self.assertRaises(error, z.get_source, 'abc')
Dtest_unparse.py144 def get_source(self, code1, code2=None): member in ASTTestCase
150 code1, code2 = self.get_source(code1, code2)
155 code1, code2 = self.get_source(code1, code2)
Dtest_linecache.py106 def get_source(self, fullname): member in FakeLoader
111 def get_source(self, fullname): member in NoSourceLoader
/external/python/jinja/tests/
Dtest_loader.py70 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/pytorch/torch/csrc/dynamo/
Dguards.cpp1546 std::string get_source() { in get_source() function in torch::dynamo::__anon98d733b60211::GuardAccessor
1644 std::string get_source() { in get_source() function in torch::dynamo::__anon98d733b60211::GuardManager
2164 return GuardDebugInfo(false, "TYPE_MISMATCH(" + get_source() + ")", 0); in check_verbose_nopybind()
2169 false, "len(" + get_source() + ") != " + std::to_string(_size), 0); in check_verbose_nopybind()
2387 return GuardDebugInfo(false, "TYPE_MISMATCH(" + get_source() + ")", 0); in check_verbose_nopybind()
2392 false, "len(" + get_source() + ") != " + std::to_string(_size), 0); in check_verbose_nopybind()
2702 false, "getattr failed on source " + get_source(), 0); in check_verbose_nopybind()
2761 false, "getattr failed on source " + get_source(), 0); in check_verbose_nopybind()
2813 false, std::string("KeyError on ") + get_source(), 0); in check_verbose_nopybind()
2877 false, std::string("KeyError on ") + get_source(), 0); in check_verbose_nopybind()
[all …]
/external/python/cpython3/Python/
D_warnings.c1058 PyObject *get_source; in get_source_line() local
1077 (void)PyObject_GetOptionalAttr(loader, &_Py_ID(get_source), &get_source); in get_source_line()
1079 if (!get_source) { in get_source_line()
1084 source = PyObject_CallOneArg(get_source, module_name); in get_source_line()
1085 Py_DECREF(get_source); in get_source_line()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.c423 get_source(struct texenv_fragment_program *p, in get_source() function
475 src = get_source(p, source, unit); in emit_combine_source()
632 return get_source(p, TEXENV_SRC_PREVIOUS, 0); in emit_texenv()
902 nir_def *cf = get_source(p, TEXENV_SRC_PREVIOUS, 0); in emit_instructions()
/external/python/cpython3/Lib/test/test_importlib/builtin/
Dtest_loader.py87 result = self.machinery.BuiltinImporter.get_source(util.BUILTINS.good_name)
/external/pdfium/fxjs/
Dcjs_event.h89 CJS_Result get_source(CJS_Runtime* pRuntime);
/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py145 result = self.machinery.FrozenImporter.get_source('__hello__')
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_nir.c134 get_source(struct st_translate *t, GLenum src_type) in get_source() function
178 nir_def *src = get_source(t, srcReg->Index); in prepare_argument()

123