Lines Matching defs:method
112 static Asometh_t* method[] =
127 * if type!=0 return lock method for type with name details
128 * else if name!=0 return lock method matching <name>[,<details>]
129 * else return the current lock method
146 return method[0];
147 for (i = 0; i < elementsof(method) - 1; i++)
148 if (meth == method[i])
149 return method[i+1];
150 if (meth == method[i])
155 for (i = 0; i < elementsof(method); i++)
156 if (method[i]->type & type)
158 method[i]->details = (char*)data;
159 return method[i];
164 for (i = 0; i < elementsof(method); i++)
165 if (strncmp(name, method[i]->name, n) == 0)
168 method[i]->details = e + 1;
169 return method[i];