Lines Matching refs:hptr
488 dba_handler *hptr; in ZEND_INI_MH() local
495 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
497 if (!hptr->name) { in ZEND_INI_MH()
501 DBA_G(default_hptr) = hptr; in ZEND_INI_MH()
545 dba_handler *hptr; in PHP_MINFO_FUNCTION() local
548 for(hptr = handler; hptr->name; hptr++) { in PHP_MINFO_FUNCTION()
549 smart_str_appends(&handlers, hptr->name); in PHP_MINFO_FUNCTION()
637 dba_handler *hptr; in php_dba_open() local
695 hptr = DBA_G(default_hptr); in php_dba_open()
696 if (!hptr) { in php_dba_open()
702 for (hptr = handler; hptr->name && strcasecmp(hptr->name, Z_STRVAL(args[2])); hptr++); in php_dba_open()
705 if (!hptr->name) { in php_dba_open()
729 if ((hptr->flags & DBA_LOCK_ALL) == 0) { in php_dba_open()
730 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
736 if ((hptr->flags & DBA_LOCK_ALL) == 0) { in php_dba_open()
737 … Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_NOTICE, "Handler %s does locking internally", hptr->name); in php_dba_open()
742 if ((hptr->flags & DBA_LOCK_ALL) == 0) { in php_dba_open()
743 …L(args[0]), Z_STRVAL(args[1]), E_WARNING, "Locking cannot be disabled for handler %s", hptr->name); in php_dba_open()
751 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
810 if ((hptr->flags & DBA_LOCK_ALL) == 0) { in php_dba_open()
811 …, "Handler %s uses its own locking which doesn't support mode modifier t (test lock)", hptr->name); in php_dba_open()
815 …er %s doesn't uses locking for this mode which makes modifier t (test lock) obsolete", hptr->name); in php_dba_open()
835 …info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSI… in php_dba_open()
842 if (hptr->flags & DBA_LOCK_ALL) { in php_dba_open()
904 if (!error && (hptr->flags&DBA_STREAM_OPEN)==DBA_STREAM_OPEN) { in php_dba_open()
916 if (hptr->flags & (DBA_NO_APPEND|DBA_CAST_AS_FD)) { in php_dba_open()
935 if (error || hptr->open(info, &error) != SUCCESS) { in php_dba_open()
937 …(args[1]), E_WARNING, "Driver initialization failed for handler: %s%s%s", hptr->name, error?": ":"… in php_dba_open()
942 info->hnd = hptr; in php_dba_open()
1224 dba_handler *hptr; in PHP_FUNCTION() local
1233 for(hptr = handler; hptr->name; hptr++) { in PHP_FUNCTION()
1236 char *str = hptr->info(hptr, NULL); in PHP_FUNCTION()
1237 add_assoc_string(return_value, hptr->name, str); in PHP_FUNCTION()
1240 add_next_index_string(return_value, hptr->name); in PHP_FUNCTION()