/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_141.c | 15 _Bool cond; variable in typeref:typename:_Bool 520 cond = 0x7fffffff < (-0x7fffffff - 1); 521 cond = 0x7fffffff <= (-0x7fffffff - 1); 522 cond = 0x7fffffff > (-0x7fffffff - 1); 523 cond = 0x7fffffff >= (-0x7fffffff - 1); 524 cond = 0x7fffffff == (-0x7fffffff - 1); 525 cond = 0x7fffffff != (-0x7fffffff - 1); 531 cond = 0xffffffffU < 0x00000000U; 532 cond = 0xffffffffU <= 0x00000000U; 533 cond = 0xffffffffU > 0x00000000U [all...] |
queries.c | 42 _Bool cond; variable in typeref:typename:_Bool 187 cond = (_Bool)cond; 188 cond = (_Bool)u8; 189 u8 = (u8_t)cond; 421 if (Q11(), cond)
|
msg_132.c | 25 _Bool cond; variable in typeref:typename:_Bool 523 ch = cond ? '?' : ':'; 530 ch = cond ? c1 : c2; 537 s8 = cond ? s8 : u8; 539 u8 = cond ? s8 : u8; 632 cond = (s.u15 | s.u48 | s.u64) != 0; 633 cond = (s.u64 | s.u48 | s.u15) != 0;
|
/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}
|
Makefile | 72 TESTS+= cond-cmp-numeric 73 TESTS+= cond-cmp-numeric-eq 74 TESTS+= cond-cmp-numeric-ge 75 TESTS+= cond-cmp-numeric-gt 76 TESTS+= cond-cmp-numeric-le 77 TESTS+= cond-cmp-numeric-lt 78 TESTS+= cond-cmp-numeric-ne 79 TESTS+= cond-cmp-string 80 TESTS+= cond-cmp-unary 81 TESTS+= cond-eo [all...] |
/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_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_cancellation.c | 537 pthread_cond_t cond; 541 RZ(pthread_cond_init(&cond, NULL)); 545 RZ(pthread_cond_clockwait(&cond, &mutex, CLOCK_MONOTONIC, &t)); 557 pthread_cond_t cond; local in function:cancelpoint_pthread_cond_timedwait 561 RZ(pthread_cond_init(&cond, NULL)); 565 RZ(pthread_cond_timedwait(&cond, &mutex, &t)); 572 pthread_cond_t cond; local in function:cancelpoint_pthread_cond_wait 575 RZ(pthread_cond_init(&cond, NULL)); 579 RZ(pthread_cond_wait(&cond, &mutex));
|
/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;
|
/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...] |
/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...] |
/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...] |
/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,
|
/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...] |
/src/sys/arch/dreamcast/dev/ |
gdrom.c | 189 uint8_t cond; local in function:gdrom_intr 192 cond = GDROM_COND; 193 DPRINTF(("GDROM: cond = %x\n", cond)); 200 if ((cond & 0x08) != 0) { 224 if ((cond & 0x08) == 0) { 225 sc->cmd_cond = cond; 294 int cond, sense_key, sense_specific; local in function:gdrom_command_sense 296 cond = gdrom_do_command(sc, req, buf, nbyt, resid); 298 if (cond < 0) [all...] |
/src/games/adventure/ |
init.c | 98 int cond[LOCSIZE]; /* various condition bits */ variable in typeref:typename:int[] 163 cond[i] = 2;
|
/src/sys/net/ |
bpfjit.c | 1714 int status, cond, op2; local in function:generate_insn_code 2021 if (!jmp_to_cond(pc, negate, &cond)) 2024 cond, BJ_AREG, 0, 2035 if (!jmp_to_cond(pc, negate, &cond)) 2038 cond, BJ_TMP1REG, 0, SLJIT_IMM, 0);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
nouveau_nvkm_subdev_bios_init.c | 484 init_condition_met(struct nvbios_init *init, u8 cond) 489 u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0); 490 u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4); 491 u32 val = nvbios_rd32(bios, table + (cond * 12) + 8); 493 cond, reg, msk, val); 500 init_io_condition_met(struct nvbios_init *init, u8 cond) 505 u16 port = nvbios_rd16(bios, table + (cond * 5) + 0); 506 u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); 507 u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3); 508 u8 value = nvbios_rd08(bios, table + (cond * 5) + 4) 787 u8 cond = nvbios_rd08(bios, init->offset + 1); local in function:init_io_flag_condition 805 u8 cond = nvbios_rd08(bios, init->offset + 1); local in function:init_generic_condition 1245 u8 cond = nvbios_rd08(bios, init->offset + 1); local in function:init_condition_time 1810 u8 cond = nvbios_rd08(bios, init->offset + 1); local in function:init_condition 1827 u8 cond = nvbios_rd08(bios, init->offset + 1); local in function:init_io_condition [all...] |
/src/games/trek/ |
trek.h | 233 unsigned char cond; /* condition code */ member in struct:Ship_struct 303 int energylow; /* low energy mark (cond YELLOW) */
|