Home
last modified time | relevance | path

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

/external/v8/src/js/
Djson.js78 function SerializeArray(value, replacer, stack, indent, gap) { argument
85 var strP = JSONSerialize(%_NumberToString(i), value, replacer, stack,
107 function SerializeObject(value, replacer, stack, indent, gap) { argument
112 if (IS_ARRAY(replacer)) {
113 var length = replacer.length;
115 var p = replacer[i];
116 var strP = JSONSerialize(p, value, replacer, stack, indent, gap);
126 var strP = JSONSerialize(p, value, replacer, stack, indent, gap);
150 function JSONSerialize(key, holder, replacer, stack, indent, gap) { argument
158 if (IS_CALLABLE(replacer)) {
[all …]
/external/icu/icu4c/source/i18n/
Dfuncrepl.cpp35 replacer = adoptedReplacer; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 replacer = other.replacer->clone(); in FunctionReplacer()
54 delete replacer; in ~FunctionReplacer()
85 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor); in replace()
104 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
121 replacer->setData(d); in setData()
Dfuncrepl.h46 UnicodeFunctor* replacer; variable
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DFunctionReplacer.java31 private UnicodeReplacer replacer; field in FunctionReplacer
41 replacer = theReplacer; in FunctionReplacer()
53 int len = replacer.replace(text, start, limit, cursor); in replace()
69 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DFunctionReplacer.java32 private UnicodeReplacer replacer; field in FunctionReplacer
42 replacer = theReplacer; in FunctionReplacer()
54 int len = replacer.replace(text, start, limit, cursor); in replace()
70 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
/external/v8/test/webkit/resources/
Djson2-es5-compat.js356 JSON.stringify = function (value, replacer, space) { argument
385 rep = replacer;
386 if (replacer && typeof replacer !== 'function' &&
387 (typeof replacer !== 'object' ||
388 typeof replacer.length !== 'number')) {
/external/v8/test/mjsunit/harmony/
Dproxies-json.js372 var replacer = (key, val) => key === "1" ? proxy : val; function
374 assertEquals('["foo",{"baz":5}]', JSON.stringify(object, replacer));
388 var replacer = (key, val) => key === "1" ? proxy : val;
390 assertEquals('["foo",["bar"]]', JSON.stringify(object, replacer));
407 var replacer = (key, val) => key === "goo" ? proxy : val;
410 JSON.stringify(object, replacer));
422 var replacer = (key, val) => key === "goo" ? proxy : val;
424 assertThrows(() => JSON.stringify(object, replacer), TypeError);
432 var replacer = (key, val) => key === "1" ? proxy : val;
434 assertEquals('["foo",null]', JSON.stringify(["foo", 42], replacer));
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DFreeBox.java61 for (Box replacer : replacers) { in getBox()
62 replacer.getBox(os); in getBox()
84 for (Box replacer : replacers) { in getSize()
85 size += replacer.getSize(); in getSize()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DUtils.java61 public static String replace(String src, String replacee, String replacer) { in replace() argument
67 if ( replacer!=null ) { in replace()
68 result.append(replacer); in replace()
/external/v8/src/compiler/
Dliveness-analyzer.cc54 void LivenessAnalyzer::Run(NonLiveFrameStateSlotReplacer* replacer) { in Run() argument
82 block->Process(&working_area, replacer); in Run()
95 NonLiveFrameStateSlotReplacer* replacer) { in Process() argument
110 if (replacer != nullptr) { in Process()
111 replacer->ClearNonLiveFrameStateSlots(entry.node(), result); in Process()
Dast-graph-builder.cc631 NonLiveFrameStateSlotReplacer replacer( in ClearNonLiveSlotsInFrameStates() local
636 replacer.MarkPermanentlyLive(arguments->index()); in ClearNonLiveSlotsInFrameStates()
638 liveness_analyzer()->Run(&replacer); in ClearNonLiveSlotsInFrameStates()
/external/v8/test/mjsunit/regress/
Dregress-752.js32 function replacer(key, value) { function
36 assertEquals("[false]", JSON.stringify([42], replacer));
/external/v8/test/mjsunit/
Djson-replacer-order.js10 var replacer = Object.defineProperty([], 0, {
22 JSON.stringify('', replacer, space);
Ddebug-stepout-to-builtin.js64 function replacer(key, value) { function
75 JSON.stringify(obj, replacer);
Dmjsunit.status822 'json-replacer-number-wrapper-tostring': [SKIP],
823 'json-replacer-order': [SKIP],
/external/opencv3/modules/core/src/opencl/runtime/generator/
Dcommon.py8 def replacer(match): function
18 return re.sub(pattern, replacer, s)
/external/v8/test/unittests/compiler/
Dliveness-analyzer-unittest.cc42 NonLiveFrameStateSlotReplacer replacer(&cache, in Run() local
45 analyzer()->Run(&replacer); in Run()
/external/v8/test/webkit/
DJSON-stringify-replacer-expected.txt24 Test to ensure correct behaviour of replacer functions in JSON.stringify
/external/v8/
DChangeLog7616 Fix issues with JSON stringify replacer array (issues 3200, 3201).
7734 Fix spec violations in JSON.stringify wrt replacer array (issue 3135).