Home
last modified time | relevance | path

Searched refs:inspect (Results 51 - 75 of 250) sorted by relevance

12345678910

/third_party/python/Lib/asyncio/
H A Dcoroutines.py4 import inspect namespace
23 return (inspect.iscoroutinefunction(func) or
H A D__main__.py5 import inspect namespace
45 if not inspect.iscoroutine(coro):
/third_party/python/Modules/
H A Dmain.c208 if (!config->inspect && config_run_code(config)) { in pymain_import_readline()
486 config->inspect = 0; in pymain_run_stdin()
519 if (!config->inspect && _Py_GetEnv(config->use_environment, "PYTHONINSPECT")) { in pymain_repl()
520 config->inspect = 1; in pymain_repl()
524 if (!(config->inspect && stdin_is_interactive(config) && config_run_code(config))) { in pymain_repl()
528 config->inspect = 0; in pymain_repl()
/third_party/node/test/parallel/
H A Dtest-blob.js7 const { inspect } = require('util');
216 assert.strictEqual(inspect(b, { depth: null }),
218 assert.strictEqual(inspect(b, { depth: 1 }),
220 assert.strictEqual(inspect(b, { depth: -1 }), '[Blob]');
H A Dtest-util-types.js5 const { types, inspect } = require('util');
53 assert(method in types, `Missing ${method} for ${inspect(value)}`);
54 assert(types[method](value), `Want ${inspect(value)} to match ${method}`);
65 `${inspect(value)}: ${key}, ` +
H A Dtest-abortcontroller.js5 const { inspect } = require('util');
149 strictEqual(inspect(ac, { depth: 1 }),
151 strictEqual(inspect(ac, { depth: null }),
H A Dtest-dgram-socket-buffer-size.js7 const { inspect } = require('util');
47 inspect(err).replace(/^ +at .*\n/gm, ''),
H A Dtest-file.js6 const { inspect } = require('util');
125 assert(inspect(file).startsWith('File { size: 0, type: \'\', name: \'\', lastModified:'));
H A Dtest-repl-preview.js8 const { inspect } = require('util');
179 assert.ok(lines[0].includes(noPreview), lines.map(inspect));
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dspirv_test_framework.py49 import inspect namespace
196 if not inspect.isclass(cls):
385 for _, obj, in inspect.getmembers(mod):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dspirv_test_framework.py49 import inspect namespace
196 if not inspect.isclass(cls):
385 for _, obj, in inspect.getmembers(mod):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/spirv-tools/test/tools/
H A Dspirv_test_framework.py49 import inspect namespace
196 if not inspect.isclass(cls):
385 for _, obj, in inspect.getmembers(mod):
386 if inspect.isclass(obj) and hasattr(obj, 'parent_testsuite'):
/third_party/python/Lib/test/
H A Dtest_coroutines.py3 import inspect namespace
519 self.assertTrue(inspect.iscoroutinefunction(ns['foo']))
534 self.assertTrue(bool(foo.__code__.co_flags & inspect.CO_COROUTINE))
535 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR))
536 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))
537 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
543 self.assertFalse(bool(bar.__code__.co_flags & inspect.CO_COROUTINE))
920 self.assertEqual(inspect.getcoroutinestate(coro_b), inspect.CORO_RUNNING)
923 self.assertEqual(inspect
[all...]
/third_party/node/test/async-hooks/
H A Dinit-hooks.js68 return util.inspect(a, false, 5, true);
127 inspect(opts = {}) {
135 console.log(util.inspect(activities, false, depth, true));
/third_party/node/test/common/
H A Dheap.js88 return util.inspect(snapshot, { depth: 4 });
141 `${util.inspect(expectedEdge)} in ${inspectNode(rootNodes)}`);
193 `${util.inspect(expectedEdge)} in ${inspectNode(rootNodes)}`);
H A Dchild_process.js48 return { passed: false, reason: `did not match ${util.inspect(check)}` };
56 reason: `did not match expectation, checker throws:\n${util.inspect(error)}`,
/third_party/node/lib/internal/assert/
H A Dassertion_error.js20 const { inspect } = require('internal/util/inspect');
60 // The util.inspect default values could be changed. This makes sure the
62 return inspect(
107 const c = inspect.defaultOptions.colors;
463 [inspect.custom](recurseTimes, ctx) {
479 const result = inspect(this, {
/third_party/node/lib/internal/
H A Dtimers.js123 const { inspect } = require('internal/util/inspect');
202 [inspect.custom](_, options) {
203 return inspect(this, {
205 // Only inspect one level.
255 [inspect.custom](_, options) {
256 return inspect(this, {
258 // Only inspect one level.
H A Dblocklist.js28 const { inspect } = require('internal/util/inspect');
55 return `BlockList ${inspect({
H A Dsocketaddress.js32 const { inspect } = require('internal/util/inspect');
111 return `SocketAddress ${inspect(this.toJSON(), opts)}`;
/third_party/node/lib/internal/worker/
H A Dio.js59 const { inspect } = require('internal/util/inspect');
271 ObjectDefineProperty(MessagePort.prototype, inspect.custom, {
275 value: function inspect() { // eslint-disable-line func-name-matching
441 [inspect.custom](depth, options) {
452 return `BroadcastChannel ${inspect({
/drivers/peripheral/audio/test/sample/tools/gen_cr_by_pr/
H A Dgen_cr_by_pr.py29 import inspect namespace
70 __func__ = inspect.currentframe().f_code.co_name
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dbuild_tree.py9 import inspect namespace
84 for frame in inspect.stack():
/third_party/node/deps/npm/node_modules/debug/src/
H A Dnode.js245 * Map %o to `util.inspect()`, all on a single line.
250 return util.inspect(v, this.inspectOpts)
257 * Map %O to `util.inspect()`, allowing multiple lines if needed.
262 return util.inspect(v, this.inspectOpts);
/third_party/python/Lib/
H A Drlcompleter.py34 import inspect namespace
104 if not inspect.signature(val).parameters:

Completed in 10 milliseconds

12345678910