/third_party/mindspore/mindspore/lite/src/delegate/nnrt/ |
D | nnrt_delegate.cc | 33 OH_NN_ReturnCode ret_code; in Build() local 40 ret_code = OH_NNModel_BuildFromLiteGraph(oh_nnmodel, this->nnrt_lite_graph); in Build() 41 if (ret_code != OH_NN_SUCCESS) { in Build() 42 MS_LOG(ERROR) << "Build NNModel failed, OH_NN_ReturnCode = " << ret_code; in Build() 60 ret_code = OH_NNDevice_GetAllDevicesID(&allDevicesID, &device_count); in Build() 61 if (ret_code != OH_NN_SUCCESS) { in Build() 62 MS_LOG(ERROR) << "NNModel GetAllDevicesID failed, OH_NN_ReturnCode = " << ret_code; in Build() 79 …ret_code = OH_NNModel_GetAvailableOperations(oh_nnmodel, allDevicesID[0], &issupported, &op_count); in Build() 80 if (ret_code != OH_NN_SUCCESS) { in Build() 81 MS_LOG(ERROR) << "NNModel GetAvailableOperations failed, OH_NN_ReturnCode = " << ret_code in Build() [all …]
|
D | nnrt_model_kernel.cc | 31 OH_NN_ReturnCode ret_code; in Execute() local 32 ret_code = OH_NNExecutor_Run(this->oh_nn_executor); in Execute() 34 if (ret_code != OH_NN_SUCCESS) { in Execute() 35 MS_LOG(ERROR) << "NNExecutor Run failed, OH_NN_ReturnCode = " << ret_code; in Execute() 145 OH_NN_ReturnCode ret_code = in PrepareInputs() local 154 if (ret_code != OH_NN_SUCCESS) { in PrepareInputs() 156 << "OH_NN_ReturnCode = " << ret_code; in PrepareInputs() 167 …OH_NN_ReturnCode ret_code = OH_NNExecutor_SetOutput(oh_nn_executor, i, tensor.MutableData(), tenso… in TransferOutputs() local 168 if (ret_code != OH_NN_SUCCESS) { in TransferOutputs() 170 << ", OH_NN_ReturnCode = " << ret_code; in TransferOutputs()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_1.c | 35 int ret_code = PTS_PASS; in main() local 57 ret_code = PTS_UNRESOLVED; in main() 61 for (i = 0; i < MAX_MSG && ret_code == PTS_PASS; i++) { in main() 67 ret_code = PTS_UNRESOLVED; in main() 79 for (i = 0; i < MAX_MSG && ret_code == PTS_PASS; i++) { in main() 85 ret_code = PTS_UNRESOLVED; in main() 93 exit(ret_code); in main() 101 return ret_code; in main()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | dec_golomb.h | 248 #define WELS_CHECK_SE_BOTH_ERROR(val, lower_bound, upper_bound, syntax_name, ret_code) do {\ argument 251 return ret_code;\ 255 #define WELS_CHECK_SE_LOWER_ERROR(val, lower_bound, syntax_name, ret_code) do {\ argument 258 return ret_code;\ 262 #define WELS_CHECK_SE_UPPER_ERROR(val, upper_bound, syntax_name, ret_code) do {\ argument 265 return ret_code;\ 269 #define WELS_CHECK_SE_BOTH_ERROR_NOLOG(val, lower_bound, upper_bound, syntax_name, ret_code) do {\ argument 271 return ret_code;\ 275 #define WELS_CHECK_SE_LOWER_ERROR_NOLOG(val, lower_bound, syntax_name, ret_code) do {\ argument 277 return ret_code;\ [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/bin/ |
D | run-tests.sh | 51 ret_code=$? 53 if [ "$ret_code" = "0" ]; then 56 case "$ret_code" in 73 if [ $ret_code -gt 128 ]; then 88 return $ret_code
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ |
D | plugin_op.cc | 45 …int ret_code = memcpy_s(tensor.buffer_.data(), tensor.buffer_.size(), in_row[ind]->GetBuffer(), bu… in TensorRowToPlugin() local 46 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "Failed to copy data into plugin tensor."); in TensorRowToPlugin() 48 …int ret_code = memcpy_s(tensor.buffer_.data(), buffer_size, in_row[ind]->GetBuffer(), buffer_size); in TensorRowToPlugin() local 49 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "Failed to copy data into plugin tensor."); in TensorRowToPlugin() 57 … auto ret_code = memcpy_s(tensor.buffer_.data(), tensor.buffer_.size(), str1.data(), str1.size()); in TensorRowToPlugin() local 58 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "memcpy_s failed when copying string tensor."); in TensorRowToPlugin()
|
/third_party/jerryscript/targets/riot-stm32f4/source/ |
D | main-riotos.c | 76 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in test_jerry() local 82 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in test_jerry() 90 return ret_code; in test_jerry()
|
/third_party/musl/scripts/ |
D | install.py | 12 ret_code = process.returncode 14 if ret_code != 0: 15 raise Exception("{} failed, return code is {}".format(cmd, ret_code))
|
/third_party/jerryscript/jerry-main/ |
D | main-unix-test.c | 123 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in main() local 128 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 134 return ret_code; in main()
|
D | main-unix.c | 945 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in main() local 952 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 963 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 985 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 998 return ret_code; in main()
|
/third_party/protobuf/kokoro/docs/ |
D | trampoline.sh | 6 python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" || ret_code=$? 11 exit ${ret_code}
|
/third_party/googletest/googletest/test/ |
D | gtest_test_utils.py | 275 ret_code = p.wait() 286 if os.WIFSIGNALED(ret_code): 287 self._return_code = -os.WTERMSIG(ret_code) 289 self._return_code = os.WEXITSTATUS(ret_code)
|
/third_party/ltp/include/lapi/ |
D | rt_sigaction.h | 67 int ret_code = -1; in sig_initial() local 84 ret_code = 0; in sig_initial() 87 return ret_code; in sig_initial()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | vdso_support.cc | 165 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, nullptr, nullptr); in GetCPU() local 166 return ret_code == 0 ? cpu : ret_code; in GetCPU()
|
/third_party/abseil-cpp/absl/debugging/internal/ |
D | vdso_support.cc | 165 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, nullptr, nullptr); in GetCPU() local 166 return ret_code == 0 ? cpu : ret_code; in GetCPU()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_device_address.cc | 75 auto ret_code = memcpy_s(host_ptr, size, ptr_, size); in SyncDeviceToHost() local 77 if (ret_code == ERANGE) { in SyncDeviceToHost() 79 } else if (ret_code != EOK) { in SyncDeviceToHost()
|
/third_party/jerryscript/targets/nuttx-stm32f4/ |
D | jerry_main.c | 445 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in main() local 449 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 458 ret_code = JERRY_STANDALONE_EXIT_CODE_FAIL; in main() 464 return ret_code; in main()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | tensor.cc | 122 int ret_code = memcpy_s((*out)->data_, byte_size, src, byte_size); in CreateFromMemory() local 123 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "Failed to copy data into tensor."); in CreateFromMemory() 125 auto ret_code = std::memcpy((*out)->data_, src, byte_size); in CreateFromMemory() local 126 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == (*out)->data_, "Failed to copy data into tensor."); in CreateFromMemory() 154 int ret_code = memcpy_s((*out)->data_, length, src, length); in CreateFromMemory() local 155 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "Failed to copy data into tensor."); in CreateFromMemory() 157 auto ret_code = std::memcpy((*out)->data_, src, length); in CreateFromMemory() local 158 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == (*out)->data_, "Failed to copy data into tensor."); in CreateFromMemory() 248 …int ret_code = memcpy_s((*out)->data_ + offset, num_bytes, common::SafeCStr(str), str.length() + 1… in CreateFromByteList() local 249 CHECK_FAIL_RETURN_UNEXPECTED(ret_code == 0, "Cannot copy string into Tensor"); in CreateFromByteList() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | sparse_optimizer_cpu_kernel.h | 320 …auto ret_code = memcpy_s(reduced_bucket->value_ + value_offset, (max_length - value_offset) * size… in SortAndReduceBucketSparseGradient() local 322 if (ret_code != EOK) { in SortAndReduceBucketSparseGradient() 360 auto ret_code = in ReduceBucketSparseGradient() local 363 if (ret_code != EOK) { in ReduceBucketSparseGradient() 428 auto ret_code = memcpy_s(output_grad->value_ + unique_indices_size * param.value_stride_, in MergeReduceSparseGradient() local 431 if (ret_code != EOK) { in MergeReduceSparseGradient() 434 ret_code = memcpy_s(output_grad->indices_ + unique_indices_size, in MergeReduceSparseGradient() 437 if (ret_code != EOK) { in MergeReduceSparseGradient()
|
/third_party/ffmpeg/libavcodec/ |
D | libaribb24.c | 136 int ret_code = AVERROR_EXTERNAL; in libaribb24_init() local 169 ret_code = AVERROR(EINVAL); in libaribb24_init() 176 ret_code = AVERROR(ENOMEM); in libaribb24_init() 189 return ret_code; in libaribb24_init()
|
/third_party/openssl/crypto/evp/ |
D | bio_b64.c | 112 int ret = 0, i, ii, j, k, x, n, num, ret_code = 0; in b64_read() local 158 ret_code = 0; in b64_read() 167 ret_code = i; in b64_read() 303 ret_code = 0; in b64_read() 325 return ((ret == 0) ? ret_code : ret); in b64_read()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | transposed_update_fusion.cc | 39 auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(perm_tensor->data().nbytes()), in CreatePermTensor() local 41 if (ret_code != 0) { in CreatePermTensor()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | lin_space_fission.cc | 66 …auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(assist_tensor->data().nbytes()), float_data… in CreateTensor() local 67 if (ret_code != 0) { in CreateTensor()
|
/third_party/mindspore/tests/st/fl/mobile/ |
D | simulator.py | 226 ret_code = rsp_get_model.Retcode() 227 if ret_code == ResponseCode.ResponseCode.SUCCEED: 229 elif ret_code == ResponseCode.ResponseCode.SucNotReady:
|
/third_party/mindspore/tests/st/fl/hybrid_lenet/ |
D | simulator.py | 226 ret_code = rsp_get_model.Retcode() 227 if ret_code == ResponseCode.ResponseCode.SUCCEED: 229 elif ret_code == ResponseCode.ResponseCode.SucNotReady:
|