Lines Matching refs:lock_flag
645 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local
738 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
743 lock_flag = DBA_LOCK_ALL; in php_dba_open()
755 lock_flag = 0; in php_dba_open()
759 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
765 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
770 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
781 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
818 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
834 if (!lock_flag) { in php_dba_open()
865 …info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSI… in php_dba_open()