Home
last modified time | relevance | path

Searched refs:JSONBasicValue (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
DJSONValues.h101 class PLATFORM_EXPORT JSONBasicValue : public JSONValue {
104 static PassRefPtr<JSONBasicValue> create(bool value) in create()
106 return adoptRef(new JSONBasicValue(value)); in create()
109 static PassRefPtr<JSONBasicValue> create(int value) in create()
111 return adoptRef(new JSONBasicValue(value)); in create()
114 static PassRefPtr<JSONBasicValue> create(double value) in create()
116 return adoptRef(new JSONBasicValue(value)); in create()
129 explicit JSONBasicValue(bool value) : JSONValue(TypeBoolean), m_boolValue(value) { } in JSONBasicValue() function
130 explicit JSONBasicValue(int value) : JSONValue(TypeNumber), m_doubleValue((double)value) { } in JSONBasicValue() function
131 explicit JSONBasicValue(double value) : JSONValue(TypeNumber), m_doubleValue(value) { } in JSONBasicValue() function
DJSONValues.cpp185 bool JSONBasicValue::asBoolean(bool* output) const in asBoolean()
193 bool JSONBasicValue::asNumber(double* output) const in asNumber()
201 bool JSONBasicValue::asNumber(long* output) const in asNumber()
209 bool JSONBasicValue::asNumber(int* output) const in asNumber()
217 bool JSONBasicValue::asNumber(unsigned long* output) const in asNumber()
225 bool JSONBasicValue::asNumber(unsigned* output) const in asNumber()
233 void JSONBasicValue::writeJSON(StringBuilder* output) const in writeJSON()
280 setValue(name, JSONBasicValue::create(value)); in setBoolean()
285 setValue(name, JSONBasicValue::create(value)); in setNumber()
487 m_data.append(JSONBasicValue::create(value)); in pushBoolean()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorState.h68 …void setBoolean(const String& propertyName, bool value) { setValue(propertyName, JSONBasicValue::c… in setBoolean()
70 …void setLong(const String& propertyName, long value) { setValue(propertyName, JSONBasicValue::crea… in setLong()
71 …e(const String& propertyName, double value) { setValue(propertyName, JSONBasicValue::create(value)… in setDouble()
DJSONParser.cpp357 result = JSONBasicValue::create(true); in buildValue()
360 result = JSONBasicValue::create(false); in buildValue()
367 result = JSONBasicValue::create(value); in buildValue()
DInspectorOverlay.cpp529 m_path->addItem(JSONBasicValue::create(point.x())); in appendPathCommandAndPoints()
530 m_path->addItem(JSONBasicValue::create(point.y())); in appendPathCommandAndPoints()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DInspectorDatabaseAgent.cpp100 … case SQLValue::NumberValue: values->addItem(JSONBasicValue::create(value.number())); break; in handleEvent()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8Binding.cpp898 return JSONBasicValue::create(value->BooleanValue()); in v8ToJSONValue()
900 return JSONBasicValue::create(value->NumberValue()); in v8ToJSONValue()