Searched refs:LOCK_SH (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/standard/tests/file/ |
H A D | flock.phpt | 12 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 19 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 25 var_dump(flock($fp, LOCK_SH|LOCK_NB, $would)); 63 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
|
H A D | flock_error.phpt | 45 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 58 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 60 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 62 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
|
H A D | userstreams_004.phpt | 35 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) { 48 ------ fclock(LOCK_SH): ------- 50 ------ fclock(LOCK_SH|LOCK_NB): -------
|
H A D | flock_basic.phpt | 15 var_dump(flock($file_handle, LOCK_SH|LOCK_NB)); 26 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
|
H A D | bug65272.phpt | 9 var_dump(flock($fp1, LOCK_SH));
|
H A D | flock_variation.phpt | 13 LOCK_SH, 15 LOCK_SH|LOCK_NB, 17 LOCK_SH|LOCK_EX,
|
/php-src/ext/standard/ |
H A D | flock_compat.c | 37 if (operation & LOCK_SH) in php_flock() 124 case LOCK_SH: /* shared */
|
H A D | flock_compat.h | 38 # define LOCK_SH 1 macro
|
H A D | file.stub.php | 26 const LOCK_SH = UNKNOWN; define
|
H A D | file.c | 191 int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; in php_flock_common()
|
/php-src/ext/zlib/tests/ |
H A D | zlib_wrapper_flock_basic.phpt | 9 var_dump(flock($h, LOCK_SH));
|
/php-src/ext/dba/ |
H A D | dba.c | 692 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open() 809 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open() 810 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 73 # define LOCK_SH 0 macro 84 } else if (op == LOCK_SH) { in zend_file_cache_flock() 100 # define LOCK_SH 0 macro 1836 if (zend_file_cache_flock(fd, LOCK_SH) != 0) {
|
/php-src/main/streams/ |
H A D | userspace.c | 897 case LOCK_SH: in php_userstreamop_set_option()
|
Completed in 38 milliseconds