Home
last modified time | relevance | path

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

/PHP-8.3/ext/dba/tests/
H A Dtest.inc3 $lock_flag = 'l';
/PHP-8.3/ext/dba/tests/setup/
H A Dsetup_dba_tests.inc47 $lock_flag = $lock->value;
51 $db_file = $func($name, 'n'.$lock_flag, $handler);
91 $lock_flag = $lock->value;
93 $db_writer = dba_open($name, 'w'.$lock_flag, $handler);
128 $db_reader = @dba_open($name, 'r'.$lock_flag.$test_flag, $handler);
156 $db_reader = dba_open($name, 'r'.$lock_flag, $handler);
161 if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) {
/PHP-8.3/ext/dba/
H A Ddba.c481 int lock_mode, lock_flag = 0; in php_dba_open() local
625 lock_flag = 0; in php_dba_open()
630 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
636 lock_flag = DBA_LOCK_ALL; in php_dba_open()
647 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
654 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
659 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
670 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
707 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
746 …info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSI… in php_dba_open()
/PHP-8.3/main/streams/
H A Dplain_wrapper.c142 int lock_flag; /* stores the lock state */ member
186 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_fd_int()
206 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_file_int()
237 self->lock_flag = LOCK_UN; in _php_stream_fopen_temporary_file()
336 self->lock_flag = LOCK_UN; in _php_stream_fopen_from_pipe()
738 data->lock_flag = value; in php_stdiop_set_option()

Completed in 18 milliseconds