| 133 | } |
| 134 | |
| 135 | intptr StringView::LastIndexOf(char c) const |
| 136 | { |
| 137 | auto ptr = mPtr; |
| 138 | for (intptr i = mLength - 1; i >= 0; i--) |
| 139 | if (ptr[i] == c) |
| 140 | return i; |
| 141 | return -1; |
| 142 | } |
| 143 | |
| 144 | intptr StringView::LastIndexOf(char c, int startCheck) const |
| 145 | { |
no outgoing calls
no test coverage detected