| /openbsd-src/usr.sbin/smtpd/ |
| H A D | smtp_session.c | 141 struct smtp_tx *tx; member 461 header_domain_append_callback(struct smtp_tx *tx, const char *hdr, in header_domain_append_callback() argument 469 if (smtp_message_printf(tx, "%s:", hdr) == -1) in header_domain_append_callback() 499 if (!skip && j + strlen(tx->session->listener->hostname) + 1 < sizeof buffer) { in header_domain_append_callback() 500 header_append_domain_buffer(buffer, tx->session->listener->hostname, sizeof buffer); in header_domain_append_callback() 501 if (tx->session->flags & SF_AUTHENTICATED && in header_domain_append_callback() 502 tx->session->listener->sendertable[0] && in header_domain_append_callback() 503 tx->session->listener->flags & F_MASQUERADE && in header_domain_append_callback() 505 header_address_rewrite_buffer(buffer, mailaddr_to_text(&tx->evp.sender), in header_domain_append_callback() 508 if (smtp_message_printf(tx, " in header_domain_append_callback() 1919 struct smtp_tx *tx; smtp_proceed_rollback() local 2292 struct smtp_tx *tx; smtp_tx() local 2325 smtp_tx_free(struct smtp_tx * tx) smtp_tx_free() argument 2345 smtp_tx_mail_from(struct smtp_tx * tx,const char * line) smtp_tx_mail_from() argument 2417 smtp_tx_create_message(struct smtp_tx * tx) smtp_tx_create_message() argument 2426 smtp_tx_rcpt_to(struct smtp_tx * tx,const char * line) smtp_tx_rcpt_to() argument 2503 smtp_tx_open_message(struct smtp_tx * tx) smtp_tx_open_message() argument 2513 smtp_tx_commit(struct smtp_tx * tx) smtp_tx_commit() argument 2524 smtp_tx_rollback(struct smtp_tx * tx) smtp_tx_rollback() argument 2535 smtp_tx_dataline(struct smtp_tx * tx,const char * line) smtp_tx_dataline() argument 2661 smtp_tx_filtered_dataline(struct smtp_tx * tx,const char * line) smtp_tx_filtered_dataline() argument 2675 smtp_tx_eom(struct smtp_tx * tx) smtp_tx_eom() argument 2681 smtp_message_fd(struct smtp_tx * tx,int fd) smtp_message_fd() argument 2702 struct smtp_tx*tx = arg; filter_session_io() local 2727 smtp_filter_fd(struct smtp_tx * tx,int fd) smtp_filter_fd() argument 2741 smtp_message_begin(struct smtp_tx * tx) smtp_message_begin() argument 2806 smtp_message_end(struct smtp_tx * tx) smtp_message_end() argument 2857 smtp_filter_printf(struct smtp_tx * tx,const char * fmt,...) smtp_filter_printf() argument 2880 smtp_message_printf(struct smtp_tx * tx,const char * fmt,...) smtp_message_printf() argument [all...] |
| /openbsd-src/lib/libcrypto/rc4/asm/ |
| H A D | rc4-586.pl | 67 $tx="ecx"; 77 &add (&LB($yy),&LB($tx)); 79 &mov (&DWP(0,$dat,$yy,4),$tx); 81 &add ($ty,$tx); 86 &mov ($tx,&DWP(0,$dat,$xx,4)); 88 &mov ($tx,&wparam(3)); # reload [re-biased] out 105 &add (&LB($yy),&LB($tx)); 112 &mov (&DWP(0,$dat,$yy,4),$tx); 115 &add (&LB($ty),&LB($tx)); 117 &mov ($tx,&DWP(0,$dat,@XX[1],4)); [all …]
|
| /openbsd-src/games/hunt/huntd/ |
| H A D | makemaze.c | 141 int tx, ty; in dig_maze() local 149 tx = ty = 0; in dig_maze() 160 tx = x; in dig_maze() 164 tx = x; in dig_maze() 168 tx = x + 2; in dig_maze() 172 tx = x - 2; in dig_maze() 176 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) in dig_maze() 178 if (Maze[ty][tx] == SPACE) in dig_maze() 180 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE; in dig_maze() 181 dig_maze(tx, ty); in dig_maze()
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_cx0_phy.c | 388 int lane, tx; in intel_cx0_phy_set_signal_levels() local 391 tx = ln % 2; in intel_cx0_phy_set_signal_levels() 393 intel_cx0_rmw(i915, encoder->port, BIT(lane), PHY_CX0_VDROVRD_CTL(lane, tx, 0), in intel_cx0_phy_set_signal_levels() 397 intel_cx0_rmw(i915, encoder->port, BIT(lane), PHY_CX0_VDROVRD_CTL(lane, tx, 1), in intel_cx0_phy_set_signal_levels() 401 intel_cx0_rmw(i915, encoder->port, BIT(lane), PHY_CX0_VDROVRD_CTL(lane, tx, 2), in intel_cx0_phy_set_signal_levels() 428 .tx = 0x10, 454 .tx = 0x10, 480 .tx = 0x10, 506 .tx = 0x10, 532 .tx = 0x10, [all …]
|
| H A D | intel_cx0_phy_regs.h | 172 #define PHY_CX0_VDROVRD_CTL(lane, tx, control) \ argument 174 ((lane) ^ (tx)) * 0x10 + (control)) 177 #define PHY_CX0_TX_CONTROL(tx, control) (0x400 + ((tx) - 1) * 0x200 + (control)) argument
|
| /openbsd-src/lib/libcrypto/rc4/ |
| H A D | rc4.c | 83 RC4_INT x, y,tx, ty; in rc4_internal() 124 tx=d[x], \ in rc4_internal() 125 y=(tx+y)&0xff, \ in rc4_internal() 127 d[y]=tx, \ in rc4_internal() 129 (RC4_CHUNK)d[(tx+ty)&0xff]\ in rc4_internal() 201 tx=d[x]; \ in rc4_internal() 202 y=(tx+y)&0xff; \ in rc4_internal() 204 d[y]=tx; \ in rc4_internal() 205 (out) = d[(tx+ty)&0xff]^ (in); in rc4_internal() 81 RC4_INT x, y,tx, ty; rc4_internal() local
|
| /openbsd-src/games/hack/ |
| H A D | hack.wizard.c | 151 schar tx,ty; in inrange() local 159 tx = u.ux - mtmp->mx; in inrange() 161 if((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM) in inrange() 162 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)){ in inrange() 166 buzz(-1,mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange() 224 buzz(-rnd(3),mtmp->mx,mtmp->my,sgn(tx),sgn(ty)); in inrange()
|
| H A D | hack.makemon.c | 220 int tx,ty; in rloc() local 227 tx = rn1(COLNO-3,2); in rloc() 229 } while(!goodpos(tx,ty)); in rloc() 230 mtmp->mx = tx; in rloc() 234 u.ux = tx; in rloc()
|
| H A D | hack.mklev.c | 539 int tx, ty, xx, yy; in join() local 555 tx = troom->lx-1; in join() 557 tt = finddpos(tx,troom->ly,tx,troom->hy); in join() 569 tx = troom->hx+1; in join() 571 tt = finddpos(tx,troom->ly,tx,troom->hy); in join() 582 tx = tt.x - dx; in join() 589 while(xx != tx || yy != ty) { in join() 618 dix = abs(xx-tx); in join() 623 int ddx = (xx > tx) ? -1 : 1; in join() 658 dx = (tx < xx) ? -1 : 1; in join()
|
| /openbsd-src/lib/libm/src/ |
| H A D | e_rem_pio2f.c | 90 float tx[3]; in __ieee754_rem_pio2f() local 167 tx[i] = (float)((int32_t)(z)); in __ieee754_rem_pio2f() 168 z = (z-tx[i])*two8; in __ieee754_rem_pio2f() 170 tx[2] = z; in __ieee754_rem_pio2f() 172 while(tx[nx-1]==zero) nx--; /* skip zero term */ in __ieee754_rem_pio2f() 173 n = __kernel_rem_pio2f(tx,y,e0,nx,2,two_over_pi); in __ieee754_rem_pio2f()
|
| H A D | e_rem_pio2.c | 57 double tx[3]; in __ieee754_rem_pio2() local 137 tx[i] = (double)((int32_t)(z)); in __ieee754_rem_pio2() 138 z = (z-tx[i])*two24; in __ieee754_rem_pio2() 140 tx[2] = z; in __ieee754_rem_pio2() 142 while(tx[nx-1]==zero) nx--; /* skip zero term */ in __ieee754_rem_pio2() 143 n = __kernel_rem_pio2(tx,y,e0,nx,2); in __ieee754_rem_pio2()
|
| H A D | s_fmal.c | 51 long double c, cc, hx, hy, p, q, tx, ty; in fmal() local 152 tx = xs - hx; in fmal() 160 q = hx * ty + tx * hy; in fmal() 162 cc = p - c + q + tx * ty; in fmal()
|
| H A D | s_fma.c | 56 double c, cc, hx, hy, p, q, tx, ty; in fma() local 157 tx = xs - hx; in fma() 165 q = hx * ty + tx * hy; in fma() 167 cc = p - c + q + tx * ty; in fma()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/d30v/ |
| H A D | libgcc1.asm | 94 sub/tx r4,r4,r3 || or/tx r2,r2,1 ; ah -= (tmpf) ? b : 0; al |= tmpf 176 sub/tx r4,r4,r3 || or/tx r2,r2,1 ; ah -= (tmpf) ? b : 0; al |= tmpf 180 sub/tx r2,r0,r2 || sub/tx r4,r0,r4 ; negate both al, ah if (a < 0) 181 cmplt f0,r7,0 -> sub/tx r2,r0,r2 ; negate al if (b < 0)
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_bnxt.c | 668 struct bnxt_tx_queue *tx = &bq->q_tx; in bnxt_attach() 678 tx->tx_softc = sc; in bnxt_attach() 679 tx->tx_ifq = ifq; in bnxt_attach() 680 ifq->ifq_softc = tx; in bnxt_attach() 785 struct bnxt_tx_queue *tx = &bq->q_tx; in bnxt_queue_up() 790 tx->tx_ring_mem = bnxt_dmamem_alloc(sc, PAGE_SIZE); in bnxt_queue_up() 791 if (tx->tx_ring_mem == NULL) { in bnxt_queue_up() 792 printf("%s: failed to allocate tx ring %d\n", DEVNAME(sc), bq->q_index); in bnxt_queue_up() 839 tx->tx_ring.phys_id = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_queue_up() 840 tx in bnxt_queue_up() 667 struct bnxt_tx_queue *tx = &bq->q_tx; bnxt_attach() local 784 struct bnxt_tx_queue *tx = &bq->q_tx; bnxt_queue_up() local 1007 struct bnxt_tx_queue *tx = &bq->q_tx; bnxt_queue_down() local 1340 struct bnxt_tx_queue *tx = ifq->ifq_softc; bnxt_start() local 1595 struct bnxt_tx_queue *tx = &q->q_tx; bnxt_intr() local 2344 bnxt_txeof(struct bnxt_softc * sc,struct bnxt_tx_queue * tx,int * txfree,struct cmpl_base * cmpl) bnxt_txeof() argument [all...] |
| H A D | if_aq_pci.c | 1417 * more rx than tx. these values are in units of 2us. in aq_attach() 1427 struct aq_txring *tx = &aq->q_tx; in aq_attach() local 1440 tx->tx_q = i; in aq_attach() 1441 tx->tx_ifq = ifp->if_ifqs[i]; in aq_attach() 1463 tx->tx_irq = irqnum; in aq_attach() 1467 tx->tx_irq = irqnum++; in aq_attach() 2872 aq_txring_reset(struct aq_softc *sc, struct aq_txring *tx, int start) in aq_txring_reset() argument 2876 tx->tx_prod = 0; in aq_txring_reset() 2877 tx->tx_cons = 0; in aq_txring_reset() 2881 AQ_WRITE_REG_BIT(sc, TX_DMA_DESC_REG(tx in aq_txring_reset() 3161 aq_txeof(struct aq_softc * sc,struct aq_txring * tx) aq_txeof() argument 3212 struct aq_txring *tx = &aq->q_tx; aq_start() local 3412 struct aq_txring *tx; aq_queue_up() local 3499 struct aq_txring *tx; aq_queue_down() local [all...] |
| H A D | if_em.c | 655 head = que->tx.sc_tx_desc_head; in em_start() 656 free = que->tx.sc_tx_desc_tail; in em_start() 662 bus_dmamap_sync(sc->sc_dmat, que->tx.sc_tx_dma.dma_map, in em_start() 663 0, que->tx.sc_tx_dma.dma_map->dm_mapsize, in em_start() 704 que->tx.sc_tx_desc_head); in em_start() 713 bus_dmamap_sync(sc->sc_dmat, que->tx.sc_tx_dma.dma_map, in em_start() 714 0, que->tx.sc_tx_dma.dma_map->dm_mapsize, in em_start() 723 que->tx.sc_tx_desc_head); in em_start() 837 que->tx.sc_tx_desc_head, que->tx in em_watchdog() [all...] |
| H A D | if_mcx.c | 2980 struct mcx_tx *tx = &q->q_tx; in mcx_attach() 3005 tx->tx_softc = sc; in mcx_attach() 3006 tx->tx_ifq = ifq; in mcx_attach() 3007 ifq->ifq_softc = tx; in mcx_attach() 5142 mcx_create_sq(struct mcx_softc *sc, struct mcx_tx *tx, int uar, int db, in mcx_create_sq() 5154 tx->tx_doorbell = MCX_WQ_DOORBELL_BASE + in mcx_create_sq() 5162 if (mcx_dmamem_alloc(sc, &tx->tx_sq_mem, npages * MCX_PAGE_SIZE, in mcx_create_sq() 5196 tx->tx_doorbell); in mcx_create_sq() 5200 bus_dmamap_sync(sc->sc_dmat, MCX_DMA_MAP(&tx->tx_sq_mem), in mcx_create_sq() 5201 0, MCX_DMA_LEN(&tx in mcx_create_sq() 2979 struct mcx_tx *tx = &q->q_tx; mcx_attach() local 5141 mcx_create_sq(struct mcx_softc * sc,struct mcx_tx * tx,int uar,int db,int cqn) mcx_create_sq() argument 5244 mcx_destroy_sq(struct mcx_softc * sc,struct mcx_tx * tx) mcx_destroy_sq() argument 5291 mcx_ready_sq(struct mcx_softc * sc,struct mcx_tx * tx) mcx_ready_sq() argument 6532 mcx_query_sq(struct mcx_softc * sc,struct mcx_tx * tx,struct mcx_sq_ctx * sq_ctx) mcx_query_sq() argument 6802 mcx_process_txeof(struct mcx_softc * sc,struct mcx_tx * tx,struct mcx_cq_entry * cqe) mcx_process_txeof() argument 7004 struct mcx_tx *tx = &q->q_tx; mcx_process_cq() local 7194 struct mcx_tx *tx; mcx_queue_up() local 7286 struct mcx_tx *tx; mcx_up() local 7544 struct mcx_tx *tx = &q->q_tx; mcx_down() local 7797 struct mcx_tx *tx = ifq->ifq_softc; mcx_start() local [all...] |
| H A D | if_wpi.c | 1652 struct wpi_cmd_data *tx; in wpi_tx() local 1734 tx = (struct wpi_cmd_data *)cmd->data; in wpi_tx() 1761 tx->id = WPI_ID_BROADCAST; in wpi_tx() 1763 tx->id = wn->id; in wpi_tx() 1775 tx->timeout = htole16(3); in wpi_tx() 1777 tx->timeout = htole16(2); in wpi_tx() 1779 tx->timeout = htole16(0); in wpi_tx() 1781 tx->len = htole16(totlen); in wpi_tx() 1782 tx->tid = tid; in wpi_tx() 1783 tx->rts_ntries = 7; in wpi_tx() [all …]
|
| /openbsd-src/sys/dev/pci/drm/ |
| H A D | drm_mipi_dsi.c | 582 const u8 *tx = msg->tx_buf; in mipi_dsi_create_packet() local 584 packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0; in mipi_dsi_create_packet() 585 packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0; in mipi_dsi_create_packet() 646 u8 tx[2] = { value & 0xff, value >> 8 }; in mipi_dsi_set_maximum_return_packet_size() local 650 .tx_len = sizeof(tx), in mipi_dsi_set_maximum_return_packet_size() 651 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size() 672 u8 tx[2] = { enable << 0, 0 }; in mipi_dsi_compression_mode() local 676 .tx_len = sizeof(tx), in mipi_dsi_compression_mode() 677 .tx_buf = tx, in mipi_dsi_compression_mode() 859 u8 *tx; in mipi_dsi_dcs_write() local [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | 930614-1.c | 9 double tx = 0.0, ty, d; in main() local 15 d = (tx > ty) ? tx : ty; in main()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
| H A D | 920428-2.c | 153 …long _xx; float xx; long _xy; float xy; long _yx; float yx; long _yy; float yy; long _tx; float tx… member 168 …long _xx; float xx; long _xy; float xy; long _yx; float yx; long _yy; float yy; long _tx; float tx… member 386 { (*pmat). tx = ((float)(((*pmat). tx_fixed = ((fixed)(((*pmat). tx)*(float)(1<<12 ) )) )*(1.0/(1<<… in gs_update_matrix_fixed() 392 …(pgs->ctm). tx = ((float)(((pgs->ctm). tx_fixed = ((fixed)(((pgs->ctm). tx)*(float)(1<<12 ) )) )*(… in gs_initmatrix() 409 …(pgs->ctm). tx = ((float)(((pgs->ctm). tx_fixed = ((fixed)(((pgs->ctm). tx)*(float)(1<<12 ) )) )*(… in gs_setmatrix() 418 pgs->ctm.tx += pt.x; in gs_translate() 420 …(pgs->ctm). tx = ((float)(((pgs->ctm). tx_fixed = ((fixed)(((pgs->ctm). tx)*(float)(1<<12 ) )) )*(… in gs_translate() 441 …(pgs->ctm). tx = ((float)(((pgs->ctm). tx_fixed = ((fixed)(((pgs->ctm). tx)*(float)(1<<12 ) )) )*(… in gs_concat() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed()
|
| H A D | 920928-2.c | 5 short x,y,delta,s,w,h,fx,fy,tx,ty; local 8 s=(((int)((short)(tx-fx))<(int)((short)(ty-fy)))?((short)(tx-fx)):((short)(ty-fy)))%2;
|
| /openbsd-src/gnu/usr.bin/texinfo/makeinfo/tests/ |
| H A D | include-value.txi | 8 @set test-var incl-incl.tx 11 @set test_var ncl-incl.tx
|
| /openbsd-src/lib/libcurses/tty/ |
| H A D | lib_mvcur.c | 116 #define NOT_LOCAL(sp, fy, fx, ty, tx) ((tx > LONG_DIST) \ argument 117 && (tx < screen_columns(sp) - 1 - LONG_DIST) \ 118 && (abs(ty-fy) + abs(tx-fx) > LONG_DIST)) 1208 int fy, fx, ty, tx, n, i; in main() local 1231 } else if (sscanf(buf, "%d %d %d %d", &fy, &fx, &ty, &tx) == 4) { in main() 1237 mvcur(fy, fx, ty, tx); in main() 1244 } else if (sscanf(buf, "s %d %d %d %d", &fy, &fx, &ty, &tx) == 4) { in main() 1250 _nc_scrolln(fy, fx, ty, tx); in main()
|