HomeSort by relevance Sort by last modified time
    Searched refs:ret (Results 76 - 100 of 13196) sorted by null

1 2 34 5 6 7 8 91011>>

  /hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
ipa_nat_test006.c 49 int ret=0; local
68 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl);
69 CHECK_ERR(ret);
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl);
73 CHECK_ERR(ret);
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1);
76 CHECK_ERR(ret);
78 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl);
79 CHECK_ERR(ret);
81 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1)
    [all...]
ipa_nat_test007.c 49 int ret; local
66 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl);
67 CHECK_ERR(ret);
70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl);
71 CHECK_ERR(ret);
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1);
74 CHECK_ERR(ret);
76 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1);
77 CHECK_ERR(ret);
79 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl)
    [all...]
  /external/libavc/common/
ih264_buf_mgr.c 173 IH264_ERROR_T ret = IH264_SUCCESS; local
184 return ret;
208 WORD32 ret; local
209 ret = ithread_mutex_destroy(ps_buf_mgr->pv_mutex);
211 if(0 == ret)
293 IH264_ERROR_T ret = IH264_SUCCESS; local
294 ret = ih264_buf_mgr_lock(ps_buf_mgr);
295 RETURN_IF((ret != IH264_SUCCESS), ret);
300 ret = ih264_buf_mgr_unlock(ps_buf_mgr)
351 IH264_ERROR_T ret = IH264_SUCCESS; local
397 IH264_ERROR_T ret = IH264_SUCCESS; local
450 IH264_ERROR_T ret = IH264_SUCCESS; local
512 IH264_ERROR_T ret = IH264_SUCCESS; local
563 IH264_ERROR_T ret = IH264_SUCCESS; local
602 IH264_ERROR_T ret = IH264_SUCCESS; local
643 IH264_ERROR_T ret = IH264_SUCCESS; local
684 IH264_ERROR_T ret = IH264_SUCCESS; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
4-3.c 54 * UNRESOLVED(ret, descr);
55 * where descr is a description of the error and ret is an int (error code for example)
135 int ret; local
141 ret = pthread_sigmask(SIG_BLOCK, &usersigs, NULL);
142 if (ret != 0) {
143 UNRESOLVED(ret,
149 if ((ret = sem_wait(thearg->sem))) {
155 ret = kill(process, thearg->sig);
156 if (ret != 0) {
188 int ret = 0 local
311 int ret; local
    [all...]
  /external/libunwind/src/mi/
Gget_proc_info_by_ip.c 33 int ret; local
35 ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg);
36 if (ret == -UNW_ENOINFO)
37 ret = (*a->find_proc_info) (as, ip, pi, 0, as_arg);
38 return ret;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
12-1.c 31 int ret; local
33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL);
34 if (ret != 0) {
36 ret, strerror(ret));
3-2.c 71 * UNRESOLVED(ret, descr);
72 * where descr is a description of the error and ret is an int (error code for example)
122 int ret = 0; local
129 ret = sem_wait(&semsync[0]);
131 while ((ret == -1) && (errno == EINTR));
132 if (ret == -1) {
141 ret = sem_post(&semsync[1]);
143 while ((ret == -1) && (errno == EINTR));
144 if (ret == -1) {
187 int ret; local
323 int newpol, ret = 0; local
407 int ret = 0; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setpshared/
1-1.c 45 int ret; local
54 if ((ret =
59 ret);
64 if ((ret =
68 ret);
3-1.c 37 int ret; local
40 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE);
41 if (ret != 0) {
42 if (ret == EINVAL) {
48 ret);
3-2.c 40 int ret; local
43 ret = pthread_mutexattr_setpshared(&mta, INVALID_PSHARED_VALUE);
44 if (ret != 0) {
45 if (ret == EINVAL) {
51 ret);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
1-1.c 39 int ret; local
46 ret = pthread_once(&once_control, an_init_func);
47 if (ret != 0) {
53 ret = pthread_once(&once_control, an_init_func);
54 if (ret != 0) {
  /device/linaro/bootloader/edk2/StdLib/LibC/Locale/
localeconv.c 34 static struct lconv ret; local
38 ret.int_curr_symbol =
40 ret.currency_symbol =
42 ret.mon_decimal_point =
44 ret.mon_thousands_sep =
46 ret.mon_grouping =
48 ret.positive_sign =
50 ret.negative_sign =
52 ret.int_frac_digits = _CurrentMonetaryLocale->int_frac_digits;
53 ret.frac_digits = _CurrentMonetaryLocale->frac_digits;
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
stress.c 45 * UNRESOLVED(ret, descr);
46 * where descr is a description of the error and ret is an int (error code for example)
86 int ret = 0; local
90 ret = sem_post(arg);
92 if (ret != 0) {
98 ret = sem_wait(arg);
99 } while ((ret != 0) && (errno == EINTR));
101 if (ret != 0) {
113 int ret = 0, value; local
131 if ((ret = sigaction(SIGUSR1, &sa, NULL)))
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
stress.c 26 * -> each thread loops on pthread_mutex_trylock while ret == EBUSY and go_on is true..
27 * -> if ret == 0 && go_on is true, wait on a barrier then go_on = 0.
28 * -> if ret == 0 unlock the mutex
67 * UNRESOLVED(ret, descr);
68 * where descr is a description of the error and ret is an int (error code for example)
167 int ret = 0, ret2 = 0; local
173 ret = pthread_mutex_trylock(td->mtx);
180 while ((ret == EBUSY) && (go_on == 1));
182 /* if go_on==1 and ret == 0 */
183 if ((go_on == 1) && (ret == 0))
213 int ret; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
3-2.c 51 * UNRESOLVED(ret, descr);
52 * where descr is a description of the error and ret is an int
103 int ret, status; local
107 ret = pthread_mutex_lock(&mtx);
109 if (ret != 0) {
110 UNRESOLVED(ret, "Failed to lock mutex");
113 ret = pthread_mutex_unlock(&mtx);
115 if (ret != 0) {
116 UNRESOLVED(ret, "Failed to unlock mutex");
166 int ret, i local
    [all...]
  /external/valgrind/memcheck/tests/solaris/
spawn.c 22 int ret = system(EXE_NAME); local
23 if (ret != 0)
27 ret = system(NULL);
28 if (ret == 0)
34 ret = posix_spawn(&child, EXE_NAME, NULL, NULL, argv_exe, envp);
35 if (ret != 0)
41 ret = posix_spawn_file_actions_init(&fa);
42 if (ret != 0)
44 ret = posix_spawn_file_actions_addopen(&fa, 10, "/dev/null", O_RDONLY, 0);
45 if (ret != 0
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
4-1.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
84 int ret = 0; local
97 ret = pthread_getschedparam(thread, &t_pol, &t_parm);
99 if (ret != 0) {
100 UNRESOLVED(ret, "Failed to get thread's parameters");
115 int ret = 0; local
122 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp);
124 if (ret != 0) {
125 UNRESOLVED(ret,
160 int ret = 0; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
2-2.c 51 * UNRESOLVED(ret, descr);
52 * where descr is a description of the error and ret is an int
82 int ret; local
85 ret = sem_wait(arg);
86 } while ((ret != 0) && (errno == EINTR));
88 if (ret != 0) {
98 int ret, val; local
106 ret = sem_init(&sem, 0, 0);
108 if (ret != 0) {
113 ret = pthread_create(&th, NULL, threaded, &sem)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
13-1.c 56 int ret; local
57 ret = sem_post(&sem);
59 if (ret != 0) {
66 int ret; local
72 ret = sem_init(&sem, 0, 0);
74 if (ret != 0) {
81 ret = sigemptyset(&sa.sa_mask);
83 if (ret != 0) {
84 UNRESOLVED(ret, "Failed to empty signal set");
89 if (ret != 0)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
23-1.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGABRT again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]
23-10.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGPIPE again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]
23-11.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGQUIT again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]
23-12.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGSEGV again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]
23-13.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGTERM again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]
23-14.c 52 * UNRESOLVED(ret, descr);
53 * where descr is a description of the error and ret is an int
87 int ret; local
98 ret = raise(SIGNAL);
100 if (ret != 0) {
101 UNRESOLVED(ret, "Failed to raise SIGTSTP again");
105 ret = sigpending(&pending);
107 if (ret != 0) {
108 UNRESOLVED(ret, "Failed to get pending signal set");
111 ret = sigismember(&pending, SIGNAL)
124 int ret; local
    [all...]

Completed in 911 milliseconds

1 2 34 5 6 7 8 91011>>