/external/chromium_org/v8/test/mjsunit/regress/ |
regress-3135.js | 6 assertEquals('{"x":1}', JSON.stringify({ x : 1 }, ["x", 1, "x", 1])); 7 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["x", 1, "x", 1])); 8 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["1", 1, "1", 1])); 9 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, [1, "1", 1, "1"])); 14 assertEquals('{"x":2}', JSON.stringify(getter_obj, ["x", "y", "x"])); 18 assertEquals('{"y":4,"x":3}', JSON.stringify({ x : 3, y : 4}, ["y", "x"])); 20 JSON.stringify({ x : 3, y : 4, 1 : 2 }, ["y", 1, "x"])); 26 JSON.stringify(a, ["__proto__", "x", "__proto__"])); 29 JSON.stringify(a, ["__proto__", "x"])); 31 assertEquals('{}', JSON.stringify(b)) [all...] |
regress-json-stringify-gc.js | 35 // At some point during the first stringify, allocation causes a GC and 38 json1 = JSON.stringify(a); 39 json2 = JSON.stringify(a); 40 assertTrue(json1 == json2, "GC caused JSON.stringify to fail."); 42 // Check that the slow path of JSON.stringify works correctly wrt GC. 45 assertEquals('"' + s + '"', JSON.stringify(s, null, 0)); 50 assertEquals('"' + s + '"', JSON.stringify(s, null, 0));
|
regress-369450.js | 10 var json = JSON.stringify(v);
|
/external/valgrind/main/VEX/test/ |
test-amd64-muldiv.h | 11 stringify(OP)"b %b2\n\t" 17 stringify(OP) "b", s0, s1, res, flags & CC_MASK); 29 stringify(OP) "w %w3\n\t" 35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK); 47 stringify(OP) "l %3\n\t" 53 stringify(OP) "l", op0h, op0, s1, resh, res, flags & CC_MASK); 65 stringify(OP) "q %3\n\t" 71 stringify(OP) "q", op0h, op0, s1, resh, res, flags & CC_MASK);
|
test-i386-muldiv.h | 11 stringify(OP)"b %b2\n\t" 17 stringify(OP) "b", s0, s1, res, flags & CC_MASK); 29 stringify(OP) "w %w3\n\t" 35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK); 47 stringify(OP) "l %3\n\t" 53 stringify(OP) "l", op0h, op0, s1, resh, res, flags & CC_MASK);
|
test-i386-shift.h | 13 stringify(OP) size " %" size "2, %" size "0\n\t" \ 22 stringify(OP) size " %%cl, %" size "0\n\t" \ 39 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); 52 stringify(OP) "w", s0, s1, res, iflags, flags & CC_MASK); 59 stringify(OP) size " %%cl, %" size "5, %" size "0\n\t" \ 75 stringify(OP) "l", s0, s2, s1, res, iflags, flags & CC_MASK); 88 stringify(OP) "w", s0, s2, s1, res, iflags, flags & CC_MASK); 104 stringify(OP) "b", s0, s1, res, iflags, flags & CC_MASK);
|
test-amd64-shift.h | 14 stringify(OP) size " %" size "2, %" size "0\n\t" \ 23 stringify(OP) size " %%cl, %" size "0\n\t" \ 40 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); 53 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); 66 stringify(OP) "w", s0, s1, res, iflags, flags & CC_MASK); 73 stringify(OP) size " %%cl, %" size "5, %" size "0\n\t" \ 89 stringify(OP) "l", s0, s2, s1, res, iflags, flags & CC_MASK); 102 stringify(OP) "w", s0, s2, s1, res, iflags, flags & CC_MASK); 118 stringify(OP) "b", s0, s1, res, iflags, flags & CC_MASK);
|
test-i386.h | 12 stringify(OP) size " %" size "2, %" size "0\n\t" \ 21 stringify(OP) size " %" size "0\n\t" \ 36 stringify(OP) "l", s0, res, iflags, flags & CC_MASK); 50 stringify(OP) "w", s0, res, iflags, flags & CC_MASK); 64 stringify(OP) "b", s0, res, iflags, flags & CC_MASK); 79 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK); 93 stringify(OP) "w", s0, s1, res, iflags, flags & CC_MASK); 107 stringify(OP) "b", s0, s1, res, iflags, flags & CC_MASK);
|
/external/chromium_org/v8/test/webkit/resources/ |
JSON-stringify.js | 45 return jsonObject.stringify(1); 48 return jsonObject.stringify(1.5); 51 return jsonObject.stringify(-1); 54 return jsonObject.stringify(-1.5); 57 return jsonObject.stringify(null); 60 return jsonObject.stringify("string"); 63 return jsonObject.stringify(new Number(0)); 66 return jsonObject.stringify(new Number(1)); 69 return jsonObject.stringify(new Number(1.5)); 72 return jsonObject.stringify(new Number(-1)) [all...] |
/external/chromium_org/v8/test/webkit/ |
JSON-stringify-replacer.js | 24 description("Test to ensure correct behaviour of replacer functions in JSON.stringify"); 70 shouldBeUndefined("JSON.stringify(object, returnUndefined)"); 71 shouldBeUndefined("JSON.stringify(array, returnUndefined)"); 73 shouldBe("JSON.stringify(object, returnObjectFor1)", '\'{"0":0,"1":{},"2":2}\''); 74 shouldBe("JSON.stringify(array, returnObjectFor1)", '\'[0,{},2,null]\''); 76 shouldBe("JSON.stringify(object, returnArrayFor1)", '\'{"0":0,"1":[],"2":2}\''); 77 shouldBe("JSON.stringify(array, returnArrayFor1)", '\'[0,[],2,null]\''); 79 shouldBe("JSON.stringify(object, returnUndefinedFor1)", '\'{"0":0,"2":2}\''); 80 shouldBe("JSON.stringify(array, returnUndefinedFor1)", '\'[0,null,2,null]\''); 82 shouldBe("JSON.stringify(object, returnFunctionFor1)", '\'{"0":0,"2":2}\'') [all...] |
math-transforms.js | 53 shouldBe("values." + name + " * 1", stringify(values[numForStr])); 56 shouldBe("1 * values." + name, stringify(values[numForStr])); 65 shouldBe("+values." + name1 + " * values." + name2, stringify(values[name1] * values[name2])); 67 shouldBe("values." + name1 + " * +values." + name2, stringify(values[name1] * values[name2])); 69 shouldBe("+values." + name1 + " * +values." + name2, stringify(values[name1] * values[name2])); 72 shouldBe("+values." + name1 + " / values." + name2, stringify(values[name1] / values[name2])); 74 shouldBe("values." + name1 + " / +values." + name2, stringify(values[name1] / values[name2])); 76 shouldBe("+values." + name1 + " / +values." + name2, stringify(values[name1] / values[name2])); 79 shouldBe("+values." + name1 + " - values." + name2, stringify(values[name1] - values[name2])); 81 shouldBe("values." + name1 + " - +values." + name2, stringify(values[name1] - values[name2])) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
TestController.js | 42 message = typeof result === "undefined" ? "\"<undefined>\"" : JSON.stringify(result);
|
/external/chromium_org/v8/test/mjsunit/ |
json2.js | 30 // Test JSON.stringify on the global object. 32 assertTrue(JSON.stringify(this).indexOf('"a":12345') > 0); 33 assertTrue(JSON.stringify(this, null, 0).indexOf('"a":12345') > 0); 35 // Test JSON.stringify of array in dictionary mode. 37 assertEquals(expected, JSON.stringify(input)); 38 assertEquals(expected, JSON.stringify(input, null, 0)); 109 JSON.stringify({ get toJSON() { throw "error"; } }); 121 assertThrows(function() { JSON.stringify(tojson_ex); }); 122 assertThrows(function() { JSON.stringify(tojson_ex, null, 0); }); 158 assertEquals('{"a":1,"b":2,"d":4}', JSON.stringify(getter_side_effect)) [all...] |
mul-exhaustive-part1.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part10.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part2.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part3.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part4.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part5.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part6.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part7.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part8.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
mul-exhaustive-part9.js | 31 function stringify(n) { function 43 assertEquals(expected, testEval(stringify(x) + " * y", x, y)); 44 assertEquals(expected, testEval("x * " + stringify(y), x, y)); 45 assertEquals(expected, testEval(stringify(x) + " * " + stringify(y), x, y));
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/news_a11y/ |
feed_iframe.js | 6 var msg = JSON.stringify({type:"size", size:document.body.offsetHeight}); 23 parent.postMessage(JSON.stringify({type:"show", url:href}), "*");
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
builders_unittests.js | 697 var failingBuildInfoJSON = JSON.parse(JSON.stringify(kExampleBuildInfoJSON)); [all...] |