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

/PHP_5_5/ext/iconv/
H A Diconv.c335 int output_status, mimetype_len = 0; local
349 mimetype_len = s - SG(sapi_headers).mimetype;
360 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, (int)(p - ICONVG(output_encoding)), ICONVG(output_encoding));
362 len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (int) strlen(mimetype), mimetype, ICONVG(output_encoding));
/PHP_5_5/main/
H A DSAPI.c298 uint mimetype_len, charset_len; local
302 mimetype_len = strlen(SG(default_mimetype));
305 mimetype_len = sizeof(SAPI_DEFAULT_MIMETYPE) - 1;
318 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len;
321 memcpy(p, mimetype, mimetype_len);
322 p += mimetype_len;
327 *len = prefix_len + mimetype_len;
329 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1);

Completed in 8 milliseconds