Home | History | Annotate | Download | only in safe_browsing

Lines Matching refs:deltas

68       // consecutive deltas have been encoded.
73 // Continue the run of deltas.
95 std::vector<uint16> *deltas) {
96 DCHECK(index && deltas);
98 deltas_.swap(*deltas);
117 // Capture the upper bound of our target entry's deltas.
128 // Scan forward accumulating deltas while a match is possible.
140 // The deltas for this |index_| entry run to the next index entry,
141 // or the end of the deltas.
178 std::vector<uint16> deltas;
179 const size_t deltas_bytes = sizeof(deltas[0]) * header.deltas_size;
206 // Read vector of deltas.
208 deltas.resize(header.deltas_size);
209 read = fread(&(deltas[0]), sizeof(deltas[0]), deltas.size(), file.get());
210 if (read != deltas.size())
213 base::StringPiece(reinterpret_cast<char*>(&(deltas[0])),
228 // Steals contents of |index| and |deltas| via swap().
229 return new PrefixSet(&index, &deltas);