Home
last modified time | relevance | path

Searched refs:lock_flag (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/ext/dba/tests/
H A Ddba_handler.inc6 if (($db_file = dba_open($db_filename, 'n'.$lock_flag, $handler))!==FALSE) {
17 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))===FALSE) {
42 $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler);
43 if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.'t', $handler))===false) {
68 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!==FALSE) {
84 if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) {
90 if ($lock_flag == '') {
94 $lock_flag = '';
H A Dtest.inc3 $lock_flag = 'l';
H A Ddba_lmdb.phpt12 $lock_flag = ''; // lock in library
H A Ddba_qdbm.phpt12 $lock_flag = ''; // lock in library
H A Ddba_gdbm.phpt12 $lock_flag = ''; // lock in library
H A Ddba_tcadb.phpt11 $lock_flag = 'l';
/PHP-7.4/ext/dba/
H A Ddba.c647 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local
746 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
751 lock_flag = DBA_LOCK_ALL; in php_dba_open()
763 lock_flag = 0; in php_dba_open()
767 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
773 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
778 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
789 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
826 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
842 if (!lock_flag) { in php_dba_open()
[all …]
/PHP-7.4/main/streams/
H A Dplain_wrapper.c135 int lock_flag; /* stores the lock state */ member
179 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_fd_int()
199 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_file_int()
230 self->lock_flag = LOCK_UN; in _php_stream_fopen_temporary_file()
321 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_pipe()
701 data->lock_flag = value; in php_stdiop_set_option()

Completed in 46 milliseconds