Home
last modified time | relevance | path

Searched defs:ret_code (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mindspore/mindspore/lite/src/delegate/nnrt/
Dnnrt_model_kernel.cc31 OH_NN_ReturnCode ret_code; in Execute() local
145 OH_NN_ReturnCode ret_code = in PrepareInputs() local
167 …OH_NN_ReturnCode ret_code = OH_NNExecutor_SetOutput(oh_nn_executor, i, tensor.MutableData(), tenso… in TransferOutputs() local
Dnnrt_delegate.cc33 OH_NN_ReturnCode ret_code; in Build() local
200 OH_NN_ReturnCode ret_code = in PrepareInputs() local
279 …OH_NN_ReturnCode ret_code = OH_NNExecutor_SetOutput(oh_nn_executor, i, tensor.MutableData(), tenso… in PrepareOutputs() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/
Dplugin_op.cc45 …int ret_code = memcpy_s(tensor.buffer_.data(), tensor.buffer_.size(), in_row[ind]->GetBuffer(), bu… in TensorRowToPlugin() local
48 …int ret_code = memcpy_s(tensor.buffer_.data(), buffer_size, in_row[ind]->GetBuffer(), buffer_size); in TensorRowToPlugin() local
57 … auto ret_code = memcpy_s(tensor.buffer_.data(), tensor.buffer_.size(), str1.data(), str1.size()); in TensorRowToPlugin() local
/third_party/openh264/codec/decoder/core/inc/
Ddec_golomb.h248 #define WELS_CHECK_SE_BOTH_ERROR(val, lower_bound, upper_bound, syntax_name, ret_code) do {\ argument
255 #define WELS_CHECK_SE_LOWER_ERROR(val, lower_bound, syntax_name, ret_code) do {\ argument
262 #define WELS_CHECK_SE_UPPER_ERROR(val, upper_bound, syntax_name, ret_code) do {\ argument
269 #define WELS_CHECK_SE_BOTH_ERROR_NOLOG(val, lower_bound, upper_bound, syntax_name, ret_code) do {\ argument
275 #define WELS_CHECK_SE_LOWER_ERROR_NOLOG(val, lower_bound, syntax_name, ret_code) do {\ argument
281 #define WELS_CHECK_SE_UPPER_ERROR_NOLOG(val, upper_bound, syntax_name, ret_code) do {\ argument
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtensor.cc122 int ret_code = memcpy_s((*out)->data_, byte_size, src, byte_size); in CreateFromMemory() local
125 auto ret_code = std::memcpy((*out)->data_, src, byte_size); in CreateFromMemory() local
154 int ret_code = memcpy_s((*out)->data_, length, src, length); in CreateFromMemory() local
157 auto ret_code = std::memcpy((*out)->data_, src, length); in CreateFromMemory() local
248 …int ret_code = memcpy_s((*out)->data_ + offset, num_bytes, common::SafeCStr(str), str.length() + 1… in CreateFromByteList() local
349 int ret_code = memcpy_s(dst + i * type_size, type_size, src + offset, type_size); in CopyStridedArray() local
598 int ret_code = in InsertTensor() local
840 int ret_code = memset_s(tmp_data, total_size, 0, total_size); in GetDataAsNumpyStrings() local
Dtensor.h274 int ret_code = memcpy_s(reinterpret_cast<char *>(ptr), length, value.c_str(), length); in SetItemAt() local
820 …int ret_code = memcpy_s((*out)->data_ + offset, num_bytes, common::SafeCStr(str), str.length() + 1… variable
/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_1.c35 int ret_code = PTS_PASS; in main() local
/third_party/jerryscript/targets/riot-stm32f4/source/
Dmain-riotos.c76 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in test_jerry() local
/third_party/jerryscript/jerry-main/
Dmain-unix-test.c123 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in main() local
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_device_address.cc75 auto ret_code = memcpy_s(host_ptr, size, ptr_, size); in SyncDeviceToHost() local
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dsparse_optimizer_cpu_kernel.h320 …auto ret_code = memcpy_s(reduced_bucket->value_ + value_offset, (max_length - value_offset) * size… in SortAndReduceBucketSparseGradient() local
360 auto ret_code = in ReduceBucketSparseGradient() local
428 auto ret_code = memcpy_s(output_grad->value_ + unique_indices_size * param.value_stride_, in MergeReduceSparseGradient() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_helper.h118 …auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(tensor->data().nbytes()), &value, data_leng… in CreateScalarTensorValueNode() local
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dvdso_support.cc165 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, nullptr, nullptr); in GetCPU() local
/third_party/abseil-cpp/absl/debugging/internal/
Dvdso_support.cc165 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, nullptr, nullptr); in GetCPU() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dtransposed_update_fusion.cc39 auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(perm_tensor->data().nbytes()), in CreatePermTensor() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dlin_space_fission.cc66 …auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(assist_tensor->data().nbytes()), float_data… in CreateTensor() local
Dmax_pool3d_grad_grad_fission.cc67 auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(assist_tensor->data().nbytes()), in CreateTensor() local
Dspace_to_depth_split.cc64 auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(assist_tensor->data().nbytes()), in CreateTensor() local
Dtopk_split.cc56 auto ret_code = memcpy_s(data_ptr, static_cast<size_t>(indices_tensor->data().nbytes()), in CreateTensor() local
/third_party/ltp/include/lapi/
Drt_sigaction.h67 int ret_code = -1; in sig_initial() local
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c445 int ret_code = JERRY_STANDALONE_EXIT_CODE_OK; in main() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Drandom_data_op.cc300 int ret_code = memset_s(buf.get(), size_in_bytes, random_byte, size_in_bytes); in CreateRandomRow() local
/third_party/ffmpeg/libavcodec/
Dlibaribb24.c136 int ret_code = AVERROR_EXTERNAL; in libaribb24_init() local
/third_party/openssl/crypto/evp/
Dbio_b64.c112 int ret = 0, i, ii, j, k, x, n, num, ret_code = 0; in b64_read() local
/third_party/mesa3d/src/glx/
Ddri2.c180 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) in DRI2Error()

12