Home
last modified time | relevance | path

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

/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_loaddata.c211 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
215 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
216 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
239 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
243 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
244 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
H A Dmysqlnd_ps_codec.c516 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer() local
518 tmp_buf = mnd_emalloc(*buf_len); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
519 if (!tmp_buf) { in mysqlnd_stmt_execute_check_n_enlarge_buffer()
522 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
526 *buf = tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
H A Dmysqlnd_vio.c466 char tmp_buf[256]; in MYSQLND_METHOD() local
479 bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf)); in MYSQLND_METHOD()
484 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-8.3/ext/pdo_oci/
H A Doci_driver.c57 char tmp_buf[2048]; in _oci_error() local
83 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error()
84 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
93 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error()
94 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
98 …slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error()
102 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error()
106 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error()
110 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error()
114 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error()
[all …]
/PHP-8.3/win32/
H A Dregistry.c225 char tmp_buf[MAXPATHLEN], *cwd; in UpdateIniFromRegistry() local
229 if (!VCWD_GETCWD(tmp_buf, MAXPATHLEN)) { in UpdateIniFromRegistry()
233 cwd = strchr(tmp_buf, ':'); in UpdateIniFromRegistry()
236 cwd = tmp_buf; in UpdateIniFromRegistry()
238 drive_letter = tmp_buf[0]; in UpdateIniFromRegistry()
H A Dioutil.c487 wchar_t *tmp_buf = NULL; in php_win32_ioutil_getcwd_w() local
502 tmp_buf = (wchar_t *)malloc((tmp_len)*sizeof(wchar_t)); in php_win32_ioutil_getcwd_w()
503 if (!tmp_buf) { in php_win32_ioutil_getcwd_w()
507 buf = tmp_buf; in php_win32_ioutil_getcwd_w()
513 free(tmp_buf); in php_win32_ioutil_getcwd_w()
/PHP-8.3/ext/oci8/
H A Doci8.c207 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)O… in PHP_INI_END()
208 && *tmp_buf) { in PHP_INI_END()
209 php_error_docref(NULL, E_WARNING, "%s", tmp_buf); in PHP_INI_END()
220 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)OCI_… in PHP_INI_END()
223 int tmp_buf_len = (int) strlen((char *)tmp_buf); in PHP_INI_END()
225 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END()
226 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END()
230 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END()
232 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END()
1223 text tmp_buf[PHP_OCI_ERRBUF_LEN]; in php_oci_connection_ping() local
[all …]

Completed in 23 milliseconds