Home
last modified time | relevance | path

Searched full:mime (Results 1 – 25 of 2058) sorted by relevance

12345678910>>...83

/external/ImageMagick/config/
Dmime.xml3 <!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/
Dmime.xml3 <!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/
Dmime.c2 * 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 …]
Dtestmime.c2 * 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 …]
Dmime.h2 * 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 …]
Dfilter.c15 #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/
Dmime_utils_test.cc12 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, &parameters)); 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 …]
Dmime_utils.cc14 // ******************************* 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 …]
Dmime_utils.h17 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/
Demail.mime.rst1 :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 …]
Dmimetypes.rst1 :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/
Demail.mime.rst1 :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 …]
Dmimetypes.rst1 :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/cronet/third_party/icu/source/data/mappings/
Dconvrtrs.txt52 # curly braces, as in ISO_8859-1:1987{IANA*} iso-8859-1 { MIME* } or
53 # some-charset{MIME* IANA*}. The order of tags does not matter, and
68 # Supporting XML parsers, HTML, MIME, and similar applications
123 MIME # Source: http://www.iana.org/assignments/character-sets
126 UTF-8 { MIME* HTML* }
130 utf-16be { MIME* HTML* }
132 utf-16le { MIME* HTML* }
136 IBM866 { MIME* HTML* }
142 ISO-8859-2 { MIME* HTML* }
153 ISO-8859-3 { MIME* HTML* }
[all …]
/external/cronet/net/base/
Dmime_util.h8 // This file defines MIME utility functions. All of them assume the MIME type
9 // to be of the format specified by rfc2045. According to it, MIME types are
33 // Gets the mime type (if any) that is associated with the given file extension.
34 // Returns true if a corresponding mime type exists.
38 // Gets the mime type (if any) that is associated with the given file extension.
39 // Returns true if a corresponding mime type exists. In this method,
40 // the search for a mime type is constrained to a limited set of
46 // Gets the mime type (if any) that is associated with the given file. Returns
47 // true if a corresponding mime type exists.
51 // Gets the preferred extension (if any) associated with the given mime type.
[all …]
Dmime_sniffer.h19 // The maximum number of bytes used by any internal mime sniffing routine. May
25 // Whether to force the MIME sniffer to sniff the contents of file URLs for
33 // mime type from the content.
36 // |mime_type| is the current mime type, e.g. from the Content-Type header.
37 // Returns true if the mime type should be sniffed.
41 // Guess a mime type from the first few bytes of content an its URL. Always
42 // assigns |result| with its best guess of a mime type.
46 // |type_hint| is the current mime type, e.g. from the Content-Type header.
47 // |result| is the address at which to place the sniffed mime type.
52 // Returns true if |content| had enough data to guess the mime type. Otherwise,
[all …]
/external/cldr/tools/scripts/
Dcldr-svnprops-check.py61 *.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/
Dmime.types.52 .\" 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/
Dmime.c29 #include "mime.h"
658 /* Argument is a pointer to the mime part. */
705 /* Argument is a pointer to the mime part. */
758 /* Argument is a pointer to the mime structure. */
914 /* Readback a mime part. */
998 /* Readback from mime. Warning: not a read callback function. */
1002 curl_mime *mime = (curl_mime *) instream; in mime_subparts_read() local
1008 curl_mimepart *part = mime->state.ptr; in mime_subparts_read()
1009 switch(mime->state.state) { in mime_subparts_read()
1012 mimesetstate(&mime->state, MIMESTATE_BOUNDARY1, mime->firstpart); in mime_subparts_read()
[all …]
/external/python/google-api-python-client/googleapiclient/
Dmimeparse.py5 """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')
35 """Parses a mime-type into its component parts.
37 Carves up a mime-type and returns a tuple of the (type, subtype, params)
86 """Find the best match for a mime-type amongst parsed media-ranges.
[all …]
/external/autotest/utils/frozen_chromite/third_party/googleapiclient/
Dmimeparse.py5 """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)
83 """Find the best match for a mime-type amongst parsed media-ranges.
[all …]
/external/curl/tests/libtest/
Dlib643.c64 curl_mime *mime = NULL; in once() local
83 mime = curl_mime_init(curl); in once()
84 if(!mime) { in once()
91 part = curl_mime_addpart(mime); in once()
94 curl_mime_free(mime); in once()
131 part = curl_mime_addpart(mime); in once()
134 curl_mime_free(mime); in once()
148 part = curl_mime_addpart(mime); in once()
151 curl_mime_free(mime); in once()
167 part = curl_mime_addpart(mime); in once()
[all …]
/external/python/google-api-python-client/docs/dyn/
Dgmail_v1.users.drafts.html125 …&quot;payload&quot;: { # A single MIME message part. # The parsed email structure in the message p…
126 …t;: { # The body of a single MIME message part. # The message part body for this part, which may b…
128 …uot;A String&quot;, # The body data of a MIME message part as a base64url encoded string. May be e…
138 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the message part.
140 …he child MIME message parts of this part. This only applies to container MIME message parts, for e…
152 …media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload …
170 …&quot;payload&quot;: { # A single MIME message part. # The parsed email structure in the message p…
171 …t;: { # The body of a single MIME message part. # The message part body for this part, which may b…
173 …uot;A String&quot;, # The body data of a MIME message part as a base64url encoded string. May be e…
183 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the message part.
[all …]
Dgmail_v1.users.messages.html220 …&quot;payload&quot;: { # A single MIME message part. # The parsed email structure in the message p…
221 …t;: { # The body of a single MIME message part. # The message part body for this part, which may b…
223 …uot;A String&quot;, # The body data of a MIME message part as a base64url encoded string. May be e…
233 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the message part.
235 …he child MIME message parts of this part. This only applies to container MIME message parts, for e…
262 …&quot;payload&quot;: { # A single MIME message part. # The parsed email structure in the message p…
263 …t;: { # The body of a single MIME message part. # The message part body for this part, which may b…
265 …uot;A String&quot;, # The body data of a MIME message part as a base64url encoded string. May be e…
275 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the message part.
277 …he child MIME message parts of this part. This only applies to container MIME message parts, for e…
[all …]
/external/curl/docs/libcurl/
Dcurl_mime_init.326 curl_mime_init - create a mime handle
34 \fIcurl_mime_init(3)\fP creates a handle to a new empty mime structure,
35 This mime structure can be subsequently filled using the mime API, then
37 a \fIcurl_easy_setopt(3)\fP call or added as a multipart in another mime
43 Using a mime handle is the recommended way to post an HTTP form, format and
48 curl_mime *mime;
53 part = curl_mime_addpart(mime);
58 curl_easy_setopt(easy, CURLOPT_MIMEPOST, mime);
64 curl_mime_free(mime);
68 A mime struct handle, or NULL upon failure.

12345678910>>...83