Home
last modified time | relevance | path

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

/PHP-7.2/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.2/ext/standard/
H A Dflock_compat.c63 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck); in php_flock()
65 if (operation & LOCK_NB && ret == -1 && in php_flock()
132 switch (operation & ~LOCK_NB) { /* translate to LockFileEx() op */
135 ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
140 if (LockFileEx(hdl, ((operation & LOCK_NB) ? LOCKFILE_FAIL_IMMEDIATELY : 0),
H A Dflock_compat.h33 # define LOCK_NB 4 macro
H A Dfile.c361 act = flock_values[act - 1] | (operation & PHP_LOCK_NB ? LOCK_NB : 0); in PHP_FUNCTION()
/PHP-7.2/ext/spl/internal/
H A Dsplfileobject.inc115 * @param operation lock operation (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB)
/PHP-7.2/main/streams/
H A Duserspace.c945 if (value & LOCK_NB) { in php_userstreamop_set_option()
948 switch(value & ~LOCK_NB) { in php_userstreamop_set_option()
/PHP-7.2/ext/dba/
H A Ddba.c852 lock_mode |= LOCK_NB; /* test =: non blocking */ in php_dba_open()
/PHP-7.2/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 510 milliseconds