/openbsd/lib/libagentx/ |
H A D | ax.c | 62 struct ax *ax; in ax_new() local 85 ax_free(struct ax *ax) in ax_free() argument 97 ax_recv(struct ax *ax) in ax_recv() argument 114 if ((nread = read(ax->ax_fd, ax->ax_rbuf + ax->ax_rblen, in ax_recv() 154 nread = read(ax->ax_fd, ax->ax_rbuf + ax->ax_rblen, in ax_recv() 344 ax->ax_wbtlen = ax->ax_wblen; in ax_pdu_need() 355 ax_send(struct ax *ax) in ax_send() argument 389 if ((nwrite = send(ax->ax_fd, ax->ax_wbuf, ax->ax_wblen, in ax_send() 395 ax->ax_wbtlen = ax->ax_wblen; in ax_send() 958 ax_pdu_queue(struct ax *ax) in ax_pdu_queue() argument [all …]
|
H A D | agentx.c | 208 if ((ax = calloc(1, sizeof(*ax))) == NULL) in RB_PROTOTYPE_STATIC() 213 ax->ax_fd = -1; in RB_PROTOTYPE_STATIC() 222 return ax; in RB_PROTOTYPE_STATIC() 263 ax->ax_nofd(ax, ax->ax_cookie, 0); in agentx_start() 380 ax->ax_nofd(ax, ax->ax_cookie, 1); in agentx_free_finalize() 381 free(ax); in agentx_free_finalize() 2740 agentx_wantwrite(ax, ax->ax_fd); 3941 agentx_wantwrite(ax, ax->ax_fd); 4083 agentx_wantwrite(ax, ax->ax_fd); 4131 agentx_wantwrite(ax, ax->ax_fd); [all …]
|
H A D | ax.h | 115 struct ax { struct 202 struct ax *ax_new(int); 203 void ax_free(struct ax *); 204 struct ax_pdu *ax_recv(struct ax *); 205 ssize_t ax_send(struct ax *); 206 uint32_t ax_open(struct ax *, uint8_t, struct ax_oid *, 209 uint32_t ax_indexallocate(struct ax *, uint8_t, uint32_t, 211 uint32_t ax_indexdeallocate(struct ax *, uint32_t, 215 uint32_t ax_removeagentcaps(struct ax *, uint32_t, 217 uint32_t ax_register(struct ax *, uint8_t, uint32_t, [all …]
|
H A D | agentx_log.c | 66 agentx_log_ax_warn(struct agentx *ax, const char *fmt, ...) in agentx_log_ax_warn() argument 88 agentx_log_ax_info(struct agentx *ax, const char *fmt, ...) in agentx_log_ax_info() argument 289 ax = axs->axs_ax; in agentx_log_do() 292 ax->ax_fd, axs->axs_id, AGENTX_CONTEXT_NAME(axc), in agentx_log_do() 295 agentx_log("[fd:%d sess:%u ctx:%s]: %s", ax->ax_fd, in agentx_log_do() 298 ax = axs->axs_ax; in agentx_log_do() 300 agentx_log("[fd:%d sess:%u]: %s: %s", ax->ax_fd, in agentx_log_do() 303 agentx_log("[fd:%d sess:%u]: %s", ax->ax_fd, in agentx_log_do() 305 } else if (ax->ax_fd == -1) { in agentx_log_do() 312 agentx_log("[fd:%d]: %s: %s", ax->ax_fd, buf, in agentx_log_do() [all …]
|
/openbsd/usr.sbin/snmpd/ |
H A D | ax.c | 61 struct ax *ax; in ax_new() local 84 ax_free(struct ax *ax) in ax_free() argument 95 ax_recv(struct ax *ax) in ax_recv() argument 111 if ((nread = read(ax->ax_fd, ax->ax_rbuf + ax->ax_rblen, in ax_recv() 151 nread = read(ax->ax_fd, ax->ax_rbuf + ax->ax_rblen, in ax_recv() 446 ax->ax_wbtlen = ax->ax_wblen; in ax_pdu_need() 457 ax_send(struct ax *ax) in ax_send() argument 491 if ((nwrite = send(ax->ax_fd, ax->ax_wbuf, ax->ax_wblen, in ax_send() 495 memmove(ax->ax_wbuf, ax->ax_wbuf + nwrite, ax->ax_wblen - nwrite); in ax_send() 497 ax->ax_wbtlen = ax->ax_wblen; in ax_send() [all …]
|
H A D | ax.h | 118 struct ax { struct 230 struct ax *ax_new(int); 231 void ax_free(struct ax *); 232 struct ax_pdu *ax_recv(struct ax *); 233 ssize_t ax_send(struct ax *); 234 uint32_t ax_open(struct ax *, uint8_t, struct ax_oid *, 241 uint32_t ax_indexallocate(struct ax *, uint8_t, uint32_t, 243 uint32_t ax_indexdeallocate(struct ax *, uint32_t, 247 uint32_t ax_removeagentcaps(struct ax *, uint32_t, 249 uint32_t ax_register(struct ax *, uint8_t, uint32_t, [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | ax-gdb.c | 319 ax_simple (ax, aop_pop); in gen_traced_pop() 651 ax_const_l (ax, k); in gen_int_literal() 789 gen_extend (ax, to); in gen_conversion() 797 gen_extend (ax, to); in gen_conversion() 818 free_agent_expr (ax); in is_nontrivial_conversion() 1065 ax_simple (ax, in gen_binop() 1461 int start = ax->len; in gen_sizeof() 1465 ax->len = start; in gen_sizeof() 1743 return ax; in expr_to_agent() 1769 return ax; [all …]
|
/openbsd/gnu/usr.bin/binutils/include/coff/ |
H A D | ecoff.h | 246 #define AUX_GET_ANY(bigend, ax, field) \ argument 247 ((bigend) ? bfd_getb32 ((ax)->field) : bfd_getl32 ((ax)->field)) 249 #define AUX_GET_DNLOW(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnLow) argument 250 #define AUX_GET_DNHIGH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnHigh) argument 251 #define AUX_GET_ISYM(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_isym) argument 252 #define AUX_GET_ISS(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_iss) argument 253 #define AUX_GET_WIDTH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_width) argument 254 #define AUX_GET_COUNT(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_count) argument 261 #define AUX_PUT_DNLOW(bigend, val, ax) \ argument 265 #define AUX_PUT_ISYM(bigend, val, ax) \ argument [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/include/coff/ |
H A D | ecoff.h | 248 #define AUX_GET_ANY(bigend, ax, field) \ argument 249 ((bigend) ? bfd_getb32 ((ax)->field) : bfd_getl32 ((ax)->field)) 251 #define AUX_GET_DNLOW(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnLow) argument 252 #define AUX_GET_DNHIGH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnHigh) argument 253 #define AUX_GET_ISYM(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_isym) argument 254 #define AUX_GET_ISS(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_iss) argument 255 #define AUX_GET_WIDTH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_width) argument 256 #define AUX_GET_COUNT(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_count) argument 263 #define AUX_PUT_DNLOW(bigend, val, ax) \ argument 267 #define AUX_PUT_ISYM(bigend, val, ax) \ argument [all …]
|
/openbsd/regress/lib/libc/getopt/ |
H A D | getopt.sh | 57 test3_getopt ax '-a -x arg' 'OPT(a)OPT(x)ARG(arg)' 61 test3_getopt ax '-a -y arg' 'OPT(a)ERR(?y)ARG(arg)' 62 test1_getopt :ax '-a -y arg' 'OPT(a)ERR(?y)ARG(arg)' 69 test3_getopt ax '-ax arg' 'OPT(a)OPT(x)ARG(arg)' 70 test3_getopt ax- '-a- -x arg' 'OPT(a)OPT(-)OPT(x)ARG(arg)' 75 test3_getopt ax '-ay arg' 'OPT(a)ERR(?y)ARG(arg)' 76 test1_getopt :ax '-ay arg' 'OPT(a)ERR(?y)ARG(arg)' 85 test2_getopt ax '-a arg -x' 'OPT(a)ARG(arg)ARG(-x)' 87 test2_getopt ax '-a -- -x' 'OPT(a)ARG(-x)' 88 test1_getopt -ax '-a -- -x' 'OPT(a)ARG(-x)' [all …]
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | pxe_call.S | 141 movw $S16DATA, %ax 142 movw %ax, %ds 143 movw %ax, %es 152 xorw %ax, %ax /* Reset segment registers: */ 161 movw %cs, %ax 162 movw %ax, %ds 173 pushw %ax 186 movw %ax, %ds 198 mov %ax, %ds 199 mov %ax, %ss [all …]
|
H A D | gidt.S | 85 xorw %ax, %ax; \ 108 mov %ax, %ds; \ 109 mov %ax, %ss; \ 110 mov %ax, %es; \ 133 movw $0x1234, %ax 168 movw %ax, (%ebx) 172 movw %ax, 6(%ebx) 371 mov %ax, %es 376 mov %ax, %ds 457 xor %ax, %ax [all …]
|
/openbsd/sys/arch/i386/stand/libsa/ |
H A D | pxe_call.S | 141 movw $S16DATA, %ax 142 movw %ax, %ds 143 movw %ax, %es 152 xorw %ax, %ax /* Reset segment registers: */ 161 movw %cs, %ax 162 movw %ax, %ds 173 pushw %ax 186 movw %ax, %ds 198 mov %ax, %ds 199 mov %ax, %ss [all …]
|
H A D | gidt.S | 86 xorw %ax, %ax; \ 109 mov %ax, %ds; \ 110 mov %ax, %ss; \ 111 mov %ax, %es; \ 134 movw $0x1234, %ax 169 movw %ax, (%ebx) 173 movw %ax, 6(%ebx) 374 mov %ax, %es 379 mov %ax, %ds 460 xor %ax, %ax [all …]
|
/openbsd/sys/arch/i386/i386/ |
H A D | acpi_wakecode.S | 111 movw %ax, %ds 180 movw %ax,%ds 181 movw %ax,%es 182 movw %ax,%gs 183 movw %ax,%ss 184 movw %ax,%fs 249 movw %ax,%es 251 movw %ax,%fs 253 movw %ax,%gs 255 movw %ax,%ss [all …]
|
/openbsd/sys/arch/amd64/stand/cdboot/ |
H A D | srt0.S | 69 xorw %ax, %ax 139 mov %ax, %ds 140 mov %ax, %es 141 mov %ax, %fs 142 mov %ax, %gs 214 pushw %ax 222 1: popw %ax 229 pushw %ax 232 popw %ax 238 pushw %ax [all …]
|
/openbsd/sys/arch/i386/stand/cdboot/ |
H A D | srt0.S | 69 xorw %ax, %ax 139 mov %ax, %ds 140 mov %ax, %es 141 mov %ax, %fs 142 mov %ax, %gs 214 pushw %ax 222 1: popw %ax 229 pushw %ax 232 popw %ax 238 pushw %ax [all …]
|
/openbsd/regress/usr.bin/sed/ |
H A D | substitute.sh | 82 t a '()' xax xa ax 83 t a '$' ax ax 86 t a '^|$' xax xa ax 95 t ab '^|b' xax xab ax 98 t ab '^|b|$' xax xab ax 99 t ab '^|a|b|$' xx xb ax 104 t ab 'b|()' xax xab ax 105 t ab 'b|$' ax ax 107 t ab '\<|b' xax xab ax 116 t aa a xx xa ax [all …]
|
/openbsd/sys/arch/amd64/stand/pxeboot/ |
H A D | srt0.S | 70 xorw %ax, %ax 107 addw $(RELOC_BLOCK_SIZE >> 4), %ax 140 mov %ax, %ds 141 mov %ax, %es 142 mov %ax, %fs 143 mov %ax, %gs 144 mov %ax, %ss 209 pushw %ax 212 popw %ax 218 pushw %ax [all …]
|
/openbsd/sys/arch/i386/stand/pxeboot/ |
H A D | srt0.S | 70 xorw %ax, %ax 107 addw $(RELOC_BLOCK_SIZE >> 4), %ax 140 mov %ax, %ds 141 mov %ax, %es 142 mov %ax, %fs 143 mov %ax, %gs 144 mov %ax, %ss 209 pushw %ax 212 popw %ax 218 pushw %ax [all …]
|
/openbsd/sys/arch/amd64/stand/cdbr/ |
H A D | cdbr.S | 96 xorw %ax, %ax 97 movw %ax, %ss 102 movw %ax, %ds 104 movw %ax, %es 424 pushw %ax 447 pushw %ax 450 popw %ax 456 pushw %ax 459 popw %ax 475 pushw %ax [all …]
|
/openbsd/sys/arch/i386/stand/cdbr/ |
H A D | cdbr.S | 99 xorw %ax, %ax 100 movw %ax, %ss 105 movw %ax, %ds 107 movw %ax, %es 427 pushw %ax 450 pushw %ax 453 popw %ax 459 pushw %ax 462 popw %ax 478 pushw %ax [all …]
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | acpi_wakecode.S | 112 movw %ax, %ds 113 movw %ax, %ss 178 movw %ax,%ds 179 movw %ax,%es 180 movw %ax,%gs 181 movw %ax,%ss 182 movw %ax,%fs 243 movw %ax,%ds 244 movw %ax,%es 245 movw %ax,%ss [all …]
|
/openbsd/sys/arch/i386/stand/mbr/ |
H A D | mbr.S | 98 movw %cs, %ax 118 movw %ax, %ss 123 movw %ax, %ds 147 movw $BOOTRELOCSEG, %ax 148 movw %ax, %es 171 xorw %ax, %ax 172 movb $0xe3, %ax 417 movw $0x201, %ax /* function and number of blocks */ 450 pushw %ax 463 pushw %ax [all …]
|
/openbsd/sys/arch/amd64/stand/mbr/ |
H A D | mbr.S | 98 movw %cs, %ax 118 movw %ax, %ss 123 movw %ax, %ds 147 movw $BOOTRELOCSEG, %ax 148 movw %ax, %es 171 xorw %ax, %ax 172 movb $0xe3, %ax 417 movw $0x201, %ax /* function and number of blocks */ 450 pushw %ax 463 pushw %ax [all …]
|