Home
last modified time | relevance | path

Searched refs:sq (Results 1 – 25 of 80) sorted by relevance

1234

/openbsd/src/usr.sbin/unbound/services/
Doutside_network.c84 static void serviced_tcp_initiate(struct serviced_query* sq, sldns_buffer* buff);
94 static int serviced_udp_send(struct serviced_query* sq, sldns_buffer* buff);
97 static int serviced_tcp_send(struct serviced_query* sq, sldns_buffer* buff);
100 static void serviced_callbacks(struct serviced_query* sq, int error,
1006 if(outnet->dtenv && pend_tcp && w && w->sq &&
1011 dt_msg_send_outside_query(outnet->dtenv, &w->sq->addr,
1012 &pend_tcp->pi->addr, comm_tcp, NULL, w->sq->zone,
1013 w->sq->zonelen, &tmp);
1447 log_assert(!pend->sq->busy);
1448 pend->sq->busy = 1;
[all …]
Doutside_network.h334 struct serviced_query* sq; member
423 struct serviced_query* sq; member
597 struct pending* pending_udp_query(struct serviced_query* sq,
613 struct waiting_tcp* pending_tcp_query(struct serviced_query* sq,
674 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg);
691 size_t serviced_get_mem(struct serviced_query* sq);
/openbsd/src/sbin/unwind/libunbound/services/
Doutside_network.c84 static void serviced_tcp_initiate(struct serviced_query* sq, sldns_buffer* buff);
94 static int serviced_udp_send(struct serviced_query* sq, sldns_buffer* buff);
97 static int serviced_tcp_send(struct serviced_query* sq, sldns_buffer* buff);
100 static void serviced_callbacks(struct serviced_query* sq, int error,
1006 if(outnet->dtenv && pend_tcp && w && w->sq &&
1011 dt_msg_send_outside_query(outnet->dtenv, &w->sq->addr,
1012 &pend_tcp->pi->addr, comm_tcp, NULL, w->sq->zone,
1013 w->sq->zonelen, &tmp);
1447 log_assert(!pend->sq->busy);
1448 pend->sq->busy = 1;
[all …]
Doutside_network.h334 struct serviced_query* sq; member
423 struct serviced_query* sq; member
597 struct pending* pending_udp_query(struct serviced_query* sq,
613 struct waiting_tcp* pending_tcp_query(struct serviced_query* sq,
674 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg);
691 size_t serviced_get_mem(struct serviced_query* sq);
/openbsd/src/usr.sbin/unbound/edns-subnet/
Dsubnetmod.c93 struct subnet_qstate *sq = (struct subnet_qstate*)regional_alloc( in subnet_new_qstate() local
95 if(!sq) in subnet_new_qstate()
97 qstate->minfo[id] = sq; in subnet_new_qstate()
98 memset(sq, 0, sizeof(*sq)); in subnet_new_qstate()
99 sq->started_no_cache_store = qstate->no_cache_store; in subnet_new_qstate()
100 sq->started_no_cache_lookup = qstate->no_cache_lookup; in subnet_new_qstate()
149 struct subnet_qstate *sq; in ecs_whitelist_check() local
152 if(!(sq=(struct subnet_qstate*)qstate->minfo[id])) in ecs_whitelist_check()
162 sq->subnet_sent_no_subnet = 0; in ecs_whitelist_check()
163 if(sq->ecs_server_out.subnet_validdata && ((sq->subnet_downstream && in ecs_whitelist_check()
[all …]
/openbsd/src/games/sail/
Ddr_1.c68 struct ship *sp, *sq; in boardcomp() local
82 foreachship(sq) { in boardcomp()
83 if (!Xsnagged2(sp, sq)) in boardcomp()
85 if (meleeing(sp, sq)) in boardcomp()
87 if (!sq->file->dir in boardcomp()
88 || sp->nationality == capship(sq)->nationality) in boardcomp()
90 switch (sp->specs->class - sq->specs->class) { in boardcomp()
94 sendbp(sp, sq, crew[0]*100, 0); in boardcomp()
98 sendbp(sp, sq, crew[1]*10, 0); in boardcomp()
105 sendbp(sp, sq, crew[0]*100+crew[1]*10, in boardcomp()
[all …]
Ddr_2.c45 struct ship *sp, *sq; in thinkofgrapples() local
51 foreachship(sq) { in thinkofgrapples()
52 friendly = sp->nationality == capship(sq)->nationality; in thinkofgrapples()
56 if (range(sp, sq) != 1) in thinkofgrapples()
58 if (grappled2(sp, sq)) { in thinkofgrapples()
59 if (is_toughmelee(sp, sq, 0, 0)) in thinkofgrapples()
60 ungrap(sp, sq); in thinkofgrapples()
62 grap(sp, sq); in thinkofgrapples()
63 } else if (couldwin(sp, sq)) { in thinkofgrapples()
64 grap(sp, sq); in thinkofgrapples()
[all …]
Ddr_3.c44 struct ship *sp, *sq; /* r11, r10 */ in moveall() local
121 foreachship(sq) { in moveall()
124 if (sp == sq) in moveall()
126 if (sq->file->dir == 0) in moveall()
128 if (!push(sp, sq)) in moveall()
130 if (snagged2(sp, sq) && range(sp, sq) > 1) in moveall()
132 if (!range(sp, sq) && !fouled2(sp, sq)) { in moveall()
133 makesignal(sp, "collision with $$", sq); in moveall()
136 sq); in moveall()
138 Write(W_FOUL, sq, n, 0, 0, 0); in moveall()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/f/
Dstorag.c144 ffestorag sq; in ffestorag_dump() local
147 for (sq = s->equivs_.first; in ffestorag_dump()
148 sq != (ffestorag) &s->equivs_.first; in ffestorag_dump()
149 sq = ffestorag_next_ (sq)) in ffestorag_dump()
151 if (ffestorag_previous_ (sq) == (ffestorag) &s->equivs_.first) in ffestorag_dump()
155 fprintf (dmpout, "%s", ffesymbol_text (ffestorag_symbol (sq))); in ffestorag_dump()
521 ffestorag sq; in ffestorag_update_init() local
535 for (sq = s->equivs_.first; in ffestorag_update_init()
536 sq != (ffestorag) &s->equivs_.first; in ffestorag_update_init()
537 sq = ffestorag_next_ (sq)) in ffestorag_update_init()
[all …]
/openbsd/src/usr.sbin/smtpd/
Dmailaddr.c29 int esc, dq, sq; in mailaddr_line_split() local
34 esc = dq = sq = 0; in mailaddr_line_split()
46 if (*s == ',' && !dq && !sq) { in mailaddr_line_split()
55 if (*s == '"' && !sq) in mailaddr_line_split()
58 sq ^= 1; in mailaddr_line_split()
61 if (esc || dq || sq || i == sizeof(buffer)) in mailaddr_line_split()
Dexpand.c181 int esc, dq, sq; in expand_line_split() local
186 esc = dq = sq = 0; in expand_line_split()
198 if (*s == ',' && !dq && !sq) { in expand_line_split()
207 if (*s == '"' && !sq) in expand_line_split()
210 sq ^= 1; in expand_line_split()
213 if (esc || dq || sq || i == sizeof(buffer)) in expand_line_split()
/openbsd/src/games/monop/
Dhouses.c137 pp = mp->sq[i]->desc; in buy_h()
140 printf("%s (H):\n", mp->sq[i]->name); in buy_h()
146 mp->sq[i]->name, pp->houses); in buy_h()
191 mp->sq[i]->desc->houses = temp[i]; in buy_h()
259 pp = mp->sq[i]->desc; in sell_h()
262 printf("%s (0):\n", mp->sq[i]->name); in sell_h()
268 mp->sq[i]->name,pp->houses); in sell_h()
271 mp->sq[i]->name); in sell_h()
294 mp->sq[i]->desc->houses = temp[i]; in sell_h()
306 sqp = mp->sq[i]; in list_cur()
[all …]
Dmisc.c244 mp->sq[i]->desc->monop = TRUE; in is_monop()
257 mp->sq[i]->desc->monop = FALSE; in isnot_monop()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
D950922-1.c5 struct sq { struct
24 struct sq q; in f() argument
/openbsd/src/games/hack/
Dhack.mkshop.c81 static int sq(int);
246 i = sq(dist2(sx,sy,doors[sh].x,doors[sh].y)); in mkzoo()
345 sq(int a) in sq() function
/openbsd/src/regress/lib/libcrypto/x509/bettertls/certificates/
D1232.crt19 eyDgmBa99V2QAwSTz1m52g9SOYfmxmWECnUMR5qcW/sq+JycXcEx1eSYZbFU/9Fb
D3463.crt11 xMHyS+iplEOrR1k4uj8K+yad3LemDoxKSaEbE9OzIU0xrfTTiXSEv7R4KU1At/sq
D2507.key10 RDx9N5PT2GOEPmIXaZ2p0q+sq/JMPHJYUbF1s41RtDdIDfTbsaa4ziFMhmHL3+Lc
D1319.key12 yRtIyf/QLlhwilvJoHwFk3mREMrr+o7rHf0eMTPu/U+8WdSVaxeN3IwJeT6GR/sq
D512.key21 sq+oGkJacSpLHx2ALb5j4lkCgYB33SrTEjc5/aw3Ns7R6pUb/Jek7ralcUGFMxYO
D2723.key7 PuEvDj+sq/ImJb0cHKMnRFAy9org3vnhQjsEnwIDAQABAoIBAQCfdJVrJMSuMm8+
D1661.key10 sq+/Jm27RA3lNFegP/AxRqb149XqagL7G+CC8XD8Rt5hc5+6Oc8fIqZS1T772qz9
/openbsd/src/regress/usr.bin/mandoc/eqn/unary/
Dsqrt.out_ascii4 uunnaarryy--ssqqrrtt - square root
/openbsd/src/bin/ksh/
DCONTRIBUTORS18 * John R MacMillan (@yonge.csri.toronto.edu:chance!john@sq.sq.com)
30 * John R MacMillan (@yonge.csri.toronto.edu:chance!john@sq.sq.com), ?:
/openbsd/src/usr.sbin/unbound/testcode/
Dfake_event.c1149 pending_udp_query(struct serviced_query* sq, sldns_buffer* packet, in pending_udp_query() argument
1153 sq->outnet->base; in pending_udp_query()
1162 memcpy(&pend->addr, &sq->addr, sq->addrlen); in pending_udp_query()
1163 pend->addrlen = sq->addrlen; in pending_udp_query()
1199 pending_tcp_query(struct serviced_query* sq, sldns_buffer* packet, in pending_tcp_query() argument
1203 sq->outnet->base; in pending_tcp_query()
1212 memcpy(&pend->addr, &sq->addr, sq->addrlen); in pending_tcp_query()
1213 pend->addrlen = sq->addrlen; in pending_tcp_query()
1373 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg) in outnet_serviced_query_stop() argument
1375 struct fake_pending* pend = (struct fake_pending*)sq; in outnet_serviced_query_stop()

1234