Home
last modified time | relevance | path

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

123456

/aosp_15_r20/external/libchrome/third_party/jinja2/
H A 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)
/aosp_15_r20/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)
/aosp_15_r20/external/pytorch/torch/_dynamo/variables/
H A 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 …]
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py263 def get_source(self, fullname): member in InspectLoader
264 return super().get_source(fullname)
280 self.ins.get_source('blah')
640 def mock_methods(self, *, get_source=False, get_filename=False): argument
642 if get_source:
653 get_source=True, get_filename=True)
666 source_mock_context, _ = self.mock_methods(get_source=True)
683 get_source=True, get_filename=True)
818 self.assertEqual(self.loader.get_source(self.name), expected_source)
823 self.loader.get_source(self.name)
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_zipimport.py230 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')
/aosp_15_r20/tools/netsim/rust/packets/src/
H A Dieee80211.rs54 self.get_source(), in fmt()
215 pub fn get_source(&self) -> MacAddress { in get_source() method
363 source: self.get_source(), in to_ieee8023()
476 let a = format!("{}", hdr.get_source()); in test_frame_qos()
645 assert!(new_ieee80211.get_source() == new_source); in test_with_address()
649 assert!(new_ieee80211.get_source() == new_source); in test_with_address()
653 assert!(new_ieee80211.get_source() == source); in test_with_address()
/aosp_15_r20/external/python/cpython2/Lib/
Dlinecache.py92 get_source = getattr(loader, 'get_source', None)
94 if name and get_source:
96 data = get_source(name)
/aosp_15_r20/packages/apps/Car/SystemUI/daggervis/
Dparser.py74 if not edge.get_source() in filtered_node_names:
75 graph.del_edge(edge.get_source(), edge.get_destination())
84 if edge.get_source() == node_name:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/external/python/cpython3/Lib/
Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
Dlinecache.py176 get_source = getattr(loader, 'get_source', None)
178 if name and get_source:
179 get_lines = functools.partial(get_source, name)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/importlib/
Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/external/python/cpython3/Lib/importlib/
Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/importlib/
H A Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/importlib/
Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/importlib/
Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/importlib/
Dabc.py202 source = self.get_source(fullname)
208 def get_source(self, fullname): member in InspectLoader
254 source = self.get_source(fullname)
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_zipimport.py499 self.assertIsNone(zi.get_source(TESTPACK))
500 self.assertIsNone(zi.get_source(mod_path))
505 self.assertIsNone(loader.get_source(mod_name))
614 self.assertIsNone(zi.get_source(TESTPACK2))
615 self.assertIsNone(zi.get_source(mod_path))
620 self.assertIsNone(loader.get_source(mod_name))
852 self.assertRaises(TypeError, z.get_source, None)
863 self.assertRaises(error, z.get_source, 'abc')
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dguards.cpp1546 std::string get_source() { in get_source() function in torch::dynamo::__anon296b09360211::GuardAccessor
1644 std::string get_source() { in get_source() function in torch::dynamo::__anon296b09360211::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 …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/PDB/DIA/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
H A 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()
/aosp_15_r20/external/python/cpython3/Python/
D_warnings.c982 PyObject *get_source; in get_source_line() local
1001 (void)_PyObject_LookupAttr(loader, &_Py_ID(get_source), &get_source); in get_source_line()
1003 if (!get_source) { in get_source_line()
1008 source = PyObject_CallOneArg(get_source, module_name); in get_source_line()
1009 Py_DECREF(get_source); in get_source_line()

123456