/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/nssov/ |
H A D | alias.c | 51 static int write_alias(nssov_alias_cbp *cbp,Entry *entry) argument 60 if (BER_BVISNULL(&cbp->name)) 62 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[0].an_desc); 66 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0 ); 74 names[0]=cbp->name; 78 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[1].an_desc); 88 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 89 WRITE_BERVAL(cbp->fp,&names[i]); 90 WRITE_BVARRAY(cbp->fp,members); 102 READ_STRING(fp,cbp [all...] |
H A D | host.c | 53 static int write_host(nssov_host_cbp *cbp,Entry *entry) argument 61 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 63 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 67 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 86 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 90 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 96 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 97 WRITE_BERVAL(cbp->fp,&name); 99 WRITE_INT32(cbp->fp,numname-1); 101 WRITE_INT32(cbp [all...] |
H A D | network.c | 53 static int write_network(nssov_network_cbp *cbp,Entry *entry) argument 61 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name); 63 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 67 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0); 86 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 90 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 96 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 97 WRITE_BERVAL(cbp->fp,&name); 99 WRITE_INT32(cbp->fp,numname-1); 101 WRITE_INT32(cbp [all...] |
H A D | ether.c | 66 static int write_ether(nssov_ether_cbp *cbp,Entry *entry) argument 76 if (BER_BVISNULL(&cbp->name)) 78 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[0].an_desc); 82 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0 ); 90 names[0]=cbp->name; 94 if (BER_BVISNULL(&cbp->addr)) 96 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[1].an_desc); 100 entry->e_name.bv_val,cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val,0 ); 109 ethers[0]=cbp->addr; 116 WRITE_INT32(cbp [all...] |
H A D | protocol.c | 53 static int write_protocol(nssov_protocol_cbp *cbp,Entry *entry) argument 62 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 64 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 68 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 87 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 91 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 95 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 101 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 105 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 106 WRITE_BERVAL(cbp [all...] |
H A D | rpc.c | 55 static int write_rpc(nssov_rpc_cbp *cbp,Entry *entry) argument 64 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 66 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 70 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 89 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 93 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 97 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 103 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 107 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 108 WRITE_BERVAL(cbp [all...] |
H A D | group.c | 75 static int mkfilter_group_bymember(nssov_group_cbp *cbp,struct berval *buf) argument 79 nssov_uid2dn(cbp->op,cbp->ni,&cbp->user,&dn); 81 if (cbp->user.bv_len + cbp->mi->mi_filter.bv_len + cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_len + 6 > 85 cbp->mi->mi_filter.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val, 86 cbp 142 write_group(nssov_group_cbp *cbp,Entry *entry) argument [all...] |
H A D | service.c | 115 static int write_service(nssov_service_cbp *cbp,Entry *entry) argument 126 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 128 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 132 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 151 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 155 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 159 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 165 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 169 if (BER_BVISNULL(&cbp->prot)) 171 a = attr_find( entry->e_attrs, cbp [all...] |
H A D | shadow.c | 121 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[key].an_desc); \ 129 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 135 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 141 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[key].an_desc); \ 149 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 151 var=to_date(&a->a_vals[0],cbp->mi->mi_attrs[key].an_desc); \ 158 static int write_shadow(nssov_shadow_cbp *cbp,Entry *entry) argument 175 if (BER_BVISNULL(&cbp->name)) 177 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UID_KEY].an_desc); 181 entry->e_name.bv_val, cbp [all...] |
H A D | passwd.c | 208 static int write_passwd(nssov_passwd_cbp *cbp,Entry *entry) argument 225 if (BER_BVISNULL(&cbp->name)) 227 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UID_KEY].an_desc); 231 entry->e_name.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val,0); 239 names[0]=cbp->name; 259 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[PWD_KEY].an_desc); 266 if (BER_BVISNULL(&cbp->id)) 268 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UIDN_KEY].an_desc); 272 entry->e_name.bv_val, cbp->mi->mi_attrs[UIDN_KEY].an_desc->ad_cname.bv_val,0); 280 uids[0] = cbp [all...] |
H A D | netgroup.c | 154 static int write_netgroup(nssov_netgroup_cbp *cbp,Entry *entry) argument 161 a = attr_find(entry->e_attrs,cbp->mi->mi_attrs[1].an_desc); 166 if (write_netgroup_triple(cbp->fp, a->a_vals[i].bv_val)) 170 a = attr_find(entry->e_attrs,cbp->mi->mi_attrs[2].an_desc); 176 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 178 WRITE_INT32(cbp->fp,NSLCD_NETGROUP_TYPE_NETGROUP); 180 if (write_string_stripspace_len(cbp->fp,a->a_vals[i].bv_val,a->a_vals[i].bv_len)) 195 READ_STRING(fp,cbp.buf);, 196 cbp.name.bv_len = tmpint32; 197 cbp [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/common/ |
H A D | cut.c | 71 CB *cbp; local 111 namecb: CBNAME(sp, cbp, name); 118 cbp = &sp->wp->dcb_store; 125 if (cbp == NULL) { 126 CALLOC_RET(sp, cbp, CB *, 1, sizeof(CB)); 127 cbp->name = name; 128 CIRCLEQ_INIT(&cbp->textq); 129 LIST_INSERT_HEAD(&sp->wp->cutq, cbp, q); 131 text_lfree(&cbp->textq); 132 cbp 193 CB *cbp, *del_cbp; local 240 cut_line(SCR *sp, db_recno_t lno, size_t fcno, size_t clen, CB *cbp) argument 281 CB *cbp; local [all...] |
H A D | cut.h | 68 #define CBNAME(sp, cbp, nch) { \ 72 for (cbp = sp->wp->cutq.lh_first; \ 73 cbp != NULL; cbp = cbp->q.le_next) \ 74 if (cbp->name == L__name) \
|
H A D | put.c | 37 put(SCR *sp, CB *cbp, ARG_CHAR_T *namep, MARK *cp, MARK *rp, int append) argument 47 if (cbp == NULL) { 49 cbp = sp->wp->dcbp; 50 if (cbp == NULL) { 57 CBNAME(sp, cbp, name); 58 if (cbp == NULL) { 65 tp = cbp->textq.cqh_first; 86 for (; tp != (void *)&cbp->textq; 97 if (F_ISSET(cbp, CB_LMODE)) { 100 for (; tp != (void *)&cbp [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_display.c | 85 CB *cbp; local 93 for (cbp = sp->wp->cutq.lh_first; cbp != NULL; cbp = cbp->q.le_next) { 94 if (ISDIGIT(cbp->name)) 96 if (cbp->textq.cqh_first != (void *)&cbp->textq) 97 db(sp, cbp, NULL); 102 for (cbp 121 db(SCR *sp, CB *cbp, const char *np) argument [all...] |
H A D | ex_at.c | 41 CB *cbp; local 65 CBNAME(sp, cbp, name); 66 if (cbp == NULL) { 107 for (len = 0, tp = cbp->textq.cqh_last; 108 tp != (void *)&cbp->textq; tp = tp->q.cqe_prev) 117 for (p = ecp->cp + len, tp = cbp->textq.cqh_last; 118 tp != (void *)&cbp->textq; tp = tp->q.cqe_prev) {
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/netif/ |
H A D | i82557.c | 57 struct fxp_cb_config cbp; member in union:_sndbuf 170 volatile struct fxp_cb_config *cbp; local 212 cbp = SNDBUF_VIRT; 218 memcpy((void *)cbp, fxp_cb_config_template, 224 cbp->cb_status = 0; 225 cbp->cb_command = FXP_CB_COMMAND_CONFIG | FXP_CB_COMMAND_EL; 226 cbp->link_addr = -1; /* (no) next command */ 227 cbp->byte_count = 22; /* (22) bytes to config */ 228 cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */ 229 cbp [all...] |
/netbsd-6-1-5-RELEASE/games/gomoku/ |
H A D | pickmove.c | 234 struct combostr *cbp, *ecbp; local 244 cbp = sortframes[color]; 245 if (cbp == (struct combostr *)0) 249 sp = &board[cbp->c_vertex]; 250 cb.s = sp->s_fval[color][d = cbp->c_dir].s; 268 ecbp = cbp; 270 sp = &board[cbp->c_vertex]; 271 cp = &sp->s_fval[color][r = cbp->c_dir]; 288 makecombo2(cbp, sp, 0, cb.s); 317 makecombo2(cbp, s 545 struct combostr *cbp, *ecbp; local 645 struct combostr *cbp, *ncbp; local 800 struct combostr *cbp, *tcbp, **cbpp; local 955 updatecombo(struct combostr *cbp, int color) argument 1044 appendcombo(struct combostr *cbp, int color __unused) argument 1073 checkframes(struct combostr *cbp, struct combostr *fcbp, struct spotstr *osp, int s, struct overlap_info *vertices) argument 1215 struct combostr *cbp, *ecbp; local 1325 printcombo(struct combostr *cbp, char *buf, size_t max) argument 1347 struct combostr *cbp, *tcbp, **cbpp; local 1459 clearcombo(struct combostr *cbp, int open) argument [all...] |
H A D | makemove.c | 69 struct combostr *cbp, *cbp1; local 103 cbp = fsp->s_frame[r]; 104 if (cbp->c_next) { 105 if (sortframes[BLACK] == cbp) 106 sortframes[BLACK] = cbp->c_next; 107 if (sortframes[WHITE] == cbp) 108 sortframes[WHITE] = cbp->c_next; 109 cbp->c_next->c_prev = cbp->c_prev; 110 cbp [all...] |
H A D | bdinit.c | 54 struct combostr *cbp; local 67 cbp = frames; 135 cbp->c_combo.s = sp->s_fval[BLACK][r].s; 136 cbp->c_vertex = sp - board; 137 cbp->c_nframes = 1; 138 cbp->c_dir = r; 139 sp->s_frame[r] = cbp; 140 cbp++; 179 struct combostr *cbp; local 189 for (cbp [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ata/ |
H A D | ld_ataraid.c | 136 #define CBUF_PUT(cbp) pool_cache_put(sc->sc_cbufpool, (cbp)) 262 struct cbuf *cbp = obj; local 266 buf_init(&cbp->cb_buf); 275 struct cbuf *cbp = obj; local 277 buf_destroy(&cbp->cb_buf); 284 struct cbuf *cbp; local 286 cbp = CBUF_GET(); 287 if (cbp == NULL) 289 cbp 314 struct cbuf *cbp; local 333 struct cbuf *cbp; local 391 struct cbuf *cbp, *other_cbp; local 489 struct cbuf *cbp = (struct cbuf *) vbp, *other_cbp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/stand/altboot/ |
H A D | fxp.c | 193 struct fxp_cb_config *cbp = &store_cbc; local 231 memcpy(cbp, fxp_cb_config_template, sizeof(fxp_cb_config_template)); 236 cbp->cb_status = 0; 237 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG | 239 cbp->link_addr = -1; /* (no) next command */ 240 cbp->byte_count = 22; /* (22) bytes to config */ 241 cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */ 242 cbp->tx_fifo_limit = 0; /* tx fifo threshold (0 bytes) */ 243 cbp->adaptive_ifs = 0; /* (no) adaptive interframe spacing */ 244 cbp [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/vi/ |
H A D | v_at.c | 40 CB *cbp; local 69 CBNAME(sp, cbp, name); 70 if (cbp == NULL) { 94 for (tp = cbp->textq.cqh_last; 95 tp != (void *)&cbp->textq; tp = tp->q.cqe_prev) { 97 if (((F_ISSET(cbp, CB_LMODE) || 98 tp->q.cqe_next != (void *)&cbp->textq) &&
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | i82557.c | 1682 struct fxp_cb_config *cbp; local 1754 cbp = &sc->sc_control_data->fcd_configcb; 1755 memset(cbp, 0, sizeof(struct fxp_cb_config)); 1772 memcpy(cbp, fxp_cb_config_template, sizeof(fxp_cb_config_template)); 1775 cbp->cb_status = 0; 1776 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG | 1779 cbp->link_addr = 0xffffffff; /* (no) next command */ 1781 cbp->byte_count = (sc->sc_flags & FXPF_EXT_RFA) ? 1783 cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */ 1784 cbp 2366 struct fxp_cb_ucode *cbp = &sc->sc_control_data->fcd_ucode; local [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_util.c | 792 zprop_print_headers(zprop_get_cbdata_t *cbp, zfs_type_t type) argument 794 zprop_list_t *pl = cbp->cb_proplist; 799 cbp->cb_first = B_FALSE; 800 if (cbp->cb_scripted) 806 cbp->cb_colwidths[GET_COL_NAME] = strlen(dgettext(TEXT_DOMAIN, "NAME")); 807 cbp->cb_colwidths[GET_COL_PROPERTY] = strlen(dgettext(TEXT_DOMAIN, 809 cbp->cb_colwidths[GET_COL_VALUE] = strlen(dgettext(TEXT_DOMAIN, 811 cbp->cb_colwidths[GET_COL_RECVD] = strlen(dgettext(TEXT_DOMAIN, 813 cbp->cb_colwidths[GET_COL_SOURCE] = strlen(dgettext(TEXT_DOMAIN, 817 assert(cbp 916 zprop_print_one_property(const char *name, zprop_get_cbdata_t *cbp, const char *propname, const char *value, zprop_source_t sourcetype, const char *source, const char *recvd_value) argument [all...] |