Searched refs:JSONBasicValue (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorState.h67 void setBoolean(const String& propertyName, bool value) { setValue(propertyName, JSONBasicValue::create(value)); }
69 void setLong(const String& propertyName, long value) { setValue(propertyName, JSONBasicValue::create((double)value)); }
70 void setDouble(const String& propertyName, double value) { setValue(propertyName, JSONBasicValue::create(value)); }
H A DJSONParser.cpp357 result = JSONBasicValue::create(true);
360 result = JSONBasicValue::create(false);
367 result = JSONBasicValue::create(value);
H A DInspectorDatabaseAgent.cpp95 case SQLValue::NumberValue: values->addItem(JSONBasicValue::create(value.number())); break;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DJSONValues.h95 class PLATFORM_EXPORT JSONBasicValue : public JSONValue { class in namespace:WebCore
98 static PassRefPtr<JSONBasicValue> create(bool value)
100 return adoptRef(new JSONBasicValue(value));
103 static PassRefPtr<JSONBasicValue> create(int value)
105 return adoptRef(new JSONBasicValue(value));
108 static PassRefPtr<JSONBasicValue> create(double value)
110 return adoptRef(new JSONBasicValue(value));
123 explicit JSONBasicValue(bool value) : JSONValue(TypeBoolean), m_boolValue(value) { } function in class:WebCore::JSONBasicValue
124 explicit JSONBasicValue(int value) : JSONValue(TypeNumber), m_doubleValue((double)value) { } function in class:WebCore::JSONBasicValue
125 explicit JSONBasicValue(doubl function in class:WebCore::JSONBasicValue
[all...]
H A DJSONValues.cpp160 bool JSONBasicValue::asBoolean(bool* output) const
168 bool JSONBasicValue::asNumber(double* output) const
176 bool JSONBasicValue::asNumber(long* output) const
184 bool JSONBasicValue::asNumber(int* output) const
192 bool JSONBasicValue::asNumber(unsigned long* output) const
200 bool JSONBasicValue::asNumber(unsigned* output) const
208 void JSONBasicValue::writeJSON(StringBuilder* output) const
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DScriptValue.cpp81 return JSONBasicValue::create(value->BooleanValue());
83 return JSONBasicValue::create(value->NumberValue());

Completed in 236 milliseconds