Searched refs:lock_flag (Results 1 - 4 of 4) sorted by relevance
| /PHP_TRUNK/ext/dba/tests/ |
| H A D | test.inc | 3 $lock_flag = 'l';
|
| H A D | dba_handler.inc | 6 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_TRUNK/main/streams/ |
| H A D | plain_wrapper.c | 117 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;
|
| /PHP_TRUNK/ext/dba/ |
| H A D | dba.c | 611 int lock_mode, lock_flag, lock_dbf = 0; local 698 lock_flag = (hptr->flags & DBA_LOCK_ALL); 703 lock_flag = DBA_LOCK_ALL; 715 lock_flag = 0; 719 lock_flag = (hptr->flags&DBA_LOCK_ALL); 725 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; 730 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; 735 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; 756 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; 772 if (!lock_flag) { [all...] |
Completed in 23 milliseconds