Home
last modified time | relevance | path

Searched refs:LOCK_EX (Results 1 – 16 of 16) sorted by relevance

/PHP-5.6/ext/standard/tests/file/
H A Duserstreams_004.phpt32 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 Dflock_basic.phpt17 var_dump(flock($file_handle, LOCK_EX));
26 var_dump(flock($dir_handle, LOCK_EX));
H A Dflock.phpt20 var_dump(flock($fp, LOCK_EX));
28 var_dump(flock($fp, LOCK_EX, $would));
H A Dbug65272.phpt16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
H A Dflock_variation.phpt19 LOCK_EX,
21 LOCK_EX|LOCK_NB,
22 LOCK_SH|LOCK_EX,
/PHP-5.6/win32/
H A Dflock.h7 #define LOCK_EX 2 macro
H A Dflock.c66 case LOCK_EX: /* exclusive */ in flock()
/PHP-5.6/ext/standard/
H A Dflock_compat.c58 else if (operation & LOCK_EX) in php_flock()
137 case LOCK_EX: /* exclusive */
H A Dflock_compat.h32 # define LOCK_EX 2 macro
H A Dfile.c336 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 Ddba.c744 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 Dmod_files.c171 ret = flock(data->fd, LOCK_EX); in ps_files_open()
/PHP-5.6/ext/spl/internal/
H A Dsplfileobject.inc115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
/PHP-5.6/main/streams/
H A Duserspace.c1008 case LOCK_EX: in php_userstreamop_set_option()
/PHP-5.6/
H A DNEWS8592 - 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 Dsqlite3.c27733 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB);
27813 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {

Completed in 400 milliseconds