/ohos5.0/base/update/updater/test/unittest/applypatch_test/ |
H A D | commands_unittest.cpp | 60 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 D | commandsfunction_unittest.cpp | 39 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 D | blockset_unittest.cpp | 117 std::string cmdLine = std::string("move ") + hashValue + " " + blockInfo; variable 126 cmd->Init(cmdLine);
|
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | command.cpp | 23 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 D | setresolution_utils.cpp | 23 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 D | string_util.cpp | 437 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 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()
|
/ohos5.0/base/startup/init/services/param/trigger/ |
H A D | trigger_processor.c | 207 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 D | string_util.h | 156 std::string FormatCmdLine(const std::string& cmdLine); 157 void FormatProcessName(std::string& cmdLine);
|
/ohos5.0/foundation/window/window_manager/setresolution/include/ |
H A D | setresolution_utils.h | 36 static void PrintUsage(const std::string& cmdLine);
|
/ohos5.0/base/update/updater/services/include/applypatch/ |
H A D | apply_patch.h | 25 std::string cmdLine; member
|
/ohos5.0/base/startup/init/test/unittest/init/ |
H A D | cmds_unittest.cpp | 87 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 D | eng_unittest.cpp | 248 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 D | snapshot_utils.h | 51 static void PrintUsage(const std::string &cmdLine);
|
/ohos5.0/base/startup/init/test/unittest/param/ |
H A 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()
|
/ohos5.0/foundation/window/window_manager/snapshot/src/ |
H A D | snapshot_utils.cpp | 82 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 D | web_model_impl.cpp | 56 void WebModelImpl::SetCustomScheme(const std::string& cmdLine) in SetCustomScheme() argument 58 if (!cmdLine.empty()) { in SetCustomScheme() 61 webComponent->SetCustomScheme(cmdLine); in SetCustomScheme()
|
H A D | web_model_impl.h | 34 void SetCustomScheme(const std::string& cmdLine) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | web_component.h | 415 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 D | web_model.h | 40 virtual void SetCustomScheme(const std::string& cmdLine) = 0;
|
H A D | web_model_ng.h | 43 void SetCustomScheme(const std::string& cmdLine) override;
|
H A D | web_model_ng.cpp | 94 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 D | js_web.cpp | 2436 …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 D | napi_webview_controller.cpp | 1184 const std::string& cmdLine = WebviewController::customeSchemeCmdLine_; in InnerGetCustomeSchemeCmdLine() local 1185 napi_create_string_utf8(env, cmdLine.c_str(), cmdLine.length(), &result); in InnerGetCustomeSchemeCmdLine()
|