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

/PHP_5_6/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_6/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_6/main/
H A DSAPI.h62 char *mimetype; member in struct:__anon3
208 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC);
H A DSAPI.c313 char *mimetype, *charset, *content_type; local
317 mimetype = SG(default_mimetype);
320 mimetype = SAPI_DEFAULT_MIMETYPE;
331 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
337 memcpy(p, mimetype, mimetype_len);
345 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1);
373 * If "mimetype" is non-NULL, it should point to a pointer allocated
375 * re-allocated and the new length is returned. If mimetype is
379 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC) argument
385 if (*mimetype !
789 char *ptr = colon_offset+1, *mimetype = NULL, *newheader; local
[all...]
/PHP_5_6/ext/fileinfo/libmagic/
H A Dfile.h307 char mimetype[MAXMIME]; /* MIME type */ member in struct:magic
/PHP_5_6/ext/iconv/
H A Diconv.c399 char *s, *content_type, *mimetype = NULL; local
409 if (SG(sapi_headers).mimetype && !strncasecmp(SG(sapi_headers).mimetype, "text/", 5)) {
410 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
411 mimetype = SG(sapi_headers).mimetype;
413 mimetype = SG(sapi_headers).mimetype;
414 mimetype_len = s - SG(sapi_headers).mimetype;
417 mimetype
[all...]
/PHP_5_6/ext/mbstring/
H A Dmbstring.c2121 char *s, *mimetype = NULL; local
2142 if (SG(sapi_headers).mimetype &&
2145 SG(sapi_headers).mimetype,
2146 strlen(SG(sapi_headers).mimetype))) {
2147 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
2148 mimetype = estrdup(SG(sapi_headers).mimetype);
2150 mimetype = estrndup(SG(sapi_headers).mimetype,s-SG(sapi_headers).mimetype);
[all...]

Completed in 17 milliseconds