Lines Matching refs:value
54 bool getInt32(int32_t *value) const;
55 bool getFloat(float *value) const;
56 bool getString(AString *value) const;
57 bool getBoolean(bool *value) const;
58 bool getObject(sp<JSONObject> *value) const;
59 bool getArray(sp<JSONArray> *value) const;
61 void setInt32(int32_t value);
62 void setFloat(float value);
63 void setString(const AString &value);
64 void setBoolean(bool value);
108 JSONValue value; \
109 if (!getValue(key, &value)) { \
115 *type = value.type(); in getFieldType()
121 return value.getInt32(out); in getInt32()
126 return value.getFloat(out); in getFloat()
131 return value.getString(out); in getString()
136 return value.getBoolean(out); in getBoolean()
141 return value.getObject(obj); in getObject()
146 return value.getArray(obj); in getArray()
154 virtual bool getValue(KEY key, JSONValue *value) const = 0;
164 void setValue(const char *key, const JSONValue &value);
205 virtual bool getValue(const char *key, JSONValue *value) const;
219 void addValue(const JSONValue &value);
260 virtual bool getValue(size_t key, JSONValue *value) const;