Home
last modified time | relevance | path

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

/php-src/main/
H A DSAPI.c302 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-src/ext/iconv/
H A Diconv.c302 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 12 milliseconds