Home
last modified time | relevance | path

Searched refs:pickbuffer (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dcstubs445 static short *pickbuffer = NULL;
455 if (pickbuffer != NULL) {
460 if ((pickbuffer = PyMem_NEW(short, pickbuffersize)) == NULL) {
463 (*func)(pickbuffer, pickbuffersize);
477 if (pickbuffer == NULL) {
482 nhits = (*func)(pickbuffer);
489 n += 1 + pickbuffer[n];
497 w = PyInt_FromLong((long)pickbuffer[i]);
504 PyMem_DEL(pickbuffer);
505 pickbuffer = NULL;
Dglmodule.c422 static short *pickbuffer = NULL; variable
430 if (pickbuffer != NULL) { in pick_select()
435 if ((pickbuffer = PyMem_NEW(short, pickbuffersize)) == NULL) { in pick_select()
438 (*func)(pickbuffer, pickbuffersize); in pick_select()
448 if (pickbuffer == NULL) { in endpick_select()
453 nhits = (*func)(pickbuffer); in endpick_select()
460 n += 1 + pickbuffer[n]; in endpick_select()
468 w = PyInt_FromLong((long)pickbuffer[i]); in endpick_select()
475 PyMem_DEL(pickbuffer); in endpick_select()
476 pickbuffer = NULL; in endpick_select()