Searched refs:mime (Results 1 - 25 of 150) sorted by relevance

123456

/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/fumagic/
H A Dregenerate.sh8 mime="${filesrc}/magic/magic.mime"
11 `dirname $0`/tmc -merge mimetypes.tcl '::fileutil::magic::mimetype::run' "${mime}"
/macosx-10.10/cups-408/cups/scheduler/
H A Dmime.c2 * "$Id: mime.c 11560 2014-02-06 20:10:19Z msweet $"
23 #include "mime-private.h"
46 static void mime_load_convs(mime_t *mime, const char *filename,
49 static void mime_load_types(mime_t *mime, const char *filename);
57 mimeDelete(mime_t *mime) /* I - MIME database */ argument
63 DEBUG_printf(("mimeDelete(mime=%p)", mime));
65 if (!mime)
72 for (filter = (mime_filter_t *)cupsArrayFirst(mime->filters);
74 filter = (mime_filter_t *)cupsArrayNext(mime
102 mimeDeleteFilter(mime_t *mime, mime_filter_t *filter) argument
144 mimeDeleteType(mime_t *mime, mime_type_t *mt) argument
170 _mimeError(mime_t *mime, const char *message, ...) argument
194 mimeFirstFilter(mime_t *mime) argument
219 mimeFirstType(mime_t *mime) argument
250 mime_t *mime; /* New MIME database */ local
270 mimeLoadFilters(mime_t *mime, const char *pathname, const char *filterpath) argument
342 mimeLoadTypes(mime_t *mime, const char *pathname) argument
422 mimeNextFilter(mime_t *mime) argument
447 mimeNextType(mime_t *mime) argument
472 mimeNumFilters(mime_t *mime) argument
495 mimeNumTypes(mime_t *mime) argument
518 mimeSetErrorCallback( mime_t *mime, mime_error_cb_t cb, void *ctx) argument
652 mime_load_convs( mime_t *mime, const char *filename, const char *filterpath, cups_array_t *filtercache) argument
843 mime_load_types(mime_t *mime, const char *filename) argument
[all...]
H A Dmime.h2 * "$Id: mime.h 11273 2013-09-10 19:16:44Z msweet $"
122 extern void mimeDelete(mime_t *mime);
125 extern mime_t *mimeLoadFilters(mime_t *mime, const char *pathname,
127 extern mime_t *mimeLoadTypes(mime_t *mime, const char *pathname);
129 extern mime_type_t *mimeAddType(mime_t *mime, const char *super,
132 extern void mimeDeleteType(mime_t *mime, mime_type_t *mt);
133 extern mime_type_t *mimeFileType(mime_t *mime, const char *pathname,
135 extern mime_type_t *mimeFirstType(mime_t *mime);
136 extern mime_type_t *mimeNextType(mime_t *mime);
137 extern int mimeNumTypes(mime_t *mime);
[all...]
H A Dmime-private.h2 * "$Id: mime-private.h 3413 2011-09-07 22:48:34Z msweet $"
18 # include "mime.h"
34 extern void _mimeError(mime_t *mime, const char *format, ...)
44 * End of "$Id: mime-private.h 3413 2011-09-07 22:48:34Z msweet $".
H A Dtestmime.c24 #include "mime.h"
31 static void add_ppd_filter(mime_t *mime, mime_type_t *filtertype,
33 static void add_ppd_filters(mime_t *mime, ppd_file_t *ppd);
35 static void type_dir(mime_t *mime, const char *dirname);
52 mime_t *mime; /* MIME database */ local
61 mime = NULL;
76 mime = mimeLoad(argv[i], filter_path);
79 add_ppd_filters(mime, ppd);
97 if (mime)
98 add_ppd_filters(mime, pp
203 add_ppd_filter(mime_t *mime, mime_type_t *filtertype, const char *filter) argument
319 add_ppd_filters(mime_t *mime, ppd_file_t *ppd) argument
452 type_dir(mime_t *mime, const char *dirname) argument
[all...]
H A Dfilter.c35 #include "mime.h"
55 static cups_array_t *mime_find_filters(mime_t *mime, mime_type_t *src,
65 mimeAddFilter(mime_t *mime, /* I - MIME database */ argument
74 DEBUG_printf(("mimeAddFilter(mime=%p, src=%p(%s/%s), dst=%p(%s/%s), cost=%d, "
75 "filter=\"%s\")", mime,
84 if (!mime || !src || !dst || !filter)
95 if ((temp = mimeFilterLookup(mime, src, dst)) != NULL)
116 if (!mime->filters)
117 mime->filters = cupsArrayNew((cups_array_func_t)mime_compare_filters, NULL);
119 if (!mime
154 mimeFilter(mime_t *mime, mime_type_t *src, mime_type_t *dst, int *cost) argument
175 mimeFilter2(mime_t *mime, mime_type_t *src, size_t srcsize, mime_type_t *dst, int *cost) argument
247 mimeFilterLookup(mime_t *mime, mime_type_t *src, mime_type_t *dst) argument
312 mime_find_filters( mime_t *mime, mime_type_t *src, size_t srcsize, mime_type_t *dst, int *cost, _mime_typelist_t *list) argument
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/mime/
H A DpkgIndex.tcl2 package ifneeded mime 1.5.4 [list source [file join $dir mime.tcl]]
/macosx-10.10/cups-408/cups/conf/
H A DMakefile23 REPLACE = mime.convs mime.types
81 $(INSTALL_DIR) -m 755 $(DATADIR)/mime
83 if test -r $(DATADIR)/mime/$$file ; then \
84 $(MV) $(DATADIR)/mime/$$file $(DATADIR)/mime/$$file.O ; \
87 $(MV) $(SERVERROOT)/$$file $(DATADIR)/mime/$$file.O ; \
89 $(INSTALL_DATA) $$file $(DATADIR)/mime ; \
132 $(RM) $(DATADIR)/mime/$$file; \
134 -$(RMDIR) $(DATADIR)/mime
[all...]
/macosx-10.10/file-46/file/src/
H A Dfsmagic.c67 int mime = ms->flags & MAGIC_MIME; local
68 if ((mime & MAGIC_MIME_TYPE) &&
72 else if (!mime) {
88 handle_mime(struct magic_set *ms, int mime, const char *str) argument
90 if ((mime & MAGIC_MIME_TYPE)) {
93 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms,
97 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1)
106 int mime = ms->flags & MAGIC_MIME; local
148 if (!mime) {
168 if (mime) {
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/network/mac/
H A DUTIUtilities.h33 RetainPtr<CFStringRef> UTIFromMIMEType(CFStringRef mime);
/macosx-10.10/CPANInternal-159.1/HTTP-Proxy-0.25/eg/
H A Dflv.pl34 for my $mime (qw( video/flv video/x-flv )) {
36 mime => $mime,
H A Drfc.pl9 mime => 'text/plain',
H A Danonymiser.pl12 mime => undef,
H A Dfudd.pl13 mime => 'text/html',
H A Dtrim.pl11 mime => 'text/html',
/macosx-10.10/CPANInternal-159.1/HTTP-Proxy-0.300/eg/
H A Dflv.pl34 for my $mime (qw( video/flv video/x-flv )) {
36 mime => $mime,
H A Drfc.pl9 mime => 'text/plain',
H A Danonymiser.pl12 mime => undef,
H A Dfudd.pl13 mime => 'text/html',
H A Dtrim.pl11 mime => 'text/html',
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/examples/smtpd/
H A Dtcl_smtpd27 if {[catch {eval array set saddr [mime::parseaddress $sender]}]} {
34 if {! [catch {eval array set addr [mime::parseaddress $rcpt]}]} {
49 eval array set addr [mime::parseaddress $address]
58 eval array set addr [mime::parseaddress $address]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/smtpd/clients/
H A Dmail-test.tcl1 package require mime
10 set tok [mime::initialize -canonical text/plain -encoding 7bit -string $msg]
11 mime::setheader $tok Subject "Testing from Tcl"
/macosx-10.10/tcl-105/tcl84/tcl/tests/
H A Dhttpd61 set data(state) mime
69 } elseif {$data(state) == "mime"} {
91 -1,mime,HEAD -
92 -1,mime,GET -
93 -1,mime,POST {
97 0,mime,HEAD -
98 0,mime,GET -
104 0,mime,POST {
106 if {![info exists data(mime,content-length)]} {
112 set data(length) $data(mime,conten
[all...]
/macosx-10.10/WebKit-7600.1.25/win/WebCoreSupport/
H A DWebPlatformStrategies.cpp141 MimeClassInfo mime; local
143 mime.type = it->key;
144 mime.desc = it->value;
145 mime.extensions = package->mimeToExtensions().get(mime.type);
147 info.mimes.append(mime);
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dmimelib.h25 * mime/mailcap internal interface
41 Mimedisc_t* disc; /* mime discipline */ \
49 #include <mime.h>

Completed in 206 milliseconds

123456