Home
last modified time | relevance | path

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

/PHP-8.2/ext/dba/tests/
H A Dtest.inc3 $lock_flag = 'l';
/PHP-8.2/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.2/ext/dba/
H A Ddba.c466 int lock_mode, lock_flag = 0; in php_dba_open() local
611 lock_flag = 0; in php_dba_open()
616 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
622 lock_flag = DBA_LOCK_ALL; in php_dba_open()
633 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
640 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
645 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
656 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
693 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
732 …info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSI… in php_dba_open()
/PHP-8.2/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 23 milliseconds