Home
last modified time | relevance | path

Searched refs:ret (Results 1751 - 1775 of 14087) sorted by relevance

1...<<71727374757677787980>>...564

/third_party/ffmpeg/libavcodec/
H A Dflacdec.c99 int ret; in flac_decode_init() local
112 ret = ff_flac_parse_streaminfo(avctx, &s->flac_stream_info, streaminfo); in flac_decode_init()
113 if (ret < 0) in flac_decode_init()
114 return ret; in flac_decode_init()
115 ret = allocate_buffers(s); in flac_decode_init()
116 if (ret < 0) in flac_decode_init()
117 return ret; in flac_decode_init()
138 int ret; in allocate_buffers() local
152 ret = av_samples_fill_arrays((uint8_t **)s->decoded, NULL, in allocate_buffers()
157 return ret < in allocate_buffers()
169 int metadata_type, metadata_size, ret; parse_streaminfo() local
288 int ret; decode_subframe_fixed() local
364 int i, ret; decode_subframe_lpc() local
410 int i, tmp, ret; decode_subframe() local
474 int i, ret; decode_frame() local
564 int ret; flac_decode_frame() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_texture.c422 struct rbug_proto_texture_list *ret; in rbug_demarshal_texture_list() local
429 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_list()
430 if (!ret) in rbug_demarshal_texture_list()
433 ret->header.__message = header; in rbug_demarshal_texture_list()
434 ret->header.opcode = header->opcode; in rbug_demarshal_texture_list()
436 return ret; in rbug_demarshal_texture_list()
444 struct rbug_proto_texture_info *ret; in rbug_demarshal_texture_info() local
454 ret = MALLOC(sizeof(*ret)); in rbug_demarshal_texture_info()
471 struct rbug_proto_texture_write *ret; rbug_demarshal_texture_write() local
507 struct rbug_proto_texture_read *ret; rbug_demarshal_texture_read() local
541 struct rbug_proto_texture_list_reply *ret; rbug_demarshal_texture_list_reply() local
569 struct rbug_proto_texture_info_reply *ret; rbug_demarshal_texture_info_reply() local
607 struct rbug_proto_texture_read_reply *ret; rbug_demarshal_texture_read_reply() local
[all...]
/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_manager_test.cpp161 int32_t ret = OHOS::Security::AccessToken::AccessTokenKit::DeleteToken(g_tokenID); in RemovePermission() local
162 if (ret != RET_OK) { in RemovePermission()
272 int32_t ret = MMI::InputManager::GetInstance()->GetDeviceIds(callback); in GetInputDeviceIds() local
273 if (ret != RET_OK) { in GetInputDeviceIds()
286 int32_t ret = MMI::InputManager::GetInstance()->GetDevice(deviceId, callback); in GetDevice() local
287 if (ret != RET_OK || inputDevice == nullptr) { in GetDevice()
338 int32_t ret = InteractionManager::GetInstance()->PrepareCoordination(fun, isCompatible); in EnableCooperate() local
340 if (ret == RET_OK) { in EnableCooperate()
347 ASSERT_EQ(ret, ERROR_UNSUPPORT); in EnableCooperate()
662 int32_t ret in HWTEST_F() local
684 int32_t ret = InteractionManager::GetInstance()->RegisterCoordinationListener(consumer, isCompatible); HWTEST_F() local
715 int32_t ret = InteractionManager::GetInstance()->RegisterCoordinationListener(consumer, isCompatible); HWTEST_F() local
753 int32_t ret = InteractionManager::GetInstance()->RegisterCoordinationListener(consumer, isCompatible); HWTEST_F() local
792 int32_t ret = InteractionManager::GetInstance()->ActivateCoordination(remoteNetworkId, startDeviceId, HWTEST_F() local
817 int32_t ret = InteractionManager::GetInstance()->DeactivateCoordination(false, fun, isCompatible); HWTEST_F() local
843 int32_t ret = InteractionManager::GetInstance()->GetCoordinationState(networkId, fun, isCompatible); HWTEST_F() local
870 int32_t ret = InteractionManager::GetInstance()->GetCoordinationState(networkId, fun, isCompatible); HWTEST_F() local
892 int32_t ret = InteractionManager::GetInstance()->GetCoordinationState(udId, state); HWTEST_F() local
913 int32_t ret = InteractionManager::GetInstance()->UnregisterCoordinationListener(consumer, isCompatible); HWTEST_F() local
939 int32_t ret = InteractionManager::GetInstance()->UnprepareCoordination(fun, isCompatible); HWTEST_F() local
995 int32_t ret = InteractionManager::GetInstance()->AddHotAreaListener(listener); HWTEST_F() local
1025 int32_t ret = InteractionManager::GetInstance()->AddHotAreaListener(listener); HWTEST_F() local
1063 auto ret = InteractionManager::GetInstance()->SetDamplingCoefficient( HWTEST_F() local
1701 int32_t ret = InteractionManager::GetInstance()->SetDragWindowVisible(true); HWTEST_F() local
1735 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragDataInfo.value(), HWTEST_F() local
1913 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
1959 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
1993 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2043 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2098 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2126 int32_t ret = DragDataUtil::Marshalling(dragData.value(), parcel, false); HWTEST_F() local
2147 int32_t ret = DragDataUtil::Marshalling(dragData.value(), parcel, true); HWTEST_F() local
2174 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2210 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2309 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2354 int32_t ret = InteractionManager::GetInstance()->AddSubscriptListener(listener); HWTEST_F() local
2422 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2452 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2482 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2513 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2542 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2572 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2606 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2644 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2682 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2720 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2758 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2796 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2834 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
2872 int32_t ret = InteractionManager::GetInstance()->StartDrag(dragData.value(), HWTEST_F() local
[all...]
/base/inputmethod/imf/frameworks/js/napi/inputmethodpanel/
H A Djs_input_method_panel.cpp37 auto ret = JsUtil::Object::WriteProperty(env, obj, "SOFT_KEYBOARD", static_cast<int32_t>(PanelType::SOFT_KEYBOARD)); in GetJsPanelTypeProperty() local
38 ret = ret && JsUtil::Object::WriteProperty(env, obj, "STATUS_BAR", static_cast<int32_t>(PanelType::STATUS_BAR)); in GetJsPanelTypeProperty()
39 if (!ret) { in GetJsPanelTypeProperty()
40 IMSA_HILOGE("init module inputMethod.Panel.PanelType failed, ret: %{public}d!", ret); in GetJsPanelTypeProperty()
50 auto ret = JsUtil::Object::WriteProperty(env, obj, "FLAG_FIXED", static_cast<int32_t>(PanelFlag::FLG_FIXED)); in GetJsPanelFlagProperty() local
51 ret = ret && in GetJsPanelFlagProperty()
53 ret in GetJsPanelFlagProperty()
[all...]
/base/sensors/miscdevice/frameworks/capi/
H A Dvibrator.cpp41 int32_t ret = OHOS::Sensors::StartVibratorOnce(duration); in OH_Vibrator_PlayVibration() local
42 if (ret != OHOS::ERR_OK) { in OH_Vibrator_PlayVibration()
43 MISC_HILOGE("start Vibrator failed, ret is %{public}d", ret); in OH_Vibrator_PlayVibration()
45 return ret; in OH_Vibrator_PlayVibration()
67 int32_t ret = OHOS::Sensors::PlayVibratorCustom(fileDescription.fd, fileDescription.offset, fileDescription.length); in OH_Vibrator_PlayVibrationCustom() local
68 if (ret != OHOS::ERR_OK) { in OH_Vibrator_PlayVibrationCustom()
69 MISC_HILOGE("play vibrator custom failed, ret is %{public}d", ret); in OH_Vibrator_PlayVibrationCustom()
71 return ret; in OH_Vibrator_PlayVibrationCustom()
76 int32_t ret = OHOS::Sensors::Cancel(); OH_Vibrator_Cancel() local
[all...]
/base/startup/init/device_info/
H A Ddevice_info_proxy.cpp30 int ret = 0; in DeviceInfoSendRequest() local
32 int ret = SYSPARAM_SYSTEM_ERROR; in DeviceInfoSendRequest()
36 ret = remote->SendRequest(code, data, reply, option); in DeviceInfoSendRequest()
38 return ret; in DeviceInfoSendRequest()
47 int32_t ret = DeviceInfoSendRequest(static_cast<uint32_t> (DeviceInfoInterfaceCode::COMMAND_GET_UDID), in GetUdid() local
49 DINFO_CHECK(ret == ERR_NONE, return ret, "getUdid failed, error code is %d", ret); in GetUdid()
61 int32_t ret = DeviceInfoSendRequest(static_cast<uint32_t> (DeviceInfoInterfaceCode::COMMAND_GET_SERIAL_ID), in GetSerialID() local
63 DINFO_CHECK(ret in GetSerialID()
[all...]
/base/startup/init/test/unittest/init/
H A Dutils_unittest.cpp44 int ret = MakeDirRecursive(dir, mode); in HWTEST_F() local
45 EXPECT_EQ(ret, 0); in HWTEST_F()
47 ret = MakeDirRecursive(dir, mode); in HWTEST_F()
48 EXPECT_EQ(ret, -1); in HWTEST_F()
49 ret = MakeDir(dir, 9999); in HWTEST_F()
50 EXPECT_EQ(ret, -1); in HWTEST_F()
57 int ret = StringToInt(str, defaultValue); in HWTEST_F() local
58 EXPECT_EQ(ret, 1); in HWTEST_F()
60 ret = StringToInt(str, defaultValue); in HWTEST_F()
61 EXPECT_EQ(ret, 1 in HWTEST_F()
[all...]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_attest.c75 int32_t ret = CheckAttestKeyParams(key, paramSet, certChain); in HksCoreAttestKey() local
76 HKS_IF_NOT_SUCC_RETURN(ret, ret) in HksCoreAttestKey()
79 ret = HksGetParam(paramSet, HKS_TAG_ATTESTATION_CERT_TYPE, &certTypeParam); in HksCoreAttestKey()
80 if (ret == HKS_SUCCESS) { in HksCoreAttestKey()
83 } else if (ret != HKS_ERROR_PARAM_NOT_EXIST) { in HksCoreAttestKey()
85 return ret; in HksCoreAttestKey()
91 ret = HksProcessIdentityVerify(keyNode->paramSet, paramSet); in HksCoreAttestKey()
92 if (ret != HKS_SUCCESS) { in HksCoreAttestKey()
95 return ret; in HksCoreAttestKey()
[all...]
/base/startup/init/interfaces/innerkits/reboot/
H A Dinit_reboot_innerkits.c36 int ret = 0; in DoRebootByInitPlugin() local
39 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "reboot,%s:%s", mode, option); in DoRebootByInitPlugin()
41 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "reboot,%s", mode); in DoRebootByInitPlugin()
45 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "reboot,%s", option); in DoRebootByInitPlugin()
47 ret = snprintf_s(value, MAX_REBOOT_OPTION_SIZE, MAX_REBOOT_OPTION_SIZE - 1, "%s", "reboot"); in DoRebootByInitPlugin()
50 BEGET_ERROR_CHECK(ret >= 0, return -1, "Failed to format boot mode "); in DoRebootByInitPlugin()
52 ret = SystemSetParameter(STARTUP_DEVICE_CTL, DEVICE_CMD_STOP); in DoRebootByInitPlugin()
53 BEGET_ERROR_CHECK(ret == 0, return -1, "Failed to set stop param"); in DoRebootByInitPlugin()
54 ret = SystemSetParameter(DOREBOOT_PARAM, value); in DoRebootByInitPlugin()
55 BEGET_ERROR_CHECK(ret in DoRebootByInitPlugin()
73 int ret = SystemGetParameter(STARTUP_DEVICE_CTL, result, &len); ExecReboot() local
[all...]
/base/web/webview/ohos_wrapper/src/
H A Dnweb_location_wrapper.cpp33 LocationErrCode ret = NWeb::g_locatorProxy->IsLocationEnabledV9(isEnabled); in IsLocationEnable() local
34 if (ret != LocationErrCode::ERRCODE_SUCCESS) { in IsLocationEnable()
35 WVLOG_E("StartLocating failed, errcode:%{public}d", ret); in IsLocationEnable()
49 LocationErrCode ret = NWeb::g_locatorProxy->StartLocatingV9( in StartLocating() local
51 if (ret != LocationErrCode::ERRCODE_SUCCESS) { in StartLocating()
52 WVLOG_E("StartLocating failed, errcode:%{public}d", ret); in StartLocating()
64 LocationErrCode ret = NWeb::g_locatorProxy->StopLocatingV9(callback); in StopLocating() local
65 if (ret != LocationErrCode::ERRCODE_SUCCESS) { in StopLocating()
66 WVLOG_E("StopLocating failed, errcode:%{public}d", ret); in StopLocating()
78 LocationErrCode ret in EnableAbility() local
[all...]
/test/xts/hats/hdf/wlan/wifi/hal/
H A Dwifi_hal_startandstop.cpp39 int ret; in SetUpTestCase() local
41 ret = WifiConstruct(&g_wifi); in SetUpTestCase()
42 ASSERT_EQ(HDF_SUCCESS, ret); in SetUpTestCase()
47 int ret; in TearDownTestCase() local
49 ret = WifiDestruct(&g_wifi); in TearDownTestCase()
50 ASSERT_EQ(HDF_SUCCESS, ret); in TearDownTestCase()
82 int ret; in HWTEST_F() local
83 ret = g_wifi->start(nullptr); in HWTEST_F()
84 ASSERT_NE(HDF_SUCCESS, ret); in HWTEST_F()
94 int ret; in HWTEST_F() local
[all...]
/third_party/ltp/include/lapi/
H A Dsafe_rt_signal.h15 int ret; in safe_rt_sigaction() local
17 ret = ltp_rt_sigaction(signum, act, oact, sigsetsize); in safe_rt_sigaction()
19 if (ret == -1) { in safe_rt_sigaction()
23 } else if (ret) { in safe_rt_sigaction()
26 signum, act, oact, sigsetsize, ret); in safe_rt_sigaction()
29 return ret; in safe_rt_sigaction()
40 int ret; in safe_rt_sigprocmask() local
42 ret = tst_syscall(__NR_rt_sigprocmask, how, set, oldset, sigsetsize); in safe_rt_sigprocmask()
43 if (ret == -1) { in safe_rt_sigprocmask()
47 } else if (ret) { in safe_rt_sigprocmask()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
H A D3-2.c56 * UNRESOLVED(ret, descr);
57 * where descr is a description of the error and ret is an int
90 int ret, value; in main() local
111 ret = sem_wait(sem); in main()
112 } while (ret != 0 && errno == EINTR); in main()
114 if (ret != 0) { in main()
119 ret = sem_close(sem); in main()
121 if (ret != 0) { in main()
133 ret = sem_getvalue(sem, &value); in main()
135 if (ret ! in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D15-1.c51 * UNRESOLVED(ret, descr);
52 * where descr is a description of the error and ret is an int (error code for example)
96 int ret = 0; in teststack() local
97 *(int **)arg = &ret; in teststack()
104 int ret; in threaded() local
116 ret = pthread_create(&gchild, NULL, teststack, &child_stack); in threaded()
117 if (ret != 0) { in threaded()
118 UNRESOLVED(ret, in threaded()
122 ret = pthread_join(gchild, NULL); in threaded()
123 if (ret ! in threaded()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmprotect.c32 int ret = mprotect(buffer, getpagesize(), PROT_READ); in mprotect_0100() local
33 EXPECT_EQ("mprotect_0100", ret, SUCCESS); in mprotect_0100()
45 int ret = mprotect(buffer, getpagesize(), PROT_WRITE); in mprotect_0200() local
46 EXPECT_EQ("mprotect_0200", ret, SUCCESS); in mprotect_0200()
58 int ret = mprotect(buffer, getpagesize(), PROT_EXEC); in mprotect_0300() local
59 EXPECT_EQ("mprotect_0300", ret, SUCCESS); in mprotect_0300()
71 int ret = mprotect(buffer, getpagesize(), PROT_NONE); in mprotect_0400() local
72 EXPECT_EQ("mprotect_0400", ret, SUCCESS); in mprotect_0400()
84 int ret = mprotect(buffer, getpagesize(), PROT_READ | PROT_WRITE); in mprotect_0500() local
85 EXPECT_EQ("mprotect_0500", ret, SUCCES in mprotect_0500()
96 int ret = mprotect((void *)0x0001, getpagesize(), PROT_READ); mprotect_0600() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dinet_aton.c28 int ret = inet_aton("127.1.2.3", &a); in inet_aton_0100() local
29 if (ret != 1) { in inet_aton_0100()
46 int ret = inet_aton("127.1.2", &a); in inet_aton_0200() local
47 if (ret != 1) { in inet_aton_0200()
64 int ret = inet_aton("127.1", &a); in inet_aton_0300() local
65 if (ret != 1) { in inet_aton_0300()
82 int ret = inet_aton("0x7f000001", &a); in inet_aton_0400() local
83 if (ret != 1) { in inet_aton_0400()
100 int ret = inet_aton("0xFf.0.0.1", &a); in inet_aton_0500() local
101 if (ret ! in inet_aton_0500()
116 int ret = inet_aton("", NULL); inet_aton_0600() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dmtx_trylock.c25 int32_t ret = 0; in threadfuncA() local
26 ret = mtx_lock(&g_mtex); in threadfuncA()
27 ret = mtx_trylock(&g_mtex); in threadfuncA()
28 EXPECT_EQ("mtx_lock_0100", ret, thrd_success); in threadfuncA()
29 ret = mtx_unlock(&g_mtex); in threadfuncA()
30 EXPECT_EQ("mtx_lock_0100", ret, thrd_success); in threadfuncA()
36 int32_t ret = 0; in threadfuncB() local
37 ret = mtx_lock(&g_mtex); in threadfuncB()
38 ret = mtx_trylock(&g_mtex); in threadfuncB()
39 EXPECT_EQ("mtx_lock_0200", ret, thrd_bus in threadfuncB()
[all...]
H A Dpthread_attr_setstack.c39 int ret = 0; in pthread_attr_setstack_0100() local
48 ret = posix_memalign(&stackAddr, pageSize, THREAD_STACK_LEN); in pthread_attr_setstack_0100()
49 if (ret != 0) { in pthread_attr_setstack_0100()
50 EXPECT_EQ("pthread_attr_setstack_0100", ret, 0); in pthread_attr_setstack_0100()
53 ret = pthread_attr_setstack(&attr, stackAddr, THREAD_STACK_LEN); in pthread_attr_setstack_0100()
54 if (ret != 0) { in pthread_attr_setstack_0100()
55 EXPECT_EQ("pthread_attr_setstack_0100", ret, 0); in pthread_attr_setstack_0100()
76 int ret = 0; in pthread_attr_setstack_0200() local
81 ret = pthread_attr_setstack(&attr, stackAddr, ERREXPECT); in pthread_attr_setstack_0200()
82 EXPECT_EQ("pthread_attr_setstack_0200", ret, EINVA in pthread_attr_setstack_0200()
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dpcy_data.c41 X509_POLICY_DATA *ret; in ossl_policy_data_new() local
52 ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_policy_data_new()
53 if (ret == NULL) { in ossl_policy_data_new()
58 ret->expected_policy_set = sk_ASN1_OBJECT_new_null(); in ossl_policy_data_new()
59 if (ret->expected_policy_set == NULL) { in ossl_policy_data_new()
60 OPENSSL_free(ret); in ossl_policy_data_new()
67 ret->flags = POLICY_DATA_FLAG_CRITICAL; in ossl_policy_data_new()
70 ret->valid_policy = id; in ossl_policy_data_new()
72 ret in ossl_policy_data_new()
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dp_legacy.c27 int ret = EVP_PKEY_assign_RSA(pkey, key); in EVP_PKEY_set1_RSA() local
29 if (ret) in EVP_PKEY_set1_RSA()
31 return ret; in EVP_PKEY_set1_RSA()
50 RSA *ret = evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get1_RSA() local
52 if (ret != NULL) in EVP_PKEY_get1_RSA()
53 RSA_up_ref(ret); in EVP_PKEY_get1_RSA()
54 return ret; in EVP_PKEY_get1_RSA()
85 EC_KEY *ret = evp_pkey_get0_EC_KEY_int(pkey); in EVP_PKEY_get1_EC_KEY() local
87 if (ret != NULL && !EC_KEY_up_ref(ret)) in EVP_PKEY_get1_EC_KEY()
[all...]
/third_party/openssl/crypto/evp/
H A Dp_legacy.c27 int ret = EVP_PKEY_assign_RSA(pkey, key); in EVP_PKEY_set1_RSA() local
29 if (ret) in EVP_PKEY_set1_RSA()
31 return ret; in EVP_PKEY_set1_RSA()
50 RSA *ret = evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get1_RSA() local
52 if (ret != NULL) in EVP_PKEY_get1_RSA()
53 RSA_up_ref(ret); in EVP_PKEY_get1_RSA()
54 return ret; in EVP_PKEY_get1_RSA()
85 EC_KEY *ret = evp_pkey_get0_EC_KEY_int(pkey); in EVP_PKEY_get1_EC_KEY() local
87 if (ret != NULL && !EC_KEY_up_ref(ret)) in EVP_PKEY_get1_EC_KEY()
[all...]
/third_party/openssl/crypto/x509/
H A Dpcy_data.c41 X509_POLICY_DATA *ret; in ossl_policy_data_new() local
52 ret = OPENSSL_zalloc(sizeof(*ret)); in ossl_policy_data_new()
53 if (ret == NULL) { in ossl_policy_data_new()
58 ret->expected_policy_set = sk_ASN1_OBJECT_new_null(); in ossl_policy_data_new()
59 if (ret->expected_policy_set == NULL) { in ossl_policy_data_new()
60 OPENSSL_free(ret); in ossl_policy_data_new()
67 ret->flags = POLICY_DATA_FLAG_CRITICAL; in ossl_policy_data_new()
70 ret->valid_policy = id; in ossl_policy_data_new()
72 ret in ossl_policy_data_new()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_module_tests.c268 int ret = 0; in wps_attr_parse_tests() local
289 ret = -1; in wps_attr_parse_tests()
294 ret = -1; in wps_attr_parse_tests()
298 ret = -1; in wps_attr_parse_tests()
302 ret = -1; in wps_attr_parse_tests()
306 ret = -1; in wps_attr_parse_tests()
310 ret = -1; in wps_attr_parse_tests()
318 ret = -1; in wps_attr_parse_tests()
324 return ret; in wps_attr_parse_tests()
330 int ret in wps_module_tests() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_module_tests.c268 int ret = 0; in wps_attr_parse_tests() local
289 ret = -1; in wps_attr_parse_tests()
294 ret = -1; in wps_attr_parse_tests()
298 ret = -1; in wps_attr_parse_tests()
302 ret = -1; in wps_attr_parse_tests()
306 ret = -1; in wps_attr_parse_tests()
310 ret = -1; in wps_attr_parse_tests()
318 ret = -1; in wps_attr_parse_tests()
324 return ret; in wps_attr_parse_tests()
330 int ret in wps_module_tests() local
[all...]
/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_update_helper.cpp45 int ret = RDB_EXECUTE_OK; in UpdateDisplay() local
51 return ret; in UpdateDisplay()
63 return ret; in UpdateDisplay()
65 ret = rawContacts.UpdateRawContactById(rawContactId, type, rdbStore, rawContactValues); in UpdateDisplay()
66 if (ret != OHOS::NativeRdb::E_OK) { in UpdateDisplay()
68 HILOG_ERROR("ContactsUpdateHelper UpdateDisplay UpdateRawContact failed:%{public}d", ret); in UpdateDisplay()
69 return ret; in UpdateDisplay()
73 return ret; in UpdateDisplay()
75 ret = contactsContact.UpdateContact(rawContactId, rdbStore, contactValues); in UpdateDisplay()
76 if (ret ! in UpdateDisplay()
127 int ret = RDB_EXECUTE_OK; UpdateName() local
282 int ret = RDB_EXECUTE_FAIL; UpdateCallLogNameNull() local
333 int ret = RDB_EXECUTE_FAIL; UpdateCallLog() local
[all...]

Completed in 18 milliseconds

1...<<71727374757677787980>>...564