Lines Matching refs:nPolys
189 uint16_t nPolys;
191 if(torev){ nPolys = *(uint16_t *)(pp + offsetof(U_POLYPOLYGON, nPolys)); }
192 U_swap2(pp + offsetof(U_POLYPOLYGON, nPolys),1);
193 if(!torev){ nPolys = *(uint16_t *)(pp + offsetof(U_POLYPOLYGON, nPolys)); }
196 for(totPoints=0,i=0;i<nPolys; i++){ totPoints += aPolyCounts[i]; }
198 U_swap2(aPolyCounts,nPolys);
200 for(totPoints=0,i=0;i<nPolys; i++){ totPoints += aPolyCounts[i]; }
202 U_swap2(&(aPolyCounts[nPolys]),2*totPoints); /* 2 coords/ point */