Home
last modified time | relevance | path

Searched refs:ResultCode (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/round/
Dupdate_model_kernel.cc73 ResultCode result_code = ReachThresholdForUpdateModel(fbb); in Launch()
74 if (result_code != ResultCode::kSuccess) { in Launch()
89 if (result_code != ResultCode::kSuccess) { in Launch()
96 if (result_code != ResultCode::kSuccess) { in Launch()
130 ResultCode UpdateModelKernel::ReachThresholdForUpdateModel(const std::shared_ptr<FBBuilder> &fbb) { in ReachThresholdForUpdateModel()
137 return ResultCode::kSuccessAndReturn; in ReachThresholdForUpdateModel()
139 return ResultCode::kSuccess; in ReachThresholdForUpdateModel()
142 ResultCode UpdateModelKernel::UpdateModel(const schema::RequestUpdateModel *update_model_req, in UpdateModel()
144 MS_ERROR_IF_NULL_W_RET_VAL(update_model_req, ResultCode::kSuccessAndReturn); in UpdateModel()
154 return ResultCode::kSuccessAndReturn; in UpdateModel()
[all …]
Dstart_fl_job_kernel.cc79 ResultCode result_code = ReachThresholdForStartFLJob(fbb); in Launch()
80 if (result_code != ResultCode::kSuccess) { in Launch()
98 if (result_code != ResultCode::kSuccess) { in Launch()
117 if (result_code != ResultCode::kSuccess) { in Launch()
140 ResultCode StartFLJobKernel::ReachThresholdForStartFLJob(const std::shared_ptr<FBBuilder> &fbb) { in ReachThresholdForStartFLJob()
147 return ResultCode::kSuccessAndReturn; in ReachThresholdForStartFLJob()
149 return ResultCode::kSuccess; in ReachThresholdForStartFLJob()
166 ResultCode StartFLJobKernel::ReadyForStartFLJob(const std::shared_ptr<FBBuilder> &fbb, const Device… in ReadyForStartFLJob()
167 ResultCode ret = ResultCode::kSuccess; in ReadyForStartFLJob()
171 ret = ResultCode::kSuccessAndReturn; in ReadyForStartFLJob()
[all …]
Dpush_weight_kernel.cc62 ResultCode result_code = PushWeight(fbb, push_weight_req); in Launch()
81 ResultCode PushWeightKernel::PushWeight(const std::shared_ptr<FBBuilder> &fbb, in PushWeight()
83 MS_ERROR_IF_NULL_W_RET_VAL(fbb, ResultCode::kSuccessAndReturn); in PushWeight()
84 MS_ERROR_IF_NULL_W_RET_VAL(push_weight_req, ResultCode::kSuccessAndReturn); in PushWeight()
92 return ResultCode::kSuccessAndReturn; in PushWeight()
100 return ResultCode::kSuccessAndReturn; in PushWeight()
107 return ResultCode::kSuccessAndReturn; in PushWeight()
116 return count_reason == kNetworkError ? ResultCode::kFail : ResultCode::kSuccessAndReturn; in PushWeight()
119 return ResultCode::kSuccess; in PushWeight()
Dpush_metrics_kernel.cc57 ResultCode result_code = PushMetrics(fbb, push_metrics_req); in Launch()
76 ResultCode PushMetricsKernel::PushMetrics(const std::shared_ptr<FBBuilder> &fbb, in PushMetrics()
78 MS_ERROR_IF_NULL_W_RET_VAL(fbb, ResultCode::kSuccessAndReturn); in PushMetrics()
79 MS_ERROR_IF_NULL_W_RET_VAL(push_metrics_req, ResultCode::kSuccessAndReturn); in PushMetrics()
91 return count_reason == kNetworkError ? ResultCode::kFail : ResultCode::kSuccessAndReturn; in PushMetrics()
95 return ResultCode::kSuccess; in PushMetrics()
Dupdate_model_kernel.h53 ResultCode ReachThresholdForUpdateModel(const std::shared_ptr<FBBuilder> &fbb);
54ResultCode UpdateModel(const schema::RequestUpdateModel *update_model_req, const std::shared_ptr<F…
56 ResultCode CountForUpdateModel(const std::shared_ptr<FBBuilder> &fbb,
Dstart_fl_job_kernel.h47 ResultCode ReachThresholdForStartFLJob(const std::shared_ptr<FBBuilder> &fbb);
54ResultCode ReadyForStartFLJob(const std::shared_ptr<FBBuilder> &fbb, const DeviceMeta &device_meta…
57ResultCode CountForStartFLJob(const std::shared_ptr<FBBuilder> &fbb, const schema::RequestFLJob *s…
Dpush_metrics_kernel.h45ResultCode PushMetrics(const std::shared_ptr<FBBuilder> &fbb, const schema::RequestPushMetrics *pu…
Dpush_weight_kernel.h45ResultCode PushWeight(const std::shared_ptr<FBBuilder> &fbb, const schema::RequestPushWeight *push…
/third_party/skia/src/sksl/
DSkSLMain.cpp43 enum class ResultCode { enum
253 ResultCode processCommand(std::vector<SkSL::String>& args) { in processCommand()
265 return ResultCode::kInputError; in processCommand()
269 return ResultCode::kInputError; in processCommand()
287 return ResultCode::kInputError; in processCommand()
295 return ResultCode::kInputError; in processCommand()
304 return ResultCode::kInputError; in processCommand()
327 auto compileProgram = [&](const auto& writeFn) -> ResultCode { in processCommand()
332 return ResultCode::kOutputError; in processCommand()
337 return ResultCode::kCompileError; in processCommand()
[all …]
/third_party/mindspore/mindspore/ccsrc/fl/server/
Dcommon.h260 enum class ResultCode { enum
270 bool inline ConvertResultCode(ResultCode result_code) { in ConvertResultCode()
272 case ResultCode::kSuccess: in ConvertResultCode()
274 case ResultCode::kSuccessAndReturn: in ConvertResultCode()
276 case ResultCode::kFail: in ConvertResultCode()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_userIAM_faceAuth.js20 const ResultCode = { variable
36 ResultCode, property
Dohos_userIAM_userAuth.js149 ResultCode : { property
Dohos_account_osAccount.js684 const ResultCode = { variable
738 ResultCode, property
Dohos_account_appAccount.js565 ResultCode: ResultCodeMock, property
/third_party/cef/patch/patches/
Dwin_sandbox_3210.patch5 @@ -1155,6 +1155,13 @@ ResultCode SandboxWin::StartSandboxedProcess(
17 ResultCode result = GeneratePolicyForSandboxedProcess(
/third_party/cef/libcef/browser/printing/
Dprint_dialog_linux.cc184 std::move(callback).Run(printing::mojom::ResultCode::kCanceled); in ShowDialog()
300 std::move(callback_).Run(printing::mojom::ResultCode::kSuccess); in OnPrintContinue()
304 std::move(callback_).Run(printing::mojom::ResultCode::kCanceled); in OnPrintCancel()
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Drequest_process_result_code.h76 enum RequestProcessResultCode ResultCode() const { return code_; } in ResultCode() function