Home
last modified time | relevance | path

Searched refs:stringify (Results 1 – 25 of 48) sorted by relevance

12

/external/webkit/LayoutTests/fast/js/resources/
DJSON-stringify.js22 return jsonObject.stringify(1);
25 return jsonObject.stringify(1.5);
28 return jsonObject.stringify(-1);
31 return jsonObject.stringify(-1.5);
34 return jsonObject.stringify(null);
37 return jsonObject.stringify("string");
40 return jsonObject.stringify(new Number(0));
43 return jsonObject.stringify(new Number(1));
46 return jsonObject.stringify(new Number(1.5));
49 return jsonObject.stringify(new Number(-1));
[all …]
DJSON-parse.js313 return jsonObject.parse(JSON.stringify(simpleObject));
315 result[result.length - 1].expected = JSON.stringify(simpleObject);
317 return jsonObject.parse(JSON.stringify(complexObject));
320 return jsonObject.parse(JSON.stringify(complexObject));
322 result[result.length - 1].expected = JSON.stringify(complexObject);
324 return jsonObject.parse(JSON.stringify(simpleObject,null,100));
326 result[result.length - 1].expected = JSON.stringify(simpleObject);
328 return jsonObject.parse(JSON.stringify(complexObject,null,100));
331 return jsonObject.parse(JSON.stringify(complexObject,null,100));
333 result[result.length - 1].expected = JSON.stringify(complexObject);
[all …]
Djs-test-pre.js68 function stringify(v) function
109 testFailed(_a + " should be " + _bv + ". Was " + stringify(_av) + ".");
155 shouldBe(actual, stringify(expected));
Dstandalone-pre.js58 function stringify(v) function
83 testFailed(_a + " should be " + _bv + ". Was " + stringify(_av) + ".");
Djson2-es5-compat.js351 if (typeof JSON.stringify !== 'function') {
352 JSON.stringify = function (value, replacer, space) { function
/external/v8/test/mjsunit/
Djson.js235 assertEquals("true", JSON.stringify(true));
236 assertEquals("false", JSON.stringify(false));
237 assertEquals("null", JSON.stringify(null));
238 assertEquals("false", JSON.stringify({toJSON: function () { return false; }}));
239 assertEquals("4", JSON.stringify(4));
240 assertEquals('"foo"', JSON.stringify("foo"));
241 assertEquals("null", JSON.stringify(Infinity));
242 assertEquals("null", JSON.stringify(-Infinity));
243 assertEquals("null", JSON.stringify(NaN));
244 assertEquals("4", JSON.stringify(new Number(4)));
[all …]
Dmirror-error.js47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
Dmirror-function.js47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
Dmirror-unresolved-function.js45 var json = JSON.stringify(serializer.serializeValue(mirror));
47 JSON.stringify(serializer.serializeReferencedObjects()));
Dmirror-regexp.js58 var json = JSON.stringify(serializer.serializeValue(mirror));
60 JSON.stringify(serializer.serializeReferencedObjects()));
Dmirror-array.js47 var json = JSON.stringify(serializer.serializeValue(mirror));
49 JSON.stringify(serializer.serializeReferencedObjects()));
Dmirror-null.js34 var json = JSON.stringify(serializer.serializeValue(mirror));
Dmirror-undefined.js34 var json = JSON.stringify(serializer.serializeValue(mirror));
Dmirror-boolean.js35 var json = JSON.stringify(serializer.serializeValue(mirror));
Ddebug-stepout-to-builtin.js75 JSON.stringify(obj, replacer);
Ddebug-evaluate-bool-constructor.js50 request = JSON.stringify(request);
Dmirror-number.js35 var json = JSON.stringify(serializer.serializeValue(mirror));
/external/quake/quake/src/QW/client/
Dgl_vidlinux.c41 #define stringify(m) { #m, m } macro
55 stringify(MOUSE_MICROSOFT),
56 stringify(MOUSE_MOUSESYSTEMS),
57 stringify(MOUSE_MMSERIES),
58 stringify(MOUSE_LOGITECH),
59 stringify(MOUSE_BUSMOUSE),
60 stringify(MOUSE_PS2),
Dgl_vidlinux_svga.c41 #define stringify(m) { #m, m } macro
55 stringify(MOUSE_MICROSOFT),
56 stringify(MOUSE_MOUSESYSTEMS),
57 stringify(MOUSE_MMSERIES),
58 stringify(MOUSE_LOGITECH),
59 stringify(MOUSE_BUSMOUSE),
60 stringify(MOUSE_PS2),
Dvid_svgalib.c37 #define stringify(m) { #m, m } macro
55 stringify(MOUSE_MICROSOFT),
56 stringify(MOUSE_MOUSESYSTEMS),
57 stringify(MOUSE_MMSERIES),
58 stringify(MOUSE_LOGITECH),
59 stringify(MOUSE_BUSMOUSE),
60 stringify(MOUSE_PS2),
/external/quake/quake/src/WinQuake/
Dgl_vidlinux.cpp42 #define stringify(m) { #m, m } macro
56 stringify(MOUSE_MICROSOFT),
57 stringify(MOUSE_MOUSESYSTEMS),
58 stringify(MOUSE_MMSERIES),
59 stringify(MOUSE_LOGITECH),
60 stringify(MOUSE_BUSMOUSE),
61 stringify(MOUSE_PS2),
Dvid_svgalib.cpp37 #define stringify(m) { #m, m } macro
55 stringify(MOUSE_MICROSOFT),
56 stringify(MOUSE_MOUSESYSTEMS),
57 stringify(MOUSE_MMSERIES),
58 stringify(MOUSE_LOGITECH),
59 stringify(MOUSE_BUSMOUSE),
60 stringify(MOUSE_PS2),
/external/webkit/WebKit/chromium/src/js/
DInjectDispatch.js68 DevToolsAgentHost.dispatchToApu(JSON.stringify(args));
104 var call = JSON.stringify(args);
/external/webkit/SunSpider/hosted/
Djson2.js355 if (typeof JSON.stringify !== 'function') {
356 JSON.stringify = function (value, replacer, space) { function
/external/webkit/WebCore/inspector/front-end/
DTestController.js45 var message = typeof result === "undefined" ? "\"<undefined>\"" : JSON.stringify(result);

12