Home
last modified time | relevance | path

Searched refs:Parse (Results 1 – 12 of 12) sorted by relevance

/bootable/recovery/tests/unit/
Drangeset_test.cpp40 RangeSet rs = RangeSet::Parse("2,1,10"); in TEST()
45 RangeSet rs2 = RangeSet::Parse("4,15,20,1,10"); in TEST()
52 ASSERT_EQ(rs, RangeSet::Parse(" 2, 1, 10")); in TEST()
53 ASSERT_FALSE(RangeSet::Parse("2,1,10 ")); in TEST()
58 ASSERT_FALSE(RangeSet::Parse("")); in TEST()
59 ASSERT_FALSE(RangeSet::Parse("2,1")); in TEST()
62 ASSERT_FALSE(RangeSet::Parse("a,1,1")); in TEST()
63 ASSERT_FALSE(RangeSet::Parse("3,1,1")); in TEST()
64 ASSERT_FALSE(RangeSet::Parse("-3,1,1")); in TEST()
65 ASSERT_FALSE(RangeSet::Parse("2,1,2,3")); in TEST()
[all …]
Dcommands_test.cpp163 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/
Dapplypatch_modes.cpp40 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()
Dapplypatch.cpp431 Partition Partition::Parse(const std::string& input_str, std::string* err) { in Parse() function in Partition
/bootable/recovery/updater/
Dcommands.cpp99 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 …]
Dblockimg.cpp584 RangeSet src = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
600 locs = RangeSet::Parse(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
1012 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks()
1025 RangeSet locs = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSourceBlocks()
1048 RangeSet locs = RangeSet::Parse(tokens[1]); in LoadSourceBlocks()
1112 *tgt = RangeSet::Parse(params.tokens[params.cpos++]); in LoadSrcTgtVersion3()
1227 RangeSet src = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandStash()
1281 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandZero()
1326 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandNew()
1462 RangeSet tgt = RangeSet::Parse(params.tokens[params.cpos++]); in PerformCommandErase()
[all …]
Dinstall.cpp210 auto target = Partition::Parse(args[0], &err); in PatchPartitionCheckFn()
216 auto source = Partition::Parse(args[1], &err); in PatchPartitionCheckFn()
251 auto target = Partition::Parse(args[0], &err); in PatchPartitionFn()
257 auto source = Partition::Parse(args[1], &err); in PatchPartitionFn()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h56 static Partition Parse(const std::string& partition, std::string* err);
/bootable/recovery/otautil/include/otautil/
Drangeset.h36 static RangeSet Parse(const std::string& range_text);
/bootable/recovery/updater/include/private/
Dcommands.h320 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/
Drangeset.cpp47 RangeSet RangeSet::Parse(const std::string& range_text) { in Parse() function in RangeSet
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp256 RangeSet ranges = RangeSet::Parse(partition.ranges()); in ParseCareMap()