Home
last modified time | relevance | path

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

/RvlSDK-3.3/build/libraries/gd/src/
DGDFile.c82 static s32 myFwrite_u32( FILE *fp, u32 data ) in myFwrite_u32() argument
92 count = fwrite( db, 1, 4, fp ); in myFwrite_u32()
104 static s32 myFwrite_u8s( FILE *fp, u8 *data, u32 length ) in myFwrite_u8s() argument
108 count = fwrite( data, 1, length, fp ); in myFwrite_u8s()
122 static s32 myFread_u32( FILE *fp, u32 *data ) in myFread_u32() argument
127 count = fread( db, 1, 4, fp ); in myFread_u32()
142 static s32 myFread_u8s( FILE *fp, u8 *data, u32 length ) in myFread_u8s() argument
146 count = fread( data, 1, length, fp ); in myFread_u8s()
157 #define CHECKERR(err, fp) \ argument
159 fclose(fp); \
[all …]
/RvlSDK-3.3/build/libraries/tc/src/
DTCTPLToolbox.cpp263 static u32 TCWriteTplPaletteBank ( FILE* fp, u32 total, u8* tplPrev, u32* imFlags );
264 static u32 TCWriteTplImageBank ( FILE* fp, u32 total, u8* tplPrev, u32* imFlags );
272 static u32 TCWritePaletteBlock_R5G6B5 ( FILE* fp, TCPalette* pal, u32 start );
273 static u32 TCWritePaletteBlock_RGB5A3 ( FILE* fp, TCPalette* pal, u32 start );
302 static u32 TCWriteTplValue ( FILE* fp, u32 cursor, void* value, u32 numBytes );
303 static u32 TCWriteTplBlock ( FILE* fp, u32 cursor, void* block, u32 numBytes );
381 FILE* fp; in TCWriteTplFile() local
413 fp = fopen(tplFile, "wb"); in TCWriteTplFile()
414 TCAssertMsg( (fp != NULL), "TCWriteTplFile: couldn't create .tpl file %s for write\n", tplFile ); in TCWriteTplFile()
427 total += TCWriteTplValue( fp, total, (void*)&TplVersion, 4 ); in TCWriteTplFile()
[all …]
DTCFile.cpp191 FILE* fp; in TCReadFile() local
284 if( (fp = fopen( fileName, "rb" )) == 0 ) in TCReadFile()
297 fgetc( fp ); in TCReadFile()
298 if( (feof( fp )) != 0 ) in TCReadFile()
304 rewind( fp ); in TCReadFile()
313 tmp = getc( fp ); in TCReadFile()
316 fclose( fp ); in TCReadFile()
DTCVerify.cpp72 FILE* fp; in TCVerifyLists() local
82 if( (fp = fopen( siPtr->fileName, "rb" )) == NULL ) in TCVerifyLists()
87 fclose( fp ); in TCVerifyLists()
DTCScriptFile.cpp128 FILE* fp; in TCReadTplTxtFile() local
133 fp = fopen(fileName, "r"); in TCReadTplTxtFile()
134 TCAssertMsg( (fp != NULL), "TCReadTplTextFile: couldn't open %s for read\n", fileName ); in TCReadTplTxtFile()
138 while( (buffPtr = fgets(lineBuff, NAME_SIZE, fp)) != NULL ) in TCReadTplTxtFile()
144 if( (feof(fp)) == 0 ) // this is not the end of the file in TCReadTplTxtFile()
175 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-3.3/build/libraries/wpad/src/
DWPADClamp.c108 WPADFSStatus *fp; in WPADClampStick() local
126 fp = (WPADFSStatus*)status; in WPADClampStick()
140 __ClampStickOctagon(&fp->fsStickX, in WPADClampStick()
141 &fp->fsStickY, in WPADClampStick()
149 __ClampStickCircle(&fp->fsStickX, in WPADClampStick()
150 &fp->fsStickY, in WPADClampStick()
277 WPADFSStatus *fp; in WPADClampAcc() local
308 fp = (WPADFSStatus*)status; in WPADClampAcc()
313 __ClampCube(&fp->accX, &fp->accY, &fp->accZ, wunit, WPAD_ACC_MAX); in WPADClampAcc()
314 __ClampCube(&fp->fsAccX, &fp->fsAccY, &fp->fsAccZ, funit, WPAD_FS_ACC_MAX); in WPADClampAcc()
[all …]
/RvlSDK-3.3/build/libraries/tc/include/
DTCMipmap.h68 u32 TCWriteTplImageMipMaps ( FILE* fp, TCImage* thisImage );
/RvlSDK-3.3/build/buildtools/
Dcommondefs172 # -fp hardware - allow use of hardware FP instructions
174 CCFLAGS += -fp hardware -Cpp_exceptions off
332 # -fp hardware - linker must use same fp settings as compiler
334 LDFLAGS += $(LIB_PATH) -fp hardware $(EPPCMWLIBS)
335 REL_LDFLAGS += -fp hardware
336 PREREL_LDFLAGS += -fp hardware