Lines Matching refs:htab
31 HashTable *htab; member
148 int persistent = bdata->htab->persistent; in php_browscap_parser_cb()
227 …zend_hash_update(bdata->htab, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1) + 1, (void *) &bdata->current_sec… in php_browscap_parser_cb()
254 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
255 if (browdata->htab == NULL) { in browscap_read_file()
259 if (zend_hash_init_ex(browdata->htab, 0, NULL, in browscap_read_file()
263 pefree(browdata->htab, persistent); in browscap_read_file()
264 browdata->htab = NULL; in browscap_read_file()
272 zend_hash_destroy(browdata->htab); in browscap_read_file()
273 pefree(browdata->htab, persistent); in browscap_read_file()
274 browdata->htab = NULL; in browscap_read_file()
295 browscap_globals->activation_bdata.htab = NULL; in browscap_globals_ctor()
305 if (bdata->htab != NULL) { in browscap_bdata_dtor()
306 zend_hash_destroy(bdata->htab); in browscap_bdata_dtor()
307 pefree(bdata->htab, persistent); in browscap_bdata_dtor()
308 bdata->htab = NULL; in browscap_bdata_dtor()
485 if (bdata->htab == NULL) { /* not initialized yet */ in PHP_FUNCTION()
491 if (!global_bdata.htab) { in PHP_FUNCTION()
517 …if (zend_hash_find(bdata->htab, lookup_browser_name, agent_name_len + 1, (void **) &agent) == FAIL… in PHP_FUNCTION()
519 …zend_hash_apply_with_arguments(bdata->htab TSRMLS_CC, (apply_func_args_t) browser_reg_compare, 3, … in PHP_FUNCTION()
523 …} else if (zend_hash_find(bdata->htab, DEFAULT_SECTION_NAME, sizeof(DEFAULT_SECTION_NAME), (void *… in PHP_FUNCTION()
539 …if (zend_hash_find(bdata->htab, Z_STRVAL_PP(z_agent_name), Z_STRLEN_PP(z_agent_name) + 1, (void **… in PHP_FUNCTION()