Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 25 of 108) sorted by relevance

12345

/openbsd/src/usr.sbin/smtpd/
Dsmtp_session.c141 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, "%s,", buffer) == -1) in header_domain_append_callback()
[all …]
/openbsd/src/lib/libcrypto/rc4/asm/
Drc4-586.pl67 $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/sys/dev/pci/drm/i915/display/
Dintel_cx0_phy.c468 int tx = ln % 2; in intel_cx0_phy_set_signal_levels() local
474 intel_cx0_rmw(encoder, lane_mask, PHY_CX0_VDROVRD_CTL(lane, tx, 0), in intel_cx0_phy_set_signal_levels()
478 intel_cx0_rmw(encoder, lane_mask, PHY_CX0_VDROVRD_CTL(lane, tx, 1), in intel_cx0_phy_set_signal_levels()
482 intel_cx0_rmw(encoder, lane_mask, PHY_CX0_VDROVRD_CTL(lane, tx, 2), in intel_cx0_phy_set_signal_levels()
509 .tx = 0x10,
535 .tx = 0x10,
561 .tx = 0x10,
587 .tx = 0x10,
613 .tx = 0x10,
639 .tx = 0x10,
[all …]
Dintel_cx0_phy_regs.h232 #define PHY_CX0_VDROVRD_CTL(lane, tx, control) \ argument
234 ((lane) ^ (tx)) * 0x10 + (control))
237 #define PHY_CX0_TX_CONTROL(tx, control) (0x400 + ((tx) - 1) * 0x200 + (control)) argument
/openbsd/src/games/hunt/huntd/
Dmakemaze.c141 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/lib/libcrypto/rc4/
Drc4.c83 RC4_INT x, y,tx, ty; in rc4_internal() local
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()
/openbsd/src/games/hack/
Dhack.wizard.c151 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()
Dhack.makemon.c220 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()
Dhack.mklev.c539 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/
De_rem_pio2f.c90 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()
De_rem_pio2.c57 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()
Ds_fma.c56 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()
Ds_fmal.c51 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()
/openbsd/src/gnu/usr.bin/gcc/gcc/config/d30v/
Dlibgcc1.asm94 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/
Dif_bnxt.c668 struct bnxt_tx_queue *tx = &bq->q_tx; in bnxt_attach() local
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() local
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()
839 tx->tx_ring.phys_id = (uint16_t)HWRM_NA_SIGNATURE; in bnxt_queue_up()
840 tx->tx_ring.id = BNXT_TX_RING_ID_BASE + bq->q_index; in bnxt_queue_up()
841 tx->tx_ring.doorbell = tx->tx_ring.id * 0x80; in bnxt_queue_up()
[all …]
Dif_aq_pci.c1436 struct aq_txring *tx = &aq->q_tx; in aq_attach() local
1449 tx->tx_q = i; in aq_attach()
1450 tx->tx_ifq = ifp->if_ifqs[i]; in aq_attach()
1472 tx->tx_irq = irqnum; in aq_attach()
1476 tx->tx_irq = irqnum++; in aq_attach()
2914 aq_txring_reset(struct aq_softc *sc, struct aq_txring *tx, int start) in aq_txring_reset() argument
2918 tx->tx_prod = 0; in aq_txring_reset()
2919 tx->tx_cons = 0; in aq_txring_reset()
2923 AQ_WRITE_REG_BIT(sc, TX_DMA_DESC_REG(tx->tx_q), TX_DMA_DESC_EN, 0); in aq_txring_reset()
2928 paddr = AQ_DMA_DVA(&tx->tx_mem); in aq_txring_reset()
[all …]
Dif_em.c655 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.sc_tx_desc_tail, in em_watchdog()
1208 head = que->tx.sc_tx_desc_head; in em_encap()
[all …]
Dif_mcx.c2980 struct mcx_tx *tx = &q->q_tx; in mcx_attach() local
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() argument
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->tx_sq_mem), BUS_DMASYNC_PREWRITE); in mcx_create_sq()
[all …]
Dif_wpi.c1652 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/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
D930614-1.c9 double tx = 0.0, ty, d; in main() local
15 d = (tx > ty) ? tx : ty; in main()
/openbsd/src/sys/dev/pci/drm/
Ddrm_mipi_dsi.c582 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()
648 u8 tx[2] = { value & 0xff, value >> 8 }; in mipi_dsi_set_maximum_return_packet_size() local
652 .tx_len = sizeof(tx), in mipi_dsi_set_maximum_return_packet_size()
653 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size()
677 u8 tx[2] = { }; in mipi_dsi_compression_mode_ext() local
681 .tx_len = sizeof(tx), in mipi_dsi_compression_mode_ext()
682 .tx_buf = tx, in mipi_dsi_compression_mode_ext()
689 tx[0] = (enable << 0) | in mipi_dsi_compression_mode_ext()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
D920428-2.c153 …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()
D920928-2.c5 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/
Dinclude-value.txi8 @set test-var incl-incl.tx
11 @set test_var ncl-incl.tx
/openbsd/src/lib/libcurses/tty/
Dlib_mvcur.c116 #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()

12345