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

/PHP_5_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.($lock_flag ? 't' : ''), $handler))===false) {
60 if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!==FALSE) {
76 if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) {
82 if ($lock_flag == '') {
86 $lock_flag = '';
H A Dtest.inc3 $lock_flag = 'l';
/PHP_5_4/ext/dba/
H A Ddba.c612 int lock_mode, lock_flag, lock_dbf = 0; local
699 lock_flag = (hptr->flags & DBA_LOCK_ALL);
704 lock_flag = DBA_LOCK_ALL;
716 lock_flag = 0;
720 lock_flag = (hptr->flags&DBA_LOCK_ALL);
726 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0;
731 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0;
736 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0;
757 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0;
773 if (!lock_flag) {
[all...]
/PHP_5_4/main/streams/
H A Dplain_wrapper.c117 int lock_flag; /* stores the lock state */ member in struct:__anon302
160 self->lock_flag = LOCK_UN;
176 self->lock_flag = LOCK_UN;
215 self->lock_flag = LOCK_UN;
308 self->lock_flag = LOCK_UN;
619 data->lock_flag = value;

Completed in 6 milliseconds