/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_hostap.c | 406 int ret = 0; in wpa_driver_hostap_set_key() local 453 ret = -1; in wpa_driver_hostap_set_key() 457 return ret; in wpa_driver_hostap_set_key() 468 int ret = 0; in hostap_get_seqnum() local 485 ret = -1; in hostap_get_seqnum() 491 return ret; in hostap_get_seqnum()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | ikev2.c | 39 int ret; in ikev2_derive_keys() local 109 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys() 112 return ret; in ikev2_derive_keys() 653 int ret; in ikev2_process_sa_auth() local 662 ret = ikev2_process_sa_auth_decrypted(data, pl->encr_next_payload, in ikev2_process_sa_auth() 666 return ret; in ikev2_process_sa_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ap_drv_ops.c | 237 int ret; in hostapd_set_ap_wps_ie() local 246 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 251 return ret; in hostapd_set_ap_wps_ie() 881 int ret, i, acs_ch_list_all = 0; in hostapd_drv_do_acs() local 956 ret = hapd->driver->do_acs(hapd->drv_priv, ¶ms); in hostapd_drv_do_acs() 959 return ret; in hostapd_drv_do_acs()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 249 int ret = OHOS::Camera::FindCameraMetadataItem(data, OHOS_ABILITY_FPS_RANGES, &entry); variable 250 MEDIA_INFO_LOG("CameraDeviceServiceCallback::FindCameraMetadataItem() %{public}d", ret); 251 if (ret != 0) { 891 SelectProfiles ret; in SelectWantedProfiles() local 892 ret.preview.format_ = CAMERA_FORMAT_INVALID; in SelectWantedProfiles() 893 ret.photo.format_ = CAMERA_FORMAT_INVALID; in SelectWantedProfiles() 894 ret.video.format_ = CAMERA_FORMAT_INVALID; in SelectWantedProfiles() 902 ret.preview = *preview; in SelectWantedProfiles() 910 ret.photo = *photo; in SelectWantedProfiles() 918 ret in SelectWantedProfiles() 11352 int ret; HWTEST_F() local 11417 int ret; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_utils.cpp | 1465 bool ret = false; in SetNotificationContentDetailed() local 1469 return ret; in SetNotificationContentDetailed() 1475 ret = SetNotificationBasicContent(basicContent.get(), notificationContent.normal); in SetNotificationContentDetailed() 1480 ret = SetNotificationLongTextContent(basicContent.get(), notificationContent.longText); in SetNotificationContentDetailed() 1489 ret = SetNotificationPictureContent(basicContent.get(), notificationContent.picture); in SetNotificationContentDetailed() 1498 ret = SetNotificationMultiLineContent(basicContent.get(), notificationContent.multiLine); in SetNotificationContentDetailed() 1504 ret = SetNotificationLocalLiveViewContent(basicContent.get(), notificationContent.systemLiveView); in SetNotificationContentDetailed() 1510 return ret; in SetNotificationContentDetailed() 1512 return ret; in SetNotificationContentDetailed()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/ |
H A D | bundle_connect_ability_mgr.cpp | 197 auto ret = bundleDataMgr_->GetInnerBundleInfoWithBundleFlagsAndLock(bundleName, flag, innerBundleInfo, userId); in GetPreloadList() local 198 if (!ret) { in GetPreloadList() 297 bool ret = CheckEcologicalRule(want, callerInfo, rule); in SilentInstall() local 298 if (!ret) { in SilentInstall() 408 auto ret = systemAbilityMgr->LoadSystemAbility(DOWNLOAD_SERVICE_SA_ID, loadCallback); in LoadDownloadService() local 409 if (ret != 0) { in LoadDownloadService() 411 DOWNLOAD_SERVICE_SA_ID, ret); in LoadDownloadService() 1178 int ret = instance_->QueryFreeInstallExperience(want, callerInfo, rule); in CheckEcologicalRule() local 1179 if (ret != ERR_OK) { in CheckEcologicalRule()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_album_operation_test/src/ |
H A D | medialibrary_album_operation_test.cpp | 72 int32_t ret = g_rdbStore->ExecuteSql(dropSql); in CleanTestTables() local 73 if (ret != NativeRdb::E_OK) { in CleanTestTables() 89 int32_t ret = g_rdbStore->ExecuteSql(createTableSql); in SetTables() local 90 if (ret != NativeRdb::E_OK) { in SetTables() 109 bool ret = MediaFileUtils::CreateDirectory(ROOT_PATH + dir + "/"); in ClearAndRestart() local 110 CHECK_AND_PRINT_LOG(ret, "make %{public}s dir failed, ret=%{public}d", dir.c_str(), ret); in ClearAndRestart() 122 auto ret = rdbStore->Delete(deletedRows, predicates); in ClearAnalysisAlbum() local 123 MEDIA_INFO_LOG("ClearAnalysisAlbum Delete retVal: %{public}d, deletedRows: %{public}d", ret, deletedRow in ClearAnalysisAlbum() [all...] |
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_file_asset_napi.cpp | 1057 napi_value ret = nullptr; in PhotoAccessHelperGet() local 1059 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, ret, "asyncContext context is null"); in PhotoAccessHelperGet() 1138 napi_value ret = nullptr; in PhotoAccessHelperSet() local 1140 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, ret, "asyncContext context is null"); in PhotoAccessHelperSet() 1191 napi_value ret = nullptr; in PhotoAccessHelperCommitModify() local 1193 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext, ret, "asyncContext context is null"); in PhotoAccessHelperCommitModify() 1198 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, ret, "FileAsset is nullptr"); in PhotoAccessHelperCommitModify() 1275 NAPI_ERR_LOG("Photo request edit data failed, ret: %{public}d", retVal); in PhotoAccessHelperRequestSourceExecute() 1323 napi_value ret = nullptr; in PhotoAccessHelperRequestSource() local 1324 CHECK_NULL_PTR_RETURN_UNDEFINED(env, asyncContext->objectPtr, ret, "PhotoAsse in PhotoAccessHelperRequestSource() [all...] |
/foundation/communication/ipc/ipc/native/src/mock/source/ |
H A D | binder_invoker.cpp | 376 auto ret = SendRequest(handle, GET_PID_UID, data, reply, option); in GetDBinderCallingPidUid() local 377 if (ret != ERR_NONE) { in GetDBinderCallingPidUid() 378 ZLOGE(LABEL, "GET_PID_UID failed, error:%{public}d", ret); in GetDBinderCallingPidUid() 1167 bool ret = output_.WriteBuffer(buf, bufSize); in WriteTransaction() local 1181 return ret; in WriteTransaction() 1616 int ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010" PRIu64, tempTokenId); in ResetCallingIdentity() local 1617 if (ret < 0) { in ResetCallingIdentity() 1622 ret = sprintf_s(buf, ACCESS_TOKEN_MAX_LEN + 1, "%010d", tempRealPid); in ResetCallingIdentity() 1623 if (ret < 0) { in ResetCallingIdentity()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_data_service.cpp | 120 auto ret = KvStoreDelegateManager::SetProcessCommunicator(communicator); in Initialize() local 121 ZLOGI("set communicator ret:%{public}d.", static_cast<int>(ret)); in Initialize() 351 bool ret = SystemAbility::Publish(this); in StartService() local 352 if (!ret) { in StartService() 373 ZLOGI("Start distributedata Success, Publish ret: %{public}d", static_cast<int>(ret)); in StartService() 521 ZLOGI("temporary open db for equal identifier, ret:%{public}d", status); in ResolveAutoLaunchCompatible() 704 auto ret = DistributedDB::KvStoreDelegateManager::NotifyUserChanged(); in AccountEventChanged() local 705 ZLOGI("notify delegate manager result:%{public}d", ret); in AccountEventChanged() 725 auto ret = DATASL_OnStart(); InitSecurityAdapter() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | pixdesc.c | 2705 int i, planes[4] = { 0 }, ret = 0; in av_pix_fmt_count_planes() local 2713 ret += planes[i]; in av_pix_fmt_count_planes() 2714 return ret; in av_pix_fmt_count_planes() 2837 int ret, loss, i, nb_components; in get_pix_fmt_score() local 2857 if ((ret = get_pix_fmt_depth(&src_min_depth, &src_max_depth, src_pix_fmt)) < 0) in get_pix_fmt_score() 2859 if ((ret = get_pix_fmt_depth(&dst_min_depth, &dst_max_depth, dst_pix_fmt)) < 0) in get_pix_fmt_score() 2947 int ret = get_pix_fmt_score(dst_pix_fmt, src_pix_fmt, &loss, has_alpha ? ~0 : ~FF_LOSS_ALPHA); in av_get_pix_fmt_loss() local 2948 if (ret < 0) in av_get_pix_fmt_loss() 2949 return ret; in av_get_pix_fmt_loss()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_local.h | 583 snd_pcm_sframes_t ret = snd_pcm_mmap_playback_hw_avail(pcm); in snd_pcm_mmap_playback_hw_rewindable() local 584 return (ret >= 0) ? ret : 0; in snd_pcm_mmap_playback_hw_rewindable() 589 snd_pcm_sframes_t ret = snd_pcm_mmap_capture_hw_avail(pcm); in snd_pcm_mmap_capture_hw_rewindable() local 590 return (ret >= 0) ? ret : 0; in snd_pcm_mmap_capture_hw_rewindable() 595 snd_pcm_sframes_t ret = snd_pcm_mmap_hw_avail(pcm); in snd_pcm_mmap_hw_rewindable() local 596 return (ret >= 0) ? ret : 0; in snd_pcm_mmap_hw_rewindable()
|
/third_party/lame/libmp3lame/ |
H A D | id3tag.c | 578 int ret; in id3tag_set_genre_utf16() local 597 ret = id3v2_add_ucs2_lng(gfp, ID_GENRE, 0, text); in id3tag_set_genre_utf16() 598 if (ret == 0) { in id3tag_set_genre_utf16() 602 return ret; in id3tag_set_genre_utf16() 1190 int ret = 0; in id3tag_set_track() local 1197 ret = -1; /* track number out of ID3v1 range, ignored for ID3v1 */ in id3tag_set_track() 1211 return ret; in id3tag_set_track() 1303 int ret = 0; in id3tag_set_genre() local 1318 return ret; in id3tag_set_genre()
|
/third_party/node/src/ |
H A D | node_buffer.cc | 210 size_t* ret) { in ParseArrayIndex() 212 *ret = def; in ParseArrayIndex() 228 *ret = static_cast<size_t>(tmp_i); in ParseArrayIndex() 561 Local<Value> ret; in StringSlice() local 562 if (!maybe_ret.ToLocal(&ret)) { in StringSlice() 567 args.GetReturnValue().Set(ret); in StringSlice() 613 Local<Value> ret; in DecodeUTF8() local 615 if (!maybe_ret.ToLocal(&ret)) { in DecodeUTF8() 621 args.GetReturnValue().Set(ret); in DecodeUTF8() 207 ParseArrayIndex(Environment* env, Local<Value> arg, size_t def, size_t* ret) ParseArrayIndex() argument
|
H A D | node_messaging.cc | 1255 BaseObjectList ret; in NestedTransferables() local 1261 ret.emplace_back(Unwrap<BaseObject>(value)); in NestedTransferables() 1263 return Just(ret); in NestedTransferables() 1310 Local<Value> ret; in Deserialize() 1313 context, Null(env->isolate()), 1, &info).ToLocal(&ret) || in Deserialize() 1314 !env->base_object_ctor_template()->HasInstance(ret)) { in Deserialize() 1318 return BaseObjectPtr<BaseObject> { Unwrap<BaseObject>(ret) }; in Deserialize() 1324 auto ret = serializer->WriteValue(context, PersistentToLocal::Strong(data_)); in FinalizeTransferWrite() local 1326 return ret; in FinalizeTransferWrite()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_ciph.c | 1417 int ret = set_ciphersuites(&(ctx->tls13_ciphersuites), str); in SSL_CTX_set_ciphersuites() local 1419 if (ret && ctx->cipher_list != NULL) in SSL_CTX_set_ciphersuites() 1423 return ret; in SSL_CTX_set_ciphersuites() 1429 int ret = set_ciphersuites(&(s->tls13_ciphersuites), str); in SSL_set_ciphersuites() local 1435 if (ret && s->cipher_list != NULL) in SSL_set_ciphersuites() 1439 return ret; in SSL_set_ciphersuites() 1944 int ret = 0; in SSL_CIPHER_get_bits() local 1949 ret = (int)c->strength_bits; in SSL_CIPHER_get_bits() 1951 return ret; in SSL_CIPHER_get_bits()
|
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/ |
H A D | poly1305-sparcv9.pl | 138 ret 142 ret 275 ret 366 ret 439 ret 601 ret 605 ret 913 ret 1020 ret
|
/third_party/node/deps/undici/src/lib/ |
H A D | client.js | 672 let ret 677 ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length) 689 if (ret === constants.ERROR.PAUSED_UPGRADE) { 691 } else if (ret === constants.ERROR.PAUSED) { 694 } else if (ret !== constants.ERROR.OK) { 705 throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset)) 2197 const ret = socket.write(chunk) 2203 if (!ret) { 2212 return ret
|
/third_party/popt/src/ |
H A D | popt.c | 1473 char * ret = NULL; in poptGetOptArg() local 1475 ret = con->os->nextArg; in poptGetOptArg() 1478 return ret; in poptGetOptArg() 1483 const char * ret = NULL; in poptGetArg() local 1485 ret = con->leftovers[con->nextLeftover++]; in poptGetArg() 1486 return ret; in poptGetArg() 1491 const char * ret = NULL; in poptPeekArg() local 1493 ret = con->leftovers[con->nextLeftover]; in poptPeekArg() 1494 return ret; in poptPeekArg()
|
/third_party/openssl/crypto/poly1305/asm/ |
H A D | poly1305-sparcv9.pl | 138 ret 142 ret 275 ret 366 ret 439 ret 601 ret 605 ret 913 ret 1020 ret
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktRasterizationOrderAttachmentAccessTests.cpp | 893 deUint32 ret = 0; in getSampleNum() local 896 case VK_SAMPLE_COUNT_1_BIT: ret = 1; break; in getSampleNum() 897 case VK_SAMPLE_COUNT_2_BIT: ret = 2; break; in getSampleNum() 898 case VK_SAMPLE_COUNT_4_BIT: ret = 4; break; in getSampleNum() 899 case VK_SAMPLE_COUNT_8_BIT: ret = 8; break; in getSampleNum() 900 case VK_SAMPLE_COUNT_16_BIT: ret = 16; break; in getSampleNum() 901 case VK_SAMPLE_COUNT_32_BIT: ret = 32; break; in getSampleNum() 902 case VK_SAMPLE_COUNT_64_BIT: ret = 64; break; in getSampleNum() 905 return ret; in getSampleNum()
|
H A D | vktShaderTileImageTests.cpp | 118 deUint32 ret = 0; in getSampleCount() local 122 ret = 1; in getSampleCount() 125 ret = 2; in getSampleCount() 128 ret = 4; in getSampleCount() 131 ret = 8; in getSampleCount() 134 ret = 16; in getSampleCount() 137 ret = 32; in getSampleCount() 140 ret = 64; in getSampleCount() 145 return ret; in getSampleCount()
|
/third_party/openssl/ssl/ |
H A D | ssl_ciph.c | 1416 int ret = set_ciphersuites(&(ctx->tls13_ciphersuites), str); in SSL_CTX_set_ciphersuites() local 1418 if (ret && ctx->cipher_list != NULL) in SSL_CTX_set_ciphersuites() 1422 return ret; in SSL_CTX_set_ciphersuites() 1428 int ret = set_ciphersuites(&(s->tls13_ciphersuites), str); in SSL_set_ciphersuites() local 1434 if (ret && s->cipher_list != NULL) in SSL_set_ciphersuites() 1438 return ret; in SSL_set_ciphersuites() 1943 int ret = 0; in SSL_CIPHER_get_bits() local 1948 ret = (int)c->strength_bits; in SSL_CIPHER_get_bits() 1950 return ret; in SSL_CIPHER_get_bits()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | encode_decode.c | 1160 upb_selector_t ret; in getsel() local 1161 bool ok = upb_handlers_getselector(f, type, &ret); in getsel() 1163 return ret; in getsel() 1624 VALUE ret; in Message_encode() local 1631 ret = rb_str_new(sink.ptr, sink.len); in Message_encode() 1636 return ret; in Message_encode() 1682 VALUE ret; in Message_encode_json() local 1690 ret = rb_enc_str_new(sink.ptr, sink.len, rb_utf8_encoding()); in Message_encode_json() 1695 return ret; in Message_encode_json()
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | genutil.py | 148 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)] 149 ret[0].x = mn 150 ret[1].x = mx 151 ret[2].x = (mn + mx) * 0.5 152 return ret 155 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)] 156 ret[0].x = True 157 ret[1].x = False 158 return ret
|