Lines Matching defs:status

35     UErrorCode status = U_ZERO_ERROR;
36 mUtf8Conv = ucnv_open("UTF-8", &status);
37 if (U_FAILURE(status)) {
85 UErrorCode status = U_ZERO_ERROR;
86 UCharsetDetector *csd = ucsdet_open(&status);
118 ucsdet_setText(csd, buf, strlen(buf), &status);
120 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
147 ucsdet_setText(csd, buf, strlen(buf), &status);
148 ucma = ucsdet_detectAll(csd, &matches, &status);
161 combinedenc = ucsdet_getName(bestCombinedMatch, &status);
189 ucsdet_setText(csd, s, inputLength, &status);
190 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
194 enc = ucsdet_getName(bestSingleMatch, &status);
206 ucsdet_setText(csd, s, inputLength, &status);
207 ucm = ucsdet_detect(csd, &status);
212 enc = ucsdet_getName(ucm, &status);
214 enc, mNames.getEntry(i), ucsdet_getConfidence(ucm, &status));
221 status = U_ZERO_ERROR;
222 UConverter *conv = ucnv_open(enc, &status);
223 if (U_FAILURE(status)) {
225 enc, status);
226 status = U_ZERO_ERROR;
227 conv = ucnv_open("ISO-8859-1", &status);
228 if (U_FAILURE(status)) {
245 NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
247 if (U_FAILURE(status)) {
248 ALOGE("ucnv_convertEx failed: %d", status);
303 UErrorCode status = U_ZERO_ERROR;
307 const char *encname = ucsdet_getName(ucma[i], &status);
308 int confidence = ucsdet_getConfidence(ucma[i], &status);
318 int confidence = ucsdet_getConfidence(matches[0], &status);
333 status = U_ZERO_ERROR;
334 const char *encname = ucsdet_getName(matches[i], &status);
335 int confidence = ucsdet_getConfidence(matches[i], &status);
354 status = U_ZERO_ERROR;
355 UConverter *conv = ucnv_open(encname, &status);
357 if (U_FAILURE(status)) {
358 ALOGV("failed to open %s: %d", encname, status);
364 status = U_ZERO_ERROR;
374 UChar32 c = ucnv_getNextUChar(conv, &source, sourceLimit, &status);
375 if (!U_SUCCESS(status)) {
442 status = U_ZERO_ERROR;
444 ucsdet_getName(matches[highestidx], &status), highest);
452 ucsdet_getName(matches[runnerupidx], &status), runnerup);