/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonDeserializable.java | 23 public JSONObject fromJSON() throws JSONException;
|
/external/jetty/src/java/org/eclipse/jetty/util/ajax/ |
JSONDateConvertor.java | 36 * If fromJSON is true in the constructor, the JSON generated will 38 * If fromJSON is false, then only the string value of the date is generated. 53 public JSONDateConvertor(boolean fromJSON) 55 this(DateCache.DEFAULT_FORMAT,TimeZone.getTimeZone("GMT"),fromJSON); 58 public JSONDateConvertor(String format,TimeZone zone,boolean fromJSON) 62 _fromJSON=fromJSON; 67 public JSONDateConvertor(String format, TimeZone zone, boolean fromJSON, Locale locale) 71 _fromJSON = fromJSON; 76 public Object fromJSON(Map map)
|
JSONObjectConvertor.java | 48 public JSONObjectConvertor(boolean fromJSON) 50 _fromJSON=fromJSON; 55 * @param fromJSON 58 public JSONObjectConvertor(boolean fromJSON,String[] excluded) 60 _fromJSON=fromJSON; 65 public Object fromJSON(Map map)
|
JSONPojoConvertorFactory.java | 45 * @param fromJSON If true, the class name of the objects is included 49 public JSONPojoConvertorFactory(JSON json,boolean fromJSON) 56 _fromJson=fromJSON; 83 public Object fromJSON(Map object) 105 return convertor.fromJSON(object);
|
JSONEnumConvertor.java | 32 * If fromJSON is true in the constructor, the JSON generated will 34 * If fromJSON is false, then only the string value of the enum is generated. 60 public JSONEnumConvertor(boolean fromJSON) 62 _fromJSON=fromJSON; 65 public Object fromJSON(Map map)
|
JSONCollectionConvertor.java | 35 public Object fromJSON(Map object)
|
JSONPojoConvertor.java | 39 * - returns the actual object from Convertor.fromJSON (JSONObjectConverter returns a Map) 90 * @param fromJSON If true, add a class field to the JSON 92 public JSONPojoConvertor(Class<?> pojoClass, Set<String> excluded, boolean fromJSON) 96 _fromJSON = fromJSON; 102 * @param fromJSON If true, add a class field to the JSON 104 public JSONPojoConvertor(Class<?> pojoClass, boolean fromJSON) 106 this(pojoClass, (Set<String>)null, fromJSON); 179 public Object fromJSON(Map object)
|
/external/skia/tools/debugger/ |
SkDrawCommand.h | 111 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 128 static SkRestoreCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 139 static SkClearCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 153 static SkClipPathCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 168 static SkClipRegionCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 182 static SkClipRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 202 static SkClipRRectCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 221 static SkConcatCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 236 static SkDrawBitmapCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 255 static SkDrawBitmapNineCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager) [all...] |
SkDrawCommand.cpp | 262 (FROM_JSON) Sk ## name ## Command::fromJSON) 263 SkDrawCommand* SkDrawCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { [all...] |
/external/v8/test/mjsunit/ |
mirror-unresolved-function.js | 69 var fromJSON = eval('(' + json + ')'); 70 assertEquals('function', fromJSON.type, 'Unexpected mirror type in JSON'); 71 assertEquals('Function', fromJSON.className, 'Unexpected mirror class name in JSON'); 72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 73 assertEquals('undefined', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON'); 74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON'); 75 assertEquals('undefined', refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON'); 76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON'); 77 assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON'); 78 assertFalse(fromJSON.resolved) [all...] |
mirror-function.js | 73 var fromJSON = eval('(' + json + ')'); 74 assertEquals('function', fromJSON.type); 75 assertEquals('Function', fromJSON.className); 76 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type); 77 assertEquals('Function', refs.lookup(fromJSON.constructorFunction.ref).name); 78 assertTrue(fromJSON.resolved); 79 assertEquals(f.name, fromJSON.name); 80 assertEquals(f.toString(), fromJSON.source); 83 assertEquals(f.toString(), fromJSON.text);
|
mirror-array.js | 76 var fromJSON = eval('(' + json + ')'); 77 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON'); 78 assertEquals('Array', fromJSON.className, 'Unexpected mirror class name in JSON'); 79 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 80 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON'); 81 assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON'); 82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON'); 83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON'); 87 for (var i = 0; i < fromJSON.properties.length; i++) { 88 if (fromJSON.properties[i].name == 'length') [all...] |
mirror-number.js | 51 var fromJSON = eval('(' + json + ')'); 52 assertEquals('number', fromJSON.type); 54 assertEquals(n, fromJSON.value); 57 assertTrue(typeof fromJSON.value == 'string'); 59 assertEquals('Infinity', fromJSON.value); 61 assertEquals('-Infinity', fromJSON.value); 63 assertEquals('NaN', fromJSON.value);
|
mirror-regexp.js | 84 var fromJSON = eval('(' + json + ')'); 85 assertEquals('regexp', fromJSON.type); 86 assertEquals('RegExp', fromJSON.className); 87 assertEquals('lastIndex', fromJSON.properties[0].name); 88 assertEquals(dont_enum | dont_delete, fromJSON.properties[0].attributes); 90 fromJSON.properties[0].propertyType); 92 refs.lookup(fromJSON.properties[0].ref).value);
|
mirror-error.js | 64 var fromJSON = eval('(' + json + ')'); 65 assertEquals('error', fromJSON.type); 66 assertEquals('Error', fromJSON.className); 69 for (var i in fromJSON.properties) { 70 var p = fromJSON.properties[i]; 81 assertEquals(fromJSON.text, e.toString(), 'toString');
|
mirror-string.js | 58 var fromJSON = eval('(' + json + ')'); 59 assertEquals('string', fromJSON.type); 61 assertEquals(s, fromJSON.value); 64 fromJSON.value.substring(0, kMaxProtocolStringLength)); 65 assertEquals(fromJSON.fromIndex, 0); 66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
|
mirror-script.js | 67 var fromJSON = JSON.parse(json); 68 assertEquals('script', fromJSON.type); 69 name = fromJSON.name; 75 assertEquals(0, fromJSON.lineOffset); 76 assertEquals(0, fromJSON.columnOffset); 78 assertEquals(file_lines, fromJSON.lineCount); 80 assertEquals(type, fromJSON.scriptType); 81 assertEquals(compilation_type, fromJSON.compilationType);
|
mirror-object.js | 99 var fromJSON = eval('(' + json + ')'); 100 assertEquals('object', fromJSON.type, 'Unexpected mirror type in JSON'); 101 assertEquals(cls_name, fromJSON.className, 'Unexpected mirror class name in JSON'); 102 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 103 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON'); 104 assertEquals(ctor_name, refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON'); 105 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON'); 106 assertEquals(mirror.protoObject().type(), refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON'); 107 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON'); 108 assertEquals(mirror.prototypeObject().type(), refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON') [all...] |
mirror-boolean.js | 51 var fromJSON = eval('(' + json + ')'); 52 assertEquals('boolean', fromJSON.type, json); 53 assertEquals(b, fromJSON.value, json);
|
mirror-date.js | 52 var fromJSON = eval('(' + json + ')'); 53 assertEquals('object', fromJSON.type); 54 assertEquals('Date', fromJSON.className); 55 assertEquals(iso8601, fromJSON.value);
|
mirror-null.js | 49 var fromJSON = eval('(' + json + ')'); 50 assertEquals('null', fromJSON.type);
|
mirror-undefined.js | 49 var fromJSON = eval('(' + json + ')'); 50 assertEquals('undefined', fromJSON.type);
|
/external/v8/test/mjsunit/es6/ |
mirror-symbols.js | 29 var fromJSON = eval('(' + json + ')'); 30 assertEquals('symbol', fromJSON.type); 31 assertEquals(description, fromJSON.description);
|
mirror-promises.js | 46 var fromJSON = eval('(' + json + ')'); 47 assertEquals('promise', fromJSON.type); 48 assertEquals('Object', fromJSON.className); 49 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type); 50 assertEquals('Promise', refs.lookup(fromJSON.constructorFunction.ref).name); 51 assertEquals(status, fromJSON.status); 52 assertEquals(value, refs.lookup(fromJSON.promiseValue.ref).value);
|
mirror-collections.js | 21 var fromJSON = eval('(' + json + ')'); 22 assertEquals('map', fromJSON.type); 39 var fromJSON = eval('(' + json + ')'); 40 assertEquals('set', fromJSON.type);
|