/PHP-7.0/ext/standard/tests/file/ |
H A D | flock.phpt | 2 flock() tests 6 $file = dirname(__FILE__)."/flock.dat"; 8 var_dump(flock()); 9 var_dump(flock("", "", $var)); 14 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 18 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 19 var_dump(flock($fp, LOCK_UN)); 20 var_dump(flock($fp, LOCK_EX)); 21 var_dump(flock($fp, LOCK_UN)); 33 var_dump(flock($fp, -1)); [all …]
|
H A D | flock_error.phpt | 2 Test flock() function: Error conditions 13 $file = dirname(__FILE__)."/flock.tmp"; 32 var_dump(flock($fp, $operation)); 40 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 42 var_dump(flock("", "", $var)); 45 var_dump(flock()); 46 var_dump(flock($fp)); 49 var_dump(flock($fp, "", $var, "")); 55 $file = dirname(__FILE__)."/flock.tmp"; 62 Warning: flock(): Illegal operation argument in %s on line %d [all …]
|
H A D | flock_basic.phpt | 2 Test flock() function: Basic functionality 11 echo "*** Testing flock() fun with file and dir ***\n"; 15 var_dump(flock($file_handle, LOCK_SH|LOCK_NB)); 16 var_dump(flock($file_handle, LOCK_UN)); 17 var_dump(flock($file_handle, LOCK_EX)); 18 var_dump(flock($file_handle, LOCK_UN)); 24 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB)); 25 var_dump(flock($dir_handle, LOCK_UN)); 26 var_dump(flock($dir_handle, LOCK_EX)); 27 var_dump(flock($dir_handle, LOCK_UN)); [all …]
|
H A D | bug65272.phpt | 2 Bug #65272: flock() correctly sets wouldblock out param in windows 13 var_dump(flock($fp1, LOCK_SH)); 16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
|
H A D | userstreams_004.phpt | 21 flock($fd, $mode); 45 Warning: flock(): test_wrapper_base::stream_lock is not implemented! in %s
|
H A D | flock_variation.phpt | 2 Test flock() function: Variations 6 Prototype: bool flock(resource $handle, int $operation [, int &$wouldblock]); 11 echo "*** Testing flock() fun with the various operation and 13 $file = dirname(__FILE__)."/flock.tmp"; 52 var_dump(flock($fp, $operation)); 56 var_dump(flock($fp, $operation, $wouldblock)); 68 *** Testing flock() fun with the various operation and
|
/PHP-7.0/ext/standard/ |
H A D | flock_compat.c | 41 PHPAPI int flock(int fd, int operation) in flock() function 50 struct flock flck; in php_flock() 165 #warning no proper flock support for your site
|
H A D | flock_compat.h | 35 PHPAPI int flock(int fd, int operation);
|
H A D | file.h | 62 PHP_FUNCTION(flock);
|
H A D | file.c | 337 PHP_FUNCTION(flock) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3126 PHP_FE(flock, arginfo_flock)
|
/PHP-7.0/ext/opcache/ |
H A D | ZendAccelerator.h | 102 struct flock name = {start, len, -1, type, whence} 105 struct flock name = {type, whence, start, len} 108 struct flock name = {type, whence, start, len, 0} 112 struct flock name = {type, whence, 0, 0, 0, start, len } 115 struct flock name = {type, whence, start, len} 119 struct flock name = {start, len, -1, type, whence} 122 struct flock name = {type, whence, start, len}
|
H A D | config.m4 | 347 AC_MSG_CHECKING("whether flock struct is linux ordered") 350 struct flock lock = { 1, 2, 3, 4, 5 }; 359 AC_DEFINE([HAVE_FLOCK_LINUX], [], [Struct flock is Linux-type]) 363 AC_MSG_CHECKING("whether flock struct is BSD ordered") 366 struct flock lock = { 1, 2, 3, 4, 5 }; 375 AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type]) 380 AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])
|
H A D | zend_file_cache.c | 77 # define zend_file_cache_flock flock
|
H A D | ZendAccelerator.c | 622 static inline void kill_all_lockers(struct flock *mem_usage_check) in kill_all_lockers()
|
/PHP-7.0/ext/zlib/tests/ |
H A D | zlib_wrapper_flock_basic.phpt | 13 var_dump(flock($h, LOCK_SH));
|
/PHP-7.0/ext/spl/internal/ |
H A D | splfileobject.inc | 118 function flock($operation, &$wouldblock) 120 return flock($this->fp, $operation, $wouldblock);
|
/PHP-7.0/ext/session/ |
H A D | mod_files.c | 149 flock(data->fd, LOCK_UN); in ps_files_close() 214 ret = flock(data->fd, LOCK_EX); in ps_files_open()
|
/PHP-7.0/main/ |
H A D | fastcgi.c | 99 struct flock lock; \ 115 struct flock lock; \
|
/PHP-7.0/main/streams/ |
H A D | plain_wrapper.c | 674 if (!flock(fd, value)) { in php_stdiop_set_option()
|
/PHP-7.0/ |
H A D | README.STREAMS | 43 names: fread, fwrite, fprintf, feof, fgetc, fgets, fclose, fflush, fseek, ftell, flock.
|
H A D | acinclude.m4 | 1430 AC_CACHE_CHECK(for struct flock,ac_cv_struct_flock, 1435 [struct flock x;], 1443 AC_DEFINE(HAVE_STRUCT_FLOCK, 1,[whether you have struct flock])
|
H A D | configure.in | 625 flock \
|
H A D | NEWS | 2845 . Fixed bug #65272 (flock() out parameter not set correctly in windows).
|
/PHP-7.0/ext/spl/ |
H A D | spl_directory.c | 2726 FileFunction(flock) 3062 SPL_ME(SplFileObject, flock, arginfo_file_object_flock, ZEND_ACC_PUBLIC)
|