/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sys.py | 21 if hasattr(__builtin__, "_"): 26 self.assertTrue(not hasattr(__builtin__, "_")) 270 if hasattr(sys, "setdlopenflags"): 271 self.assertTrue(hasattr(sys, "getdlopenflags")) 291 if hasattr(sys, "gettotalrefcount"): 443 self.assertTrue(hasattr(sys.flags, attr), attr)
|
test_shutil.py | 83 if (hasattr(os, 'chmod') and sys.platform[:6] != 'cygwin' 84 and not (hasattr(os, 'geteuid') and os.geteuid() == 0)): 268 if hasattr(os, "symlink"): 311 if hasattr(os, "mkfifo"): 343 @unittest.skipUnless(hasattr(os, 'chflags') and 344 hasattr(errno, 'EOPNOTSUPP') and 345 hasattr(errno, 'ENOTSUP'),
|
test_asyncore.py | 121 @unittest.skipUnless(hasattr(select, 'poll'), 'select.poll required') 331 if hasattr(os, 'strerror'): 397 @unittest.skipUnless(hasattr(asyncore, 'file_wrapper'), 433 @unittest.skipUnless(hasattr(asyncore, 'file_dispatcher'), 733 @unittest.skipUnless(hasattr(select, 'poll'), 'select.poll required')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib2.py | 226 if hasattr(Request, 'get_' + name): 324 if not hasattr(handler, "add_parent"): 471 if hasattr(httplib, 'HTTPS'): 504 if not hasattr(other, "handler_order"): 614 if hasattr(req, 'redirect_dict'): 717 assert hasattr(proxies, 'has_key'), "proxies must be a mapping" [all...] |
mailbox.py | 169 if hasattr(arg, 'iteritems'): 171 elif hasattr(arg, 'items'): 226 elif hasattr(message, 'read'): 290 if hasattr(os, 'link'): 547 if not hasattr(self, '_onetime_keys'): [all...] |
urllib.py | 132 assert hasattr(proxies, 'has_key'), "proxies must be a mapping" 201 if not hasattr(self, name): 369 if hasattr(self, name): 627 if hasattr(self, "http_error_500"): [all...] |
ihooks.py | 385 if not hasattr(__builtin__, 'unload'): 411 if hasattr(m, "__path__"): 504 if sub != "*" and not hasattr(m, sub):
|
pkgutil.py | 155 if not hasattr(importer, 'iter_modules'): 579 if loader is None or not hasattr(loader, 'get_data'): 582 if mod is None or not hasattr(mod, '__file__'):
|
profile.py | 91 if hasattr(os, "times"): 167 elif hasattr(time, 'clock'): 170 elif hasattr(os, 'times'):
|
telnetlib.py | 209 self._has_poll = hasattr(select, 'poll') 663 if not hasattr(expect_list[i], "search"): 726 if not hasattr(list[i], "search"):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 83 if (hasattr(os, 'chmod') and sys.platform[:6] != 'cygwin' 84 and not (hasattr(os, 'geteuid') and os.geteuid() == 0)): 268 if hasattr(os, "symlink"): 311 if hasattr(os, "mkfifo"): 343 @unittest.skipUnless(hasattr(os, 'chflags') and 344 hasattr(errno, 'EOPNOTSUPP') and 345 hasattr(errno, 'ENOTSUP'),
|
test_asyncore.py | 121 @unittest.skipUnless(hasattr(select, 'poll'), 'select.poll required') 331 if hasattr(os, 'strerror'): 397 @unittest.skipUnless(hasattr(asyncore, 'file_wrapper'), 433 @unittest.skipUnless(hasattr(asyncore, 'file_dispatcher'), 733 @unittest.skipUnless(hasattr(select, 'poll'), 'select.poll required')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mailbox.py | 169 if hasattr(arg, 'iteritems'): 171 elif hasattr(arg, 'items'): 226 elif hasattr(message, 'read'): 290 if hasattr(os, 'link'): 547 if not hasattr(self, '_onetime_keys'): [all...] |
urllib.py | 132 assert hasattr(proxies, 'has_key'), "proxies must be a mapping" 201 if not hasattr(self, name): 369 if hasattr(self, name): 627 if hasattr(self, "http_error_500"): [all...] |
ihooks.py | 385 if not hasattr(__builtin__, 'unload'): 411 if hasattr(m, "__path__"): 504 if sub != "*" and not hasattr(m, sub):
|
pkgutil.py | 155 if not hasattr(importer, 'iter_modules'): 579 if loader is None or not hasattr(loader, 'get_data'): 582 if mod is None or not hasattr(mod, '__file__'):
|
profile.py | 91 if hasattr(os, "times"): 167 elif hasattr(time, 'clock'): 170 elif hasattr(os, 'times'):
|
telnetlib.py | 209 self._has_poll = hasattr(select, 'poll') 663 if not hasattr(expect_list[i], "search"): 726 if not hasattr(list[i], "search"):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/ |
config.py | 65 if hasattr(fname, 'readline'): 481 if not hasattr(c, '__call__') and hasattr(types, 'ClassType') and type(c) != types.ClassType: 715 if not hasattr(c, '__call__') and hasattr(types, 'ClassType') and type(c) != types.ClassType: [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
bundlebuilder.py | 61 if hasattr(base, "_getDefaults"): 133 if hasattr(plist, "CFBundleSignature"): 140 elif not hasattr(plist, "CFBundleIdentifier"): 450 if not hasattr(self.plist, "NSPrincipalClass"): 687 if hasattr(mf, "any_missing_maybe"): [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/ |
config.py | 65 if hasattr(fname, 'readline'): 481 if not hasattr(c, '__call__') and hasattr(types, 'ClassType') and type(c) != types.ClassType: 715 if not hasattr(c, '__call__') and hasattr(types, 'ClassType') and type(c) != types.ClassType: [all...] |
/external/chromium_org/third_party/jinja2/ |
filters.py | 75 if hasattr(value, '__html__'): 120 if hasattr(old, '__html__') or hasattr(new, '__html__') and \ 121 not hasattr(s, '__html__'): 322 if not hasattr(d, '__html__'): 326 if hasattr(item, '__html__'): 555 if hasattr(value, '__html__'):
|
/external/chromium_org/tools/grit/grit/node/ |
misc.py | 285 if hasattr(self, 'base_dir'): 480 if hasattr(node, 'RunPreSubstitutionGatherer'): 488 if hasattr(node, 'RunPostSubstitutionGatherer'):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
rpc.py | 183 if not hasattr(obj, methodname): 573 if hasattr(attr, '__call__'): 584 if not hasattr(attr, '__call__'):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
rpc.py | 183 if not hasattr(obj, methodname): 573 if hasattr(attr, '__call__'): 584 if not hasattr(attr, '__call__'):
|