Lines Matching refs:dst_len
54 int32_t dst_len = 0; in intl_convert_utf8_to_utf16() local
68 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16()
73 (*target)[dst_len] = 0; in intl_convert_utf8_to_utf16()
74 *target_len = dst_len; in intl_convert_utf8_to_utf16()
86 dst_buf = eumalloc( dst_len + 1 ); 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()
97 dst_buf[dst_len] = 0; in intl_convert_utf8_to_utf16()
103 *target_len = dst_len; in intl_convert_utf8_to_utf16()
121 int32_t dst_len; in intl_convert_utf16_to_utf8() local
125 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8()
135 dst = zend_string_alloc(dst_len, 0); 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()
149 ZSTR_VAL(dst)[dst_len] = 0; in intl_convert_utf16_to_utf8()