Home
last modified time | relevance | path

Searched refs:cnd (Results 1 – 25 of 47) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DobjectSpreadRepeatedComplexity.types2 function f(cnd: Record<number, boolean>){
3 >f : (cnd: Record<number, boolean>) => { prop20a?: number | undefined; prop20b?: number | undefined…
4 >cnd : Record<number, boolean>
8cnd[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 …]
DobjectSpreadRepeatedComplexity.js2 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 …]
DobjectSpreadRepeatedComplexity.symbols2 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 …]
DintersectionAndUnionTypes.js13 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;
DintersectionAndUnionTypes.types32 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 …]
DintersectionAndUnionTypes.symbols44 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/
DobjectSpreadRepeatedComplexity.ts2 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/
Dcnd_wait.c21 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/
DintersectionAndUnionTypes.ts12 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/
D2-1.c201 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/
Ds-c.c86 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/
D2-5.c67 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()
D2-4.c63 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/
Ds-c1.c93 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/
Dstress1.c211 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()
Dstress2.c189 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()
Dstress.c189 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/
Dstress1.c201 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()
Ds-c.c101 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 …]
Dstress2.c180 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/
D1-2.c199 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/
D2-2.c91 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()
D2-3.c83 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/
D2-3.c144 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()
D1-2.c161 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()

12