Lines Matching refs:status
51 UErrorCode* status ) in intl_convert_utf8_to_utf16() argument
60 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16()
64 *status = U_BUFFER_OVERFLOW_ERROR; in intl_convert_utf8_to_utf16()
68 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16()
70 if( *status == U_ZERO_ERROR ) in intl_convert_utf8_to_utf16()
82 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf8_to_utf16()
89 *status = U_ZERO_ERROR; in intl_convert_utf8_to_utf16()
90 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); in intl_convert_utf8_to_utf16()
91 if( U_FAILURE( *status ) ) in intl_convert_utf8_to_utf16()
118 UErrorCode* status ) in intl_convert_utf16_to_utf8() argument
124 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8()
125 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8()
131 if( *status != U_BUFFER_OVERFLOW_ERROR && *status != U_STRING_NOT_TERMINATED_WARNING ) in intl_convert_utf16_to_utf8()
138 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8()
139 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
140 if( U_FAILURE( *status ) ) in intl_convert_utf16_to_utf8()
147 *status = U_ZERO_ERROR; in intl_convert_utf16_to_utf8()