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.c4593 zend_string *tmp_str; local
4596 tmp_str = zend_long_to_str(name_long);
4598 tmp_str = zend_string_copy(name_str);
4613 zend_string_release(tmp_str);
5816 zend_string *str, *tmp_str, *key; local
5868 zend_tmp_string_release(tmp_str);
5872 zend_tmp_string_release(tmp_str);
5907 str = zval_get_tmp_string(value, &tmp_str);
5909 zend_tmp_string_release(tmp_str);
5916 str = zval_get_tmp_string(value, &tmp_str);
[all …]
H A Dstring.c2324 zval *tmp_str = NULL, *tmp_repl, *tmp_from = NULL, *tmp_len= NULL; local
2438 ZEND_HASH_FOREACH_KEY_VAL(str_ht, num_index, str_index, tmp_str) {
2440 zend_string *orig_str = zval_get_tmp_string(tmp_str, &tmp_orig_str);
3384 zend_string *str_key, *tmp_str, *replace, *tmp_replace; local
3388 tmp_str = NULL;
3390 str_key = tmp_str = zend_long_to_str(num_key);
3409 zend_tmp_string_release(tmp_str);
/php-src/ext/curl/
H A Dinterface.c1940 zend_string *tmp_str; in _php_curl_setopt() local
1953 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
1980 zend_string *tmp_str; in _php_curl_setopt() local
1983 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
2000 zend_string *tmp_str; in _php_curl_setopt() local
2003 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
2206 zend_string *tmp_str; in _php_curl_setopt() local
2211 zend_tmp_string_release(tmp_str); in _php_curl_setopt()
2251 zend_string *tmp_str; in _php_curl_setopt() local
2261 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.c1480 zend_string *tmp_str; in PHP_FUNCTION() local
1481 zend_string *str = zval_get_tmp_string(tmp, &tmp_str); in PHP_FUNCTION()
1484 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
4034 zend_string *tmp_str; in PHP_FUNCTION() local
4035 zend_string *str = zval_get_tmp_string(tmp, &tmp_str); in PHP_FUNCTION()
4038 zend_tmp_string_release(tmp_str); in PHP_FUNCTION()
4205 zend_string *tmp_str = zval_try_get_string(tmp); in PHP_FUNCTION() local
4206 if (UNEXPECTED(!tmp_str)) { in PHP_FUNCTION()
4210 params[i] = estrndup(ZSTR_VAL(tmp_str), ZSTR_LEN(tmp_str)); in PHP_FUNCTION()
4211 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()
811 zend_tmp_string_release(tmp_str); in zend_ffi_zval_to_cdata()
815 zend_tmp_string_release(tmp_str); in zend_ffi_zval_to_cdata()
2552 zend_string *str, *tmp_str; in zend_ffi_pass_arg() local
2660 str = zval_get_tmp_string(arg, &tmp_str); in zend_ffi_pass_arg()
2666 zend_tmp_string_release(tmp_str); in zend_ffi_pass_arg()
/php-src/ext/date/
H A Dphp_date.c4669 zend_string *tmp_str; \ in php_date_interval_initialize_from_hash()
4670 zend_string *str = zval_get_tmp_string(z_arg, &tmp_str); \ in php_date_interval_initialize_from_hash()
4672 zend_tmp_string_release(tmp_str); \ in php_date_interval_initialize_from_hash()

Completed in 180 milliseconds