/openbsd/usr.sbin/nsd/ |
H A D | zlexer.lex | 81 static YY_BUFFER_STATE oldstate; variable 86 oldstate = YY_CURRENT_BUFFER; in parser_push_stringbuf() 94 yy_switch_to_buffer(oldstate); in parser_pop_stringbuf() 95 oldstate = NULL; in parser_pop_stringbuf()
|
/openbsd/lib/librthread/ |
H A D | rthread.c | 458 int oldstate; in pthread_setcancelstate() local 460 oldstate = tib->tib_cantcancel & CANCEL_DISABLED ? in pthread_setcancelstate() 470 *oldstatep = oldstate; in pthread_setcancelstate()
|
/openbsd/usr.sbin/kgmon/ |
H A D | kgmon.c | 274 int mib[4], oldstate; in setprof() local 283 if (sysctl(mib, 4, &oldstate, &sz, NULL, 0) == -1) in setprof() 285 if (oldstate == state) in setprof()
|
/openbsd/sys/kern/ |
H A D | subr_prof.c | 137 prof_state_toggle(struct cpu_info *ci, int oldstate) in prof_state_toggle() argument 144 if (gp->state == oldstate) in prof_state_toggle()
|
/openbsd/usr.sbin/pppd/ |
H A D | ccp.c | 238 int oldstate; local 243 oldstate = f->state; 245 if (oldstate == OPENED && p[0] == TERMREQ && f->state != OPENED) 252 if (oldstate == REQSENT && p[0] == TERMACK
|
/openbsd/usr.sbin/smtpd/ |
H A D | smtp_client.c | 260 int oldstate; in smtp_client_state() local 266 oldstate = proto->state; in smtp_client_state() 270 strstate[oldstate], in smtp_client_state()
|
H A D | mta_session.c | 556 int oldstate; in mta_enter_state() local 564 oldstate = s->state; in mta_enter_state() 567 mta_strstate(oldstate), in mta_enter_state()
|
/openbsd/usr.sbin/bgpd/ |
H A D | rde_decide.c | 581 enum nexthop_state oldstate) in prefix_evaluate_nexthop() argument 594 if (oldstate == state) { in prefix_evaluate_nexthop()
|
H A D | rde_rib.c | 1690 prefix_evaluate_nexthop(p, nh->state, nh->oldstate); in nexthop_runner() 1715 nh->oldstate = nh->state; in nexthop_update() 1721 if (nh->oldstate == NEXTHOP_LOOKUP) in nexthop_update() 1732 nh->oldstate = NEXTHOP_FLAPPED; in nexthop_update()
|
H A D | rde.h | 249 enum nexthop_state oldstate; member
|
/openbsd/lib/libcurses/base/ |
H A D | lib_mouse.c | 262 int oldstate = 0; in mouse_server() local 293 if ((mouev.fs ^ oldstate) & MOUSE_BN1_DOWN) in mouse_server() 296 if ((mouev.fs ^ oldstate) & MOUSE_BN2_DOWN) in mouse_server() 299 if ((mouev.fs ^ oldstate) & MOUSE_BN3_DOWN) in mouse_server() 304 oldstate = mouev.fs; in mouse_server()
|
/openbsd/sys/dev/sdmmc/ |
H A D | if_bwfm_sdio.c | 556 enum bwfm_sdio_clkstate oldstate; in bwfm_sdio_clkctl() local 558 oldstate = sc->sc_clkstate; in bwfm_sdio_clkctl() 586 DPRINTF(("%s: %d -> %d = %d\n", DEVNAME(sc), oldstate, newstate, in bwfm_sdio_clkctl()
|
/openbsd/sys/dev/ic/ |
H A D | ahci.c | 996 int s, rc = EIO, oldstate; in ahci_port_softreset() local 1002 oldstate = ap->ap_state; in ahci_port_softreset() 1093 ap->ap_state = oldstate; in ahci_port_softreset() 2556 int rc = EIO, oldstate; in ahci_port_read_ncq_error() local 2559 oldstate = ap->ap_state; in ahci_port_read_ncq_error() 2640 ap->ap_state = oldstate; in ahci_port_read_ncq_error()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 4455 INTERCEPTOR(int, __libc_thr_setcancelstate, int state, int *oldstate) 6730 INTERCEPTOR(int, pthread_setcancelstate, int state, int *oldstate) { 6732 COMMON_INTERCEPTOR_ENTER(ctx, pthread_setcancelstate, state, oldstate); 6733 int res = REAL(pthread_setcancelstate)(state, oldstate); 6734 if (res == 0 && oldstate != nullptr) 6735 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, oldstate, sizeof(*oldstate));
|