Lines Matching refs:sptr
286 printf("sptr: %d peak: %d top: %d\n",eht->sptr,eht->peak,eht->top);
1088 char *sptr;
1112 sptr = sub = malloc(ew*eh*4);
1115 memcpy(sptr,rgba_px + i*w*4 + sl*4,4*ew);
1116 sptr += 4*ew;
1391 ehtl->sptr = 1;
1417 eht->sptr--; // adjust stack
1418 eht->stack[eht->sptr]=*ih; // place handle on stack
1441 if(eht->sptr >= eht->allocated - 1){ // need to reallocate
1452 *ih = eht->stack[eht->sptr]; // handle that is inserted
1455 eht->stack[eht->sptr] = 0;
1457 if(eht->sptr > eht->peak){ eht->peak = eht->sptr; }
1458 eht->sptr++; // next available handle