Searched defs:cut (Results 1 - 2 of 2) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
H A DSlice.h95 // Return prefix and suffix of Slice s ending and starting at position cut
96 inline std::pair<const Slice, const Slice> split(const Slice s, size_t cut) { argument
97 const size_t tmp = std::min(cut, s.size());
101 // Return prefix of Slice s ending at position cut
102 inline const Slice take(const Slice s, size_t cut) { argument
103 return std::get<0>(split(s, cut));
106 // Return suffix of Slice s starting at position cut
107 inline const Slice drop(const Slice s, size_t cut) { argument
108 return std::get<1>(split(s, cut));
/system/update_engine/payload_generator/
H A Dinplace_generator.cc168 << "Can't cut edge that has write-before relationship.";
331 for (const CutEdgeVertexes& cut : cuts) {
334 cut,
337 deleted_nodes.insert(cut.new_vertex);
452 // Replace temp blocks in each cut
454 const CutEdgeVertexes& cut = cuts[i]; local
461 cut.tmp_extents,
467 InstallOperation* op = &(*graph)[cut.new_vertex].aop.op;
490 LOG(INFO) << "Fixing temp blocks in cut " << i
552 const CutEdgeVertexes& cut,
551 ConvertCutToFullOp(Graph* graph, const CutEdgeVertexes& cut, const string& new_part, BlobFileWriter* blob_file) argument
[all...]

Completed in 82 milliseconds