HomeSort by relevance Sort by last modified time
    Searched defs:mime (Results 1 - 25 of 253) sorted by null

1 2 3 4 5 6 7 8 91011

  /prebuilts/go/darwin-x86/src/mime/
type_dragonfly.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/local/etc/mime.types")
type_freebsd.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/local/etc/mime.types")
type_openbsd.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/share/misc/mime.types")
grammar.go 5 package mime package
type_windows.go 5 package mime package
type_plan9.go 5 package mime package
type_unix.go 7 package mime package
20 "/etc/mime.types",
21 "/etc/apache2/mime.types",
22 "/etc/apache/mime.types",
encodedword_test.go 5 package mime package
type_test.go 5 package mime package
37 // of MIME text files (in testdata/*). On Windows, we test the
mediatype.go 5 package mime package
79 return errors.New("mime: no media type")
85 return errors.New("mime: expected slash after first token")
89 return errors.New("mime: expected token after slash")
92 return errors.New("mime: unexpected content after media subtype")
137 return "", nil, errors.New("mime: invalid media parameter")
154 return "", nil, errors.New("mime: duplicate parameter name")
260 // No known MIME generators emit unnecessary backslash escapes
265 // with MSIE without affecting the way they handle conforming MIME
323 return "", fmt.Errorf("mime: bogus characters after %%: %q", s
    [all...]
mediatype_test.go 5 package mime package
260 {"bogus ;=========", "mime: invalid media parameter"},
261 {"bogus/<script>alert</script>", "mime: expected token after slash"},
262 {"bogus/bogus<script>alert</script>", "mime: unexpected content after media subtype"},
  /prebuilts/go/linux-x86/src/mime/
type_dragonfly.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/local/etc/mime.types")
type_freebsd.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/local/etc/mime.types")
type_openbsd.go 5 package mime package
8 typeFiles = append(typeFiles, "/usr/share/misc/mime.types")
grammar.go 5 package mime package
type_windows.go 5 package mime package
type_plan9.go 5 package mime package
type_unix.go 7 package mime package
20 "/etc/mime.types",
21 "/etc/apache2/mime.types",
22 "/etc/apache/mime.types",
encodedword_test.go 5 package mime package
type_test.go 5 package mime package
37 // of MIME text files (in testdata/*). On Windows, we test the
mediatype.go 5 package mime package
79 return errors.New("mime: no media type")
85 return errors.New("mime: expected slash after first token")
89 return errors.New("mime: expected token after slash")
92 return errors.New("mime: unexpected content after media subtype")
137 return "", nil, errors.New("mime: invalid media parameter")
154 return "", nil, errors.New("mime: duplicate parameter name")
260 // No known MIME generators emit unnecessary backslash escapes
265 // with MSIE without affecting the way they handle conforming MIME
323 return "", fmt.Errorf("mime: bogus characters after %%: %q", s
    [all...]
mediatype_test.go 5 package mime package
260 {"bogus ;=========", "mime: invalid media parameter"},
261 {"bogus/<script>alert</script>", "mime: expected token after slash"},
262 {"bogus/bogus<script>alert</script>", "mime: unexpected content after media subtype"},
  /external/libmojo/base/android/
content_uri_utils_unittest.cc 28 std::string mime = GetContentUriMimeType(path); local
29 EXPECT_EQ(mime, std::string("image/png"));
32 mime = GetContentUriMimeType(invalid_path);
33 EXPECT_TRUE(mime.empty());
  /external/libbrillo/brillo/
mime_utils.h 17 namespace mime { namespace in namespace:brillo
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
    [all...]
  /frameworks/av/media/libmedia/
IMediaExtractorService.cpp 43 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) {
47 if (mime != NULL) {
48 data.writeCString(mime);
95 const char *mime = data.readCString(); local
96 sp<IMediaExtractor> ex = makeExtractor(source, mime);

Completed in 1075 milliseconds

1 2 3 4 5 6 7 8 91011