/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-5.c | 73 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 D | 2-6.c | 61 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 D | 2-4.c | 71 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 D | 2-7.c | 73 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 D | 4-2.c | 205 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 D | 4-3.c | 74 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 D | 2-1.c | 208 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 D | s-c1.c | 101 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 D | s-c.c | 91 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 D | stress.c | 87 pthread_cond_t cnd; local 101 pcnd = &cnd;
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
H A D | stress1.c | 218 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 D | s-c.c | 108 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 D | stress2.c | 196 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 D | stress1.c | 219 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 D | stress.c | 196 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 D | stress2.c | 196 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 D | 1-2.c | 206 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 D | 4-2.c | 100 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 D | 2-3.c | 90 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 D | 2-2.c | 99 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 D | 4-1.c | 102 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 D | sb_if_conversion.cpp | 62 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 D | 1-2.c | 165 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 D | 2-3.c | 150 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 D | 4-2.c | 69 pthread_cond_t cnd; member in struct:__anon14001 140 ret = pthread_cond_wait(&(data.cnd), &(data.mtx)); 167 ret = pthread_cond_broadcast(&(data.cnd));
|