/dports/textproc/raptor2/raptor2-2.0.15/src/ |
H A D | raptor_www_libxml.c | 65 size_t ua_len = 0; in raptor_www_libxml_fetch() local 76 ua_len = strlen(www->user_agent); in raptor_www_libxml_fetch() 77 len += 12+ua_len+2; /* strlen("User-Agent: ") + \r\n */ in raptor_www_libxml_fetch() 99 memcpy(p, www->user_agent, ua_len); in raptor_www_libxml_fetch() 100 p+= ua_len; in raptor_www_libxml_fetch()
|
H A D | raptor_www.c | 280 size_t ua_len; in raptor_www_set_user_agent() local 287 ua_len = strlen(user_agent); in raptor_www_set_user_agent() 288 ua_copy = RAPTOR_MALLOC(char*, ua_len + 1); in raptor_www_set_user_agent() 292 memcpy(ua_copy, user_agent, ua_len + 1); /* copy NUL */ in raptor_www_set_user_agent()
|
/dports/textproc/raptor/raptor-1.4.21/src/ |
H A D | raptor_www_libxml.c | 72 size_t ua_len=0; in raptor_www_libxml_fetch() local 83 ua_len=strlen(www->user_agent); in raptor_www_libxml_fetch() 84 len+=12+ua_len+2; /* strlen("User-Agent: ") + \r\n */ in raptor_www_libxml_fetch() 106 strncpy(p, www->user_agent, ua_len); in raptor_www_libxml_fetch() 107 p+= ua_len; in raptor_www_libxml_fetch()
|
/dports/lang/php81/php-8.1.1/ext/standard/ |
H A D | http_fopen_wrapper.c | 587 size_t ua_len; in php_stream_url_wrap_http_ex() local 589 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 592 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 593 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 594 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 595 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 596 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/www/mod_php81/php-8.1.1/ext/standard/ |
H A D | http_fopen_wrapper.c | 587 size_t ua_len; in php_stream_url_wrap_http_ex() local 589 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 592 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 593 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 594 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 595 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 596 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/lang/php74/php-7.4.27/ext/standard/ |
H A D | http_fopen_wrapper.c | 593 size_t ua_len; in php_stream_url_wrap_http_ex() local 595 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 598 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 599 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 600 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 601 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 602 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/lang/php80/php-8.0.15/ext/standard/ |
H A D | http_fopen_wrapper.c | 591 size_t ua_len; in php_stream_url_wrap_http_ex() local 593 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 596 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 597 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 598 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 599 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 600 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/www/mod_php74/php-7.4.27/ext/standard/ |
H A D | http_fopen_wrapper.c | 593 size_t ua_len; in php_stream_url_wrap_http_ex() local 595 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 598 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 599 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 600 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 601 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 602 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/www/mod_php80/php-8.0.15/ext/standard/ |
H A D | http_fopen_wrapper.c | 591 size_t ua_len; in php_stream_url_wrap_http_ex() local 593 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 596 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 597 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 598 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 599 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 600 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/lang/php73/php-7.3.33/ext/standard/ |
H A D | http_fopen_wrapper.c | 594 size_t ua_len; in php_stream_url_wrap_http_ex() local 596 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 599 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 600 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 601 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 602 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 603 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|
/dports/www/mod_php73/php-7.3.33/ext/standard/ |
H A D | http_fopen_wrapper.c | 594 size_t ua_len; in php_stream_url_wrap_http_ex() local 596 ua_len = sizeof(_UA_HEADER) + strlen(ua_str); in php_stream_url_wrap_http_ex() 599 if (ua_len > sizeof(_UA_HEADER)) { in php_stream_url_wrap_http_ex() 600 ua = emalloc(ua_len + 1); in php_stream_url_wrap_http_ex() 601 if ((ua_len = slprintf(ua, ua_len, _UA_HEADER, ua_str)) > 0) { in php_stream_url_wrap_http_ex() 602 ua[ua_len] = 0; in php_stream_url_wrap_http_ex() 603 smart_str_appendl(&req_buf, ua, ua_len); in php_stream_url_wrap_http_ex()
|