Home
last modified time | relevance | path

Searched refs:inspect (Results 1 – 25 of 167) sorted by relevance

1234567

/external/python/cpython2/Lib/test/
Dtest_inspect.py5 import inspect
49 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
50 inspect.isframe, inspect.isfunction, inspect.ismethod,
51 inspect.ismodule, inspect.istraceback,
52 inspect.isgenerator, inspect.isgeneratorfunction])
59 if predicate == inspect.isgeneratorfunction and\
60 other == inspect.isfunction:
70 count = len(filter(lambda x:x.startswith('is'), dir(inspect)))
79 self.istest(inspect.isbuiltin, 'sys.exit')
80 self.istest(inspect.isbuiltin, '[].append')
[all …]
Dinspect_fodder.py4 import sys, inspect
15 fr = inspect.currentframe()
16 st = inspect.stack()
46 self.tr = inspect.trace()
Dtest_zipimport_support.py13 import inspect
87 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
95 test_src = inspect.getsource(test_doctest)
107 src = inspect.getsource(mod)
/external/libmtp/logs/
Dmtp-detect-lg-gr500.txt8 LIBMTP PANIC: could not inspect object property descriptions!
9 LIBMTP PANIC: could not inspect object property descriptions!
10 LIBMTP PANIC: could not inspect object property descriptions!
11 LIBMTP PANIC: could not inspect object property descriptions!
12 LIBMTP PANIC: could not inspect object property descriptions!
13 LIBMTP PANIC: could not inspect object property descriptions!
14 LIBMTP PANIC: could not inspect object property descriptions!
15 LIBMTP PANIC: could not inspect object property descriptions!
16 LIBMTP PANIC: could not inspect object property descriptions!
17 LIBMTP PANIC: could not inspect object property descriptions!
[all …]
/external/python/cpython2/Lib/
Dpydoc.py56 import sys, imp, os, re, types, inspect, __builtin__, pkgutil, warnings
84 result = inspect.getdoc(object) or inspect.getcomments(object)
106 return not (inspect.ismodule(object) or inspect.isclass(object) or
107 inspect.isroutine(object) or inspect.isframe(object) or
108 inspect.istraceback(object) or inspect.iscode(object))
132 return inspect.ismethod(obj) or inspect.ismethoddescriptor(obj)
136 for key, value in inspect.getmembers(cl, _is_some_method):
182 if inspect.isdatadescriptor(value):
185 return map(fixup, inspect.classify_class_attrs(object))
249 info = inspect.getmoduleinfo(filename)
[all …]
DDocXMLRPCServer.py14 import inspect
77 if inspect.ismethod(object):
78 args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
81 argspec = inspect.formatargspec (
88 elif inspect.isfunction(object):
89 args, varargs, varkw, defaults = inspect.getargspec(object)
90 argspec = inspect.formatargspec(
Ddoctest.py98 import sys, traceback, inspect, linecache, os, re
200 if inspect.ismodule(module):
392 if not inspect.ismodule(module):
890 module = inspect.getmodule(obj)
896 file = inspect.getsourcefile(obj) or inspect.getfile(obj)
941 elif inspect.getmodule(object) is not None:
942 return module is inspect.getmodule(object)
943 elif inspect.isfunction(object):
945 elif inspect.isclass(object):
973 if inspect.ismodule(obj) and self._recurse:
[all …]
Dcgitb.py24 import inspect
118 records = inspect.getinnerframes(etb, context)
125 args, varargs, varkw, locals = inspect.getargvalues(frame)
129 inspect.formatargvalues(args, varargs, varkw, locals,
206 records = inspect.getinnerframes(etb, context)
209 args, varargs, varkw, locals = inspect.getargvalues(frame)
213 inspect.formatargvalues(args, varargs, varkw, locals,
/external/protobuf/python/
Dstubout.py62 if (inspect.ismodule(obj) or
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
68 if not inspect.isclass(obj):
69 mro = list(inspect.getmro(obj.__class__))
71 mro = list(inspect.getmro(obj))
/external/python/cpython2/Mac/PythonLauncher/
DFileSettings.m75 inspect = source->inspect;
185 inspect = [source inspect];
201 [NSNumber numberWithBool: inspect], @"inspect",
226 value = [dict objectForKey: @"inspect"];
227 if (value) inspect = [value boolValue];
282 inspect?" -i":"",
299 - (BOOL) inspect { return inspect;}; method
DPreferencesWindowController.m35 [inspect setState: [settings inspect]];
80 - (BOOL) inspect { return [inspect state];}; method
DFileSettings.h16 - (BOOL) inspect;
32 BOOL inspect; // -i option: interactive mode after script variable
DMyDocument.m55 [inspect setState: [settings inspect]];
156 - (BOOL) inspect { return [inspect state];}; method
/external/python/cpython2/Python/
Dfrozenmain.c19 int inspect = 0; in Py_FrozenMain() local
25 inspect = 1; in Py_FrozenMain()
61 if (inspect && isatty((int)fileno(stdin))) in Py_FrozenMain()
/external/libcxx/utils/libcxx/test/
Dtracing.py11 import inspect
37 for name, member in inspect.getmembers(obj):
38 if inspect.ismethod(member):
/external/r8/src/test/java/com/android/tools/r8/debug/
DLocalsTest.java160 inspect(state -> { in testInvokeRange()
178 inspect(state -> { in testInvokeRange()
206 inspect(state -> { in testInvokeRange2()
218 inspect(state -> { in testInvokeRange2()
229 inspect(state -> { in testInvokeRange2()
250 inspect(state -> { in testLocals_MoreThan16()
271 inspect(state -> { in testLocals_MoreThan16()
296 inspect(state -> { in testInvokeRangeLong()
/external/fonttools/Tools/
Dpyftinspect4 from fontTools import inspect
6 inspect.main(sys.argv[1:])
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Ddecorators.py5 import inspect
27 if inspect.isgeneratorfunction(func):
32 arg_spec = inspect.getargspec(func)
/external/toolchain-utils/crosperf/
Dbenchmark_unittest.py8 import inspect
56 arg_spec = inspect.getargspec(Benchmark.__init__)
/external/autotest/client/site_tests/buffet_BasicDBusAPI/
Dbuffet_BasicDBusAPI.py6 import inspect
26 frame = inspect.getouterframes(inspect.currentframe())[1]
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DLitConfig.py106 import inspect, os, sys
109 f = inspect.currentframe()
112 file,line,_,_,_ = inspect.getframeinfo(f)
/external/autotest/client/common_lib/cros/
Dxmlrpc_types.py5 import inspect
38 constructor_args = inspect.getargspec(klass.__init__)
/external/skia/tools/
Dpinspect.cpp17 static sk_sp<SkPicture> inspect(const char path[]) { in inspect() function
73 auto pic(inspect(argv[index])); in main()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcompat.py122 from inspect import CO_VARKEYWORDS, CO_VARARGS
146 import inspect
148 return inspect.getargspec(fn)
/external/llvm/utils/lit/lit/
DLitConfig.py2 import inspect
131 f = inspect.currentframe()
134 file,line,_,_,_ = inspect.getframeinfo(f)

1234567