Lines Matching refs:commonlen
264 int commonlen; in compare() local
270 commonlen = qMin(v1.m_segments.size(), in compare()
272 for (int i = 0; i < commonlen; ++i) in compare()
276 commonlen = qMin(v1.segmentCount(), v2.segmentCount()); in compare()
277 for (int i = 0; i < commonlen; ++i) { in compare()
285 if (v1.segmentCount() > commonlen) { in compare()
287 if (v1.segmentAt(commonlen) != 0) in compare()
288 return v1.segmentAt(commonlen); in compare()
291 } else if (v2.segmentCount() > commonlen) { in compare()
293 if (v2.segmentAt(commonlen) != 0) in compare()
294 return -v2.segmentAt(commonlen); in compare()
314 int commonlen = qMin(v1.segmentCount(), v2.segmentCount()); in commonPrefix() local
316 for (i = 0; i < commonlen; ++i) { in commonPrefix()