Lines Matching refs:result

52 static void PrintResult(s32 result);
155 s32 result; in CreateFile() local
166 result = CARDCreate(chan, FileName, secSize*blockSize, &FileInfo); in CreateFile()
167 if (result < 0) in CreateFile()
170 PrintResult(result); in CreateFile()
178 result = CARDGetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
179 if (result < 0) in CreateFile()
182 PrintResult(result); in CreateFile()
197 result = CARDWrite(&FileInfo, CARDData, (s32) stat.length, 0); in CreateFile()
198 if (result < 0) in CreateFile()
201 PrintResult(result); in CreateFile()
209 result = CARDSetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
210 if (result < 0) in CreateFile()
213 PrintResult(result); in CreateFile()
236 s32 result; in MountCard() local
240 result = FALSE; in MountCard()
241 while (result==FALSE) in MountCard()
243 result = CARDProbe(chan); in MountCard()
247 result = CARDMount(chan, WRAM, (CARDCallback)DetachCallback); in MountCard()
248 if (result < 0) in MountCard()
260 result = CARDCheck(chan); in MountCard()
261 if (result == CARD_RESULT_BROKEN){ in MountCard()
264 result = CARDFormat(chan); in MountCard()
265 if (result < 0) in MountCard()
268 PrintResult(result); in MountCard()
275 else if(result==CARD_RESULT_ENCODING) in MountCard()
278 PrintResult(result); in MountCard()
286 result = CARDGetSectorSize(chan, &sectorSize); in MountCard()
287 if (result < 0) in MountCard()
290 PrintResult(result); in MountCard()
310 s32 result; in UnmountCard() local
312 result = CARDUnmount(chan); in UnmountCard()
313 if (result < 0) in UnmountCard()
316 PrintResult(result); in UnmountCard()
371 static void PrintResult(s32 result) in PrintResult() argument
373 switch (result) in PrintResult()