Home
last modified time | relevance | path

Searched refs:agent_name (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/standard/
H A Dbrowscap.c570 zend_string *agent_name = va_arg(args, zend_string *); in browser_reg_compare() local
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()
[all …]
/PHP-7.3/ext/soap/
H A Dsoap.c2041 zval *agent_name; local
2051 …(agent_name = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT",…
2052 Z_TYPE_P(agent_name) == IS_STRING) {
2053 if (strncmp(Z_STRVAL_P(agent_name), "Shockwave Flash", sizeof("Shockwave Flash")-1) == 0) {

Completed in 22 milliseconds