Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/updater/
Dblockimg.cpp412 std::vector<std::string> tokens; member
437 CHECK(params.tokens[0] == "move" || params.tokens[0] == "bsdiff" || in PrintHashForCorruptedSourceBlocks()
438 params.tokens[0] == "imgdiff"); in PrintHashForCorruptedSourceBlocks()
445 if (params.tokens[0] == "move") { in PrintHashForCorruptedSourceBlocks()
447 if (params.tokens.size() < 5) { in PrintHashForCorruptedSourceBlocks()
454 if (params.tokens.size() < 8) { in PrintHashForCorruptedSourceBlocks()
462 if (params.tokens[pos] == "-") { in PrintHashForCorruptedSourceBlocks()
466 RangeSet src = parse_range(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
471 if (pos == params.tokens.size()) { in PrintHashForCorruptedSourceBlocks()
480 locs = parse_range(params.tokens[pos++]); in PrintHashForCorruptedSourceBlocks()
[all …]
/bootable/recovery/
Dinstall.cpp430 std::vector<std::string> tokens = android::base::Split(args, " "); in try_update_binary() local
433 if (tokens.size() == 2 && android::base::ParseDouble(tokens[0].c_str(), &fraction) && in try_update_binary()
434 android::base::ParseInt(tokens[1], &seconds)) { in try_update_binary()
440 std::vector<std::string> tokens = android::base::Split(args, " "); in try_update_binary() local
442 if (tokens.size() == 1 && android::base::ParseDouble(tokens[0].c_str(), &fraction)) { in try_update_binary()
Drecovery.cpp339 std::vector<std::string> tokens = android::base::Split(boot_recovery, "\n"); in get_args() local
340 if (!tokens.empty() && tokens[0] == "recovery") { in get_args()
341 for (auto it = tokens.begin() + 1; it != tokens.end(); it++) { in get_args()
356 std::vector<std::string> tokens = android::base::Split(content, "\n"); in get_args() local
359 for (auto it = tokens.begin(); it != tokens.end(); it++) { in get_args()