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);
116 ucsdet_setText(csd, buf, strlen(buf), &status);
118 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);
190 ucsdet_setText(csd, s, inputLength, &status);
191 ucm = ucsdet_detect(csd, &status);
196 enc = ucsdet_getName(ucm, &status);
198 enc, mNames.getEntry(i), ucsdet_getConfidence(ucm, &status));
205 status = U_ZERO_ERROR;
206 UConverter *conv = ucnv_open(enc, &status);
207 if (U_FAILURE(status)) {
209 enc, status);
210 status = U_ZERO_ERROR;
211 conv = ucnv_open("ISO-8859-1", &status);
212 if (U_FAILURE(status)) {
229 NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
231 if (U_FAILURE(status)) {
232 ALOGE("ucnv_convertEx failed: %d", status);
287 UErrorCode status = U_ZERO_ERROR;
291 const char *encname = ucsdet_getName(ucma[i], &status);
292 int confidence = ucsdet_getConfidence(ucma[i], &status);
302 int confidence = ucsdet_getConfidence(matches[0], &status);
317 status = U_ZERO_ERROR;
318 const char *encname = ucsdet_getName(matches[i], &status);
319 int confidence = ucsdet_getConfidence(matches[i], &status);
338 status = U_ZERO_ERROR;
339 UConverter *conv = ucnv_open(encname, &status);
341 if (U_FAILURE(status)) {
342 ALOGV("failed to open %s: %d", encname, status);
348 status = U_ZERO_ERROR;
358 UChar32 c = ucnv_getNextUChar(conv, &source, sourceLimit, &status);
359 if (!U_SUCCESS(status)) {
426 status = U_ZERO_ERROR;
428 ucsdet_getName(matches[highestidx], &status), highest);
436 ucsdet_getName(matches[runnerupidx], &status), runnerup);