Lines Matching +full:initializer +full:- +full:overrides
72 const colorRegExp = /\u001b\[\d\d?m/g; // eslint-disable-line no-control-regex
75 /(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;
134 return getOptionValue('--pending-deprecation') &&
135 !getOptionValue('--no-deprecation');
138 // Internal deprecator for pending --pending-deprecation. This can be invoked
154 // If --no-deprecation is set, then it is a no-op.
160 // Lazy-load to avoid a circular dependency.
212 if (enc == null || enc === 'utf8' || enc === 'utf-8') return 'utf8';
232 if (enc === 'ucs-2') return 'utf16le';
233 if (enc === 'UTF-8') return 'utf8';
235 if (enc === 'UCS-2') return 'utf16le';
237 if (enc === 'utf-8') return 'utf8';
239 if (enc === 'ucs-2') return 'utf16le';
256 if (enc === 'utf-16le' || enc === 'UTF-16LE' ||
257 `${enc}`.toLowerCase() === 'utf-16le')
376 // It's a relatively cheap call performance-wise for the most common use case.
405 // Lazy-load to avoid a circular dependency.
455 // We want to use null-prototype objects to not rely on globally mutable
464 // The built-in Array#join is slower in v8 6.0
468 const lastIndex = output.length - 1;
480 // between 1.5-10x faster than the two-arg version of Array#splice()
493 // Lazy-load to avoid a circular dependency.
495 // Use `runInNewContext()` to get something tamper-proof and
496 // side-effect-free. Since this is currently only used for a deprecated API,
505 })()`, { overrideStackTrace }, { filename: 'structured-stack' });
537 // Lazy-load to avoid a circular dependency.
556 // https://heycam.github.io/webidl/#define-the-operations
567 // https://heycam.github.io/webidl/#es-interfaces
711 // Lazy-load to avoid a circular dependency.
761 * Helper function to lazy-load an initialize-once value.
762 * @template T Return value of initializer
763 * @param {()=>T} initializer Initializer of the lazily loaded value.
766 function getLazy(initializer) { argument
771 value = initializer();
778 // Setup user-facing NODE_V8_COVERAGE environment variable that writes
847 // default isEncoding implementation, just in case userland overrides it.