| 286 | |
| 287 | |
| 288 | int String_IndexOfAt(const cc_string* str, int offset, char c) { |
| 289 | int i; |
| 290 | for (i = offset; i < str->length; i++) { |
| 291 | if (str->buffer[i] == c) return i; |
| 292 | } |
| 293 | return -1; |
| 294 | } |
| 295 | |
| 296 | int String_LastIndexOfAt(const cc_string* str, int offset, char c) { |
| 297 | int i; |
no outgoing calls
no test coverage detected