Lines Matching defs:index
182 PRUint16 index;
183 if (!PyArg_ParseTuple(args, "h:GetMethodInfo", &index))
192 if (index>=nmethods) {
193 PyErr_SetString(PyExc_ValueError, "The method index is out of range");
200 r = pI->GetMethodInfo(index, &pRet);
218 PRUint16 index;
221 r = pI->GetMethodInfoForName(name, &index, &pRet);
228 PyObject *real_ret = Py_BuildValue("iO", (int)index, ret_i);
236 PRUint16 index;
237 if (!PyArg_ParseTuple(args, "h:GetConstant", &index))
247 r = pI->GetConstant(index, &pRet);
259 PyErr_SetString(PyExc_ValueError, "The method index is out of range");
272 PyErr_SetString(PyExc_ValueError, "The param index is out of range");
417 NS_IMETHOD GetMethodInfo(PRUint16 index, const nsXPTMethodInfo * *info) = 0;
418 NS_IMETHOD GetMethodInfoForName(const char *methodName, PRUint16 *index, const nsXPTMethodInfo * *info) = 0;
419 NS_IMETHOD GetConstant(PRUint16 index, const nsXPTConstant * *constant) = 0;