/src/tests/usr.bin/xlint/lint1/ |
msg_218.c | 9 int cond; variable in typeref:typename:int 38 cond = s32 < 3000000000L; 41 cond = 3000000000L < s32; 44 cond = u32 < 3000000000L; 47 cond = 3000000000L < u32; 50 cond = s64 < 3000000000L; 53 cond = 3000000000L < s64; 56 cond = u64 < 3000000000L; 59 cond = 3000000000L < u64;
|
msg_218.c | 9 int cond; variable in typeref:typename:int 38 cond = s32 < 3000000000L; 41 cond = 3000000000L < s32; 44 cond = u32 < 3000000000L; 47 cond = 3000000000L < u32; 50 cond = s64 < 3000000000L; 53 cond = 3000000000L < s64; 56 cond = u64 < 3000000000L; 59 cond = 3000000000L < u64;
|
/src/usr.bin/make/unit-tests/ |
cond-late.mk | 1 # $NetBSD: cond-late.mk,v 1.10 2025/06/30 21:44:39 rillig Exp $ 9 # cond-short.mk. 18 all: parse-time cond-literal 23 COND.true= "yes" == "yes" 24 COND.false= "yes" != "yes" 38 cond-literal: 39 @echo ${ ${COND.true} :?yes:no} 40 @echo ${ ${COND.false} :?yes:no}
|
cond-late.mk | 1 # $NetBSD: cond-late.mk,v 1.10 2025/06/30 21:44:39 rillig Exp $ 9 # cond-short.mk. 18 all: parse-time cond-literal 23 COND.true= "yes" == "yes" 24 COND.false= "yes" != "yes" 38 cond-literal: 39 @echo ${ ${COND.true} :?yes:no} 40 @echo ${ ${COND.false} :?yes:no}
|
/src/tests/lib/libpthread/ |
t_preempt.c | 47 pthread_cond_t cond; variable in typeref:typename:pthread_cond_t 64 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 94 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex));
|
t_condwait.c | 56 pthread_cond_t cond; local in function:run 64 pthread_cond_init(&cond, &attr); 77 switch (ret = pthread_cond_timedwait(&cond, &m, &ts)) {
|
t_preempt.c | 47 pthread_cond_t cond; variable in typeref:typename:pthread_cond_t 64 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 94 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex));
|
t_condwait.c | 56 pthread_cond_t cond; local in function:run 64 pthread_cond_init(&cond, &attr); 77 switch (ret = pthread_cond_timedwait(&cond, &m, &ts)) {
|
t_cond.c | 46 static pthread_cond_t cond; variable in typeref:typename:pthread_cond_t 65 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 84 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 96 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 124 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 145 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 157 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 511 PTHREAD_REQUIRE(pthread_cond_broadcast(&cond)); 512 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 532 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)) [all...] |
t_cond.c | 46 static pthread_cond_t cond; variable in typeref:typename:pthread_cond_t 65 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 84 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 96 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 124 PTHREAD_REQUIRE(pthread_cond_signal(&cond)); 145 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)); 157 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 511 PTHREAD_REQUIRE(pthread_cond_broadcast(&cond)); 512 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); 532 PTHREAD_REQUIRE(pthread_cond_init(&cond, NULL)) [all...] |
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_marker.c | 127 u64 cond = (u64) us * NSEC_PER_USEC; local in function:vmw_lag_lt 129 return vmw_fifo_lag(queue) <= cond;
|
vmwgfx_marker.c | 127 u64 cond = (u64) us * NSEC_PER_USEC; local in function:vmw_lag_lt 129 return vmw_fifo_lag(queue) <= cond;
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/ |
dd_interceptors.cc | 164 uptr cond = atomic_load(p, memory_order_acquire); local in function:init_cond 165 if (!force && cond != 0) 166 return (pthread_cond_t*)cond; 169 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, 173 return (pthread_cond_t*)cond; 179 pthread_cond_t *cond = init_cond(c, true); local in function:INTERCEPTOR 180 return REAL(pthread_cond_init)(cond, a); 185 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 188 int res = REAL(pthread_cond_wait)(cond, m); 196 pthread_cond_t *cond = init_cond(c) local in function:INTERCEPTOR 206 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 212 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 218 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR [all...] |
dd_interceptors.cc | 164 uptr cond = atomic_load(p, memory_order_acquire); local in function:init_cond 165 if (!force && cond != 0) 166 return (pthread_cond_t*)cond; 169 if (atomic_compare_exchange_strong(p, &cond, (uptr)newcond, 173 return (pthread_cond_t*)cond; 179 pthread_cond_t *cond = init_cond(c, true); local in function:INTERCEPTOR 180 return REAL(pthread_cond_init)(cond, a); 185 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 188 int res = REAL(pthread_cond_wait)(cond, m); 196 pthread_cond_t *cond = init_cond(c) local in function:INTERCEPTOR 206 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 212 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR 218 pthread_cond_t *cond = init_cond(c); local in function:INTERCEPTOR [all...] |
/src/tests/rump/kernspace/ |
threadpool.c | 97 kcondvar_t cond; member in struct:test_job_data 113 cv_broadcast(&data->cond); 127 cv_broadcast(&data->cond); 130 cv_wait(&data->cond, &data->mutex); 132 cv_broadcast(&data->cond); 141 cv_init(&data->cond, "testjob"); 150 cv_destroy(&data->cond); 169 error = cv_timedwait(&data.cond, &data.mutex, hz * 2); 197 error = cv_timedwait(&data.cond, &data.mutex, hz * 2); 223 cv_wait(&data.cond, &data.mutex) [all...] |
threadpool.c | 97 kcondvar_t cond; member in struct:test_job_data 113 cv_broadcast(&data->cond); 127 cv_broadcast(&data->cond); 130 cv_wait(&data->cond, &data->mutex); 132 cv_broadcast(&data->cond); 141 cv_init(&data->cond, "testjob"); 150 cv_destroy(&data->cond); 169 error = cv_timedwait(&data.cond, &data.mutex, hz * 2); 197 error = cv_timedwait(&data.cond, &data.mutex, hz * 2); 223 cv_wait(&data.cond, &data.mutex) [all...] |
/src/sys/arch/sparc/fpu/ |
fpu.c | 308 int opf, rs1, rs2, rd, type, mask, fsr, cx, i, cond; local in function:fpu_execute 360 cond = (fs->fs_fsr>>FSR_FCC_SHIFT)&FSR_FCC_MASK; 361 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 366 cond = (fs->fs_fsr>>FSR_FCC1_SHIFT)&FSR_FCC_MASK; 367 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 372 cond = (fs->fs_fsr>>FSR_FCC2_SHIFT)&FSR_FCC_MASK; 373 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 378 cond = (fs->fs_fsr>>FSR_FCC3_SHIFT)&FSR_FCC_MASK; 379 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 385 cond = (curlwp->l_md.md_tf->tf_tstate>>TSTATE_CCR_SHIFT)&PSR_ICC [all...] |
fpu.c | 308 int opf, rs1, rs2, rd, type, mask, fsr, cx, i, cond; local in function:fpu_execute 360 cond = (fs->fs_fsr>>FSR_FCC_SHIFT)&FSR_FCC_MASK; 361 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 366 cond = (fs->fs_fsr>>FSR_FCC1_SHIFT)&FSR_FCC_MASK; 367 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 372 cond = (fs->fs_fsr>>FSR_FCC2_SHIFT)&FSR_FCC_MASK; 373 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 378 cond = (fs->fs_fsr>>FSR_FCC3_SHIFT)&FSR_FCC_MASK; 379 if (instr.i_fmovcc.i_cond != cond) return(0); /* success */ 385 cond = (curlwp->l_md.md_tf->tf_tstate>>TSTATE_CCR_SHIFT)&PSR_ICC [all...] |
/src/tests/lib/libc/sys/ |
t_eventfd.c | 55 pthread_cond_t cond; member in struct:helper_context 71 ATF_REQUIRE(pthread_cond_init(&ctx->cond, &condattr) == 0); 82 pthread_cond_signal(&ctx->cond); 111 error = pthread_cond_timedwait(&ctx->cond, &ctx->mutex,
|
t_eventfd.c | 55 pthread_cond_t cond; member in struct:helper_context 71 ATF_REQUIRE(pthread_cond_init(&ctx->cond, &condattr) == 0); 82 pthread_cond_signal(&ctx->cond); 111 error = pthread_cond_timedwait(&ctx->cond, &ctx->mutex,
|
/src/bin/sh/ |
arithmetic.c | 355 cond(int token, union a_token_val *val, int op, int noeval) function in typeref:typename:intmax_t 374 c = cond(token, val, arith_token(), noeval | !!a); 389 return cond(var, &val, op, noeval); 392 return cond(var, &val, op, noeval);
|
/src/sys/arch/dreamcast/dev/g1/ |
gdrom.c | 192 int cond, sense_key, sense_specific; 194 cond = scsipi_command(sc->sc_periph, req, 12, buf, nbyt, 199 if (cond < 0) { 204 if ((cond & 1) == 0) { 271 int cond; local in function:gdrom_read_sectors 290 cond = scsipi_command(sc->sc_periph, (void *)cmd, 12, 294 GDROM_DPRINTF(("%s: cond = %d\n", __func__, cond)); 296 return cond; 311 int cond; local in function:gdrom_mount_disk [all...] |
/src/usr.bin/mail/ |
glob.h | 91 EXTERN int cond; /* Current state of conditional exc. */ variable in typeref:typename:EXTERN int
|
/src/sys/arch/powerpc/fpu/ |
fpu_emu.c | 349 int ra, rb, rc, rt, type, mask, fsr, cx, bf, setcr, cond; local in function:fpu_execute 364 cond = instr.i_any.i_rc; 393 cond = 0; /* ld/st never set condition codes */ 531 cond = 0; 572 cond = 0; 594 cond = 0; 851 if (cond) {
|
/src/usr.bin/config/ |
mkmakefile.c | 622 emitopts(FILE *fp, struct condexpr *cond, int include) 625 switch (cond->cx_type) { 627 if (include && selectopt(cond->cx_u.atom, NULL)) 628 fprintf(fp, " %s", cond->cx_u.atom); 631 emitopts(fp, cond->cx_u.not, !include); 634 emitopts(fp, cond->cx_u.and.left, include); 635 emitopts(fp, cond->cx_u.and.right, include); 638 emitopts(fp, cond->cx_u.and.left, include); 639 emitopts(fp, cond->cx_u.and.right, include); 653 struct condexpr *cond; local in function:emitappmkoptions [all...] |