Home
last modified time | relevance | path

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

/PHP-7.1/ext/mysqlnd/
H A Dphp_mysqlnd.c151 smart_str tmp_str = {0}; in PHP_MINFO_FUNCTION() local
152 mysqlnd_plugin_apply_with_argument(mysqlnd_minfo_dump_loaded_plugins, &tmp_str); in PHP_MINFO_FUNCTION()
153 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
154 php_info_print_table_row(2, "Loaded plugins", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION()
155 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
157 mysqlnd_minfo_dump_api_plugins(&tmp_str); in PHP_MINFO_FUNCTION()
158 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
159 php_info_print_table_row(2, "API Extensions", tmp_str.s? ZSTR_VAL(tmp_str.s) : ""); in PHP_MINFO_FUNCTION()
160 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
H A Dmysqlnd_alloc.c619 smart_str tmp_str = {0, 0}; in _mysqlnd_pestrdup() local
631 smart_str_appendc(&tmp_str, *p); in _mysqlnd_pestrdup()
634 ret = pemalloc_rel(ZSTR_LEN(tmp_str.s) + sizeof(size_t), persistent); in _mysqlnd_pestrdup()
635 memcpy(FAKE_PTR(ret), ZSTR_VAL(tmp_str.s), ZSTR_LEN(tmp_str.s)); in _mysqlnd_pestrdup()
638 *(size_t *) ret = ZSTR_LEN(tmp_str.s); in _mysqlnd_pestrdup()
641 smart_str_free(&tmp_str); in _mysqlnd_pestrdup()
H A Dmysqlnd_connection.c2114 smart_str tmp_str = {0, 0}; local
2116 smart_str_0(&tmp_str);
2125 name_esc? name_esc:"", tmp_str.s? ZSTR_VAL(tmp_str.s):"");
2126 smart_str_free(&tmp_str);
2158 smart_str tmp_str = {0, 0}; local
2160 if (tmp_str.s) {
2169 smart_str_free(&tmp_str);
2172 if (tmp_str.s && ZSTR_LEN(tmp_str.s)) {
2177 if (tmp_str.s && ZSTR_LEN(tmp_str.s)) {
2183 smart_str_0(&tmp_str);
[all …]
H A Dmysqlnd_structs.h461 …cor_options_to_string)(const MYSQLND_CONN_DATA * const conn, smart_str * tmp_str, const unsigned i…
/PHP-7.1/ext/mysqli/
H A Dmysqli_nonapi.c1035 smart_str tmp_str = {0}; local
1037 if (tmp_str.s) {
1038 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1047 if (tmp_str.s) {
1048 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1052 if (tmp_str.s) {
1053 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1055 smart_str_appendl(&tmp_str, "READ ONLY", sizeof("READ ONLY") - 1);
1058 smart_str_0(&tmp_str);
1064 name_esc? name_esc:"", tmp_str.s? ZSTR_VAL(tmp_str.s):"");
[all …]
H A Dmysqli_api.c115 smart_str tmp_str = {0}; in mysqli_commit_or_rollback_libmysql() local
116 mysqli_tx_cor_options_to_string(conn, &tmp_str, mode); in mysqli_commit_or_rollback_libmysql()
117 smart_str_0(&tmp_str); in mysqli_commit_or_rollback_libmysql()
125 …(commit? "COMMIT%s %s":"ROLLBACK%s %s"), name_esc? name_esc:"", tmp_str.s? ZSTR_VAL(tmp_str.s):""); in mysqli_commit_or_rollback_libmysql()
126 smart_str_free(&tmp_str); in mysqli_commit_or_rollback_libmysql()
/PHP-7.1/ext/standard/
H A Dvar.c396 zend_string *tmp_str; in php_array_element_export() local
398 tmp_str = php_str_to_str(ZSTR_VAL(ckey), ZSTR_LEN(ckey), "\0", 1, "' . \"\\0\" . '", 12); in php_array_element_export()
403 smart_str_append(buf, tmp_str); in php_array_element_export()
407 zend_string_free(tmp_str); in php_array_element_export()
444 char tmp_str[PHP_DOUBLE_MAX_LENGTH]; in php_var_export_ex() local
465 php_gcvt(Z_DVAL_P(struc), (int)PG(serialize_precision), '.', 'E', tmp_str); in php_var_export_ex()
466 smart_str_appends(buf, tmp_str); in php_var_export_ex()
473 if (zend_finite(Z_DVAL_P(struc)) && NULL == strchr(tmp_str, '.')) { in php_var_export_ex()
850 char tmp_str[PHP_DOUBLE_MAX_LENGTH]; in php_var_serialize_intern() local
852 php_gcvt(Z_DVAL_P(struc), (int)PG(serialize_precision), '.', 'E', tmp_str); in php_var_serialize_intern()
[all …]
H A Dstring.c2409 zval *tmp_str = NULL, *tmp_from = NULL, *tmp_repl = NULL, *tmp_len= NULL; local
2530 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(str), num_index, str_index, tmp_str) {
2531 zend_string *orig_str = zval_get_string(tmp_str);
/PHP-7.1/ext/iconv/
H A Diconv.c2250 zend_string *tmp_str = NULL; in PHP_FUNCTION() local
2314 tmp_str = zval_get_string(pzval); in PHP_FUNCTION()
2315 lfchars = ZSTR_VAL(tmp_str); in PHP_FUNCTION()
2338 if (tmp_str) { in PHP_FUNCTION()
2339 zend_string_release(tmp_str); in PHP_FUNCTION()

Completed in 60 milliseconds