Lines Matching defs:function
76 function toUSVString(val) {
88 function lazyUv() {
93 function removeColors(str) {
97 function isError(e) {
110 function getDeprecationWarningEmitter(
115 return function() {
133 function isPendingDeprecation() {
141 function pendingDeprecate(fn, msg, code) {
145 function deprecated(...args) {
153 // Returns a modified function which warns once by default.
155 function deprecate(fn, msg, code, useEmitSync) {
171 function deprecated(...args) {
191 function decorateErrorStack(err) {
203 function assertCrypto() {
209 // Move the "slow cases" to a separate function to make sure this function gets
211 function normalizeEncoding(enc) {
216 function slowCases(enc) {
270 function emitExperimentalWarning(feature) {
277 function filterDuplicateStrings(items, low) {
291 function cachedResult(fn) {
306 function createClassWrapper(type) {
307 function fn(...args) {
310 // Mask the wrapper function name and length values
321 function getSignalsToNamesMapping() {
333 function convertToValidSignal(signal) {
345 function getConstructorOf(obj) {
349 typeof descriptor.value === 'function' &&
368 function getCWDURL() {
390 function getSystemErrorName(err) {
395 function getSystemErrorMap() {
404 function promisify(original) {
426 function fn(...args) {
465 function join(output, separator) {
481 function spliceOne(list, index) {
491 function isInsideNodeModules() {
498 getStructuredStack = runInNewContext(`(function() {
500 return function structuredStack() {
525 function once(callback) {
527 return function(...args) {
536 function sleep(msec) {
545 function createDeferredPromise() {
557 function defineOperation(target, name, method) {
568 function exposeInterface(target, name, interfaceObject) {
578 function defineLazyProperties(target, id, keys, enumerable = true) {
584 function set(value) {
595 function get() {
618 function defineReplaceableLazyAttribute(target, id, keys, writable = true) {
625 function get() {
639 function set(val) {
658 function exposeLazyInterfaces(target, id, keys) {
679 function filterOwnProperties(source, keys) {
698 function setOwnProperty(obj, key, value) {
709 function getInternalGlobal() {
718 function SideEffectFreeRegExpPrototypeExec(regex, string) {
724 function getCrossRelmRegex(regex) {
743 function SideEffectFreeRegExpPrototypeSymbolReplace(regex, string, replacement) {
747 function SideEffectFreeRegExpPrototypeSymbolSplit(regex, string, limit = undefined) {
752 function isArrayBufferDetached(value) {
761 * Helper function to lazy-load an initialize-once value.
766 function getLazy(initializer) {
769 return function() {
780 function setupCoverageHooks(dir) {
842 // Symbol used to provide a custom inspect function for an object as an