| /dflybsd-src/usr.bin/window/ |
| H A D | scanner.c | 52 switch (cx.x_type) { in s_getc() 54 c = getc(cx.x_fp); in s_getc() 55 if (cx.x_bol && c != EOF) { in s_getc() 56 cx.x_bol = 0; in s_getc() 57 cx.x_lineno++; in s_getc() 60 cx.x_bol = 1; in s_getc() 63 if (*cx.x_bufp != 0) in s_getc() 64 return *cx.x_bufp++ & 0xff; in s_getc() 77 switch (cx.x_type) { in s_ungetc() 79 cx.x_bol = 0; in s_ungetc() [all …]
|
| H A D | context.c | 56 if (cx.x_type != 0) { in cx_alloc() 61 *xp = cx; in cx_alloc() 62 cx.x_link = xp; in cx_alloc() 63 cx.x_type = 0; in cx_alloc() 65 cx.x_erred = 0; in cx_alloc() 66 cx.x_synerred = 0; in cx_alloc() 67 cx.x_abort = 0; in cx_alloc() 76 if ((xp = cx.x_link) != NULL) { in cx_free() 77 cx = *xp; in cx_free() 80 cx.x_type = 0; in cx_free() [all …]
|
| H A D | error.c | 58 for (x = &cx; x != NULL && x->x_type != X_FILE; x = x->x_link) in verror() 94 if (cx.x_type == X_FILE && cx.x_errwin != 0) { in err_end() 95 if (!cx.x_noerr) in err_end() 96 waitnl(cx.x_errwin); in err_end() 97 closeiwin(cx.x_errwin); in err_end() 98 cx.x_errwin = 0; in err_end()
|
| H A D | parser.h | 41 #define p_erred() (cx.x_erred) 42 #define p_synerred() (cx.x_synerred) 43 #define p_clearerr() (cx.x_erred = cx.x_synerred = 0) 44 #define p_abort() (cx.x_abort)
|
| H A D | parser1.c | 200 if (!cx.x_synerred) { in p_synerror() 201 cx.x_synerred = cx.x_erred = 1; in p_synerror() 212 if (!cx.x_erred) { in p_error() 213 cx.x_erred = 1; in p_error() 222 cx.x_erred = cx.x_abort = 1; in p_memerror()
|
| H A D | token.h | 37 #define token (cx.x_token) 38 #define token_num (cx.x_val.v_num) 39 #define token_str (cx.x_val.v_str)
|
| H A D | parser5.c | 96 int tmp = cx.x_type == X_BUF && cx.x_arg != 0 && in p_expr11() 97 v->v_num > 0 && v->v_num <= cx.x_narg; in p_expr11() 101 *v = cx.x_arg[v->v_num - 1]; in p_expr11()
|
| /dflybsd-src/usr.sbin/ppp/ |
| H A D | radius.c | 164 if (rad_request_authenticator(r->cx.rad, R, sizeof R) != AUTH_LEN) { in demangle() 174 S = rad_server_secret(r->cx.rad); /* We need the RADIUS secret */ in demangle() 235 r->cx.fd = -1; /* Stop select()ing */ in radius_Process() 236 stype = r->cx.auth ? "auth" : "acct"; in radius_Process() 241 if (!r->cx.auth) { in radius_Process() 242 rad_close(r->cx.rad); in radius_Process() 249 if (!r->cx.auth) { in radius_Process() 250 rad_close(r->cx.rad); in radius_Process() 258 if (r->cx.auth) in radius_Process() 259 auth_Failure(r->cx.auth); in radius_Process() [all …]
|
| H A D | deflate.c | 48 z_stream cx; member 63 deflateReset(&state->cx); in DeflateResetOutput() 105 state->cx.next_out = wp; in DeflateOutput() 106 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2; in DeflateOutput() 107 state->cx.next_in = MBUF_CTOP(mi); in DeflateOutput() 108 state->cx.avail_in = mi->m_len; in DeflateOutput() 113 if ((res = deflate(&state->cx, flush)) != Z_OK) { in DeflateOutput() 117 res, state->cx.msg ? state->cx.msg : ""); in DeflateOutput() 124 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateOutput() 127 if (state->cx.avail_in == 0 && mi->m_next != NULL) { in DeflateOutput() [all …]
|
| H A D | command.c | 208 const char *cx; in HelpCommand() local 241 cx = showcx(cmd); in HelpCommand() 246 cmd->name, cxlen, cxlen, cx, dmax, dmax, cmd->helpmes); in HelpCommand() 259 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 260 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 268 if (arg->cx->state < DATALINK_LCP) { in SendIdentification() 272 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification() 289 bundle_DatalinkClone(arg->bundle, arg->cx, name); in CloneCommand() 301 if (arg->cx->state != DATALINK_CLOSED) { in RemoveCommand() 306 bundle_DatalinkRemove(arg->bundle, arg->cx); in RemoveCommand() [all …]
|
| H A D | datalink.c | 1068 prompt_Printf(arg->prompt, "Name: %s\n", arg->cx->name); in datalink_Show() 1070 datalink_State(arg->cx)); in datalink_Show() 1072 if (*arg->cx->peer.authname) in datalink_Show() 1073 prompt_Printf(arg->prompt, "%s\n", arg->cx->peer.authname); in datalink_Show() 1074 else if (arg->cx->state == DATALINK_OPEN) in datalink_Show() 1079 mp_Enddisc(arg->cx->peer.enddisc.class, in datalink_Show() 1080 arg->cx->peer.enddisc.address, in datalink_Show() 1081 arg->cx->peer.enddisc.len)); in datalink_Show() 1085 arg->cx->cfg.phone.list); in datalink_Show() 1086 if (arg->cx->cfg.dial.max) in datalink_Show() [all …]
|
| H A D | systems.c | 339 struct prompt *prompt, struct datalink *cx, int how) in ReadSystem() argument 381 n = ReadSystem(bundle, name, arg, prompt, cx, how); in ReadSystem() 432 name, cx); in ReadSystem() 500 struct prompt *prompt, struct datalink *cx) in system_Select() argument 504 return ReadSystem(bundle, name, file, prompt, cx, SYSTEM_EXEC); in system_Select()
|
| /dflybsd-src/sys/platform/pc64/acpica/ |
| H A D | acpi_cstate_machdep.c | 67 acpi_cst_md_cx_setup(struct acpi_cst_cx *cx) in acpi_cst_md_cx_setup() argument 78 if (cx->type == ACPI_STATE_C1 && in acpi_cst_md_cx_setup() 79 cx->gas.SpaceId == ACPI_ADR_SPACE_FIXED_HARDWARE) in acpi_cst_md_cx_setup() 81 if (cx->gas.SpaceId != ACPI_ADR_SPACE_SYSTEM_IO && in acpi_cst_md_cx_setup() 82 cx->gas.SpaceId != ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_cst_md_cx_setup() 83 kprintf("C%d: invalid SpaceId %d\n", cx->type, in acpi_cst_md_cx_setup() 84 cx->gas.SpaceId); in acpi_cst_md_cx_setup() 90 switch (cx->gas.SpaceId) { in acpi_cst_md_cx_setup() 96 error = acpi_cst_cx_mwait_setup(cx); in acpi_cst_md_cx_setup() 102 kprintf("C%d: invalid SpaceId %d\n", cx->type, cx->gas.SpaceId); in acpi_cst_md_cx_setup() [all …]
|
| /dflybsd-src/sys/netgraph7/deflate/ |
| H A D | ng_deflate.c | 65 z_stream cx; /* compression context */ member 244 deflateEnd(&priv->cx); in ng_deflate_rcvmsg() 246 inflateEnd(&priv->cx); in ng_deflate_rcvmsg() 254 priv->cx.next_in = NULL; in ng_deflate_rcvmsg() 255 priv->cx.zalloc = z_alloc; in ng_deflate_rcvmsg() 256 priv->cx.zfree = z_free; in ng_deflate_rcvmsg() 259 if ((res = deflateInit2(&priv->cx, in ng_deflate_rcvmsg() 265 res, priv->cx.msg); in ng_deflate_rcvmsg() 270 if ((res = inflateInit2(&priv->cx, in ng_deflate_rcvmsg() 274 res, priv->cx.msg); in ng_deflate_rcvmsg() [all …]
|
| /dflybsd-src/stand/boot/pc32/boot2/ |
| H A D | boot1.S | 125 push %cx // block 150 xor %cx,%cx // Zero 151 mov %cx,%es // Address 152 mov %cx,%ds // data 153 mov %cx,%ss // Set up 173 xor %cx,%cx 178 mov $0x1,%cx // Two passes 192 dec %cx // Do two 240 mov $MEM_BTX_ORG+(NSECT-1)*SIZ_SEC,%cx 241 sub %si,%cx // %cx = Size of boot2 client [all …]
|
| /dflybsd-src/games/hack/ |
| H A D | hack.do_name.c | 76 int cx, cy, i, c; in getpos() local 79 cx = u.ux; in getpos() 81 curs(cx, cy + 2); in getpos() 85 if (1 <= cx + xdir[i] && cx + xdir[i] <= COLNO) in getpos() 86 cx += xdir[i]; in getpos() 105 curs(cx, cy + 2); in getpos() 107 cc.x = cx; in getpos() 117 int cx, cy; in do_mname() local 122 cx = cc.x; in do_mname() 124 if (cx < 0) in do_mname() [all …]
|
| H A D | hack.terminfo.c | 220 int cx = curx, cy = cury; in cl_end() local 226 curs(cx, cy); in cl_end() 299 int cx = curx, cy = cury; in cl_eos() local 307 curs(cx, cy); in cl_eos()
|
| /dflybsd-src/sys/dev/acpica/ |
| H A D | acpi_cpu_cstate.c | 161 static int acpi_cst_cx_setup(struct acpi_cst_cx *cx); 665 struct acpi_cst_cx *cx = &sc->cst_cx_states[i]; in acpi_cst_cx_probe_cst() local 667 if (cx->type >= ACPI_STATE_C3) { in acpi_cst_cx_probe_cst() 831 struct acpi_cst_cx *cx = &sc->cst_cx_states[i]; in acpi_cst_startup() local 835 if (cx->type >= ACPI_STATE_C3 && !bm_rld_done && in acpi_cst_startup() 842 error = acpi_cst_cx_setup(cx); in acpi_cst_startup() 1328 acpi_cst_c1_halt_enter(const struct acpi_cst_cx *cx __unused) in acpi_cst_c1_halt_enter() 1334 acpi_cst_cx_io_enter(const struct acpi_cst_cx *cx) in acpi_cst_cx_io_enter() argument 1341 bus_space_read_1(cx->btag, cx->bhand, 0); in acpi_cst_cx_io_enter() 1350 acpi_cst_cx_setup(struct acpi_cst_cx *cx) in acpi_cst_cx_setup() argument [all …]
|
| /dflybsd-src/contrib/less/ |
| H A D | lesskey_parse.c | 671 size_t cx = 0; in parse_lesskey_content() local 680 while (content[cx] != '\0') in parse_lesskey_content() 685 while (content[cx] != '\0' && content[cx] != '\n' && content[cx] != ';') in parse_lesskey_content() 688 if (content[cx] == '\\' && content[cx+1] == ';') in parse_lesskey_content() 689 ++cx; /* escaped semicolon: skip the backslash */ in parse_lesskey_content() 690 line[lx++] = content[cx++]; in parse_lesskey_content() 695 if (content[cx] != '\0') ++cx; /* skip newline or semicolon */ in parse_lesskey_content()
|
| /dflybsd-src/stand/boot/pc32/mbr/ |
| H A D | mbr.S | 49 movw $0x200-(main-start),%cx # Byte count 93 movw 0x2(%si),%cx # Load cylinder:sector 98 cmpw $0xffff,%cx # Do we need to use LBA? 101 pushw %cx # Save %cx 122 popw %cx # Restore %cx
|
| /dflybsd-src/stand/boot/pc32/pxeldr/ |
| H A D | pxeldr.S | 86 movw %es, %cx # save PXENV+ segment 106 movw $(MEM_ARG_SIZE/4), %cx # Size of arguments in 32-bit 197 movw $(btx_client_end-btx_client), %cx # length of btx client 207 movw $(MEM_ARG_SIZE/4), %cx # size of the arguments in longs 244 xor %cx,%cx # Clear 245 seta20.1: inc %cx # Increment, overflow?
|
| /dflybsd-src/tools/regression/bin/sh/builtins/ |
| H A D | read4.0.stdout | 2 xaxb cx 4 xaxb:cx
|
| H A D | read3.0.stdout | 2 xaxb cx 4 xaxb:cx
|
| /dflybsd-src/test/testcases/libnvmm/ |
| H A D | h_mem_assist_asm.S | 79 orw %cx,(%rax) 109 xorw %cx,(%rax) 264 subw %cx,(%rax) 304 xchgw (%rax),%cx 401 movw $0x0034,%cx
|
| /dflybsd-src/contrib/mpfr/src/ |
| H A D | sub1sp.c | 137 mpfr_exp_t bx,cx; in mpfr_sub1sp() local 163 cx = MPFR_GET_EXP (c); in mpfr_sub1sp() 164 if (MPFR_UNLIKELY(bx == cx)) in mpfr_sub1sp() 191 else if (MPFR_UNLIKELY(bx < cx)) in mpfr_sub1sp() 199 tx = bx; bx = cx; cx = tx; in mpfr_sub1sp() 209 MPFR_ASSERTD(bx >= cx); in mpfr_sub1sp() 210 d = (mpfr_uexp_t) bx - cx; in mpfr_sub1sp()
|