Home
last modified time | relevance | path

Searched refs:ustr (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/intl/collator/
H A Dcollator_convert.c179 UChar *ustr = NULL; in collator_convert_zstr_utf8_to_utf16() local
185 &ustr, &ustr_len, in collator_convert_zstr_utf8_to_utf16()
194 zend_string *zstr = zend_string_init((char *) ustr, UBYTES(ustr_len), 0); in collator_convert_zstr_utf8_to_utf16()
195 efree((char *)ustr); in collator_convert_zstr_utf8_to_utf16()
206 UChar* ustr = NULL; in collator_convert_object_to_string() local
233 &ustr, &ustr_len, in collator_convert_object_to_string()
244 ZVAL_STRINGL( zstr, (char*)ustr, UBYTES(ustr_len)); in collator_convert_object_to_string()
246 efree((char *)ustr); in collator_convert_object_to_string()
H A Dcollator_sort.c503 UChar* ustr = NULL; in PHP_FUNCTION() local
535 &ustr, &ustr_len, str, str_len, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
544 efree( ustr ); in PHP_FUNCTION()
550 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, NULL, 0); in PHP_FUNCTION()
552 efree( ustr ); in PHP_FUNCTION()
556 key_len = ucol_getSortKey(co->ucoll, ustr, ustr_len, (uint8_t*)ZSTR_VAL(key_str), key_len); in PHP_FUNCTION()
557 efree( ustr ); in PHP_FUNCTION()
/php-src/ext/intl/grapheme/
H A Dgrapheme_string.c317 UChar *ustr; in PHP_FUNCTION() local
365 ustr = NULL; in PHP_FUNCTION()
376 if (ustr) { in PHP_FUNCTION()
414 if (ustr) { in PHP_FUNCTION()
415 efree(ustr); in PHP_FUNCTION()
433 if (ustr) { in PHP_FUNCTION()
455 if (ustr) { in PHP_FUNCTION()
456 efree(ustr); in PHP_FUNCTION()
490 efree(ustr); in PHP_FUNCTION()
498 efree(ustr); in PHP_FUNCTION()
[all …]
/php-src/ext/mbstring/tests/
H A Dbug30549.phpt15 $ustr = mb_convert_encoding(pack('C', $fromc), 'UCS-4BE', $enc);
16 foreach (unpack('Nc', $ustr) as $unic);
/php-src/ext/intl/transliterator/
H A Dtransliterator_methods.c268 UChar *ustr = NULL, in PHP_FUNCTION() local
339 intl_convert_utf8_to_utf16(&ustr, &ustr_len, str, str_len, TRANSLITERATOR_ERROR_CODE_P(to)); in PHP_FUNCTION()
366 memcpy( uresult, ustr, ustr_len * sizeof( UChar ) ); in PHP_FUNCTION()
403 if( ustr ) in PHP_FUNCTION()
404 efree( ustr ); in PHP_FUNCTION()
/php-src/ext/intl/timezone/
H A Dtimezone_class.cpp297 UnicodeString ustr; in TimeZone_get_debug_info() local
318 tz->getID(ustr); in TimeZone_get_debug_info()
320 ustr.getBuffer(), ustr.length(), &uec); in TimeZone_get_debug_info()

Completed in 19 milliseconds