/external/ImageMagick/config/ |
D | mime.xml | 3 <!ELEMENT mimemap (mime+)> 4 <!ELEMENT mime (#PCDATA)> 5 <!ATTLIST mime type CDATA #REQUIRED> 6 <!ATTLIST mime acronym CDATA #IMPLIED> 7 <!ATTLIST mime description CDATA #IMPLIED> 8 <!ATTLIST mime pattern CDATA #IMPLIED> 9 <!ATTLIST mime offset CDATA #IMPLIED> 10 <!ATTLIST mime data-type (string|byte|short|long) #IMPLIED> 11 <!ATTLIST mime endian (lsb|msb) #IMPLIED> 12 <!ATTLIST mime magic CDATA #IMPLIED> [all …]
|
/external/ImageMagick/www/source/ |
D | mime.xml | 3 <!ELEMENT mimemap (mime+)> 4 <!ELEMENT mime (#PCDATA)> 5 <!ATTLIST mime type CDATA #REQUIRED> 6 <!ATTLIST mime acronym CDATA #IMPLIED> 7 <!ATTLIST mime description CDATA #IMPLIED> 8 <!ATTLIST mime pattern CDATA #IMPLIED> 9 <!ATTLIST mime offset CDATA #IMPLIED> 10 <!ATTLIST mime data-type (string|byte|short|long) #IMPLIED> 11 <!ATTLIST mime endian (lsb|msb) #IMPLIED> 12 <!ATTLIST mime magic CDATA #IMPLIED> [all …]
|
/external/libcups/scheduler/ |
D | mime.c | 2 * MIME database file routines for CUPS. 16 #include "mime-private.h" 47 static void mime_load_convs(mime_t *mime, const char *filename, 50 static void mime_load_types(mime_t *mime, const char *filename); 54 * 'mimeDelete()' - Delete (free) a MIME database. 58 mimeDelete(mime_t *mime) /* I - MIME database */ in mimeDelete() argument 64 DEBUG_printf(("mimeDelete(mime=%p)", mime)); in mimeDelete() 66 if (!mime) in mimeDelete() 73 for (filter = (mime_filter_t *)cupsArrayFirst(mime->filters); in mimeDelete() 75 filter = (mime_filter_t *)cupsArrayNext(mime->filters)) in mimeDelete() [all …]
|
D | testmime.c | 2 * MIME test program for CUPS. 18 #include "mime.h" 25 static void add_ppd_filter(mime_t *mime, mime_type_t *filtertype, 27 static void add_ppd_filters(mime_t *mime, ppd_file_t *ppd); 29 static void type_dir(mime_t *mime, const char *dirname); 46 mime_t *mime; /* MIME database */ in main() local 55 mime = NULL; in main() 70 mime = mimeLoad(argv[i], filter_path); in main() 73 add_ppd_filters(mime, ppd); in main() 91 if (mime) in main() [all …]
|
D | mime.h | 2 * MIME type/conversion database definitions for CUPS. 60 typedef struct _mime_magic_s /**** MIME Magic Data ****/ 83 typedef struct _mime_type_s /**** MIME Type Data ****/ 91 typedef struct _mime_filter_s /**** MIME Conversion Filter Data ****/ 102 typedef struct _mime_s /**** MIME Database ****/ 116 extern void mimeDelete(mime_t *mime); 119 extern mime_t *mimeLoadFilters(mime_t *mime, const char *pathname, 121 extern mime_t *mimeLoadTypes(mime_t *mime, const char *pathname); 123 extern mime_type_t *mimeAddType(mime_t *mime, const char *super, 126 extern void mimeDeleteType(mime_t *mime, mime_type_t *mt); [all …]
|
D | filter.c | 15 #include "mime.h" 43 static cups_array_t *mime_find_filters(mime_t *mime, mime_type_t *src, 49 * 'mimeAddFilter()' - Add a filter to the current MIME database. 53 mimeAddFilter(mime_t *mime, /* I - MIME database */ in mimeAddFilter() argument 62 DEBUG_printf(("mimeAddFilter(mime=%p, src=%p(%s/%s), dst=%p(%s/%s), cost=%d, " in mimeAddFilter() 63 "filter=\"%s\")", mime, in mimeAddFilter() 72 if (!mime || !src || !dst || !filter) in mimeAddFilter() 83 if ((temp = mimeFilterLookup(mime, src, dst)) != NULL) in mimeAddFilter() 104 if (!mime->filters) in mimeAddFilter() 105 mime->filters = cupsArrayNew((cups_array_func_t)mime_compare_filters, NULL); in mimeAddFilter() [all …]
|
/external/libbrillo/brillo/ |
D | mime_utils_test.cc | 12 std::string mime_string = mime::Combine(mime::types::kText, "xml"); in TEST() 13 EXPECT_EQ(mime::text::kXml, mime_string); in TEST() 16 mime::Combine(mime::types::kApplication, "json", {{"charset", "utf-8"}})); in TEST() 21 EXPECT_TRUE(mime::Split(mime::image::kJpeg, &s1, &s2)); in TEST() 22 EXPECT_EQ(mime::types::kImage, s1); in TEST() 25 mime::Parameters parameters; in TEST() 27 mime::Split("application/json;charset=utf-8", &s1, &s2, ¶meters)); in TEST() 28 EXPECT_EQ(mime::types::kApplication, s1); in TEST() 30 EXPECT_EQ(mime::application::kJson, mime::Combine(s1, s2)); in TEST() 32 EXPECT_EQ(mime::parameters::kCharset, parameters.front().first); in TEST() [all …]
|
D | mime_utils.cc | 14 // ******************************* MIME types ******************************** 16 const char mime::types::kApplication[] = "application"; 17 const char mime::types::kAudio[] = "audio"; 18 const char mime::types::kImage[] = "image"; 19 const char mime::types::kMessage[] = "message"; 20 const char mime::types::kMultipart[] = "multipart"; 21 const char mime::types::kText[] = "text"; 22 const char mime::types::kVideo[] = "video"; 24 const char mime::parameters::kCharset[] = "charset"; 26 const char mime::image::kJpeg[] = "image/jpeg"; [all …]
|
D | mime_utils.h | 17 namespace mime { 20 // Main MIME type categories 31 // Common MIME parameters 36 // Common image MIME types 45 // Common text MIME types 52 // Common application MIME types 64 // Common multipart MIME types 73 // Combine a MIME type, subtype and parameters into a MIME string. 81 // Splits a MIME string into type and subtype. 87 // Splits a MIME string into type, subtype, and parameters. [all …]
|
/external/python/cpython2/Doc/library/ |
D | email.mime.rst | 1 :mod:`email.mime`: Creating email and MIME objects from scratch 4 .. module:: email.mime 5 :synopsis: Build MIME messages. 13 around, etc. This makes a very convenient interface for slicing-and-dicing MIME 17 instances, adding attachments and all the appropriate headers manually. For MIME 23 .. currentmodule:: email.mime.base 27 Module: :mod:`email.mime.base` 29 This is the base class for all the MIME-specific subclasses of 33 MIME-aware subclasses. 43 :mailheader:`MIME-Version` header (always set to ``1.0``). [all …]
|
D | mimetypes.rst | 1 :mod:`mimetypes` --- Map filenames to MIME types 5 :synopsis: Mapping of filename extensions to MIME types. 9 .. index:: pair: MIME; content type 15 The :mod:`mimetypes` module converts between a filename or URL and the MIME type 17 to MIME type and from MIME type to filename extension; encodings are not 31 .. index:: pair: MIME; headers 36 ``'type/subtype'``, usable for a MIME :mailheader:`content-type` header. 45 The optional *strict* argument is a flag specifying whether the list of known MIME types 49 *strict* is ``False``, some additional non-standard but commonly used MIME types 55 Guess the extensions for a file based on its MIME type, given by *type*. The [all …]
|
/external/python/cpython3/Doc/library/ |
D | email.mime.rst | 1 :mod:`email.mime`: Creating email and MIME objects from scratch 4 .. module:: email.mime 5 :synopsis: Build MIME messages. 7 **Source code:** :source:`Lib/email/mime/` 21 around, etc. This makes a very convenient interface for slicing-and-dicing MIME 25 instances, adding attachments and all the appropriate headers manually. For MIME 31 .. currentmodule:: email.mime.base 35 Module: :mod:`email.mime.base` 37 This is the base class for all the MIME-specific subclasses of 41 MIME-aware subclasses. [all …]
|
D | mimetypes.rst | 1 :mod:`mimetypes` --- Map filenames to MIME types 5 :synopsis: Mapping of filename extensions to MIME types. 11 .. index:: pair: MIME; content type 15 The :mod:`mimetypes` module converts between a filename or URL and the MIME type 17 to MIME type and from MIME type to filename extension; encodings are not 31 .. index:: pair: MIME; headers 38 ``'type/subtype'``, usable for a MIME :mailheader:`content-type` header. 47 The optional *strict* argument is a flag specifying whether the list of known MIME types 51 *strict* is ``False``, some additional non-standard but commonly used MIME types 60 Guess the extensions for a file based on its MIME type, given by *type*. The [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | gmail_v1.users.drafts.html | 112 "payload": { # A single MIME message part. # The parsed email structure in the message parts. 113 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 114 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 118 "mimeType": "A String", # The MIME type of the message part. 127 …The child MIME message parts of this part. This only applies to container MIME message parts, for … 147 …media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload … 156 "payload": { # A single MIME message part. # The parsed email structure in the message parts. 157 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 158 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 162 "mimeType": "A String", # The MIME type of the message part. [all …]
|
D | gmail_v1.users.messages.html | 192 "payload": { # A single MIME message part. # The parsed email structure in the message parts. 193 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 194 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 198 "mimeType": "A String", # The MIME type of the message part. 207 …The child MIME message parts of this part. This only applies to container MIME message parts, for … 237 "payload": { # A single MIME message part. # The parsed email structure in the message parts. 238 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 239 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 243 "mimeType": "A String", # The MIME type of the message part. 252 …The child MIME message parts of this part. This only applies to container MIME message parts, for … [all …]
|
D | gmail_v1.users.history.html | 117 … "payload": { # A single MIME message part. # The parsed email structure in the message parts. 118 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 119 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 123 "mimeType": "A String", # The MIME type of the message part. 132 …The child MIME message parts of this part. This only applies to container MIME message parts, for … 154 … "payload": { # A single MIME message part. # The parsed email structure in the message parts. 155 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 156 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 160 "mimeType": "A String", # The MIME type of the message part. 169 …The child MIME message parts of this part. This only applies to container MIME message parts, for … [all …]
|
D | gmail_v1.users.threads.html | 132 … "payload": { # A single MIME message part. # The parsed email structure in the message parts. 133 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 134 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 138 "mimeType": "A String", # The MIME type of the message part. 147 …The child MIME message parts of this part. This only applies to container MIME message parts, for … 194 … "payload": { # A single MIME message part. # The parsed email structure in the message parts. 195 …y": { # The body of a single MIME message part. # The message part body for this part, which may b… 196 …"data": "A String", # The body data of a MIME message part as a base64url encoded string. May be e… 200 "mimeType": "A String", # The MIME type of the message part. 209 …The child MIME message parts of this part. This only applies to container MIME message parts, for … [all …]
|
/external/cldr/tools/scripts/ |
D | cldr-svnprops-check.py | 61 *.txt = svn:mime-type=text/plain;svn:eol-style=native 62 *.java = svn:eol-style=native;svn:mime-type=text/plain;;charset=utf-8 64 *.html = svn:eol-style=native;svn:mime-type=text/html 65 *.htm = svn:eol-style=native;svn:mime-type=text/html 71 *.png = svn:mime-type=image/png 72 *.jpeg = svn:mime-type=image/jpeg 73 *.jpg = svn:mime-type=image/jpeg 74 *.bin = svn:mime-type=application/octet-stream 75 *.brk = svn:mime-type=application/octet-stream 76 *.cnv = svn:mime-type=application/octet-stream [all …]
|
/external/libcups/man/ |
D | mime.types.5 | 2 .\" mime.types man page for CUPS. 10 .TH mime.types 5 "CUPS" "26 April 2019" "Apple Inc." 12 mime.types \- mime type description file for cups 14 The \fBmime.types\fR file defines the recognized file types. 18 Each line in the \fBmime.types\fR file is a comment, blank, or rule line. 20 Rule lines start with the MIME media type and are optionally followed by a series of file recogniti… 23 \fImime/type \fR[ \fIrule \fR... \fIrule \fR] 29 \fImime/type \fR[ \fIreally-really-really-long-rule \fR... \fB\\ 33 MIME media types specified by the \fImime/type\fR field are case-insensitive and are sorted in asce… 52 Specifies the relative priority of this MIME media type. [all …]
|
/external/curl/lib/ |
D | mime.c | 27 #include "mime.h" 640 /* Argument is a pointer to the mime part. */ 687 /* Argument is a pointer to the mime part. */ 740 /* Argument is a pointer to the mime structure. */ 898 /* Readback a mime part. */ 1003 /* Readback from mime. Warning: not a read callback function. */ 1007 curl_mime *mime = (curl_mime *) instream; in mime_subparts_read() local 1017 curl_mimepart *part = mime->state.ptr; in mime_subparts_read() 1018 switch(mime->state.state) { in mime_subparts_read() 1024 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, mime->firstpart); in mime_subparts_read() [all …]
|
/external/python/google-api-python-client/googleapiclient/ |
D | mimeparse.py | 5 """MIME-Type Parser 7 This module provides basic functions for handling mime-types. It can handle 8 matching mime-types against a list of media-ranges. See section 14.1 of the 14 - parse_mime_type(): Parses a mime-type into its component parts. 15 - parse_media_range(): Media-ranges are mime-types with wild-cards and a 'q' 17 - quality(): Determines the quality ('q') of a mime-type when 21 - best_match(): Choose the mime-type with the highest quality ('q') 36 """Parses a mime-type into its component parts. 38 Carves up a mime-type and returns a tuple of the (type, subtype, params) 87 """Find the best match for a mime-type amongst parsed media-ranges. [all …]
|
/external/curl/docs/libcurl/ |
D | curl_mime_type.3 | 25 curl_mime_type - set a mime part's content type 33 \fIcurl_mime_type(3)\fP sets a mime part's content type. 37 \fImimetype\fP points to the null-terminated file mime type string; it may be 38 set to NULL to remove a previously attached mime type. 40 The mime type string is copied into the part, thus the associated storage may 44 In the absence of a mime type and if needed by the protocol specifications, 45 a default mime type is determined by the context: 51 - If a remote file name is set, the mime type is taken from the file name 63 curl_mime *mime; 66 /* create a mime handle */ [all …]
|
D | curl_mime_addpart.3 | 25 curl_mime_addpart - append a new empty part to a mime structure 29 .BI "curl_mimepart * curl_mime_addpart(curl_mime * " mime ");" 33 mime structure and returns a handle to it. The returned part handle can 34 subsequently be populated using functions from the mime API. 36 \fImime\fP is the handle of the mime structure in which the new part must be 41 A mime part structure handle, or NULL upon failure. 44 curl_mime *mime; 47 /* create a mime handle */ 51 part = curl_mime_addpart(mime);
|
D | curl_mime_init.3 | 25 curl_mime_init - create a mime handle 32 \fIcurl_mime_init(3)\fP creates a handle to a new empty mime structure 33 intended to be used with \fIeasy_handle\fP. This mime structure can be 34 subsequently filled using the mime API, then attached to \fIeasy_handle\fP 38 Using a mime handle is the recommended way to post an HTTP form, format and 44 A mime struct handle, or NULL upon failure. 49 curl_mime *mime; 54 part = curl_mime_addpart(mime); 59 curl_easy_setopt(easy, CURLOPT_MIMEPOST, mime); 65 curl_mime_free(mime);
|
/external/curl/tests/libtest/ |
D | lib643.c | 85 curl_mime *mime = NULL; in once() local 104 mime = curl_mime_init(curl); in once() 105 if(!mime) { in once() 112 part = curl_mime_addpart(mime); in once() 115 curl_mime_free(mime); in once() 152 part = curl_mime_addpart(mime); in once() 155 curl_mime_free(mime); in once() 169 part = curl_mime_addpart(mime); in once() 172 curl_mime_free(mime); in once() 195 part = curl_mime_addpart(mime); in once() [all …]
|