Home
last modified time | relevance | path

Searched refs:replacer (Results 1 – 25 of 57) sorted by relevance

123

/third_party/node/deps/npm/node_modules/json-stringify-safe/test/
Dstringify_test.js122 var replacer = Sinon.spy(bangString)
123 var json = stringify(obj, replacer, 2)
126 replacer.callCount.must.equal(4)
127 replacer.args[0][0].must.equal("")
128 replacer.args[0][1].must.equal(obj)
129 replacer.thisValues[1].must.equal(obj)
130 replacer.args[1][0].must.equal("name")
131 replacer.args[1][1].must.equal("Alice")
132 replacer.thisValues[2].must.equal(obj)
133 replacer.args[2][0].must.equal("child")
[all …]
/third_party/typescript/tests/baselines/reference/
Djson.stringify.types8 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
10 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
17 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
19 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
26 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
28 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
37 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
39 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
48 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
50 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
DregExpWithSlashInCharClass.types5 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
7 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
14 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
16 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
23 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
25 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
DdestructuringInitializerContextualTypeFromContext.types53 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
55 …e: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | num…
DcontrolFlowPropertyDeclarations.types298 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
300 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
304 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
309 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
319 …ify : { (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | numb…
321 …ify : { (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | numb…
DnoImplicitAnyInContextuallyTypesFunctionParamter.types16 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
18 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
DparserArgumentList1.types13 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
17 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
D1.0lib-noErrors.types1566replacer: (key: string, value: any) => any): string; (value: any, replacer: any[]): string; (value…
1572 * @param replacer A function that transforms the results.
1574 stringify(value: any, replacer: (key: string, value: any) => any): string;
1575replacer: (key: string, value: any) => any): string; (value: any, replacer: any[]): string; (value…
1577 >replacer : (key: string, value: any) => any
1584 * @param replacer Array that transforms the results.
1586 stringify(value: any, replacer: any[]): string;
1587replacer: (key: string, value: any) => any): string; (value: any, replacer: any[]): string; (value…
1589 >replacer : any[]
1594 * @param replacer A function that transforms the results.
[all …]
DoverloadResolutionOverNonCTLambdas.types18 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
20 …| RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: stri…
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dfuncrepl.cpp37 replacer = adoptedReplacer; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 replacer = other.replacer->clone(); in FunctionReplacer()
56 delete replacer; in ~FunctionReplacer()
87 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); in replace()
106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
123 replacer->setData(d); in setData()
/third_party/node/deps/icu-small/source/i18n/
Dfuncrepl.cpp37 replacer = adoptedReplacer; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 replacer = other.replacer->clone(); in FunctionReplacer()
56 delete replacer; in ~FunctionReplacer()
87 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); in replace()
106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
123 replacer->setData(d); in setData()
/third_party/icu/icu4c/source/i18n/
Dfuncrepl.cpp37 replacer = adoptedReplacer; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 replacer = other.replacer->clone(); in FunctionReplacer()
56 delete replacer; in ~FunctionReplacer()
87 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); in replace()
106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
123 replacer->setData(d); in setData()
/third_party/skia/third_party/externals/icu/source/i18n/
Dfuncrepl.cpp37 replacer = adoptedReplacer; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 replacer = other.replacer->clone(); in FunctionReplacer()
56 delete replacer; in ~FunctionReplacer()
87 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); in replace()
106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
123 replacer->setData(d); in setData()
/third_party/node/deps/npm/node_modules/json-stringify-safe/
Dstringify.js4 function stringify(obj, replacer, spaces, cycleReplacer) { argument
5 return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
8 function serializer(replacer, cycleReplacer) { argument
25 return replacer == null ? value : replacer.call(this, key, value)
/third_party/node/deps/npm/scripts/
Ddocs-build.js13 function replacer (match, p1) { function
19 .replace(/\[([^\]]+)\]\(\/cli-commands\/([^)]+)\)/g, replacer)
20 .replace(/\[([^\]]+)\]\(\/configuring-npm\/([^)]+)\)/g, replacer)
21 .replace(/\[([^\]]+)\]\(\/using-npm\/([^)]+)\)/g, replacer)
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DFunctionReplacer.java33 private UnicodeReplacer replacer; field in FunctionReplacer
43 replacer = theReplacer; in FunctionReplacer()
56 int len = replacer.replace(text, start, limit, cursor); in replace()
73 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DFunctionReplacer.java34 private UnicodeReplacer replacer; field in FunctionReplacer
44 replacer = theReplacer; in FunctionReplacer()
57 int len = replacer.replace(text, start, limit, cursor); in replace()
74 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
/third_party/node/deps/npm/node_modules/request/lib/
Dhelpers.js20 function safeStringify (obj, replacer) { argument
23 ret = JSON.stringify(obj, replacer)
25 ret = jsonSafeStringify(obj, replacer)
/third_party/typescript/lib/
Dlib.es2015.symbol.wellknown.d.ts204 … [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
253 …e: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): st…
Dlib.esnext.string.d.ts34 …replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string):…
/third_party/typescript/src/lib/
Des2015.symbol.wellknown.d.ts184 … [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
233 …e: { [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): st…
/third_party/json/doc/scripts/
Dsend_to_wandbox.py29 def replacer(match): function
39 return re.sub(pattern, replacer, text)
/third_party/typescript/tests/cases/conformance/decorators/
D1.0lib-noErrors.ts950 stringify(value: any, replacer: (key: string, value: any) => any): string;
956 stringify(value: any, replacer: any[]): string;
963 stringify(value: any, replacer: (key: string, value: any) => any, space: any): string;
970 stringify(value: any, replacer: any[], space: any): string;
/third_party/skia/third_party/externals/tint/src/
Dclone_context.h276 ReplaceAll(F&& replacer) { in ReplaceAll() argument
293 return replacer(in->As<T>()); in ReplaceAll()
308 CloneContext& ReplaceAll(const SymbolTransform& replacer) { in ReplaceAll() argument
315 symbol_transform_ = replacer; in ReplaceAll()
/third_party/typescript/src/harness/
Dutil.ts10 …: string[], ...args: string[]) => string[]>(diagnosticMessage: ts.DiagnosticMessage, replacer: R) {
14 …(_, ...fixedArgs) => ts.formatStringFromArgs(diagnosticMessage.message, replacer(fixedArgs, ...arg…

123