Home
last modified time | relevance | path

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

/PHP-5.4/ext/pdo_oci/
H A Doci_driver.c63 char tmp_buf[2048]; in _oci_error() local
89 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error()
90 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
99 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error()
100 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
104 …slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error()
108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error()
112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error()
116 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error()
120 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error()
[all …]
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c188 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
192 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf) TSRMLS_CC); in mysqlnd_handle_local_infile()
193 SET_CLIENT_ERROR(*conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
216 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
220 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf) TSRMLS_CC); in mysqlnd_handle_local_infile()
221 SET_CLIENT_ERROR(*conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
H A Dmysqlnd_ps_codec.c648 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
651 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
655 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_store_params()
659 *buf = tmp_buf; in mysqlnd_stmt_execute_store_params()
731 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
734 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
742 *buf = tmp_buf; in mysqlnd_stmt_execute_store_params()
879 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
882 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
886 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_store_params()
[all …]
H A Dmysqlnd_net.c765 char tmp_buf[256]; in MYSQLND_METHOD() local
777 skipped_bytes += (bytes_consumed = php_stream_read(net->stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
778 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-5.4/ext/wddx/
H A Dwddx.c424 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_number() local
430 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); in php_wddx_serialize_number()
462 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_object() local
537 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_object()
563 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_array() local
609 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_array()
633 char *tmp_buf, *name_esc; in php_wddx_serialize_var() local
639 efree(tmp_buf); in php_wddx_serialize_var()
774 char tmp_buf[2]; in php_wddx_push_element() local
776 snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol(atts[i], NULL, 16)); in php_wddx_push_element()
[all …]
/PHP-5.4/win32/
H A Dregistry.c218 char tmp_buf[MAXPATHLEN], *cwd; in UpdateIniFromRegistry() local
222 if (!VCWD_GETCWD(tmp_buf, MAXPATHLEN)) { in UpdateIniFromRegistry()
226 cwd = strchr(tmp_buf, ':'); in UpdateIniFromRegistry()
229 cwd = tmp_buf; in UpdateIniFromRegistry()
231 drive_letter = tmp_buf[0]; in UpdateIniFromRegistry()
/PHP-5.4/ext/oci8/
H A Doci8.c1085 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub… in PHP_INI_END()
1086 && *tmp_buf) { in PHP_INI_END()
1087 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", tmp_buf); in PHP_INI_END()
1114 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)O… in PHP_INI_END()
1117 int tmp_buf_len = strlen((char *)tmp_buf); in PHP_INI_END()
1119 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END()
1120 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END()
1124 …rror_docref(NULL TSRMLS_CC, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END()
1126 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END()
2199 text tmp_buf[OCI_ERROR_MAXMSG_SIZE]; in php_oci_connection_ping() local
[all …]
/PHP-5.4/ext/iconv/
H A Diconv.c545 char *out_p, *out_buf, *tmp_buf; in php_iconv_string()
576 tmp_buf = (char*) erealloc(out_buf, bsz+1); in php_iconv_string()
577 out_p = out_buf = tmp_buf; in php_iconv_string()
598 tmp_buf = (char *) erealloc(out_buf, bsz); in php_iconv_string()
600 out_p = out_buf = tmp_buf; in php_iconv_string()

Completed in 51 milliseconds