Home
last modified time | relevance | path

Searched refs:validateObject (Results 1 – 25 of 64) sorted by relevance

123

/third_party/node/test/parallel/
Dtest-validators.js11 validateObject,
113 validateObject({}, 'foo');
114 validateObject({ a: 42, b: 'foo' }, 'foo');
119 validateObject(val, 'foo');
124 validateObject(null, 'foo', { nullable: true });
125 validateObject([], 'foo', { allowArray: true });
126 validateObject(() => {}, 'foo', { allowFunction: true });
129 assert.throws(() => validateObject(null, 'foo', { allowArray: true }), invalidArgTypeError);
130 assert.throws(() => validateObject([], 'foo', { nullable: true }), invalidArgTypeError);
131 assert.throws(() => validateObject(() => {}, 'foo', { nullable: true }), invalidArgTypeError);
/third_party/node/lib/
Dwasi.js24 validateObject,
37 validateObject(instance, 'instance');
38 validateObject(instance.exports, 'instance.exports');
46 validateObject(options, 'options');
54 validateObject(options.env, 'options.env');
65 validateObject(options.preopens, 'options.preopens');
Dvm.js47 validateObject,
69 validateObject(options, 'options');
152 validateObject(options, 'options');
196 validateObject(options.contextCodeGeneration,
216 validateObject(options, 'options');
229 validateObject(codeGeneration, 'options.codeGeneration');
318 validateObject(options, 'options');
Dtrace_events.js29 validateObject,
85 validateObject(options, 'options');
Dinspector.js31 validateObject,
123 validateObject(params, 'params');
/third_party/node/lib/internal/streams/
Doperators.js17 validateObject,
45 validateObject(options, 'options');
74 validateObject(options, 'options');
194 validateObject(options, 'options');
278 validateObject(options, 'options');
322 validateObject(options, 'options');
362 validateObject(options, 'options');
386 validateObject(options, 'options');
/third_party/node/lib/internal/crypto/
Dkeygen.js50 validateObject,
177 validateObject(options, 'options');
183 validateObject(options, 'options');
250 validateObject(options, 'options');
268 validateObject(options, 'options');
309 validateObject(options, 'options');
355 validateObject(options, 'options');
Drandom.js54 validateObject,
407 validateObject(options, 'options');
418 validateObject(options, 'options');
560 validateObject(options, 'options');
589 validateObject(options, 'options');
Dkeys.js30 validateObject,
162 validateObject(options, 'options');
324 validateObject(enc, 'options');
420 validateObject(key, 'key');
548 validateObject(data, 'key.key');
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Doperators.js8 const { validateAbortSignal, validateInteger, validateObject } = require('../validators')
28 validateObject(options, 'options')
48 validateObject(options, 'options')
175 validateObject(options, 'options')
262 validateObject(options, 'options')
324 validateObject(options, 'options')
369 validateObject(options, 'options')
405 validateObject(options, 'options')
/third_party/node/lib/internal/test_runner/
Dmock.js27 validateObject,
126 validateObject(options, 'options');
141 validateObject(objectOrFunction, 'object');
150 validateObject(options, 'options');
222 validateObject(options, 'options');
249 validateObject(options, 'options');
/third_party/node/lib/internal/webstreams/
Dqueuingstrategies.js29 validateObject,
79 validateObject(init, 'init');
134 validateObject(init, 'init');
Dadapters.js68 validateObject,
223 validateObject(options, 'options');
488 validateObject(options, 'options');
623 validateObject(pair, 'pair');
642 validateObject(options, 'options');
841 validateObject(streamBase, 'streamBase');
918 validateObject(streamBase, 'streamBase');
919 validateObject(options, 'options');
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/
Dutils.js13 validateObject,
144 validateObject(options, 'options');
165 validateObject(options, 'options');
Dindex.js24 validateObject,
307 validateObject(options, 'options');
311 validateObject(optionConfig, `options.${longOption}`);
/third_party/node/lib/internal/
Dvm.js16 validateObject,
26 validateObject(object, 'object', { __proto__: null, allowArray: true });
70 validateObject(extension, name, { __proto__: null, nullable: true });
Dencoding.js51 validateObject,
389 validateObject(options, 'options', {
438 validateObject(options, 'options', {
472 validateObject(options, 'options', {
518 validateObject(options, 'options', {
Dsocketaddress.js15 validateObject,
50 validateObject(options, 'options');
/third_party/node/lib/internal/util/parse_args/
Dutils.js13 validateObject,
144 validateObject(options, 'options');
165 validateObject(options, 'options');
Dparse_args.js24 validateObject,
302 validateObject(options, 'options');
306 validateObject(optionConfig, `options.${longOption}`);
/third_party/node/lib/internal/process/
Dreport.js7 validateObject,
27 validateObject(err, 'err');
36 validateObject(err, 'err');
/third_party/node/lib/internal/vm/
Dmodule.js46 validateObject,
97 validateObject(context, 'context');
208 validateObject(options, 'options');
264 validateObject(options, 'options');
399 validateObject(options, 'options');
/third_party/node/lib/internal/perf/
Devent_loop_delay.js21 validateObject,
77 validateObject(options, 'options');
Dtimerify.js16 validateObject,
58 validateObject(options, 'options');
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/
Dvalidators.js67 function validateObject(value, name, options) { function
83 validateObject, property

123