Searched refs:lock_flag (Results 1 - 4 of 4) sorted by relevance

/PHP_5_5/ext/dba/tests/
H A Dtest.inc3 $lock_flag = 'l';
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.($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 = '';
/PHP_5_5/ext/dba/
H A Ddba.c624 int lock_mode, lock_flag, lock_dbf = 0; local
712 lock_flag = (hptr->flags & DBA_LOCK_ALL);
717 lock_flag = DBA_LOCK_ALL;
729 lock_flag = 0;
733 lock_flag = (hptr->flags&DBA_LOCK_ALL);
739 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0;
744 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0;
749 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0;
770 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0;
786 if (!lock_flag) {
[all...]
/PHP_5_5/main/streams/
H A Dplain_wrapper.c119 int lock_flag; /* stores the lock state */ member in struct:__anon1
162 self->lock_flag = LOCK_UN;
178 self->lock_flag = LOCK_UN;
217 self->lock_flag = LOCK_UN;
310 self->lock_flag = LOCK_UN;
649 data->lock_flag = value;

Completed in 32 milliseconds