/third_party/typescript/tests/baselines/reference/ |
D | objectSpreadRepeatedComplexity.types | 2 function f(cnd: Record<number, boolean>){ 3 >f : (cnd: Record<number, boolean>) => { prop20a?: number | undefined; prop20b?: number | undefined… 4 >cnd : Record<number, boolean> 8 …cnd[1] && cnd[2] && { prop0: 0, }), // With one prop each, it … 11 ...(cnd[1] && 12 >(cnd[1] && cnd[2] && { prop0: 0, }) : false | { prop0: number; } 13 >cnd[1] && cnd[2] && { prop0: 0, } : false | { prop0: number; } 14 >cnd[1] && cnd[2] : boolean 15 >cnd[1] : boolean 16 >cnd : Record<number, boolean> [all …]
|
D | objectSpreadRepeatedComplexity.js | 2 function f(cnd: Record<number, boolean>){ 6 ...(cnd[1] && 7 cnd[2] && { 12 ...(cnd[3] && { 16 ...(cnd[4] && { 20 ...(cnd[5] && { 24 ...(cnd[6] && { 28 ...(cnd[7] && { 32 ...(cnd[8] && { 36 ...(cnd[9] && { [all …]
|
D | objectSpreadRepeatedComplexity.symbols | 2 function f(cnd: Record<number, boolean>){ 4 >cnd : Symbol(cnd, Decl(objectSpreadRepeatedComplexity.ts, 0, 11)) 10 ...(cnd[1] && 11 >cnd : Symbol(cnd, Decl(objectSpreadRepeatedComplexity.ts, 0, 11)) 13 cnd[2] && { 14 >cnd : Symbol(cnd, Decl(objectSpreadRepeatedComplexity.ts, 0, 11)) 22 ...(cnd[3] && { 23 >cnd : Symbol(cnd, Decl(objectSpreadRepeatedComplexity.ts, 0, 11)) 32 ...(cnd[4] && { 33 >cnd : Symbol(cnd, Decl(objectSpreadRepeatedComplexity.ts, 0, 11)) [all …]
|
D | intersectionAndUnionTypes.js | 13 var cnd: C & D; variable 25 x = cnd; // Ok 29 cnd = x; 34 y = cnd; 38 cnd = y; 49 var cnd; variable 59 x = cnd; // Ok 63 cnd = x; 67 y = cnd; 71 cnd = y;
|
D | intersectionAndUnionTypes.types | 32 var cnd: C & D; 33 >cnd : C & D 74 x = cnd; // Ok 75 >x = cnd : C & D 77 >cnd : C & D 94 cnd = x; 95 >cnd = x : (A & B) | (C & D) 96 >cnd : C & D 114 y = cnd; 115 >y = cnd : C & D [all …]
|
D | intersectionAndUnionTypes.symbols | 44 var cnd: C & D; 45 >cnd : Symbol(cnd, Decl(intersectionAndUnionTypes.ts, 11, 3)) 92 x = cnd; // Ok 94 >cnd : Symbol(cnd, Decl(intersectionAndUnionTypes.ts, 11, 3)) 108 cnd = x; 109 >cnd : Symbol(cnd, Decl(intersectionAndUnionTypes.ts, 11, 3)) 124 y = cnd; 126 >cnd : Symbol(cnd, Decl(intersectionAndUnionTypes.ts, 11, 3)) 140 cnd = y; 141 >cnd : Symbol(cnd, Decl(intersectionAndUnionTypes.ts, 11, 3))
|
/third_party/typescript/tests/cases/conformance/types/spread/ |
D | objectSpreadRepeatedComplexity.ts | 2 function f(cnd: Record<number, boolean>){ 6 ...(cnd[1] && 7 cnd[2] && { 12 ...(cnd[3] && { 16 ...(cnd[4] && { 20 ...(cnd[5] && { 24 ...(cnd[6] && { 28 ...(cnd[7] && { 32 ...(cnd[8] && { 36 ...(cnd[9] && { [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | cnd_wait.c | 21 cnd_t cnd; variable 26 res = cnd_wait(&cnd, &mtx); in cnd_waitfirst() 40 cnd_init(&cnd); in cnd_wait_0100() 46 cnd_signal(&cnd); in cnd_wait_0100() 49 cnd_destroy(&cnd); in cnd_wait_0100()
|
/third_party/typescript/tests/cases/conformance/types/intersection/ |
D | intersectionAndUnionTypes.ts | 12 var cnd: C & D; variable 24 x = cnd; // Ok 28 cnd = x; 33 y = cnd; 37 cnd = y;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
D | 2-1.c | 201 pthread_cond_t cnd; member 240 ret = pthread_cond_timedwait(&td->cnd, &td->mtx1, &ts); in child() 242 ret = pthread_cond_wait(&td->cnd, &td->mtx1); in child() 287 ret = pthread_cond_timedwait(&td->cnd, &td->mtx2, &ts); in child() 289 ret = pthread_cond_wait(&td->cnd, &td->mtx2); in child() 519 ret = pthread_cond_init(&td->cnd, &ca); in main() 599 ret = pthread_cond_broadcast(&td->cnd); in main() 613 ret = pthread_cond_destroy(&td->cnd); in main() 621 memset(&td->cnd, 0xFF, sizeof(pthread_cond_t)); in main() 660 ret = pthread_cond_init(&td->cnd, &ca); in main() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
D | s-c.c | 86 pthread_cond_t cnd[10 * SCALABILITY_FACTOR]; member 185 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main() 189 ret = pthread_cond_destroy(&(cur->cnd[i])); in main() 193 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main() 197 ret = pthread_cond_destroy(&(cur->cnd[i])); in main() 201 ret = pthread_cond_init(&(cur->cnd[i]), cur->pca[i]); in main() 244 ret = pthread_cond_destroy(&(cur->cnd[i])); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-5.c | 67 pthread_cond_t cnd; /* The cond var c */ member 98 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1)); in threaded() 100 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx1), in threaded() 133 ret = pthread_cond_wait(&(data.cnd), &(data.mtx2)); in threaded() 135 ret = pthread_cond_timedwait(&(data.cnd), &(data.mtx2), in threaded() 276 ret = pthread_cond_init(&(data.cnd), &ca); in main() 325 ret = pthread_cond_broadcast(&(data.cnd)); in main() 351 ret = pthread_cond_destroy(&(data.cnd)); in main()
|
D | 2-4.c | 63 pthread_cond_t cnd; member 182 ret = pthread_cond_timedwait(&(td->cnd), &(td->mtx), &ts); in tf() 445 ret = pthread_cond_init(&(td->cnd), &ca); in main() 537 ret = pthread_cond_signal(&(td->cnd)); in main() 599 ret = pthread_cond_destroy(&(td->cnd)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/ |
D | s-c1.c | 93 static pthread_cond_t cnd; variable 149 ret = pthread_cond_signal(&cnd); in threaded() 192 ret = pthread_cond_init(&cnd, NULL); in main() 278 ret = pthread_cond_wait(&cnd, &m); in main() 305 ret = pthread_cond_destroy(&cnd); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
D | stress1.c | 211 pthread_cond_t cnd; member 237 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B() 244 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); in threaded_B() 251 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B() 302 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); in threaded_A() 307 ret = pthread_cond_signal(&(cd->cnd)); in threaded_A() 585 ret = pthread_cond_init(&(CD.cnd), &ca); in main() 663 ret = pthread_cond_destroy(&(td->cd[i].cnd)); in main()
|
D | stress2.c | 189 pthread_cond_t cnd; member 243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker() 258 ret = pthread_cond_broadcast(&(cd->cnd)); in worker() 295 ret = pthread_cond_signal(&(cd->cnd)); in signaler() 547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main() 643 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
|
D | stress.c | 189 pthread_cond_t cnd; member 243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker() 258 ret = pthread_cond_broadcast(&(cd->cnd)); in worker() 295 ret = pthread_cond_signal(&(cd->cnd)); in signaler() 547 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main() 643 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | stress1.c | 201 pthread_cond_t cnd; member 229 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B() 241 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_B() 252 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B() 310 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_A() 319 ret = pthread_cond_signal(&(cd->cnd)); in threaded_A() 591 ret = pthread_cond_init(&(CD.cnd), &ca); in main() 666 ret = pthread_cond_destroy(&(td->cd[i].cnd)); in main()
|
D | s-c.c | 101 pthread_cond_t *cnd; member 185 static void do_measure(pthread_mutex_t * mtx, pthread_cond_t * cnd, clockid_t cid, in do_measure() argument 212 rc = pthread_cond_timedwait(cnd, mtx, &ts_cnd); in do_measure() 265 ret = pthread_cond_wait(dt->cnd, dt->mtx); in waiter() 302 pthread_cond_t cnd; in do_threads_test() local 312 td.cnd = &cnd; in do_threads_test() 387 ret = pthread_cond_init(&cnd, &ca); in do_threads_test() 416 ret = pthread_cond_broadcast(&cnd); in do_threads_test() 469 do_measure(&mtx, &cnd, test_scenar[s].cid, &ts); in do_threads_test() 485 ret = pthread_cond_broadcast(&cnd); in do_threads_test() [all …]
|
D | stress2.c | 180 pthread_cond_t cnd; member 234 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker() 249 ret = pthread_cond_broadcast(&(cd->cnd)); in worker() 286 ret = pthread_cond_signal(&(cd->cnd)); in signaler() 538 pthread_cond_init(&(cells[i + j * NSCENAR].cnd), in main() 634 ret = pthread_cond_destroy(&(cells[i].cnd)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
D | 1-2.c | 199 pthread_cond_t cnd; member 237 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child() 239 ret = pthread_cond_wait(&td->cnd, &td->mtx); in child() 254 ret = pthread_cond_signal(&td->cnd); in child() 460 ret = pthread_cond_init(&td->cnd, &ca); in main() 554 ret = pthread_cond_signal(&td->cnd); in main() 622 ret = pthread_cond_destroy(&td->cnd); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-2.c | 91 pthread_cond_t cnd; member 199 ret = pthread_cond_wait(&(td->cnd), &(td->mtx)); in tf() 461 ret = pthread_cond_init(&(td->cnd), &ca); in main() 554 ret = pthread_cond_signal(&(td->cnd)); in main() 616 ret = pthread_cond_destroy(&(td->cnd)); in main()
|
D | 2-3.c | 83 pthread_cond_t cnd; member 184 ret = pthread_cond_wait(&(data.cnd), &(data.mtx)); in threaded() 344 ret = pthread_cond_init(&(data.cnd), &ca); in main() 431 ret = pthread_cond_destroy(&(data.cnd)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 2-3.c | 144 pthread_cond_t cnd; member 185 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child() 187 ret = pthread_cond_wait(&td->cnd, &td->mtx); in child() 406 ret = pthread_cond_init(&td->cnd, &ca); in main() 485 ret = pthread_cond_broadcast(&td->cnd); in main() 543 ret = pthread_cond_destroy(&td->cnd); in main()
|
D | 1-2.c | 161 pthread_cond_t cnd; member 197 ret = pthread_cond_timedwait(&td->cnd, &td->mtx, &ts); in child() 199 ret = pthread_cond_wait(&td->cnd, &td->mtx); in child() 478 ret = pthread_cond_init(&td->cnd, &ca); in main() 604 ret = pthread_cond_broadcast(&td->cnd); in main() 667 ret = pthread_cond_destroy(&td->cnd); in main()
|