HomeSort by relevance Sort by last modified time
    Searched refs:scenarii (Results 1 - 25 of 44) sorted by null

1 2

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
threads_scenarii.c 19 * scenarii: array of struct __scenario type.
20 * NSCENAR : macro giving the total # of scenarii
21 * scenar_init(): function to call before use the scenarii array.
22 * scenar_fini(): function to call after end of use of the scenarii array.
88 } scenarii[] = variable in typeref:struct:__scenario
188 #define NSCENAR (sizeof(scenarii) / sizeof(scenarii[0]))
192 * in the scenarii array
224 i, scenarii[i].descr);
227 ret = pthread_attr_init(&scenarii[i].ta)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
threads_scenarii.c 19 * scenarii: array of struct __scenario type.
20 * NSCENAR : macro giving the total # of scenarii
21 * scenar_init(): function to call before use the scenarii array.
22 * scenar_fini(): function to call after end of use of the scenarii array.
45 } scenarii[] = variable in typeref:struct:__scenario
138 #define NSCENAR (sizeof(scenarii) / sizeof(scenarii[0]))
140 /* This function will initialize every pthread_attr_t object in the scenarii array */
172 scenarii[i].descr);
175 ret = pthread_attr_init(&scenarii[i].ta)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
threads_scenarii.c 19 * scenarii: array of struct __scenario type.
20 * NSCENAR : macro giving the total # of scenarii
21 * scenar_init(): function to call before use the scenarii array.
22 * scenar_fini(): function to call after end of use of the scenarii array.
45 } scenarii[] = variable in typeref:struct:__scenario
138 #define NSCENAR (sizeof(scenarii) / sizeof(scenarii[0]))
140 /* This function will initialize every pthread_attr_t object in the scenarii array */
172 scenarii[i].descr);
175 ret = pthread_attr_init(&scenarii[i].ta)
    [all...]
stress.c 93 * scenarii: array of struct __scenario type.
94 * NSCENAR : macro giving the total # of scenarii
95 * scenar_init(): function to call before use the scenarii array.
96 * scenar_fini(): function to call after end of use of the scenarii array.
135 pthread_cleanup_push(cleanup, &scenarii[sc].sem);
158 /* Initialize scenarii table */
180 if (scenarii[sc].altstack != 0)
185 &scenarii[sc].ta, threaded,
187 switch (scenarii[sc].result) {
223 sem_wait(&scenarii[sc].sem)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
threads_scenarii.c 19 * scenarii: array of struct __scenario type.
20 * NSCENAR : macro giving the total # of scenarii
21 * scenar_init(): function to call before use the scenarii array.
22 * scenar_fini(): function to call after end of use of the scenarii array.
45 } scenarii[] = variable in typeref:struct:__scenario
205 #define NSCENAR (sizeof(scenarii) / sizeof(scenarii[0]))
207 /* This function will initialize every pthread_attr_t object in the scenarii array */
239 scenarii[i].descr);
242 ret = pthread_attr_init(&scenarii[i].ta)
    [all...]
stress.c 86 * scenarii: array of struct __scenario type.
87 * NSCENAR : macro giving the total # of scenarii
88 * scenar_init(): function to call before use the scenarii array.
89 * scenar_fini(): function to call after end of use of the scenarii array.
141 ret = sem_post(&scenarii[me].sem);
148 output("[child%d] posted semaphore %p\n", me, &scenarii[me].sem);
215 pthread_create(&creation[sc], &scenarii[sc].ta,
219 switch (scenarii[sc].result) {
249 sc, &scenarii[sc].sem);
252 ret = sem_wait(&scenarii[sc].sem)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
1-2.c 91 * scenarii: array of struct __scenario type.
92 * NSCENAR : macro giving the total # of scenarii
93 * scenar_init(): function to call before use the scenarii array.
94 * scenar_fini(): function to call after end of use of the scenarii array.
114 ret = sem_post(&(scenarii[sc].sem));
137 scenarii[sc].descr);
140 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */
142 pthread_attr_setdetachstate(&scenarii[sc].ta,
150 /* for detached scenarii, we will call pthread_detach from inside the thread.
151 for joinable scenarii, we'll call pthread_detach from this thread. *
    [all...]
2-2.c 92 * scenarii: array of struct __scenario type.
93 * NSCENAR : macro giving the total # of scenarii
94 * scenar_init(): function to call before use the scenarii array.
95 * scenar_fini(): function to call after end of use of the scenarii array.
125 ret = sem_post(&(scenarii[sc].sem));
154 scenarii[sc].descr);
157 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */
159 pthread_attr_setdetachstate(&scenarii[sc].ta,
167 /* for detached scenarii, we will call pthread_detach from inside the thread.
168 for joinable scenarii, we'll call pthread_detach from this thread. *
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
1-5.c 96 * scenarii: array of struct __scenario type.
97 * NSCENAR : macro giving the total # of scenarii
98 * scenar_init(): function to call before use the scenarii array.
99 * scenar_fini(): function to call after end of use of the scenarii array.
123 ret = sem_post(&scenarii[sc].sem);
166 if (scenarii[sc].bottom != NULL) {
173 stack_start = (intptr_t) scenarii[sc].bottom;
179 output("Stack bottom: %p\n", scenarii[sc].bottom);
191 if ((scenarii[sc].bottom == NULL) /* no alternative stack was specified */
192 &&(scenarii[sc].guard == 2) /* guard area size is 1 memory page *
    [all...]
15-1.c 90 * scenarii: array of struct __scenario type.
91 * NSCENAR : macro giving the total # of scenarii
92 * scenar_init(): function to call before use the scenarii array.
93 * scenar_fini(): function to call after end of use of the scenarii array.
116 if (scenarii[sc].bottom != NULL) {
136 output("Current stack : %p -> %p\n", scenarii[sc].bottom,
137 sz + (long)scenarii[sc].bottom);
141 if ((((long)scenarii[sc].bottom) < ((long)child_stack))
143 (((long)scenarii[sc].bottom) + sz))) {
151 ret = sem_post(&scenarii[sc].sem)
    [all...]
3-2.c 102 * scenarii: array of struct __scenario type.
103 * NSCENAR : macro giving the total # of scenarii
104 * scenar_init(): function to call before use the scenarii array.
105 * scenar_fini(): function to call after end of use of the scenarii array.
395 ret = sem_post(&scenarii[sc].sem);
431 scenarii[sc].descr);
437 if ((scenarii[sc].altstack == 0)
438 && (scenarii[sc].altsize == 1)) {
444 test_stack(&scenarii[sc].ta,
449 if (scenarii[sc].guard == 2)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
1-2.c 92 * scenarii: array of struct __scenario type.
93 * NSCENAR : macro giving the total # of scenarii
94 * scenar_init(): function to call before use the scenarii array.
95 * scenar_fini(): function to call after end of use of the scenarii array.
123 if (scenarii[i].detached == 0) {
127 scenarii[i].descr);
131 pthread_create(&child, &scenarii[i].ta, threaded,
133 switch (scenarii[i].result) {
4-1.c 90 * scenarii: array of struct __scenario type.
91 * NSCENAR : macro giving the total # of scenarii
92 * scenar_init(): function to call before use the scenarii array.
93 * scenar_fini(): function to call after end of use of the scenarii array.
120 not be an issue in our case, as long as we don't get more than 32 scenarii
145 if (scenarii[i].detached == 0) {
149 scenarii[i].descr);
153 pthread_create(&child, &scenarii[i].ta, threaded,
155 switch (scenarii[i].result) {
2-2.c 90 * scenarii: array of struct __scenario type.
91 * NSCENAR : macro giving the total # of scenarii
92 * scenar_init(): function to call before use the scenarii array.
93 * scenar_fini(): function to call after end of use of the scenarii array.
141 if (scenarii[i].detached == 0) {
145 scenarii[i].descr);
153 pthread_create(&child, &scenarii[i].ta, threaded,
155 switch (scenarii[i].result) {
5-1.c 89 * scenarii: array of struct __scenario type.
90 * NSCENAR : macro giving the total # of scenarii
91 * scenar_init(): function to call before use the scenarii array.
92 * scenar_fini(): function to call after end of use of the scenarii array.
171 if (scenarii[i].detached == 0) {
175 scenarii[i].descr);
181 pthread_create(&child, &scenarii[i].ta, threaded,
183 switch (scenarii[i].result) {
6-1.c 96 * scenarii: array of struct __scenario type.
97 * NSCENAR : macro giving the total # of scenarii
98 * scenar_init(): function to call before use the scenarii array.
99 * scenar_fini(): function to call after end of use of the scenarii array.
182 ret = sem_post(&scenarii[sc].sem);
260 scenarii[sc].descr);
263 ret = pthread_create(&child, &scenarii[sc].ta, threaded, &ctl);
264 switch (scenarii[sc].result) {
292 if (scenarii[sc].detached == 0) {
301 ret = sem_wait(&scenarii[sc].sem)
    [all...]
3-2.c 91 * scenarii: array of struct __scenario type.
92 * NSCENAR : macro giving the total # of scenarii
93 * scenar_init(): function to call before use the scenarii array.
94 * scenar_fini(): function to call after end of use of the scenarii array.
174 if (scenarii[i].detached == 0) {
178 scenarii[i].descr);
186 pthread_create(&child, &scenarii[i].ta, threaded,
188 switch (scenarii[i].result) {
6-2.c 90 * scenarii: array of struct __scenario type.
91 * NSCENAR : macro giving the total # of scenarii
92 * scenar_init(): function to call before use the scenarii array.
93 * scenar_fini(): function to call after end of use of the scenarii array.
107 ret = sem_post(&scenarii[sc].sem);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
2-2.c 83 } scenarii[] = { variable in typeref:struct:_scenar
103 #define NSCENAR (sizeof(scenarii)/sizeof(scenarii[0]))
130 ret = pthread_mutexattr_settype(&ma[i], scenarii[i].m_type);
136 if ((pshared > 0) && (scenarii[i].m_pshared != 0)) {
173 stri = scenarii[i].descr;
179 strj = scenarii[j].descr;
5-2.c 84 } scenarii[] = { variable in typeref:struct:_scenar
104 #define NSCENAR (sizeof(scenarii)/sizeof(scenarii[0]))
131 ret = pthread_mutexattr_settype(&ma[i], scenarii[i].m_type);
137 if ((pshared > 0) && (scenarii[i].m_pshared != 0)) {
172 stri = scenarii[i].descr;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
4-1.c 94 if (scenarii[sc].detached == 1)
100 sc, scenarii[sc].descr);
108 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL);
110 switch (scenarii[sc].result) {
1-2.c 80 if (scenarii[sc].detached == 1)
85 sc, scenarii[sc].descr);
91 ret = pthread_create(&child, &scenarii[sc].ta,
94 switch (scenarii[sc].result) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
1-2.c 97 } scenarii[] = { variable in typeref:struct:_scenar
135 #define NSCENAR (sizeof(scenarii)/sizeof(scenarii[0]))
269 scenarii[sc].descr);
280 ret = pthread_mutexattr_settype(&ma, scenarii[sc].m_type);
285 output("[parent] Mutex type : %i\n", scenarii[sc].m_type);
290 if ((pshared > 0) && (scenarii[sc].m_pshared != 0)) {
309 if ((pshared > 0) && (scenarii[sc].fork != 0)) {
343 if (scenarii[sc].m_type == PTHREAD_MUTEX_RECURSIVE) {
2-1.c 102 } scenarii[] = { variable in typeref:struct:_scenar
112 #define NSCENAR (sizeof(scenarii)/sizeof(scenarii[0]))
235 scenarii[sc].descr);
246 ret = pthread_mutexattr_settype(&ma, scenarii[sc].m_type);
251 output("[parent] Mutex type : %i\n", scenarii[sc].m_type);
255 if ((pshared > 0) && (scenarii[sc].m_pshared != 0)) {
274 if ((pshared > 0) && (scenarii[sc].fork != 0)) {
308 if (scenarii[sc].m_type == PTHREAD_MUTEX_RECURSIVE) {
4-2.c 95 } scenarii[] = { variable in typeref:struct:_scenar
133 #define NSCENAR (sizeof(scenarii)/sizeof(scenarii[0]))
270 scenarii[sc].descr);
281 ret = pthread_mutexattr_settype(&ma, scenarii[sc].m_type);
286 output("[parent] Mutex type : %i\n", scenarii[sc].m_type);
291 if ((pshared > 0) && (scenarii[sc].m_pshared != 0)) {
310 if ((pshared > 0) && (scenarii[sc].fork != 0)) {

Completed in 192 milliseconds

1 2