Searched refs:mimetype (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/curl/
H A Dcurl_file.c55 /* {{{ proto void CURLFile::__construct(string $name, [string $mimetype [, string $postfilename]])
64 /* {{{ proto CURLFile curl_file_create(string $name, [string $mimetype [, string $postfilename]])
146 ZEND_ARG_INFO(0, mimetype)
H A Dinterface.c427 ZEND_ARG_INFO(0, mimetype)
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h308 char mimetype[MAXMIME]; /* MIME type */ member in struct:magic
H A Dapprentice.c897 * description/mimetype.
902 *ml->magic[magindex].mimetype == '\0')
909 ml->magic[magindex].mimetype);
1134 me[i].mp->mimetype,
1135 me[i].mp->mimetype[0] == '\0' ? "" : "; ",
2069 m->mimetype[0] = '\0'; /* initialise MIME type to none */
2209 CAST(zend_off_t, offsetof(struct magic, mimetype)),
2210 sizeof(m->mimetype), "MIME", "+-/.", 1);
H A Dsoftmagic.c2217 if ((ms->flags & MAGIC_MIME_TYPE) && m->mimetype[0]) {
2218 if (file_printf(ms, "%s", m->mimetype) == -1)
/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...]
/PHP_TRUNK/ext/phar/
H A Dphar.c3348 #define PHAR_SET_MIME(mimetype, ret, fileext) \
3349 mime.mime = mimetype; \
3350 mime.len = sizeof((mimetype))+1; \

Completed in 33 milliseconds