Home
last modified time | relevance | path

Searched refs:new_str (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/intl/tests/
H A Dtransliterator_create_inverse_basic.phpt12 $new_str = $tr->transliterate($orstr);
15 $recovstr = $revtr->transliterate($new_str);
18 $recovstr2 = $revtr2->transliterate($new_str);
21 echo $new_str,"\n";
/php-src/ext/standard/
H A Dstring.c3377 new_str = zend_string_truncate(new_str, e - s, 0);
3829 new_str = zend_string_truncate(new_str, newlen, 0);
3831 return new_str;
4021 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
4022 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
4024 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
4027 return new_str;
4161 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
4162 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
4164 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
[all …]
H A Dquot_print.c259 zend_string *new_str; in PHP_FUNCTION() local
269 new_str = php_quot_print_encode((unsigned char *)ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
270 RETURN_STR(new_str); in PHP_FUNCTION()
H A Dinfo.c57 zend_string *new_str; in php_info_print_html_esc() local
59 new_str = php_escape_html_entities((const unsigned char *) str, len, 0, ENT_QUOTES, "utf-8"); in php_info_print_html_esc()
60 written = php_output_write(ZSTR_VAL(new_str), ZSTR_LEN(new_str)); in php_info_print_html_esc()
61 zend_string_free(new_str); in php_info_print_html_esc()
/php-src/sapi/cli/
H A Dps_title.h28 extern int set_ps_title(const char* new_str);
/php-src/sapi/phpdbg/
H A Dphpdbg_bp.c133 char *new_str = NULL; in phpdbg_export_breakpoints_to_string() local
138 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
146 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
152 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
159 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
167 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
175 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
183 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
212 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
217 phpdbg_asprintf(&new_str, in phpdbg_export_breakpoints_to_string()
[all …]
/php-src/ext/opcache/
H A Dzend_persist.c52 zend_string *new_str = zend_shared_alloc_get_xlat_entry(str); \
53 if (new_str) { \
55 str = new_str; \
57 new_str = zend_shared_memdup_put((void*)str, _ZSTR_STRUCT_SIZE(ZSTR_LEN(str))); \
59 str = new_str; \
65 zend_string *new_str = zend_shared_alloc_get_xlat_entry(str); \
66 if (new_str) { \
67 str = new_str; \
69 new_str = zend_shared_memdup_put((void*)str, _ZSTR_STRUCT_SIZE(ZSTR_LEN(str))); \
70 str = new_str; \
H A Dzend_file_cache.c271 zend_string *new_str = (zend_string *) (ZSTR_VAL(s) + info->str_size); local
272 memcpy(new_str, str, len);
273 GC_ADD_FLAGS(new_str, IS_STR_INTERNED);
274 GC_DEL_FLAGS(new_str, IS_STR_PERMANENT|IS_STR_CLASS_NAME_MAP_PTR);
/php-src/Zend/Optimizer/
H A Dsccp.c563 zend_string *new_str, *value_str; in ct_eval_assign_dim()
570 new_str = zend_string_alloc(index + 1, 0); in ct_eval_assign_dim()
571 memcpy(ZSTR_VAL(new_str), Z_STRVAL_P(result), Z_STRLEN_P(result)); in ct_eval_assign_dim()
572 memset(ZSTR_VAL(new_str) + Z_STRLEN_P(result), ' ', index - Z_STRLEN_P(result)); in ct_eval_assign_dim()
573 ZSTR_VAL(new_str)[index + 1] = 0; in ct_eval_assign_dim()
575 new_str = zend_string_init(Z_STRVAL_P(result), Z_STRLEN_P(result), 0); in ct_eval_assign_dim()
579 ZVAL_STR(result, new_str); in ct_eval_assign_dim()
/php-src/Zend/
H A Dzend_language_scanner.l2557 zend_string *new_str;
2561 new_str = zend_string_init(str, sz, 0);
2566 ZVAL_STR(zendlval, new_str);

Completed in 67 milliseconds