| 12 | } |
| 13 | |
| 14 | bool CefStrBase::equal(const char *that) const |
| 15 | { |
| 16 | size_t i; |
| 17 | for (i = 0; that[i] != '\0'; ++i) { |
| 18 | if (i >= length) |
| 19 | return false; |
| 20 | if (str[i] != that[i]) |
| 21 | return false; |
| 22 | } |
| 23 | |
| 24 | return length == i; |
| 25 | } |
| 26 | |
| 27 | bool CefStrBase::contain(const char *sub) const |
| 28 | { |
no outgoing calls
no test coverage detected