Lines Matching refs:icu_err
192 UErrorCode icu_err;
201 icu_err = U_ZERO_ERROR;
202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
203 if (U_FAILURE (icu_err))
226 UErrorCode icu_err = U_ZERO_ERROR;
228 ARRAY_LENGTH (decomposed), &icu_err);
229 if (U_FAILURE (icu_err) || len < 0) return false;
251 UErrorCode icu_err;
262 icu_err = U_ZERO_ERROR;
263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
264 if (U_FAILURE (icu_err))
282 icu_err = U_ZERO_ERROR;
283 unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
284 if (U_FAILURE (icu_err))
298 icu_err = U_ZERO_ERROR;
299 len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err);
300 if (U_FAILURE (icu_err))
322 UErrorCode icu_err;
332 icu_err = U_ZERO_ERROR;
333 len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err);
334 if (icu_err)
338 icu_err = U_ZERO_ERROR;
339 u_strToUTF32 ((UChar32*) decomposed, HB_UNICODE_MAX_DECOMPOSITION_LEN, &utf32_len, normalized, len, &icu_err);
340 if (icu_err)
364 UErrorCode icu_err = U_ZERO_ERROR;
366 hb_atomic_ptr_cmpexch (&normalizer, NULL, unorm2_getNFCInstance (&icu_err));