Home
last modified time | relevance | path

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

/PHP-5.5/ext/mysqlnd/
H A Dphp_mysqlnd.c166 smart_str tmp_str = {0, 0, 0}; in PHP_MINFO_FUNCTION() local
167 mysqlnd_plugin_apply_with_argument(mysqlnd_minfo_dump_loaded_plugins, &tmp_str); in PHP_MINFO_FUNCTION()
168 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
169 php_info_print_table_row(2, "Loaded plugins", tmp_str.c); in PHP_MINFO_FUNCTION()
170 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
172 mysqlnd_minfo_dump_api_plugins(&tmp_str TSRMLS_CC); in PHP_MINFO_FUNCTION()
173 smart_str_0(&tmp_str); in PHP_MINFO_FUNCTION()
174 php_info_print_table_row(2, "API Extensions", tmp_str.c); in PHP_MINFO_FUNCTION()
175 smart_str_free(&tmp_str); in PHP_MINFO_FUNCTION()
H A Dmysqlnd_alloc.c585 smart_str tmp_str = {0, 0, 0}; in _mysqlnd_pestrdup() local
597 smart_str_appendc(&tmp_str, *p); in _mysqlnd_pestrdup()
600 …ret = (persistent) ? __zend_malloc(tmp_str.len + sizeof(size_t)) : _emalloc(REAL_SIZE(tmp_str.len … in _mysqlnd_pestrdup()
601 memcpy(FAKE_PTR(ret), tmp_str.c, tmp_str.len); in _mysqlnd_pestrdup()
604 *(size_t *) ret = tmp_str.len; in _mysqlnd_pestrdup()
607 smart_str_free(&tmp_str); in _mysqlnd_pestrdup()
H A Dmysqlnd.c2748 smart_str tmp_str = {0, 0, 0}; local
2750 smart_str_0(&tmp_str);
2759 name_esc? name_esc:"", tmp_str.c? tmp_str.c:"");
2760 smart_str_free(&tmp_str);
2792 smart_str tmp_str = {0, 0, 0}; local
2794 if (tmp_str.len) {
2803 smart_str_free(&tmp_str);
2806 if (tmp_str.len) {
2811 if (tmp_str.len) {
2817 smart_str_0(&tmp_str);
[all …]
H A Dmysqlnd_structs.h488 …cor_options_to_string)(const MYSQLND_CONN_DATA * const conn, smart_str * tmp_str, const unsigned i…
/PHP-5.5/ext/mysqli/
H A Dmysqli_nonapi.c1057 smart_str tmp_str = {0, 0, 0}; local
1059 if (tmp_str.len) {
1060 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1069 if (tmp_str.len) {
1070 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1074 if (tmp_str.len) {
1075 smart_str_appendl(&tmp_str, ", ", sizeof(", ") - 1);
1077 smart_str_appendl(&tmp_str, "READ ONLY", sizeof("READ ONLY") - 1);
1080 smart_str_0(&tmp_str);
1086 name_esc? name_esc:"", tmp_str.c? tmp_str.c:"");
[all …]
H A Dmysqli_api.c117 smart_str tmp_str = {0, 0, 0}; in mysqli_commit_or_rollback_libmysql() local
118 mysqli_tx_cor_options_to_string(conn, &tmp_str, mode); in mysqli_commit_or_rollback_libmysql()
119 smart_str_0(&tmp_str); in mysqli_commit_or_rollback_libmysql()
127 name_esc? name_esc:"", tmp_str.c? tmp_str.c:""); in mysqli_commit_or_rollback_libmysql()
128 smart_str_free(&tmp_str); in mysqli_commit_or_rollback_libmysql()
/PHP-5.5/ext/standard/
H A Dvar.c358 char *key, *tmp_str; in php_array_element_export() local
361 tmp_str = php_str_to_str_ex(key, key_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len, 0, NULL); in php_array_element_export()
366 smart_str_appendl(buf, tmp_str, tmp_len); in php_array_element_export()
370 efree(tmp_str); in php_array_element_export()
419 char *tmp_str, *tmp_str2; in php_var_export_ex() local
439 tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc)); in php_var_export_ex()
440 smart_str_appendl(buf, tmp_str, tmp_len); in php_var_export_ex()
441 efree(tmp_str); in php_var_export_ex()
444tmp_str = php_addcslashes(Z_STRVAL_PP(struc), Z_STRLEN_PP(struc), &tmp_len, 0, "'\\", 2 TSRMLS_CC); in php_var_export_ex()
445 …tmp_str2 = php_str_to_str_ex(tmp_str, tmp_len, "\0", 1, "' . \"\\0\" . '", 12, &tmp_len2, 0, NULL); in php_var_export_ex()
[all …]
H A Dstring.c2326 zval **tmp_str = NULL, **tmp_from = NULL, **tmp_repl = NULL, **tmp_len= NULL; local
2458 while (zend_hash_get_current_data_ex(Z_ARRVAL_PP(str), (void **) &tmp_str, &pos_str) == SUCCESS) {
2464 if(Z_TYPE_PP(tmp_str) != IS_STRING) {
2465 dummy = **tmp_str;
2470 orig_str = *tmp_str;
2599 if(Z_TYPE_PP(tmp_str) != IS_STRING) {

Completed in 95 milliseconds