Lines Matching refs:size
54 if (a.size() < 3 || b.size() < 3) {
98 if (s.size() < 3 ||
106 for (size_t i = 2; i < s.size(); ++i) {
112 if (i + 1 < s.size() && s[i+1] == '.' &&
113 (i + 2 >= s.size() || IsPathSeparator(s[i+2]))) {
118 if (i + 2 < s.size() && s[i+1] == '.' && s[i+2] == '.' &&
119 (i + 3 >= s.size() || IsPathSeparator(s[i+3]))) {
141 for (size_t i = 0; i < result.size(); ++i) {
166 for (i = 0; i < static_cast<int>(min(start_list.size(), path_list.size()));
174 rel_list.reserve(start_list.size() - i + path_list.size() - i);
175 for (int j = 0; j < static_cast<int>(start_list.size() - i); ++j)
177 for (int j = i; j < static_cast<int>(path_list.size()); ++j)
179 if (rel_list.size() == 0)
187 size_t len = input.size();
192 strncpy(copy, input.c_str(), input.size() + 1);