Searched refs:mimetype (Results 1 - 12 of 12) sorted by relevance
| /PHP_TRUNK/ext/iconv/ |
| H A D | iconv.c | 334 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_TRUNK/ext/mbstring/ |
| H A D | mbstring.c | 2099 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_TRUNK/main/ |
| H A D | SAPI.c | 290 char *mimetype, *charset, *content_type; local 294 mimetype = SG(default_mimetype); 297 mimetype = SAPI_DEFAULT_MIMETYPE; 308 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) { 314 memcpy(p, mimetype, mimetype_len); 322 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1); 350 * If "mimetype" is non-NULL, it should point to a pointer allocated 352 * re-allocated and the new length is returned. If mimetype is 356 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC) argument 362 if (*mimetype ! 778 char *ptr = colon_offset+1, *mimetype = NULL, *newheader; local [all...] |
| H A D | SAPI.h | 61 char *mimetype; member in struct:__anon271 205 SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len TSRMLS_DC);
|
| /PHP_TRUNK/sapi/apache/ |
| H A D | mod_php5.c | 579 char *mimetype; local 585 mimetype = pstrdup(r->pool, tmpmimetype); 588 mimetype = SAPI_DEFAULT_MIMETYPE "; charset=" SAPI_DEFAULT_CHARSET; 590 return mimetype;
|
| /PHP_TRUNK/sapi/apache_hooks/ |
| H A D | mod_php5.c | 629 char *mimetype; local 635 mimetype = pstrdup(r->pool, tmpmimetype); 638 mimetype = SAPI_DEFAULT_MIMETYPE "; charset=" SAPI_DEFAULT_CHARSET; 640 return mimetype;
|
| /PHP_TRUNK/ext/phar/ |
| H A D | phar.c | 3472 #define PHAR_SET_MIME(mimetype, ret, fileext) \ 3473 mime.mime = mimetype; \ 3474 mime.len = sizeof((mimetype))+1; \
|
| /PHP_TRUNK/ext/curl/ |
| H A D | curl_file.c | 55 /* {{{ proto void CURLFile::__construct(string $name, [string $mimetype [, string $postfilename]]) 64 /* {{{ proto CURLFile curl_file_create(string $name, [string $mimetype [, string $postfilename]]) 147 ZEND_ARG_INFO(0, mimetype)
|
| H A D | interface.c | 409 ZEND_ARG_INFO(0, mimetype)
|
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | file.h | 307 char mimetype[MAXMIME]; /* MIME type */ member in struct:magic
|
| H A D | apprentice.c | 812 * description/mimetype. 817 *ml->magic[magindex].mimetype == '\0') 823 ml->magic[magindex].mimetype); 1052 me[i].mp->mimetype, 1053 me[i].mp->mimetype[0] == '\0' ? "" : "; ", 1950 m->mimetype[0] = '\0'; /* initialise MIME type to none */ 2021 "`%.8s', new type `%s'", m->mimetype, l); 2054 if (m->mimetype[0] != '\0') { 2056 " new type `%s'", m->mimetype, l); 2063 i < sizeof(m->mimetype); [all...] |
| H A D | softmagic.c | 2268 if ((ms->flags & MAGIC_MIME_TYPE) && m->mimetype[0]) { 2269 if (file_printf(ms, "%s", m->mimetype) == -1)
|
Completed in 35 milliseconds