Home
last modified time | relevance | path

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

12

/php-src/ext/standard/tests/file/
H A Dfilesize_variation3.phpt20 var_dump( ftruncate($file_handle, $size) );
60 ftruncate(): Argument #2 ($size) must be greater than or equal to 0
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.phpt51 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
H A Dfilesize_variation4.phpt53 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
/php-src/ext/spl/tests/SplFileObject/
H A Dfileobject_005.phpt14 var_dump($fo->ftruncate(4));
/php-src/ext/standard/tests/streams/
H A Dbug61115-1.phpt14 ftruncate($fileResourceTemp, PHP_INT_MAX);
/php-src/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-src/ext/opcache/
H A Dshared_alloc_posix.c99 if (ftruncate(shared_segment->shm_fd, requested_size) != 0) { in create_segments()
H A Dconfig.m4279 if (ftruncate(fd, 4096) < 0) {
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitProtExecAllocatorPosix.c140 if (ftruncate(fd, (off_t)size)) { in alloc_chunk()
/php-src/ext/spl/
H A Dspl_directory.stub.php292 public function ftruncate(int $size): bool {} function in SplFileObject
H A Dspl_directory_arginfo.h349 ZEND_METHOD(SplFileObject, ftruncate);
461 ZEND_ME(SplFileObject, ftruncate, arginfo_class_SplFileObject_ftruncate, ZEND_ACC_PUBLIC)
H A Dspl_directory.c2655 PHP_METHOD(SplFileObject, ftruncate) in PHP_METHOD() argument
/php-src/main/
H A Dphp_network.h43 # define ftruncate(a, b) chsize(a, b) macro
/php-src/ext/session/
H A Dmod_files.c241 php_ignore_value(ftruncate(data->fd, 0)); in ps_files_write()
/php-src/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()
/php-src/ext/standard/
H A Dfile.c1343 PHP_FUNCTION(ftruncate) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2803 function ftruncate($stream, int $size): bool {}
H A Dbasic_functions_arginfo.h2620 ZEND_FUNCTION(ftruncate);
3221 ZEND_FE(ftruncate, arginfo_ftruncate)

Completed in 58 milliseconds

12