Lines Matching refs:tokens
36 static int parseLine(char *input, char *tokens[], const uint32_t maxToken, uint32_t *count) { in parseLine() argument
46 tokens[index++] = tmpToken; in parseLine()
116 char *tokens[maxCount] = { NULL }; in querySDEInfoFB() local
141 if (parseLine(line, tokens, maxCount, &tokenCount)) { in querySDEInfoFB()
145 if (strncmp(tokens[0], "features", strlen("features"))) { in querySDEInfoFB()
150 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
244 char *tokens[maxCount] = { NULL }; in getDPTestConfig() local
265 if (!parseLine(line, tokens, maxCount, &tokenCount)) { in getDPTestConfig()
266 if (!strncmp(tokens[0], "bpp", strlen("bpp"))) { in getDPTestConfig()
267 *panelBpp = static_cast<uint32_t>(atoi(tokens[1])); in getDPTestConfig()
268 } else if (!strncmp(tokens[0], "pattern", strlen("pattern"))) { in getDPTestConfig()
269 *patternType = static_cast<uint32_t>(atoi(tokens[1])); in getDPTestConfig()