Home
last modified time | relevance | path

Searched refs:components2 (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/
Dversion.cc56 const std::vector<uint32_t>& components2) { in CompareVersionComponents() argument
57 const size_t count = std::min(components1.size(), components2.size()); in CompareVersionComponents()
59 if (components1[i] > components2[i]) in CompareVersionComponents()
61 if (components1[i] < components2[i]) in CompareVersionComponents()
64 if (components1.size() > components2.size()) { in CompareVersionComponents()
69 } else if (components1.size() < components2.size()) { in CompareVersionComponents()
70 for (size_t i = count; i < components2.size(); ++i) { in CompareVersionComponents()
71 if (components2[i] > 0) in CompareVersionComponents()