HomeSort by relevance Sort by last modified time
    Searched refs:stringify (Results 26 - 50 of 434) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/mjsunit/
json.js 226 // Stringify
229 assertEquals(expected, JSON.stringify(input));
230 assertEquals(expected, JSON.stringify(input, null, 0));
250 assertEquals("[\n 1,\n 2,\n 3\n]", JSON.stringify([1, 2, 3], null, 1));
251 assertEquals("[\n 1,\n 2,\n 3\n]", JSON.stringify([1, 2, 3], null, 2));
253 JSON.stringify([1, 2, 3], null, new Number(2)));
254 assertEquals("[\n^1,\n^2,\n^3\n]", JSON.stringify([1, 2, 3], null, "^"));
256 JSON.stringify([1, 2, 3], null, new String("^")));
258 JSON.stringify([1, 2, [3, [4], 5], 6, 7], null, 1));
259 assertEquals("[]", JSON.stringify([], null, 1))
    [all...]
json-stringify-recursive.js 36 JSON.stringify(a);
47 assertThrows(function() { JSON.stringify(deepArray); }, RangeError);
52 assertThrows(function() { JSON.stringify(deepObject); }, RangeError);
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdemo/
ttsdemo.js 38 voiceInfo.innerText = JSON.stringify(voiceArray[i], null, 2);
69 console.log(utteranceIndex + ': ' + JSON.stringify(options));
71 console.log(utteranceIndex + ': ' + JSON.stringify(event));
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
TestUtil.java 17 org.junit.Assert.assertEquals(stringify(expected), stringify(actual)); method
20 public static String stringify(Collection<?> collection) { method in class:TestUtil
  /external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/
background.js 10 localStorage.openWhenComplete = JSON.stringify(ids);
16 localStorage.openWhenComplete = JSON.stringify(ids);
  /external/qemu/
dyngen-exec.h 69 #define stringify(s) tostring(s) macro
  /external/chromium_org/chrome/browser/resources/sync_internals/
traffic.js 17 trafficData += JSON.stringify(trafficRecord, null, 2);
  /external/chromium_org/v8/test/mjsunit/regress/
regress-2374.js 33 assertEquals(JSON.stringify(obj), JSON.stringify(obj2));
34 assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
regress-753.js 28 // Test that JSON.stringify correctly truncates floating point numbers.
35 assertEquals(JSON.stringify(obj, null, 5.99999), JSON.stringify(obj, null, 5));
regress-crbug-229923.js 30 var slice = "slow path of JSON.stringify for sliced string".substring(1);
31 assertEquals('"' + slice + '"', JSON.stringify(slice, null, 0));
41 JSON.stringify(slice_of_external, null, 0));
regress-2570.js 31 assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o));
32 assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o, null, 0));
  /external/chromium_org/v8/test/mjsunit/harmony/
proxies-json.js 32 assertEquals(expected, JSON.stringify(object));
34 assertEquals(expected, JSON.stringify(object, undefined, 0));
83 assertEquals(expected2, JSON.stringify(parent2));
85 assertEquals(expected2, JSON.stringify(parent2, undefined, 0));
176 JSON.stringify(parent7));
178 JSON.stringify(parent7));
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
AccountWithDataSetTest.java 42 // stringify() & unstringify
43 AccountWithDataSet a1r = AccountWithDataSet.unstringify(a1.stringify());
44 AccountWithDataSet a2r = AccountWithDataSet.unstringify(a2.stringify());
45 AccountWithDataSet a3r = AccountWithDataSet.unstringify(a3.stringify());
  /external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/
sample.js 8 console.log("info: " + JSON.stringify(info));
9 console.log("tab: " + JSON.stringify(tab));
48 console.log(JSON.stringify(info));
  /external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/
sample.js 8 console.log("info: " + JSON.stringify(info));
9 console.log("tab: " + JSON.stringify(tab));
48 console.log(JSON.stringify(info));
  /external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/event_page/
sample.js 12 console.log(JSON.stringify(info));
19 console.log("info: " + JSON.stringify(info));
20 console.log("tab: " + JSON.stringify(tab));
  /external/v8/test/mjsunit/regress/
regress-753.js 28 // Test that JSON.stringify correctly truncates floating point numbers.
35 assertEquals(JSON.stringify(obj,null, 5.99999), JSON.stringify(obj,null, 5));
  /external/chromium_org/chrome/common/extensions/docs/examples/api/cookies/
background.js 6 console.log("onChanged" + JSON.stringify(info));
  /external/chromium_org/v8/test/webkit/
Object-create.js 30 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
31 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
32 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
33 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
  /external/chromium_org/v8/test/webkit/fast/js/
Object-defineProperty.js 26 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1}), 'foo'))",
27 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
28 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {}), 'foo'))",
29 "JSON.stringify({writable: false, enumerable: false, configurable: false})");
30 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {get:undefined}), 'foo'))",
31 "JSON.stringify({enumerable: false, configurable: false})");
32 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: false}), 'foo'))",
33 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
34 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: true}), 'foo'))",
35 "JSON.stringify({value: 1, writable: true, enumerable: false, configurable: false})")
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
options.js 252 window.localStorage.setItem('keywords', JSON.stringify(keywords));
254 window.localStorage.setItem('keywords', JSON.stringify(tempCusTopics));
261 window.localStorage.setItem('topics', JSON.stringify(topicArr));
383 window.localStorage.setItem('keywords', JSON.stringify(keywords));
  /external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/app/
main.js 35 appendMessage("Sent message: <b>" + JSON.stringify(message) + "</b>");
39 appendMessage("Received message: <b>" + JSON.stringify(message) + "</b>");
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/javascript/
options.js 252 window.localStorage.setItem('keywords', JSON.stringify(keywords));
254 window.localStorage.setItem('keywords', JSON.stringify(tempCusTopics));
261 window.localStorage.setItem('topics', JSON.stringify(topicArr));
383 window.localStorage.setItem('keywords', JSON.stringify(keywords));
  /external/chromium_org/chrome/test/functional/tracing/
timeline_model_shim.js 20 JSON.stringify(obj)
33 ret.exception = JSON.stringify(e);
  /external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/
checkout.js 95 net.post('/rebaselineall', JSON.stringify(tests), function() { callback() });

Completed in 533 milliseconds

12 3 4 5 6 7 8 91011>>