Home
last modified time | relevance | path

Searched refs:ret (Results 14401 - 14425 of 21727) sorted by relevance

1...<<571572573574575576577578579580>>...870

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dairtime_policy.c100 int ret = 0; in sta_set_airtime_weight() local
103 (ret = hostapd_sta_set_airtime_weight(hapd, sta->addr, weight))) in sta_set_airtime_weight()
104 return ret; in sta_set_airtime_weight()
107 return ret; in sta_set_airtime_weight()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_helpers.c103 int fd, ret; in get_wpa_cli_event2() local
122 ret = select(fd + 1, &rfd, NULL, NULL, &tv); in get_wpa_cli_event2()
123 if (ret == 0) { in get_wpa_cli_event2()
127 if (ret < 0) { in get_wpa_cli_event2()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dairtime_policy.c96 int ret = 0; in sta_set_airtime_weight() local
99 (ret = hostapd_sta_set_airtime_weight(hapd, sta->addr, weight))) in sta_set_airtime_weight()
100 return ret; in sta_set_airtime_weight()
103 return ret; in sta_set_airtime_weight()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_helpers.c103 int fd, ret; in get_wpa_cli_event2() local
122 ret = select(fd + 1, &rfd, NULL, NULL, &tv); in get_wpa_cli_event2()
123 if (ret == 0) { in get_wpa_cli_event2()
127 if (ret < 0) { in get_wpa_cli_event2()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Daccount_iam_mgr_stub.cpp262 ErrCode ret = ReadUserIdAndAuthType(data, userId, authType); in AddOrUpdateCredential() local
263 if (ret != ERR_OK) { in AddOrUpdateCredential()
264 return ret; in AddOrUpdateCredential()
379 ErrCode ret = ReadUserIdAndAuthType(data, userId, authType); in ProcGetCredentialInfo() local
380 if (ret != ERR_OK) { in ProcGetCredentialInfo()
381 return ret; in ProcGetCredentialInfo()
664 ErrCode ret = ReadUserIdAndAuthType(data, accountId, authType); in ProcGetEnrolledId() local
665 if (ret != ERR_OK) { in ProcGetEnrolledId()
666 return ret; in ProcGetEnrolledId()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file_manager.cpp487 int32_t ret = AccountSA::OsAccountManager::GetForegroundOsAccountLocalId(userId); in SupportDlpWithAppId() local
488 if (ret != ERR_OK) { in SupportDlpWithAppId()
489 DLP_LOG_ERROR(LABEL, "Get os account localId error, %{public}d", ret); in SupportDlpWithAppId()
516 int32_t ret = DlpUtils::GetFileNameWithFd(dlpFileFd, fileName); in OpenDlpFile() local
517 if (ret != DLP_OK) { in OpenDlpFile()
518 return ret; in OpenDlpFile()
521 ret = SupportDlpWithAppId(appId, fileName); in OpenDlpFile()
522 if (ret != DLP_OK) { in OpenDlpFile()
523 return ret; in OpenDlpFile()
/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_manager.cpp269 int32_t ret = systemAbilityMgr->UnloadSystemAbility(SA_ID_SECURITY_COMPONENT_SERVICE); in ExitSaProcess() local
270 if (ret != SC_OK) { in ExitSaProcess()
271 SC_LOG_ERROR(LABEL, "Failed to UnloadSystemAbility service! errcode=%{public}d", ret); in ExitSaProcess()
297 int32_t ret = systemAbilityMgr->UnloadSystemAbility(SA_ID_SECURITY_COMPONENT_SERVICE); in ExitWhenAppMgrDied() local
298 if (ret != SC_OK) { in ExitWhenAppMgrDied()
299 SC_LOG_ERROR(LABEL, "failed to UnloadSystemAbility service! errcode=%{public}d", ret); in ExitWhenAppMgrDied()
383 int32_t ret = AddSecurityComponentToList(caller.pid, caller.tokenId, entity); in RegisterSecurityComponent() local
384 if (ret == SC_OK) { in RegisterSecurityComponent()
390 return ret; in RegisterSecurityComponent()
/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_codec.cpp232 uint8_t ret = 0; in CMASClass() local
236 ret = CMAS_PRESIDENTIAL; in CMASClass()
242 ret = CMAS_EXTREME; in CMASClass()
256 ret = CMAS_SEVERE; in CMASClass()
260 ret = CMAS_AMBER; in CMASClass()
264 ret = CMAS_TEST; in CMASClass()
268 ret = CMAS_EXERCISE; in CMASClass()
272 ret = CMAS_OPERATOR_DEFINED; in CMASClass()
277 return ret; in CMASClass()
H A Dsms_misc_manager.cpp38 bool ret = false; in SetCBConfig() local
55 ret = OpenCBRange(fromMsgId, toMsgId); in SetCBConfig()
57 ret = CloseCBRange(fromMsgId, toMsgId); in SetCBConfig()
59 if (ret) { in SetCBConfig()
320 std::string ret; in RangeListToString() local
326 ret += ","; in RangeListToString()
329 ret += std::to_string(item.fromMsgId); in RangeListToString()
331 ret += std::to_string(item.fromMsgId) + "-" + std::to_string(item.toMsgId); in RangeListToString()
334 return ret; in RangeListToString()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dsystem_properties.cpp163 int ret = GetParameter("persist.libc.hook_mode", "", paramOutBuf, bufferLen); in IsHookModeEnabled() local
164 if (ret <= 0 || strncmp(paramOutBuf, hook_mode, strlen(hook_mode)) != 0) { in IsHookModeEnabled()
722 auto ret = system::GetParameter("debug.ace.rtl.enabled", emptyParam); in GetRtlEnabled() local
723 if (ret == emptyParam) { in GetRtlEnabled()
726 return (ret == "true") ? true : false; in GetRtlEnabled()
905 auto ret = system::GetParameter("persist.scrollable.velocityScale", ""); in GetSrollableVelocityScale() local
906 return StringUtils::StringToDouble(ret); in GetSrollableVelocityScale()
911 auto ret = system::GetParameter("persist.scrollable.friction", ""); in GetSrollableFriction() local
912 return StringUtils::StringToDouble(ret); in GetSrollableFriction()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_codecbase.cpp312 sptr<Surface> ret = codec_->CreateInputSurface(); in CreateInputSurface() local
313 if (ret == nullptr) { in CreateInputSurface()
318 return ret; in CreateInputSurface()
389 bool ret = inputCond_.wait_for(lk, chrono::milliseconds(opt_.timeout), [this] { in WaitForInput() local
392 if (!ret) { in WaitForInput()
480 int32_t ret; in ReturnOutput() local
484 ret = codec_->ReleaseOutputBuffer(idx); in ReturnOutput()
487 ret = codec_->RenderOutputBuffer(idx); in ReturnOutput()
490 if (ret != AVCS_ERR_OK) { in ReturnOutput()
/test/xts/acts/kernel_lite/mem_posix/src/
H A DMemApiTest.cpp503 LOG("__LINE__ = %d, ret = %d (0x%08x)", __LINE__, err, err);
511 LOG("__LINE__ = %d, ret = %d (0x%08x), align = 0x%08x %d", __LINE__, err, err, align - 1, align);
767 int ret;
770 ret = memcmp(lt, orign, len);
771 ASSERT_TRUE(ret < 0);
773 ret = memcmp(eq, orign, len);
774 ASSERT_TRUE(ret == 0);
776 ret = memcmp(gt, orign, len);
777 ASSERT_TRUE(ret > 0);
779 ret
[all...]
/third_party/ffmpeg/libavcodec/
H A Ddvdec.c617 int apt, is16_9, ret; in dvvideo_decode_frame() local
627 ret = ff_dv_init_dynamic_tables(s, sys); in dvvideo_decode_frame()
628 if (ret < 0) { in dvvideo_decode_frame()
630 return ret; in dvvideo_decode_frame()
642 ret = ff_set_dimensions(avctx, s->sys->width, s->sys->height); in dvvideo_decode_frame()
643 if (ret < 0) in dvvideo_decode_frame()
644 return ret; in dvvideo_decode_frame()
655 if ((ret = ff_thread_get_buffer(avctx, frame, 0)) < 0) in dvvideo_decode_frame()
656 return ret; in dvvideo_decode_frame()
H A Dgdv.c465 int ret, i; in gdv_decode_frame() local
479 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) in gdv_decode_frame()
480 return ret; in gdv_decode_frame()
500 ret = decompress_2(avctx); in gdv_decode_frame()
505 ret = decompress_5(avctx, flags >> 8); in gdv_decode_frame()
508 ret = decompress_68(avctx, flags >> 8, 0); in gdv_decode_frame()
511 ret = decompress_68(avctx, flags >> 8, 1); in gdv_decode_frame()
516 if (ret < 0) in gdv_decode_frame()
517 return ret; in gdv_decode_frame()
H A Dvmnc.c335 int dx, dy, w, h, depth, enc, chunks, res, size_left, ret; in decode_frame() local
343 if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0) in decode_frame()
344 return ret; in decode_frame()
425 if ((ret = av_reallocp(&c->curbits, screen_size)) < 0 || in decode_frame()
426 (ret = av_reallocp(&c->curmask, screen_size)) < 0 || in decode_frame()
427 (ret = av_reallocp(&c->screendta, screen_size)) < 0) { in decode_frame()
429 return ret; in decode_frame()
521 if ((ret = av_frame_ref(rframe, c->pic)) < 0) in decode_frame()
522 return ret; in decode_frame()
/third_party/ffmpeg/libavfilter/
H A Dasrc_sinc.c83 int ret = ff_set_common_formats_from_list(ctx, sample_fmts); in query_formats() local
84 if (ret < 0) in query_formats()
85 return ret; in query_formats()
87 ret = ff_set_common_channel_layouts_from_list(ctx, chlayouts); in query_formats()
88 if (ret < 0) in query_formats()
89 return ret; in query_formats()
374 int ret = fir_to_phase(s, &h[longer], &n, &post_peak, s->phase); in config_output() local
375 if (ret < 0) in config_output()
376 return ret; in config_output()
H A Dvf_deshake.c321 int i = 0, ret = 0; in deshake_transform_c() local
333 ret = ff_affine_transform(in->data[i], out->data[i], in->linesize[i], in deshake_transform_c()
336 if (ret < 0) in deshake_transform_c()
337 return ret; in deshake_transform_c()
339 return ret; in deshake_transform_c()
413 int ret = 0; in filter_frame() local
510 ret = deshake->transform(link->dst, link->w, link->h, chroma_width, chroma_height, in filter_frame()
516 if (ret < 0) in filter_frame()
526 return ret; in filter_frame()
H A Dvf_libvmaf.c137 int ret = ff_framesync_dualinput_get(fs, &dist, &ref); in do_vmaf() local
138 if (ret < 0) in do_vmaf()
139 return ret; in do_vmaf()
582 int ret; in config_output() local
584 ret = ff_framesync_init_dualinput(&s->fs, ctx); in config_output()
585 if (ret < 0) in config_output()
586 return ret; in config_output()
592 if ((ret = ff_framesync_configure(&s->fs)) < 0) in config_output()
593 return ret; in config_output()
/third_party/libcoap/src/oscore/
H A Doscore_context.c61 size_t ret = 0; in compose_info() local
64 ret += oscore_cbor_put_array(&buffer, &rem_size, 5); in compose_info()
65 ret += oscore_cbor_put_bytes(&buffer, in compose_info()
70 ret += oscore_cbor_put_bytes(&buffer, in compose_info()
75 ret += oscore_cbor_put_nil(&buffer, &rem_size); in compose_info()
77 ret += oscore_cbor_put_unsigned(&buffer, &rem_size, alg); in compose_info()
78 ret += oscore_cbor_put_text(&buffer, in compose_info()
82 ret += oscore_cbor_put_unsigned(&buffer, &rem_size, out_len); in compose_info()
83 return ret; in compose_info()
/third_party/mesa3d/src/freedreno/decode/
H A Dscript.c217 int ret; in l_rnn_etype() local
229 ret = pushdecval(L, rnn, regval, &elem->typeinfo); in l_rnn_etype()
230 if (ret) in l_rnn_etype()
231 return ret; in l_rnn_etype()
611 int ret; in script_load() local
621 ret = luaL_loadfile(L, file); in script_load()
622 if (ret) in script_load()
625 ret = lua_pcall(L, 0, LUA_MULTRET, 0); in script_load()
626 if (ret) in script_load()
/third_party/lwip/src/apps/lwiperf/
H A Dlwiperf.c441 err_t ret; in lwiperf_tx_start_passive() local
445 ret = lwiperf_tx_start_impl(&conn->conn_pcb->remote_ip, remote_port, &conn->settings, conn->report_fn, conn->report_arg, in lwiperf_tx_start_passive()
447 if (ret == ERR_OK) { in lwiperf_tx_start_passive()
451 return ret; in lwiperf_tx_start_passive()
761 err_t ret; in lwiperf_start_tcp_client() local
788 ret = lwiperf_tx_start_impl(remote_addr, remote_port, &settings, report_fn, report_arg, NULL, &state); in lwiperf_start_tcp_client()
789 if (ret == ERR_OK) { in lwiperf_start_tcp_client()
794 ret = lwiperf_start_tcp_server_impl(&state->conn_pcb->local_ip, LWIPERF_TCP_PORT_DEFAULT, in lwiperf_start_tcp_client()
796 if (ret != ERR_OK) { in lwiperf_start_tcp_client()
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Dsocket_test.cpp538 int ret; in HWTEST_F() local
546 ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); in HWTEST_F()
556 ret = sendmsg(socks[1], &msg, 0); in HWTEST_F()
557 if (ret == -1) { in HWTEST_F()
569 ret = recvmsg(socks[0], &msgr, 0); in HWTEST_F()
570 EXPECT_NE(-1, ret); in HWTEST_F()
606 int ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); in HWTEST_F() local
607 ret = sendto(socks[1], sendBuf, sizeof(sendBuf), 0, nullptr, 0); in HWTEST_F()
608 EXPECT_NE(-1, ret); in HWTEST_F()
/third_party/node/deps/openssl/openssl/crypto/objects/
H A Dobj_dat.c59 unsigned long ret = 0; in added_obj_hash() local
65 ret = (unsigned long)a->length << 20UL; in added_obj_hash()
68 ret ^= p[i] << ((i * 3) % 24); in added_obj_hash()
71 ret = OPENSSL_LH_strhash(a->sn); in added_obj_hash()
74 ret = OPENSSL_LH_strhash(a->ln); in added_obj_hash()
77 ret = a->nid; in added_obj_hash()
83 ret &= 0x3fffffffL; in added_obj_hash()
84 ret |= ((unsigned long)ca->type) << 30L; in added_obj_hash()
85 return ret; in added_obj_hash()
/third_party/node/deps/openssl/openssl/apps/
H A Dpkeyutl.c118 int ret = 1, rv = -1; in pkeyutl_main() local
142 ret = 0; in pkeyutl_main()
461 ret = 0; in pkeyutl_main()
494 ret = 0; in pkeyutl_main()
506 if (ret != 0) in pkeyutl_main()
520 return ret; in pkeyutl_main()
665 int ret; in setup_peer() local
675 ret = EVP_PKEY_derive_set_peer(ctx, peer) > 0; in setup_peer()
678 return ret; in setup_peer()
/third_party/openssl/apps/
H A Dpkeyutl.c118 int ret = 1, rv = -1; in pkeyutl_main() local
142 ret = 0; in pkeyutl_main()
461 ret = 0; in pkeyutl_main()
494 ret = 0; in pkeyutl_main()
506 if (ret != 0) in pkeyutl_main()
520 return ret; in pkeyutl_main()
665 int ret; in setup_peer() local
675 ret = EVP_PKEY_derive_set_peer(ctx, peer) > 0; in setup_peer()
678 return ret; in setup_peer()

Completed in 32 milliseconds

1...<<571572573574575576577578579580>>...870