HomeSort by relevance Sort by last modified time
    Searched full:stringify (Results 1 - 25 of 650) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/angle/src/common/
version.h 6 #define STRINGIFY(x) #x
7 #define MACRO_STRINGIFY(x) STRINGIFY(x)
  /external/chromium_org/v8/test/webkit/
JSON-stringify-replacer-expected.txt 24 Test to ensure correct behaviour of replacer functions in JSON.stringify
29 PASS JSON.stringify(object, returnUndefined) is undefined.
30 PASS JSON.stringify(array, returnUndefined) is undefined.
31 PASS JSON.stringify(object, returnObjectFor1) is '{"0":0,"1":{},"2":2}'
32 PASS JSON.stringify(array, returnObjectFor1) is '[0,{},2,null]'
33 PASS JSON.stringify(object, returnArrayFor1) is '{"0":0,"1":[],"2":2}'
34 PASS JSON.stringify(array, returnArrayFor1) is '[0,[],2,null]'
35 PASS JSON.stringify(object, returnUndefinedFor1) is '{"0":0,"2":2}'
36 PASS JSON.stringify(array, returnUndefinedFor1) is '[0,null,2,null]'
37 PASS JSON.stringify(object, returnFunctionFor1) is '{"0":0,"2":2}
    [all...]
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...]
Object-defineProperties.js 29 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
30 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
31 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
32 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:false}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\'');
33 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
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/v8/test/mjsunit/
json.js 226 // Stringify
228 assertEquals("true", JSON.stringify(true));
229 assertEquals("false", JSON.stringify(false));
230 assertEquals("null", JSON.stringify(null));
231 assertEquals("false", JSON.stringify({toJSON: function () { return false; }}));
232 assertEquals("4", JSON.stringify(4));
233 assertEquals('"foo"', JSON.stringify("foo"));
234 assertEquals("null", JSON.stringify(Infinity));
235 assertEquals("null", JSON.stringify(-Infinity));
236 assertEquals("null", JSON.stringify(NaN))
    [all...]
  /external/linux-tools-perf/
MANIFEST 6 include/linux/stringify.h
  /external/chromium_org/v8/test/mjsunit/regress/
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-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-2374.js 33 assertEquals(JSON.stringify(obj), JSON.stringify(obj2));
34 assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
  /external/valgrind/main/VEX/test/
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-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-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);
  /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...]
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...]
  /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}), "*");
  /frameworks/native/libs/ui/
UiConfig.cpp 21 #define STRINGIFY(x) #x
22 #define TOSTRING(x) STRINGIFY(x)
  /external/chromium/chrome/browser/resources/sync_internals/
data.html 22 data += JSON.stringify(chrome.sync.aboutInfo, null, 2);
29 data += JSON.stringify(chrome.sync.notifications, null, 2);
36 data += JSON.stringify(chrome.sync.log.entries, null, 2);
  /external/qemu/android/config/
check-esd.c 23 #define STRINGIFY(x) _STRINGIFY(x)
57 (func_ ##name) = dlsym( esd_lib, STRINGIFY(name) ); \
59 D("could not find %s in libesd\n", STRINGIFY(name)); \
check-pulseaudio.c 23 #define STRINGIFY(x) _STRINGIFY(x)
58 (func_ ##name) = dlsym( pa_lib, STRINGIFY(name) ); \
60 D("could not find %s in libpulse\n", STRINGIFY(name)); \
  /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/chrome/common/extensions/docs/examples/extensions/buildbot/
options.html 9 localStorage.prefs = JSON.stringify(prefs);
  /external/chromium_org/chrome/browser/resources/sync_internals/
traffic.js 17 trafficData += JSON.stringify(trafficRecord, null, 2);
  /bootable/recovery/
common.h 39 #define STRINGIFY(x) #x
40 #define EXPAND(x) STRINGIFY(x)

Completed in 853 milliseconds

1 2 3 4 5 6 7 8 91011>>