Home
last modified time | relevance | path

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

/external/libchrome/base/
Dversion.cc55 int CompareVersionComponents(const std::vector<uint32_t>& components1, 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()
65 for (size_t i = count; i < components1.size(); ++i) { in CompareVersionComponents()
66 if (components1[i] > 0) in CompareVersionComponents()
69 } else if (components1.size() < components2.size()) { in CompareVersionComponents()