/dragonfly/games/gomoku/ |
H A D | pickmove.c | 328 } while ((cbp = cbp->c_next) != ecbp); in scanframes() 617 } while ((cbp = cbp->c_next) != ecbp); in addframes() 832 cbp = cbp->c_link[0]) { in makeempty() 973 for (; (tcbp = cbp->c_link[1]) != NULL; cbp = cbp->c_link[0]) { in updatecombo() 1054 cbp->c_next = cbp; in appendcombo() 1055 cbp->c_prev = cbp; in appendcombo() 1100 lcbp = cbp, cbp = cbp->c_link[0]) { in checkframes() 1332 cbp->c_combo.s, cbp->c_nframes); in printcombo() 1335 for (; (tcbp = cbp->c_link[1]) != NULL; cbp = cbp->c_link[0]) { in printcombo() 1372 for (cbp = ocbp; (tcbp = cbp->c_link[1]) != NULL; cbp = cbp->c_link[0]) { in markcombo() [all …]
|
H A D | makemove.c | 62 struct combostr *cbp, *cbp1; in makemove() local 96 cbp = fsp->s_frame[r]; in makemove() 97 if (cbp->c_next) { in makemove() 98 if (sortframes[BLACK] == cbp) in makemove() 100 if (sortframes[WHITE] == cbp) in makemove() 102 cbp->c_next->c_prev = cbp->c_prev; in makemove() 103 cbp->c_prev->c_next = cbp->c_next; in makemove() 163 sortframes[us] = cbp->c_next = cbp->c_prev = cbp; in makemove() 168 sortframes[us] = cbp; in makemove() 177 cbp->c_next = cbp1; in makemove() [all …]
|
H A D | bdinit.c | 47 struct combostr *cbp; in bdinit() local 60 cbp = frames; in bdinit() 129 cbp->c_vertex = sp - board; in bdinit() 130 cbp->c_nframes = 1; in bdinit() 131 cbp->c_dir = r; in bdinit() 132 sp->s_frame[r] = cbp; in bdinit() 133 cbp++; in bdinit() 172 struct combostr *cbp; in init_overlap() local 184 cbp = &frames[frameix]; in init_overlap() 188 d1 = dd[r = cbp->c_dir]; in init_overlap() [all …]
|
H A D | main.c | 366 struct combostr *cbp; in whatsup() local 470 cbp = ep->e_combo; in whatsup() 472 if (cbp->c_nframes > n) in whatsup() 474 if (cbp->c_nframes != n) in whatsup() 477 printcombo(cbp, tmp, sizeof(tmp)); in whatsup()
|
/dragonfly/contrib/nvi2/common/ |
H A D | cut.c | 66 CB *cbp; in cut() local 120 if (cbp == NULL) { in cut() 127 cbp->len = 0; in cut() 128 cbp->flags = 0; in cut() 176 cbp->len = 0; in cut() 177 cbp->flags = 0; in cut() 195 cbp->name += 1; in cb_rotate() 202 del_cbp = cbp; in cb_rotate() 205 pre_cbp = cbp; in cb_rotate() 261 CB *cbp; in cut_close() local [all …]
|
H A D | put.c | 32 put(SCR *sp, CB *cbp, CHAR_T *namep, MARK *cp, MARK *rp, int append) in put() argument 42 if (cbp == NULL) in put() 44 cbp = sp->gp->dcbp; in put() 45 if (cbp == NULL) { in put() 52 CBNAME(sp, cbp, name); in put() 53 if (cbp == NULL) { in put() 59 tp = TAILQ_FIRST(cbp->textq); in put() 91 if (F_ISSET(cbp, CB_LMODE)) { in put() 179 ltp = TAILQ_LAST(cbp->textq, _texth); in put()
|
H A D | cut.h | 66 #define CBNAME(sp, cbp, nch) { \ argument 69 SLIST_FOREACH(cbp, sp->gp->cutq, q) \ 70 if (cbp->name == L__name) \
|
/dragonfly/sys/dev/disk/ccd/ |
H A D | ccd.c | 260 return(cbp); in getccdbuf() 1072 cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount; in ccdbuffer() 1075 cbp->cb_buf.b_bio1.bio_caller_info1.ptr = cbp; in ccdbuffer() 1090 cbp->cb_buf.b_data, cbp->cb_buf.b_bcount); in ccdbuffer() 1092 cb[0] = cbp; in ccdbuffer() 1113 cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount; in ccdbuffer() 1116 cbp->cb_buf.b_bio1.bio_caller_info1.ptr = cbp; in ccdbuffer() 1125 cb[1] = cbp; in ccdbuffer() 1183 cbp->cb_buf.b_dev, cbp->cb_comp, cbp, in ccdiodone() 1184 cbp->cb_buf.b_loffset, cbp->cb_buf.b_data, in ccdiodone() [all …]
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_display.c | 84 CB *cbp; in bdisplay() local 92 SLIST_FOREACH(cbp, sp->gp->cutq, q) { in bdisplay() 93 if (isdigit(cbp->name)) in bdisplay() 95 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay() 96 db(sp, cbp, NULL); in bdisplay() 102 if (!isdigit(cbp->name)) in bdisplay() 104 if (!TAILQ_EMPTY(cbp->textq)) in bdisplay() 105 db(sp, cbp, NULL); in bdisplay() 110 if ((cbp = sp->gp->dcbp) != NULL) in bdisplay() 111 db(sp, cbp, "default buffer"); in bdisplay() [all …]
|
H A D | ex_at.c | 36 CB *cbp; in ex_at() local 60 CBNAME(sp, cbp, name); in ex_at() 61 if (cbp == NULL) { in ex_at() 102 TAILQ_FOREACH_REVERSE(tp, cbp->textq, _texth, q) in ex_at() 112 TAILQ_FOREACH_REVERSE(tp, cbp->textq, _texth, q) { in ex_at()
|
H A D | ex_cscope.c | 596 CB *cbp; in create_cs_cmd() local 634 cbp = NULL; in create_cs_cmd() 636 CBNAME(sp, cbp, p[1]); in create_cs_cmd() 637 if (cbp != NULL) { in create_cs_cmd() 638 INT2CHAR(sp, TAILQ_FIRST(cbp->textq)->lb, in create_cs_cmd() 639 TAILQ_FIRST(cbp->textq)->len, p, tlen); in create_cs_cmd()
|
/dragonfly/sys/dev/netif/fxp/ |
H A D | if_fxp.c | 1711 cbp->cb_status = 0; in fxp_init() 1774 cbp->fc_delay_lsb = 0; in fxp_init() 1776 cbp->pri_fc_thresh = 3; in fxp_init() 1777 cbp->tx_fc_dis = 0; in fxp_init() 1778 cbp->rx_fc_restop = 0; in fxp_init() 1779 cbp->rx_fc_restart = 0; in fxp_init() 1780 cbp->fc_filter = 0; in fxp_init() 1781 cbp->pri_fc_loc = 1; in fxp_init() 1785 cbp->pri_fc_thresh = 3; in fxp_init() 2290 struct fxp_cb_ucode *cbp; in fxp_load_ucode() local [all …]
|
/dragonfly/contrib/nvi2/vi/ |
H A D | vs_line.c | 48 CHAR_T *cbp, *ecbp, cbuf[128]; in vs_line() local 406 *cbp = '\0'; \ in vs_line() 408 cbp = cbuf; \ in vs_line() 419 if (cbp >= ecbp) in vs_line() 421 *cbp++ = TABCH; in vs_line() 424 if (cbp + chlen >= ecbp) in vs_line() 429 *cbp++ = ' '; in vs_line() 434 *cbp++ = ch; in vs_line() 439 *cbp++ = *kp++; in vs_line() 461 *cbp++ = *kp++; in vs_line() [all …]
|
H A D | v_at.c | 34 CB *cbp; in v_at() local 63 CBNAME(sp, cbp, name); in v_at() 64 if (cbp == NULL) { in v_at() 88 TAILQ_FOREACH_REVERSE(tp, cbp->textq, _texth, q) { in v_at() 89 if (((F_ISSET(cbp, CB_LMODE) || in v_at()
|
H A D | vs_msg.c | 396 char *cbp, *ecbp, cbuf[128]; in vs_output() local 456 *cbp = '\0'; \ in vs_output() 457 (void)gp->scr_addstr(sp, cbuf, cbp - cbuf); \ in vs_output() 458 cbp = cbuf; \ in vs_output() 460 ecbp = (cbp = cbuf) + sizeof(cbuf) - 1; in vs_output() 469 if (cbp + 1 >= ecbp) in vs_output() 471 *cbp++ = *t == '\t' ? ' ' : *t; in vs_output() 473 if (cbp > cbuf) in vs_output()
|
/dragonfly/contrib/libedit/src/ |
H A D | read.c | 282 size_t cbp = 0; in read_char() local 287 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { in read_char() 318 ++cbp; in read_char() 321 switch (mbrtowc(cp, cbuf, cbp, &mbs)) { in read_char() 323 if (cbp > 1) { in read_char() 328 cbuf[0] = cbuf[cbp - 1]; in read_char() 329 cbp = 0; in read_char() 333 cbp = 0; in read_char() 337 if (cbp >= MB_LEN_MAX) { in read_char()
|
/dragonfly/contrib/zstd/programs/ |
H A D | benchzstd.c | 399 BMK_benchParams_t cbp, dbp; in BMK_benchMemAdvancedNoAlloc() local 404 cbp.benchPayload = cctx; in BMK_benchMemAdvancedNoAlloc() 405 cbp.initFn = local_initCCtx; /* BMK_initCCtx */ in BMK_benchMemAdvancedNoAlloc() 406 cbp.initPayload = &cctxprep; in BMK_benchMemAdvancedNoAlloc() 407 cbp.errorFn = ZSTD_isError; in BMK_benchMemAdvancedNoAlloc() 408 cbp.blockCount = nbBlocks; in BMK_benchMemAdvancedNoAlloc() 409 cbp.srcBuffers = srcPtrs; in BMK_benchMemAdvancedNoAlloc() 410 cbp.srcSizes = srcSizes; in BMK_benchMemAdvancedNoAlloc() 411 cbp.dstBuffers = cPtrs; in BMK_benchMemAdvancedNoAlloc() 412 cbp.dstCapacities = cCapacities; in BMK_benchMemAdvancedNoAlloc() [all …]
|
/dragonfly/contrib/tcsh-6/ |
H A D | sh.dol.c | 462 size_t cbp = 0; in Dgetdol() local 471 res = force_read(OLDSTD, cbuf + cbp, 1); in Dgetdol() 475 cbp++; in Dgetdol() 476 len = normal_mbtowc(&wc, cbuf, cbp); in Dgetdol() 479 if (cbp < MB_LEN_MAX) in Dgetdol() 485 if (cbp != (size_t)len) in Dgetdol() 487 cbp -= len; in Dgetdol() 492 while (cbp != 0) { in Dgetdol() 496 len = normal_mbtowc(&wc, cbuf, cbp); in Dgetdol() 503 if (cbp != (size_t)len) in Dgetdol() [all …]
|
H A D | ed.inputl.c | 751 size_t cbp; in GetNextChar() local 784 cbp = 0; in GetNextChar() 786 while ((num_read = xread(SHIN, cbuf + cbp, 1)) == -1) { in GetNextChar() 801 if (cbp == 0 /* && *cbuf < NT_NUM_KEYS */ in GetNextChar() 805 cbp++; in GetNextChar() 806 if (normal_mbtowc(cp, cbuf, cbp) == -1) { in GetNextChar() 808 if (cbp < MB_CUR_MAX) in GetNextChar()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | plugin.c | 468 struct callback_info *callback, **cbp; in unregister_callback() local 473 for (cbp = &plugin_callbacks[event]; (callback = *cbp); cbp = &callback->next) in unregister_callback() 476 *cbp = callback->next; in unregister_callback()
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | httpread.c | 534 char *cbp = h->body + h->chunk_start; in httpread_read_handler() local 535 if (bbp-cbp >= 2 && bbp[-2] == '\r' && in httpread_read_handler() 541 if (!isxdigit(*cbp)) { in httpread_read_handler() 546 h->chunk_size = strtoul(cbp, NULL, 16); in httpread_read_handler() 558 bbp = cbp; in httpread_read_handler()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | plugin.c | 525 struct callback_info *callback, **cbp; in unregister_callback() local 530 for (cbp = &plugin_callbacks[event]; (callback = *cbp); cbp = &callback->next) in unregister_callback() 533 *cbp = callback->next; in unregister_callback()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | ipv6.c | 1611 const char *cbp; in ipv6_newaddr() local 1669 cbp = inet_ntop(AF_INET6, &ia->addr, buf, sizeof(buf)); in ipv6_newaddr() 1676 cbp = inet_ntop(AF_INET6, &ia->prefix, buf, sizeof(buf)); in ipv6_newaddr() 1686 cbp = inet_ntop(AF_INET6, &ia->addr, buf, sizeof(buf)); in ipv6_newaddr() 1688 if (cbp == NULL) in ipv6_newaddr() 1690 snprintf(ia->saddr, sizeof(ia->saddr), "%s/%d", cbp, ia->prefix_len); in ipv6_newaddr()
|
/dragonfly/crypto/libressl/include/openssl/ |
H A D | bio.h | 493 #define BIO_get_info_callback(b,cbp) (int)BIO_ctrl(b,BIO_CTRL_GET_CALLBACK,0, \ argument 494 cbp)
|