HomeSort by relevance Sort by last modified time
    Searched refs:JSONBasicValue (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/
JSONValues.h 95 class PLATFORM_EXPORT JSONBasicValue : public JSONValue {
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) { }
124 explicit JSONBasicValue(int value) : JSONValue(TypeNumber), m_doubleValue((double)value) { }
125 explicit JSONBasicValue(double value) : JSONValue(TypeNumber), m_doubleValue(value) {
    [all...]
JSONValues.cpp 160 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/core/inspector/
InspectorState.h 67 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)); }
JSONParser.cpp 357 result = JSONBasicValue::create(true);
360 result = JSONBasicValue::create(false);
367 result = JSONBasicValue::create(value);
InspectorDatabaseAgent.cpp 95 case SQLValue::NumberValue: values->addItem(JSONBasicValue::create(value.number())); break;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptValue.cpp 81 return JSONBasicValue::create(value->BooleanValue());
83 return JSONBasicValue::create(value->NumberValue());

Completed in 587 milliseconds