Home
last modified time | relevance | path

Searched refs:ret (Results 14376 - 14400 of 21735) sorted by relevance

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

/third_party/skia/third_party/externals/spirv-tools/source/
H A Dspirv_target_env.cpp381 std::string ret; in spvTargetEnvList() local
391 ret += line + "\n"; in spvTargetEnvList()
401 ret += line; in spvTargetEnvList()
403 return ret; in spvTargetEnvList()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dspirv_target_env.cpp381 std::string ret; in spvTargetEnvList() local
391 ret += line + "\n"; in spvTargetEnvList()
401 ret += line; in spvTargetEnvList()
403 return ret; in spvTargetEnvList()
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_iplimit.c87 int ret; in ahc_echo() local
100 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo()
102 if (ret == MHD_NO) in ahc_echo()
104 return ret; in ahc_echo()
H A Dtest_process_arguments.c74 int ret; in ahc_echo() local
103 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); in ahc_echo()
105 if (ret == MHD_NO) in ahc_echo()
107 return ret; in ahc_echo()
/third_party/optimized-routines/string/aarch64/
H A Dstrlen.S111 ret
139 ret
174 ret
198 ret
/third_party/rust/crates/nix/src/sys/
H A Dsendfile.rs35 let ret = unsafe { libc::sendfile(out_fd, in_fd, offset, count) }; in sendfile()
36 Errno::result(ret).map(|r| r as usize) in sendfile()
62 let ret = unsafe { libc::sendfile64(out_fd, in_fd, offset, count) }; in sendfile64()
63 Errno::result(ret).map(|r| r as usize) in sendfile64()
/third_party/spirv-tools/source/
H A Dspirv_target_env.cpp402 std::string ret; in spvTargetEnvList() local
412 ret += line + "\n"; in spvTargetEnvList()
422 ret += line; in spvTargetEnvList()
424 return ret; in spvTargetEnvList()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
H A Dasn1.c197 int ret; in asn1_oid_to_str() local
205 ret = os_snprintf(pos, buf + len - pos, in asn1_oid_to_str()
208 if (os_snprintf_error(buf + len - pos, ret)) in asn1_oid_to_str()
210 pos += ret; in asn1_oid_to_str()
/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()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_data_operation_test.cpp1022 DBStatus ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); in HWTEST_F() local
1023 EXPECT_EQ(ret, NOT_FOUND); in HWTEST_F()
1034 ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); in HWTEST_F()
1035 EXPECT_TRUE(ret == NOT_FOUND); in HWTEST_F()
1041 ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); in HWTEST_F()
1042 EXPECT_EQ(ret, INVALID_QUERY_FIELD); in HWTEST_F()
1048 ret = g_kvNbDelegatePtrForQuery->GetEntries(invalidQuery1, entries); in HWTEST_F()
1049 EXPECT_TRUE(ret == INVALID_QUERY_FORMAT); in HWTEST_F()
1055 ret = g_kvNbDelegatePtrForQuery->GetEntries(invalidQuery2, entries); in HWTEST_F()
1056 EXPECT_TRUE(ret in HWTEST_F()
1116 int ret = g_kvNbDelegatePtrForQuery->GetEntries(query, entries); HWTEST_F() local
1162 int ret = g_kvNbDelegatePtrForQuery->GetCount(query, count); HWTEST_F() local
1201 int ret = g_kvNbDelegatePtrForQuery->GetEntries(query, resultSet); HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnet_conn_service.cpp203 std::pair<int, std::shared_ptr<DataShare::DataShareHelper>> ret = in CheckIfSettingsDataReady() local
205 NETMGR_LOG_I("create data_share helper, ret=%{public}d", ret.first); in CheckIfSettingsDataReady()
206 if (ret.first == DataShare::E_OK) { in CheckIfSettingsDataReady()
208 auto helper = ret.second; in CheckIfSettingsDataReady()
215 } else if (ret.first == DataShare::E_DATA_SHARE_NOT_READY) { in CheckIfSettingsDataReady()
568 int32_t ret = IncreaseNetConnCallbackCntForUid(callingUid); in RegisterNetConnCallbackAsync() local
569 if (ret != NETMANAGER_SUCCESS) { in RegisterNetConnCallbackAsync()
570 return ret; in RegisterNetConnCallbackAsync()
593 int32_t ret in RequestNetConnectionAsync() local
1031 int32_t ret = GetCallingUserId(userId); SendHttpProxyChangeBroadcast() local
1513 std::list<sptr<NetSupplier>> ret; GetNetSupplierFromList() local
1566 int ret = GetAddressesByName(host, netId, addrList); GetAddressByName() local
1905 int32_t ret = dprintf(fd, "%s\\n", result.c_str()); Dump() local
1984 int32_t ret = mem.second->PreAirplaneStart(); SetAirplaneMode() local
1996 bool ret = netConnEventHandler_->PostAsyncTask( SetAirplaneMode() local
2053 auto ret = curl_easy_perform(curl); ActiveHttpProxy() local
2099 int32_t ret = GetCallingUserId(userId); SetGlobalHttpProxy() local
2138 int ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(activeIds); GetCallingUserId() local
2200 int32_t ret = GetCallingUserId(userId); LoadGlobalHttpProxy() local
2796 uint32_t ret = INVALID_SUPPLIER_ID; FindSupplierToReduceScore() local
[all...]
/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()
/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()

Completed in 32 milliseconds

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