Searched refs:LOCK_EX (Results 1 – 14 of 14) sorted by relevance
/PHP-7.2/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.2/ext/standard/ |
H A D | flock_compat.c | 54 else if (operation & LOCK_EX) in php_flock() 133 case LOCK_EX: /* exclusive */
|
H A D | flock_compat.h | 32 # define LOCK_EX 2 macro
|
H A D | file.c | 329 static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; 608 } else if (flags & LOCK_EX) { in PHP_FUNCTION() 625 if (flags & LOCK_EX && (!php_stream_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { in PHP_FUNCTION()
|
/PHP-7.2/ext/dba/ |
H A D | dba.c | 772 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open() 783 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open() 820 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open() 876 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open() 877 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
|
/PHP-7.2/ext/opcache/ |
H A D | zend_file_cache.c | 56 # define LOCK_EX 1 macro 61 if (op == LOCK_EX) { in zend_file_cache_flock() 83 # define LOCK_EX 1 macro 844 if (zend_file_cache_flock(fd, LOCK_EX) != 0) {
|
/PHP-7.2/ext/session/ |
H A D | mod_files.c | 214 ret = flock(data->fd, LOCK_EX); in ps_files_open()
|
/PHP-7.2/ext/spl/internal/ |
H A D | splfileobject.inc | 115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
|
/PHP-7.2/main/streams/ |
H A D | userspace.c | 952 case LOCK_EX: in php_userstreamop_set_option()
|
/PHP-7.2/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 34923 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 35001 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|
Completed in 418 milliseconds