Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_loaddata.c173 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
177 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
178 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
201 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local
205 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile()
206 SET_CLIENT_ERROR(conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
H A Dmysqlnd_vio.c444 char tmp_buf[256]; in MYSQLND_METHOD() local
457 bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf)); in MYSQLND_METHOD()
462 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
H A Dmysqlnd_ps_codec.c583 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer() local
585 tmp_buf = mnd_emalloc(*buf_len); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
586 if (!tmp_buf) { in mysqlnd_stmt_execute_check_n_enlarge_buffer()
589 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
593 *buf = tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
/PHP-8.0/ext/pdo_oci/
H A Doci_driver.c59 char tmp_buf[2048]; in _oci_error() local
85 slprintf(tmp_buf, sizeof(tmp_buf), "%s (%s:%d)", what, file, line); in _oci_error()
86 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
95 slprintf(tmp_buf, sizeof(tmp_buf), "%s: %s (%s:%d)", what, errbuf, file, line); in _oci_error()
96 einfo->errmsg = pestrdup(tmp_buf, dbh->is_persistent); in _oci_error()
100 …slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_SUCCESS_WITH_INFO: %s (%s:%d)", what, errbuf, file, li… in _oci_error()
104 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NEED_DATA (%s:%d)", what, file, line); in _oci_error()
108 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_NO_DATA (%s:%d)", what, file, line); in _oci_error()
112 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_INVALID_HANDLE (%s:%d)", what, file, line); in _oci_error()
116 slprintf(tmp_buf, sizeof(tmp_buf), "%s: OCI_STILL_EXECUTING (%s:%d)", what, file, line); in _oci_error()
[all …]
/PHP-8.0/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.0/ext/oci8/
H A Doci8.c189 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)O… in PHP_INI_END()
190 && *tmp_buf) { in PHP_INI_END()
191 php_error_docref(NULL, E_WARNING, "%s", tmp_buf); in PHP_INI_END()
218 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)OCI_… in PHP_INI_END()
221 int tmp_buf_len = (int) strlen((char *)tmp_buf); in PHP_INI_END()
223 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END()
224 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END()
228 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END()
230 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END()
1350 text tmp_buf[PHP_OCI_ERRBUF_LEN]; in php_oci_connection_ping() local
[all …]

Completed in 60 milliseconds