Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 55) sorted by relevance

123

/RvlSDK-3.2.2/build/demos/encdemo/src/
Dunicode.c57 s32 i, j; in main() local
65 for (j = 0; j < 8; ++j) in main()
66 OSReport("%#x\t%#x\n", dst[i + j], utf16[i + j]); in main()
100 s32 i, j; in main() local
108 for (j = 0; j < 8; ++j) in main()
109 OSReport("%#x\t%#x\n", dst[i + j], utf32[i + j]); in main()
143 s32 i, j; in main() local
151 for (j = 0; j < 8; ++j) in main()
152 OSReport("%#x\t%#x\n", dst[i + j], utf8[i + j]); in main()
186 s32 i, j; in main() local
[all …]
Dvalidate.c52 s32 i, j; in ValidateFuncToUnicode() local
60 for (j = 0; j < count; ++j) in ValidateFuncToUnicode()
61 OSReport("%#x\t%#x\n", dst[i + j], wcs[i + j]); in ValidateFuncToUnicode()
94 s32 i, j; in ValidateFuncFromUnicode() local
102 for (j = 0; j < count; ++j) in ValidateFuncFromUnicode()
103 OSReport("%#x\t%#x\n", dst[i + j], mbs[i + j]); in ValidateFuncFromUnicode()
136 s32 i, j; in ValidateFuncMultiByte() local
144 for (j = 0; j < count; ++j) in ValidateFuncMultiByte()
145 OSReport("%#x\t%#x\n", dst[i + j], dstmbs[i + j]); in ValidateFuncMultiByte()
/RvlSDK-3.2.2/build/demos/rsodemo/LinkFar/src/
Dstatic.c59 int i,j; in LinkFar()
61 for(i = 0,j = 0; in LinkFar()
63 i+=16,j+=4) { in LinkFar()
65 a_buff[j],a_buff[j+1],a_buff[j+2],a_buff[j+3]); in LinkFar()
92 int i,j; in LinkFarMem2()
94 for(i = 0,j = 0; in LinkFarMem2()
96 i+=16,j+=4) { in LinkFarMem2()
98 a_buff[j],a_buff[j+1],a_buff[j+2],a_buff[j+3]); in LinkFarMem2()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Transform/
Dtf-reflect.c179 s32 i, j; in myAnimeModel() local
226 for ( j = 0; j < 2; j ++ ) in myAnimeModel()
229 if ( j == 1 ) nfct = -nfct; in myAnimeModel()
230 pipeTexMtx[i][j][0] = pipePosMtx[i][j][0] * nfct; in myAnimeModel()
231 pipeTexMtx[i][j][1] = pipePosMtx[i][j][1] * nfct; in myAnimeModel()
232 pipeTexMtx[i][j][2] = pipePosMtx[i][j][2] * nfct; in myAnimeModel()
233 pipeTexMtx[i][j][3] = 0.5f; in myAnimeModel()
245 s32 i, j, k; in myDrawModel() local
307 for ( j = 0; j < NUMRINGS-1; j ++ ) in myDrawModel()
311 GXLoadPosMtxIndx( (u16)(j+1), pm1 ); in myDrawModel()
[all …]
Dtf-stitch.c294 u8 i, j, k; in DrawTick() local
342 for (j = 0; j < 9; j++) in DrawTick()
347 if(segs[((j + (10 * k)) - k) + 1].recomputeNormalMtx) in DrawTick()
348 ComputeNormalRotMtx(&(segs[((j + (10 * k)) - k) + 1]), i); in DrawTick()
349 if(segs[((j + (10 * k)) - k)].recomputeNormalMtx) in DrawTick()
350 ComputeNormalRotMtx(&(segs[((j + (10 * k)) - k)]), i); in DrawTick()
353 if(segs[((j + (10 * k)) - k) + 1].recomputeNormalMtx) in DrawTick()
354 ComputeNormalRotMtx(&(segs[((j + (10 * k)) - k) + 1]), 0); in DrawTick()
355 if(segs[((j + (10 * k)) - k)].recomputeNormalMtx) in DrawTick()
356 ComputeNormalRotMtx(&(segs[((j + (10 * k)) - k)]), 0); in DrawTick()
[all …]
Dtf-clip-bug.c186 s16 j; // loop variable in main() local
376 for(j=0; j<4; j++) // left wall in main()
378 GXPosition1x8( (u8) ivert[tess][i*4+j]); in main()
379 GXColor1x8( (u8) ivert[tess][i*4+j]); in main()
381 for(j=0; j<4; j++) // right wall in main()
383 GXPosition1x8( (u8) (ivert[tess][i*4+j]+IHALF)); in main()
384 GXColor1x8( (u8) (ivert[tess][i*4+j]+IHALF)); in main()
/RvlSDK-3.2.2/build/demos/gxdemo/src/DisplayList/
DDL-tf-mtx.c375 s32 i, j, k; in BuildModelDL() local
417 for ( j = 0 ; j < NUM_MTX_SLOTS ; j++ ) in BuildModelDL()
419 GXLoadPosMtxIndx ((u16)(i+j), pm0); in BuildModelDL()
420 GXLoadNrmMtxIndx3x3((u16)(i+j), pm0); in BuildModelDL()
421 GXLoadTexMtxIndx ((u16)(i+j), tm0, GX_MTX2x4); in BuildModelDL()
429 for ( j = 0 ; j < (NUM_MTX_SLOTS-1) ; j++ ) in BuildModelDL()
494 u32 i, j; in BuildMtxArray() local
541 for ( j = 0; j < 2; j++ ) in BuildMtxArray()
544 if ( j == 1 ) nfct = -nfct; in BuildMtxArray()
545 texMtxArray[i][j][0] = posMtxArray[i][j][0] * nfct; in BuildMtxArray()
[all …]
DDL-geom.c522 s32 i, j, v=0; in MyCreateSphere() local
535 for (j = 0; j < numMinor; j++) in MyCreateSphere()
537 f32 c = j * minorStep; in MyCreateSphere()
565 s32 i, j, v=0; in MyDrawSphere() local
572 for (j = numMinor; j >= 0; j--) in MyDrawSphere()
574 GXPosition1x16((u16) (j % numMinor + 1)); in MyDrawSphere()
575 GXNormal1x16((u16) (j % numMinor + 1)); in MyDrawSphere()
584 for (j = 0; j <= numMinor; j++) in MyDrawSphere()
586 GXPosition1x16((u16) (n + numMinor + j % numMinor)); in MyDrawSphere()
587 GXNormal1x16((u16) (n + numMinor + j % numMinor)); in MyDrawSphere()
[all …]
/RvlSDK-3.2.2/build/demos/osdemo/src/
Dfontdemo2.c40 int i, j; in main() local
83 j = 24 * (i / 8) + (i % 8); in main()
85 image[j], in main()
86 image[j + 32 / sizeof(u32)], in main()
87 image[j + 64 / sizeof(u32)]); in main()
Dstopwatchdemo.c39 u32 i, j; in main() local
59 for (j = 0; j < INNER_ITERATIONS; j++) in main()
/RvlSDK-3.2.2/build/libraries/demo/src/
DDEMOAVX.c172 u32 j; in DEMOAVXRefreshBuffer() local
193 for (j=0; j<AVX_FRAME_SIZE_WORDS; j+=2) in DEMOAVXRefreshBuffer()
195 … __AVX_left_buffer [__AVX_write_ptr] = (s16)(__AVX_buffer[curr_frame * AVX_FRAME_SIZE_WORDS + j]); in DEMOAVXRefreshBuffer()
196 …AVX_right_buffer[__AVX_write_ptr] = (s16)(__AVX_buffer[curr_frame * AVX_FRAME_SIZE_WORDS + j + 1]); in DEMOAVXRefreshBuffer()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Texture/
Dtex-invalid.c150 u32 i, j; in DrawInit() local
228 for ( j = 0 ; j < NUM_REGIONS ; ++j ) in DrawInit()
230 sc->invalidateSw[i][j] = 1; in DrawInit()
449 u32 i, j; in MyDrawCaption() local
457 for ( j = 0 ; j < NUM_ROWS - 2 ; ++j ) in MyDrawCaption()
461 (s16)(ALI_ROW(j)+68), in MyDrawCaption()
463 InvSwStr[sc->invalidateSw[j][i]]); in MyDrawCaption()
Dtex-lod.c213 u32 i, j; in DrawInit() local
253 for ( j = 0 ; j < NUM_PARAMETERS ; ++j ) in DrawInit()
255 sc->subScene[i].filterCtrl[j] = 0; in DrawInit()
477 u8 i, j; in DrawCube() local
489 for ( j = 0 ; j < 4 ; ++j ) in DrawCube()
491 GXPosition1x8(CubeFaces[i][j]); in DrawCube()
492 GXTexCoord1x8(j); in DrawCube()
Dtex-2-tex.c213 u32 i, j; in DrawTick() local
222 for(j = 0; j < 7; j ++) in DrawTick()
240 temp = TPLGet(tpl, j + 7); in DrawTick()
243 TPLGetGXTexObjFromPaletteCI(tpl, &to1, &tlo1, GX_TLUT0, j + 7); in DrawTick()
249 TPLGetGXTexObjFromPalette(tpl, &to1, j + 7); in DrawTick()
253 DrawSmoothCube(-300.0F + ((float)(i * 100)), -300.0F + ((float)(j * 100))); in DrawTick()
/RvlSDK-3.2.2/build/demos/videmo/src/
Dmoving.c115 u32 i, j; in draw() local
125 for (j = field; j < rmode->viHeight; j += 2) in draw()
133 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
Dmoving.progressive.c114 u32 i, j; in draw() local
125 for (j = field; j < rmode->viHeight; j++) in draw()
133 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
Dmoving.30Hz.c115 u32 i, j; in draw() local
125 for (j = 0; j < rmode->viHeight; j++) in draw()
133 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
Dmoving.regions.c170 u32 i, j; in draw() local
181 for (j = field; j < rmode->viHeight; j++) in draw()
189 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
/RvlSDK-3.2.2/build/tools/TexConv/src/
Dtga.cpp757 u32 i,j; in UnencodeTgaImage() local
786 for(j=0; j<pixelDepth; j++) in UnencodeTgaImage()
788 *(dstPtr + dstOffset) = *(riPtr + riOffset + j); in UnencodeTgaImage()
802 for(j=0; j<pixelDepth; j++) in UnencodeTgaImage()
822 u32 i,j,k; in OrientUncompressedTgaData() local
888 for(j=0; j<width; j++) in OrientUncompressedTgaData()
929 u32 i, j; in AdjustTgaForPaletteOffset() local
956 for(j=0; j< tga->width; j++) in AdjustTgaForPaletteOffset()
/RvlSDK-3.2.2/build/demos/gddemo/src/
Dgd-light-create.c165 u32 i, j, k; in SendPartOfTorus() local
172 for ( j = 0 ; j <= MODEL_N0 ; j++ ) in SendPartOfTorus()
174 k = (j % MODEL_N0) * MODEL_N1; in SendPartOfTorus()
/RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/
Dspheremap.c94 s32 i, j; in genMapSphere() local
124 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { in genMapSphere()
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()
Dparabolicmap.c124 s32 i, j; in genMapSphere() local
153 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = -2*M_PI*j/nlon) { in genMapSphere()
182 for (j = 0, phi = 0.0f; j <= nlon; j++, phi = 2*M_PI*j/nlon) in genMapSphere()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c156 u32 i,j; in createDonut() local
159 for (j=0; j<=N2; j++) in createDonut()
160 donutData[i*(N2+1) + j] = donutCoord(i, j, N1, N2, R1, R2); in createDonut()
543 u32 i,j; in drawDonut() local
549 for (j=0; j<=N2; j++) in drawDonut()
551 sendVertex(&donutData[(i+1)*(N2+1) + j]); in drawDonut()
552 sendVertex(&donutData[i*(N2+1) + j]); in drawDonut()
562 u32 i, j; in drawHemisphere() local
569 for (j=0; j<=TT; j++) in drawHemisphere()
572 c.y = ((f32) 2.0f*j/TT) - 1.0f; in drawHemisphere()
/RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/
Dcmn-model.c244 s32 i, j; in cmModel1_Draw() local
255 for ( j = 0; j < 4; j ++ ) in cmModel1_Draw()
257 mmtx[i][j] = 0.0f; in cmModel1_Draw()
383 s32 i, j, y0, y1, sx, sy; in cmModel2_Draw() local
428 for ( j = 0; j < 11; j ++ ) in cmModel2_Draw()
436 sy = (j )*MESHSTEP-obj2_yofst; in cmModel2_Draw()
679 s32 i, j; in cmModel4_Draw() local
688 for ( j = 0; j < 4; j ++ ) in cmModel4_Draw()
690 mmtx[i][j] = 0.0f; in cmModel4_Draw()
/RvlSDK-3.2.2/build/tools/darch/src/
Ddarch.c263 int i, j; in main() local
270 for(j = 0; j < Arg[i].argNum; j++) in main()
272 fprintf(stderr, "%s ", (Arg[i].argStart)[j]); in main()

123