| 1107 | } |
| 1108 | |
| 1109 | void sugoiS_all(sugoi_storage_t* storage, bool includeDisabled, bool includeDead, sugoi_view_callback_t callback, void* u) |
| 1110 | { |
| 1111 | for (auto& pair : storage->groups) |
| 1112 | { |
| 1113 | auto group = pair.second; |
| 1114 | if (group->isDead && !includeDead) |
| 1115 | continue; |
| 1116 | if (group->disabled && !includeDisabled) |
| 1117 | continue; |
| 1118 | for (auto c : group->chunks) |
| 1119 | { |
| 1120 | sugoi_chunk_view_t view{ c, 0, c->count }; |
| 1121 | callback(u, &view); |
| 1122 | } |
| 1123 | } |
| 1124 | } |
| 1125 | |
| 1126 | EIndex sugoiS_count(sugoi_storage_t* storage, bool includeDisabled, bool includeDead) |
| 1127 | { |
no outgoing calls
no test coverage detected