Lines Matching refs:resultArray
151 : textIn(new InputText(status)), resultArray(nullptr), in CharsetDetector()
165 resultArray = (CharsetMatch **)uprv_malloc(sizeof(CharsetMatch *)*fCSRecognizers_size); in CharsetDetector()
167 if (resultArray == nullptr) { in CharsetDetector()
173 resultArray[i] = new CharsetMatch(); in CharsetDetector()
175 if (resultArray[i] == nullptr) { in CharsetDetector()
187 delete resultArray[i]; in ~CharsetDetector()
190 uprv_free(resultArray); in ~CharsetDetector()
237 return resultArray[0]; in detect()
260 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
266 …uprv_sortArray(resultArray, resultCount, sizeof resultArray[0], charsetMatchComparator, nullptr, t… in detectAll()
278 return resultArray; in detectAll()