Lines Matching refs:result

57 static void PrintResult(s32 result);
201 s32 result; in CreateFile() local
212 result = CARDCreate(chan, FileName, secSize*blockSize, &FileInfo); in CreateFile()
213 if (result < 0) in CreateFile()
216 PrintResult(result); in CreateFile()
224 result = CARDGetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
225 if (result < 0) in CreateFile()
228 PrintResult(result); in CreateFile()
254 result = CARDWrite(&FileInfo, CARDData, (s32) stat.length, 0); in CreateFile()
255 if (result < 0) in CreateFile()
258 PrintResult(result); in CreateFile()
266 result = CARDSetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
267 if (result < 0) in CreateFile()
270 PrintResult(result); in CreateFile()
293 s32 result; in MountCard() local
297 result = FALSE; in MountCard()
298 while (result==FALSE) in MountCard()
300 result = CARDProbe(chan); in MountCard()
304 result = CARDMount(chan, WRAM, (CARDCallback)DetachCallback); in MountCard()
305 if (result < 0) in MountCard()
317 result = CARDCheck(chan); in MountCard()
319 if (result == CARD_RESULT_BROKEN) in MountCard()
322 result = CARDFormat(chan); in MountCard()
323 if (result < 0) in MountCard()
326 PrintResult(result); in MountCard()
333 else if(result==CARD_RESULT_ENCODING) in MountCard()
336 PrintResult(result); in MountCard()
344 result = CARDGetSectorSize(chan, &sectorSize); in MountCard()
345 if (result < 0) in MountCard()
348 PrintResult(result); in MountCard()
368 s32 result; in UnmountCard() local
370 result = CARDUnmount(chan); in UnmountCard()
371 if (result < 0) in UnmountCard()
374 PrintResult(result); in UnmountCard()
429 static void PrintResult(s32 result) in PrintResult() argument
431 switch (result) in PrintResult()