Lines Matching refs:agent_name
570 zend_string *agent_name = va_arg(args, zend_string *); in browser_reg_compare() local
584 if (ZSTR_LEN(agent_name) < browscap_get_minimum_length(entry)) { in browser_reg_compare()
590 ZSTR_VAL(agent_name), entry->prefix_len, in browser_reg_compare()
600 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare()
606 ZSTR_VAL(agent_name) + ZSTR_LEN(agent_name)); in browser_reg_compare()
616 if (zend_string_equals(agent_name, pattern_lc)) { in browser_reg_compare()
636 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(agent_name), ZSTR_LEN(agent_name), 0, re_options, match_… in browser_reg_compare()
707 zend_string *agent_name = NULL, *lookup_browser_name; in PHP_FUNCTION() local
730 Z_PARAM_STR_EX(agent_name, 1, 0) in PHP_FUNCTION()
734 if (agent_name == NULL) { in PHP_FUNCTION()
746 agent_name = Z_STR_P(http_user_agent); in PHP_FUNCTION()
749 lookup_browser_name = zend_string_tolower(agent_name); in PHP_FUNCTION()