Searched refs:last_pos (Results 1 – 2 of 2) sorted by relevance
72 size_t last_pos; in getContainingDirectory() local75 __builtin_add_overflow(filename.size(), -1, &last_pos); in getContainingDirectory()78 while ((pos = filename.find_last_of('/', last_pos)) == last_pos && pos != 0) { in getContainingDirectory()79 --last_pos; in getContainingDirectory()
620 const size_t last_pos = console.length() - needle.length(); in find() local622 for (size_t pos = start; pos <= last_pos; ++pos) { in find()637 const size_t last_pos = reason.length() - needle.length(); in correctForBitError() local638 for (size_t pos = 0; pos <= last_pos; pos += needle.length()) { in correctForBitError()