Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 49) sorted by relevance

12

/TwlSDK-5.4/build/tools/mic2wav/
Dmain.cpp164 FILE *f = fopen(path, "wb"); in Save() local
165 if(!f) return false; in Save()
182 fwrite("RIFF", 1, 4, f); // 4. in Save()
184 fwrite(&d, sizeof(d), 1, f); // 4. in Save()
185 fwrite("WAVE", 1, 4, f); // 4. in Save()
187 fwrite("fmt ", 1, 4, f); // 4. in Save()
189 fwrite(&d, sizeof(d), 1, f); // 4. in Save()
191 fwrite(&w, sizeof(w), 1, f); // 2. in Save()
193 fwrite(&w, sizeof(w), 1, f); // 2. in Save()
195 fwrite(&d, sizeof(d), 1, f); // 4. in Save()
[all …]
/TwlSDK-5.4/include/twl/dsp/common/
Dpipe.h261 #define fclose(f) DSP_CloseFile((int)f)
262 #define fseek(f, ofs, whence) DSP_SeekFile((int)f, ofs, whence)
263 #define fread(buf, len, unit, f) DSP_ReadFile((int)f, buf, (len) * (unit))
264 #define fwrite(buf, len, unit, f) DSP_WriteFile((int)f, buf, (len) * (unit))
265 #define rewind(f) (void)DSP_SeekFile((int)f, 0, DSP_PIPE_IO_SEEK_SET)
266 #define ftell(f) (void)DSP_SeekFile((int)f, 0, DSP_PIPE_IO_SEEK_CUR)
267 #define fgetpos(f, ppos) (((*(ppos) = ftell((int)f)) != -1) ? 0 : -1)
268 #define fsetpos(f, ppos) fseek((int)f, *(ppos), DSP_PIPE_IO_SEEK_SET)
/TwlSDK-5.4/include/twl/specfiles/
Dmwldarm.response.template1 <FOREACH.STATIC.OBJECTS:f>
4 <FOREACH.STATIC.LIBRARIES:f>
8 <FOREACH.AUTOLOAD.OBJECTS:f>
11 <FOREACH.AUTOLOAD.LIBRARIES:f>
17 <FOREACH.OVERLAY.OBJECTS:f>
20 <FOREACH.OVERLAY.LIBRARIES:f>
25 <FOREACH.LTDAUTOLOAD.OBJECTS:f>
28 <FOREACH.LTDAUTOLOAD.LIBRARIES:f>
34 <FOREACH.LTDOVERLAY.OBJECTS:f>
37 <FOREACH.LTDOVERLAY.LIBRARIES:f>
/TwlSDK-5.4/include/nitro/gx/
Dg3_util.h38 void G3i_FrustumW_(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, BOOL draw,
40 void G3i_PerspectiveW_(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, fx32 scaleW,
42 void G3i_OrthoW_(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, BOOL draw,
81 static inline void G3_Frustum(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in G3_Frustum() argument
83 G3i_FrustumW_(t, b, l, r, n, f, FX32_ONE, TRUE, mtx); in G3_Frustum()
105 void G3_Perspective(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, MtxFx44 *mtx) in G3_Perspective() argument
107 G3i_PerspectiveW_(fovySin, fovyCos, aspect, n, f, FX32_ONE, TRUE, mtx); in G3_Perspective()
128 static inline void G3_Ortho(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in G3_Ortho() argument
130 G3i_OrthoW_(t, b, l, r, n, f, FX32_ONE, TRUE, mtx); in G3_Ortho()
152 G3_FrustumW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx) in G3_FrustumW() argument
[all …]
/TwlSDK-5.4/include/nitro/specfiles/
Dmwldarm.response.template1 <FOREACH.STATIC.OBJECTS:f>
4 <FOREACH.STATIC.LIBRARIES:f>
8 <FOREACH.AUTOLOAD.OBJECTS:f>
11 <FOREACH.AUTOLOAD.LIBRARIES:f>
17 <FOREACH.OVERLAY.OBJECTS:f>
20 <FOREACH.OVERLAY.LIBRARIES:f>
Dndsld.response.template1 <FOREACH.STATIC.OBJECTS:f>
4 <FOREACH.STATIC.LIBRARIES:f>
8 <FOREACH.AUTOLOAD.OBJECTS:f>
11 <FOREACH.AUTOLOAD.LIBRARIES:f>
17 <FOREACH.OVERLAY.OBJECTS:f>
20 <FOREACH.OVERLAY.LIBRARIES:f>
/TwlSDK-5.4/build/demos.TWL/nandApp/simple/src/
Dmain.c51 FSFile f; in TwlMain() local
56 FS_InitFile(&f); in TwlMain()
58 bSuccess = FS_OpenFileEx(&f, "build_time.txt", FS_FILEMODE_R); in TwlMain()
61 fileSize = FS_GetFileLength(&f); in TwlMain()
65 readSize = FS_ReadFile(&f, pBuffer, (s32)fileSize); in TwlMain()
68 bSuccess = FS_CloseFile(&f); in TwlMain()
/TwlSDK-5.4/build/demos.TWL/nandApp/backup/src/
Dmain.c145 FSFile f; in LoadFile() local
151 FS_InitFile(&f); in LoadFile()
153 bSuccess = FS_OpenFileEx(&f, path, FS_FILEMODE_R); in LoadFile()
159 fileSize = FS_GetFileLength(&f); in LoadFile()
163 readSize = FS_ReadFile(&f, pBuffer, (s32)fileSize); in LoadFile()
166 bSuccess = FS_CloseFile(&f); in LoadFile()
187 FSFile f; in SaveFile() local
192 FS_InitFile(&f); in SaveFile()
195 bSuccess = FS_OpenFileEx(&f, path, FS_FILEMODE_W); in SaveFile()
204 fsResult = FS_SetFileLength(&f, 0); in SaveFile()
[all …]
/TwlSDK-5.4/build/demos.TWL/nandApp/other_backup/src/
Dmain.c169 FSFile f; in LoadFile() local
175 FS_InitFile(&f); in LoadFile()
177 bSuccess = FS_OpenFileEx(&f, path, FS_FILEMODE_R); in LoadFile()
183 fileSize = FS_GetFileLength(&f); in LoadFile()
187 readSize = FS_ReadFile(&f, pBuffer, (s32)fileSize); in LoadFile()
190 bSuccess = FS_CloseFile(&f); in LoadFile()
211 FSFile f; in SaveFile() local
216 FS_InitFile(&f); in SaveFile()
219 bSuccess = FS_OpenFileEx(&f, path, FS_FILEMODE_W); in SaveFile()
228 fsResult = FS_SetFileLength(&f, 0); in SaveFile()
[all …]
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_BmpBg_MainRam/pictures/
Dpicture_256_192_b.ppm5 f��f��f��f��f��f��f��f��f��g��f��d��e��h��h��h��h��d��d��d��d��d��e��e��e��f��g��h��h��i��h��h��h��…
6 …7��8��:��9��;��9��:��:��:��:��8��:��9��7��3��6��8��8��-%+bG5$?m8�� v�f�0��1��/��1��1��0��3�…
63 .*!, /f'G4 '
69f��i��f��c��f��h��hĿgľfþ_��]��`��_��c��c��d��c��a��a��`��`��a��^��\��]��[��X��Y��[��[��\��Z��Z��[�…
78 …�V��X��[��\��^��`��_��^��]��\��^��d»dļb��b��gƾlȽjżf��f��h��e��e��gžiǿjſjľk��j��e��c¼b��f��p��m��jɿ…
81 …�[��Z��[��\��[��^��c��e��e��gögĹfļc��b��d��h¹jĻkŽjýj��g��c��d��hüjĽjŽl��jƿh��e¾e��fþkƿjŽiĽlǿn��iľd…
82 …�[��[��\��_��_��c��h¹fûdû_��`��lǿpȿpǿr��mžgýd��c��g¼k¹h��i��j��i��k��g��d��e��gûjƽkǽjƾhĿiĿh��hÿmƾm…
87f��f��e��b��`��_��b��f��c��]��Z��Z��\��_��`��^��^��]��]��^��^��^��`��c��f��g��i¼h»kŽlƾjžk��m��m��r…
92f��b��_��]��`��b��c��b��d��b��^��a��e��f��e��c��`��`��c��c��`��b��a��a��c��a��]��\��]��a��b��`��a�…
101f��g��c��b��`��_��[��\��\��`��^��U��X��W��W��R��K��Q��U��V��T��R��T��T��M��K��M��N��P��Q��S��W��V�…
Dpicture_256_192_a.ppm5f=%dOB�Q;tB.c@,[MP��������������������������������������������������������������������������������…
Dpicture_256_192_d.ppm7 …!3/"70'<5,D<"<9!8.*#($+%'9-#90,#*'!  &".806?3+."65-<6,]ZQy{{`d\`f]szyjrngidJKBEA7ol_TW…
21 ##"!#:f5g(*U)-V,.W.!6!'0&L 9%9".F")8+/%?!'H(&Q,-R16J)*:;^Y�&.X'…
27 …6]AKfT7U=#J='/6W!/N% 2"'7.3$%@"U{?_�7:V%=S<X�8U�+S1O2P�[T�^7y@2b$=f"4("@,I(CvU@+$1…
34 … %&)(C'<`,=f31[1*Q3KqS6f8 >/=/,*,M(Ai()M/#2!;fS�:y=^CHiXCsIO�Y�…
46f):j.;m(S�f�H.[#=W77T.9`P�$U�I� 9v/-i0H|RG~\E &)?V@N|YJ[3aD7Z"+N#% + 4&SxIk�l0jA?…
62 …('4*/H2?g1E�(W+'?&2G7;\BClNOuWYhYgmpmtry�zTWOOKCNMLIE>^TK32*"!TK>f]N@:20.) /BN<v��[ucI…
69 …G�CDvKF|AC�8<v.2b*5i48e:6_-6f.@p>I~JM�R=tE%O* N.W#`�eF)9 !>%9%#H*3. 0$J!> @'/]<"C-% …
93 .81JOKSRQE>=+*$$'!Bp&@a3Fg99n40j+2f+MFO�AR�B\�[^�b?�1=} >x+]$/i-6s#>{&L�=T�ZP�<W�?~"/a17n&4q…
123 ":l7El=PqKIs;\�9Z�=W�KN�DR�CQ�MH�JR�MK�KP�AR�0L�=y$;k5_�K^�Fe�\X�MZ�TP�JK�@<n0/fE{.o�hh�cS�HP�T…
137 … +,B,%J*!H$%H$;x=v(Z�D��ZR�)M~3`�R<�5*f*'U#Dv,I�0R�E�@�3J�?R�<X�DW�Lp�Pn�k\�UH�3Az0>v(S�!k�>o…
[all …]
/TwlSDK-5.4/build/demos/rtc/convert-1/src/
Dmain.c171 #define PrintResultEq( a, b, f ) \ argument
172 { OS_TPrintf( ((a) == (b)) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && ((a) == (b)); }
173 #define PrintResultStringEq( a, b, f ) \ argument
174 …{ OS_TPrintf( (strcmp((a), (b)) == 0) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && (strcmp((a), (b)…
/TwlSDK-5.4/include/nitro/fx/
Dfx_mtx44.h49 void MTX_FrustumW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx);
50 void MTX_PerspectiveW(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, fx32 scaleW, MtxF…
51 void MTX_OrthoW(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, fx32 scaleW, MtxFx44 *mtx);
245 SDK_INLINE void MTX_Frustum(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in MTX_Frustum() argument
247 MTX_FrustumW(t, b, l, r, n, f, FX32_ONE, mtx); in MTX_Frustum()
267 void MTX_Perspective(fx32 fovySin, fx32 fovyCos, fx32 aspect, fx32 n, fx32 f, MtxFx44 *mtx) in MTX_Perspective() argument
269 MTX_PerspectiveW(fovySin, fovyCos, aspect, n, f, FX32_ONE, mtx); in MTX_Perspective()
288 SDK_INLINE void MTX_Ortho(fx32 t, fx32 b, fx32 l, fx32 r, fx32 n, fx32 f, MtxFx44 *mtx) in MTX_Ortho() argument
290 MTX_OrthoW(t, b, l, r, n, f, FX32_ONE, mtx); in MTX_Ortho()
/TwlSDK-5.4/build/buildsetup/trig/
Dsincos.pl29 …printf $handle " (fx16)0x%04x, (fx16)0x%04x // %.3f, %.3f ( deg = %f )\n", ($valsin…
31 …printf $handle " (fx16)0x%04x, (fx16)0x%04x, // %.3f, %.3f ( deg = %f )\n", ($valsin…
/TwlSDK-5.4/build/tools/showversion/
Dmain.c113 tFormat f; in main() local
175 f.word = buffer[2]; in main()
176 v.major = f.byte[3]; // 31..24bit in main()
177 v.minor = f.byte[2]; // 23..16bit in main()
178 v.relstep = ((u16)f.byte[0]) | (((u16)f.byte[1]) << 8); // 15...0bit in main()
/TwlSDK-5.4/build/demos/crypto/rc4-1/src/
Dmain.c195 #define PrintResultEq( a, b, f ) \ argument
196 { OS_TPrintf( ((a) == (b)) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && ((a) == (b)); }
197 #define PrintResultBinaryEq( a, b, l, f ) \ argument
198 …{ OS_TPrintf( (CompareBinary((a), (b), (l))) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && (CompareB…
/TwlSDK-5.4/
DMakefile47 /bin/find $(SDKDIR_BUILD) -type f \
53 /bin/find $(SDKDIR_INCLUDE) -type f \
88 -type f \
/TwlSDK-5.4/build/tools/init2env/
Dinit.l48 [ \f\t]+ ;
54 [^ \f\n\r\t\[\]\"\<\>]+ {
/TwlSDK-5.4/build/demos.TWL/aes/ctr-compatible/src/
Dmain.c386 FSFile f; in DEMO_LoadFile() local
391 FS_InitFile(&f); in DEMO_LoadFile()
393 bSuccess = FS_OpenFileEx(&f, path, FS_FILEMODE_R); in DEMO_LoadFile()
400 fileSize = FS_GetFileLength(&f); in DEMO_LoadFile()
404 (void)FS_CloseFile(&f); in DEMO_LoadFile()
409 readSize = FS_ReadFile(&f, pBuffer, (s32)fileSize); in DEMO_LoadFile()
413 (void)FS_CloseFile(&f); in DEMO_LoadFile()
418 bSuccess = FS_CloseFile(&f); in DEMO_LoadFile()
/TwlSDK-5.4/build/demos/prc/patterns/data/
Dpatterns.txt38 "f" 2 0 64 | (46,22) (39,2) (25,5) (36,49) (28,62) | (14,35) (43,36) | # 'f'
39 "f" 2 0 64 | (18,39) (40,19) (39,0) (28,56) (37,62) (32,33) (43,34) | # 'f' Cursive
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_Direct/pictures/
Dpicture_256_256.ppm6 �](f`Uoj]�{m�rU������������������������������������������������������������������������������������…
7 �p�f:��f�|Y�M
40 …]^J(D$@%X0n<�[0�Q,�M&�R'�W,�e6k;n=s?t?t@�H�`�z܏��، ��v �o�f�S�r<��������������…
44 …�������ԈԨm�_>1!������������������������������������������������������������������������bT@Xf+d)
46 f+R" Q" C . ��������������������������������������������������������������������kwX=�>$�C&�I…
65f �g
74 /q0r/t/t)l$f
76 …&�Ⱥ�����������������������������������������������������������Ƕa8c"o.w2u1~4~4�5z2m-f*^'
82 ?) V4`7�n=r@k=f;e9\2�H'�8" 4*0362@M@OZO]cGPWY^i������C@G #!�K �PwG��D�D�E
100 -o.r2dHG-|lU����Ť�Ҳ��i�m>Чc�h�eޣ[ʊL�t@�c7��q�f��)�3�+� �# �+�-�+�*�#
[all …]
/TwlSDK-5.4/build/demos/mb/multiboot-wfs/child/src/
Dchild.c114 FSFile f; in CreateFileList() local
115 FS_InitFile(&f); in CreateFileList()
116 if (FS_OpenFileFast(&f, pe->file_id)) in CreateFileList()
118 if (FS_GetPathLength(&f) <= (int)sizeof(*file_path)) in CreateFileList()
120 if (FS_GetPathName(&f, file_path[file_max], sizeof(*file_path))) in CreateFileList()
125 (void)FS_CloseFile(&f); in CreateFileList()
/TwlSDK-5.4/build/demos/crypto/rc4-3/src/
Dmain.c235 #define PrintResultEq( a, b, f ) \ argument
236 { OS_TPrintf( ((a) == (b)) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && ((a) == (b)); }
237 #define PrintResultBinaryEq( a, b, l, f ) \ argument
238 …{ OS_TPrintf( (CompareBinary((a), (b), (l))) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && (CompareB…
/TwlSDK-5.4/build/demos/math/fft-1/src/
Dmain.c29 static void PrintFX32(fx32 f);
186 #define PrintResultEq( a, b, f ) \ argument
187 { OS_TPrintf( ((a) == (b)) ? "[--OK--] " : "[**NG**] " ); (f) = (f) && ((a) == (b)); }
463 static void PrintFX32(fx32 f) in PrintFX32() argument
465 #pragma unused(f) // Required for FINALROM build in PrintFX32()
466 OS_Printf("%f", FX_FX32_TO_F32(f)); in PrintFX32()
468 if (f >= 0) in PrintFX32()
470 OS_TPrintf(" %6d.%03d", f >> FX32_SHIFT, (f & FX32_DEC_MASK) * 1000 / 4096); in PrintFX32()
474 OS_TPrintf("-%6d.%03d", (-f) >> FX32_SHIFT, ((-f) & FX32_DEC_MASK) * 1000 / 4096); in PrintFX32()

12