Lines Matching refs:meth
30 Dtmethod_t* dtmethod(Dt_t* dt, Dtmethod_t* meth)
32 Dtmethod_t* dtmethod(dt, meth)
34 Dtmethod_t* meth;
39 Dtmethod_t *oldmt = dt->meth;
42 if(!meth || meth == oldmt)
46 if(disc->eventf && (*disc->eventf)(dt,DT_METH,(Void_t*)meth,disc) < 0)
53 dt->searchf = meth->searchf;
54 dt->meth = meth;
56 if((*dt->meth->eventf)(dt, DT_OPEN, NIL(Void_t*)) < 0 )
61 if(dt->searchf == meth->searchf)
63 dt->meth = oldmt;
66 { (void)(*dt->meth->eventf)(dt, DT_CLOSE, NIL(Void_t*));
69 dt->searchf = meth->searchf;
70 dt->meth = meth;
87 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_SHARE, (Void_t*)((long)action)) >= 0) )
95 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_ANNOUNCE, (Void_t*)((long)action)) >= 0) )
103 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_OPTIMIZE, (Void_t*)((long)action)) >= 0) )