Searched refs:LOCK_EX (Results 1 – 18 of 18) sorted by relevance
/php-src/ext/standard/tests/file/ |
H A D | userstreams_004.phpt | 33 test("stream_lock not implemented", $fd2, LOCK_EX); 35 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) { 52 ------ fclock(LOCK_EX): ------- 54 ------ fclock(LOCK_EX|LOCK_NB): -------
|
H A D | flock.phpt | 21 var_dump(flock($fp, LOCK_EX)); 29 var_dump(flock($fp, LOCK_EX, $would)); 63 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
|
H A D | flock_error.phpt | 58 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 60 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN 62 flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN
|
H A D | flock_basic.phpt | 17 var_dump(flock($file_handle, LOCK_EX)); 28 var_dump(flock($dir_handle, LOCK_EX));
|
H A D | bug65272.phpt | 12 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
|
H A D | bug81223.phpt | 11 var_dump(flock($stream1, LOCK_EX));
|
H A D | flock_variation.phpt | 14 LOCK_EX, 16 LOCK_EX|LOCK_NB, 17 LOCK_SH|LOCK_EX,
|
/php-src/Zend/tests/ |
H A D | bug78396.phpt | 7 file_put_contents(__DIR__ . '/bug78396.txt', '1', FILE_APPEND | LOCK_EX); 8 file_put_contents(__DIR__ . '/bug78396.txt', '2', FILE_APPEND | LOCK_EX);
|
/php-src/ext/standard/ |
H A D | flock_compat.c | 39 else if (operation & LOCK_EX) in php_flock() 118 case LOCK_EX: /* exclusive */
|
H A D | flock_compat.h | 39 # define LOCK_EX 2 macro
|
H A D | file.stub.php | 31 const LOCK_EX = UNKNOWN; define
|
H A D | file.c | 191 int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN }; in php_flock_common() 473 } else if (flags & LOCK_EX) { in PHP_FUNCTION() 490 if ((flags & LOCK_EX) && (!php_stream_supports_lock(stream) || php_stream_lock(stream, LOCK_EX))) { in PHP_FUNCTION()
|
/php-src/ext/dba/ |
H A D | dba.c | 697 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open() 708 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open() 745 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open() 809 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open() 810 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
|
/php-src/ext/session/ |
H A D | mod_files.c | 210 ret = flock(data->fd, LOCK_EX); in ps_files_open()
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 74 # define LOCK_EX 1 macro 79 if (op == LOCK_EX) { in zend_file_cache_flock() 101 # define LOCK_EX 1 macro 1120 if (zend_file_cache_flock(fd, LOCK_EX) != 0) {
|
/php-src/main/streams/ |
H A D | userspace.c | 900 case LOCK_EX: in php_userstreamop_set_option()
|
/php-src/main/ |
H A D | main.c | 907 php_flock(fd, LOCK_EX); in php_log_err_with_severity()
|
/php-src/build/ |
H A D | gen_stub.php | 6100 if (!flock($lockFd, LOCK_EX)) {
|
Completed in 57 milliseconds