Lines Matching defs:source
2 * Copyright (C) 2018 The Android Open Source Project
56 friend std::ostream& operator<<(std::ostream& os, const TargetInfo& source);
64 std::ostream& operator<<(std::ostream& os, const TargetInfo& source);
100 // Represents the source info in a Command, whose data could come from source image, stashed blocks,
148 friend std::ostream& operator<<(std::ostream& os, const SourceInfo& source);
152 // The block ranges from the source image to read data from. This could be a subset of all the
158 // The info for the stashed blocks that are part of the source. Empty if there's none.
164 std::ostream& operator<<(std::ostream& os, const SourceInfo& source);
250 // - Read the source blocks, write result to target blocks.
257 // - Read the source blocks, apply a patch, and write result to target blocks.
266 // (loads data from source image only)
270 // (loads data from both of source image and stashes)
273 // - Load the given source blocks and stash the data in the given slot of the stash table.
306 SourceInfo source, StashInfo stash)
312 source_(std::move(source)),
345 const SourceInfo& source() const {
376 // Parses the target and source info from the given 'tokens' vector. Saves the parsed info into
377 // 'target' and 'source' objects. Returns the parsing result. Error message will be set in 'err'
378 // on parsing error, and the contents in 'target' and 'source' will be undefined.
381 const std::string& src_hash, SourceInfo* source,
397 // The source info to load the source blocks for the command.
413 // The creator of the transfer list will guarantee that no block is read (i.e., used as the source
419 // Within one command the source and target ranges may overlap so in general we need to read the
420 // entire source into memory before writing anything to the target blocks.
428 // already been completed and verify the integrity of the source data.