Home
last modified time | relevance | path

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

/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c175 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
179 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
180 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
203 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
207 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
208 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
H A Dmysqlnd_vio.c445 char tmp_buf[256]; in MYSQLND_METHOD() local
458 bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf)); in MYSQLND_METHOD()
463 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
H A Dmysqlnd_ps_codec.c585 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer() local
587 tmp_buf = mnd_emalloc(*buf_len); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
588 if (!tmp_buf) { in mysqlnd_stmt_execute_check_n_enlarge_buffer()
591 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
595 *buf = tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
/PHP-7.4/ext/pdo_oci/
H A Doci_driver.c61 char tmp_buf[2048]; in _oci_error() local
87 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error()
88 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
97 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error()
98 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
102 …slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error()
106 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error()
110 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error()
114 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error()
118 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error()
[all …]
/PHP-7.4/win32/
H A Dregistry.c227 char tmp_buf[MAXPATHLEN], *cwd; in UpdateIniFromRegistry() local
231 if (!VCWD_GETCWD(tmp_buf, MAXPATHLEN)) { in UpdateIniFromRegistry()
235 cwd = strchr(tmp_buf, ':'); in UpdateIniFromRegistry()
238 cwd = tmp_buf; in UpdateIniFromRegistry()
240 drive_letter = tmp_buf[0]; in UpdateIniFromRegistry()
H A Dioutil.c489 wchar_t *tmp_buf = NULL; in php_win32_ioutil_getcwd_w() local
504 tmp_buf = (wchar_t *)malloc((tmp_len)*sizeof(wchar_t)); in php_win32_ioutil_getcwd_w()
505 if (!tmp_buf) { in php_win32_ioutil_getcwd_w()
509 buf = tmp_buf; in php_win32_ioutil_getcwd_w()
515 free(tmp_buf); in php_win32_ioutil_getcwd_w()
/PHP-7.4/ext/oci8/
H A Doci8.c947 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)O… in PHP_INI_END()
948 && *tmp_buf) { in PHP_INI_END()
949 php_error_docref(NULL, E_WARNING, "%s", tmp_buf); in PHP_INI_END()
976 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)OCI_… in PHP_INI_END()
979 int tmp_buf_len = (int) strlen((char *)tmp_buf); in PHP_INI_END()
981 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END()
982 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END()
986 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END()
988 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END()
2121 text tmp_buf[PHP_OCI_ERRBUF_LEN]; in php_oci_connection_ping() local
[all …]

Completed in 32 milliseconds