Lines Matching refs:meth
30 Vcodex_t* vcopen(Vcdisc_t* disc, Vcmethod_t* meth, Void_t* init,
33 Vcodex_t* vcopen(disc, meth, init, coder, flags)
35 Vcmethod_t* meth; /* method to process given data */
49 if(!meth || !(vc = (Vcodex_t*)calloc(1,sizeof(Vcodex_t))) )
52 if(!(vc->applyf = (flags&VC_ENCODE) ? meth->encodef : meth->decodef) )
58 vc->meth = meth;
67 if(meth->eventf && (*meth->eventf)(vc, VC_OPENING, init) < 0)
99 char *args, *s, meth[1024];
111 if(!(spec = vcsubstring(spec, VC_METHSEP, meth, sizeof(meth), 0)) )
118 for(m = 0; meth[m]; ++m)
119 if(!isalnum(meth[m]))
125 args = meth + m + (meth[m] == VC_ARGSEP ? 1 : 0);
126 meth[m] = 0;
129 if(!(vcmt = vcgetmeth(meth, 0)))
132 if(!(s = vcgetalias(meth, sp->buf, sizeof(sp->buf))))