Lines Matching refs:result

57 static void PrintResult(s32 result);
186 s32 result; in CreateFile() local
197 result = CARDCreate(chan, FileName, secSize*blockSize, &FileInfo); in CreateFile()
198 if (result < 0) in CreateFile()
201 PrintResult(result); in CreateFile()
209 result = CARDGetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
210 if (result < 0) in CreateFile()
213 PrintResult(result); in CreateFile()
239 result = CARDWrite(&FileInfo, CARDData, (s32) stat.length, 0); in CreateFile()
240 if (result < 0) in CreateFile()
243 PrintResult(result); in CreateFile()
251 result = CARDSetStatus(chan, FileInfo.fileNo, &stat); in CreateFile()
252 if (result < 0) in CreateFile()
255 PrintResult(result); in CreateFile()
278 s32 result; in MountCard() local
282 result = FALSE; in MountCard()
283 while (result==FALSE) in MountCard()
285 result = CARDProbe(chan); in MountCard()
289 result = CARDMount(chan, WRAM, (CARDCallback)DetachCallback); in MountCard()
290 if (result < 0) in MountCard()
302 result = CARDCheck(chan); in MountCard()
304 if (result == CARD_RESULT_BROKEN) in MountCard()
307 result = CARDFormat(chan); in MountCard()
308 if (result < 0) in MountCard()
311 PrintResult(result); in MountCard()
318 else if(result==CARD_RESULT_ENCODING) in MountCard()
321 PrintResult(result); in MountCard()
329 result = CARDGetSectorSize(chan, &sectorSize); in MountCard()
330 if (result < 0) in MountCard()
333 PrintResult(result); in MountCard()
353 s32 result; in UnmountCard() local
355 result = CARDUnmount(chan); in UnmountCard()
356 if (result < 0) in UnmountCard()
359 PrintResult(result); in UnmountCard()
414 static void PrintResult(s32 result) in PrintResult() argument
416 switch (result) in PrintResult()