Searched refs:sh_result (Results 1 – 1 of 1) sorted by relevance
74 long sh_result; in sh_file_open() local80 sh_result = semihosting_file_open(file_spec->path, file_spec->mode); in sh_file_open()82 if (sh_result > 0) { in sh_file_open()83 entity->info = (uintptr_t)sh_result; in sh_file_open()93 long file_handle, sh_result; in sh_file_seek() local99 sh_result = semihosting_file_seek(file_handle, offset); in sh_file_seek()101 return (sh_result == 0) ? 0 : -ENOENT; in sh_file_seek()114 long sh_result = semihosting_file_length(sh_handle); in sh_file_len() local116 if (sh_result >= 0) { in sh_file_len()118 *length = (size_t)sh_result; in sh_file_len()[all …]