Searched refs:sh_result (Results 1 – 1 of 1) sorted by relevance
75 long sh_result; in sh_file_open() local81 sh_result = semihosting_file_open(file_spec->path, file_spec->mode); in sh_file_open()83 if (sh_result > 0) { in sh_file_open()84 entity->info = (uintptr_t)sh_result; in sh_file_open()94 long file_handle, sh_result; in sh_file_seek() local100 sh_result = semihosting_file_seek(file_handle, (ssize_t)offset); in sh_file_seek()102 return (sh_result == 0) ? 0 : -ENOENT; in sh_file_seek()115 long sh_result = semihosting_file_length(sh_handle); in sh_file_len() local117 if (sh_result >= 0) { in sh_file_len()119 *length = (size_t)sh_result; in sh_file_len()[all …]