Searched refs:LOCK_NB (Results 1 – 13 of 13) sorted by relevance
/PHP-7.1/ext/standard/tests/file/ |
H A D | userstreams_004.phpt | 36 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB); 49 ------ fclock(LOCK_SH|LOCK_NB): ------- 53 ------ fclock(LOCK_EX|LOCK_NB): ------- 57 ------ fclock(LOCK_UN|LOCK_NB): -------
|
H A D | flock.phpt | 14 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 18 var_dump(flock($fp, LOCK_SH|LOCK_NB)); 24 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)); 24 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
|
H A D | bug65272.phpt | 16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
|
H A D | flock_error.phpt | 19 LOCK_NB, 40 var_dump(flock($fp, LOCK_SH|LOCK_NB));
|
H A D | flock_variation.phpt | 20 LOCK_SH|LOCK_NB, 21 LOCK_EX|LOCK_NB,
|
/PHP-7.1/ext/standard/ |
H A D | flock_compat.c | 67 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock() 69 if (operation & LOCK_NB && ret == -1 && in php_flock() 136 switch (operation & ~LOCK_NB) { /* translate to LockFileEx() op */ 139 ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0), 144 if (LockFileEx(hdl, ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
|
H A D | flock_compat.h | 33 # define LOCK_NB 4 macro
|
H A D | file.c | 362 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in PHP_FUNCTION()
|
/PHP-7.1/ext/spl/internal/ |
H A D | splfileobject.inc | 115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
|
/PHP-7.1/main/streams/ |
H A D | userspace.c | 948 if (value & LOCK_NB) { in php_userstreamop_set_option() 951 switch(value & ~LOCK_NB) { in php_userstreamop_set_option()
|
/PHP-7.1/ext/dba/ |
H A D | dba.c | 820 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
|
/PHP-7.1/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 431 milliseconds