Searched refs:filter (Results 1 - 25 of 26) sorted by relevance

12

/ast/src/lib/libast/disc/
H A Dsfdcfilter.c32 Sfio_t* filter; /* the filter stream */ member in struct:_filter_s
38 /* read data from the filter */
63 sfset(fi->filter,SF_READ,0);
64 close(sffileno(fi->filter));
65 sfset(fi->filter,SF_READ,1);
72 sfset(fi->filter, SF_READ, 0);
73 r = sfpoll(&fi->filter, 1, 1);
74 sfset(fi->filter, SF_READ, 1);
78 if((w = sfwr(fi->filter, f
158 reg Sfio_t* filter; local
[all...]
/ast/src/cmd/INIT/
H A Dfilter.sh20 : convert command that operates on file args to pipeline filter
22 command=filter
31 @(#)$Id: filter (AT&T Labs Research) 2001-05-31 $
34 [+NAME?filter - run a command in stdin/stdout mode]
H A DCONVERT.mk124 .cvt.filter =
186 $$(PAX) $$(PAXFLAGS) -rf $$(*:P=A) -s ',^$(>:O=2)/*,,' $(.cvt.omit) $(.cvt.filter)
195 $$(TW) $$(TWFLAGS) | $$(PAX) $$(PAXFLAGS) -rw $(.cvt.omit) $(.cvt.filter) $(T:P=A)
204 $$(TW) $$(TWFLAGS) | $$(PAX) $$(PAXFLAGS) -rw $(.cvt.omit) $(.cvt.move) $(.cvt.filter) $(T:P=A)
214 .cvt.filter += --action=$(A:@Q)
H A DMakefile34 filter :: filter.sh
H A Dpackage.mk390 F := filter $(STRIP) $(STRIPFLAGS) $(X)
392 if "$(filter.$(style):V)"
393 filter.$(style) := $(filter.$(style):V)$$("\n")
395 filter.$(style) := $(filter.$(style):V);;$(F);$(X);usr/$(T)
751 $(PAX) --filter=- \
780 $(PAX) --filter=- \
1040 $(PAX) --filter=- \
1187 $(filter
[all...]
H A Drt.sh20 : rt - nmake test output filter
35 [+NAME?rt - run "nmake test" and filter output]
H A Dpackage.sh4311 '') filter=cat ;;
4312 *) filter="egrep lib/package/tgz/($admin_pkgs)\\." ;;
4315 then $exec $rcp `$filter $PACKAGESRC/tgz/$lst | sed "s,^,$user$name:,"` $PACKAGESRC/tgz
6422 *) $exec filter test failures from $dir/test.$s to $dir/regress.$s
6534 0) filter=yes ;;
6535 *) filter=cat ;;
6551 filter=errors
6555 case $filter:$1:$SHELL in
6557 *:test:*/ksh*) filter=rt ;;
6576 filter
[all...]
/ast/src/cmd/mam/
H A Dmamsh.sh20 : mam to sh script filter
30 [+NAME?mamsh - make abstract machine to shell script conversion filter]
/ast/src/lib/libtk/library/
H A Dxmfbox.tcl153 if ![info exists data(filter)] {
154 set data(filter) *
217 set data(filterBtn) [button $bot.filter -text Filter -width 6 -under 0 \
222 pack $bot.ok $bot.filter $bot.cancel -padx 10 -pady 10 -expand yes \
233 bind $w <Alt-f> "tkButtonInvoke $bot.filter"
293 set data(filter) [lindex $list 1]
297 set newSpec [file join $data(selectPath) $data(filter)]
301 $data(filter)]
304 set newSpec [file join $data(selectPath) $subdir $data(filter)]
364 $data(fEnt) insert 0 [file join $data(selectPath) $data(filter)]
[all...]
H A Dtkfbox.tcl648 set filter [lindex $type 1]
656 set data(filter) "*"
969 if ![string compare $data(filter) *] {
974 [eval glob -nocomplain $data(filter)]]
1035 # This proc gets called whenever data(filter) is set
1041 set data(filter) [lindex $type 1]
1194 set data(filter) $file
/ast/src/cmd/pax/
H A Dpax.c344 filter(Archive_t* ap, File_t* f) function
348 if (f->st->st_size && (fp = state.filter.list))
550 state.filter.all = xp;
553 if (state.filter.last)
554 state.filter.last->next = xp;
556 state.filter.list = xp;
557 state.filter.last = xp;
786 state.filter.command = v;
790 state.filter.command = 0;
1635 if (s = state.filter
[all...]
H A Dformat.c121 error(3, "%s: cannot execute %s filter", ap->name, cp->undo[0]);
125 error(3, "%s: %s filter exit code %d", ap->name, cp->undo[0], n);
441 state.filter.line = 2;
442 state.filter.name = state.install.name;
443 state.filter.command = "";
445 state.filter.line = 0;
453 state.filter.line = 2;
454 state.filter.name = state.checksum.name;
455 state.filter.command = "";
457 state.filter
[all...]
H A Dpax.h514 Filter_t* list; /* filter list */ \
515 Filter_t* last; /* filter list tail */ \
516 Filter_t* all; /* match all filter */ \
522 } filter; /* file output filter state */ \
695 extern Filter_t* filter(Archive_t*, File_t*);
H A Dmisc.c407 if (state.filter.line > 1)
409 state.filter.line = 1;
410 name = state.filter.name;
H A Dfile.c55 if (state.filter.line <= 0)
57 else if (!*(arg = state.filter.command))
63 message((-4, "filter: %s %s", fp->command, f->path));
66 error(2, "%s: cannot create filter temporary %s", f->path, state.tmp.file);
71 error(2, "%s: cannot open filter temporary %s", f->path, state.tmp.file);
74 error(1, "%s: cannot remove filter temporary %s", f->path, state.tmp.file);
78 error(1, "%s: cannot remove filter temporary %s", f->path, state.tmp.file);
90 error(2, "%s: %s: filter error", f->path, *fp->argv);
97 error(2, "%s: cannot redirect filter", f->path);
116 error(2, "%s: cannot execute filter
[all...]
H A Dcopy.c182 if (fp = filter(ap, f))
203 error(2, "%s: %s: cannot execute filter %s", ap->name, f->path, *fp->argv);
540 if (state.filter.line)
544 state.filter.options = s;
548 state.filter.command = s;
552 state.filter.path = s;
554 state.filter.name = state.filter.path;
558 state.filter.name = s;
562 s = state.filter
[all...]
H A Ddelta.c676 else if (fp = filter(op, f))
686 error(2, "%s: cannot create filter temporary %s", f->path, tmp);
701 error(ERROR_SYSTEM|2, "%s: filter temporary write error to %s", f->name, tmp);
711 error(1, "%s: cannot remove filter temporary", p, f->path);
/ast/src/cmd/nmake/
H A Dread.c421 readfile(register char* file, int type, char* filter) argument
444 if (rfp = filter ? fapply(internal.internal, null, file, filter, CO_ALWAYS|CO_LOCAL|CO_URGENT) : rsfopen(file))
/ast/src/cmd/re/
H A DMakefile71 $(PAX) -x tgz -wvf $(<) --filter=-
H A Dtestfmt.c332 static char* filter[] = { "-", 0 }; local
370 argv = filter;
H A Dtestfnmatch.c504 static char* filter[] = { "-", 0 }; local
542 argv = filter;
H A Dtestmatch.c637 static char* filter[] = { "-", 0 }; local
678 argv = filter;
H A Dtestregex.c1267 static char* filter[] = { "-", 0 }; local
1340 argv = filter;
/ast/lib/package/
H A Dpackage.mk390 F := filter $(STRIP) $(STRIPFLAGS) $(X)
392 if "$(filter.$(style):V)"
393 filter.$(style) := $(filter.$(style):V)$$("\n")
395 filter.$(style) := $(filter.$(style):V);;$(F);$(X);usr/$(T)
751 $(PAX) --filter=- \
780 $(PAX) --filter=- \
1040 $(PAX) --filter=- \
1187 $(filter
[all...]
/ast/src/cmd/pzip/
H A Dpin.c523 * filter out the high frequency columns from dat
527 filter(Sfio_t* ip, unsigned char** bufp, unsigned char** datp, Pz_t* pz, int high, int maxhigh, size_t row, size_t tot) function
571 sfprintf(sfstderr, "filter using %s for frequencies\n", state.cachefile);
598 sfprintf(sfstderr, "filter top %d%% high frequency columns\n", -high);
600 sfprintf(sfstderr, "filter top %d high frequency columns\n", high);
661 sfprintf(sfstderr, "filter done -- %u rows\n", n);
1660 if (filter(ip, &buf, &dat, pz, high, maxhigh, row, row * rows) == row)
1715 * filter out the high frequency columns
1718 if (row = filter(ip, &buf, &dat, pz, high, maxhigh, row, row * rows))

Completed in 57 milliseconds

12