/bootable/recovery/tests/unit/ |
D | rangeset_test.cpp | 39 RangeSet rs = RangeSet::Parse("2,1,10"); in TEST() 44 RangeSet rs2 = RangeSet::Parse("4,15,20,1,10"); in TEST() 51 ASSERT_EQ(rs, RangeSet::Parse(" 2, 1, 10")); in TEST() 52 ASSERT_FALSE(RangeSet::Parse("2,1,10 ")); in TEST() 57 ASSERT_FALSE(RangeSet::Parse("")); in TEST() 58 ASSERT_FALSE(RangeSet::Parse("2,1")); in TEST() 61 ASSERT_FALSE(RangeSet::Parse("a,1,1")); in TEST() 62 ASSERT_FALSE(RangeSet::Parse("3,1,1")); in TEST() 63 ASSERT_FALSE(RangeSet::Parse("-3,1,1")); in TEST() 64 ASSERT_FALSE(RangeSet::Parse("2,1,2,3")); in TEST() [all …]
|
D | commands_test.cpp | 163 ASSERT_FALSE(Command::Parse("", 0, &err)); in TEST() 172 Command command = Command::Parse(input, 0, &err); in TEST() 184 Command command = Command::Parse(input, 0, &err); in TEST() 196 Command command = Command::Parse(input, 1, &err); in TEST() 216 Command command = Command::Parse(input, 2, &err); in TEST() 232 Command command = Command::Parse(input, 3, &err); in TEST() 253 Command command = Command::Parse(input, 4, &err); in TEST() 275 Command command = Command::Parse(input, 5, &err); in TEST() 295 Command command = Command::Parse(input, 6, &err); in TEST() 311 Command command = Command::Parse(input, 7, &err); in TEST() [all …]
|
/bootable/recovery/applypatch/ |
D | applypatch_modes.cpp | 40 auto target = Partition::Parse(target_emmc, &err); in CheckMode() 50 auto target = Partition::Parse(target_emmc, &err); in FlashMode() 61 auto target = Partition::Parse(target_emmc, &err); in PatchMode() 67 auto source = Partition::Parse(source_emmc, &err); in PatchMode()
|
D | applypatch.cpp | 429 Partition Partition::Parse(const std::string& input_str, std::string* err) { in Parse() function in Partition
|
/bootable/recovery/updater/ |
D | commands.cpp | 99 RangeSet tgt_ranges = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo() 121 src_ranges = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo() 143 src_ranges_location = RangeSet::Parse(tokens[pos++]); in ParseTargetInfoAndSourceInfo() 160 RangeSet stash_location = RangeSet::Parse(pairs[1]); in ParseTargetInfoAndSourceInfo() 179 Command Command::Parse(const std::string& line, size_t index, std::string* err) { in Parse() function in Command 201 RangeSet tgt_ranges = RangeSet::Parse(tokens[pos++]); in Parse() 215 RangeSet src_ranges = RangeSet::Parse(tokens[pos++]); in Parse() 280 RangeSet hash_tree_ranges = RangeSet::Parse(tokens[pos++]); in Parse() 286 RangeSet source_ranges = RangeSet::Parse(tokens[pos++]); in Parse() 405 TransferList TransferList::Parse(const std::string& transfer_list_str, std::string* err) { in Parse() function in TransferList [all …]
|
D | blockimg.cpp | 579 RangeSet src = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks() 595 locs = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks() 1007 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks() 1020 RangeSet locs = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks() 1043 RangeSet locs = RangeSet::Parse(tokens[1]); in LoadSourceBlocks() 1107 *tgt = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSrcTgtVersion3() 1222 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandStash() 1276 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandZero() 1321 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandNew() 1457 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandErase() [all …]
|
D | install.cpp | 220 auto target = Partition::Parse(args[0], &err); in PatchPartitionCheckFn() 226 auto source = Partition::Parse(args[1], &err); in PatchPartitionCheckFn() 256 auto target = Partition::Parse(args[0], &err); in PatchPartitionFn() 262 auto source = Partition::Parse(args[1], &err); in PatchPartitionFn()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 56 static Partition Parse(const std::string& partition, std::string* err);
|
/bootable/recovery/otautil/include/otautil/ |
D | rangeset.h | 35 static RangeSet Parse(const std::string& range_text);
|
/bootable/recovery/updater/include/private/ |
D | commands.h | 320 static Command Parse(const std::string& line, size_t index, std::string* err); 437 static TransferList Parse(const std::string& transfer_list_str, std::string* err);
|
/bootable/recovery/otautil/ |
D | rangeset.cpp | 47 RangeSet RangeSet::Parse(const std::string& range_text) { in Parse() function in RangeSet
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 256 RangeSet ranges = RangeSet::Parse(partition.ranges()); in ParseCareMap()
|