Lines Matching refs:tokens
37 static int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { in parseLine() argument
47 tokens[index++] = tmpToken; in parseLine()
117 char *tokens[maxCount] = { NULL }; in querySDEInfoFB() local
142 if (parseLine(line, tokens, maxCount, &tokenCount)) { in querySDEInfoFB()
146 if (strncmp(tokens[0], "features", strlen("features"))) { in querySDEInfoFB()
151 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
245 char *tokens[maxCount] = { NULL }; in getDPTestConfig() local
266 if (!parseLine(line, tokens, maxCount, &tokenCount)) { in getDPTestConfig()
267 if (tokens[0] != NULL) { in getDPTestConfig()
268 if (!strncmp(tokens[0], "bpp", strlen("bpp"))) { in getDPTestConfig()
269 *panelBpp = static_cast<uint32_t>(atoi(tokens[1])); in getDPTestConfig()
270 } else if (!strncmp(tokens[0], "pattern", strlen("pattern"))) { in getDPTestConfig()
271 *patternType = static_cast<uint32_t>(atoi(tokens[1])); in getDPTestConfig()