Lines Matching refs:err
32 static const UNormalizer2 *intl_get_normalizer(zend_long form, UErrorCode *err) in intl_get_normalizer() argument
37 return unorm2_getNFCInstance(err); in intl_get_normalizer()
40 return unorm2_getNFDInstance(err); in intl_get_normalizer()
43 return unorm2_getNFKCInstance(err); in intl_get_normalizer()
46 return unorm2_getNFKDInstance(err); in intl_get_normalizer()
49 return unorm2_getNFKCCasefoldInstance(err); in intl_get_normalizer()
53 *err = U_ILLEGAL_ARGUMENT_ERROR; in intl_get_normalizer()
57 …ze(zend_long form, const UChar *src, int32_t src_len, UChar *dst, int32_t dst_len, UErrorCode *err) in intl_normalize() argument
59 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_normalize()
60 if (U_FAILURE(*err)) { in intl_normalize()
64 return unorm2_normalize(norm, src, src_len, dst, dst_len, err); in intl_normalize()
67 … UBool intl_is_normalized(zend_long form, const UChar *uinput, int32_t uinput_len, UErrorCode *err) in intl_is_normalized() argument
69 const UNormalizer2 *norm = intl_get_normalizer(form, err); in intl_is_normalized()
71 if(U_FAILURE(*err)) { in intl_is_normalized()
75 return unorm2_isNormalized(norm, uinput, uinput_len, err); in intl_is_normalized()