Home
last modified time | relevance | path

Searched refs:LOCK_SH (Results 1 – 13 of 13) sorted by relevance

/PHP-8.0/ext/standard/tests/file/
H A Dflock.phpt12 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 Dflock_error.phpt46 var_dump(flock($fp, LOCK_SH|LOCK_NB));
59 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
61 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
63 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
65 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
H A Duserstreams_004.phpt34 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) {
47 ------ fclock(LOCK_SH): -------
49 ------ fclock(LOCK_SH|LOCK_NB): -------
H A Dflock_basic.phpt15 var_dump(flock($file_handle, LOCK_SH|LOCK_NB));
26 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
H A Dbug65272.phpt9 var_dump(flock($fp1, LOCK_SH));
H A Dflock_variation.phpt13 LOCK_SH,
15 LOCK_SH|LOCK_NB,
17 LOCK_SH|LOCK_EX,
/PHP-8.0/ext/standard/
H A Dflock_compat.c37 if (operation & LOCK_SH) in php_flock()
124 case LOCK_SH: /* shared */
H A Dflock_compat.h38 # define LOCK_SH 1 macro
H A Dfile.c331 int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; in php_flock_common()
/PHP-8.0/ext/zlib/tests/
H A Dzlib_wrapper_flock_basic.phpt13 var_dump(flock($h, LOCK_SH));
/PHP-8.0/ext/dba/
H A Ddba.c664 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
773 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
774 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
/PHP-8.0/ext/opcache/
H A Dzend_file_cache.c71 # define LOCK_SH 0 macro
82 } else if (op == LOCK_SH) { in zend_file_cache_flock()
98 # define LOCK_SH 0 macro
1670 if (zend_file_cache_flock(fd, LOCK_SH) != 0) {
/PHP-8.0/main/streams/
H A Duserspace.c926 case LOCK_SH: in php_userstreamop_set_option()

Completed in 27 milliseconds