Lines Matching defs:srcf
30 { Vcwfile_t* srcf; /* to find matches in source file */
77 if((r += size) > fr->srcf->size)
78 r = fr->srcf->size;
82 if(sfseek(fr->srcf->file, l, 0) != l ||
83 !(data = sfreserve(fr->srcf->file, dtsz, 0)) )
109 max = fr->srcf->size - size;
110 for(i = 0; i < fr->srcf->nidx; )
112 pos = ((Sfoff_t)fr->srcf->idx[i])*((Sfoff_t)NG_SIZE);
119 for(i = i+1; i < fr->srcf->nidx; ++i)
120 { pos = ((Sfoff_t)fr->srcf->idx[i])*((Sfoff_t)NG_SIZE);
209 if(!vcw || !(fr = (Freq_t*)vcw->mtdata) || (!fr->srcf && !fr->tarf) )
227 if(fr->srcf && (fr->dtsz == 0 || (comp/(double)fr->dtsz) < SEQSEARCH) &&
232 if(fr->srcf && vcwfsearch(fr->srcf, (Vcchar_t*)data, dtsz) > 0 &&
242 { if(!fr->srcf)
246 wm->wpos = here+dtsz < fr->srcf->size ? here : fr->srcf->size - dtsz;
255 high = fr->srcf->size;
272 sf = wm->type == VCD_SOURCEFILE ? vcw->disc->srcf : vcw->disc->tarf;
307 if(vcw->disc && vcw->disc->srcf )
308 fr->srcf = vcwfopen(vcw->disc->srcf);
309 else fr->srcf = NIL(Vcwfile_t*);
316 if(!fr->srcf && !fr->tarf)
331 { if(fr->srcf)
332 vcwfclose(fr->srcf);