| 104 | } |
| 105 | |
| 106 | ALWAYS_INLINE size_t GetFileIndex(FIL *fp) { |
| 107 | const size_t file_index = (fp - g_files); |
| 108 | AMS_ASSERT(file_index < MaxFiles); |
| 109 | return file_index; |
| 110 | } |
| 111 | |
| 112 | ALWAYS_INLINE size_t GetDirectoryIndex(DIR *dp) { |
| 113 | const size_t dir_index = (dp - g_dirs); |
no outgoing calls
no test coverage detected