Home
last modified time | relevance | path

Searched refs:numTokens (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/mediacas/plugins/clearkey/
DJsonAssetLoader.cpp148 int numTokens = jsmn_parse(&parser, in parseJsonObject() local
150 if (numTokens < 0) { in parseJsonObject()
151 ALOGE("Parser returns error code=%d", numTokens); in parseJsonObject()
155 unsigned int jsmnTokensSize = numTokens * sizeof(jsmntok_t); in parseJsonObject()
161 jsonObject.size(), mJsmnTokens.editArray(), numTokens); in parseJsonObject()
170 ALOGV("numTokens: %d", numTokens); in parseJsonObject()
171 for (int j = 0; j < numTokens; ++j) { in parseJsonObject()
201 int numTokens = jsmn_parse(&parser, in parseJsonAssetString() local
203 if (numTokens < 0) { in parseJsonAssetString()
204 ALOGE("Parser returns error code=%d", numTokens); in parseJsonAssetString()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DJsonWebKey.cpp188 int numTokens = jsmn_parse(&parser, in parseJsonObject() local
190 if (numTokens < 0) { in parseJsonObject()
191 ALOGE("Parser returns error code=%d", numTokens); in parseJsonObject()
195 unsigned int jsmnTokensSize = numTokens * sizeof(jsmntok_t); in parseJsonObject()
201 jsonObject.size(), mJsmnTokens.editArray(), numTokens); in parseJsonObject()
210 for (int j = 0; j < numTokens; ++j) { in parseJsonObject()
239 int numTokens = jsmn_parse(&parser, in parseJsonWebKeySet() local
241 if (numTokens < 0) { in parseJsonWebKeySet()
242 ALOGE("Parser returns error code=%d", numTokens); in parseJsonWebKeySet()
246 unsigned int jsmnTokensSize = numTokens * sizeof(jsmntok_t); in parseJsonWebKeySet()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DJsonWebKey.cpp178 int numTokens = jsmn_parse(&parser, jsonObject.c_str(), jsonObject.size(), nullptr, 0); in parseJsonObject() local
179 if (numTokens < 0) { in parseJsonObject()
180 ALOGE("Parser returns error code=%d", numTokens); in parseJsonObject()
184 unsigned int jsmnTokensSize = numTokens * sizeof(jsmntok_t); in parseJsonObject()
190 numTokens); in parseJsonObject()
199 for (int j = 0; j < numTokens; ++j) { in parseJsonObject()
227 int numTokens = jsmn_parse(&parser, jsonWebKeySet.c_str(), jsonWebKeySet.size(), nullptr, 0); in parseJsonWebKeySet() local
228 if (numTokens < 0) { in parseJsonWebKeySet()
229 ALOGE("Parser returns error code=%d", numTokens); in parseJsonWebKeySet()
233 unsigned int jsmnTokensSize = numTokens * sizeof(jsmntok_t); in parseJsonWebKeySet()
[all …]
/frameworks/base/core/java/android/content/
DUriMatcher.java178 int numTokens = tokens != null ? tokens.length : 0; in addURI() local
180 for (int i = -1; i < numTokens; i++) { in addURI()