/base/update/updater/test/unittest/applypatch_test/ |
D | commands_unittest.cpp | 56 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable 58 cmd->Init(cmdLine); 64 EXPECT_EQ(cmd->GetCommandLine(), cmdLine); 72 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable 74 EXPECT_EQ(cmd->Init(cmdLine), true); 75 cmdLine = "abort"; 76 EXPECT_EQ(cmd->Init(cmdLine), true); 77 cmdLine = "bsdiff 1,1"; 78 EXPECT_EQ(cmd->Init(cmdLine), true); 79 cmdLine = "earse 1,1"; [all …]
|
D | commandsfunction_unittest.cpp | 37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec() argument 39 cmd->Init(cmdLine); in TestCommandFnExec() 79 std::string cmdLine = std::string("erase 2,0,1"); variable 80 CommandResult ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine); 82 cmdLine = "free 2,0,1"; 83 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine); 86 cmdLine = "move ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,3,4 1 2,1,2"; 88 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine); 90 cmdLine = R"(bsdiff 0 132 ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb4 95 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine); [all …]
|
D | blockset_unittest.cpp | 117 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable 124 cmd->Init(cmdLine);
|
/base/update/updater/services/applypatch/ |
D | command.cpp | 23 bool Command::Init(const std::string &cmdLine) in Init() argument 25 cmdLine_ = std::move(cmdLine); in Init()
|
/base/update/updater/services/include/applypatch/ |
D | apply_patch.h | 25 std::string cmdLine; member
|
/base/startup/init/services/modules/bootchart/ |
D | bootchart.c | 83 …char *cmdLine = ReadFileToBuffer("/proc/cmdline", g_bootchartCtrl->buffer, g_bootchartCtrl->buffer… in BootchartLogHeader() local 84 PLUGIN_CHECK(cmdLine != NULL, return, "Failed to open file "BOOTCHART_OUTPUT_PATH"header"); in BootchartLogHeader() 96 (void)fprintf(file, "system.kernel.options = %s\n", cmdLine); in BootchartLogHeader()
|
/base/startup/init/services/param/trigger/ |
D | trigger_processor.c | 202 static int GetCommandInfo(const char *cmdLine, int *cmdKeyIndex, char **content) in GetCommandInfo() argument 204 const char *matchCmd = GetMatchCmd(cmdLine, cmdKeyIndex); in GetCommandInfo() 205 PARAM_CHECK(matchCmd != NULL, return -1, "Command not support %s", cmdLine); in GetCommandInfo() 206 char *str = strstr(cmdLine, matchCmd); in GetCommandInfo()
|
/base/startup/init/test/unittest/init/ |
D | cmds_unittest.cpp | 90 auto checkMkdirCmd = [=](const char *mkdirFile, const char *cmdLine) { in __anon0c8980500102() argument 91 DoCmdByName("mkdir ", cmdLine); in __anon0c8980500102()
|
/base/startup/init/test/unittest/modules/ |
D | eng_unittest.cpp | 248 const char *cmdLine = "ohos.boot.root_package=off "; variable 249 CreateTestFile(BOOT_CMD_LINE, cmdLine);
|
/base/startup/init/test/unittest/param/ |
D | param_stub.cpp | 411 const char *cmdLine = "bootgroup=device.boot.group earlycon=uart8250,mmio32,0xfe660000 " in PrepareCmdLineData() local 420 CreateTestFile(BOOT_CMD_LINE, cmdLine); in PrepareCmdLineData()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | napi_webview_controller.cpp | 594 std::string cmdLine = WebviewController::customeSchemeCmdLine_; in InnerGetCustomeSchemeCmdLine() local 595 napi_create_string_utf8(env, cmdLine.c_str(), cmdLine.length(), &result); in InnerGetCustomeSchemeCmdLine() 3246 std::string cmdLine; in CustomizeSchemes() local 3277 cmdLine.append(schemeName + "," + corsCmdLine + fetchCmdLine); in CustomizeSchemes() 3279 cmdLine.pop_back(); in CustomizeSchemes() 3280 WVLOG_I("Reg scheme cmdline %{public}s", cmdLine.c_str()); in CustomizeSchemes() 3281 WebviewController::customeSchemeCmdLine_ = cmdLine; in CustomizeSchemes()
|