Home
last modified time | relevance | path

Searched refs:exit_val (Results 1 – 25 of 26) sorted by relevance

12

/external/ltp/testcases/kernel/containers/pidns/
Dpidns17.c61 int children[10], exit_val, i, status; in child_fn() local
72 exit_val = 0; in child_fn()
79 exit_val = 1; in child_fn()
96 exit_val = 1; in child_fn()
104 exit_val = 1; in child_fn()
119 exit_val = 1; in child_fn()
122 if (exit_val == 0) in child_fn()
125 exit(exit_val); in child_fn()
Dpidns10.c60 int exit_val, ret; in child_fn() local
74 exit_val = 0; in child_fn()
78 exit_val = 1; in child_fn()
80 exit(exit_val); in child_fn()
Dpidns01.c71 int exit_val; in child_fn1() local
79 exit_val = 0; in child_fn1()
83 exit_val = 1; in child_fn1()
86 return exit_val; in child_fn1()
Dpidns05.c111 int exit_val; in create_nested_container() local
128 exit_val = 1; in create_nested_container()
138 exit_val = 1; in create_nested_container()
140 exit_val = 0; in create_nested_container()
144 exit_val = 0; in create_nested_container()
150 return exit_val; in create_nested_container()
Dpidns04.c76 int exit_val; in child_fn1() local
93 exit_val = 0; in child_fn1()
97 exit_val = 1; in child_fn1()
99 exit(exit_val); in child_fn1()
/external/ltp/testcases/kernel/containers/userns/
Duserns06.c51 int exit_val = 0; in child_fn1() local
59 exit_val = 1; in child_fn1()
62 return exit_val; in child_fn1()
70 int exit_val = 0; in child_fn2() local
81 exit_val = 1; in child_fn2()
87 exit_val = 1; in child_fn2()
90 return exit_val; in child_fn2()
Duserns03.c78 int exit_val = 0; in child_fn2() local
91 exit_val = 1; in child_fn2()
106 exit_val = 1; in child_fn2()
120 exit_val = 1; in child_fn2()
131 exit_val = 1; in child_fn2()
141 exit_val = 1; in child_fn2()
146 return exit_val; in child_fn2()
Duserns01.c52 int exit_val = 0; in child_fn1() local
67 exit_val = 1; in child_fn1()
84 exit_val = 1; in child_fn1()
89 return exit_val; in child_fn1()
Duserns04.c56 int exit_val = 0; in child_fn2() local
62 exit_val = 1; in child_fn2()
66 exit_val = 1; in child_fn2()
70 return exit_val; in child_fn2()
Duserns02.c44 int exit_val; in child_fn1() local
53 exit_val = 0; in child_fn1()
56 exit_val = 1; in child_fn1()
59 return exit_val; in child_fn1()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D11-6.c53 int i, exit_val, ret, size; in main() local
103 wait(&exit_val); in main()
104 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
107 if (WIFEXITED(exit_val)) in main()
108 return WEXITSTATUS(exit_val); in main()
D11-5.c53 int i, exit_val, ret, size; in main() local
103 wait(&exit_val); in main()
104 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
107 if (WIFEXITED(exit_val)) in main()
108 return WEXITSTATUS(exit_val); in main()
D11-4.c59 int i, exit_val; in main() local
124 wait(&exit_val); in main()
125 if (!(WIFEXITED(exit_val) && (WEXITSTATUS(exit_val) == PTS_PASS))) { in main()
128 if (WIFEXITED(exit_val)) in main()
129 return WEXITSTATUS(exit_val); in main()
/external/jemalloc_new/android/
Drun_jemalloc_tests.sh110 local exit_val=$?
114 if [[ ${exit_val} -ne 0 ]] && [[ ${exit_val} -ne 1 ]]; then
115 echo "*** $test failed: ${exit_val}"
/external/toolchain-utils/binary_search_tool/android/
Dtest_setup.sh119 exit_val=0
122 exit_val=$?
126 exit_val=1
130 exit ${exit_val}
/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c71 exit_val = val; \
72 dprt("pid[%d]: exiting with %d\n", getpid(),exit_val); \
73 pthread_exit((void *)(uintptr_t)exit_val); \
183 volatile int exit_val = 0; /* exit value of the pthread */ in shmat_rd_wr() local
/external/ltp/testcases/kernel/syscalls/sigrelse/
Dsigrelse01.c383 int exit_val; /* exit value to send to parent */ in child() local
449 exit_val = EXIT_OK; in child()
486 exit_val = TBROK; in child()
503 if (exit_val == EXIT_OK) { in child()
518 exit(exit_val); in child()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_open_tests.c62 void shutdown(int exit_val, char *err_cause, int line_no);
79 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() argument
113 if (exit_val) in shutdown()
114 error(exit_val, errno, "%s at %d", err_cause, line_no); in shutdown()
Dmq_perf_tests.c154 void shutdown(int exit_val, char *err_cause, int line_no);
173 void shutdown(int exit_val, char *err_cause, int line_no) in shutdown() argument
204 if (exit_val) in shutdown()
205 error(exit_val, errno_at_shutdown, "%s at %d", in shutdown()
/external/llvm-project/openmp/runtime/src/
Dz_Windows_NT_util.cpp956 void *exit_val; in __kmp_launch_worker() local
998 exit_val = __kmp_launch_thread(this_thr); in __kmp_launch_worker()
1002 return exit_val; in __kmp_launch_worker()
1254 int __kmp_is_thread_alive(kmp_info_t *th, DWORD *exit_val) { in __kmp_is_thread_alive() argument
1256 rc = GetExitCodeThread(th->th.th_info.ds.ds_thread, exit_val); in __kmp_is_thread_alive()
1262 return (*exit_val == STILL_ACTIVE); in __kmp_is_thread_alive()
1271 DWORD exit_val; in __kmp_reap_common() local
1300 __kmp_is_thread_alive(th, &exit_val); in __kmp_reap_common()
1302 } while (exit_val == STILL_ACTIVE && TCR_4(th->th.th_info.ds.ds_alive)); in __kmp_reap_common()
1304 if (exit_val == STILL_ACTIVE) { in __kmp_reap_common()
[all …]
Dz_Linux_util.cpp527 void *exit_val; in __kmp_launch_worker() local
589 exit_val = __kmp_launch_thread((kmp_info_t *)thr); in __kmp_launch_worker()
596 return exit_val; in __kmp_launch_worker()
1054 void *exit_val; in __kmp_reap_monitor() local
1080 status = pthread_join(th->th.th_info.ds.ds_thread, &exit_val); in __kmp_reap_monitor()
1081 if (exit_val != th) { in __kmp_reap_monitor()
1098 void *exit_val; in __kmp_reap_worker() local
1105 status = pthread_join(th->th.th_info.ds.ds_thread, &exit_val); in __kmp_reap_worker()
1111 if (exit_val != th) { in __kmp_reap_worker()
1114 th->th.th_info.ds.ds_gtid, exit_val)); in __kmp_reap_worker()
Dkmp_tasking.cpp3462 DWORD exit_val; in __kmp_wait_to_unref_task_teams() local
3471 if (!__kmp_is_thread_alive(thread, &exit_val)) { in __kmp_wait_to_unref_task_teams()
Dkmp.h3479 extern int __kmp_is_thread_alive(kmp_info_t *th, DWORD *exit_val);
/external/ltp/testcases/kernel/fs/inode/
Dinode02.c241 int gen_ret_val, ch_ret_val, exit_val, level; in tree() local
346 exit_val = MIN(ch_ret_val, gen_ret_val); in tree()
372 exit(exit_val); in tree()
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
Dexit_value_test2.ll112 %exit_val = phi i32 [ %unknown_phi, %loop ]
113 ret i32 %exit_val

12