Home
last modified time | relevance | path

Searched refs:ret (Results 1 - 25 of 48968) sorted by relevance

12345678910>>...1959

/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/
H A Dittptmark32.S86 ret
87 ret $0x0
88 ret
89 ret $0x1
90 ret
91 ret $0x2
92 ret
93 ret $0x3
94 ret
95 ret
[all...]
/kernel/liteos_m/testsuites/sample/posix/
H A Dpthread_func_test.c76 UINT32 ret; variable
81 ret = pthread_attr_init(&attr);
82 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
84 ret = pthread_attr_setstacksize(&attr, OS_TSK_TEST_STACK_SIZE);
85 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
88 ret = pthread_attr_setschedparam(&attr, &schedParam);
89 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
121 UINT32 ret; global() variable
151 int ret = pthread_detach(pthread_self()); PthreadJoinF03() local
169 UINT32 ret; global() variable
198 int ret = pthread_detach(pthread_self()); PthreadJoinF04() local
216 UINT32 ret; global() variable
246 int ret = pthread_detach(pthread_self()); PthreadJoinF05() local
264 UINT32 ret; global() variable
296 int ret; PthreadCondFunc001() local
321 int ret; PthreadFunc06() local
382 UINT32 ret; global() variable
414 int ret; PthreadCondFunc002() local
439 int ret; PthreadFunc07() local
494 UINT32 ret; global() variable
540 int ret = pthread_setspecific(g_pthreadKey1, (void *)data); PthreadFunc08() local
589 UINT32 ret; global() variable
649 UINT32 ret; global() variable
699 UINT32 ret; global() variable
749 UINT32 ret; global() variable
777 INT32 ret = 0; PthreadTestcancelFunc01() local
809 UINT32 ret; global() variable
853 INT32 ret; global() variable
892 INT32 ret; global() variable
916 INT32 ret; global() variable
945 int ret; global() variable
981 UINT32 ret; global() variable
1037 UINT32 ret; PthreadFuncTestSuite() local
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/
H A Dpthread_cond_func_test.c93 UINT32 ret; variable
98 ret = pthread_attr_init(&attr);
99 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
101 ret = pthread_attr_setstacksize(&attr, OS_TSK_TEST_STACK_SIZE);
102 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
105 ret = pthread_attr_setschedparam(&attr, &schedParam);
106 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
138 UINT32 ret; global() variable
168 int ret = pthread_detach(pthread_self()); pthread_join_f03() local
186 UINT32 ret; global() variable
215 int ret = pthread_detach(pthread_self()); pthread_join_f04() local
233 UINT32 ret; global() variable
263 int ret = pthread_detach(pthread_self()); pthread_join_f05() local
281 UINT32 ret; global() variable
313 int ret; pthread_cond_func001() local
338 int ret; pthread_f06() local
399 UINT32 ret; global() variable
431 int ret; pthread_cond_func002() local
457 int ret; pthread_f07() local
509 UINT32 ret; global() variable
558 int ret = pthread_setspecific(g_pthreadKey1, (void *)data); pthread_f08() local
607 UINT32 ret; global() variable
667 UINT32 ret; global() variable
717 UINT32 ret; global() variable
766 UINT32 ret; global() variable
794 INT32 ret = 0; pthread_testcancel_f01() local
825 UINT32 ret; global() variable
869 INT32 ret; global() variable
908 INT32 ret; global() variable
933 INT32 ret; global() variable
962 int ret; global() variable
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dinit.c25 int ret, i; in wl1271_init_templates_config() local
29 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
33 if (ret < 0) in wl1271_init_templates_config()
34 return ret; in wl1271_init_templates_config()
36 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
40 if (ret < 0) in wl1271_init_templates_config()
41 return ret; in wl1271_init_templates_config()
44 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
49 if (ret < 0) in wl1271_init_templates_config()
50 return ret; in wl1271_init_templates_config()
148 int ret; wl1271_ap_init_deauth_template() local
175 int ret; wl1271_ap_init_null_template() local
208 int ret; wl1271_ap_init_qos_null_template() local
238 int ret; wl12xx_init_rx_config() local
250 int ret; wl12xx_init_phy_vif_config() local
270 int ret; wl1271_init_sta_beacon_filter() local
286 int ret; wl1271_init_pta() local
301 int ret; wl1271_init_energy_detection() local
313 int ret; wl1271_init_beacon_broadcast() local
324 int ret; wl12xx_init_fwlog() local
339 int ret; wl1271_sta_hw_init() local
362 int ret; wl1271_sta_hw_init_post_mem() local
375 int ret; wl1271_ap_hw_init() local
392 int ret; wl1271_ap_init_templates() local
425 int i, ret; wl1271_init_ap_rates() local
504 int ret; wl12xx_init_sta_role() local
536 int ret; wl12xx_init_ap_role() local
561 int ret, i; wl1271_init_vif_specific() local
661 int ret; wl1271_hw_init() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dinit.c25 int ret, i; in wl1271_init_templates_config() local
29 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
33 if (ret < 0) in wl1271_init_templates_config()
34 return ret; in wl1271_init_templates_config()
36 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
40 if (ret < 0) in wl1271_init_templates_config()
41 return ret; in wl1271_init_templates_config()
44 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, in wl1271_init_templates_config()
49 if (ret < 0) in wl1271_init_templates_config()
50 return ret; in wl1271_init_templates_config()
148 int ret; wl1271_ap_init_deauth_template() local
175 int ret; wl1271_ap_init_null_template() local
208 int ret; wl1271_ap_init_qos_null_template() local
238 int ret; wl12xx_init_rx_config() local
250 int ret; wl12xx_init_phy_vif_config() local
270 int ret; wl1271_init_sta_beacon_filter() local
286 int ret; wl1271_init_pta() local
301 int ret; wl1271_init_energy_detection() local
313 int ret; wl1271_init_beacon_broadcast() local
324 int ret; wl12xx_init_fwlog() local
339 int ret; wl1271_sta_hw_init() local
362 int ret; wl1271_sta_hw_init_post_mem() local
375 int ret; wl1271_ap_hw_init() local
392 int ret; wl1271_ap_init_templates() local
425 int i, ret; wl1271_init_ap_rates() local
504 int ret; wl12xx_init_sta_role() local
536 int ret; wl12xx_init_ap_role() local
561 int ret, i; wl1271_init_vif_specific() local
661 int ret; wl1271_hw_init() local
[all...]
/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestSprintf.cpp31 int ret = sprintf(str, "%d", -2147483648); in HWTEST_F() local
32 EXPECT_EQ(ret, 11) << "> sprintf fail, errno = " << errno; in HWTEST_F()
35 ret = sprintf(str, "%d", 2147483647); in HWTEST_F()
36 EXPECT_EQ(ret, 10) << "> sprintf fail, errno = " << errno; in HWTEST_F()
39 ret = sprintf(str, "%i", -2147483648); in HWTEST_F()
40 EXPECT_EQ(ret, 11) << "> sprintf fail, errno = " << errno; in HWTEST_F()
43 ret = sprintf(str, "%i", 2147483647); in HWTEST_F()
44 EXPECT_EQ(ret, 10) << "> sprintf fail, errno = " << errno; in HWTEST_F()
47 ret = sprintf(str, "%u", 0); in HWTEST_F()
48 EXPECT_EQ(ret, in HWTEST_F()
64 int ret = sprintf(str, "%ld", -2147483648); // 2^31-1 HWTEST_F() local
97 int ret = sprintf(str, "%lld", -9223372036854775807LL); // 2^63-1 HWTEST_F() local
130 int ret = sprintf(str, "%jd", -9223372036854775807LL); HWTEST_F() local
155 int ret = sprintf(str, "%td", 2147483647); HWTEST_F() local
172 int ret = sprintf(str, "%zd", 2147483647); HWTEST_F() local
189 int ret = sprintf(str, "%hd %hhd %hu %hhu", 32767, 127, 65535, 255); HWTEST_F() local
206 int ret = sprintf(str, "%5d %5d", 1, -1); HWTEST_F() local
251 int ret = sprintf(str, "%-5d %-5d", 1, -1); HWTEST_F() local
284 int ret = sprintf(str, "%.5d %.5d", 1, -1); HWTEST_F() local
341 int ret = sprintf(str, "%o", 4294967295); HWTEST_F() local
374 int ret = sprintf(str, "%10o", 65535); HWTEST_F() local
423 int ret = sprintf(str, "%x", 4294967295); HWTEST_F() local
456 int ret = sprintf(str, "%10x", 65535); HWTEST_F() local
505 int ret = sprintf(str, "%X", 4294967295); HWTEST_F() local
538 int ret = sprintf(str, "%10X", 65535); HWTEST_F() local
591 int ret = sprintf(str, "%f", -1.1); HWTEST_F() local
644 int ret = sprintf(str, "%a", 0.00457878e+16); HWTEST_F() local
693 int ret = sprintf(str, "%A", -0.00457878e+16); HWTEST_F() local
742 int ret = sprintf(str, "%e", 0.00457878e+16); HWTEST_F() local
791 int ret = sprintf(str, "%E", -0.00457878e+16); HWTEST_F() local
840 int ret = sprintf(str, "%g", 0.00457878e+16); HWTEST_F() local
889 int ret = sprintf(str, "%G", 0.00457878e+16); HWTEST_F() local
938 int ret = sprintf(str, "%s", "hello world"); HWTEST_F() local
1003 int ret = sprintf(str, "%c", 97); HWTEST_F() local
1036 int ret = sprintf(str, "%p", 97); HWTEST_F() local
1057 int ret = sprintf(str, "%%", 97); HWTEST_F() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Deap_register.c26 int ret = 0; in eap_register_methods() local
29 if (ret == 0) in eap_register_methods()
30 ret = eap_peer_md5_register(); in eap_register_methods()
34 if (ret == 0) in eap_register_methods()
35 ret = eap_peer_tls_register(); in eap_register_methods()
39 if (ret == 0) in eap_register_methods()
40 ret = eap_peer_unauth_tls_register(); in eap_register_methods()
45 if (ret == 0) in eap_register_methods()
46 ret = eap_peer_wfa_unauth_tls_register(); in eap_register_methods()
51 if (ret in eap_register_methods()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Deap_register.c26 int ret = 0; in eap_register_methods() local
29 if (ret == 0) in eap_register_methods()
30 ret = eap_peer_md5_register(); in eap_register_methods()
34 if (ret == 0) in eap_register_methods()
35 ret = eap_peer_tls_register(); in eap_register_methods()
39 if (ret == 0) in eap_register_methods()
40 ret = eap_peer_unauth_tls_register(); in eap_register_methods()
45 if (ret == 0) in eap_register_methods()
46 ret = eap_peer_wfa_unauth_tls_register(); in eap_register_methods()
51 if (ret in eap_register_methods()
[all...]
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/
H A Dreugid_test_001.cpp47 int ret; in Child1() local
54 ret = getresgid(reinterpret_cast<gid_t *>(&ruid), reinterpret_cast<gid_t *>(&euid), in Child1()
56 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Child1()
66 ret = getresuid(reinterpret_cast<gid_t *>(&ruid), reinterpret_cast<gid_t *>(&euid), in Child1()
68 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Child1()
83 ret = setgroups(0, reinterpret_cast<gid_t *>(getList)); in Child1()
84 ICUNIT_ASSERT_EQUAL(ret, 0, ret); in Child1()
99 int ret; Child() local
419 int ret; TestCase() local
[all...]
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
H A Dnet_socket_test_012.cpp44 int ret; in SocketNullTestInternal() local
55 ret = accept(sfd, NULL, NULL); in SocketNullTestInternal()
56 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
57 ICUNIT_ASSERT_EQUAL(ret, -1, errno); in SocketNullTestInternal()
59 ret = accept(sfd, NULL, &addrlen); in SocketNullTestInternal()
60 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
61 ICUNIT_ASSERT_EQUAL(ret, -1, errno); in SocketNullTestInternal()
63 ret = accept(sfd, bad, &zero); in SocketNullTestInternal()
64 LogPrintln("accept: %d, errno=%d", ret, errno); in SocketNullTestInternal()
65 ICUNIT_ASSERT_EQUAL(ret, in SocketNullTestInternal()
413 int ret = fcntl(sfd, F_GETFL, 0); SocketSetNonBlock() local
[all...]
/kernel/liteos_m/testsuites/unittest/xts/ipc/semaphone/
H A Dsem_test.c49 int ret; variable
56 ret = sem_init((sem_t *)&sem, 0, testValue[0]);
57 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
59 ret = sem_destroy(&sem);
60 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
67 int ret; variable
70 ret = sem_init((sem_t *)&sem, 0, 0);
71 ICUNIT_ASSERT_EQUAL(ret,
89 int ret; global() variable
111 int ret; ThreadChat() local
128 int ret; global() variable
164 int ret; ThreadNThreadWait1() local
183 int ret; ThreadNThreadWait2() local
208 int ret; global() variable
262 int ret; global() variable
287 int ret; global() variable
303 int ret; global() variable
324 int ret; global() variable
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/mscc/
H A Dmscc_serdes.c17 int ret; in pll5g_detune() local
22 ret = vsc85xx_csr_write(phydev, MACRO_CTRL, in pll5g_detune()
24 if (ret) in pll5g_detune()
26 return ret; in pll5g_detune()
32 int ret; in pll5g_tune() local
36 ret = vsc85xx_csr_write(phydev, MACRO_CTRL, in pll5g_tune()
38 if (ret) in pll5g_tune()
40 return ret; in pll5g_tune()
48 int ret; in vsc85xx_sd6g_pll_cfg_wr() local
50 ret in vsc85xx_sd6g_pll_cfg_wr()
75 int ret; vsc85xx_sd6g_common_cfg_wr() local
97 int ret; vsc85xx_sd6g_des_cfg_wr() local
121 int ret; vsc85xx_sd6g_ib_cfg0_wr() local
147 int ret; vsc85xx_sd6g_ib_cfg1_wr() local
169 int ret; vsc85xx_sd6g_ib_cfg2_wr() local
191 int ret; vsc85xx_sd6g_ib_cfg3_wr() local
210 int ret; vsc85xx_sd6g_ib_cfg4_wr() local
225 int ret; vsc85xx_sd6g_misc_cfg_wr() local
237 int ret; vsc85xx_sd6g_gp_cfg_wr() local
256 int ret; vsc85xx_sd6g_dft_cfg2_wr() local
276 int ret; vsc85xx_sd6g_dft_cfg0_wr() local
294 int ret; vsc85xx_pll5g_cfg0_wr() local
323 int ret; vsc85xx_sd6g_config_v2() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
H A Dstate_test.cpp64 int32_t ret = vDecSample->CreateVideoDecoder(codeName); in SetUp() local
65 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
66 ret = vDecSample->SetVideoDecoderCallback(); in SetUp()
67 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
68 ret = vDecSample->ConfigureVideoDecoder(); in SetUp()
69 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
90 int32_t ret = vDecSample->Stop(); in HWTEST_F() local
91 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
92 ret = vDecSample->Flush(); in HWTEST_F()
93 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
105 int32_t ret = vDecSample->Start(); HWTEST_F() local
120 int32_t ret = vDecSample->Start(); HWTEST_F() local
135 int32_t ret = vDecSample->Start(); HWTEST_F() local
150 int32_t ret = vDecSample->Start(); HWTEST_F() local
168 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
186 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
204 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
223 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
239 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
257 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
275 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
293 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
313 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
331 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
349 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
371 int32_t ret = vDecSample->Start(); HWTEST_F() local
388 int32_t ret = vDecSample->Start(); HWTEST_F() local
405 int32_t ret = vDecSample->Start(); HWTEST_F() local
422 int32_t ret = vDecSample->Start(); HWTEST_F() local
439 int32_t ret = vDecSample->Start(); HWTEST_F() local
460 int32_t ret = vDecSample->Start(); HWTEST_F() local
480 int32_t ret = vDecSample->Start(); HWTEST_F() local
497 int32_t ret = vDecSample->Start(); HWTEST_F() local
514 int32_t ret = vDecSample->Start(); HWTEST_F() local
533 int32_t ret = vDecSample->Start(); HWTEST_F() local
550 int32_t ret = vDecSample->Start(); HWTEST_F() local
567 int32_t ret = vDecSample->Start(); HWTEST_F() local
590 int32_t ret = vDecSample->Start(); HWTEST_F() local
605 int32_t ret = vDecSample->Start(); HWTEST_F() local
620 int32_t ret = vDecSample->Start(); HWTEST_F() local
641 int32_t ret = vDecSample->Start(); HWTEST_F() local
658 int32_t ret = vDecSample->Reset(); HWTEST_F() local
671 int32_t ret = vDecSample->Release(); HWTEST_F() local
683 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
697 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
711 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
725 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
740 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
755 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
770 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
785 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/
H A Dstate_test.cpp64 int32_t ret = vEncSample->CreateVideoEncoder(codeName); in SetUp() local
65 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
66 ret = vEncSample->SetVideoEncoderCallback(); in SetUp()
67 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
68 ret = vEncSample->ConfigureVideoEncoder(); in SetUp()
69 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
90 int32_t ret = vEncSample->Stop(); in HWTEST_F() local
91 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
92 ret = vEncSample->Flush(); in HWTEST_F()
93 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
105 int32_t ret = vEncSample->Start(); HWTEST_F() local
120 int32_t ret = vEncSample->Start(); HWTEST_F() local
135 int32_t ret = vEncSample->Start(); HWTEST_F() local
150 int32_t ret = vEncSample->Start(); HWTEST_F() local
167 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
185 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
202 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
220 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
235 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
252 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
269 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
286 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
305 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
322 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
339 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
360 int32_t ret = vEncSample->Start(); HWTEST_F() local
377 int32_t ret = vEncSample->Start(); HWTEST_F() local
396 int32_t ret = vEncSample->Start(); HWTEST_F() local
413 int32_t ret = vEncSample->Start(); HWTEST_F() local
430 int32_t ret = vEncSample->Start(); HWTEST_F() local
451 int32_t ret = vEncSample->Start(); HWTEST_F() local
471 int32_t ret = vEncSample->Start(); HWTEST_F() local
488 int32_t ret = vEncSample->Start(); HWTEST_F() local
505 int32_t ret = vEncSample->Start(); HWTEST_F() local
524 int32_t ret = vEncSample->Start(); HWTEST_F() local
541 int32_t ret = vEncSample->Start(); HWTEST_F() local
558 int32_t ret = vEncSample->Start(); HWTEST_F() local
581 int32_t ret = vEncSample->Start(); HWTEST_F() local
596 int32_t ret = vEncSample->Start(); HWTEST_F() local
611 int32_t ret = vEncSample->Start(); HWTEST_F() local
632 int32_t ret = vEncSample->Start(); HWTEST_F() local
649 int32_t ret = vEncSample->Reset(); HWTEST_F() local
662 int32_t ret = vEncSample->Release(); HWTEST_F() local
675 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
689 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
702 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
715 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
728 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
741 int32_t ret = vEncSample->StartVideoEncoder(); HWTEST_F() local
[all...]
/test/xts/dcts/communication/softbus_standard/transmission/sendmsg/
H A Dtrans_func_test.cpp50 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
51 EXPECT_EQ(SOFTBUS_OK, ret) << "call reg node state callback fail"; in SetUpTestCase()
52 ret = CheckRemoteDeviceIsNull(BOOL_TRUE); in SetUpTestCase()
53 ASSERT_EQ(SOFTBUS_OK, ret) << "get node fail,please check network"; in SetUpTestCase()
60 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
61 EXPECT_EQ(SOFTBUS_OK, ret) << "call unReg node state callback fail"; in TearDownTestCase()
75 int ret; in HWTEST_F() local
76 ret = CreateSsAndOpenSession4Data(); in HWTEST_F()
77 ASSERT_EQ(SOFTBUS_OK, ret) << "create Ss and openS[data] fail"; in HWTEST_F()
80 ret in HWTEST_F()
96 int ret; HWTEST_F() local
117 int ret; HWTEST_F() local
141 int ret; HWTEST_F() local
162 int ret; HWTEST_F() local
188 int ret; HWTEST_F() local
214 int ret; HWTEST_F() local
235 int ret; HWTEST_F() local
256 int ret; HWTEST_F() local
277 int ret; HWTEST_F() local
301 int ret; HWTEST_F() local
328 int ret; HWTEST_F() local
354 int ret; HWTEST_F() local
378 int ret; HWTEST_F() local
402 int ret; HWTEST_F() local
428 int ret; HWTEST_F() local
453 int ret; HWTEST_F() local
483 int ret; HWTEST_F() local
512 int ret; HWTEST_F() local
535 int ret; HWTEST_F() local
559 int ret; HWTEST_F() local
583 int ret; HWTEST_F() local
610 int ret; HWTEST_F() local
640 int ret; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dfree-space-tests.c22 int ret = 0; in test_extents() local
27 ret = btrfs_add_free_space(cache, 0, SZ_4M); in test_extents()
28 if (ret) { in test_extents()
29 test_err("error adding initial extents %d", ret); in test_extents()
30 return ret; in test_extents()
33 ret = btrfs_remove_free_space(cache, 0, SZ_4M); in test_extents()
34 if (ret) { in test_extents()
35 test_err("error removing extent %d", ret); in test_extents()
36 return ret; in test_extents()
45 ret in test_extents()
93 int ret; test_bitmaps() local
162 int ret; test_bitmaps_and_extents() local
398 int ret; test_steal_space_from_bitmap_to_extent() local
833 int ret = -ENOMEM; btrfs_test_free_space_cache() local
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
H A Dstate_test.cpp57 int32_t ret = vDecSample->CreateVideoDecoder(codeName); in SetUp() local
58 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
59 ret = vDecSample->SetVideoDecoderCallback(); in SetUp()
60 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
61 ret = vDecSample->ConfigureVideoDecoder(); in SetUp()
62 ASSERT_EQ(AV_ERR_OK, ret); in SetUp()
83 int32_t ret = vDecSample->Stop(); in HWTEST_F() local
84 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
85 ret = vDecSample->Flush(); in HWTEST_F()
86 ASSERT_EQ(AV_ERR_INVALID_STATE, ret); in HWTEST_F()
98 int32_t ret = vDecSample->Start(); HWTEST_F() local
113 int32_t ret = vDecSample->Start(); HWTEST_F() local
128 int32_t ret = vDecSample->Start(); HWTEST_F() local
143 int32_t ret = vDecSample->Start(); HWTEST_F() local
161 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
179 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
197 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
216 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
232 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
250 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
268 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
286 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
306 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
324 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
342 int32_t ret = vDecSample->StartVideoDecoder(); HWTEST_F() local
364 int32_t ret = vDecSample->Start(); HWTEST_F() local
381 int32_t ret = vDecSample->Start(); HWTEST_F() local
398 int32_t ret = vDecSample->Start(); HWTEST_F() local
415 int32_t ret = vDecSample->Start(); HWTEST_F() local
432 int32_t ret = vDecSample->Start(); HWTEST_F() local
453 int32_t ret = vDecSample->Start(); HWTEST_F() local
470 int32_t ret = vDecSample->Start(); HWTEST_F() local
487 int32_t ret = vDecSample->Start(); HWTEST_F() local
504 int32_t ret = vDecSample->Start(); HWTEST_F() local
523 int32_t ret = vDecSample->Start(); HWTEST_F() local
540 int32_t ret = vDecSample->Start(); HWTEST_F() local
557 int32_t ret = vDecSample->Start(); HWTEST_F() local
580 int32_t ret = vDecSample->Start(); HWTEST_F() local
595 int32_t ret = vDecSample->Start(); HWTEST_F() local
610 int32_t ret = vDecSample->Start(); HWTEST_F() local
631 int32_t ret = vDecSample->Start(); HWTEST_F() local
648 int32_t ret = vDecSample->Reset(); HWTEST_F() local
661 int32_t ret = vDecSample->Release(); HWTEST_F() local
[all...]
/base/startup/init/test/unittest/seccomp/
H A Dseccomp_unittest.cpp164 int ret = unshare(CLONE_NEWPID); in CheckUnshare() local
165 if (ret) { in CheckUnshare()
247 int ret = (int)syscall(__NR_mq_open, nullptr, 0); in CheckMqOpen() local
248 if (ret < 0) { in CheckMqOpen()
278 int ret = syscall(__NR_setresuid, 20000, 20000, 20000); in CheckSetresuidArgsInRange() local
279 if (ret == 0) { in CheckSetresuidArgsInRange()
288 int ret = syscall(__NR_setresuid, 800, 800, 800); in CheckSetresuidArgsOutOfRange() local
289 if (ret == 0) { in CheckSetresuidArgsOutOfRange()
308 int ret = syscall(__NR_setuid, 0); in CheckSetuid64ForUidFilter1() local
309 if (ret in CheckSetuid64ForUidFilter1()
318 int ret = syscall(__NR_setuid, 2); CheckSetuid64ForUidFilter2() local
328 int ret = syscall(__NR_setreuid, 0, 2); CheckSetreuid64ForUidFilter1() local
338 int ret = syscall(__NR_setreuid, 2, 0); CheckSetreuid64ForUidFilter2() local
348 int ret = syscall(__NR_setreuid, 0, 0); CheckSetreuid64ForUidFilter3() local
358 int ret = syscall(__NR_setreuid, 2, 2); CheckSetreuid64ForUidFilter4() local
368 int ret = syscall(__NR_setfsuid, 0); CheckSetfsuid64ForUidFilter1() local
378 int ret = syscall(__NR_setfsuid, 2); CheckSetfsuid64ForUidFilter2() local
388 int ret = syscall(__NR_setresuid, 0, 0, 0); CheckSetresuid64ForUidFilter1() local
398 int ret = syscall(__NR_setresuid, 2, 0, 0); CheckSetresuid64ForUidFilter2() local
408 int ret = syscall(__NR_setresuid, 0, 2, 0); CheckSetresuid64ForUidFilter3() local
418 int ret = syscall(__NR_setresuid, 0, 0, 2); CheckSetresuid64ForUidFilter4() local
428 int ret = syscall(__NR_setresuid, 0, 2, 2); CheckSetresuid64ForUidFilter5() local
438 int ret = syscall(__NR_setresuid, 2, 0, 2); CheckSetresuid64ForUidFilter6() local
448 int ret = syscall(__NR_setresuid, 2, 2, 0); CheckSetresuid64ForUidFilter7() local
458 int ret = syscall(__NR_setresuid, 2, 2, 2); CheckSetresuid64ForUidFilter8() local
469 int ret = CheckSyscall(SYSTEM_SA, SYSTEM_NAME, CheckMqOpen, false); TestSystemSycall() local
480 int ret = CheckSyscall(SYSTEM_SA, SYSTEM_NAME, CheckSetuid64ForUidFilter1, false); TestSystemSyscallForUidFilter() local
532 int ret = CheckSyscall(INDIVIDUAL, APPSPAWN_NAME, CheckSetresuidArgsOutOfRange, false); TestSetUidGidFilter() local
543 int ret = CheckSyscall(APP, APP_NAME, CheckSetuid, false); TestAppSycall() local
553 int ret = CheckSyscall(APP, APP_PRIVILEGE, CheckSetuid64ForUidFilter1, true); TestSeccompPrivilegeSyscall() local
579 int ret = syscall(__NR_setuid32, 1); CheckSetuid32() local
589 int ret = syscall(__NR_setresuid32, 20000, 20000, 20000); CheckSetresuid32ArgsInRange() local
599 int ret = syscall(__NR_setresuid32, 800, 800, 800); CheckSetresuid32ArgsOutOfRange() local
609 int ret = syscall(__NR_setuid32, 0); CheckSetuid32ForUidFilter1() local
619 int ret = syscall(__NR_setuid32, 2); CheckSetuid32ForUidFilter2() local
629 int ret = syscall(__NR_setuid, 0); CheckSetuid16ForUidFilter1() local
639 int ret = syscall(__NR_setuid, 2); CheckSetuid16ForUidFilter2() local
649 int ret = syscall(__NR_setreuid32, 0, 2); CheckSetreuid32ForUidFilter1() local
659 int ret = syscall(__NR_setreuid32, 2, 0); CheckSetreuid32ForUidFilter2() local
669 int ret = syscall(__NR_setreuid32, 0, 0); CheckSetreuid32ForUidFilter3() local
679 int ret = syscall(__NR_setreuid32, 2, 2); CheckSetreuid32ForUidFilter4() local
689 int ret = syscall(__NR_setreuid, 0, 2); CheckSetreuid16ForUidFilter1() local
699 int ret = syscall(__NR_setreuid, 2, 0); CheckSetreuid16ForUidFilter2() local
709 int ret = syscall(__NR_setreuid, 0, 0); CheckSetreuid16ForUidFilter3() local
719 int ret = syscall(__NR_setreuid, 2, 2); CheckSetreuid16ForUidFilter4() local
729 int ret = syscall(__NR_setfsuid32, 0); CheckSetfsuid32ForUidFilter1() local
739 int ret = syscall(__NR_setfsuid32, 2); CheckSetfsuid32ForUidFilter2() local
749 int ret = syscall(__NR_setfsuid, 0); CheckSetfsuid16ForUidFilter1() local
759 int ret = syscall(__NR_setfsuid, 2); CheckSetfsuid16ForUidFilter2() local
769 int ret = syscall(__NR_setresuid32, 0, 0, 0); CheckSetresuid32ForUidFilter1() local
779 int ret = syscall(__NR_setresuid32, 2, 0, 0); CheckSetresuid32ForUidFilter2() local
789 int ret = syscall(__NR_setresuid32, 0, 2, 0); CheckSetresuid32ForUidFilter3() local
799 int ret = syscall(__NR_setresuid32, 0, 0, 2); CheckSetresuid32ForUidFilter4() local
809 int ret = syscall(__NR_setresuid32, 0, 2, 2); CheckSetresuid32ForUidFilter5() local
819 int ret = syscall(__NR_setresuid32, 2, 0, 2); CheckSetresuid32ForUidFilter6() local
829 int ret = syscall(__NR_setresuid32, 2, 2, 0); CheckSetresuid32ForUidFilter7() local
839 int ret = syscall(__NR_setresuid32, 2, 2, 2); CheckSetresuid32ForUidFilter8() local
849 int ret = syscall(__NR_setresuid, 0, 0, 0); CheckSetresuid16ForUidFilter1() local
859 int ret = syscall(__NR_setresuid, 2, 0, 0); CheckSetresuid16ForUidFilter2() local
869 int ret = syscall(__NR_setresuid, 0, 2, 0); CheckSetresuid16ForUidFilter3() local
879 int ret = syscall(__NR_setresuid, 0, 0, 2); CheckSetresuid16ForUidFilter4() local
889 int ret = syscall(__NR_setresuid, 0, 2, 2); CheckSetresuid16ForUidFilter5() local
899 int ret = syscall(__NR_setresuid, 2, 0, 2); CheckSetresuid16ForUidFilter6() local
909 int ret = syscall(__NR_setresuid, 2, 2, 0); CheckSetresuid16ForUidFilter7() local
919 int ret = syscall(__NR_setresuid, 2, 2, 2); CheckSetresuid16ForUidFilter8() local
930 int ret = CheckSyscall(SYSTEM_SA, SYSTEM_NAME, CheckGetuid, false); TestSystemSycall() local
941 int ret = CheckSyscall(SYSTEM_SA, SYSTEM_NAME, CheckSetuid32ForUidFilter1, false); TestSystemSyscallForUidFilter32Bit() local
993 int ret = CheckSyscall(SYSTEM_SA, SYSTEM_NAME, CheckSetuid16ForUidFilter1, false); TestSystemSyscallForUidFilter16Bit() local
1051 int ret = CheckSyscall(INDIVIDUAL, APPSPAWN_NAME, CheckSetresuid32ArgsOutOfRange, false); TestSetUidGidFilter() local
1062 int ret = CheckSyscall(APP, APP_NAME, CheckSetuid32, false); TestAppSycall() local
1073 int ret = CheckSyscall(APP, APP_PRIVILEGE, CheckSetuid32ForUidFilter1, true); TestSeccompPrivilegeSyscall() local
1080 int ret = CheckSyscall(APP, APP_NAME, CheckUnshare, false); TestAppSycallNs() local
[all...]
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_automat_test.cpp40 int32_t ret = mainDemo->InitCameraDevice(); in SetUpTestCase() local
41 if (ret == camoreError) { in SetUpTestCase()
70 int32_t ret = PreviewOn(0, mainDemo); in HWTEST_F() local
71 EXPECT_EQ(cameraOk, ret) << "PreviewOn fail"; in HWTEST_F()
85 int32_t ret = CaptureTest(mainDemo); in HWTEST_F() local
86 EXPECT_EQ(cameraOk, ret) << "CaptureTest fail"; in HWTEST_F()
100 int32_t ret = VideoTest(mainDemo); in HWTEST_F() local
101 EXPECT_EQ(cameraOk, ret) << "VideoTest fail"; in HWTEST_F()
115 int32_t ret = mainDemo->SetAwbMode(sleepOk); in HWTEST_F() local
116 EXPECT_EQ(cameraOk, ret) << "SetAwbMod in HWTEST_F()
130 int32_t ret = mainDemo->SetAwbMode(cameraOk); HWTEST_F() local
145 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
160 int32_t ret = mainDemo->SetMetadata(); HWTEST_F() local
175 int32_t ret = FlashLightTest(mainDemo); HWTEST_F() local
190 int32_t ret = OfflineTest(mainDemo); HWTEST_F() local
203 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
223 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
243 int32_t ret = VideoTest(nullptr); HWTEST_F() local
262 int32_t ret = PreviewOn(0, nullptr); HWTEST_F() local
282 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
302 int32_t ret = VideoTest(nullptr); HWTEST_F() local
321 int32_t ret = mainDemo->SetAwbMode(sleepOk); HWTEST_F() local
341 int32_t ret = mainDemo->SetMetadata(); HWTEST_F() local
361 int32_t ret = FlashLightTest(nullptr); HWTEST_F() local
380 int32_t ret = mainDemo->SetAwbMode(cameraOk); HWTEST_F() local
400 int32_t ret = CaptureTest(nullptr); HWTEST_F() local
420 int32_t ret = OfflineTest(nullptr); HWTEST_F() local
439 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
459 int32_t ret = PreviewOn(0, nullptr); HWTEST_F() local
479 int32_t ret = VideoTest(nullptr); HWTEST_F() local
498 int32_t ret = VideoTest(nullptr); HWTEST_F() local
517 int32_t ret = PreviewOn(0, nullptr); HWTEST_F() local
537 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
557 int32_t ret = VideoTest(nullptr); HWTEST_F() local
576 int32_t ret = PreviewOn(0, nullptr); HWTEST_F() local
596 int32_t ret = mainDemo->SetAeExpo(); HWTEST_F() local
616 int32_t ret = PreviewOn(1, mainDemo); HWTEST_F() local
631 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
646 int32_t ret = PreviewOn(0, nullptr); HWTEST_F() local
661 int32_t ret = PreviewOn(-1, mainDemo); HWTEST_F() local
676 int32_t ret = mainDemo->SetAwbMode(5); HWTEST_F() local
691 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
706 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
725 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
744 int32_t ret = CaptureTest(nullptr); HWTEST_F() local
759 int32_t ret = VideoTest(nullptr); HWTEST_F() local
774 int32_t ret = FlashLightTest(nullptr); HWTEST_F() local
789 int32_t ret = OfflineTest(nullptr); HWTEST_F() local
804 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
823 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
842 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
861 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
880 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
899 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
918 int32_t ret = PreviewOn(1, nullptr); HWTEST_F() local
937 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
956 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
975 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
994 int32_t ret = mainDemo->SetAwbMode(camoreError); HWTEST_F() local
1013 int32_t ret = CaptureTest(nullptr); HWTEST_F() local
1032 int32_t ret = CaptureTest(nullptr); HWTEST_F() local
1051 int32_t ret = CaptureTest(nullptr); HWTEST_F() local
1070 int32_t ret = VideoTest(nullptr); HWTEST_F() local
1089 int32_t ret = VideoTest(nullptr); HWTEST_F() local
1108 int32_t ret = FlashLightTest(nullptr); HWTEST_F() local
1127 int32_t ret = FlashLightTest(nullptr); HWTEST_F() local
1147 int32_t ret = mainDemo->SetMetadataAe(mode); HWTEST_F() local
1162 int32_t ret = mainDemo->SetMetadataAe(mode); HWTEST_F() local
1177 int32_t ret = mainDemo->SetMetadataAe(mode); HWTEST_F() local
1192 int32_t ret = mainDemo->SetMetadataMeter(mode); HWTEST_F() local
1207 int32_t ret = mainDemo->SetMetadataMeter(mode); HWTEST_F() local
1222 int32_t ret = mainDemo->SetMetadataFlash(mode); HWTEST_F() local
1237 int32_t ret = mainDemo->SetMetadataFlash(mode); HWTEST_F() local
1252 int32_t ret = mainDemo->SetMetadataFlash(mode); HWTEST_F() local
1267 int32_t ret = mainDemo->SetMetadataMirror(mode); HWTEST_F() local
1282 int32_t ret = mainDemo->SetMetadataJpeg(mode); HWTEST_F() local
1297 int32_t ret = mainDemo->SetMetadataJpeg(mode); HWTEST_F() local
1312 int32_t ret = mainDemo->SetMetadataAf(mode); HWTEST_F() local
1327 int32_t ret = mainDemo->SetMetadataAf(mode); HWTEST_F() local
1342 int32_t ret = mainDemo->SetMetadataAf(mode); HWTEST_F() local
1357 int32_t ret = mainDemo->SetMetadataFace(mode); HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/sound/soc/qcom/
H A Dlpass-hdmi.c26 unsigned int ret; in lpass_hdmi_daiops_hw_params() local
77 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_RESET); in lpass_hdmi_daiops_hw_params()
78 if (ret) in lpass_hdmi_daiops_hw_params()
79 return ret; in lpass_hdmi_daiops_hw_params()
81 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_CLEAR); in lpass_hdmi_daiops_hw_params()
82 if (ret) in lpass_hdmi_daiops_hw_params()
83 return ret; in lpass_hdmi_daiops_hw_params()
85 ret = regmap_field_write(drvdata->hdmitx_legacy_en, LPASS_HDMITX_LEGACY_DISABLE); in lpass_hdmi_daiops_hw_params()
86 if (ret) in lpass_hdmi_daiops_hw_params()
87 return ret; in lpass_hdmi_daiops_hw_params()
195 int ret; lpass_hdmi_daiops_prepare() local
215 int ret = -EINVAL; lpass_hdmi_daiops_trigger() local
[all...]
/test/xts/dcts/communication/softbus_standard/transmission/reliability/
H A Dtrans_reliability_test.cpp47 int ret = RegisterDeviceStateDefCallback(); in SetUpTestCase() local
48 EXPECT_EQ(SOFTBUS_OK, ret) << "call reg node state callback fail"; in SetUpTestCase()
49 ret = CheckRemoteDeviceIsNull(BOOL_TRUE); in SetUpTestCase()
50 ASSERT_EQ(SOFTBUS_OK, ret) << "get node fail,please check network"; in SetUpTestCase()
56 int ret = UnRegisterDeviceStateDefCallback(); in TearDownTestCase() local
57 EXPECT_EQ(SOFTBUS_OK, ret) << "call unReg node state callback fail"; in TearDownTestCase()
71 int ret; in HWTEST_F() local
74 ret = SendBytes(sessionId, data.c_str(), data.length()); in HWTEST_F()
75 EXPECT_EQ(SOFTBUS_TRANS_SESSION_INFO_NOT_FOUND, ret); in HWTEST_F()
87 int ret; in HWTEST_F() local
109 int ret; HWTEST_F() local
169 int ret; HWTEST_F() local
185 int ret; HWTEST_F() local
216 int ret; HWTEST_F() local
232 int ret; HWTEST_F() local
249 int ret; HWTEST_F() local
266 int ret; HWTEST_F() local
286 int ret; HWTEST_F() local
310 int ret; HWTEST_F() local
325 int ret; HWTEST_F() local
340 int ret; HWTEST_F() local
354 int ret; HWTEST_F() local
[all...]
/kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/
H A Dmq_test.c52 int ret; variable
60 ret = sprintf_s(qName, sizeof(qName), "testMqOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
61 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret);
66 ret = mq_send(queue, MQ_MSG, MQ_MSG_LEN, MQ_MSG_PRIO);
67 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
69 ret = mq_getattr(queue, &getAttr);
70 ICUNIT_ASSERT_EQUAL(ret, 0, ret);
94 int ret; global() variable
142 int ret; global() variable
190 int ret; global() variable
234 int ret; PthreadCom() local
260 int ret; global() variable
302 int ret; PthreadTimedCom() local
336 int ret; global() variable
383 int ret; PthreadAllCom() local
416 int ret; global() variable
463 int ret; global() variable
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-5.c77 int ret; in threaded() local
82 ret = clock_gettime(data.cid, &ts); in threaded()
83 if (ret != 0) in threaded()
84 UNRESOLVED(ret, "Unable to get time from clock"); in threaded()
88 ret = pthread_mutex_lock(&(data.mtx1)); in threaded()
89 if (ret != 0) in threaded()
90 UNRESOLVED(ret, "Unable tu lock m1 in thread"); in threaded()
98 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1)); in threaded()
100 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), in threaded()
102 } while ((ret in threaded()
166 int ret, j; main() local
[all...]
/kernel/linux/linux-6.6/sound/soc/qcom/
H A Dlpass-hdmi.c26 unsigned int ret; in lpass_hdmi_daiops_hw_params() local
77 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_RESET); in lpass_hdmi_daiops_hw_params()
78 if (ret) in lpass_hdmi_daiops_hw_params()
79 return ret; in lpass_hdmi_daiops_hw_params()
81 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_CLEAR); in lpass_hdmi_daiops_hw_params()
82 if (ret) in lpass_hdmi_daiops_hw_params()
83 return ret; in lpass_hdmi_daiops_hw_params()
85 ret = regmap_field_write(drvdata->hdmitx_legacy_en, LPASS_HDMITX_LEGACY_DISABLE); in lpass_hdmi_daiops_hw_params()
86 if (ret) in lpass_hdmi_daiops_hw_params()
87 return ret; in lpass_hdmi_daiops_hw_params()
193 int ret; lpass_hdmi_daiops_prepare() local
211 int ret = -EINVAL; lpass_hdmi_daiops_trigger() local
[all...]
/test/xts/hats/hdf/wlan/wifi/hal/
H A Dwifi_hal_test.cpp51 int ret; in SetUpTestCase() local
53 ret = WifiConstruct(&g_wifi); in SetUpTestCase()
54 ASSERT_EQ(HDF_SUCCESS, ret); in SetUpTestCase()
59 int ret; in TearDownTestCase() local
61 ret = WifiDestruct(&g_wifi); in TearDownTestCase()
62 ASSERT_EQ(HDF_SUCCESS, ret); in TearDownTestCase()
67 int ret; in SetUp() local
69 ret = g_wifi->start(nullptr); in SetUp()
70 ASSERT_EQ(HDF_ERR_INVALID_PARAM, ret); in SetUp()
71 ret in SetUp()
77 int ret; TearDown() local
121 int ret; HWTEST_F() local
140 int ret; HWTEST_F() local
158 int ret; HWTEST_F() local
176 int ret; HWTEST_F() local
194 int32_t ret; HWTEST_F() local
206 int32_t ret; HWTEST_F() local
218 int32_t ret; HWTEST_F() local
232 int32_t ret; HWTEST_F() local
246 int ret; HWTEST_F() local
267 int ret; HWTEST_F() local
289 int ret; HWTEST_F() local
311 int32_t ret; HWTEST_F() local
331 int32_t ret; HWTEST_F() local
352 int32_t ret; HWTEST_F() local
373 int ret; HWTEST_F() local
386 int32_t ret; HWTEST_F() local
400 int32_t ret; HWTEST_F() local
413 int ret; HWTEST_F() local
426 int32_t ret; HWTEST_F() local
440 int32_t ret; HWTEST_F() local
453 int ret; HWTEST_F() local
472 int ret; HWTEST_F() local
492 int32_t ret; HWTEST_F() local
511 int32_t ret; HWTEST_F() local
538 int ret; HWTEST_F() local
558 int ret; HWTEST_F() local
578 int32_t ret; HWTEST_F() local
599 int32_t ret; HWTEST_F() local
620 int ret; HWTEST_F() local
641 int ret; HWTEST_F() local
660 int ret; HWTEST_F() local
681 int ret; HWTEST_F() local
702 int ret; HWTEST_F() local
725 int ret; HWTEST_F() local
746 int ret; HWTEST_F() local
766 int ret; HWTEST_F() local
787 int ret; HWTEST_F() local
808 int ret; HWTEST_F() local
831 int ret; HWTEST_F() local
851 int ret; HWTEST_F() local
871 int ret; HWTEST_F() local
891 int32_t ret; HWTEST_F() local
911 int32_t ret; HWTEST_F() local
931 int32_t ret; HWTEST_F() local
951 int ret; HWTEST_F() local
971 int ret; HWTEST_F() local
991 int ret; HWTEST_F() local
1011 int ret; HWTEST_F() local
1032 int ret; HWTEST_F() local
1052 int ret; HWTEST_F() local
[all...]

Completed in 16 milliseconds

12345678910>>...1959