Lines Matching refs:key
126 JSONValue key; in Parse() local
127 ssize_t n = Parse(&data[offset], size - offset, &key); in Parse()
133 if (key.type() != TYPE_STRING) { in Parse()
157 CHECK(key.getString(&keyVal)); in Parse()
667 bool JSONObject::getValue(const char *key, JSONValue *value) const { in getValue() argument
668 ssize_t index = mValues.indexOfKey(key); in getValue()
678 void JSONObject::setValue(const char *key, const JSONValue &value) { in setValue() argument
679 mValues.add(AString(key), value); in setValue()
687 AString key = mValues.keyAt(i); in internalToString() local
689 EscapeString(key.c_str(), key.size(), &escapedKey); in internalToString()
720 bool JSONArray::getValue(size_t key, JSONValue *value) const { in getValue() argument
721 if (key >= mValues.size()) { in getValue()
725 *value = mValues.itemAt(key); in getValue()