Home
last modified time | relevance | path

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

/PHP-5.5/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.5/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.c549 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
552 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
556 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_store_params()
560 *buf = tmp_buf; in mysqlnd_stmt_execute_store_params()
632 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
635 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
643 *buf = tmp_buf; in mysqlnd_stmt_execute_store_params()
770 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_store_params() local
773 if (!tmp_buf) { in mysqlnd_stmt_execute_store_params()
777 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_store_params()
[all …]
H A Dmysqlnd_net.c812 char tmp_buf[256]; in MYSQLND_METHOD() local
825 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
826 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-5.5/ext/wddx/
H A Dwddx.c427 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_number() local
433 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, Z_STRVAL(tmp)); in php_wddx_serialize_number()
465 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_object() local
540 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_object()
566 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_array() local
612 key_len = slprintf(tmp_buf, sizeof(tmp_buf), "%ld", idx); in php_wddx_serialize_array()
636 char *tmp_buf, *name_esc; in php_wddx_serialize_var() local
642 efree(tmp_buf); in php_wddx_serialize_var()
777 char tmp_buf[2]; in php_wddx_push_element() local
779 snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol(atts[i], NULL, 16)); in php_wddx_push_element()
[all …]
/PHP-5.5/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.5/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.5/ext/iconv/
H A Diconv.c563 char *out_p, *out_buf, *tmp_buf; in php_iconv_string()
606 tmp_buf = (char*) erealloc(out_buf, bsz+1); in php_iconv_string()
607 out_p = out_buf = tmp_buf; in php_iconv_string()
628 tmp_buf = (char *) erealloc(out_buf, bsz); in php_iconv_string()
630 out_p = out_buf = tmp_buf; in php_iconv_string()

Completed in 51 milliseconds