Home
last modified time | relevance | path

Searched refs:is_namespace (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_symtable.py126 self.assertTrue(self.top.lookup("Mine").is_namespace())
127 self.assertTrue(self.Mine.lookup("a_method").is_namespace())
128 self.assertTrue(self.top.lookup("spam").is_namespace())
129 self.assertTrue(self.spam.lookup("internal").is_namespace())
130 self.assertTrue(self.top.lookup("namespace_test").is_namespace())
131 self.assertFalse(self.spam.lookup("x").is_namespace())
/external/python/cpython3/Lib/test/
Dtest_symtable.py143 self.assertTrue(self.top.lookup("Mine").is_namespace())
144 self.assertTrue(self.Mine.lookup("a_method").is_namespace())
145 self.assertTrue(self.top.lookup("spam").is_namespace())
146 self.assertTrue(self.spam.lookup("internal").is_namespace())
147 self.assertTrue(self.top.lookup("namespace_test").is_namespace())
148 self.assertFalse(self.spam.lookup("x").is_namespace())
/external/python/cpython3/Lib/unittest/
Dloader.py289 is_namespace = False
316 is_namespace = True
338 if not is_namespace:
348 if not is_namespace:
/external/python/cpython2/Lib/
Dsymtable.py207 def is_namespace(self): member in Symbol
239 print info, info.is_local(), info.is_namespace()
/external/python/cpython3/Lib/
Dsymtable.py219 def is_namespace(self): member in Symbol
252 print(info, info.is_local(), info.is_namespace())
/external/python/cpython3/Doc/library/
Dsymtable.rst168 .. method:: is_namespace()
178 >>> table.lookup("some_func").is_namespace()
/external/python/cpython2/Doc/library/
Dsymtable.rst168 .. method:: is_namespace()
178 >>> table.lookup("some_func").is_namespace()
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py1443 is_namespace = False
1470 is_namespace = _path_isdir(base_path)
1479 if is_namespace:
/external/libabigail/include/
Dabg-fwd.h545 is_namespace(const decl_base_sptr&);
548 is_namespace(const decl_base*);
/external/python/cpython2/Lib/compiler/
Dsymbols.py451 if s.is_namespace():
/external/libabigail/src/
Dabg-writer.cc1982 if (namespace_decl* n = is_namespace(*i)) in write_decl_in_scope()
Dabg-ir.cc9104 is_namespace(const decl_base_sptr& d) in is_namespace() function
9113 is_namespace(const decl_base* d) in is_namespace() function
13743 if (!is_namespace(*i)) in is_empty_or_has_empty_sub_namespaces()
13746 namespace_decl_sptr ns = is_namespace(*i); in is_empty_or_has_empty_sub_namespaces()
/external/libabigail/
DChangeLog18497 * include/abg-fwd.h (is_namespace): Fix prototype.
19084 * include/abg-fwd.h (is_function_decl, is_decl, is_namespace)
19086 * src/abg-ir.cc (is_function_decl, is_decl, is_namespace)