Home
last modified time | relevance | path

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

/PHP-5.6/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.6/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.c560 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer() local
562 tmp_buf = mnd_emalloc(*buf_len); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
563 if (!tmp_buf) { in mysqlnd_stmt_execute_check_n_enlarge_buffer()
566 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_check_n_enlarge_buffer()
570 *buf = tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
H A Dmysqlnd_net.c861 char tmp_buf[256]; in MYSQLND_METHOD() local
874 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
875 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-5.6/ext/wddx/
H A Dwddx.c434 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_number() local
440 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); in php_wddx_serialize_number()
472 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_object() local
544 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_object()
572 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_array() local
618 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_array()
642 char *tmp_buf, *name_esc; in php_wddx_serialize_var() local
648 efree(tmp_buf); in php_wddx_serialize_var()
783 char tmp_buf[2]; in php_wddx_push_element() local
785 snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol(atts[i+1], NULL, 16)); in php_wddx_push_element()
[all …]
/PHP-5.6/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.6/ext/oci8/
H A Doci8.c1100 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub… in PHP_INI_END()
1101 && *tmp_buf) { in PHP_INI_END()
1102 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", tmp_buf); in PHP_INI_END()
1129 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)O… in PHP_INI_END()
1132 int tmp_buf_len = strlen((char *)tmp_buf); in PHP_INI_END()
1134 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END()
1135 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END()
1139 …rror_docref(NULL TSRMLS_CC, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END()
1141 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END()
2232 text tmp_buf[OCI_ERROR_MAXMSG_SIZE]; in php_oci_connection_ping() local
[all …]
/PHP-5.6/ext/iconv/
H A Diconv.c628 char *out_p, *out_buf, *tmp_buf; in php_iconv_string()
671 tmp_buf = (char*) erealloc(out_buf, bsz+1); in php_iconv_string()
672 out_p = out_buf = tmp_buf; in php_iconv_string()
693 tmp_buf = (char *) erealloc(out_buf, bsz); in php_iconv_string()
695 out_p = out_buf = tmp_buf; in php_iconv_string()

Completed in 36 milliseconds