Lines Matching refs:String8
32 const String8 kIdTag("id");
33 const String8 kNameTag("name");
34 const String8 kLowerCaseOgranizationNameTag("lowercase_organization_name");
35 const String8 kEncryptionKeyTag("encryption_key");
36 const String8 kCasTypeTag("cas_type");
37 const String8 kBase64Padding("=");
53 const String8& jsonAssetString, Asset *asset) { in extractAssetFromString()
72 sp<ABuffer> JsonAssetLoader::decodeBase64String(const String8& encodedText) { in decodeBase64String()
76 String8 paddedText(encodedText); in decodeBase64String()
86 bool JsonAssetLoader::findKey(const String8& jsonObject, Asset *asset) { in findKey()
88 String8 value; in findKey()
122 void JsonAssetLoader::findValue(const String8 &key, String8* value) { in findValue()
125 for (Vector<String8>::const_iterator nextToken = mTokens.begin(); in findValue()
143 bool JsonAssetLoader::parseJsonObject(const String8& jsonObject, in parseJsonObject()
144 Vector<String8>* tokens) { in parseJsonObject()
168 String8 token; in parseJsonObject()
175 token = String8(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start); in parseJsonObject()
188 bool JsonAssetLoader::parseJsonAssetString(const String8& jsonAsset, in parseJsonAssetString()
189 Vector<String8>* jsonObjects) { in parseJsonAssetString()
219 String8 token; in parseJsonAssetString()
224 token = String8(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start); in parseJsonAssetString()