Home
last modified time | relevance | path

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

123

/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/node/deps/npm/node_modules/json-stringify-nice/
Dindex.js10 const sort = (replacer, seen) => (key, val) => { argument
11 const prefKeys = Array.isArray(replacer) ? replacer : []
13 if (typeof replacer === 'function')
14 val = replacer(key, val)
36 module.exports = (obj, replacer, space = 2) =>
37 JSON.stringify(obj, sort(replacer, new Map()), space)
/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/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/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/node/deps/npm/node_modules/diff/lib/diff/
Djson.js93 function canonicalize(obj, stack, replacementStack, replacer, key) { argument
97 if (replacer) {
98 obj = replacer(key, obj);
117 canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);
152 canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);
/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/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.es2021.string.d.ts34 …replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string):…
/third_party/node/deps/npm/node_modules/chalk/source/
Dutilities.js2 export function stringReplaceAll(string, substring, replacer) { argument
12 returnValue += string.slice(endIndex, index) + substring + replacer;
/third_party/node/deps/v8/src/builtins/
Dstring-replaceall.tq54 // c. Let replacer be ? GetMethod(searchValue, @@replace).
55 // d. If replacer is not undefined, then
56 // i. Return ? Call(replacer, searchValue, « O, replaceValue »).
58 const replacer = GetMethod(searchValue, ReplaceSymbolConstant())
60 return Call(context, replacer, searchValue, receiver, replaceValue);
Dbuiltins-json.cc34 Handle<Object> replacer = args.atOrUndefined(isolate, 2); in BUILTIN() local
37 JsonStringify(isolate, object, replacer, indent)); in BUILTIN()
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc30 Handle<Object> replacer,
36 bool InitializeReplacer(Handle<Object> replacer);
143 Handle<Object> replacer, Handle<Object> gap) { in JsonStringify() argument
145 return stringifier.Stringify(object, replacer, gap); in JsonStringify()
226 Handle<Object> replacer, in Stringify() argument
228 if (!InitializeReplacer(replacer)) return MaybeHandle<Object>(); in Stringify()
239 bool JsonStringifier::InitializeReplacer(Handle<Object> replacer) { in InitializeReplacer() argument
242 Maybe<bool> is_array = Object::IsArray(replacer); in InitializeReplacer()
251 Handle<JSReceiver>::cast(replacer)), in InitializeReplacer()
259 isolate_, element, Object::GetElement(isolate_, replacer, i), false); in InitializeReplacer()
[all …]
/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