Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 15434) sorted by relevance

12345678910>>...618

/external/wpa_supplicant_8/wpa_supplicant/
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 == 0) in eap_register_methods()
[all …]
/external/elfutils/tests/
Dfuncretval_test.c11 large_struct1_t ret = { { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } }; in fun_large_struct1() local
12 return ret; in fun_large_struct1()
18 large_struct2_t ret = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; in fun_large_struct2() local
19 return ret; in fun_large_struct2()
39 vec_char_8_t ret = { 1, 2, 3, 4, 5, 6, 7, 8 }; in fun_vec_char_8() local
40 return ret; in fun_vec_char_8()
45 vec_short_8_t ret = { 2, 3, 4, 5 }; in fun_vec_short_8() local
46 return ret; in fun_vec_short_8()
51 vec_int_8_t ret = { 3, 4 }; in fun_vec_int_8() local
52 return ret; in fun_vec_int_8()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
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 == 0) && (data.boolcnd == 0)); in threaded()
[all …]
D2-6.c66 int ret; in clnp1() local
71 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()
72 if (ret != 0) { in clnp1()
76 ret = pthread_mutex_unlock(&(data.mtx)); in clnp1()
77 if (ret != 0) { in clnp1()
78 UNRESOLVED(ret, in clnp1()
90 int ret; in clnp2() local
95 ret = sem_post(&(data.semA)); in clnp2()
96 } while ((ret != 0) && (errno == EINTR)); in clnp2()
97 if (ret != 0) { in clnp2()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c95 int ret; in clnp1() local
97 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()
98 if (ret != 0) { in clnp1()
102 ret = pthread_mutex_unlock(&(data.mtx)); in clnp1()
103 if (ret != 0) { in clnp1()
104 UNRESOLVED(ret, in clnp1()
116 int ret; in clnp2() local
118 ret = sem_post(&(data.semA)); in clnp2()
119 } while ((ret != 0) && (errno == EINTR)); in clnp2()
120 if (ret != 0) { in clnp2()
[all …]
D2-2.c183 int ret = 0; in tf() local
188 ret = pthread_mutex_lock(&(td->mtx)); in tf()
189 if (ret != 0) { in tf()
190 td->status = ret; in tf()
191 UNRESOLVED(ret, "[child] Unable to lock the mutex"); in tf()
199 ret = pthread_cond_wait(&(td->cnd), &(td->mtx)); in tf()
201 } while ((ret == 0) && (td->bool == 0)); in tf()
205 if (ret != 0) { in tf()
206 td->status = ret; in tf()
207 UNRESOLVED(ret, "[child] Cond wait returned an error"); in tf()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Ds-c1.c106 int ret; in threaded() local
111 ret = pthread_mutex_lock(&mtx[i]); in threaded()
112 if (ret == 0) { /* The thread was blocked successfuly */ in threaded()
114 ret = pthread_mutex_lock(&m); in threaded()
115 if (ret != 0) { in threaded()
116 UNRESOLVED(ret, "Unable to lock 'm'"); in threaded()
120 ret = pthread_mutex_unlock(&m); in threaded()
121 if (ret != 0) { in threaded()
122 UNRESOLVED(ret, "Unable to unlock 'm'"); in threaded()
126 ret = pthread_mutex_unlock(&mtx[i]); in threaded()
[all …]
Dstress.c134 int ret; in sigthr() local
140 ret = pthread_mutex_lock(&(c->tmtx)); in sigthr()
141 if (ret != 0) { in sigthr()
142 UNRESOLVED(ret, "Failed to lock the mutex"); in sigthr()
145 ret = pthread_mutex_unlock(&(c->tmtx)); in sigthr()
146 if (ret != 0) { in sigthr()
147 UNRESOLVED(ret, "Failed to unlock the mutex"); in sigthr()
154 ret = sem_wait(&(c->semsig)); in sigthr()
155 if (ret != 0) { in sigthr()
161 ret = pthread_kill(c->threads[++i], SIGUSR2); in sigthr()
[all …]
/external/wpa_supplicant_8/hostapd/
Deap_register.c25 int ret = 0; in eap_server_register_methods() local
28 if (ret == 0) in eap_server_register_methods()
29 ret = eap_server_identity_register(); in eap_server_register_methods()
33 if (ret == 0) in eap_server_register_methods()
34 ret = eap_server_md5_register(); in eap_server_register_methods()
38 if (ret == 0) in eap_server_register_methods()
39 ret = eap_server_tls_register(); in eap_server_register_methods()
43 if (ret == 0) in eap_server_register_methods()
44 ret = eap_server_unauth_tls_register(); in eap_server_register_methods()
49 if (ret == 0) in eap_server_register_methods()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D3-2.c115 int ret = 0; in overflow() local
122 ret = sem_wait(&semsync[0]); in overflow()
124 while ((ret == -1) && (errno == EINTR)); in overflow()
125 if (ret == -1) { in overflow()
134 ret = sem_post(&semsync[1]); in overflow()
136 while ((ret == -1) && (errno == EINTR)); in overflow()
137 if (ret == -1) { in overflow()
180 int ret; in test_stack() local
238 ret = sem_init(&semsync[0], 0, 0); in test_stack()
239 if (ret == -1) { in test_stack()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dwarn-logical-not-compare.cpp8 bool ret; in test1() local
10 ret = !i1 == i2; in test1()
22 ret = !i1 != i2; in test1()
34 ret = !i1 < i2; in test1()
46 ret = !i1 > i2; in test1()
58 ret = !i1 <= i2; in test1()
70 ret = !i1 >= i2; in test1()
82 ret = i1 == i2; in test1()
83 ret = i1 != i2; in test1()
84 ret = i1 < i2; in test1()
[all …]
/external/arm-trusted-firmware/drivers/mmc/
Dmmc.c51 int ret; in mmc_send_cmd() local
59 ret = ops->send_cmd(&cmd); in mmc_send_cmd()
61 if ((ret == 0) && (r_data != NULL)) { in mmc_send_cmd()
70 if (ret != 0) { in mmc_send_cmd()
71 VERBOSE("Send command %u error: %d\n", idx, ret); in mmc_send_cmd()
74 return ret; in mmc_send_cmd()
83 int ret; in mmc_device_state() local
91 ret = mmc_send_cmd(MMC_CMD(13), rca << RCA_SHIFT_OFFSET, in mmc_device_state()
93 if (ret != 0) { in mmc_device_state()
110 int ret; in mmc_set_ext_csd() local
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
D2-1.c213 int ret = 0; in child() local
218 ret = pthread_mutex_lock(&td->mtx1); in child()
219 if (ret != 0) { in child()
220 UNRESOLVED(ret, "Failed to lock mutex in child"); in child()
230 ret = clock_gettime(td->cid, &ts); in child()
231 if (ret != 0) { in child()
240 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); in child()
242 ret = pthread_cond_wait(&td->cnd, &td->mtx1); in child()
243 } while ((ret == 0) && (td->predicate1 == 0)); in child()
244 if ((ret != 0) && (td->predicate1 != 0)) { in child()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress.c205 int ret; in cleanup() local
209 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
210 if (ret != 0) { in cleanup()
211 UNRESOLVED(ret, "Failed to unlock mutex in cancel handler"); in cleanup()
218 int ret; in worker() local
223 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
224 if (ret != 0) { in worker()
225 UNRESOLVED(ret, "Unable to lock mutex in worker"); in worker()
232 ret = clock_gettime(cd->cid, &ts); in worker()
233 if (ret != 0) { in worker()
[all …]
Dstress2.c205 int ret; in cleanup() local
209 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
210 if (ret != 0) { in cleanup()
211 UNRESOLVED(ret, "Failed to unlock mutex in cancel handler"); in cleanup()
218 int ret; in worker() local
223 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
224 if (ret != 0) { in worker()
225 UNRESOLVED(ret, "Unable to lock mutex in worker"); in worker()
232 ret = clock_gettime(cd->cid, &ts); in worker()
233 if (ret != 0) { in worker()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress2.c196 int ret; in cleanup() local
200 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
201 if (ret != 0) { in cleanup()
202 UNRESOLVED(ret, "Failed to unlock mutex in cancel handler"); in cleanup()
209 int ret; in worker() local
214 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
215 if (ret != 0) { in worker()
216 UNRESOLVED(ret, "Unable to lock mutex in worker"); in worker()
223 ret = clock_gettime(cd->cid, &ts); in worker()
224 if (ret != 0) { in worker()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c160 int ret = 0, ret2 = 0; in threaded() local
166 ret = pthread_mutex_trylock(td->mtx); in threaded()
173 while ((ret == EBUSY) && (go_on == 1)); in threaded()
176 if ((go_on == 1) && (ret == 0)) { in threaded()
192 if (ret == 0) { in threaded()
194 ret = pthread_mutex_unlock(td->mtx); in threaded()
195 if (ret != 0) { in threaded()
196 UNRESOLVED(ret, "Failed to unlock the mutex"); in threaded()
206 int ret; in main() local
231 if ((ret = sigaction(SIGUSR1, &sa, NULL))) { in main()
[all …]
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/
Dti_sci.c98 int ret; in ti_sci_get_response() local
102 ret = k3_sec_proxy_recv(chan, msg); in ti_sci_get_response()
103 if (ret) { in ti_sci_get_response()
104 ERROR("Message receive failed (%d)\n", ret); in ti_sci_get_response()
105 return ret; in ti_sci_get_response()
144 int ret; in ti_sci_do_xfer() local
147 ret = k3_sec_proxy_clear_rx_thread(SP_RESPONSE); in ti_sci_do_xfer()
148 if (ret) { in ti_sci_do_xfer()
149 ERROR("Could not clear response queue (%d)\n", ret); in ti_sci_do_xfer()
150 return ret; in ti_sci_do_xfer()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
D1-3.c48 int ret; in check_param() local
52 ret = pthread_getschedparam(thread, &t_pol, &t_parm); in check_param()
53 if (ret) { in check_param()
54 ERR_MSG("pthread_getscheparam()", ret); in check_param()
72 int ret; in threaded() local
77 ret = pthread_barrier_wait(arg); in threaded()
78 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) { in threaded()
79 ERR_MSG("pthread_barrier_wait()", ret); in threaded()
83 ret = pthread_barrier_wait(arg); in threaded()
84 if (ret && (ret != PTHREAD_BARRIER_SERIAL_THREAD)) { in threaded()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-3.c127 int ret; in sendsig() local
133 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL); in sendsig()
134 if (ret != 0) { in sendsig()
135 UNRESOLVED(ret, in sendsig()
141 if ((ret = sem_wait(thearg->sem))) { in sendsig()
147 ret = kill(process, thearg->sig); in sendsig()
148 if (ret != 0) { in sendsig()
180 int ret = 0; in test() local
187 ret = pthread_sigmask(SIG_UNBLOCK, &usersigs, NULL); in test()
188 if (ret != 0) { in test()
[all …]
/external/clang/test/SemaCXX/
Dwarn-logical-not-compare.cpp8 bool ret; in test1() local
10 ret = !i1 == i2; in test1()
22 ret = !i1 != i2; in test1()
34 ret = !i1 < i2; in test1()
46 ret = !i1 > i2; in test1()
58 ret = !i1 <= i2; in test1()
70 ret = !i1 >= i2; in test1()
82 ret = i1 == i2; in test1()
83 ret = i1 != i2; in test1()
84 ret = i1 < i2; in test1()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D1-2.c172 int ret = 0; in child() local
177 ret = pthread_mutex_lock(&td->mtx); in child()
178 if (ret != 0) in child()
179 UNRESOLVED(ret, "Failed to lock mutex in child"); in child()
188 ret = clock_gettime(td->cid, &ts); in child()
189 if (ret != 0) in child()
197 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child()
199 ret = pthread_cond_wait(&td->cnd, &td->mtx); in child()
202 timed, td->predicate, ret); in child()
204 } while ((ret == 0) && (td->predicate == 0)); in child()
[all …]
/external/llvm-project/llvm/test/CodeGen/NVPTX/
Darithmetic-int.ll13 ; CHECK: ret
14 %ret = add i64 %a, %b
15 ret i64 %ret
20 ; CHECK: ret
21 %ret = sub i64 %a, %b
22 ret i64 %ret
27 ; CHECK: ret
28 %ret = mul i64 %a, %b
29 ret i64 %ret
41 ret i64 %3
[all …]
/external/llvm/test/CodeGen/NVPTX/
Darithmetic-int.ll13 ; CHECK: ret
14 %ret = add i64 %a, %b
15 ret i64 %ret
20 ; CHECK: ret
21 %ret = sub i64 %a, %b
22 ret i64 %ret
27 ; CHECK: ret
28 %ret = mul i64 %a, %b
29 ret i64 %ret
41 ret i64 %3
[all …]
/external/clang/test/Sema/
Dwarn-logical-not-compare.c7 int ret; in test1() local
9 ret = !i1 == i2; in test1()
21 ret = !i1 != i2; in test1()
33 ret = !i1 < i2; in test1()
45 ret = !i1 > i2; in test1()
57 ret = !i1 <= i2; in test1()
69 ret = !i1 >= i2; in test1()
81 ret = i1 == i2; in test1()
82 ret = i1 != i2; in test1()
83 ret = i1 < i2; in test1()
[all …]

12345678910>>...618