Lines Matching refs:result
46 int result = OHOS::ERR_OK;
57 result = OHOS::ERR_INVALID_VALUE;
60 return result;
65 int result = CreateCommandMap();
66 if (result != OHOS::ERR_OK) {
70 result = CreateMessageMap();
71 if (result != OHOS::ERR_OK) {
75 result = OnCommand();
76 if (result != OHOS::ERR_OK) {
95 std::string result = "";
98 return result;
101 result.append("error: unknown option");
102 result.append(".\n");
104 return result;
112 std::string result = "";
116 result.append(STRING_CODE + std::to_string(code) + "\n");
117 result.append(message + "\n");
121 APP_LOGI("result = %{public}s", result.c_str());
123 return result;