Lines Matching defs:nn
105 int nn;
106 for (nn = 0; nn < ANGLE_2PI+1; nn++) {
107 double radians = nn*M_PI/ANGLE_PI;
108 angle_sin_tab[nn] = FIXED_FROM_FLOAT(sin(radians));
151 int nn, mm = 0;
153 for (nn = 0; nn < PALETTE_SIZE/4; nn++) {
154 int jj = (nn-mm)*4*255/PALETTE_SIZE;
155 palette[nn] = make565(255, jj, 255-jj);
158 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) {
159 int jj = (nn-mm)*4*255/PALETTE_SIZE;
160 palette[nn] = make565(255-jj, 255, jj);
163 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) {
164 int jj = (nn-mm)*4*255/PALETTE_SIZE;
165 palette[nn] = make565(0, 255-jj, 255);
168 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) {
169 int jj = (nn-mm)*4*255/PALETTE_SIZE;
170 palette[nn] = make565(jj, 0, 255);
311 int nn;
319 nn = s->firstFrame;
320 minRender = maxRender = avgRender = s->frames[nn].renderTime;
321 minFrame = maxFrame = avgFrame = s->frames[nn].frameTime;
323 nn += 1;
324 if (nn >= MAX_FRAME_STATS)
325 nn -= MAX_FRAME_STATS;
326 double render = s->frames[nn].renderTime;
329 double frame = s->frames[nn].frameTime;
348 nn = s->firstFrame + s->numFrames;
349 if (nn >= MAX_FRAME_STATS)
350 nn -= MAX_FRAME_STATS;
352 s->frames[nn].renderTime = renderTime;
353 s->frames[nn].frameTime = frameTime;