/PHP-7.0/ext/pdo_oci/ |
H A D | oci_driver.c | 63 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-7.0/ext/mysqlnd/ |
H A D | mysqlnd_loaddata.c | 174 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local 178 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile() 179 SET_CLIENT_ERROR(*conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile() 202 char tmp_buf[sizeof(conn->error_info->error)]; in mysqlnd_handle_local_infile() local 206 tmp_error_no = infile.local_infile_error(info, tmp_buf, sizeof(tmp_buf)); in mysqlnd_handle_local_infile() 207 SET_CLIENT_ERROR(*conn->error_info, tmp_error_no, UNKNOWN_SQLSTATE, tmp_buf); in mysqlnd_handle_local_infile()
|
H A D | mysqlnd_ps_codec.c | 555 zend_uchar *tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer() local 557 tmp_buf = mnd_emalloc(*buf_len); in mysqlnd_stmt_execute_check_n_enlarge_buffer() 558 if (!tmp_buf) { in mysqlnd_stmt_execute_check_n_enlarge_buffer() 561 memcpy(tmp_buf, *buf, offset); in mysqlnd_stmt_execute_check_n_enlarge_buffer() 565 *buf = tmp_buf; in mysqlnd_stmt_execute_check_n_enlarge_buffer()
|
H A D | mysqlnd_net.c | 868 char tmp_buf[256]; in MYSQLND_METHOD() local 881 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD() 882 } while (bytes_consumed == sizeof(tmp_buf)); in MYSQLND_METHOD()
|
/PHP-7.0/ext/wddx/ |
H A D | wddx.c | 425 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, ZSTR_VAL(str)); in php_wddx_serialize_number() 428 dec_point = strchr(tmp_buf, ','); in php_wddx_serialize_number() 432 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_number() 461 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_object() local 552 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_array() local 572 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_ARRAY_S, zend_hash_num_elements(target_hash)); in php_wddx_serialize_array() 609 char *tmp_buf; in php_wddx_serialize_var() local 614 efree(tmp_buf); in php_wddx_serialize_var() 752 char tmp_buf[2]; in php_wddx_push_element() local 754 snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol((char *)atts[i+1], NULL, 16)); in php_wddx_push_element() [all …]
|
/PHP-7.0/win32/ |
H A D | registry.c | 227 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()
|
/PHP-7.0/ext/oci8/ |
H A D | oci8.c | 946 …&& OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)O… in PHP_INI_END() 947 && *tmp_buf) { in PHP_INI_END() 948 php_error_docref(NULL, E_WARNING, "%s", tmp_buf); in PHP_INI_END() 975 …OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)PHP_OCI_ERRBUF_LEN, (ub4)OCI_… in PHP_INI_END() 978 int tmp_buf_len = (int) strlen((char *)tmp_buf); in PHP_INI_END() 980 if (tmp_buf_len > 0 && tmp_buf[tmp_buf_len - 1] == '\n') { in PHP_INI_END() 981 tmp_buf[tmp_buf_len - 1] = '\0'; in PHP_INI_END() 985 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_SUCCESS_WITH_INFO: %s", tmp_buf); in PHP_INI_END() 987 php_error_docref(NULL, E_WARNING, "Initialization error: OCI_ERROR: %s", tmp_buf); in PHP_INI_END() 2109 text tmp_buf[PHP_OCI_ERRBUF_LEN]; in php_oci_connection_ping() local [all …]
|