Searched refs:mimetype_len (Results 1 – 2 of 2) sorted by relevance
/PHP-8.4/main/ |
H A D | SAPI.c | 302 uint32_t mimetype_len, charset_len; in get_default_content_type() local 306 mimetype_len = (uint32_t)strlen(SG(default_mimetype)); in get_default_content_type() 309 mimetype_len = sizeof(SAPI_DEFAULT_MIMETYPE) - 1; in get_default_content_type() 322 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len; in get_default_content_type() 325 p = zend_mempcpy(p, mimetype, mimetype_len); in get_default_content_type() 329 *len = prefix_len + mimetype_len; in get_default_content_type() 331 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1); in get_default_content_type()
|
/PHP-8.4/ext/iconv/ |
H A D | iconv.c | 302 int output_status, mimetype_len = 0; in php_iconv_output_handler() local 315 mimetype_len = (int)(s - SG(sapi_headers).mimetype); in php_iconv_output_handler() 326 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : … in php_iconv_output_handler() 328 …len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (i… in php_iconv_output_handler()
|
Completed in 20 milliseconds