Home | History | Annotate | Download | only in applypatch

Lines Matching refs:pairs

126     size_t pairs = (pieces.size() - 2) / 2;    // # of (size, sha1) pairs in filename
127 std::vector<size_t> index(pairs);
128 std::vector<size_t> size(pairs);
129 std::vector<std::string> sha1sum(pairs);
131 for (size_t i = 0; i < pairs; ++i) {
141 // Sort the index[] array so it indexes the pairs in order of increasing size.
185 std::vector<unsigned char> data(size[index[pairs-1]]);
190 for (size_t i = 0; i < pairs; ++i) {
249 // Ran off the end of the list of (size,sha1) pairs without finding a match.