Home
last modified time | relevance | path

Searched refs:LOCK_NB (Results 1 – 13 of 13) sorted by relevance

/PHP-7.1/ext/standard/tests/file/
H A Duserstreams_004.phpt36 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 Dflock.phpt14 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 Dflock_basic.phpt15 var_dump(flock($file_handle, LOCK_SH|LOCK_NB));
24 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
H A Dbug65272.phpt16 var_dump(flock($fp2, LOCK_EX|LOCK_NB, $wouldblock));
H A Dflock_error.phpt19 LOCK_NB,
40 var_dump(flock($fp, LOCK_SH|LOCK_NB));
H A Dflock_variation.phpt20 LOCK_SH|LOCK_NB,
21 LOCK_EX|LOCK_NB,
/PHP-7.1/ext/standard/
H A Dflock_compat.c67 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 Dflock_compat.h33 # define LOCK_NB 4 macro
H A Dfile.c362 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in PHP_FUNCTION()
/PHP-7.1/ext/spl/internal/
H A Dsplfileobject.inc115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
/PHP-7.1/main/streams/
H A Duserspace.c948 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 Ddba.c820 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
/PHP-7.1/ext/sqlite3/libsqlite/
H A Dsqlite3.c34923 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB);
35001 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {

Completed in 431 milliseconds