Searched defs:mimetype (Results 1 - 8 of 8) sorted by relevance

/PHP_5_4/main/
H A DSAPI.h61 char *mimetype; member in struct:__anon287
205 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC);
H A Dphp_logos.c28 const char *mimetype; member in struct:_php_info_logo
36 PHPAPI int php_register_info_logo(char *logo_string, const char *mimetype, const unsigned char *data, int size) argument
40 info_logo.mimetype = mimetype;
41 info_logo.mimelen = strlen(mimetype);
84 memcpy(content_header + sizeof(CONTENT_TYPE_HEADER) - 1 , logo_image->mimetype, logo_image->mimelen);
H A DSAPI.c297 char *mimetype, *charset, *content_type; local
301 mimetype = SG(default_mimetype);
304 mimetype = SAPI_DEFAULT_MIMETYPE;
315 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
321 memcpy(p, mimetype, mimetype_len);
329 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1);
357 * If "mimetype" is non-NULL, it should point to a pointer allocated
359 * re-allocated and the new length is returned. If mimetype is
363 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC) argument
369 if (*mimetype !
785 char *ptr = colon_offset+1, *mimetype = NULL, *newheader; local
[all...]
/PHP_5_4/sapi/apache/
H A Dmod_php5.c579 char *mimetype; local
585 mimetype = pstrdup(r->pool, tmpmimetype);
588 mimetype = SAPI_DEFAULT_MIMETYPE "; charset=" SAPI_DEFAULT_CHARSET;
590 return mimetype;
/PHP_5_4/sapi/apache_hooks/
H A Dmod_php5.c629 char *mimetype; local
635 mimetype = pstrdup(r->pool, tmpmimetype);
638 mimetype = SAPI_DEFAULT_MIMETYPE "; charset=" SAPI_DEFAULT_CHARSET;
640 return mimetype;
/PHP_5_4/ext/iconv/
H A Diconv.c334 char *s, *content_type, *mimetype = NULL; local
344 if (SG(sapi_headers).mimetype && !strncasecmp(SG(sapi_headers).mimetype, "text/", 5)) {
345 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
346 mimetype = SG(sapi_headers).mimetype;
348 mimetype = SG(sapi_headers).mimetype;
349 mimetype_len = s - SG(sapi_headers).mimetype;
352 mimetype
[all...]
/PHP_5_4/ext/mbstring/
H A Dmbstring.c2099 char *s, *mimetype = NULL; local
2120 if (SG(sapi_headers).mimetype &&
2123 SG(sapi_headers).mimetype,
2124 strlen(SG(sapi_headers).mimetype))) {
2125 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
2126 mimetype = estrdup(SG(sapi_headers).mimetype);
2128 mimetype = estrndup(SG(sapi_headers).mimetype,s-SG(sapi_headers).mimetype);
[all...]
/PHP_5_4/ext/fileinfo/libmagic/
H A Dfile.h307 char mimetype[MAXMIME]; /* MIME type */ member in struct:magic

Completed in 27 milliseconds