/dragonfly/usr.bin/window/ |
H A D | scanner.c | 54 c = getc(cx.x_fp); 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() 79 cx.x_bol = 0; in s_ungetc() 82 if (cx.x_bufp > cx.x_buf) in s_ungetc() 411 cx.x_val.v_num = cx.x_val.v_num * 10 + c - '0'; in s_gettok() 423 cx.x_val.v_num = cx.x_val.v_num * 16 + c - '0'; in s_gettok() 426 cx.x_val.v_num = cx.x_val.v_num * 16 + c - 'a' + 10; in s_gettok() 429 cx.x_val.v_num = cx.x_val.v_num * 16 + c - 'A' + 10; in s_gettok() [all …]
|
H A D | context.c | 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() 67 cx.x_abort = 0; in cx_alloc() 77 cx = *xp; in cx_free() 80 cx.x_type = 0; in cx_free() 95 cx.x_bol = 1; in cx_beginfile() 98 cx.x_noerr = 0; in cx_beginfile() 113 cx.x_bufp = cx.x_buf = buf; in cx_beginbuf() [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()
|
/dragonfly/usr.sbin/ppp/ |
H A D | radius.c | 258 if (r->cx.auth) in radius_Process() 265 if (r->cx.auth) in radius_Process() 274 if (r->cx.auth) in radius_Process() 282 if (r->cx.auth) in radius_Process() 594 return r && r->cx.fd != -1 && FD_ISSET(r->cx.fd, fdset); in radius_IsSet() 619 r->cx.fd = -1; in radius_Init() 620 r->cx.rad = NULL; in radius_Init() 621 memset(&r->cx.timer, '\0', sizeof r->cx.timer); in radius_Init() 667 r->cx.fd = -1; in radius_Destroy() 867 if ((got = rad_init_send_request(r->cx.rad, &r->cx.fd, &tv))) in radius_Authenticate() [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() 117 res, state->cx.msg ? state->cx.msg : ""); in DeflateOutput() 250 state->cx.avail_out = 1; in DeflateInput() 262 res, state->cx.msg ? state->cx.msg : ""); in DeflateInput() 373 state->cx.next_in = rp; in DeflateDictSetup() 387 res, state->cx.msg ? state->cx.msg : ""); in DeflateDictSetup() 389 state->cx.avail_in, state->cx.avail_out); in DeflateDictSetup() 541 inflateEnd(&state->cx); in DeflateTermInput() [all …]
|
H A D | command.c | 208 const char *cx; in HelpCommand() local 1088 arg.cx = cx; in FindExec() 1261 struct datalink *cx = arg->cx ? in OpenCommand() local 1626 struct datalink *cx = arg->cx; /* LOCAL_CX uses this */ in SetVariable() local 1645 cx = NULL; in SetVariable() 1980 cx->phone.alt = cx->phone.next = NULL; in SetVariable() 2606 for (cx = arg->bundle->links; cx; cx = cx->next) in LinkCommand() 2642 if (arg->cx) in command_ChooseLink() 2742 struct datalink *cx = arg->cx; /* LOCAL_CX uses this */ in NegotiateSet() local 2991 cx = arg->cx; in ClearCommand() [all …]
|
H A D | datalink.c | 1072 if (*arg->cx->peer.authname) in datalink_Show() 1086 if (arg->cx->cfg.dial.max) in datalink_Show() 1095 if (arg->cx->cfg.dial.timeout >= 0) in datalink_Show() 1107 if (!arg->cx->cfg.callback.opmask) in datalink_Show() 1175 arg->cx->cfg.dial.timeout = -1; in datalink_SetRedial() 1181 arg->cx->cfg.dial.timeout = timeout; in datalink_SetRedial() 1193 arg->cx->cfg.dial.inc = inc; in datalink_SetRedial() 1214 arg->cx->cfg.dial.inc = 0; in datalink_SetRedial() 1215 arg->cx->cfg.dial.maxinc = 10; in datalink_SetRedial() 1222 arg->cx->cfg.dial.next_timeout = -1; in datalink_SetRedial() [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()
|
/dragonfly/sys/platform/pc64/acpica/ |
H A D | acpi_cstate_machdep.c | 78 if (cx->type == ACPI_STATE_C1 && 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() 102 kprintf("C%d: invalid SpaceId %d\n", cx->type, cx->gas.SpaceId); in acpi_cst_md_cx_setup() 106 if (cx->type >= ACPI_STATE_C3) { in acpi_cst_md_cx_setup() 136 cx->gas.BitWidth, cx->gas.BitOffset, in acpi_cst_cx_mwait_setup() 137 (uintmax_t)cx->gas.Address, cx->gas.AccessWidth); in acpi_cst_cx_mwait_setup() 140 if (cx->type == ACPI_STATE_C1) { in acpi_cst_cx_mwait_setup() 167 cx->md_arg0 = eax_hint; in acpi_cst_cx_mwait_setup() 168 cx->enter = acpi_cst_cx_mwait_enter; in acpi_cst_cx_mwait_setup() [all …]
|
/dragonfly/sys/netgraph7/deflate/ |
H A D | ng_deflate.c | 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() 256 priv->cx.zfree = z_free; in ng_deflate_rcvmsg() 381 deflateEnd(&priv->cx); in ng_deflate_shutdown() 383 inflateEnd(&priv->cx); in ng_deflate_shutdown() 403 deflateEnd(&priv->cx); in ng_deflate_disconnect() 405 inflateEnd(&priv->cx); in ng_deflate_disconnect() 485 rtn, priv->cx.msg); in ng_deflate_compress() 676 deflateReset(&priv->cx); in ng_deflate_reset_req() [all …]
|
/dragonfly/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 192 dec %cx // Do two 257 sub %di,%cx 276 xor %cx,%cx # Clear 297 mov 0xa(%si),%cx // LBA [all …]
|
/dragonfly/games/hack/ |
H A D | hack.do_name.c | 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() 126 mtmp = m_at(cx, cy); 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()
|
/dragonfly/sys/dev/acpica/ |
H A D | acpi_cpu_cstate.c | 667 if (cx->type >= ACPI_STATE_C3) { in acpi_cst_cx_probe_cst() 842 error = acpi_cst_cx_setup(cx); in acpi_cst_startup() 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 1352 cx->flags &= ~ACPI_CST_CX_FLAG_BM_STS; in acpi_cst_cx_setup() 1355 if (cx->type >= ACPI_STATE_C3) { in acpi_cst_cx_setup() 1365 cx->flags |= ACPI_CST_CX_FLAG_BM_STS; in acpi_cst_cx_setup() 1377 return acpi_cst_md_cx_setup(cx); in acpi_cst_cx_setup() 1388 if (cx->res != NULL) in acpi_cst_free_resource() 1389 bus_release_resource(sc->cst_dev, cx->res_type, cx->rid, cx->res); in acpi_cst_free_resource() [all …]
|
/dragonfly/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
|
/dragonfly/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?
|
/dragonfly/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
|
/dragonfly/contrib/less/ |
H A D | line.c | 1546 int cx; in lookup_color_index() local 1547 for (cx = 0; cx < sizeof(color_map)/sizeof(*color_map); cx++) in lookup_color_index() 1548 if (color_map[cx].attr == attr) in lookup_color_index() 1549 return cx; in lookup_color_index() 1573 int cx = color_index(attr); in set_color_map() local 1574 if (cx < 0) in set_color_map() 1576 if (strlen(colorstr)+1 > sizeof(color_map[cx].color)) in set_color_map() 1580 strcpy(color_map[cx].color, colorstr); in set_color_map() 1589 int cx = color_index(attr); in get_color_map() local 1590 if (cx < 0) in get_color_map() [all …]
|
/dragonfly/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
|
/dragonfly/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()
|