Searched defs:vcw (Results 1 - 7 of 7) sorted by relevance
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwclose.c | 28 int vcwclose(Vcwindow_t* vcw) argument 30 int vcwclose(vcw) 31 Vcwindow_t* vcw; 34 if(!vcw) 37 if(vcw->disc && vcw->disc->eventf && 38 (*vcw->disc->eventf)(vcw, VCW_CLOSING, 0, vcw->disc) < 0 ) 41 if(vcw [all...] |
H A D | vcwopen.c | 35 Vcwindow_t* vcw; local 47 if(!(vcw = (Vcwindow_t*)calloc(1,sizeof(Vcwindow_t))) ) 50 vcw->disc = disc; 51 vcw->meth = meth; 52 vcw->mtdata = NIL(Void_t*); 54 if(disc->eventf && (*disc->eventf)(vcw, VCW_OPENING, 0, disc) < 0) 55 { vcwclose(vcw); 59 if(meth->eventf && (*meth->eventf)(vcw, VCW_OPENING) < 0) 60 { vcwclose(vcw); 64 return vcw; [all...] |
H A D | vcwdecode.c | 29 static Vcwmatch_t* decode(Vcwindow_t* vcw, Void_t* data, size_t size, Sfoff_t here) argument 31 static Vcwmatch_t* decode(vcw, data, size, here) 32 Vcwindow_t* vcw; /* signature structure */ 40 if(!vcw || !vcw->disc || size <= 0 ) 43 if((vcw->match.type = TYPECAST(int,data)) == VCD_SOURCEFILE ) 44 sf = vcw->disc->srcf; 45 else if(vcw->match.type == VCD_TARGETFILE) 46 sf = vcw->disc->tarf; 55 if(!(vcw [all...] |
H A D | vcwmirror.c | 33 static Vcwmatch_t* mirror(Vcwindow_t* vcw, Void_t* data, size_t size, Sfoff_t here) argument 35 static Vcwmatch_t* mirror(vcw, data, size, here) 36 Vcwindow_t* vcw; 45 Vcwmatch_t *wm = &vcw->match; 47 if(size <= 0 || !vcw || !vcw->disc || !(srcf = vcw->disc->srcf) ) 50 if(!(mir = (Mirror_t*)vcw->mtdata) || mir->ssize <= 0) 75 static int mirevent(Vcwindow_t* vcw, int type) argument 77 static int mirevent(vcw, typ [all...] |
H A D | vcwvote.c | 59 static double frinterval(Vcwindow_t* vcw, size_t* dfreq, size_t size, Sfoff_t l, Sfoff_t r) argument 61 static double frinterval(vcw, dfreq, size, l, r) 62 Vcwindow_t* vcw; 72 Freq_t *fr = (Freq_t*)vcw->mtdata; 73 Vcwmatch_t *wm = &vcw->match; 97 static double frsearch(Vcwindow_t* vcw, size_t* dfreq, size_t size) argument 99 static double frsearch(vcw, dfreq, size) 100 Vcwindow_t* vcw; 107 Freq_t *fr = (Freq_t*)vcw->mtdata; 127 if(frinterval(vcw, dfre 136 frtarget(Vcwindow_t* vcw, size_t* dfreq, size_t size, Sfoff_t here) argument 193 frmatch(Vcwindow_t* vcw, Void_t* data, size_t dtsz, Sfoff_t here) argument 292 frevent(Vcwindow_t* vcw, int type) argument [all...] |
H A D | vcwprefix.c | 368 static Vcwmatch_t* pfmatch(Vcwindow_t* vcw, Void_t* data, size_t dtsz, Sfoff_t here) argument 370 static Vcwmatch_t* pfmatch(vcw, data, dtsz, here) 371 Vcwindow_t* vcw; 381 Vcwmatch_t *wm = &vcw->match; 382 Prefix_t *pfx = (Prefix_t*)vcw->mtdata; 480 static int pfevent(Vcwindow_t* vcw, int type) argument 482 static int pfevent(vcw, type) 483 Vcwindow_t* vcw; 494 if(!vcw->disc || (!vcw [all...] |
/ast/src/lib/libvcodex/ |
H A D | vcsfio.c | 49 Vcwindow_t* vcw; /* to match delta-comp windows */ member in struct:_sfdc_s 553 if(sfdc->vcw) 554 wm = vcwapply(sfdc->vcw, dt, dosz, sfdc->pos); 570 if(sfdc->vcw) /* set window data */ 584 if(sfdc->vcw) /* tell window matcher compressed result */ 585 vcwfeedback(sfdc->vcw, cdsz); 682 { if(!sfdc->vcw || 685 !(wm = vcwapply(sfdc->vcw, TYPECAST(Void_t*, ctrl), d, pos)) ) 705 if(sfdc->vcw) 914 if(sfdc->vcw ) [all...] |
Completed in 27 milliseconds