Home
last modified time | relevance | path

Searched refs:ret_code (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_1.c35 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/
Ddec_golomb.h248 #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/
Drun-tests.sh51 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/jerryscript/targets/riot-stm32f4/source/
Dmain-riotos.c76 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/
Dinstall.py12 ret_code = process.returncode
14 if ret_code != 0:
15 raise Exception("{} failed, return code is {}".format(cmd, ret_code))
/third_party/mindspore/patches/
D0019-adaper-NNCore-Api.patch268 OH_NN_ReturnCode ret_code;
269 - ret_code = OH_NNExecutor_Run(this->oh_nn_executor);
270 + ret_code = OH_NNExecutor_RunSync(oh_nn_executor, nn_input_tensors_.data(), nn_input_tensors_.siz…
273 if (ret_code != OH_NN_SUCCESS) {
274 - MS_LOG(ERROR) << "NNExecutor Run failed, OH_NN_ReturnCode = " << ret_code;
275 + MS_LOG(ERROR) << "OH_NNExecutor_RunSync Run failed, OH_NN_ReturnCode = " << ret_code;
363 - OH_NN_ReturnCode ret_code;
366 - ret_code = OH_NNExecutor_SetInputWithMemory(oh_nn_executor, i, oprend, &mem);
368 - ret_code = OH_NNExecutor_SetInput(oh_nn_executor, i, oprend, tensor.MutableData(), tensor.Da…
378 - if (ret_code != OH_NN_SUCCESS) {
[all …]
D0009-npu-zero-copy.patch587 - OH_NN_ReturnCode ret_code =
592 + OH_NN_ReturnCode ret_code;
595 + ret_code = OH_NNExecutor_SetInputWithMemory(oh_nn_executor, i, oprend, &mem);
597 + ret_code = OH_NNExecutor_SetInput(oh_nn_executor, i, oprend, tensor.MutableData(), tensor.Da…
607 - OH_NN_ReturnCode ret_code = OH_NNExecutor_SetOutput(oh_nn_executor, i, tensor.MutableData(), t…
609 + OH_NN_ReturnCode ret_code;
612 + ret_code = OH_NNExecutor_SetOutputWithMemory(oh_nn_executor, i, &mem);
614 + ret_code = OH_NNExecutor_SetOutput(oh_nn_executor, i, tensor.MutableData(), tensor.DataSize(…
616 if (ret_code != OH_NN_SUCCESS) {
618 << ", OH_NN_ReturnCode = " << ret_code;
D0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch4411 - OH_NN_ReturnCode ret_code;
4427 - ret_code = OH_NNModel_BuildFromLiteGraph(oh_nnmodel, this->nnrt_lite_graph);
4428 - if (ret_code != OH_NN_SUCCESS) {
4429 - MS_LOG(ERROR) << "Build NNModel failed, OH_NN_ReturnCode = " << ret_code;
4566 - ret_code = OH_NNDevice_GetAllDevicesID(&allDevicesID, &device_count);
4567 - if (ret_code != OH_NN_SUCCESS) {
4568 - MS_LOG(ERROR) << "NNModel GetAllDevicesID failed, OH_NN_ReturnCode = " << ret_code;
4572 + auto ret_code = InitNNCompilation(nn_compilation);
4573 + if (ret_code != kSuccess) {
4589 + MS_LOG(ERROR) << "Construct NNExecutor failed, ret: " << ret_code;
[all …]
/third_party/jerryscript/jerry-main/
Dmain-unix-test.c123 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()
Dmain-unix.c945 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/
Dtrampoline.sh6 python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" || ret_code=$?
11 exit ${ret_code}
/third_party/ltp/include/lapi/
Drt_sigaction.h67 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/
Dvdso_support.cc165 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, nullptr, nullptr); in GetCPU() local
166 return ret_code == 0 ? cpu : ret_code; in GetCPU()
/third_party/node/deps/v8/src/base/platform/
Dplatform-aix.cc44 int ret_code = gettimeofday(&tv, &tz); in get_gmt_offset() local
46 DCHECK_NE(ret_code, -1); in get_gmt_offset()
47 if (ret_code == -1) { in get_gmt_offset()
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c445 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/vulkan-loader/scripts/
Dupdate_deps.py484 ret_code = subprocess.call(cmake_cmd)
485 if ret_code != 0:
486 sys.exit(ret_code)
517 ret_code = subprocess.call(cmake_cmd)
518 if ret_code != 0:
519 sys.exit(ret_code)
/third_party/ffmpeg/libavcodec/
Dlibaribb24.c137 int ret_code = AVERROR_EXTERNAL; in libaribb24_init() local
170 ret_code = AVERROR(EINVAL); in libaribb24_init()
177 ret_code = AVERROR(ENOMEM); in libaribb24_init()
190 return ret_code; in libaribb24_init()
/third_party/node/deps/openssl/openssl/crypto/evp/
Dbio_b64.c110 int ret = 0, i, ii, j, k, x, n, num, ret_code = 0; in b64_read() local
156 ret_code = 0; in b64_read()
165 ret_code = i; in b64_read()
301 ret_code = 0; in b64_read()
323 return ((ret == 0) ? ret_code : ret); in b64_read()
/third_party/openssl/crypto/evp/
Dbio_b64.c110 int ret = 0, i, ii, j, k, x, n, num, ret_code = 0; in b64_read() local
156 ret_code = 0; in b64_read()
165 ret_code = i; in b64_read()
301 ret_code = 0; in b64_read()
323 return ((ret == 0) ? ret_code : ret); in b64_read()
/third_party/lame/
DAPI54 as well as checking for problems. Check that ret_code >= 0.
56 ret_code = lame_init_params(gfp);
/third_party/mesa3d/src/glx/
Ddri2.c65 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code);
180 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) in DRI2Error() argument
200 *ret_code = False; in DRI2Error()
Ddri_common.c434 int *ret_code) in discardGLXBadDrawableHandler() argument
443 *ret_code = 1; in discardGLXBadDrawableHandler()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c141 int SSL_get_error(const SSL *ssl, int ret_code) in SSL_get_error() argument
147 if (ret_code > 0) in SSL_get_error()
149 else if (ret_code < 0) in SSL_get_error()
/third_party/curl/lib/
Dkrb5.c691 int ret_code = 0; in Curl_sec_read_msg() local
731 ret_code = atoi(buf); in Curl_sec_read_msg()
737 return ret_code; in Curl_sec_read_msg()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/
Dssl.h366 int SSL_get_error(const SSL *ssl, int ret_code);

1234