Searched refs:path_pos (Results 1 – 3 of 3) sorted by relevance
322 auto path_pos = result.rfind('/', end_pos-1); in normalize() local323 if (path_pos == std::string::npos) break; in normalize()324 if (path_pos == end_pos-1) in normalize()327 result.erase(path_pos, 1); in normalize()329 else if ((end_pos-path_pos == 2) && result[path_pos+1] == '.') in normalize()332 result.erase(path_pos, 2); in normalize()334 else if ((end_pos-path_pos == 3) && result[path_pos+1] == '.' && result[path_pos+2] == '.') in normalize()337 result.erase(path_pos, 3); in normalize()343 result.erase(path_pos, end_pos-path_pos); in normalize()346 end_pos = path_pos; in normalize()
141 int path_pos; in scan_unix() local143 if (sscanf(line, "%*p: %*X %*X %*X %*X %*X %lu %n", &inode, &path_pos) >= 1) { in scan_unix()145 char *name = chomp(line + path_pos); in scan_unix()
560 size_t path_pos = url_base.rfind('/'); in RequestUrlFilter() local561 if (path_pos == std::string::npos) in RequestUrlFilter()564 const std::string& path_component = url_base.substr(path_pos); in RequestUrlFilter()