Lines Matching defs:args
393 getnextarg(PyObject *args, Py_ssize_t arglen, Py_ssize_t *p_argidx)
399 return args;
401 return PyTuple_GetItem(args, argidx);
581 PyObject *args, int use_bytearray)
591 if (args == NULL) {
607 if (PyTuple_Check(args)) {
608 arglen = PyTuple_GET_SIZE(args);
615 if (Py_TYPE(args)->tp_as_mapping && Py_TYPE(args)->tp_as_mapping->mp_subscript &&
616 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) &&
617 !PyByteArray_Check(args)) {
618 dict = args;
693 Py_DECREF(args);
696 args = PyObject_GetItem(dict, key);
698 if (args == NULL) {
720 v = getnextarg(args, arglen, &argidx);
760 v = getnextarg(args, arglen, &argidx);
804 v = getnextarg(args, arglen, &argidx);
1047 Py_DECREF(args);
1054 Py_DECREF(args);
1868 bytes_find(PyBytesObject *self, PyObject *args)
1870 return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
1874 bytes_index(PyBytesObject *self, PyObject *args)
1876 return _Py_bytes_index(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
1881 bytes_rfind(PyBytesObject *self, PyObject *args)
1883 return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
1888 bytes_rindex(PyBytesObject *self, PyObject *args)
1890 return _Py_bytes_rindex(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
2030 bytes_count(PyBytesObject *self, PyObject *args)
2032 return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
2297 bytes_startswith(PyBytesObject *self, PyObject *args)
2299 return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);
2303 bytes_endswith(PyBytesObject *self, PyObject *args)
2305 return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args);