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

/PHP_TRUNK/ext/standard/
H A Dbrowscap.c438 char *agent_name = NULL; local
461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!b", &agent_name, &agent_name_len, &return_array) == FAILURE) {
465 if (agent_name == NULL) {
475 agent_name = Z_STRVAL_P(http_user_agent);
479 lookup_browser_name = estrndup(agent_name, agent_name_len);
/PHP_TRUNK/ext/soap/
H A Dsoap.c2073 zval *agent_name; local
2086 (agent_name = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT")-1)) != NULL &&
2087 Z_TYPE_P(agent_name) == IS_STRING) {
2088 if (strncmp(Z_STRVAL_P(agent_name), "Shockwave Flash", sizeof("Shockwave Flash")-1) == 0) {

Completed in 10 milliseconds