Lines Matching refs:Command
1587 using CommandMap = std::unordered_map<Command::Type, CommandFunction>;
1837 Command::Type cmd_type = Command::ParseType(params.cmdname); in PerformBlockImageUpdate()
1838 if (cmd_type == Command::Type::LAST) { in PerformBlockImageUpdate()
1855 cmd_type != Command::Type::NEW) { in PerformBlockImageUpdate()
1863 if (cmd_type == Command::Type::COMPUTE_HASH_TREE && failure_type == kNoCause) { in PerformBlockImageUpdate()
1874 if ((cmd_type == Command::Type::MOVE || cmd_type == Command::Type::BSDIFF || in PerformBlockImageUpdate()
1875 cmd_type == Command::Type::IMGDIFF) && in PerformBlockImageUpdate()
2029 { Command::Type::ABORT, PerformCommandAbort }, in BlockImageVerifyFn()
2030 { Command::Type::BSDIFF, PerformCommandDiff }, in BlockImageVerifyFn()
2031 { Command::Type::COMPUTE_HASH_TREE, nullptr }, in BlockImageVerifyFn()
2032 { Command::Type::ERASE, nullptr }, in BlockImageVerifyFn()
2033 { Command::Type::FREE, PerformCommandFree }, in BlockImageVerifyFn()
2034 { Command::Type::IMGDIFF, PerformCommandDiff }, in BlockImageVerifyFn()
2035 { Command::Type::MOVE, PerformCommandMove }, in BlockImageVerifyFn()
2036 { Command::Type::NEW, nullptr }, in BlockImageVerifyFn()
2037 { Command::Type::STASH, PerformCommandStash }, in BlockImageVerifyFn()
2038 { Command::Type::ZERO, nullptr }, in BlockImageVerifyFn()
2041 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageVerifyFn()
2051 { Command::Type::ABORT, PerformCommandAbort }, in BlockImageUpdateFn()
2052 { Command::Type::BSDIFF, PerformCommandDiff }, in BlockImageUpdateFn()
2053 { Command::Type::COMPUTE_HASH_TREE, PerformCommandComputeHashTree }, in BlockImageUpdateFn()
2054 { Command::Type::ERASE, PerformCommandErase }, in BlockImageUpdateFn()
2055 { Command::Type::FREE, PerformCommandFree }, in BlockImageUpdateFn()
2056 { Command::Type::IMGDIFF, PerformCommandDiff }, in BlockImageUpdateFn()
2057 { Command::Type::MOVE, PerformCommandMove }, in BlockImageUpdateFn()
2058 { Command::Type::NEW, PerformCommandNew }, in BlockImageUpdateFn()
2059 { Command::Type::STASH, PerformCommandStash }, in BlockImageUpdateFn()
2060 { Command::Type::ZERO, PerformCommandZero }, in BlockImageUpdateFn()
2063 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageUpdateFn()