Searched refs:LOCK_EX (Results 1 – 16 of 16) sorted by relevance
/PHP-5.6/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-5.6/win32/ |
H A D | flock.h | 7 #define LOCK_EX 2 macro
|
H A D | flock.c | 66 case LOCK_EX: /* exclusive */ in flock()
|
/PHP-5.6/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 | 336 static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; 604 } else if (flags & LOCK_EX) { in PHP_FUNCTION() 621 if (flags & LOCK_EX && (!php_stream_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { in PHP_FUNCTION()
|
/PHP-5.6/ext/dba/ |
H A D | dba.c | 744 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open() 749 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open() 770 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open() 826 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open() 827 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
|
/PHP-5.6/ext/session/ |
H A D | mod_files.c | 171 ret = flock(data->fd, LOCK_EX); in ps_files_open()
|
/PHP-5.6/ext/spl/internal/ |
H A D | splfileobject.inc | 115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
|
/PHP-5.6/main/streams/ |
H A D | userspace.c | 1008 case LOCK_EX: in php_userstreamop_set_option()
|
/PHP-5.6/ |
H A D | NEWS | 8592 - Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia) 10625 - Added support for LOCK_EX flag for file_put_contents(). (Ilia)
|
/PHP-5.6/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 27733 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 27813 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|
Completed in 400 milliseconds