Home
last modified time | relevance | path

Searched refs:ispackage (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/
Dzipimport.c314 int ispackage; in zipimporter_load_module() local
320 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_load_module()
335 if (ispackage) { in zipimporter_load_module()
379 int ispackage; in zipimporter_get_filename() local
387 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_get_filename()
1202 get_code_from_data(ZipImporter *self, int ispackage, int isbytecode, in get_code_from_data() argument
1256 int ispackage = zso->type & IS_PACKAGE; in get_module_code() local
1262 *p_ispackage = ispackage; in get_module_code()
1263 code = get_code_from_data(self, ispackage, in get_module_code()
/external/python/cpython3/Modules/
Dzipimport.c527 int ispackage; in zipimport_zipimporter_load_module_impl() local
532 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimport_zipimporter_load_module_impl()
545 if (ispackage) { in zipimport_zipimporter_load_module_impl()
601 int ispackage; in zipimport_zipimporter_get_filename_impl() local
605 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimport_zipimporter_get_filename_impl()
1503 get_code_from_data(ZipImporter *self, int ispackage, int isbytecode, in get_code_from_data() argument
1559 int ispackage = zso->type & IS_PACKAGE; in get_module_code() local
1570 *p_ispackage = ispackage; in get_module_code()
1571 code = get_code_from_data(self, ispackage, in get_module_code()
/external/python/cpython3/Python/
Dimport.c1306 int ispackage; in PyImport_ImportFrozenModuleObject() local
1320 ispackage = (size < 0); in PyImport_ImportFrozenModuleObject()
1321 if (ispackage) in PyImport_ImportFrozenModuleObject()
1332 if (ispackage) { in PyImport_ImportFrozenModuleObject()
/external/python/cpython2/Python/
Dimport.c2106 int ispackage; in PyImport_ImportFrozenModule() local
2118 ispackage = (size < 0); in PyImport_ImportFrozenModule()
2119 if (ispackage) in PyImport_ImportFrozenModule()
2123 name, ispackage ? " package" : ""); in PyImport_ImportFrozenModule()
2133 if (ispackage) { in PyImport_ImportFrozenModule()
/external/python/cpython3/Lib/test/
Dtest_pydoc.py618 self.assertFalse(pydoc.ispackage(test_dir))
624 self.assertTrue(pydoc.ispackage(test_dir))
/external/python/cpython2/Lib/
Dpydoc.py219 def ispackage(path): function
547 name, path, ispackage, shadowed = data
554 if ispackage:
/external/python/cpython3/Lib/
Dpydoc.py229 def ispackage(path): function
571 name, path, ispackage, shadowed = modpkginfo
578 if ispackage: