/third_party/node/test/parallel/ |
H A D | test-util-inspect-proxy.js | 14 [util.inspect.custom](depth, { showProxy }) { 42 util.inspect(proxyObj, opts); 73 assert.strictEqual(util.inspect(r.proxy), '<Revoked Proxy>'); 75 util.inspect(r, { showProxy: true }), 82 util.inspect(proxyObj, opts), 108 assert.strictEqual(util.inspect(proxyObj), '[ 1, 2, 3 ]'); 139 util.inspect(proxy1, { showProxy: 1, depth: null }), 141 assert.strictEqual(util.inspect(proxy2, opts), expected2); 142 assert.strictEqual(util.inspect(proxy3, opts), expected3); 143 assert.strictEqual(util.inspect(proxy [all...] |
H A D | test-repl-envvars.js | 10 const inspect = require('util').inspect; 73 `Expected ${inspect(expected)} with ${inspect(env)}`); 75 `Expected ${inspect(expected)} with ${inspect(env)}`); 77 `Expected ${inspect(expected)} with ${inspect(env)}`); 88 tests.forEach((testCase) => test(inspect(testCase.env), () => run(testCase)));
|
H A D | test-crypto-keygen.js | 15 const { inspect } = require('util'); 92 `Received ${inspect(enc)}` 112 `Received ${inspect(type)}` 132 `Received ${inspect(format)}` 149 `Received ${inspect(enc)}` 169 `Received ${inspect(type)}` 189 `Received ${inspect(format)}` 210 `Received ${inspect(cipher)}` 251 `is invalid. Received ${inspect(passphrase)}` 293 `Received ${inspect(modulusLengt [all...] |
H A D | test-whatwg-transformstream.js | 23 inspect, 177 assert.match(inspect(transform), /TransformStream/); 178 assert.match(inspect(transform, { depth: null }), /TransformStream/); 179 assert.match(inspect(transform, { depth: 0 }), /TransformStream \[/); 181 assert.match(inspect(controller), /TransformStreamDefaultController/); 183 inspect(controller, { depth: null }), 186 inspect(controller, { depth: 0 }),
|
H A D | test-querystring.js | 25 const inspect = require('util').inspect; 193 msg = `Input: ${inspect(input)}\n` + 194 `Actual keys: ${inspect(actualKeys)}\n` + 195 `Expected keys: ${inspect(expectedKeys)}`; 200 msg = `Input: ${inspect(input)}\n` + 201 `Key: ${inspect(key)}\n` + 202 `Actual value: ${inspect(actual[key])}\n` + 203 `Expected value: ${inspect(expected[key])}`;
|
H A D | test-whatwg-encoding-custom-textdecoder.js | 10 const { customInspectSymbol: inspect } = require('internal/util'); 118 // Test TextDecoder inspect with hidden fields 123 util.inspect(dec, { showHidden: true }), 134 util.inspect(dec, { showHidden: true }), 150 // Test TextDecoder inspect without hidden fields 154 util.inspect(dec, { showHidden: false }), 159 // Test TextDecoder inspect with negative depth 162 assert.strictEqual(util.inspect(dec, { depth: -1 }), '[TextDecoder]'); 166 const inspectFn = TextDecoder.prototype[inspect];
|
H A D | test-error-serdes.js | 5 const { inspect } = require('util'); 123 [inspect.custom]() { 127 assert.strictEqual(inspect(cycle(data)), 'barbaz'); 131 [inspect.custom]() { 135 assert.strictEqual(inspect(cycle(inheritedCustomInspect)), 'barbaz');
|
H A D | test-inspect-address-in-use.js | 47 (port) => [`--inspect=${port}`, '--build-snapshot', entry], 0, 51 (port) => [`--inspect=${port}`, entry], 0); 56 execArgv: [`--inspect=${port}`]
|
/third_party/python/Lib/test/ |
H A D | test_inspect.py | 6 import inspect namespace 93 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode, 94 inspect.isframe, inspect.isfunction, inspect.ismethod, 95 inspect.ismodule, inspect.istraceback, 96 inspect [all...] |
H A D | inspect_fodder.py | 4 import sys, inspect namespace 15 fr = inspect.currentframe() 16 st = inspect.stack() 46 self.tr = inspect.trace() 78 currentframe = inspect.currentframe()
|
H A D | test_generators.py | 8 import inspect namespace 179 inspect.stack() 196 inspect.stack() 561 self.assertEqual(inspect.getgeneratorstate(gen_b), inspect.GEN_RUNNING) 564 self.assertEqual(inspect.getgeneratorstate(gen_b), inspect.GEN_RUNNING) 575 self.assertEqual(inspect.getgeneratorstate(gen_b), inspect.GEN_CREATED) 579 self.assertEqual(inspect [all...] |
/third_party/node/test/sequential/ |
H A D | test-inspector-port-cluster.js | 22 execArgv: ['--inspect'], 27 execArgv: ['--inspect=65534'], 39 execArgv: [`--inspect=${port}`], 50 execArgv: ['--inspect', `--inspect-port=${port}`], 57 execArgv: ['--inspect', `--debug-port=${port}`], 64 execArgv: [`--inspect=0.0.0.0:${port}`], 71 execArgv: [`--inspect=127.0.0.1:${port}`], 79 execArgv: [`--inspect=[::]:${port}`], 86 execArgv: [`--inspect [all...] |
/third_party/python/Lib/ |
H A D | pydoc.py | 63 import inspect namespace 100 if not inspect.isclass(cls): 105 if inspect.ismethod(obj): 108 if (inspect.isclass(self) and 114 elif inspect.isfunction(obj): 119 elif inspect.isbuiltin(obj): 122 if (inspect.isclass(self) and 135 elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj): 140 if inspect [all...] |
H A D | doctest.py | 97 import inspect namespace 205 if inspect.ismodule(module): 392 if not inspect.ismodule(module): 895 module = inspect.getmodule(obj) 901 file = inspect.getsourcefile(obj) 908 file = inspect.getfile(obj) 955 elif inspect.getmodule(object) is not None: 956 return module is inspect.getmodule(object) 957 elif inspect.isfunction(object): 959 elif (inspect [all...] |
H A D | pkgutil.py | 149 import inspect namespace 158 modname = inspect.getmodulename(fn) 173 subname = inspect.getmodulename(fn) 233 import inspect namespace 242 modname = inspect.getmodulename(fn) 257 subname = inspect.getmodulename(fn) 378 import inspect namespace 393 modname = inspect.getmodulename(fn[0])
|
/third_party/protobuf/python/ |
H A D | stubout.py | 20 import inspect namespace 65 if (inspect.ismodule(obj) or 66 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))): 71 if not inspect.isclass(obj): 72 mro = list(inspect.getmro(obj.__class__)) 74 mro = list(inspect.getmro(obj))
|
/third_party/node/lib/internal/ |
H A D | error_serdes.js | 31 const { inspect: { custom: customInspectSymbol } } = require('util'); 104 function inspect(...args) { function 106 internalUtilInspect = require('internal/util/inspect'); 108 return internalUtilInspect.inspect(...args); 115 return Buffer.from(StringFromCharCode(kInspectedSymbol) + inspect(error), 'utf8'); 137 return Buffer.from(StringFromCharCode(kCustomInspectedObject) + inspect(error), 'utf8'); 148 return Buffer.from(StringFromCharCode(kInspectedError) + inspect(error), 'utf8');
|
H A D | encoding.js | 38 customInspectSymbol: inspect, 353 [inspect](depth, opts) { 363 return require('internal/util/inspect').inspect(obj, opts); 574 [inspect](depth, opts) { 588 const { inspect } = require('internal/util/inspect'); 589 return `${constructor.name} ${inspect(obj)}`; 598 sharedProperties[inspect].enumerable = false;
|
/third_party/node/test/common/ |
H A D | index.js | 32 const { inspect } = require('util'); 104 // If the binary is build without `intl` the inspect option is 106 (process.features.inspector || !flag.startsWith('--inspect'))) { 109 inspect(flags), 162 inspect(initHandles[k]); 172 destroyListList[id] = inspect(new Error()); 186 stack: inspect(new Error()).substr(6), 197 destroydIdsList[id] = inspect(new Error()); 443 stack: inspect(new Error()), 531 `\ncalled with arguments: ${args.map((arg) => inspect(ar [all...] |
/third_party/python/Python/ |
H A D | frozenmain.c | 37 int inspect = 0; in Py_FrozenMain() local 39 inspect = 1; in Py_FrozenMain() 74 if (inspect && isatty((int)fileno(stdin))) { in Py_FrozenMain()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ast-model.h | 50 void (*inspect)(struct AstNode* node); member 72 void *ptr, void (*inspect)(AstNode*)) in ast_append_child() 76 text, ptr, inspect); in ast_append_child() 71 ast_append_child(AstNode *parent, const char *text, void *ptr, void (*inspect)(AstNode*)) ast_append_child() argument
|
H A D | ast-model.c | 46 if (node->inspect) { in inspect_child_node() 47 node->inspect(node); in inspect_child_node() 48 node->inspect = NULL; in inspect_child_node() 458 ast_new (AstNode *parent, int index, const char *text, void *ptr, void (*inspect)(AstNode*)) in ast_new() argument 465 node->inspect = inspect; in ast_new()
|
/third_party/python/Lib/asyncio/ |
H A D | format_helpers.py | 2 import inspect namespace 11 func = inspect.unwrap(func) 12 if inspect.isfunction(func):
|
/third_party/nghttp2/src/ |
H A D | shrpx_mruby.cc | 91 auto inspect = mrb_inspect(mrb_, exc); in run_app() local 94 << mrb_str_to_cstr(mrb_, inspect); in run_app() 125 auto inspect = mrb_inspect(mrb, exc); in instantiate_app() local 128 << mrb_str_to_cstr(mrb, inspect); in instantiate_app()
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testasync.py | 3 import inspect namespace 70 self.assertTrue(inspect.isawaitable(m)) 76 self.assertTrue(inspect.isawaitable(m)) 117 self.assertTrue(inspect.iscoroutinefunction(async_func)) 132 self.assertTrue(inspect.isawaitable(m)) 148 self.assertTrue(inspect.iscoroutinefunction(async_func)) 179 self.assertTrue(inspect.iscoroutinefunction(mock)) 184 self.assertTrue(inspect.isawaitable(m)) 192 self.assertTrue(inspect.iscoroutinefunction(mock)) 261 self.assertTrue(inspect [all...] |