Home
last modified time | relevance | path

Searched refs:ftruncate (Results 26 – 48 of 48) sorted by relevance

12

/PHP-8.3/ext/standard/
H A Dflock_compat.h57 # define ftruncate(a, b) chsize(a, b) macro
H A Dfile.c1379 PHP_FUNCTION(ftruncate) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2762 function ftruncate($stream, int $size): bool {}
H A Dbasic_functions_arginfo.h2550 ZEND_FUNCTION(ftruncate);
3188 ZEND_FE(ftruncate, arginfo_ftruncate)
/PHP-8.3/ext/spl/tests/SplFileObject/
H A Dfileobject_005.phpt14 var_dump($fo->ftruncate(4));
/PHP-8.3/ext/standard/tests/streams/
H A Dbug61115-1.phpt14 ftruncate($fileResourceTemp, PHP_INT_MAX);
/PHP-8.3/ext/opcache/
H A Dshared_alloc_posix.c60 if (ftruncate(shared_segment->shm_fd, requested_size) != 0) { in create_segments()
H A Dconfig.m4263 if (ftruncate(fd, 4096) < 0) {
/PHP-8.3/ext/standard/tests/strings/
H A Dvfprintf_error3.phpt34 ftruncate( $fp, 0 );
H A Dvfprintf_basic.phpt11 ftruncate( $fp, 0 );
H A Dvfprintf_variation1.phpt30 ftruncate( $fp, 0 );
/PHP-8.3/ext/imap/
H A Dphp_imap.h46 # undef ftruncate
/PHP-8.3/ext/standard/tests/file/
H A Dis_file_variation1.phpt20 ftruncate($file_handle, 0);
H A Dstat_variation8-win32.phpt39 var_dump( ftruncate($file_handle, 512) ); // truncate it
H A Dfilesize_variation4-win32.phpt50 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
H A Dfilesize_variation4.phpt52 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
/PHP-8.3/ext/spl/
H A Dspl_directory.stub.php343 public function ftruncate(int $size): bool {} function in SplFileObject
H A Dspl_directory_arginfo.h353 ZEND_METHOD(SplFileObject, ftruncate);
471 ZEND_ME(SplFileObject, ftruncate, arginfo_class_SplFileObject_ftruncate, ZEND_ACC_PUBLIC)
H A Dspl_directory.c2683 PHP_METHOD(SplFileObject, ftruncate) in PHP_METHOD() argument
/PHP-8.3/main/
H A Dphp_network.h45 # define ftruncate(a, b) chsize(a, b) macro
/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitProtExecAllocator.c197 if (ftruncate(fd, (off_t)size)) { in alloc_chunk()
/PHP-8.3/ext/session/
H A Dmod_files.c241 php_ignore_value(ftruncate(data->fd, 0)); in ps_files_write()
/PHP-8.3/main/streams/
H A Dplain_wrapper.c977 … return ftruncate(fd, new_size) == 0 ? PHP_STREAM_OPTION_RETURN_OK : PHP_STREAM_OPTION_RETURN_ERR; in php_stdiop_set_option()

Completed in 64 milliseconds

12