Lines Matching defs:arg
489 byte_converter(PyObject *arg, char *p)
491 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) {
492 *p = PyBytes_AS_STRING(arg)[0];
495 else if (PyByteArray_Check(arg) && PyByteArray_GET_SIZE(arg) == 1) {
496 *p = PyByteArray_AS_STRING(arg)[0];
501 long ival = PyLong_AsLongAndOverflow(arg, &overflow);
511 "%c arg not in range(256)");
1489 bytes_contains(PyObject *self, PyObject *arg)
1491 return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
2450 "fromhex() arg at position %zd", invalid_char);
2558 bytes_mod(PyObject *self, PyObject *arg)
2564 arg, 0);
3148 striter_traverse(striterobject *it, visitproc visit, void *arg)