Lines Matching refs:statebytes
927 unsigned char statebytes[1 + MAXENCPENDING*4 + sizeof(self->state.c)];
941 statebytes[0] = (unsigned char)pendingsize;
942 memcpy(statebytes + 1, pendingbuffer, pendingsize);
945 statebytes[0] = 0;
948 memcpy(statebytes+statesize, self->state.c,
952 return (PyObject *)_PyLong_FromByteArray(statebytes, statesize,
969 unsigned char statebytes[1 + MAXENCPENDING*4 + sizeof(self->state.c)];
971 if (_PyLong_AsByteArray(statelong, statebytes, sizeof(statebytes),
977 if (statebytes[0] > MAXENCPENDING*4) {
982 pending = PyUnicode_DecodeUTF8((const char *)statebytes+1,
983 statebytes[0], "strict");
990 memcpy(self->state.c, statebytes+1+statebytes[0],
1246 unsigned char statebytes[8];
1254 if (_PyLong_AsByteArray(statelong, statebytes, sizeof(statebytes),
1276 memcpy(self->state.c, statebytes, sizeof(statebytes));