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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h308 char mimetype[MAXMIME]; /* MIME type */ member in struct:magic
/PHP_TRUNK/ext/iconv/
H A Diconv.c402 char *s, *content_type, *mimetype = NULL; local
412 if (SG(sapi_headers).mimetype && !strncasecmp(SG(sapi_headers).mimetype, "text/", 5)) {
413 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
414 mimetype = SG(sapi_headers).mimetype;
416 mimetype = SG(sapi_headers).mimetype;
417 mimetype_len = (int)(s - SG(sapi_headers).mimetype);
420 mimetype
[all...]
/PHP_TRUNK/main/
H A DSAPI.c308 char *mimetype, *charset, *content_type; local
312 mimetype = SG(default_mimetype);
315 mimetype = SAPI_DEFAULT_MIMETYPE;
326 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) {
332 memcpy(p, mimetype, mimetype_len);
340 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1);
368 * If "mimetype" is non-NULL, it should point to a pointer allocated
370 * re-allocated and the new length is returned. If mimetype is
374 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len) argument
380 if (*mimetype !
777 char *ptr = colon_offset+1, *mimetype = NULL, *newheader; local
[all...]
H A DSAPI.h63 char *mimetype; member in struct:__anon8
209 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2127 char *s, *mimetype = NULL; local
2148 if (SG(sapi_headers).mimetype &&
2151 SG(sapi_headers).mimetype,
2152 strlen(SG(sapi_headers).mimetype))) {
2153 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
2154 mimetype = estrdup(SG(sapi_headers).mimetype);
2156 mimetype = estrndup(SG(sapi_headers).mimetype,s-SG(sapi_headers).mimetype);
[all...]

Completed in 12 milliseconds