Lines Matching refs:status
126 UErrorCode status = U_ZERO_ERROR; in php_intl_idn_to_46() local
132 uts46 = uidna_openUTS46(option, &status); in php_intl_idn_to_46()
133 if (php_intl_idn_check_status(status, "failed to open UIDNA instance") == FAILURE) { in php_intl_idn_to_46()
141 ZSTR_VAL(buffer), buffer_capac, &info, &status); in php_intl_idn_to_46()
142 …if (len >= buffer_capac || php_intl_idn_check_status(status, "failed to convert name") == FAILURE)… in php_intl_idn_to_46()
151 ZSTR_VAL(buffer), buffer_capac, &info, &status); in php_intl_idn_to_46()
152 …if (len >= buffer_capac || php_intl_idn_check_status(status, "failed to convert name") == FAILURE)… in php_intl_idn_to_46()
184 UErrorCode status; in php_intl_idn_to() local
188 status = U_ZERO_ERROR; in php_intl_idn_to()
189 intl_convert_utf8_to_utf16(&ustring, &ustring_len, ZSTR_VAL(domain), ZSTR_LEN(domain), &status); in php_intl_idn_to()
191 if (U_FAILURE(status)) { in php_intl_idn_to()
192 intl_error_set_code(NULL, status); in php_intl_idn_to()
205 status = U_ZERO_ERROR; in php_intl_idn_to()
214 …na_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status); in php_intl_idn_to()
216 …_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status); in php_intl_idn_to()
225 if (U_FAILURE(status)) { in php_intl_idn_to()
226 intl_error_set( NULL, status, "idn_to_ascii: cannot convert to ASCII", 0 ); in php_intl_idn_to()
230 status = U_ZERO_ERROR; in php_intl_idn_to()
231 u8str = intl_convert_utf16_to_utf8(converted, converted_ret_len, &status); in php_intl_idn_to()
235 intl_error_set_code(NULL, status); in php_intl_idn_to()