| /src/external/bsd/unbound/dist/services/ |
| outside_network.c | 84 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, 1021 if(outnet->dtenv && pend_tcp && w && w->sq && 1026 dt_msg_send_outside_query(outnet->dtenv, &w->sq->addr, 1027 &pend_tcp->pi->addr, comm_tcp, NULL, w->sq->zone, 1028 w->sq->zonelen, &tmp); 1253 * the callbacks remove references in sq->pending to the waiting_tcp 1462 log_assert(!pend->sq->busy) 1838 struct serviced_query* sq = (struct serviced_query*)node; local 2602 struct serviced_query* sq = (struct serviced_query*)arg; local 2634 struct serviced_query* sq = (struct serviced_query*)malloc(sizeof(*sq)); local 3091 struct serviced_query* sq = (struct serviced_query*)arg; local 3279 struct serviced_query* sq = (struct serviced_query*)arg; local 3431 struct serviced_query* sq; local 3897 struct serviced_query* sq; local [all...] |
| outside_network.h | 334 struct serviced_query* sq; member in struct:pending 423 struct serviced_query* sq; member in struct:waiting_tcp 590 * @param sq: serviced query. 597 struct pending* pending_udp_query(struct serviced_query* sq, 604 * @param sq: serviced query. 613 struct waiting_tcp* pending_tcp_query(struct serviced_query* sq, 670 * @param sq: serviced query to adjust. 674 void outnet_serviced_query_stop(struct serviced_query* sq, void* cb_arg); 688 * @param sq: serviced query. 691 size_t serviced_get_mem(struct serviced_query* sq); [all...] |
| /src/external/bsd/unbound/dist/edns-subnet/ |
| subnetmod.c | 94 struct subnet_qstate *sq = (struct subnet_qstate*)regional_alloc( local 96 if(!sq) 98 qstate->minfo[id] = sq; 99 memset(sq, 0, sizeof(*sq)); 100 sq->started_no_cache_store = qstate->no_cache_store; 101 sq->started_no_cache_lookup = qstate->no_cache_lookup; 150 struct subnet_qstate *sq; local 153 if(!(sq=(struct subnet_qstate*)qstate->minfo[id])) 157 if(sq->is_subquery_nonsubnet) 380 struct subnet_qstate *sq = (struct subnet_qstate*)qstate->minfo[id]; local 809 struct subnet_qstate *sq; local 861 struct subnet_qstate *sq; local 898 struct subnet_qstate *sq = (struct subnet_qstate*)qstate->minfo[id]; local [all...] |
| /src/sys/rump/librump/rumpkern/ |
| sleepq.c | 45 sleepq_init(sleepq_t *sq) 48 LIST_INIT(sq); 49 cv_init(&sq->sq_cv, "sleepq"); 53 sleepq_destroy(sleepq_t *sq) 56 cv_destroy(&sq->sq_cv); 60 sleepq_enter(sleepq_t *sq, lwp_t *l, kmutex_t *mp) 75 sleepq_enqueue(sleepq_t *sq, wchan_t wc, const char *wmsg, syncobj_t *sob, 82 l->l_sleepq = sq; 83 LIST_INSERT_HEAD(sq, l, l_sleepchain); 113 sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp [all...] |
| /src/sys/kern/ |
| kern_sleepq.c | 102 sleepq_init(sleepq_t *sq) 105 LIST_INIT(sq); 121 sleepq_remove(sleepq_t *sq, lwp_t *l, bool wakeup) 129 KASSERT(sq != NULL); 132 KASSERT(sq == NULL); 192 sleepq_insert(sleepq_t *sq, lwp_t *l, syncobj_t *sobj) 196 KASSERT(sq == NULL); 199 KASSERT(sq != NULL); 205 LIST_FOREACH(l2, sq, l_sleepchain) { 221 LIST_INSERT_HEAD(sq, l, l_sleepchain) 488 sleepq_t *sq = l->l_sleepq; local 613 sleepq_t *sq = l->l_sleepq; local 629 sleepq_t *sq = l->l_sleepq; local [all...] |
| kern_condvar.c | 128 sleepq_t *sq; local 137 sq = CV_SLEEPQ(cv); 138 nlocks = sleepq_enter(sq, l, mp); 139 sleepq_enqueue(sq, cv, CV_WMESG(cv), &cv_syncobj, catch_p); 486 sleepq_t *sq; local 491 sq = CV_SLEEPQ(cv); 492 if (__predict_true((l = LIST_FIRST(sq)) != NULL)) { 493 KASSERT(l->l_sleepq == sq); 496 sleepq_remove(sq, l, true); 533 sleepq_t *sq; local [all...] |
| kern_turnstile.c | 376 sleepq_t *sq; local 419 sq = &ts->ts_sleepq[q]; 421 nlocks = sleepq_enter(sq, l, lock); 423 sleepq_enqueue(sq, obj, sobj->sobj_name, sobj, false); 446 sleepq_t *sq; local 453 sq = &ts->ts_sleepq[q]; 471 LIST_FOREACH(l, sq, l_sleepchain) { 481 l = LIST_FIRST(sq);
|
| kern_synch.c | 188 sleepq_t *sq; local 203 sq = sleeptab_lookup(&sleeptab, ident, &mp); 204 nlocks = sleepq_enter(sq, l, mp); 205 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj, catch_p); 214 sleepq_t *sq; local 228 sq = sleeptab_lookup(&sleeptab, ident, &mp); 229 nlocks = sleepq_enter(sq, l, mp); 230 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj, catch_p); 274 sleepq_t *sq; local 280 sq = sleeptab_lookup(&sleeptab, ident, &mp) [all...] |
| /src/games/sail/ |
| dr_1.c | 77 struct ship *sp, *sq; local 91 foreachship(sq) { 92 if (!Xsnagged2(sp, sq)) 94 if (meleeing(sp, sq)) 96 if (!sq->file->dir 97 || sp->nationality == capship(sq)->nationality) 99 switch (sp->specs->class - sq->specs->class) { 103 sendbp(sp, sq, crew[0]*100, 0); 107 sendbp(sp, sq, crew[1]*10, 0); 114 sendbp(sp, sq, crew[0]*100+crew[1]*10 239 struct ship *sp, *sq; local [all...] |
| dr_2.c | 65 struct ship *sp, *sq; local 71 foreachship(sq) { 72 friendly = sp->nationality == capship(sq)->nationality; 76 if (range(sp, sq) != 1) 78 if (grappled2(sp, sq)) { 79 if (is_toughmelee(sp, sq, 0, 0)) 80 ungrap(sp, sq); 82 grap(sp, sq); 83 } else if (couldwin(sp, sq)) { 84 grap(sp, sq); 96 struct ship *sp, *sq; local [all...] |
| dr_3.c | 55 struct ship *sp, *sq; local 130 foreachship(sq) { 133 if (sp == sq) 135 if (sq->file->dir == 0) 137 if (!push(sp, sq)) 139 if (snagged2(sp, sq) && range(sp, sq) > 1) 141 if (!range(sp, sq) && !fouled2(sp, sq)) { 142 makesignal(sp, "collision with $$", sq); [all...] |
| /src/share/man/man4/man4.sgimips/ |
| Makefile | 4 imc.4 intro.4 light.4 mace.4 mavb.4 mec.4 newport.4 pic.4 sq.4 wdsc.4
|
| /src/sys/sys/ |
| sleeptab.h | 64 sleepq_t *sq; local 68 sq = &st->st_queue[hash]; 71 return sq;
|
| /src/games/monop/ |
| houses.c | 148 pp = mp->sq[i]->desc; 151 printf("%s (H):\n", mp->sq[i]->name); 157 mp->sq[i]->name, pp->houses); 210 mp->sq[i]->desc->houses = result[i]; 281 pp = mp->sq[i]->desc; 284 printf("%s (0):\n", mp->sq[i]->name); 290 mp->sq[i]->name,pp->houses); 293 mp->sq[i]->name); 318 mp->sq[i]->desc->houses = temp[i]; 330 sqp = mp->sq[i] [all...] |
| misc.c | 245 mp->sq[i]->desc->monop = TRUE; 259 mp->sq[i]->desc->monop = FALSE;
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| tls13encryptiontest.c | 219 unsigned char *pt = NULL, *sq = NULL, *ivtmp = NULL; local 224 sq = OPENSSL_hexstr2buf(recd->seq, NULL); 227 if (*key == NULL || ivtmp == NULL || sq == NULL || pt == NULL) 238 memcpy(seq, sq, SEQ_NUM_SIZE); 239 OPENSSL_free(sq); 248 OPENSSL_free(sq);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| tls13encryptiontest.c | 242 unsigned char *pt = NULL, *sq = NULL, *ivtmp = NULL; local 247 sq = OPENSSL_hexstr2buf(recd->seq, NULL); 250 if (*key == NULL || ivtmp == NULL || sq == NULL || pt == NULL) 261 memcpy(seq, sq, SEQ_NUM_SIZE); 262 OPENSSL_free(sq); 271 OPENSSL_free(sq);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| tls13encryptiontest.c | 253 unsigned char *pt = NULL, *sq = NULL, *ivtmp = NULL; local 258 sq = OPENSSL_hexstr2buf(recd->seq, NULL); 261 if (*key == NULL || ivtmp == NULL || sq == NULL || pt == NULL) 272 memcpy(seq, sq, SEQ_NUM_SIZE); 273 OPENSSL_free(sq); 282 OPENSSL_free(sq);
|
| /src/external/lgpl3/mpfr/dist/src/ |
| sum.c | 539 mpfr_prec_t sq; local 566 sq = MPFR_GET_PREC (sum); 570 * cq + sq + logn + 2 >= logn + sq + 5, which will be used later. 571 * The assertion wq - cq - sq >= 4 is another way to check that. 573 ws = MPFR_PREC2LIMBS (cq + sq + logn + 2); 575 MPFR_ASSERTD (wq - cq - sq >= 4); 578 zs = MPFR_PREC2LIMBS (wq - sq); 580 MPFR_LOG_MSG (("cq=%d sq=%Pd logn=%d wq=%Pd\n", cq, sq, logn, wq)) [all...] |
| /src/sys/external/bsd/ena-com/ |
| ena_com.c | 123 struct ena_com_admin_sq *sq = &queue->sq; local 126 ENA_MEM_ALLOC_COHERENT(queue->q_dmadev, size, sq->entries, sq->dma_addr, 127 sq->mem_handle); 129 if (!sq->entries) { 134 sq->head = 0; 135 sq->tail = 0; 136 sq->phase = 1; 138 sq->db_addr = NULL 1584 struct ena_com_admin_sq *sq = &admin_queue->sq; local [all...] |
| /src/sys/ddb/ |
| db_xxx.c | 350 sleepq_t sq; local 353 db_read_bytes(addr, sizeof(lp), (char *)&sq); 355 if ((lp = LIST_FIRST(&sq)) == NULL) {
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| hash.c | 59 unsigned long int sq = divn * divn; local 61 while (sq < candidate && candidate % divn != 0) 64 sq += 4 * divn;
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| hash.c | 59 unsigned long int sq = divn * divn; local 61 while (sq < candidate && candidate % divn != 0) 64 sq += 4 * divn;
|
| /src/external/gpl2/gettext/dist/gnulib-local/lib/ |
| hash.c | 59 unsigned long int sq = divn * divn; local 61 while (sq < candidate && candidate % divn != 0) 64 sq += 4 * divn;
|
| /src/games/hack/ |
| hack.mkshop.c | 87 static int sq(int); 263 i = sq(dist2(sx, sy, doors[sh].x, doors[sh].y)); 368 sq(int a) function
|