Home
last modified time | relevance | path

Searched refs:ret (Results 726 - 750 of 16940) sorted by relevance

1...<<21222324252627282930>>...678

/foundation/multimedia/av_session/services/session/ipc/stub/
H A Davsession_stub.cpp78 int32_t ret = Destroy(); in HandleDestroy() local
80 CHECK_AND_RETURN_RET_LOG(ret == AVSESSION_SUCCESS, ret, "Destroy failed"); in HandleDestroy()
92 int32_t ret = SetAVCallMetaData(*avCallMetaData); in HandleSetAVCallMetaData() local
93 CHECK_AND_RETURN_RET_LOG(reply.WriteInt32(ret), ERR_NONE, "WriteInt32 result failed"); in HandleSetAVCallMetaData()
94 CHECK_AND_RETURN_RET_LOG(ret == AVSESSION_SUCCESS, ret, "GetAVCallMetaData failed"); in HandleSetAVCallMetaData()
106 int32_t ret = SetAVCallState(*avCallState); in HandleSetAVCallState() local
107 CHECK_AND_RETURN_RET_LOG(reply.WriteInt32(ret), ERR_NONE, "WriteInt32 result failed"); in HandleSetAVCallState()
108 CHECK_AND_RETURN_RET_LOG(ret in HandleSetAVCallState()
115 int32_t ret = GetAVPlaybackState(avPlaybackState); HandleGetAVPlaybackState() local
130 int32_t ret = SetAVPlaybackState(*avPlaybackState); HandleSetAVPlaybackState() local
167 int32_t ret = SetAVMetaData(*avMetaData); HandleSetAVMetaData() local
179 int32_t ret = SetAVMetaData(meta); HandleSetAVMetaData() local
187 int32_t ret = SetAVMetaData(meta); HandleSetAVMetaData() local
208 int32_t ret = GetAVMetaData(avMetaData); HandleGetAVMetaData() local
227 int32_t ret = GetAVQueueItems(avQueueItems); HandleGetAVQueueItems() local
258 int32_t ret = SetAVQueueItems(items_); HandleSetAVQueueItems() local
267 int32_t ret = GetAVQueueTitle(title); HandleGetAVQueueTitle() local
279 int32_t ret = SetAVQueueTitle(title); HandleSetAVQueueTitle() local
289 int32_t ret = GetExtras(extras); HandleGetExtras() local
354 int32_t ret = AddSupportCommand(data.ReadInt32()); HandleAddSupportCommand() local
362 int32_t ret = DeleteSupportCommand(data.ReadInt32()); HandleDeleteSupportCommand() local
389 int32_t ret = StartCastDisplayListener(); HandleStartCastDisplayListener() local
397 int32_t ret = StopCastDisplayListener(); HandleStopCastDisplayListener() local
406 int32_t ret = GetAllCastDisplays(castDisplays); HandleGetAllCastDisplays() local
[all...]
/third_party/libunwind/libunwind/include/
H A Ddwarf_i.h141 int ret; in dwarf_readu8() local
144 ret = (*a->access_mem) (as, aligned_addr, &val, 0, arg); in dwarf_readu8()
151 return ret; in dwarf_readu8()
159 int ret; in dwarf_readu16() local
161 if ((ret = dwarf_readu8 (as, a, addr, &v0, arg)) < 0 in dwarf_readu16()
162 || (ret = dwarf_readu8 (as, a, addr, &v1, arg)) < 0) in dwarf_readu16()
163 return ret; in dwarf_readu16()
177 int ret; in dwarf_readu32() local
179 if ((ret = dwarf_readu16 (as, a, addr, &v0, arg)) < 0 in dwarf_readu32()
180 || (ret in dwarf_readu32()
195 int ret; dwarf_readu64() local
213 int ret; dwarf_reads8() local
226 int ret; dwarf_reads16() local
239 int ret; dwarf_reads32() local
252 int ret; dwarf_reads64() local
268 int ret; dwarf_readw() local
300 int ret; dwarf_read_uleb128() local
325 int ret; dwarf_read_sleb128() local
358 int ret; dwarf_read_encoded_pointer_inlined() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/
H A Dbms_bundle_default_app_mgr_test.cpp291 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); in HWTEST_F() local
292 EXPECT_EQ(ret, ERR_OK); in HWTEST_F()
306 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); in HWTEST_F() local
307 EXPECT_EQ(ret, ERR_OK); in HWTEST_F()
326 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); in HWTEST_F() local
327 EXPECT_EQ(ret, ERR_OK); in HWTEST_F()
347 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); in HWTEST_F() local
348 EXPECT_EQ(ret, ERR_OK); in HWTEST_F()
363 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); in HWTEST_F() local
364 EXPECT_EQ(ret, ERR_O in HWTEST_F()
384 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); HWTEST_F() local
407 auto ret = DefaultAppMgr::GetInstance().IsDefaultApplication(userId, type, isDefaultApp); HWTEST_F() local
420 auto ret = DefaultAppMgr::GetInstance().IsEmailSkillsValid(skills); HWTEST_F() local
433 auto ret = DefaultAppMgr::GetInstance().IsEmailSkillsValid(skills); HWTEST_F() local
451 auto ret = DefaultAppMgr::GetInstance().IsEmailSkillsValid(skills); HWTEST_F() local
467 auto ret = DefaultAppMgr::GetInstance().GetBundleInfo(userId, type, element, bundleInfo); HWTEST_F() local
483 auto ret = DefaultAppMgr::GetInstance().GetBundleInfo(userId, type, element, bundleInfo); HWTEST_F() local
499 auto ret = DefaultAppMgr::GetInstance().GetBundleInfo(userId, type, element, bundleInfo); HWTEST_F() local
515 auto ret = DefaultAppMgr::GetInstance().GetBundleInfo(userId, type, element, bundleInfo); HWTEST_F() local
528 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplicationInternal( HWTEST_F() local
541 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplicationInternal(USER_ID, ABILITY_NAME, info, false); HWTEST_F() local
555 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplication(USER_ID, ABILITY_NAME, info, false); HWTEST_F() local
568 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplication(USER_ID, ABILITY_NAME, info, false); HWTEST_F() local
584 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplication(want, USER_ID, abilityInfos, extensionInfos, false); HWTEST_F() local
602 auto ret = DefaultAppMgr::GetInstance().GetDefaultApplication(want, USER_ID, abilityInfos, extensionInfos, false); HWTEST_F() local
615 auto ret = DefaultAppMgr::GetInstance().SetDefaultApplication(USER_ID, ABILITY_NAME, element); HWTEST_F() local
627 auto ret = DefaultAppMgr::GetInstance().SetDefaultApplicationInternal( HWTEST_F() local
641 auto ret = DefaultAppMgr::GetInstance().SetDefaultApplicationInternal( HWTEST_F() local
653 auto ret = DefaultAppMgr::GetInstance().ResetDefaultApplication(USER_ID, ABILITY_NAME); HWTEST_F() local
664 auto ret = DefaultAppMgr::GetInstance().ResetDefaultApplicationInternal(USER_ID, ABILITY_NAME); HWTEST_F() local
677 auto ret = DefaultAppMgr::GetInstance().IsBrowserWant(want); HWTEST_F() local
690 auto ret = DefaultAppMgr::GetInstance().IsBrowserWant(want); HWTEST_F() local
704 auto ret = DefaultAppMgr::GetInstance().IsBrowserWant(want); HWTEST_F() local
717 auto ret = DefaultAppMgr::GetInstance().IsEmailWant(want); HWTEST_F() local
730 auto ret = DefaultAppMgr::GetInstance().IsEmailWant(want); HWTEST_F() local
744 auto ret = DefaultAppMgr::GetInstance().IsEmailWant(want); HWTEST_F() local
758 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
772 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
785 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
800 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
814 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
829 auto ret = DefaultAppMgr::GetInstance().GetTypeFromWant(want); HWTEST_F() local
841 auto ret = DefaultAppMgr::GetInstance().GetBundleInfoByUtd(ALL_USER_ID, EMAIL, bundleInfo, false); HWTEST_F() local
856 auto ret = DefaultAppMgr::GetInstance().MatchActionAndType(EMAIL_SCHEME, type, skills); HWTEST_F() local
871 auto ret = DefaultAppMgr::GetInstance().IsMatch(HTTP_SCHEME, skills); HWTEST_F() local
885 auto ret = DefaultAppMgr::GetInstance().MatchAppType(ABILITY_NAME, skills); HWTEST_F() local
899 auto ret = DefaultAppMgr::GetInstance().MatchAppType(EMAIL, skills); HWTEST_F() local
914 auto ret = DefaultAppMgr::GetInstance().MatchAppType(type, skills); HWTEST_F() local
928 auto ret = DefaultAppMgr::GetInstance().IsBrowserSkillsValid(skills); HWTEST_F() local
946 auto ret = DefaultAppMgr::GetInstance().MatchUtd(type, skills); HWTEST_F() local
959 auto ret = DefaultAppMgr::GetInstance().GetBrokerBundleInfo(element, bundleInfo); HWTEST_F() local
974 auto ret = DefaultAppMgr::GetInstance().GetBrokerBundleInfo(element, bundleInfo); HWTEST_F() local
990 auto ret = DefaultAppMgr::GetInstance().GetBrokerBundleInfo(element, bundleInfo); HWTEST_F() local
1002 auto ret = DefaultAppMgr::GetInstance().IsSpecificMimeType(param); HWTEST_F() local
1015 auto ret = defaultAppRdb.GetDefaultApplicationInfo(ALL_USER_ID, EMAIL_ACTION, element); HWTEST_F() local
1027 auto ret = defaultAppRdb.DeleteDefaultApplicationInfo(ALL_USER_ID, EMAIL_ACTION); HWTEST_F() local
[all...]
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Dipc_stream_in_server_unit_test.cpp75 auto ret = ipcStreamInServerRet.GetCapturer(); in HWTEST() local
76 EXPECT_EQ(ret, nullptr); in HWTEST()
91 auto ret = ipcStreamInServerRet.ResolveBuffer(buffer); in HWTEST() local
92 EXPECT_EQ(ret, ERR_OPERATION_FAILED); in HWTEST()
149 auto ret = ipcStreamInServerRet.GetAudioSessionID(sessionIdRet); in HWTEST() local
150 EXPECT_EQ(ret, ERR_OPERATION_FAILED); in HWTEST()
153 ret = ipcStreamInServerRet.GetAudioSessionID(sessionIdRet); in HWTEST()
154 EXPECT_EQ(ret, ERR_OPERATION_FAILED); in HWTEST()
159 ret = ipcStreamInServerRet.GetAudioSessionID(sessionIdRet); in HWTEST()
160 EXPECT_EQ(ret, ERR_OPERATION_FAILE in HWTEST()
174 auto ret = ipcStreamInServerRet.Start(); HWTEST() local
200 auto ret = ipcStreamInServerRet.Pause(); HWTEST() local
245 auto ret = ipcStreamInServerRet.GetLatency(latency); HWTEST() local
293 auto ret = ipcStreamInServerRet.GetLowPowerVolume(volumeRet); HWTEST() local
641 auto ret = ipcStreamInServerRet.RegisterThreadPriority(tidRet, clientBundleNameRet); HWTEST() local
664 auto ret = ipcStreamInServerRet.SetRate(rateRet); HWTEST() local
693 auto ret = ipcStreamInServerRet.GetAudioTime(famePosRet, timestampRet); HWTEST() local
718 auto ret = ipcStreamInServerRet.UpdatePlaybackCaptureConfig(config); HWTEST() local
743 auto ret = ipcStreamInServerRet.Drain(stopFlagRet); HWTEST() local
769 auto ret = ipcStreamInServerRet.Flush(); HWTEST() local
793 auto ret = ipcStreamInServerRet.Release(); HWTEST() local
819 auto ret = ipcStreamInServerRet.Stop(); HWTEST() local
845 auto ret = ipcStreamInServerRet.Pause(); HWTEST() local
872 auto ret = ipcStreamInServerRet.ResolveBuffer(buffer); HWTEST() local
898 auto ret = ipcStreamInServerRet.GetCapturer(); HWTEST() local
924 auto ret = ipcStreamInServerRet.GetRenderer(); HWTEST() local
[all...]
/foundation/multimedia/audio_lite/services/impl/audio_source/
H A Daudio_source.cpp109 int32_t ret; in GetFrameCount() local
110 if ((ret = InitCheck()) != SUCCESS) { in GetFrameCount()
111 return ret; in GetFrameCount()
115 ret = audioCapture_->attr.GetFrameCount(reinterpret_cast<AudioHandle>(audioCapture_), &frameCount); in GetFrameCount()
116 if (ret != SUCCESS) { in GetFrameCount()
117 MEDIA_ERR_LOG("attr GetFrameCount failed:0x%x ", ret); in GetFrameCount()
118 return ret; in GetFrameCount()
208 int32_t ret = audioAdapter_->CreateCapture(audioAdapter_, &desc, &attrs, &audioCapture_); in Initialize() local
209 if (ret != SUCCESS || audioCapture_ == nullptr) { in Initialize()
210 MEDIA_ERR_LOG("CreateCapture failed:0x%x", ret); in Initialize()
226 int32_t ret = audioCapture_->attr.GetCurrentChannelId(reinterpret_cast<AudioHandle>(audioCapture_), &deviceId); GetCurrentDeviceId() local
237 int32_t ret; Start() local
260 int32_t ret = audioCapture_->CaptureFrame(audioCapture_, frame.buffer, frame.bufferLen, &readlen); ReadFrame() local
282 int32_t ret = audioCapture_->control.Stop(reinterpret_cast<AudioHandle>(audioCapture_)); Stop() local
293 int32_t ret; Release() local
[all...]
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystemfactory_service_stub.cpp91 int32_t ret = stub->CreateMediaKeySystem(name, mediaKeysystemProxy); in ProcessCreateMediaKeySystem() local
92 if (ret != DRM_OK) { in ProcessCreateMediaKeySystem()
93 DRM_ERR_LOG("CreateMediaKeySystem failed, errCode: %{public}d", ret); in ProcessCreateMediaKeySystem()
94 return ret; in ProcessCreateMediaKeySystem()
100 return ret; in ProcessCreateMediaKeySystem()
113 int32_t ret = stub->IsMediaKeySystemSupported(name, &isSurpported); in ProcessMediaKeySystemSupportedRequest() local
114 DRM_CHECK_AND_RETURN_RET_LOG(ret == DRM_OK, ret, "IsMediaKeySystemSupported faild, errCode:%{public}d", ret); in ProcessMediaKeySystemSupportedRequest()
117 return ret; in ProcessMediaKeySystemSupportedRequest()
121 int32_t ret = stub->IsMediaKeySystemSupported(name, mimeType, &isSurpported); ProcessMediaKeySystemSupportedRequest() local
130 int32_t ret = stub->IsMediaKeySystemSupported(name, mimeType, securityLevel, &isSurpported); ProcessMediaKeySystemSupportedRequest() local
145 int32_t ret = stub->SetListenerObject(object); ProcessSetListenerObject() local
156 int32_t ret = stub->GetMediaKeySystems(mediaKeySystemNames); ProcessGetMediaKeySystems() local
174 int32_t ret = stub->GetMediaKeySystemUuid(name, uuid); ProcessGetMediaKeySystemUuid() local
186 int32_t ret = DRM_OK; OnRemoteRequest() local
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_dns_sd_service_info.cpp64 std::stringstream ret; in BuildPtrServiceQuery() local
67 ret << "bonjour "; in BuildPtrServiceQuery()
68 ret << BuildRequest(serviceType + ".local.", DNS_PTR_TYPE, VERSION_1); in BuildPtrServiceQuery()
69 ret << " "; in BuildPtrServiceQuery()
74 ret << Bin2HexStr(buf); in BuildPtrServiceQuery()
76 ret << Bin2HexStr(stream.str()); in BuildPtrServiceQuery()
77 ret << "c027"; in BuildPtrServiceQuery()
79 ret << Bin2HexStr(std::string(";")); in BuildPtrServiceQuery()
82 ret << Bin2HexStr(buf); in BuildPtrServiceQuery()
83 ret << Bin2HexSt in BuildPtrServiceQuery()
118 std::stringstream ret; BuildRequest() local
133 std::stringstream ret; TurnDnsNameToStream() local
[all...]
/third_party/NuttX/drivers/bch/
H A Dbchdev_driver.c88 int ret = OK; in bch_open() local
97 ret = -EMFILE; in bch_open()
105 return ret; in bch_open()
119 int ret = OK; in bch_close() local
135 ret = -EIO; in bch_close()
149 ret = bchlib_teardown((void *)bch); in bch_close()
156 DEBUGASSERT(ret >= 0); in bch_close()
157 if (ret >= 0) in bch_close()
167 return ret; in bch_close()
179 int ret; in bch_seek() local
242 int ret; bch_read() local
265 int ret = -EACCES; bch_write() local
297 int ret = -ENOTTY; bch_ioctl() local
384 int ret = OK; bch_unlink() local
[all...]
/third_party/NuttX/fs/vfs/
H A Dfs_open.c94 int ret = fs_getfilep(fd, &file); in get_path_from_fd() local
95 if (ret < 0) in get_path_from_fd()
117 int ret; in do_creat() local
123 ret = parentNode->vop->Create(parentNode, name, mode, node); in do_creat()
127 ret = -ENOSYS; in do_creat()
131 if (ret < 0) in do_creat()
133 return ret; in do_creat()
147 int ret; in fp_open() local
155 ret = follow_symlink(dirfd, path, &vnode, &fullpath); in fp_open()
156 if (ret in fp_open()
320 int ret; do_open() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_chk.c26 int ret = 1, ex_primes = 0, idx; in rsa_validate_keypair_multiprime() local
53 ret = -1; in rsa_validate_keypair_multiprime()
59 ret = 0; in rsa_validate_keypair_multiprime()
63 ret = 0; in rsa_validate_keypair_multiprime()
69 ret = 0; in rsa_validate_keypair_multiprime()
75 ret = 0; in rsa_validate_keypair_multiprime()
83 ret = 0; in rsa_validate_keypair_multiprime()
90 ret = -1; in rsa_validate_keypair_multiprime()
96 ret = -1; in rsa_validate_keypair_multiprime()
101 ret in rsa_validate_keypair_multiprime()
[all...]
/third_party/openssl/crypto/rsa/
H A Drsa_chk.c26 int ret = 1, ex_primes = 0, idx; in rsa_validate_keypair_multiprime() local
53 ret = -1; in rsa_validate_keypair_multiprime()
59 ret = 0; in rsa_validate_keypair_multiprime()
63 ret = 0; in rsa_validate_keypair_multiprime()
69 ret = 0; in rsa_validate_keypair_multiprime()
75 ret = 0; in rsa_validate_keypair_multiprime()
83 ret = 0; in rsa_validate_keypair_multiprime()
90 ret = -1; in rsa_validate_keypair_multiprime()
96 ret = -1; in rsa_validate_keypair_multiprime()
101 ret in rsa_validate_keypair_multiprime()
[all...]
/third_party/toybox/toys/pending/
H A Dexpr.c79 int get_int(struct value *v, long long *ret) in get_int() argument
84 *ret = strtoll(v->s, &endp, 10); in get_int()
87 } else *ret = v->i; in get_int()
105 // 'ret' is filled with a string capture or int match position.
106 static void re(char *target, char *pattern, struct value *ret) in re() argument
116 ret->s = xmprintf("%.*s", (int)(m[1].rm_eo-m[1].rm_so), in re()
119 TT.refree = ret->s; in re()
120 } else assign_int(ret, m[0].rm_eo); in re()
122 if (pat.re_nsub>0) ret->s = ""; in re()
123 else assign_int(ret, in re()
154 eval_op(struct op_def *o, struct value *ret, struct value *rhs) eval_op() argument
213 eval_expr(struct value *ret, int min_prec) eval_expr() argument
248 struct value ret = {0}; expr_main() local
[all...]
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/
H A Dnet_stats_callback_interface_test.cpp48 int32_t ret = netStatsCb_->OnRemoteRequest( in NotifyNetIfaceStatsChangedNoString() local
50 std::cout << "thread HandleIfaceChangedThread 001 ret:" << ret << std::endl; in NotifyNetIfaceStatsChangedNoString()
51 return ret; in NotifyNetIfaceStatsChangedNoString()
65 int32_t ret = netStatsCb_->OnRemoteRequest( in NotifyNetIfaceStatsChanged() local
67 std::cout << "thread HandleIfaceChangedThread 002 ret:" << ret << std::endl; in NotifyNetIfaceStatsChanged()
68 return ret; in NotifyNetIfaceStatsChanged()
79 int32_t ret = netStatsCb_->OnRemoteRequest( in NotifyNetUidStatsChangedNoString() local
81 std::cout << "thread NetUidStatsChanged 001 ret in NotifyNetUidStatsChangedNoString()
96 int32_t ret = netStatsCb_->OnRemoteRequest( NotifyNetUidStatsChangedNoInt() local
116 int32_t ret = netStatsCb_->OnRemoteRequest( NotifyNetUidStatsChanged() local
151 int32_t ret = instance_->NotifyNetIfaceStatsChangedNoString(); HWTEST_F() local
159 int32_t ret = instance_->NotifyNetUidStatsChangedNoString(); HWTEST_F() local
171 int32_t ret = netCbProxy->NetIfaceStatsChanged(TEST_IFACE); HWTEST_F() local
[all...]
/third_party/zlib/examples/
H A Dzpipe.c38 int ret, flush; in def() local
48 ret = deflateInit(&strm, level); in def()
49 if (ret != Z_OK) in def()
50 return ret; in def()
67 ret = deflate(&strm, flush); /* no bad return value */ in def()
68 assert(ret != Z_STREAM_ERROR); /* state not clobbered */ in def()
79 assert(ret == Z_STREAM_END); /* stream will be complete */ in def()
94 int ret; in inf() local
106 ret = inflateInit(&strm); in inf()
107 if (ret ! in inf()
151 zerr(int ret) zerr() argument
178 int ret; main() local
[all...]
/foundation/CastEngine/castengine_wifi_display/tests/unittest/event/
H A Devent_unit_test.cpp45 int32_t ret = -1; in HWTEST_F() local
55 ret = emitter->SendEvent(event); in HWTEST_F()
56 EXPECT_EQ(ret, 0); in HWTEST_F()
63 int32_t ret = -1; in HWTEST_F() local
73 ret = emitter->SendEvent(event); in HWTEST_F()
74 EXPECT_EQ(ret, 0); in HWTEST_F()
80 int32_t ret = -1; in HWTEST_F() local
91 ret = emitter->SendEvent(event); in HWTEST_F()
92 EXPECT_EQ(ret, 0); in HWTEST_F()
98 int32_t ret in HWTEST_F() local
116 int32_t ret = -1; HWTEST_F() local
134 int32_t ret = -1; HWTEST_F() local
158 auto ret = EventManager::GetInstance().AddListener(listener); HWTEST_F() local
188 int32_t ret = -1; HWTEST_F() local
211 int32_t ret = -1; HWTEST_F() local
233 int32_t ret = -1; HWTEST_F() local
256 int32_t ret = -1; HWTEST_F() local
278 int32_t ret = -1; HWTEST_F() local
301 int32_t ret = -1; HWTEST_F() local
324 int32_t ret = -1; HWTEST_F() local
420 int32_t ret = -1; HWTEST_F() local
436 int32_t ret = -1; HWTEST_F() local
451 bool ret = false; HWTEST_F() local
462 int32_t ret = -1; HWTEST_F() local
476 int32_t ret = -1; HWTEST_F() local
518 auto ret = taskPool->GetMaxTaskNum(); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c239 int32_t ret = CommonInit(pkgName); in GetAllNodeDeviceInfo() local
240 if (ret != SOFTBUS_OK) { in GetAllNodeDeviceInfo()
241 return ret; in GetAllNodeDeviceInfo()
260 int32_t ret = CommonInit(pkgName); in GetLocalNodeDeviceInfo() local
261 if (ret != SOFTBUS_OK) { in GetLocalNodeDeviceInfo()
262 return ret; in GetLocalNodeDeviceInfo()
278 int32_t ret = CommonInit(pkgName); in GetNodeKeyInfo() local
279 if (ret != SOFTBUS_OK) { in GetNodeKeyInfo()
280 return ret; in GetNodeKeyInfo()
299 int32_t ret in SetNodeDataChangeFlag() local
316 int32_t ret = CommonInit(pkgName); RegDataLevelChangeCb() local
356 int32_t ret = CommonInit(pkgName); JoinLNN() local
373 int32_t ret = LeaveLNNInner(pkgName, networkId, cb); LeaveLNN() local
385 int32_t ret = CommonInit(pkgName); RegNodeDeviceStateCb() local
409 int32_t ret = CommonInit(pkgName); StartTimeSync() local
422 int32_t ret = CommonInit(pkgName); StopTimeSync() local
436 int32_t ret = CommonInit(pkgName); PublishLNN() local
457 int32_t ret = CommonInit(pkgName); StopPublishLNN() local
474 int32_t ret = CommonInit(pkgName); RefreshLNN() local
495 int32_t ret = CommonInit(pkgName); StopRefreshLNN() local
511 int32_t ret = CommonInit(pkgName); ActiveMetaNode() local
524 int32_t ret = CommonInit(pkgName); DeactiveMetaNode() local
537 int32_t ret = CommonInit(pkgName); GetAllMetaNodeInfo() local
551 int32_t ret = CommonInit(pkgName); ShiftLNNGear() local
574 int32_t ret = CommonInit(pkgName); SyncTrustedRelationShip() local
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dtrans_proxy_channel_test.cpp167 int32_t ret = SetCipherOfHandshakeMsg(chan, NULL); in HWTEST_F() local
168 EXPECT_EQ(ret, SOFTBUS_TRANS_PROXY_GET_AUTH_ID_FAILED); in HWTEST_F()
189 int32_t ret = SetCipherOfHandshakeMsg(chan, NULL); in HWTEST_F() local
190 EXPECT_EQ(ret, SOFTBUS_TRANS_PROXY_GET_AUTH_ID_FAILED); in HWTEST_F()
203 int32_t ret = TransProxyHandshake(NULL); in HWTEST_F() local
204 EXPECT_EQ(ret, SOFTBUS_INVALID_PARAM); in HWTEST_F()
214 ret = TransProxyHandshake(&info); in HWTEST_F()
215 EXPECT_EQ(ret, SOFTBUS_TRANS_PROXY_SET_CIPHER_FAILED); in HWTEST_F()
218 ret = TransProxyHandshake(&info); in HWTEST_F()
219 EXPECT_EQ(ret, SOFTBUS_TRANS_PROXY_SET_CIPHER_FAILE in HWTEST_F()
241 int32_t ret = TransProxyAckHandshake(0, NULL, SOFTBUS_NO_INIT); HWTEST_F() local
271 int32_t ret = strcpy_s(info.identity, sizeof(info.identity), TEST_CHANNEL_INDENTITY); HWTEST_F() local
298 int32_t ret = strcpy_s(info.identity, sizeof(info.identity), TEST_CHANNEL_INDENTITY); HWTEST_F() local
325 int32_t ret = TransProxyAckKeepalive(NULL); HWTEST_F() local
356 int32_t ret = TransProxyAckKeepalive(&info); HWTEST_F() local
379 int32_t ret = TransProxyResetPeer(&info); HWTEST_F() local
401 int32_t ret = TransProxyResetPeer(&info); HWTEST_F() local
426 int32_t ret = TransProxyAddChanItem(NULL); HWTEST_F() local
448 int32_t ret = strcpy_s(info.identity, sizeof(info.identity), TEST_CHANNEL_INDENTITY); HWTEST_F() local
480 int32_t ret = strcpy_s(info.identity, sizeof(info.identity), TEST_CHANNEL_INDENTITY); HWTEST_F() local
515 int32_t ret = TransProxyCreateChanInfo(info, 1, &appInfo); HWTEST_F() local
537 int32_t ret = TransProxyManagerInitInner(&callBack); HWTEST_F() local
553 int32_t ret = TransProxyManagerInitInner(&callBack); HWTEST_F() local
573 int32_t ret = TransProxyManagerInitInner(&callBack); HWTEST_F() local
590 int32_t ret = TransProxyManagerInitInner(&callBack); HWTEST_F() local
609 int32_t ret = TransProxyParseMessage(data, len, &msg, &authHandle); HWTEST_F() local
633 int32_t ret = TransGetConnByChanId(channelId, 0, &connId); HWTEST_F() local
657 int32_t ret = TransProxySendInnerMessage(nullptr, TEST_PAY_LOAD, payLoadLen, priority); HWTEST_F() local
675 AuthLinkType ret = ConvertConnectType2AuthLinkType(type); HWTEST_F() local
[all...]
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_test.cpp95 bool ret = DisplayManager::GetInstance().Freeze(displayIds); in HWTEST_F() local
97 ASSERT_TRUE(ret); in HWTEST_F()
99 ASSERT_FALSE(ret); in HWTEST_F()
114 bool ret = DisplayManager::GetInstance().Freeze(displayIds); in HWTEST_F() local
116 ASSERT_FALSE(ret); in HWTEST_F()
128 bool ret = DisplayManager::GetInstance().Freeze(displayIds); in HWTEST_F() local
130 ASSERT_FALSE(ret); in HWTEST_F()
143 bool ret = DisplayManager::GetInstance().Unfreeze(displayIds); in HWTEST_F() local
145 ASSERT_TRUE(ret); in HWTEST_F()
147 ASSERT_FALSE(ret); in HWTEST_F()
163 bool ret = DisplayManager::GetInstance().Unfreeze(displayIds); HWTEST_F() local
175 bool ret = DisplayManager::GetInstance().Unfreeze(displayIds); HWTEST_F() local
186 DMError ret = DisplayManager::GetInstance().RegisterScreenshotListener(nullptr); HWTEST_F() local
200 DMError ret = DisplayManager::GetInstance().RegisterScreenshotListener(listener); HWTEST_F() local
211 DMError ret = DisplayManager::GetInstance().UnregisterScreenshotListener(nullptr); HWTEST_F() local
223 DMError ret = DisplayManager::GetInstance().UnregisterScreenshotListener(listener); HWTEST_F() local
262 bool ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); HWTEST_F() local
299 bool ret = DisplayManager::GetInstance().pImpl_->CheckSizeValid(size, oriHeight, oriWidth); HWTEST_F() local
371 auto ret = DisplayManager::GetInstance().GetScreenBrightness(screenId); HWTEST_F() local
384 auto ret = DisplayManager::GetInstance().GetDisplayById(displayId); HWTEST_F() local
396 auto ret = DisplayManager::GetInstance().RegisterPrivateWindowListener(listener); HWTEST_F() local
410 auto ret = DisplayManager::GetInstance().RegisterPrivateWindowListener(listener); HWTEST_F() local
423 auto ret = DisplayManager::GetInstance().UnregisterPrivateWindowListener(listener); HWTEST_F() local
437 auto ret = impl.UnregisterPrivateWindowListener(listener); HWTEST_F() local
449 auto ret = DisplayManager::GetInstance().RegisterPrivateWindowListChangeListener(listener); HWTEST_F() local
465 auto ret = DisplayManager::GetInstance().UnregisterPrivateWindowListChangeListener(listener); HWTEST_F() local
486 auto ret = DisplayManager::GetInstance().pImpl_->RegisterPrivateWindowListChangeListener(listener); HWTEST_F() local
509 auto ret = DisplayManager::GetInstance().pImpl_->RegisterPrivateWindowListChangeListener(listener); HWTEST_F() local
525 auto ret = impl.UnregisterPrivateWindowListChangeListener(listener); HWTEST_F() local
537 auto ret = DisplayManager::GetInstance().pImpl_->UnregisterFoldStatusListener(listener); HWTEST_F() local
550 auto ret = DisplayManager::GetInstance().RegisterFoldStatusListener(listener); HWTEST_F() local
570 auto ret = DisplayManager::GetInstance().pImpl_->RegisterFoldStatusListener(listener); HWTEST_F() local
586 auto ret = DisplayManager::GetInstance().UnregisterFoldStatusListener(listener); HWTEST_F() local
602 auto ret = DisplayManager::GetInstance().RegisterDisplayModeListener(listener); HWTEST_F() local
622 auto ret = DisplayManager::GetInstance().pImpl_->RegisterDisplayModeListener(listener); HWTEST_F() local
638 auto ret = DisplayManager::GetInstance().UnregisterDisplayModeListener(listener); HWTEST_F() local
654 auto ret = DisplayManager::GetInstance().pImpl_->UnregisterDisplayModeListener(listener); HWTEST_F() local
688 auto ret = DisplayManager::GetInstance().RegisterDisplayListener(listener); HWTEST_F() local
701 auto ret = DisplayManager::GetInstance().UnregisterDisplayListener(listener); HWTEST_F() local
714 auto ret = DisplayManager::GetInstance().HasPrivateWindow(0, hasPrivateWindow); HWTEST_F() local
728 auto ret = DisplayManager::GetInstance().pImpl_->HasPrivateWindow(0, hasPrivateWindow); HWTEST_F() local
739 bool ret = DisplayManager::GetInstance().IsFoldable(); HWTEST_F() local
755 auto ret = DisplayManager::GetInstance().pImpl_->IsFoldable(); HWTEST_F() local
768 auto ret = DisplayManager::GetInstance().AddSurfaceNodeToDisplay(0, surfaceNode); HWTEST_F() local
786 auto ret = DisplayManager::GetInstance().RemoveSurfaceNodeFromDisplay(0, surfaceNode); HWTEST_F() local
802 auto ret = DisplayManager::GetInstance().RegisterFoldAngleListener(listener); HWTEST_F() local
821 auto ret = DisplayManager::GetInstance().RegisterFoldAngleListener(listener); HWTEST_F() local
834 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
852 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
868 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
881 auto ret = DisplayManager::GetInstance().RegisterCaptureStatusListener(listener); HWTEST_F() local
900 auto ret = DisplayManager::GetInstance().RegisterCaptureStatusListener(listener); HWTEST_F() local
913 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
931 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
947 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
961 auto ret = DisplayManager::GetInstance().RegisterDisplayUpdateListener(listener); HWTEST_F() local
976 auto ret = DisplayManager::GetInstance().IsCaptured(); HWTEST_F() local
1079 auto ret = DisplayManager::GetInstance().pImpl_->GetDisplayByScreenId(screenId); HWTEST_F() local
1091 auto ret = DisplayManager::GetInstance().UnregisterDisplayUpdateListener(listener); HWTEST_F() local
1107 auto ret = DisplayManager::GetInstance().RegisterAvailableAreaListener(listener); HWTEST_F() local
1123 auto ret = DisplayManager::GetInstance().UnregisterAvailableAreaListener(listener); HWTEST_F() local
1139 auto ret =DisplayManager::GetInstance().pImpl_->GetDisplayInfoSrting(displayInfo); HWTEST_F() local
1251 auto ret = DisplayManager::GetInstance().RegisterFoldAngleListener(listener); HWTEST_F() local
1270 auto ret = DisplayManager::GetInstance().RegisterFoldAngleListener(listener); HWTEST_F() local
1283 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
1301 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
1317 auto ret = DisplayManager::GetInstance().UnregisterFoldAngleListener(listener); HWTEST_F() local
1330 auto ret = DisplayManager::GetInstance().RegisterCaptureStatusListener(listener); HWTEST_F() local
1349 auto ret = DisplayManager::GetInstance().RegisterCaptureStatusListener(listener); HWTEST_F() local
1362 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
1380 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
1396 auto ret = DisplayManager::GetInstance().UnregisterCaptureStatusListener(listener); HWTEST_F() local
1410 auto ret = DisplayManager::GetInstance().RegisterDisplayUpdateListener(listener); HWTEST_F() local
1425 auto ret = DisplayManager::GetInstance().IsCaptured(); HWTEST_F() local
1528 auto ret = DisplayManager::GetInstance().pImpl_->GetDisplayByScreenId(screenId); HWTEST_F() local
1540 auto ret = DisplayManager::GetInstance().UnregisterDisplayUpdateListener(listener); HWTEST_F() local
1556 auto ret = DisplayManager::GetInstance().RegisterAvailableAreaListener(listener); HWTEST_F() local
1572 auto ret = DisplayManager::GetInstance().UnregisterAvailableAreaListener(listener); HWTEST_F() local
1588 auto ret =DisplayManager::GetInstance().pImpl_->GetDisplayInfoSrting(displayInfo); HWTEST_F() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_le_if.c252 int ret = GapRunTaskBlockProcess(GapLeSetRoleTask, ctx); in GAPIF_LeSetRole() local
253 if (ret == BT_SUCCESS) { in GAPIF_LeSetRole()
254 ret = ctx->result; in GAPIF_LeSetRole()
258 return ret; in GAPIF_LeSetRole()
279 int ret = GapRunTaskBlockProcess(GapLeSetStaticIdentityAddrTask, ctx); in GAPIF_LeSetStaticIdentityAddr() local
280 if (ret == BT_SUCCESS) { in GAPIF_LeSetStaticIdentityAddr()
281 ret = ctx->result; in GAPIF_LeSetStaticIdentityAddr()
285 return ret; in GAPIF_LeSetStaticIdentityAddr()
307 int ret = GapRunTaskBlockProcess(GapLeGenResPriAddrTask, ctx); in GAPIF_LeGenResPriAddr() local
308 if (ret in GAPIF_LeGenResPriAddr()
334 int ret = GapRunTaskBlockProcess(GapLeExAdvGetMaxDataLenTask, ctx); GAPIF_LeExAdvGetMaxDataLen() local
361 int ret = GapRunTaskBlockProcess(GapLeExAdvGetMaxHandleNumTask, ctx); GAPIF_LeExAdvGetMaxHandleNum() local
389 int ret = GapRunTaskBlockProcess(GapRegisterExAdvCallbackTask, ctx); GAPIF_RegisterExAdvCallback() local
414 int ret = GapRunTaskBlockProcess(GapDeregisterExAdvCallbackTask, ctx); GAPIF_DeregisterExAdvCallback() local
442 int ret = GapRunTaskBlockProcess(GapLeExAdvSetRandAddrTask, ctx); GAPIF_LeExAdvSetRandAddr() local
472 int ret = GapRunTaskBlockProcess(GapLeExAdvSetParamTask, ctx); GAPIF_LeExAdvSetParam() local
505 int ret = GapRunTaskBlockProcess(GapLeExAdvSetDataTask, ctx); GAPIF_LeExAdvSetData() local
538 int ret = GapRunTaskBlockProcess(GapLeExAdvSetScanRspDataTask, ctx); GAPIF_LeExAdvSetScanRspData() local
567 int ret = GapRunTaskBlockProcess(GapLeExAdvSetEnableTask, ctx); GAPIF_LeExAdvSetEnable() local
592 int ret = GapRunTaskBlockProcess(GapLeExAdvClearHandleTask, ctx); GAPIF_LeExAdvClearHandle() local
620 int ret = GapRunTaskBlockProcess(GapRegisterAdvCallbackTask, ctx); GAPIF_RegisterAdvCallback() local
645 int ret = GapRunTaskBlockProcess(GapDeregisterAdvCallbackTask, ctx); GAPIF_DeregisterAdvCallback() local
673 int ret = GapRunTaskBlockProcess(GapLeAdvSetParamTask, ctx); GAPIF_LeAdvSetParam() local
698 int ret = GapRunTaskBlockProcess(GapLeAdvReadTxPowerTask, ctx); GAPIF_LeAdvReadTxPower() local
726 int ret = GapRunTaskBlockProcess(GapLeAdvSetDataTask, ctx); GAPIF_LeAdvSetData() local
754 int ret = GapRunTaskBlockProcess(GapLeAdvSetScanRspDataTask, ctx); GAPIF_LeAdvSetScanRspData() local
781 int ret = GapRunTaskBlockProcess(GapLeAdvSetEnableTask, ctx); GAPIF_LeAdvSetEnable() local
809 int ret = GapRunTaskBlockProcess(GapRegisterScanCallbackTask, ctx); GAPIF_RegisterScanCallback() local
834 int ret = GapRunTaskBlockProcess(GapDeregisterScanCallbackTask, ctx); GAPIF_DeregisterScanCallback() local
862 int ret = GapRunTaskBlockProcess(GapLeScanSetParamTask, ctx); GAPIF_LeScanSetParam() local
890 int ret = GapRunTaskBlockProcess(GapLeScanSetEnableTask, ctx); GAPIF_LeScanSetEnable() local
918 int ret = GapRunTaskBlockProcess(GapRegisterExScanCallbackTask, ctx); GAPIF_RegisterExScanCallback() local
943 int ret = GapRunTaskBlockProcess(GapDeregisterExScanCallbackTask, ctx); GAPIF_DeregisterExScanCallback() local
972 int ret = GapRunTaskBlockProcess(GapLeExScanSetParamTask, ctx); GAPIF_LeExScanSetParam() local
1002 int ret = GapRunTaskBlockProcess(GapLeExScanSetEnableTask, ctx); GAPIF_LeExScanSetEnable() local
1030 int ret = GapRunTaskBlockProcess(GapRegisterLeConnCallbackTask, ctx); GAPIF_RegisterLeConnCallback() local
1055 int ret = GapRunTaskBlockProcess(GapDeregisterLeConnCallbackTask, ctx); GAPIF_DeregisterLeConnCallback() local
1083 int ret = GapRunTaskBlockProcess(GapLeConnParamUpdateTask, ctx); GAPIF_LeConnParamUpdate() local
1112 int ret = GapRunTaskBlockProcess(GapLeConnectionParameterRspTask, ctx); GAPIF_LeConnectionParameterRsp() local
1140 int ret = GapRunTaskBlockProcess(GapRegisterLeSecurityCallbackTask, ctx); GAPIF_RegisterLeSecurityCallback() local
1165 int ret = GapRunTaskBlockProcess(GapDeregisterLeSecurityCallbackTask, ctx); GAPIF_DeregisterLeSecurityCallback() local
1196 int ret = GapRunTaskBlockProcess(GapLeRemoteEncryptionKeyRspTask, ctx); GAPIF_LeRemoteEncryptionKeyRsp() local
1227 int ret = GapRunTaskBlockProcess(GapLeLocalEncryptionKeyRspTask, ctx); GAPIF_LeLocalEncryptionKeyRsp() local
1262 int ret = GapRunTaskBlockProcess(GapRequestSigningAlgorithmInfoRspTask, ctx); GAPIF_RequestSigningAlgorithmInfoRsp() local
1289 int ret = GapRunTaskBlockProcess(GapLeSetBondModeTask, ctx); GAPIF_LeSetBondMode() local
1317 int ret = GapRunTaskBlockProcess(GapLeSetSecurityModeTask, ctx); GAPIF_LeSetSecurityMode() local
1346 int ret = GapRunTaskBlockProcess(GapLeGetSecurityStatusTask, ctx); GAPIF_LeGetSecurityStatus() local
1377 int ret = GapRunTaskBlockProcess(GapLeRequestSecurityTask, ctx); GAPIF_LeRequestSecurity() local
1404 int ret = GapRunTaskBlockProcess(GapLePairTask, ctx); GAPIF_LePair() local
1431 int ret = GapRunTaskBlockProcess(GapLeCancelPairTask, ctx); GAPIF_LeCancelPair() local
1458 int ret = GapRunTaskBlockProcess(GapLeSetMinEncKeySizeTask, ctx); GAPIF_LeSetMinEncKeySize() local
1486 int ret = GapRunTaskBlockProcess(GapRegisterLePairCallbackTask, ctx); GAPIF_RegisterLePairCallback() local
1511 int ret = GapRunTaskBlockProcess(GapDeregisterLePairCallbackTask, ctx); GAPIF_DeregisterLePairCallback() local
1539 int ret = GapRunTaskBlockProcess(GapLePairFeatureRspTask, ctx); GAPIF_LePairFeatureRsp() local
1568 int ret = GapRunTaskBlockProcess(GapLePairPassKeyRspTask, ctx); GAPIF_LePairPassKeyRsp() local
1597 int ret = GapRunTaskBlockProcess(GapLePairOobRsptask, ctx); GAPIF_LePairOobRsp() local
1628 int ret = GapRunTaskBlockProcess(GapLePairScOobRsptask, ctx); GAPIF_LePairScOobRsp() local
1656 int ret = GapRunTaskBlockProcess(GapLePairScUserConfirmRspTask, ctx); GAPIF_LePairScUserConfirmRsp() local
1702 int ret = GapRunTaskUnBlockProcess(GapLeDataSignatureGenerationTask, ctx, GapFreeLeDataSignatureGeneration); GAPIF_LeDataSignatureGenerationAsync() local
1749 int ret = GapRunTaskUnBlockProcess(GapLeDataSignatureConfirmationTask, ctx, GapFreeLeDataSignatureConfirmation); GAPIF_LeDataSignatureConfirmationAsync() local
[all...]
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/
H A Davmuxer_unit_test.cpp110 int32_t ret = avmuxer_->WriteSampleBuffer(trackId, buffer); in WriteSample() local
112 return ret; in WriteSample()
149 Status ret = bqProducer->PushBuffer(buffer, true); in WriteSample() local
150 if (ret == Status::OK) { in WriteSample()
272 int32_t ret = 0; in HWTEST_F() local
283 ret = avmuxer_->AddTrack(audioTrackId, audioParams); in HWTEST_F()
284 EXPECT_EQ(ret, AV_ERR_OK); in HWTEST_F()
290 ret = avmuxer_->AddTrack(audioTrackId, audioParams); in HWTEST_F()
291 EXPECT_NE(ret, AV_ERR_OK); in HWTEST_F()
296 ret in HWTEST_F()
314 int32_t ret = AV_ERR_INVALID_VAL; HWTEST_F() local
357 int32_t ret = AV_ERR_INVALID_VAL; HWTEST_F() local
386 int32_t ret = 0; HWTEST_F() local
447 int32_t ret = 0; HWTEST_F() local
483 int32_t ret = avmuxer_->AddTrack(trackId, avParam); HWTEST_F() local
509 int32_t ret = avmuxer_->AddTrack(trackId, audioParam); HWTEST_F() local
564 int32_t ret = avmuxer_->AddTrack(trackId, avParam); HWTEST_F() local
586 int32_t ret = avmuxer_->AddTrack(trackId, avParam); HWTEST_F() local
608 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
632 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
672 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
698 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
721 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
760 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
783 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
811 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
835 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
860 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
889 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
919 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
949 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
985 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
1015 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
1041 int32_t ret = avmuxer_->SetRotation(180); // 180 rotation HWTEST_F() local
1071 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
1097 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
1125 int32_t ret = avmuxer_->AddTrack(trackId, vParam); HWTEST_F() local
1152 int32_t ret = avmuxer_->SetRotation(TEST_ROTATION); HWTEST_F() local
1173 int32_t ret = avmuxer_->SetRotation(0); HWTEST_F() local
1214 int32_t ret = avmuxer_->SetRotation(1); HWTEST_F() local
1267 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1315 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1364 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1410 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1456 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1498 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1539 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1582 int32_t ret = avmuxer_->AddTrack(trackId, videoParams); HWTEST_F() local
1629 int32_t ret = avmuxer_->AddTrack(trackId, audioParams); HWTEST_F() local
1676 int32_t ret = avmuxer_->AddTrack(trackId, audioParams); HWTEST_F() local
1781 int32_t ret = avmuxer_->AddTrack(videoTrackId, videoParams); HWTEST_F() local
1800 int32_t ret = OH_AVMuxer_Destroy(muxer); HWTEST_F() local
1812 int32_t ret = OH_AVMuxer_Destroy(nullptr); HWTEST_F() local
1824 int32_t ret = OH_AVMuxer_Destroy(reinterpret_cast<OH_AVMuxer*>(format)); HWTEST_F() local
1851 int32_t ret = avmuxer->AddTrack(trackId, videoParams); HWTEST_F() local
1894 int32_t ret = avmuxer->AddTrack(trackId, videoParams); HWTEST_F() local
1942 int32_t ret = avmuxer->AddTrack(trackId, videoParams); HWTEST_F() local
1990 int32_t ret = avmuxer->AddTrack(trackId, videoParams); HWTEST_F() local
2054 int32_t ret = avmuxer_->SetTimedMetadata(); HWTEST_F() local
2141 int32_t ret = 0; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_scheduler_proxy.cpp49 int32_t ret = in ScheduleForegroundApplication() local
54 if (ret != NO_ERROR) { in ScheduleForegroundApplication()
55 TAG_LOGW(AAFwkTag::APPMGR, "SendRequest is failed, error code: %{public}d", ret); in ScheduleForegroundApplication()
69 int32_t ret = in ScheduleBackgroundApplication() local
74 if (ret != NO_ERROR) { in ScheduleBackgroundApplication()
75 TAG_LOGW(AAFwkTag::APPMGR, "SendRequest is wrong, error code: %{public}d", ret); in ScheduleBackgroundApplication()
91 int32_t ret = SendTransactCmd( in ScheduleTerminateApplication() local
93 if (ret != NO_ERROR) { in ScheduleTerminateApplication()
94 TAG_LOGW(AAFwkTag::APPMGR, "SendRequest is unsuccessful, error code: %{public}d", ret); in ScheduleTerminateApplication()
107 int32_t ret in ScheduleLowMemory() local
132 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleHeapMemory() local
158 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleJsHeapMemory() local
180 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleMemoryCommon() local
219 int32_t ret = SendTransactCmd( ScheduleLaunchAbility() local
244 int32_t ret = SendTransactCmd( ScheduleCleanAbility() local
271 int32_t ret = SendTransactCmd( ScheduleLaunchApplication() local
290 int32_t ret = SendTransactCmd( ScheduleUpdateApplicationInfoInstalled() local
329 int32_t ret = SendTransactCmd( ScheduleAbilityStage() local
346 int32_t ret = SendTransactCmd( ScheduleProfileChanged() local
363 int32_t ret = SendTransactCmd( ScheduleConfigurationUpdated() local
378 int32_t ret = SendTransactCmd( ScheduleProcessSecurityExit() local
393 int32_t ret = SendTransactCmd( ScheduleClearPageStack() local
412 int32_t ret = SendTransactCmd( ScheduleAcceptWant() local
436 int32_t ret = remote->SendRequest( ScheduleNewProcessRequest() local
470 int32_t ret = SendTransactCmd(static_cast<uint32_t>(IAppScheduler::Message::SCHEDULE_NOTIFY_LOAD_REPAIR_PATCH), ScheduleNotifyLoadRepairPatch() local
501 auto ret = SendTransactCmd(static_cast<uint32_t>(IAppScheduler::Message::SCHEDULE_NOTIFY_HOT_RELOAD_PAGE), ScheduleNotifyHotReloadPage() local
538 int32_t ret = SendTransactCmd( ScheduleNotifyUnLoadRepairPatch() local
564 auto ret = SendTransactCmd(static_cast<uint32_t>(IAppScheduler::Message::SCHEDULE_NOTIFY_FAULT), ScheduleNotifyAppFault() local
586 auto ret = SendTransactCmd(static_cast<uint32_t>(IAppScheduler::Message::APP_GC_STATE_CHANGE), ScheduleChangeAppGcState() local
607 auto ret = SendTransactCmd( AttachAppDebug() local
625 auto ret = SendTransactCmd( DetachAppDebug() local
646 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleDumpIpcStart() local
678 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleDumpIpcStop() local
710 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleDumpIpcStat() local
742 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleDumpFfrt() local
769 auto ret = remote->SendRequest(code, data, reply, option); SendTransactCmd() local
786 int32_t ret = SendTransactCmd(operation, data, reply, option); ScheduleCacheProcess() local
[all...]
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_dfu.c334 errno_t ret; in dfu_ram_read() local
349 ret = memcpy_s(buf, len, (const void *)((uint8_t *)entity->ram_addr + offset), len); in dfu_ram_read()
350 if (ret != EOK) in dfu_ram_read()
366 errno_t ret; in dfu_ram_write() local
381 ret = memcpy_s((void *)((uint8_t *)entity->ram_addr + offset), entity->ram_size - offset, buf, len); in dfu_ram_write()
382 if (ret != EOK) in dfu_ram_write()
467 int ret; in dfu_dnload_complete() local
471 ret = usb_dfu_write(usb_dfu_get_entity(0), req->buf, (int)req->len, dev->seq_num); in dfu_dnload_complete()
472 if (ret < 0) in dfu_dnload_complete()
621 int ret in dfu_app_idle_request() local
653 int ret; dfu_app_detach_request() local
678 int ret = USB_DFU_RET_OK; dfu_idle_request() local
722 int ret; dfu_dnload_sync_request() local
747 int ret; dfu_dnbusy_request() local
768 int ret = USB_DFU_RET_OK; dfu_dnload_idle_request() local
803 int ret; dfu_manifest_sync_request() local
838 int ret; dfu_manifest_request() local
879 int ret = USB_DFU_RET_OK; dfu_upload_idle_request() local
920 int ret = USB_DFU_RET_OK; dfu_error_request() local
954 int ret = -EOPNOTSUPP; usbdev_dfu_class_requests() local
1015 int ret; dfu_ram_init_env() local
1057 int ret; usb_dfu_init_env_entities() local
1126 int ret; usb_dfu_read() local
1156 int ret; usb_dfu_write() local
1182 errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_dfu_device_desc, sizeof(g_dfu_device_desc)); usbdev_dfu_mkdevdesc() local
1192 errno_t ret; usbdev_dfu_mkstrdesc() local
1233 int ret; usbdev_dfu_initialize() local
[all...]
/foundation/communication/dsoftbus/core/transmission/session/src/
H A Dtrans_session_service.c41 int32_t ret = TransPermissionInit(); in TransServerInit() local
42 if (ret != SOFTBUS_OK) { in TransServerInit()
44 return ret; in TransServerInit()
46 ret = TransSessionMgrInit(); in TransServerInit()
47 if (ret != SOFTBUS_OK) { in TransServerInit()
49 return ret; in TransServerInit()
51 ret = TransChannelInit(); in TransServerInit()
52 if (ret != SOFTBUS_OK) { in TransServerInit()
54 return ret; in TransServerInit()
56 ret in TransServerInit()
117 int32_t ret = TransSessionServerAddItem(newNode); TransCreateSessionServer() local
143 int32_t ret = TransSessionServerDelItem(sessionName); TransRemoveSessionServer() local
[all...]
/third_party/NuttX/fs/dirent/
H A Dfs_opendir.c88 int ret; in opendir() local
92 ret = VnodeLookup(path, &vp, 0); in opendir()
93 if (vp == NULL || ret != OK) in opendir()
100 ret = -ENOTDIR; in opendir()
101 PRINT_ERR("opendir (%s) failed, err=%d\n", path, ret); in opendir()
114 ret = -ENOMEM; in opendir()
127 ret = vp->vop->Opendir(vp, dir); in opendir()
131 ret = -ENOSYS; in opendir()
133 if (ret < 0) in opendir()
150 set_errno(-ret); in opendir()
156 int ret; do_opendir() local
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddataascii.c118 int ret; in main() local
130 ret = dataasciichk(NULL, buffer, size, 0, &errmsg); in main()
132 size, ret, errmsg); in main()
134 if (ret == -1) in main()
137 printf("\tFAIL return value is %d, expected -1\n", ret); in main()
139 ret = dataasciichk(NULL, &buffer[1], size - 1, 1, &errmsg); in main()
141 size - 1, ret, errmsg); in main()
143 if (ret == -1) in main()
146 printf("\tFAIL return value is %d, expected -1\n", ret); in main()
151 ret in main()
[all...]

Completed in 20 milliseconds

1...<<21222324252627282930>>...678