Lines Matching refs:parray
576 string parray ; in gl_lrectwrite() local
589 if (!PyArg_GetString(args, 5, 4, &parray)) in gl_lrectwrite()
602 lrectwrite( x1 , y1 , x2 , y2 , (unsigned long *) parray ); in gl_lrectwrite()
615 PyObject *parray; in gl_lrectread() local
626 parray = PyString_FromStringAndSize((char *)NULL, pixcount*sizeof(long)); in gl_lrectread()
627 if (parray == NULL) in gl_lrectread()
629 lrectread(x1, y1, x2, y2, (unsigned long *) PyString_AsString(parray)); in gl_lrectread()
630 return parray; in gl_lrectread()
638 unsigned long *parray, hints; in gl_readdisplay() local
648 parray = (unsigned long *)PyString_AsString(rv); in gl_readdisplay()
649 size_ret = readdisplay(x1, y1, x2, y2, parray, hints); in gl_readdisplay()
685 unsigned long *parray; in gl_packrect() local
711 parray = (unsigned long *) PyString_AsString(unpacked); in gl_packrect()
713 for (y = 0; y < height; y += packfactor, parray += packfactor*width) { in gl_packrect()
715 pixel = parray[x]; in gl_packrect()
737 register unsigned long *parray; in gl_unpackrect() local
769 parray = (unsigned long *) PyString_AsString(unpacked); in gl_unpackrect()
775 *parray++ = unpacktab[*p++]; in gl_unpackrect()
781 y += packfactor, parray += packfactor*width) { in gl_unpackrect()
789 parray[i+x+j] = pixel; in gl_unpackrect()