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/main/
H A DSAPI.h63 char *mimetype; member in struct:__anon8
209 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len);
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) argument
385 if (*mimetype !
782 char *ptr = colon_offset+1, *mimetype = NULL, *newheader; local
[all...]
/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...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c402 char *s, *content_type, *mimetype = NULL; local
411 if (SG(sapi_headers).mimetype && !strncasecmp(SG(sapi_headers).mimetype, "text/", 5)) {
412 if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
413 mimetype = SG(sapi_headers).mimetype;
415 mimetype = SG(sapi_headers).mimetype;
416 mimetype_len = (int)(s - SG(sapi_headers).mimetype);
419 mimetype
[all...]

Completed in 14 milliseconds