Searched refs:ftruncate (Results 26 – 47 of 47) sorted by relevance
12
/php-src/ext/standard/tests/file/ |
H A D | filesize_variation3.phpt | 20 var_dump( ftruncate($file_handle, $size) ); 60 ftruncate(): Argument #2 ($size) must be greater than or equal to 0
|
H A D | is_file_variation1.phpt | 20 ftruncate($file_handle, 0);
|
H A D | stat_variation8-win32.phpt | 39 var_dump( ftruncate($file_handle, 512) ); // truncate it
|
H A D | filesize_variation4-win32.phpt | 51 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
|
H A D | filesize_variation4.phpt | 53 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
|
/php-src/ext/spl/tests/SplFileObject/ |
H A D | fileobject_005.phpt | 14 var_dump($fo->ftruncate(4));
|
/php-src/ext/standard/tests/streams/ |
H A D | bug61115-1.phpt | 14 ftruncate($fileResourceTemp, PHP_INT_MAX);
|
/php-src/ext/standard/tests/strings/ |
H A D | vfprintf_error3.phpt | 34 ftruncate( $fp, 0 );
|
H A D | vfprintf_basic.phpt | 11 ftruncate( $fp, 0 );
|
H A D | vfprintf_variation1.phpt | 30 ftruncate( $fp, 0 );
|
/php-src/ext/opcache/ |
H A D | shared_alloc_posix.c | 99 if (ftruncate(shared_segment->shm_fd, requested_size) != 0) { in create_segments()
|
H A D | config.m4 | 279 if (ftruncate(fd, 4096) < 0) {
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitProtExecAllocatorPosix.c | 140 if (ftruncate(fd, (off_t)size)) { in alloc_chunk()
|
/php-src/ext/spl/ |
H A D | spl_directory.stub.php | 292 public function ftruncate(int $size): bool {} function in SplFileObject
|
H A D | spl_directory_arginfo.h | 349 ZEND_METHOD(SplFileObject, ftruncate); 461 ZEND_ME(SplFileObject, ftruncate, arginfo_class_SplFileObject_ftruncate, ZEND_ACC_PUBLIC)
|
H A D | spl_directory.c | 2655 PHP_METHOD(SplFileObject, ftruncate) in PHP_METHOD() argument
|
/php-src/main/ |
H A D | php_network.h | 43 # define ftruncate(a, b) chsize(a, b) macro
|
/php-src/ext/session/ |
H A D | mod_files.c | 241 php_ignore_value(ftruncate(data->fd, 0)); in ps_files_write()
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 977 … 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 D | file.c | 1343 PHP_FUNCTION(ftruncate) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 2803 function ftruncate($stream, int $size): bool {}
|
H A D | basic_functions_arginfo.h | 2620 ZEND_FUNCTION(ftruncate); 3221 ZEND_FE(ftruncate, arginfo_ftruncate)
|
Completed in 58 milliseconds
12