Lines Matching defs:idx
392 int32_t idx = 0;
403 for (idx = 0; idx < ARRAY_SIZE(testStrings); idx++) {
404 ucsdet_setText(csd, testStrings[idx], -1, &status);
408 if (testResults[idx] != NULL) {
409 log_err("Unexpectedly got no results at index %d.\n", idx);
412 log_verbose("Got no result as expected at index %d.\n", idx);
417 if (testResults[idx] == NULL || strcmp(ucsdet_getName(match, &status), testResults[idx]) != 0) {
419 ucsdet_getName(match, &status), testResults[idx], idx, ucsdet_getConfidence(match, &status));