Lines Matching refs:method
141 static Asometh_t* method[] =
175 * if type!=0 return lock method for type with name details
176 * else if name!=0 return lock method matching <name>[,<details>]
177 * else return the current lock method
197 return method[0];
198 for (i = 0; i < elementsof(method) - 1; i++)
199 if (meth == method[i])
200 return method[i+1];
205 for (i = 0; i < elementsof(method); i++)
206 if (method[i]->type & type)
208 method[i]->details = (char*)data;
209 return method[i];
216 for (i = 0; i < elementsof(method); i++)
217 if (strncmp(name, method[i]->name, n) == 0)
220 method[i]->details = e + 1;
221 return method[i];
227 * clean up lock method on exit
242 * initialize lock method
263 asoerror(ASO_EMETHOD, "%s method has no lock function", meth->name, 0, 0);
278 asoerror(ASO_EMETHOD, "%s method initialization failed -- reverting to the %s method", meth->name, state.meth->name, 0);
315 asoerror(ASO_EMETHOD, "%s method lock failed", state.meth->name, 0, 0);