Searched refs:LOCK_NB (Results 1 – 12 of 12) sorted by relevance
/PHP-8.2/ext/standard/tests/file/ |
H A D | userstreams_004.phpt | 37 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB); 50 ------ fclock(LOCK_SH|LOCK_NB): ------- 54 ------ fclock(LOCK_EX|LOCK_NB): ------- 58 ------ fclock(LOCK_UN|LOCK_NB): -------
|
H A D | flock.phpt | 12 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 19 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 25 var_dump(flock($fp, LOCK_SH|LOCK_NB, $would));
|
H A D | flock_basic.phpt | 15 var_dump(flock($file_handle, LOCK_SH|LOCK_NB)); 26 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
|
H A D | flock_error.phpt | 20 LOCK_NB, 45 var_dump(flock($fp, LOCK_SH|LOCK_NB));
|
H A D | bug65272.phpt | 12 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
|
H A D | flock_variation.phpt | 15 LOCK_SH|LOCK_NB, 16 LOCK_EX|LOCK_NB,
|
/PHP-8.2/ext/standard/ |
H A D | flock_compat.c | 48 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock() 50 if ((operation & LOCK_NB) && ret == -1 && in php_flock() 117 switch (operation & ~LOCK_NB) { /* translate to LockFileEx() op */ 120 ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0), 125 if (LockFileEx(hdl, ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
|
H A D | flock_compat.h | 40 # define LOCK_NB 4 macro
|
H A D | file.stub.php | 41 const LOCK_NB = UNKNOWN; define
|
H A D | file.c | 217 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in php_flock_common()
|
/PHP-8.2/main/streams/ |
H A D | userspace.c | 921 if (value & LOCK_NB) { in php_userstreamop_set_option() 924 switch(value & ~LOCK_NB) { in php_userstreamop_set_option()
|
/PHP-8.2/ext/dba/ |
H A D | dba.c | 721 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
|
Completed in 20 milliseconds