HomeSort by: relevance | last modified time | path
    Searched defs:sq (Results 1 - 25 of 47) sorted by relevancy

1 2

  /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
  /src/games/sail/
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...]
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...]
  /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/sys/kern/
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_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_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/sys/sys/
sleeptab.h 64 sleepq_t *sq; local
68 sq = &st->st_queue[hash];
71 return sq;
  /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/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/monop/
monop.h 91 SQUARE *sq[3]; /* list of squares in monop */ member in struct:mon_st
  /src/external/bsd/pcc/dist/pcc/cc/cxxcom/
init.c 434 struct symtab *sq, *sp; local
467 sq = pstk->in_lnk;
468 if (sq == NULL) {
471 is->in_lnk = ISSOU(sq->stype) ? strmemb(sq->sap) : NULL;
472 is->in_t = sq->stype;
473 is->in_sym = sq;
474 is->in_df = sq->sdf;
  /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/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/external/bsd/pcc/dist/pcc/cc/ccom/
init.c 455 struct symtab *sq, *sp; local
488 sq = pstk->in_lnk;
489 if (sq == NULL) {
492 is->in_lnk = ISSOU(sq->stype) ? strmemb(sq->sap) : NULL;
493 is->in_t = sq->stype;
494 is->in_sym = sq;
495 is->in_df = sq->sdf;
  /src/external/mit/libuv/dist/src/
uv-common.h 419 void* sq; /* pointer to munmap() on event loop teardown */ member in struct:uv__iou
  /src/sys/arch/luna68k/dev/
omrasops.c 1285 uint8_t *sp, *dp, *sq, *dq, *basep; local
1345 sq = sp;
1368 sp = (sq += scanspan);
1384 sq = sp;
1407 sp = (sq += scanspan);
1418 uint8_t *sp, *dp, *sq, *dq, *basep; local
1484 sq = sp;
1525 sp = (sq += scanspan);
1541 sq = sp;
1582 sp = (sq += scanspan)
    [all...]
  /src/usr.bin/diff/
diffreg.c 583 int oldc, tc, oldl, sq; local
589 sq = sqrt(n);
590 bound = MAX(256, sq);
  /src/external/bsd/unbound/dist/daemon/
worker.c 249 struct serviced_query *sq = e->qsent; local
254 worker_mem_report(worker, sq);
267 worker_mem_report(worker, sq);
271 worker_mem_report(worker, sq);

Completed in 82 milliseconds

1 2