Searched refs:cnd (Results 1 - 25 of 27) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-5.c73 pthread_cond_t cnd; /* The cond var c */ member in struct:_td
104 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1));
106 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1),
139 ret = pthread_cond_wait(&(data.cnd), &(data.mtx2));
141 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2),
282 ret = pthread_cond_init(&(data.cnd), &ca);
331 ret = pthread_cond_broadcast(&(data.cnd));
333 UNRESOLVED(ret, "Unable to broadcast cnd");
357 ret = pthread_cond_destroy(&(data.cnd));
H A D2-6.c61 pthread_cond_t cnd; member in struct:__anon14008
181 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx), &ts);
339 ret = pthread_cond_init(&(data.cnd), &ca);
437 ret = pthread_cond_destroy(&(data.cnd));
H A D2-4.c71 pthread_cond_t cnd; member in struct:__anon14006
190 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts);
452 ret = pthread_cond_init(&(td->cnd), &ca);
544 ret = pthread_cond_signal(&(td->cnd));
606 ret = pthread_cond_destroy(&(td->cnd));
H A D2-7.c73 pthread_cond_t cnd; member in struct:__anon14010
197 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts);
457 ret = pthread_cond_init(&(td->cnd), &ca);
608 ret = pthread_cond_destroy(&(td->cnd));
H A D4-2.c205 pthread_cond_t cnd; local
417 ret = pthread_cond_init(&cnd, &ca);
516 pthread_cond_timedwait(&cnd, &(td->mtx),
594 ret = pthread_cond_destroy(&cnd);
H A D4-3.c74 pthread_cond_t cnd; member in struct:__anon14014
169 pthread_cond_timedwait(&(data.cnd), &(data.mtx),
223 ret = pthread_cond_signal(&(data.cnd));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
H A D2-1.c208 pthread_cond_t cnd; member in struct:__anon14002
247 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts);
249 ret = pthread_cond_wait(&td->cnd, &td->mtx1);
294 ret = pthread_cond_timedwait(&td->cnd, &td->mtx2, &ts);
296 ret = pthread_cond_wait(&td->cnd, &td->mtx2);
526 ret = pthread_cond_init(&td->cnd, &ca);
606 ret = pthread_cond_broadcast(&td->cnd);
620 ret = pthread_cond_destroy(&td->cnd);
628 memset(&td->cnd, 0xFF, sizeof(pthread_cond_t));
667 ret = pthread_cond_init(&td->cnd,
[all...]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
H A Ds-c1.c101 pthread_cond_t cnd; variable
157 ret = pthread_cond_signal(&cnd);
195 /* Init the cnd */
200 ret = pthread_cond_init(&cnd, NULL);
202 UNRESOLVED(ret, "Unable to initialize 'cnd'");
284 /* wait for cnd */
286 ret = pthread_cond_wait(&cnd, &m);
290 UNRESOLVED(ret, "Unable to wait for 'cnd'");
313 ret = pthread_cond_destroy(&cnd);
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/
H A Ds-c.c91 pthread_cond_t cnd[10 * SCALABILITY_FACTOR]; member in struct:_teststruct
190 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
194 ret = pthread_cond_destroy(&(cur->cnd[i]));
198 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
202 ret = pthread_cond_destroy(&(cur->cnd[i]));
206 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]);
249 ret = pthread_cond_destroy(&(cur->cnd[i]));
H A Dstress.c87 pthread_cond_t cnd; local
101 pcnd = &cnd;
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress1.c218 pthread_cond_t cnd; member in struct:childdata
246 ret = pthread_cond_broadcast(&(cd->cnd));
258 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
269 ret = pthread_cond_broadcast(&(cd->cnd));
327 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
336 ret = pthread_cond_signal(&(cd->cnd));
608 ret = pthread_cond_init(&(CD.cnd), &ca);
683 ret = pthread_cond_destroy(&(td->cd[i].cnd));
H A Ds-c.c108 pthread_cond_t *cnd; member in struct:__anon14035
188 * This function will do a timedwait on the cond cnd after locking mtx.
192 void do_measure(pthread_mutex_t * mtx, pthread_cond_t * cnd, clockid_t cid, argument
219 rc = pthread_cond_timedwait(cnd, mtx, &ts_cnd);
272 ret = pthread_cond_wait(dt->cnd, dt->mtx);
309 pthread_cond_t cnd; local
319 td.cnd = &cnd;
394 ret = pthread_cond_init(&cnd, &ca);
423 ret = pthread_cond_broadcast(&cnd);
[all...]
H A Dstress2.c196 pthread_cond_t cnd; member in struct:celldata
250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
265 ret = pthread_cond_broadcast(&(cd->cnd));
302 ret = pthread_cond_signal(&(cd->cnd));
554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd),
650 ret = pthread_cond_destroy(&(cells[i].cnd));
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress1.c219 pthread_cond_t cnd; member in struct:childdata
245 ret = pthread_cond_broadcast(&(cd->cnd));
252 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx));
259 ret = pthread_cond_broadcast(&(cd->cnd));
310 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx));
315 ret = pthread_cond_signal(&(cd->cnd));
593 ret = pthread_cond_init(&(CD.cnd), &ca);
671 ret = pthread_cond_destroy(&(td->cd[i].cnd));
H A Dstress.c196 pthread_cond_t cnd; member in struct:celldata
250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
265 ret = pthread_cond_broadcast(&(cd->cnd));
302 ret = pthread_cond_signal(&(cd->cnd));
554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd),
650 ret = pthread_cond_destroy(&(cells[i].cnd));
H A Dstress2.c196 pthread_cond_t cnd; member in struct:celldata
250 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts);
265 ret = pthread_cond_broadcast(&(cd->cnd));
302 ret = pthread_cond_signal(&(cd->cnd));
554 pthread_cond_init(&(cells[i + j * NSCENAR].cnd),
650 ret = pthread_cond_destroy(&(cells[i].cnd));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D1-2.c206 pthread_cond_t cnd; member in struct:__anon14003
244 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
246 ret = pthread_cond_wait(&td->cnd, &td->mtx);
261 ret = pthread_cond_signal(&td->cnd);
467 ret = pthread_cond_init(&td->cnd, &ca);
561 ret = pthread_cond_signal(&td->cnd);
629 ret = pthread_cond_destroy(&td->cnd);
H A D4-2.c100 pthread_cond_t cnd; member in struct:__anon14005
177 ret = pthread_cond_wait(&(data.cnd), &(data.mtx));
208 ret = pthread_cond_signal(&(data.cnd));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
H A D2-3.c90 pthread_cond_t cnd; member in struct:__anon14016
191 ret = pthread_cond_wait(&(data.cnd), &(data.mtx));
348 ret = pthread_cond_init(&(data.cnd), &ca);
437 ret = pthread_cond_destroy(&(data.cnd));
H A D2-2.c99 pthread_cond_t cnd; member in struct:__anon14015
205 ret = pthread_cond_wait(&(td->cnd), &(td->mtx));
466 ret = pthread_cond_init(&(td->cnd), &ca);
558 ret = pthread_cond_signal(&(td->cnd));
620 ret = pthread_cond_destroy(&(td->cnd));
H A D4-1.c102 pthread_cond_t cnd; member in struct:__anon14019
179 ret = pthread_cond_wait(&(data.cnd), &(data.mtx));
234 ret = pthread_cond_signal(&(data.cnd));
/external/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_if_conversion.cpp62 value *cnd = NULL; local
92 if (!cnd) {
93 cnd = get_select_value_for_em(sh, em);
102 a->src[0] = cnd;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D1-2.c165 pthread_cond_t cnd; member in struct:testdata
201 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
203 ret = pthread_cond_wait(&td->cnd, &td->mtx);
482 ret = pthread_cond_init(&td->cnd, &ca);
608 ret = pthread_cond_broadcast(&td->cnd);
671 ret = pthread_cond_destroy(&td->cnd);
H A D2-3.c150 pthread_cond_t cnd; member in struct:testdata
191 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts);
193 ret = pthread_cond_wait(&td->cnd, &td->mtx);
412 ret = pthread_cond_init(&td->cnd, &ca);
491 ret = pthread_cond_broadcast(&td->cnd);
549 ret = pthread_cond_destroy(&td->cnd);
H A D4-2.c69 pthread_cond_t cnd; member in struct:__anon14001
140 ret = pthread_cond_wait(&(data.cnd), &(data.mtx));
167 ret = pthread_cond_broadcast(&(data.cnd));

Completed in 352 milliseconds

12