Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 11 of 11) sorted by relevance

/RvlSDK-2.1/build/libraries/gd/src/
DGDFile.c76 static s32 myFwrite_u32( FILE *fp, u32 data ) in myFwrite_u32() argument
86 count = fwrite( db, 1, 4, fp ); in myFwrite_u32()
98 static s32 myFwrite_u8s( FILE *fp, u8 *data, u32 length ) in myFwrite_u8s() argument
102 count = fwrite( data, 1, length, fp ); in myFwrite_u8s()
116 static s32 myFread_u32( FILE *fp, u32 *data ) in myFread_u32() argument
121 count = fread( db, 1, 4, fp ); in myFread_u32()
136 static s32 myFread_u8s( FILE *fp, u8 *data, u32 length ) in myFread_u8s() argument
140 count = fread( data, 1, length, fp ); in myFread_u8s()
151 #define CHECKERR(err, fp) \ argument
153 fclose(fp); \
[all …]
/RvlSDK-2.1/build/libraries/tc/src/
DTCTPLToolbox.cpp258 static u32 TCWriteTplPaletteBank ( FILE* fp, u32 total, u8* tplPrev, u32* imFlags );
259 static u32 TCWriteTplImageBank ( FILE* fp, u32 total, u8* tplPrev, u32* imFlags );
267 static u32 TCWritePaletteBlock_R5G6B5 ( FILE* fp, TCPalette* pal, u32 start );
268 static u32 TCWritePaletteBlock_RGB5A3 ( FILE* fp, TCPalette* pal, u32 start );
297 static u32 TCWriteTplValue ( FILE* fp, u32 cursor, void* value, u32 numBytes );
298 static u32 TCWriteTplBlock ( FILE* fp, u32 cursor, void* block, u32 numBytes );
376 FILE* fp; in TCWriteTplFile() local
408 fp = fopen(tplFile, "wb"); in TCWriteTplFile()
409 TCAssertMsg( (fp != NULL), "TCWriteTplFile: couldn't create .tpl file %s for write\n", tplFile ); in TCWriteTplFile()
422 total += TCWriteTplValue( fp, total, (void*)&TplVersion, 4 ); in TCWriteTplFile()
[all …]
DTCFile.cpp186 FILE* fp; in TCReadFile() local
279 if( (fp = fopen( fileName, "rb" )) == 0 ) in TCReadFile()
292 fgetc( fp ); in TCReadFile()
293 if( (feof( fp )) != 0 ) in TCReadFile()
299 rewind( fp ); in TCReadFile()
308 tmp = getc( fp ); in TCReadFile()
311 fclose( fp ); in TCReadFile()
DTCVerify.cpp67 FILE* fp; in TCVerifyLists() local
77 if( (fp = fopen( siPtr->fileName, "rb" )) == NULL ) in TCVerifyLists()
82 fclose( fp ); in TCVerifyLists()
DTCScriptFile.cpp123 FILE* fp; in TCReadTplTxtFile() local
128 fp = fopen(fileName, "r"); in TCReadTplTxtFile()
129 TCAssertMsg( (fp != NULL), "TCReadTplTextFile: couldn't open %s for read\n", fileName ); in TCReadTplTxtFile()
133 while( (buffPtr = fgets(lineBuff, NAME_SIZE, fp)) != NULL ) in TCReadTplTxtFile()
139 if( (feof(fp)) == 0 ) // this is not the end of the file in TCReadTplTxtFile()
170 fclose(fp); in TCReadTplTxtFile()
DTCMipmap.cpp133 u32 TCWriteTplImageMipMaps ( FILE* fp, TCImage* thisImage ) in TCWriteTplImageMipMaps() argument
144 TCAssertMsg( (fp != NULL), "TCWriteTplImageMipMaps: NULL file pointer\n" ); in TCWriteTplImageMipMaps()
261 bytesWritten = fwrite( tplBuffer, 1, thisImage->tplBufferSize, fp ); in TCWriteTplImageMipMaps()
/RvlSDK-2.1/build/libraries/wpad/src/
DWPADClamp.c105 WPADFSStatus *fp; in WPADClampStick() local
123 fp = (WPADFSStatus*)status; in WPADClampStick()
137 __ClampStickOctagon(&fp->fsStickX, in WPADClampStick()
138 &fp->fsStickY, in WPADClampStick()
146 __ClampStickCircle(&fp->fsStickX, in WPADClampStick()
147 &fp->fsStickY, in WPADClampStick()
274 WPADFSStatus *fp; in WPADClampAcc() local
305 fp = (WPADFSStatus*)status; in WPADClampAcc()
310 __ClampCube(&fp->accX, &fp->accY, &fp->accZ, wunit, WPAD_ACC_MAX); in WPADClampAcc()
311 __ClampCube(&fp->fsAccX, &fp->fsAccY, &fp->fsAccZ, funit, WPAD_FS_ACC_MAX); in WPADClampAcc()
[all …]
/RvlSDK-2.1/build/libraries/kpad/src/
DKPAD.c524 WPADFSStatus *fp ; in read_kpad_button() local
539 fp = (WPADFSStatus*)vp ; in read_kpad_button()
541 if ( fp->err != WPAD_ERR_NONE ) { in read_kpad_button()
543 if ( fp->err == WPAD_ERR_NO_CONTROLLER ) { in read_kpad_button()
551 sp->hold = (u32)fp->button ; in read_kpad_button()
737 WPADFSStatus *fp ; in read_kpad_acc() local
775 fp = (WPADFSStatus*)vp ; in read_kpad_acc()
777 if ( fp->err != WPAD_ERR_NONE ) { in read_kpad_acc()
779 if ( fp->err == WPAD_ERR_NO_CONTROLLER ) { in read_kpad_acc()
786 kp->hard_acc.x = clamp_acc( (f32)(s32)-fp->accX * acc_scale_x, kp_rm_acc_max ) ; in read_kpad_acc()
[all …]
/RvlSDK-2.1/build/libraries/tc/include/
DTCMipmap.h68 u32 TCWriteTplImageMipMaps ( FILE* fp, TCImage* thisImage );
/RvlSDK-2.1/build/buildtools/
Dcommondefs211 # -fp hardware - allow use of hardware FP instructions
213 CCFLAGS += -fp hardware -Cpp_exceptions off
434 # -fp hardware - linker must use same fp settings as compiler
436 LDFLAGS += $(LIB_PATH) -fp hardware $(EPPCMWLIBS)
437 REL_LDFLAGS += -fp hardware
438 PREREL_LDFLAGS += -fp hardware
/RvlSDK-2.1/build/demos/kpaddemo/src/
Dsample.c387 WPADFSStatus *fp ; in draw_object() local
413 fp = KPADGetWPADFSRingBuffer( 0 ) ; // WPAD ring buffer in draw_object()
432 op = &fp[i].obj[ WPAD_DPD_MAX_OBJECTS - 1 ] ; in draw_object()
433 op1 = fp[i].obj ; in draw_object()