Searched refs:LOCK_EX (Results 1 – 14 of 14) sorted by relevance
/PHP-7.0/ext/standard/tests/file/ |
H A D | userstreams_004.phpt | 32 test("stream_lock not implemented", $fd2, LOCK_EX); 34 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) { 51 ------ fclock(LOCK_EX): ------- 53 ------ fclock(LOCK_EX|LOCK_NB): -------
|
H A D | flock_basic.phpt | 17 var_dump(flock($file_handle, LOCK_EX)); 26 var_dump(flock($dir_handle, LOCK_EX));
|
H A D | flock.phpt | 20 var_dump(flock($fp, LOCK_EX)); 28 var_dump(flock($fp, LOCK_EX, $would));
|
H A D | bug65272.phpt | 16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
|
H A D | flock_variation.phpt | 19 LOCK_EX, 21 LOCK_EX|LOCK_NB, 22 LOCK_SH|LOCK_EX,
|
/PHP-7.0/ext/standard/ |
H A D | flock_compat.c | 58 else if (operation & LOCK_EX) in php_flock() 137 case LOCK_EX: /* exclusive */
|
H A D | flock_compat.h | 32 # define LOCK_EX 2 macro
|
H A D | file.c | 333 static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; 598 } else if (flags & LOCK_EX) { in PHP_FUNCTION() 615 if (flags & LOCK_EX && (!php_stream_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { in PHP_FUNCTION()
|
/PHP-7.0/ext/dba/ |
H A D | dba.c | 762 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open() 767 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open() 788 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open() 844 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open() 845 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
|
/PHP-7.0/ext/opcache/ |
H A D | zend_file_cache.c | 53 # define LOCK_EX 1 macro 58 if (op == LOCK_EX) { in zend_file_cache_flock() 80 # define LOCK_EX 1 macro 764 if (zend_file_cache_flock(fd, LOCK_EX) != 0) { in zend_file_cache_script_store()
|
/PHP-7.0/ext/spl/internal/ |
H A D | splfileobject.inc | 115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
|
/PHP-7.0/ext/session/ |
H A D | mod_files.c | 214 ret = flock(data->fd, LOCK_EX); in ps_files_open()
|
/PHP-7.0/main/streams/ |
H A D | userspace.c | 957 case LOCK_EX: in php_userstreamop_set_option()
|
/PHP-7.0/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 31595 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 31673 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|
Completed in 401 milliseconds