Lines Matching defs:vcw
29 static Vcwmatch_t* decode(Vcwindow_t* vcw, Void_t* data, size_t size, Sfoff_t here)
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->match.wdata = sfreserve(sf, size, 0)) || sfvalue(sf) < size )
57 vcw->match.wsize = size;
58 vcw->match.wpos = here;
59 vcw->match.msize = size;
60 vcw->match.more = 0;
62 return &vcw->match;