Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dbrowscap.c559 if (ZSTR_LEN(agent_name) < browscap_get_minimum_length(entry)) { in browser_reg_compare()
565 ZSTR_VAL(agent_name), entry->prefix_len, in browser_reg_compare()
575 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare()
581 ZSTR_VAL(agent_name) + ZSTR_LEN(agent_name)); in browser_reg_compare()
591 if (zend_string_equals(agent_name, pattern_lc)) { in browser_reg_compare()
611 …rc = pcre2_match(re, (PCRE2_SPTR)ZSTR_VAL(agent_name), ZSTR_LEN(agent_name), 0, 0, match_data, php… in browser_reg_compare()
681 zend_string *agent_name = NULL, *lookup_browser_name; in PHP_FUNCTION() local
689 Z_PARAM_STR_EX(agent_name, 1, 0) in PHP_FUNCTION()
708 if (agent_name == NULL) { in PHP_FUNCTION()
720 agent_name = Z_STR_P(http_user_agent); in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/soap/
H A Dsoap.c1769 zval *agent_name; local
1779 …(agent_name = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT",…
1780 Z_TYPE_P(agent_name) == IS_STRING) {
1781 if (strncmp(Z_STRVAL_P(agent_name), "Shockwave Flash", sizeof("Shockwave Flash")-1) == 0) {

Completed in 25 milliseconds