Lines Matching refs:mode
58 ZEND_ARG_INFO(0, mode)
65 ZEND_ARG_INFO(0, mode)
300 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
307 if(info->mode != DBA_WRITER && info->mode != DBA_TRUNC && info->mode != DBA_CREAT) { \
552 static void php_dba_update(INTERNAL_FUNCTION_PARAMETERS, int mode) in php_dba_update() argument
575 if (info->hnd->update(info, key_str, key_len, val, val_len, mode TSRMLS_CC) == SUCCESS) { in php_dba_update()
626 char mode[4], *pmode, *lock_file_mode = NULL; in php_dba_open() local
705 strlcpy(mode, Z_STRVAL_PP(args[1]), sizeof(mode)); in php_dba_open()
706 pmode = &mode[0]; in php_dba_open()
814 info->mode = modenr; in php_dba_open()
818 info->lock.mode = lock_mode; in php_dba_open()
826 if ( ( (lock_mode&LOCK_EX) && (other->lock.mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()
827 || ( (other->lock.mode&LOCK_EX) && (lock_mode&(LOCK_EX|LOCK_SH)) ) in php_dba_open()