Lines Matching refs:Result
38 INT32 Result; in SemihostFileOpen() local
53 Result = Semihost_SYS_OPEN(&OpenBlock); in SemihostFileOpen()
55 if (Result == -1) { in SemihostFileOpen()
58 *FileHandle = Result; in SemihostFileOpen()
70 INT32 Result; in SemihostFileSeek() local
75 Result = Semihost_SYS_SEEK(&SeekBlock); in SemihostFileSeek()
79 if (Result < 0) { in SemihostFileSeek()
94 UINT32 Result; in SemihostFileRead() local
104 Result = Semihost_SYS_READ(&ReadBlock); in SemihostFileRead()
106 if ((*Length != 0) && (Result == *Length)) { in SemihostFileRead()
109 *Length -= Result; in SemihostFileRead()
144 INT32 Result = Semihost_SYS_CLOSE(&FileHandle); in SemihostFileClose() local
146 if (Result == -1) { in SemihostFileClose()
159 INT32 Result; in SemihostFileLength() local
165 Result = Semihost_SYS_FLEN(&FileHandle); in SemihostFileLength()
167 if (Result == -1) { in SemihostFileLength()
170 *Length = Result; in SemihostFileLength()
196 INT32 Result; in SemihostFileTmpName() local
206 Result = Semihost_SYS_TMPNAME (&TmpNameBlock); in SemihostFileTmpName()
208 if (Result != 0) { in SemihostFileTmpName()
221 UINT32 Result; in SemihostFileRemove() local
231 Result = Semihost_SYS_REMOVE(&RemoveBlock); in SemihostFileRemove()
233 if (Result == 0) { in SemihostFileRemove()
258 INT32 Result; in SemihostFileRename() local
269 Result = Semihost_SYS_RENAME (&RenameBlock); in SemihostFileRename()
271 if (Result != 0) { in SemihostFileRename()