Searched refs:lock_flag (Results 1 – 6 of 6) sorted by relevance
/PHP-5.3/ext/dba/tests/ |
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))===fa… 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 D | test.inc | 3 $lock_flag = 'l';
|
H A D | dba_gdbm.phpt | 12 $lock_flag = ''; // lock in library
|
H A D | dba_qdbm.phpt | 12 $lock_flag = ''; // lock in library
|
/PHP-5.3/ext/dba/ |
H A D | dba.c | 617 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local 704 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open() 709 lock_flag = DBA_LOCK_ALL; in php_dba_open() 721 lock_flag = 0; in php_dba_open() 725 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open() 731 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open() 736 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open() 741 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open() 762 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open() 778 if (!lock_flag) { in php_dba_open() [all …]
|
/PHP-5.3/main/streams/ |
H A D | plain_wrapper.c | 112 int lock_flag; /* stores the lock state */ member 155 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_fd_int() 171 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_file_int() 210 self->lock_flag = LOCK_UN; in _php_stream_fopen_tmpfile() 303 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_pipe() 617 data->lock_flag = value; in php_stdiop_set_option()
|
Completed in 14 milliseconds