Home
last modified time | relevance | path

Searched +full:mime +full:- +full:types (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/external/libcups/scheduler/
Dmime.c2 * MIME database file routines for CUPS.
4 * Copyright 2007-2014 by Apple Inc.
5 * Copyright 1997-2006 by Easy Software Products, all rights reserved.
14 #include <cups/string-private.h>
16 #include "mime-private.h"
28 * Local types...
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
[all …]
Dmime.h2 * MIME type/conversion database definitions for CUPS.
4 * Copyright 2007-2013 by Apple Inc.
5 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
39 * Types/structures...
49 MIME_MAGIC_PRINTABLE, /* Printable characters (32-255) in range */
52 MIME_MAGIC_SHORT, /* Short/16-bit word matches */
53 MIME_MAGIC_INT, /* Integer/32-bit word matches */
56 MIME_MAGIC_ISTRING, /* Case-insensitive string matches */
60 typedef struct _mime_magic_s /**** MIME Magic Data ****/
83 typedef struct _mime_type_s /**** MIME Type Data ****/
[all …]
/external/python/cpython3/Doc/library/
Dmimetypes.rst1 :mod:`mimetypes` --- Map filenames to MIME types
5 :synopsis: Mapping of filename extensions to MIME types.
11 .. index:: pair: MIME; content type
13 --------------
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
34 URL can be a string or a :term:`path-like object`.
38 ``'type/subtype'``, usable for a MIME :mailheader:`content-type` header.
42 as a :mailheader:`Content-Encoding` header, **not** as a
[all …]
/external/python/cpython2/Doc/library/
Dmimetypes.rst1 :mod:`mimetypes` --- Map filenames to MIME types
5 :synopsis: Mapping of filename extensions to MIME types.
9 .. index:: pair: MIME; content type
13 --------------
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.
40 as a :mailheader:`Content-Encoding` header, **not** as a
41 :mailheader:`Content-Transfer-Encoding` header. The mappings are table driven.
[all …]
/external/libbrillo/brillo/
Dmime_utils.cc2 // Use of this source code is governed by a BSD-style license that can be
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";
[all …]
Dmime_utils_test.cc2 // Use of this source code is governed by a BSD-style license that can be
12 std::string mime_string = mime::Combine(mime::types::kText, "xml"); in TEST()
13 EXPECT_EQ(mime::text::kXml, mime_string); in TEST()
15 "application/json; charset=utf-8", 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()
[all …]
Dmime_utils.h2 // Use of this source code is governed by a BSD-style license that can be
17 namespace mime {
19 namespace types {
20 // Main MIME type categories
28 } // namespace types
31 // Common MIME parameters
36 // Common image MIME types
45 // Common text MIME types
52 // Common application MIME types
53 // application/octet-stream
[all …]
/external/libcups/man/
Dmime.types.52 .\" mime.types man page for CUPS.
4 .\" Copyright © 2007-2019 by Apple Inc.
5 .\" Copyright © 1997-2006 by Easy Software Products.
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.
16 Additional file types are specified in files with the extension \fI.types\fR in the CUPS configurat…
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]
[all …]
/external/python/cpython2/Lib/
Dmimetypes.py1 """Guess the MIME type of a file.
5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=1) -- guess the extension for a given MIME type.
13 knownfiles -- list of files to parse
14 inited -- flag set when init() has been called
15 suffix_map -- dictionary mapping suffixes to suffixes
16 encodings_map -- dictionary mapping suffixes to encodings
17 types_map -- dictionary mapping suffixes to types
21 init([files]) -- parse a list of files, default knownfiles (on Windows, the
23 read_mime_types(file) -- parse one file, return a dictionary or None
[all …]
/external/python/cpython3/Lib/
Dmimetypes.py1 """Guess the MIME type of a file.
5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=True) -- guess the extension for a given MIME type.
13 knownfiles -- list of files to parse
14 inited -- flag set when init() has been called
15 suffix_map -- dictionary mapping suffixes to suffixes
16 encodings_map -- dictionary mapping suffixes to encodings
17 types_map -- dictionary mapping suffixes to types
21 init([files]) -- parse a list of files, default knownfiles (on Windows, the
23 read_mime_types(file) -- parse one file, return a dictionary or None
[all …]
/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/util/
DMimetype.java41 * recognizes loaded mime types from the file <code>mime.types</code> if this
42 * file is available at the root of the classpath. The mime.types file format,
43 * and most of the content, is taken from the Apache HTTP server's mime.types
46 * The format for mime type setting documents is:
51 * @see <a href="https://github.com/apache/httpd/blob/trunk/docs/conf/mime.types">mime.types</a>
62 /** The default binary mimetype: application/octet-stream */
63 public static final String MIMETYPE_OCTET_STREAM = "application/octet-stream";
65 /** The default gzip mimetype: application/x-gzip */
66 public static final String MIMETYPE_GZIP = "application/x-gzip";
74 private static final String MIME_TYPE_PATH = "software/amazon/awssdk/core/util/mime.types";
[all …]
/external/libcups/doc/help/
Dman-mime.types.html3 <!-- SECTION: Man Pages -->
5 <link rel="stylesheet" type="text/css" href="../cups-printable.css">
6 <title>mime.types(5)</title>
9 <h1 class="title">mime.types(5)</h1>
11 mime.types - mime type description file for cups
13 The <b>mime.types</b> file defines the recognized file types.
14 <p>Additional file types are specified in files with the extension <i>.types</i> in the CUPS config…
15 <p>Each line in the <b>mime.types</b> file is a comment, blank, or rule line.
17 Rule lines start with the MIME media type and are optionally followed by a series of file recogniti…
20 <i>mime/type </i>[ <i>rule </i>... <i>rule </i>]
[all …]
/external/rust/crates/mime/
DREADME.md1 # mime chapter
3 [![Build Status](https://travis-ci.org/hyperium/mime.svg?branch=master)](https://travis-ci.org/hype…
4 [![crates.io](https://img.shields.io/crates/v/mime.svg)](https://crates.io/crates/mime)
5 [![docs.rs](https://docs.rs/mime/badge.svg)](https://docs.rs/mime)
7 Support MIME (Media Types) as strong types in Rust.
9 [Documentation](https://docs.rs/mime)
14 extern crate mime;
16 // common types are constants
17 let text = mime::TEXT_PLAIN;
21 (mime::TEXT, mime::PLAIN) => {
[all …]
/external/cronet/net/base/
Dmime_util.h2 // Use of this source code is governed by a BSD-style license that can be
8 // 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
13 // These utilities perform a *case-sensitive* matching for parameter values,
15 // case-insensitive.
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
[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
11 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
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
18 compared against a list of media-ranges.
19 - quality_parsed(): Just like quality() except the second parameter must be
20 pre-parsed.
[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
11 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1
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
18 compared against a list of media-ranges.
19 - quality_parsed(): Just like quality() except the second parameter must be
20 pre-parsed.
[all …]
/external/python/google-api-python-client/docs/dyn/
Dgmail_v1.users.history.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Dgmail_v1.users.drafts.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
Dgmail_v1.users.messages.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 /** Defines common MIME types and helper methods. */
36 // video/ MIME types
39 public static final String VIDEO_MATROSKA = BASE_TYPE_VIDEO + "/x-matroska";
44 public static final String VIDEO_VP8 = BASE_TYPE_VIDEO + "/x-vnd.on2.vp8";
45 public static final String VIDEO_VP9 = BASE_TYPE_VIDEO + "/x-vnd.on2.vp9";
48 public static final String VIDEO_MP4V = BASE_TYPE_VIDEO + "/mp4v-es";
54 public static final String VIDEO_FLV = BASE_TYPE_VIDEO + "/x-flv";
55 public static final String VIDEO_DOLBY_VISION = BASE_TYPE_VIDEO + "/dolby-vision";
57 public static final String VIDEO_UNKNOWN = BASE_TYPE_VIDEO + "/x-unknown";
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
DMimeTypes.java8 * http://www.apache.org/licenses/LICENSE-2.0
27 /** Defines common MIME types and helper methods. */
36 // video/ MIME types
39 public static final String VIDEO_MATROSKA = BASE_TYPE_VIDEO + "/x-matroska";
44 public static final String VIDEO_VP8 = BASE_TYPE_VIDEO + "/x-vnd.on2.vp8";
45 public static final String VIDEO_VP9 = BASE_TYPE_VIDEO + "/x-vnd.on2.vp9";
48 public static final String VIDEO_MP4V = BASE_TYPE_VIDEO + "/mp4v-es";
54 public static final String VIDEO_FLV = BASE_TYPE_VIDEO + "/x-flv";
55 public static final String VIDEO_DOLBY_VISION = BASE_TYPE_VIDEO + "/dolby-vision";
57 public static final String VIDEO_UNKNOWN = BASE_TYPE_VIDEO + "/x-unknown";
[all …]
/external/googleapis/google/ads/googleads/v14/enums/
Dmime_type.proto7 // http://www.apache.org/licenses/LICENSE-2.0
28 // Proto file describing mime types.
30 // Container for enum describing the mime types.
32 // The mime type
34 // The mime type has not been specified.
39 // This is a response-only value.
42 // MIME type of image/jpeg.
45 // MIME type of image/gif.
48 // MIME type of image/png.
51 // MIME type of application/x-shockwave-flash.
[all …]
/external/googleapis/google/ads/googleads/v16/enums/
Dmime_type.proto7 // http://www.apache.org/licenses/LICENSE-2.0
28 // Proto file describing mime types.
30 // Container for enum describing the mime types.
32 // The mime type
34 // The mime type has not been specified.
39 // This is a response-only value.
42 // MIME type of image/jpeg.
45 // MIME type of image/gif.
48 // MIME type of image/png.
51 // MIME type of application/x-shockwave-flash.
[all …]
/external/googleapis/google/ads/searchads360/v0/enums/
Dmime_type.proto7 // http://www.apache.org/licenses/LICENSE-2.0
28 // Proto file describing mime types.
30 // Container for enum describing the mime types.
32 // The mime type
34 // The mime type has not been specified.
39 // This is a response-only value.
42 // MIME type of image/jpeg.
45 // MIME type of image/gif.
48 // MIME type of image/png.
51 // MIME type of application/x-shockwave-flash.
[all …]
/external/googleapis/google/ads/googleads/v15/enums/
Dmime_type.proto7 // http://www.apache.org/licenses/LICENSE-2.0
28 // Proto file describing mime types.
30 // Container for enum describing the mime types.
32 // The mime type
34 // The mime type has not been specified.
39 // This is a response-only value.
42 // MIME type of image/jpeg.
45 // MIME type of image/gif.
48 // MIME type of image/png.
51 // MIME type of application/x-shockwave-flash.
[all …]

12345678910>>...42