Lines Matching refs:resultArray
149 : textIn(new InputText(status)), resultArray(NULL), in CharsetDetector()
163 resultArray = (CharsetMatch **)uprv_malloc(sizeof(CharsetMatch *)*fCSRecognizers_size); in CharsetDetector()
165 if (resultArray == NULL) { in CharsetDetector()
171 resultArray[i] = new CharsetMatch(); in CharsetDetector()
173 if (resultArray[i] == NULL) { in CharsetDetector()
185 delete resultArray[i]; in ~CharsetDetector()
188 uprv_free(resultArray); in ~CharsetDetector()
235 return resultArray[0]; in detect()
258 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
264 …uprv_sortArray(resultArray, resultCount, sizeof resultArray[0], charsetMatchComparator, NULL, TRUE… in detectAll()
271 return resultArray; in detectAll()