Home
last modified time | relevance | path

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

12345678910>>...23

/third_party/node/test/parallel/
Dtest-util-inspect.js31 const { inspect } = util;
34 assert.strictEqual(util.inspect(1), '1');
35 assert.strictEqual(util.inspect(false), 'false');
36 assert.strictEqual(util.inspect(''), "''");
37 assert.strictEqual(util.inspect('hello'), "'hello'");
38 assert.strictEqual(util.inspect(function abc() {}), '[Function: abc]');
39 assert.strictEqual(util.inspect(() => {}), '[Function (anonymous)]');
41 util.inspect(async function() {}),
44 assert.strictEqual(util.inspect(async () => {}), '[AsyncFunction (anonymous)]');
50 util.inspect(fn),
[all …]
Dtest-util-inspect-proxy.js14 [util.inspect.custom](depth, { showProxy }) {
42 util.inspect(proxyObj, opts);
61 util.inspect(proxyObj, opts),
87 assert.strictEqual(util.inspect(proxyObj), '[ 1, 2, 3 ]');
118 util.inspect(proxy1, { showProxy: 1, depth: null }),
120 assert.strictEqual(util.inspect(proxy2, opts), expected2);
121 assert.strictEqual(util.inspect(proxy3, opts), expected3);
122 assert.strictEqual(util.inspect(proxy4, opts), expected4);
123 assert.strictEqual(util.inspect(proxy5, opts), expected5);
124 assert.strictEqual(util.inspect(proxy6, opts), expected6);
[all …]
Dtest-buffer-inspect.js38 assert.strictEqual(util.inspect(b), expected);
39 assert.strictEqual(util.inspect(s), expected);
49 assert.strictEqual(util.inspect(b), expected);
50 assert.strictEqual(util.inspect(s), expected);
54 assert.strictEqual(util.inspect(b), expected);
55 assert.strictEqual(util.inspect(s), expected);
57 b.inspect = undefined;
60 util.inspect(b),
68 util.inspect(b),
Dtest-whatwg-url-custom-searchparams-inspect.js10 assert.strictEqual(util.inspect(sp),
12 assert.strictEqual(util.inspect(sp.keys()),
14 assert.strictEqual(util.inspect(sp.values()),
16 assert.strictEqual(util.inspect(sp.keys(), { breakLength: 1 }),
20 assert.strictEqual(util.inspect(iterator),
24 assert.strictEqual(util.inspect(iterator),
28 assert.strictEqual(util.inspect(iterator),
Dtest-http-invalidheaderfield2.js4 const inspect = require('util').inspect; constant
32 `_checkIsHttpToken(${inspect(str)}) unexpectedly failed`);
58 `_checkIsHttpToken(${inspect(str)}) unexpectedly succeeded`);
71 `_checkInvalidHeaderChar(${inspect(str)}) unexpectedly failed`);
87 `_checkInvalidHeaderChar(${inspect(str)}) unexpectedly succeeded`);
Dtest-bash-completion.js5 const { debuglog, inspect } = require('util');
32 `Expect\n\n ${inspect(output)}\n\nto include\n\n${inspect(prefix)}`);
35 `Expect\n\n ${inspect(output)}\n\nto include\n\n${inspect(suffix)}`);
Dtest-repl-envvars.js9 const inspect = require('util').inspect; constant
54 `Expected ${inspect(expected)} with ${inspect(env)}`);
56 `Expected ${inspect(expected)} with ${inspect(env)}`);
Dtest-whatwg-url-custom-inspect.js17 util.inspect(url),
34 util.inspect(url, { showHidden: true }),
64 util.inspect({ a: url }, { depth: 0 }),
68 assert(util.inspect(new MyURL(url.href)).startsWith('MyURL {'));
Dtest-worker-message-port-transfer-self.js30 const inspectedPort1 = util.inspect(port1);
31 const inspectedPort2 = util.inspect(port2);
38 const inspectedPort1 = util.inspect(port1);
39 const inspectedPort2 = util.inspect(port2);
Dtest-util-inspect-namespace.js7 const { inspect } = require('util');
13 inspect(m.namespace),
18 inspect(m.namespace),
Dtest-buffer-prototype-inspect.js12 assert.strictEqual(util.inspect(buf), '<Buffer 66 68 71 77 68 67 61 64 73>');
17 assert.strictEqual(util.inspect(buf), '<Buffer >');
22 assert.ok(/^<Buffer (?:78 ){50}\.\.\. 1 more byte>$/.test(util.inspect(buf)));
Dtest-whatwg-encoding-custom-textdecoder.js10 const { customInspectSymbol: inspect } = require('internal/util');
110 util.inspect(dec, { showHidden: true }),
121 util.inspect(dec, { showHidden: true }),
141 util.inspect(dec, { showHidden: false }),
149 assert.strictEqual(util.inspect(dec, { depth: -1 }), '[TextDecoder]');
153 const inspectFn = TextDecoder.prototype[inspect];
/third_party/python/Lib/test/
Dtest_inspect.py6 import inspect
86 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode,
87 inspect.isframe, inspect.isfunction, inspect.ismethod,
88 inspect.ismodule, inspect.istraceback,
89 inspect.isgenerator, inspect.isgeneratorfunction,
90 inspect.iscoroutine, inspect.iscoroutinefunction,
91 inspect.isasyncgen, inspect.isasyncgenfunction])
98 if (predicate == inspect.isgeneratorfunction or \
99 predicate == inspect.isasyncgenfunction or \
100 predicate == inspect.iscoroutinefunction) and \
[all …]
Dinspect_fodder.py4 import sys, inspect
15 fr = inspect.currentframe()
16 st = inspect.stack()
46 self.tr = inspect.trace()
78 currentframe = inspect.currentframe()
/third_party/protobuf/python/
Dstubout.py20 import inspect
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/boost/tools/inspect/
Dinspect.cpp72 using namespace boost::inspect;
80 typedef boost::shared_ptr< boost::inspect::inspector > inspector_ptr;
85 inspector_element( boost::inspect::inspector * p ) : inspector(p) {} in inspector_element()
95 boost::inspect::string_set content_signatures;
139 string local( boost::inspect::relative_to( pth, search_root_path() ) ); in visit_predicate()
185 const boost::inspect::string_set & signatures ) in find_signature()
221 itr->inspector->inspect( lib, pth ); // always call two-argument form in check()
224 itr->inspector->inspect( lib, pth, content ); in check()
244 string cur_lib( boost::inspect::impute_library( *itr ) ); in visit_all()
595 namespace inspect namespace
[all …]
Dpath_name_check.hpp18 namespace inspect namespace
32 virtual void inspect(
36 virtual void inspect( in inspect() function in boost::inspect::file_name_check
/third_party/boost/tools/inspect/doc/
Dbuild.jam1 project tools/inspect/doc ;
7 xml inspect
9 inspect.qbk
14 inspect
/third_party/boost/libs/timer/test/
DJamfile.v212 path-constant parent : .. ; # so that inspect will start in boost-root/libs/timer
35 run /boost/tools/inspect//inspect/<variant>release : $(parent) -text -brief : : <test-info>always_s…
36 explicit inspect ;
/third_party/python/Lib/
Dpydoc.py62 import inspect
99 if not inspect.isclass(cls):
104 if inspect.ismethod(obj):
107 if (inspect.isclass(self) and
113 elif inspect.isfunction(obj):
118 elif inspect.isbuiltin(obj):
121 if (inspect.isclass(self) and
134 elif inspect.ismethoddescriptor(obj) or inspect.isdatadescriptor(obj):
139 if inspect.ismemberdescriptor(obj):
183 return inspect.cleandoc(doc)
[all …]
/third_party/gstreamer/gstplugins_good/
DChangeLog16 * docs/plugins/inspect/plugin-1394.xml:
17 * docs/plugins/inspect/plugin-aasink.xml:
18 * docs/plugins/inspect/plugin-alaw.xml:
19 * docs/plugins/inspect/plugin-alpha.xml:
20 * docs/plugins/inspect/plugin-alphacolor.xml:
21 * docs/plugins/inspect/plugin-apetag.xml:
22 * docs/plugins/inspect/plugin-audiofx.xml:
23 * docs/plugins/inspect/plugin-audioparsers.xml:
24 * docs/plugins/inspect/plugin-auparse.xml:
25 * docs/plugins/inspect/plugin-autodetect.xml:
[all …]
/third_party/boost/tools/inspect/build/
DJamfile.v215 exe inspect
24 inspect.cpp
40 inspect
50 inspect
/third_party/python/Lib/asyncio/
Dcoroutines.py5 import inspect
40 assert inspect.isgenerator(gen) or inspect.iscoroutine(gen), gen
114 if inspect.iscoroutinefunction(func):
119 if inspect.isgeneratorfunction(func):
125 if (base_futures.isfuture(res) or inspect.isgenerator(res) or
166 return (inspect.iscoroutinefunction(func) or
252 not inspect.isgeneratorfunction(coro.func)):
/third_party/node/test/message/
Dutil_inspect_error.js8 console.log(util.inspect({ err, nested: { err } }, { compact: true }));
9 console.log(util.inspect({ err, nested: { err } }, { compact: false }));
12 console.log(util.inspect(err, { compact: true, breakLength: 5 }));
/third_party/gstreamer/gstreamer/tools/
DMakefile.am3 gst-inspect-@GST_API_VERSION@ \
7 gst_inspect_@GST_API_VERSION@_SOURCES = gst-inspect.c tools.h
28 gst-inspect-@GST_API_VERSION@.1 \
44 gst-inspect-@GST_API_VERSION@.1 \

12345678910>>...23