Searched refs:prefix_index (Results 1 – 3 of 3) sorted by relevance
231 size_t prefix_index, value_index; in TryRemovePrefix() local232 for (prefix_index = 0, value_index = 0; in TryRemovePrefix()233 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()239 if (ascii_tolower(value[value_index]) != prefix_to_match[prefix_index++]) { in TryRemovePrefix()246 if (prefix_index < prefix_to_match.size()) { in TryRemovePrefix()
393 prefix_index = line.find(prefix)394 if prefix_index == -1:396 start_index = prefix_index + len(prefix)412 prefix_index = line.find(prefix + '[')413 if prefix_index == -1:415 start_index = prefix_index + len(prefix) + 1
245 prefix_index = line.find(prefix)246 if prefix_index == -1:248 start_index = prefix_index + len(prefix)