Home
last modified time | relevance | path

Searched refs:tmp_str (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/mysqlnd/
H A Dphp_mysqlnd.c118 smart_str tmp_str = {0}; in PHP_MINFO_FUNCTION() local
119 mysqlnd_plugin_apply_with_argument(mysqlnd_minfo_dump_loaded_plugins, &tmp_str); in PHP_MINFO_FUNCTION()
120 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
121 php_info_print_table_row(2, "Loaded plugins", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION()
122 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
124 mysqlnd_minfo_dump_api_plugins(&tmp_str); in PHP_MINFO_FUNCTION()
125 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
126 php_info_print_table_row(2, "API Extensions", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION()
127 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
H A Dmysqlnd_alloc.c333 smart_str tmp_str = {0, 0}; in _mysqlnd_pestrdup() local
345 smart_str_appendc(&tmp_str, *p); in _mysqlnd_pestrdup()
348 ret = pemalloc_rel(REAL_SIZE(ZSTR_LEN(tmp_str.s)), persistent); in _mysqlnd_pestrdup()
349 memcpy(FAKE_PTR(ret), ZSTR_VAL(tmp_str.s), ZSTR_LEN(tmp_str.s)); in _mysqlnd_pestrdup()
352 *(size_t *) ret = ZSTR_LEN(tmp_str.s); in _mysqlnd_pestrdup()
355 smart_str_free(&tmp_str); in _mysqlnd_pestrdup()
H A Dmysqlnd_connection.c1744 smart_str tmp_str = {0, 0}; local
1746 smart_str_0(&tmp_str);
1753 name_esc? name_esc:"", tmp_str.s? ZSTR_VAL(tmp_str.s):"");
1754 smart_str_free(&tmp_str);
1777 smart_str tmp_str = {0, 0}; local
1779 if (tmp_str.s) {
1785 if (tmp_str.s && ZSTR_LEN(tmp_str.s)) {
1790 if (tmp_str.s && ZSTR_LEN(tmp_str.s)) {
1795 smart_str_0(&tmp_str);
1799 …ntf(&query, 0, "START TRANSACTION%s %s", name_esc? name_esc:"", tmp_str.s? ZSTR_VAL(tmp_str.s):"");
[all …]
H A Dmysqlnd_structs.h501 …cor_options_to_string)(const MYSQLND_CONN_DATA * const conn, smart_str * tmp_str, const unsigned i…
/php-src/ext/sockets/
H A Dmulticast.c96 zend_string *tmp_str; in php_get_if_index_from_zval() local
97 zend_string *str = zval_get_tmp_string(val, &tmp_str); in php_get_if_index_from_zval()
99 zend_tmp_string_release(tmp_str); in php_get_if_index_from_zval()
124 zend_string *str, *tmp_str; in php_get_address_from_array() local
130 str = zval_get_tmp_string(val, &tmp_str); in php_get_address_from_array()
132 zend_tmp_string_release(tmp_str); in php_get_address_from_array()
135 zend_tmp_string_release(tmp_str); in php_get_address_from_array()
H A Dconversions.c1092 zend_string *str, *tmp_str; in from_zval_write_iov_array_aux() local
1094 str = zval_get_tmp_string(elem, &tmp_str); in from_zval_write_iov_array_aux()
1100 zend_tmp_string_release(tmp_str); in from_zval_write_iov_array_aux()
1260 zend_string *str, *tmp_str; in from_zval_write_ifindex() local
1262 str = zval_get_tmp_string((zval *) zv, &tmp_str); in from_zval_write_ifindex()
1294 zend_tmp_string_release(tmp_str); in from_zval_write_ifindex()
/php-src/Zend/
H A Dzend_ini_parser.y125 zend_string *tmp_str; in zend_ini_add_string() local
126 zend_string *str = zval_get_tmp_string(op1, &tmp_str); in zend_ini_add_string()
128 zend_tmp_string_release(tmp_str); in zend_ini_add_string()
H A Dzend.c466 zend_string *tmp_str; in zend_print_zval() local
467 zend_string *str = zval_get_tmp_string(expr, &tmp_str); in zend_print_zval()
474 zend_tmp_string_release(tmp_str); in zend_print_zval()
/php-src/ext/standard/
H A Dpack.c474 zend_string *tmp_str; in PHP_FUNCTION() local
475 zend_string *str = zval_get_tmp_string(&argv[currentarg++], &tmp_str); in PHP_FUNCTION()
482 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
490 zend_string *tmp_str; in PHP_FUNCTION() local
491 zend_string *str = zval_get_tmp_string(&argv[currentarg++], &tmp_str); in PHP_FUNCTION()
525 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
H A Dvar.c461 zend_string *tmp_str; in php_array_element_export() local
463 tmp_str = php_str_to_str(ZSTR_VAL(ckey), ZSTR_LEN(ckey), "\0", 1, "' . \"\\0\" . '", 12); in php_array_element_export()
468 smart_str_append(buf, tmp_str); in php_array_element_export()
472 zend_string_free(tmp_str); in php_array_element_export()
1097 char tmp_str[ZEND_DOUBLE_MAX_LENGTH]; in php_var_serialize_intern() local
1098 zend_gcvt(Z_DVAL_P(struc), (int)PG(serialize_precision), '.', 'E', tmp_str); in php_var_serialize_intern()
1100 size_t len = strlen(tmp_str); in php_var_serialize_intern()
1103 memcpy(res, tmp_str, len); in php_var_serialize_intern()
H A Darray.c4589 zend_string *tmp_str; local
4592 tmp_str = zend_long_to_str(name_long);
4594 tmp_str = zend_string_copy(name_str);
4609 zend_string_release(tmp_str);
5812 zend_string *str, *tmp_str, *key; local
5864 zend_tmp_string_release(tmp_str);
5868 zend_tmp_string_release(tmp_str);
5903 str = zval_get_tmp_string(value, &tmp_str);
5905 zend_tmp_string_release(tmp_str);
5912 str = zval_get_tmp_string(value, &tmp_str);
[all …]
H A Dstring.c2337 zval *tmp_str = NULL, *tmp_repl, *tmp_from = NULL, *tmp_len= NULL; local
2451 ZEND_HASH_FOREACH_KEY_VAL(str_ht, num_index, str_index, tmp_str) {
2453 zend_string *orig_str = zval_get_tmp_string(tmp_str, &tmp_orig_str);
3397 zend_string *str_key, *tmp_str, *replace, *tmp_replace; local
3401 tmp_str = NULL;
3403 str_key = tmp_str = zend_long_to_str(num_key);
3422 zend_tmp_string_release(tmp_str);
/php-src/ext/curl/
H A Dinterface.c1935 zend_string *tmp_str; in _php_curl_setopt() local
1948 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
1975 zend_string *tmp_str; in _php_curl_setopt() local
1978 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
1995 zend_string *tmp_str; in _php_curl_setopt() local
1998 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
2201 zend_string *tmp_str; in _php_curl_setopt() local
2206 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
2246 zend_string *tmp_str; in _php_curl_setopt() local
2256 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
[all …]
/php-src/main/
H A Dspprintf.c225 zend_string *tmp_str = NULL; in xbuf_format_converter() local
366 zend_string *str = zval_get_tmp_string(zvp, &tmp_str); in xbuf_format_converter()
767 zend_tmp_string_release(tmp_str); in xbuf_format_converter()
H A Dsnprintf.c525 zend_string *tmp_str = NULL; in format_converter() local
666 zend_string *str = zval_get_tmp_string(zvp, &tmp_str); in format_converter()
1060 zend_tmp_string_release(tmp_str); in format_converter()
/php-src/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp442 zend_string *str, *tmp_str; in umsg_format_helper() local
450 str = zval_get_tmp_string(elem, &tmp_str); in umsg_format_helper()
466 zend_tmp_string_release(tmp_str); in umsg_format_helper()
/php-src/ext/tidy/
H A Dtidy.c229 zend_string *str, *tmp_str; in _php_tidy_set_tidy_opt() local
244 str = zval_get_tmp_string(value, &tmp_str); in _php_tidy_set_tidy_opt()
246 zend_tmp_string_release(tmp_str); in _php_tidy_set_tidy_opt()
249 zend_tmp_string_release(tmp_str); in _php_tidy_set_tidy_opt()
/php-src/ext/iconv/
H A Diconv.c1967 zend_string *tmp_str = NULL; in PHP_FUNCTION() local
2031 tmp_str = zval_try_get_string_func(pzval); in PHP_FUNCTION()
2032 if (UNEXPECTED(!tmp_str)) { in PHP_FUNCTION()
2035 lfchars = ZSTR_VAL(tmp_str); in PHP_FUNCTION()
2054 if (tmp_str) { in PHP_FUNCTION()
2055 zend_string_release_ex(tmp_str, 0); in PHP_FUNCTION()
/php-src/ext/pgsql/
H A Dpgsql.c1468 zend_string *tmp_str; in PHP_FUNCTION() local
1469 zend_string *str = zval_get_tmp_string(tmp, &tmp_str); in PHP_FUNCTION()
1472 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
4007 zend_string *tmp_str; in PHP_FUNCTION() local
4008 zend_string *str = zval_get_tmp_string(tmp, &tmp_str); in PHP_FUNCTION()
4011 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
4178 zend_string *tmp_str = zval_try_get_string(tmp); in PHP_FUNCTION() local
4179 if (UNEXPECTED(!tmp_str)) { in PHP_FUNCTION()
4183 params[i] = estrndup(ZSTR_VAL(tmp_str), ZSTR_LEN(tmp_str)); in PHP_FUNCTION()
4184 zend_string_release(tmp_str); in PHP_FUNCTION()
/php-src/ext/ffi/
H A Dffi.c741 zend_string *tmp_str; in zend_ffi_zval_to_cdata() local
807 str = zval_get_tmp_string(value, &tmp_str); in zend_ffi_zval_to_cdata()
814 zend_tmp_string_release(tmp_str); in zend_ffi_zval_to_cdata()
2551 zend_string *str, *tmp_str; in zend_ffi_pass_arg() local
2659 str = zval_get_tmp_string(arg, &tmp_str); in zend_ffi_pass_arg()
2665 zend_tmp_string_release(tmp_str); in zend_ffi_pass_arg()
/php-src/ext/date/
H A Dphp_date.c4674 zend_string *tmp_str; \ in php_date_interval_initialize_from_hash()
4675 zend_string *str = zval_get_tmp_string(z_arg, &tmp_str); \ in php_date_interval_initialize_from_hash()
4677 zend_tmp_string_release(tmp_str); \ in php_date_interval_initialize_from_hash()

Completed in 210 milliseconds