HomeSort by relevance Sort by last modified time
    Searched refs:reviver (Results 1 - 9 of 9) sorted by null

  /external/v8/src/
json-parser.h 20 Handle<Object> reviver);
23 JsonParseInternalizer(Isolate* isolate, Handle<JSReceiver> reviver)
24 : isolate_(isolate), reviver_(reviver) {}
41 Handle<Object> reviver) {
45 if (reviver->IsCallable()) {
46 return JsonParseInternalizer::Internalize(isolate, result, reviver);
json-parser.cc 24 Handle<Object> reviver) {
25 DCHECK(reviver->IsCallable());
27 Handle<JSReceiver>::cast(reviver));
builtins.cc 2217 Handle<Object> reviver = args.atOrUndefined(isolate, 2); local
    [all...]
  /external/v8/test/webkit/fast/js/
JSON-parse-reviver.js 24 description("Test behaviour of JSON reviver function.")
65 debug("Ensure that the changed value is reflected in the arguments passed to the reviver");
85 testFailed("Did not call reviver for deleted property");
111 debug("Ensure that a deleted value is revived if the reviver function returns a value");
147 debug("Ensure that the changed value is reflected in the arguments passed to the reviver");
  /external/v8/test/mjsunit/
json.js 498 reviver = function(p, v) {
504 assertEquals({a: 0, b: {x: null}}, JSON.parse('{"a":0,"b":1}', reviver));
509 reviver = function(p, v) {
513 assertEquals({a: 0, b: 1}, JSON.parse('{"a":0,"b":1}', reviver));
518 reviver = function(p, v) {
522 assertEquals({a: 0, b: 1}, JSON.parse('{"a":0,"b":1}', reviver));
524 reviver = (k, v) => (v === Infinity) ? "inf" : v;
525 assertEquals('{"":"inf"}', JSON.stringify({"":Infinity}, reviver));
493 reviver = function(p, v) { function
  /external/v8/test/webkit/resources/
json2-es5-compat.js 99 JSON.parse(text, reviver)
103 The optional reviver parameter is a function that can filter and
403 JSON.parse = function (text, reviver) {
405 // The parse method takes a text and an optional reviver function, and returns
428 return reviver.call(holder, key, value);
470 // each name/value pair to a reviver function for possible transformation.
472 return typeof reviver === 'function' ?
  /external/v8/test/mjsunit/es6/
proxies-json.js 445 // Reviver is a callable proxy
467 // Reviver plants a non-arraylike proxy into a yet-to-be-visited property
472 var reviver = function(p, v) { function
478 assertEquals({foo: 0, bar: proxy}, JSON.parse('{"foo":0,"bar":1}', reviver));
489 // Reviver plants an arraylike proxy into a yet-to-be-visited property
495 var reviver = function(p, v) {
501 var result = JSON.parse('{"foo":0,"bar":1}', reviver);
  /prebuilts/tools/common/m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.14/
htmlunit-core-js-2.14.jar 
  /prebuilts/tools/common/m2/repository/org/mozilla/rhino/1.7R3/
rhino-1.7R3.jar 

Completed in 1953 milliseconds