Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dzipimport.c316 int ispackage; in zipimporter_load_module() local
322 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_load_module()
337 if (ispackage) { in zipimporter_load_module()
381 int ispackage; in zipimporter_get_filename() local
389 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_get_filename()
1204 get_code_from_data(ZipImporter *self, int ispackage, int isbytecode, in get_code_from_data() argument
1258 int ispackage = zso->type & IS_PACKAGE; in get_module_code() local
1264 *p_ispackage = ispackage; in get_module_code()
1265 code = get_code_from_data(self, ispackage, in get_module_code()
/external/python/cpython3/Modules/
Dzipimport.c464 int ispackage; in zipimporter_load_module() local
472 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_load_module()
485 if (ispackage) { in zipimporter_load_module()
532 int ispackage; in zipimporter_get_filename() local
540 code = get_module_code(self, fullname, &ispackage, &modpath); in zipimporter_get_filename()
1433 get_code_from_data(ZipImporter *self, int ispackage, int isbytecode, in get_code_from_data() argument
1483 int ispackage = zso->type & IS_PACKAGE; in get_module_code() local
1494 *p_ispackage = ispackage; in get_module_code()
1495 code = get_code_from_data(self, ispackage, in get_module_code()
/external/python/cpython3/Python/
Dimport.c1173 int ispackage; in PyImport_ImportFrozenModuleObject() local
1187 ispackage = (size < 0); in PyImport_ImportFrozenModuleObject()
1188 if (ispackage) in PyImport_ImportFrozenModuleObject()
1199 if (ispackage) { in PyImport_ImportFrozenModuleObject()
/external/python/cpython2/Python/
Dimport.c2084 int ispackage; in PyImport_ImportFrozenModule() local
2096 ispackage = (size < 0); in PyImport_ImportFrozenModule()
2097 if (ispackage) in PyImport_ImportFrozenModule()
2101 name, ispackage ? " package" : ""); in PyImport_ImportFrozenModule()
2111 if (ispackage) { in PyImport_ImportFrozenModule()
/external/python/cpython3/Lib/test/
Dtest_pydoc.py619 self.assertFalse(pydoc.ispackage(test_dir))
625 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.py226 def ispackage(path): function
568 name, path, ispackage, shadowed = modpkginfo
575 if ispackage: