Searched refs:bytes_written (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc132 $bytes_written = fwrite($file_handle, $num_values, $chunk_size);
133 if ( $bytes_written != $chunk_size ) {
140 $bytes_written = fwrite($file_handle, $num_values, $file_size);
141 if ( $bytes_written != $file_size ) {
/PHP_TRUNK/ext/oci8/
H A Doci8_lob.c404 int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC)
411 *bytes_written = 0;
448 *bytes_written = 0;
451 *bytes_written = data_len;
913 ub4 bytes_written = 0; local
961 return php_oci_lob_write(descriptor, 0, data, data_len, &bytes_written TSRMLS_CC);
H A Dphp_oci8_int.h428 int php_oci_lob_write(php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC);
H A Doci8_interface.c194 ub4 bytes_written; local
219 if (php_oci_lob_write(descriptor, offset, data, data_len, &bytes_written TSRMLS_CC)) {
523 ub4 bytes_written; local
556 if (php_oci_lob_write(descriptor, descriptor->lob_current_position, data, data_len, &bytes_written TSRMLS_CC)) {
559 RETURN_LONG(bytes_written);
/PHP_TRUNK/ext/standard/
H A Dfile.c664 int bytes_written; local
676 bytes_written = php_stream_write(stream, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
677 if (bytes_written < 0 || bytes_written != Z_STRLEN_PP(tmp)) {
678 if (bytes_written < 0) {
681 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %d of %d bytes written, possibly out of free disk space", bytes_written, Z_STRLEN_PP(tmp));
/PHP_TRUNK/main/streams/
H A Dplain_wrapper.c321 int bytes_written = write(data->fd, buf, count); local
322 if (bytes_written < 0) return 0;
323 return (size_t) bytes_written;

Completed in 30 milliseconds