Home
last modified time | relevance | path

Searched refs:cmdLine (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/base/update/updater/test/unittest/applypatch_test/
H A Dcommands_unittest.cpp60 cmd->Init(cmdLine);
79 cmdLine = "abort";
81 cmdLine = "bsdiff 1,1";
83 cmdLine = "earse 1,1";
85 cmdLine = "free 1,1";
87 cmdLine = "pkgdiff 1,1";
89 cmdLine = "move 1,1";
91 cmdLine = "new 1,1";
93 cmdLine = "stash 1,1";
95 cmdLine = "zero 1,1";
[all …]
H A Dcommandsfunction_unittest.cpp39 cmd->Init(cmdLine); in TestCommandFnExec()
78 std::string cmdLine = std::string("erase 2,0,1"); variable
81 cmdLine = "free 2,0,1";
82 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
87 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
94 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
96 cmdLine = "abort";
97 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
99 cmdLine = "new 2,0,1";
105 cmdLine = "ppop";
[all …]
H A Dblockset_unittest.cpp117 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable
126 cmd->Init(cmdLine);
/ohos5.0/base/update/updater/services/applypatch/
H A Dcommand.cpp23 bool Command::Init(const std::string &cmdLine) in Init() argument
25 if (cmdLine.empty()) return false; in Init()
26 cmdLine_ = std::move(cmdLine); in Init()
/ohos5.0/foundation/window/window_manager/setresolution/src/
H A Dsetresolution_utils.cpp23 void SetResolutionUtils::PrintUsage(const std::string& cmdLine) in PrintUsage() argument
25 std::cout << "usage: " << cmdLine.c_str() << in PrintUsage()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dstring_util.cpp437 std::string FormatCmdLine(const std::string& cmdLine) in FormatCmdLine() argument
440 size_t endPos = cmdLine.size(); in FormatCmdLine()
441 for (size_t i = 0; i < cmdLine.size(); i++) { in FormatCmdLine()
442 if (cmdLine[i] == '/') { in FormatCmdLine()
444 } else if (cmdLine[i] == '\0') { in FormatCmdLine()
449 return cmdLine.substr(startPos, endPos - startPos); in FormatCmdLine()
/ohos5.0/base/startup/init/services/modules/bootchart/
H A Dbootchart.c83 …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()
/ohos5.0/base/startup/init/services/param/trigger/
H A Dtrigger_processor.c207 static int GetCommandInfo(const char *cmdLine, int *cmdKeyIndex, char **content) in GetCommandInfo() argument
209 const char *matchCmd = GetMatchCmd(cmdLine, cmdKeyIndex); in GetCommandInfo()
210 PARAM_CHECK(matchCmd != NULL, return -1, "Command not support %s", cmdLine); in GetCommandInfo()
211 char *str = strstr(cmdLine, matchCmd); in GetCommandInfo()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dstring_util.h156 std::string FormatCmdLine(const std::string& cmdLine);
157 void FormatProcessName(std::string& cmdLine);
/ohos5.0/foundation/window/window_manager/setresolution/include/
H A Dsetresolution_utils.h36 static void PrintUsage(const std::string& cmdLine);
/ohos5.0/base/update/updater/services/include/applypatch/
H A Dapply_patch.h25 std::string cmdLine; member
/ohos5.0/base/startup/init/test/unittest/init/
H A Dcmds_unittest.cpp87 auto checkMkdirCmd = [=](const char *mkdirFile, const char *cmdLine) { in __anon799520280102() argument
88 DoCmdByName("mkdir ", cmdLine); in __anon799520280102()
/ohos5.0/base/startup/init/test/unittest/modules/
H A Deng_unittest.cpp248 const char *cmdLine = "ohos.boot.root_package=off "; variable
249 CreateTestFile(BOOT_CMD_LINE, cmdLine);
/ohos5.0/foundation/window/window_manager/snapshot/include/
H A Dsnapshot_utils.h51 static void PrintUsage(const std::string &cmdLine);
/ohos5.0/base/startup/init/test/unittest/param/
H A Dparam_stub.cpp411 const char *cmdLine = "bootgroup=device.boot.group earlycon=uart8250,mmio32,0xfe660000 " in PrepareCmdLineData() local
420 CreateTestFile(BOOT_CMD_LINE, cmdLine); in PrepareCmdLineData()
/ohos5.0/foundation/window/window_manager/snapshot/src/
H A Dsnapshot_utils.cpp82 void SnapShotUtils::PrintUsage(const std::string &cmdLine) in PrintUsage() argument
84 std::cout << "usage: " << cmdLine.c_str() << in PrintUsage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dweb_model_impl.cpp56 void WebModelImpl::SetCustomScheme(const std::string& cmdLine) in SetCustomScheme() argument
58 if (!cmdLine.empty()) { in SetCustomScheme()
61 webComponent->SetCustomScheme(cmdLine); in SetCustomScheme()
H A Dweb_model_impl.h34 void SetCustomScheme(const std::string& cmdLine) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Dweb_component.h415 void SetCustomScheme(std::string cmdLine) in SetCustomScheme() argument
417 customScheme_ = std::move(cmdLine); in SetCustomScheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_model.h40 virtual void SetCustomScheme(const std::string& cmdLine) = 0;
H A Dweb_model_ng.h43 void SetCustomScheme(const std::string& cmdLine) override;
H A Dweb_model_ng.cpp94 void WebModelNG::SetCustomScheme(const std::string& cmdLine) in SetCustomScheme() argument
96 if (!cmdLine.empty()) { in SetCustomScheme()
99 webPattern->SetCustomScheme(cmdLine); in SetCustomScheme()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web.cpp2436 …std::string cmdLine = JSRef<JSFunc>::Cast(getCmdLineFunction)->Call(controller, 0, {})->ToString(); in Create() local
2437 if (!cmdLine.empty()) { in Create()
2438 WebModel::GetInstance()->SetCustomScheme(cmdLine); in Create()
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp1184 const std::string& cmdLine = WebviewController::customeSchemeCmdLine_; in InnerGetCustomeSchemeCmdLine() local
1185 napi_create_string_utf8(env, cmdLine.c_str(), cmdLine.length(), &result); in InnerGetCustomeSchemeCmdLine()