/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/nssov/ |
H A D | alias.c | 49 static int write_alias(nssov_alias_cbp *cbp,Entry *entry) argument 58 if (BER_BVISNULL(&cbp->name)) 60 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[0].an_desc); 64 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0 ); 72 names[0]=cbp->name; 76 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[1].an_desc); 86 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 87 WRITE_BERVAL(cbp->fp,&names[i]); 88 WRITE_BVARRAY(cbp->fp,members); 100 READ_STRING(fp,cbp [all...] |
H A D | host.c | 51 static int write_host(nssov_host_cbp *cbp,Entry *entry) argument 59 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 61 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 65 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 84 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 88 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 94 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 95 WRITE_BERVAL(cbp->fp,&name); 97 WRITE_INT32(cbp->fp,numname-1); 99 WRITE_INT32(cbp [all...] |
H A D | network.c | 51 static int write_network(nssov_network_cbp *cbp,Entry *entry) argument 59 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name); 61 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 65 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0); 84 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 88 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 94 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 95 WRITE_BERVAL(cbp->fp,&name); 97 WRITE_INT32(cbp->fp,numname-1); 99 WRITE_INT32(cbp [all...] |
H A D | ether.c | 64 static int write_ether(nssov_ether_cbp *cbp,Entry *entry) argument 74 if (BER_BVISNULL(&cbp->name)) 76 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[0].an_desc); 80 entry->e_name.bv_val,cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val,0 ); 88 names[0]=cbp->name; 92 if (BER_BVISNULL(&cbp->addr)) 94 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[1].an_desc); 98 entry->e_name.bv_val,cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val,0 ); 107 ethers[0]=cbp->addr; 114 WRITE_INT32(cbp [all...] |
H A D | protocol.c | 51 static int write_protocol(nssov_protocol_cbp *cbp,Entry *entry) argument 60 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &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 ); 85 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 89 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 93 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 99 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 103 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 104 WRITE_BERVAL(cbp [all...] |
H A D | rpc.c | 53 static int write_rpc(nssov_rpc_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 | group.c | 73 static int mkfilter_group_bymember(nssov_group_cbp *cbp,struct berval *buf) argument 77 nssov_uid2dn(cbp->op,cbp->ni,&cbp->user,&dn); 79 if (cbp->user.bv_len + cbp->mi->mi_filter.bv_len + cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_len + 6 > 83 cbp->mi->mi_filter.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val, 84 cbp 140 write_group(nssov_group_cbp *cbp,Entry *entry) argument [all...] |
H A D | service.c | 113 static int write_service(nssov_service_cbp *cbp,Entry *entry) argument 124 nssov_find_rdnval( &entry->e_nname, cbp->mi->mi_attrs[0].an_desc, &name ); 126 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[0].an_desc ); 130 entry->e_name.bv_val, cbp->mi->mi_attrs[0].an_desc->ad_cname.bv_val, 0 ); 149 a = attr_find( entry->e_attrs, cbp->mi->mi_attrs[1].an_desc ); 153 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 157 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 163 entry->e_name.bv_val, cbp->mi->mi_attrs[1].an_desc->ad_cname.bv_val, 0 ); 167 if (BER_BVISNULL(&cbp->prot)) 169 a = attr_find( entry->e_attrs, cbp [all...] |
H A D | shadow.c | 119 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[key].an_desc); \ 127 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 133 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 139 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[key].an_desc); \ 147 entry->e_name.bv_val, cbp->mi->mi_attrs[key].an_desc->ad_cname.bv_val,0); \ 149 var=to_date(&a->a_vals[0],cbp->mi->mi_attrs[key].an_desc); \ 156 static int write_shadow(nssov_shadow_cbp *cbp,Entry *entry) argument 173 if (BER_BVISNULL(&cbp->name)) 175 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UID_KEY].an_desc); 179 entry->e_name.bv_val, cbp [all...] |
H A D | passwd.c | 206 static int write_passwd(nssov_passwd_cbp *cbp,Entry *entry) argument 223 if (BER_BVISNULL(&cbp->name)) 225 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UID_KEY].an_desc); 229 entry->e_name.bv_val, cbp->mi->mi_attrs[UID_KEY].an_desc->ad_cname.bv_val,0); 237 names[0]=cbp->name; 257 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[PWD_KEY].an_desc); 264 if (BER_BVISNULL(&cbp->id)) 266 a = attr_find(entry->e_attrs, cbp->mi->mi_attrs[UIDN_KEY].an_desc); 270 entry->e_name.bv_val, cbp->mi->mi_attrs[UIDN_KEY].an_desc->ad_cname.bv_val,0); 278 uids[0] = cbp [all...] |
H A D | netgroup.c | 152 static int write_netgroup(nssov_netgroup_cbp *cbp,Entry *entry) argument 159 a = attr_find(entry->e_attrs,cbp->mi->mi_attrs[1].an_desc); 164 if (write_netgroup_triple(cbp->fp, a->a_vals[i].bv_val)) 168 a = attr_find(entry->e_attrs,cbp->mi->mi_attrs[2].an_desc); 174 WRITE_INT32(cbp->fp,NSLCD_RESULT_BEGIN); 176 WRITE_INT32(cbp->fp,NSLCD_NETGROUP_TYPE_NETGROUP); 178 if (write_string_stripspace_len(cbp->fp,a->a_vals[i].bv_val,a->a_vals[i].bv_len)) 193 READ_STRING(fp,cbp.buf);, 194 cbp.name.bv_len = tmpint32; 195 cbp [all...] |
H A D | nssov.h | 279 nssov_##db##_cbp *cbp = op->o_callback->sc_private; \ 280 if (write_##db(cbp,rs->sr_entry)) return LDAP_OTHER; \ 292 nssov_##db##_cbp cbp; \ 295 cbp.mi = &ni->ni_maps[NM_##db]; \ 296 cbp.fp = fp; \ 297 cbp.op = op; \ 311 cb.sc_private = &cbp; \ 315 op->o_req_dn = cbp.mi->mi_base; \ 316 op->o_req_ndn = cbp.mi->mi_base; \ 317 op->ors_scope = cbp [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/console/i386/ |
H A D | serial_console.c | 115 console_buf_t *cbp; local 117 ret = kmem_alloc(kernel_map, (vm_offset_t *) &cbp, 125 cbp->buf_base = (char *) &cbp->buf; 126 cbp->buf_ptr = cbp->buf_base; 127 cbp->buf_end = cbp->buf_base + CPU_BUFFER_LEN; 129 return (void *) cbp; 183 cpu_buffer_put(console_buf_t *cbp, cha argument 272 console_buf_t *cbp; local [all...] |
/macosx-10.10/ruby-106/ruby/ext/dl/lib/dl/ |
H A D | callback.rb | 30 def set_callback_internal(proc_entry, addr_entry, argc, ty, abi = nil, &cbp) 38 closure = Fiddle::Closure::BlockCaller.new(ty, [TYPE_VOIDP] * argc, abi, &cbp) 47 ary[idx] = cbp 58 def set_cdecl_callback(ty, argc, &cbp) 59 set_callback_internal(CdeclCallbackProcs, CdeclCallbackAddrs, argc, ty, &cbp) 62 def set_stdcall_callback(ty, argc, &cbp) 64 set_callback_internal(StdcallCallbackProcs, StdcallCallbackAddrs, argc, ty, Fiddle::Function::STDCALL, &cbp) 66 set_callback_internal(StdcallCallbackProcs, StdcallCallbackAddrs, argc, ty, &cbp)
|
/macosx-10.10/ntfs-84/kext/ |
H A D | ntfs_vnops.h | 51 __private_extern__ int ntfs_cluster_iodone(buf_t cbp, void *arg __unused);
|
/macosx-10.10/tcsh-65/tcsh/win32/ |
H A D | clip.c | 162 unsigned char *cbp; local 191 cbp = clipbuf; 194 *cbp = (u_char)(*kp & CHAR); 195 cbp++;kp++; 197 *cbp = 0; 222 unsigned char *cbp; local 244 cbp = clipbuf; 247 while(*cbp && *cbp != '\r') { 249 cbp 402 unsigned char *cbp; local [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_cluster.c | 565 buf_t cbp; local 589 for (cbp = cbp_head; cbp; cbp = cbp->b_trans_next) { 594 if ( !(cbp->b_flags & B_TDONE)) { 597 cbp_head, cbp, cbp->b_bcount, cbp->b_flags, 0); 606 if (cbp 803 buf_t cbp; local 846 buf_t cbp; local 887 buf_t cbp; local [all...] |
/macosx-10.10/libedit-40/src/ |
H A D | read.c | 318 size_t cbp = 0; local 323 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { 349 ++cbp; 350 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 352 if (cbp >= MB_LEN_MAX) { /* "shouldn't happen" */ 361 ++cbp != 1 || 363 (bytes = ct_mbtowc(cp, cbuf, cbp)) != 1) 368 cbp = 0; /* skip this character */
|
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/back-monitor/ |
H A D | init.c | 1319 monitor_callback_t **cbp; local 1321 for ( cbp = &mp->mp_cb; *cbp != NULL; cbp = &(*cbp)->mc_next ) { 1322 if ( *cbp == target_cb ) { 1323 if ( (*cbp)->mc_free ) { 1324 (void)(*cbp)->mc_free( e, &(*cbp)->mc_private ); 1326 *cbp 1484 monitor_callback_t **cbp; local [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/libedit/src/ |
H A D | read.c | 318 int cbp = 0; local 323 while ((num_read = read(el->el_infd, cbuf + cbp, 1)) == -1) { 346 ++cbp; 347 if ((bytes = ct_mbtowc(cp, cbuf, cbp)) == -1) { 349 if (cbp >= MB_LEN_MAX) { /* "shouldn't happen" */ 360 cbp = 0; /* skip this character */
|
/macosx-10.10/tcsh-65/tcsh/ |
H A D | ed.inputl.c | 753 size_t cbp; local 786 cbp = 0; 788 while ((num_read = xread(SHIN, cbuf + cbp, 1)) == -1) { 806 cbp++; 807 if (normal_mbtowc(cp, cbuf, cbp) == -1) { 809 if (cbp < MB_CUR_MAX)
|
/macosx-10.10/curl-83.1.2/curl/docs/examples/ |
H A D | evhiperfifo.c | 261 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument 263 DPRINT("%s e %p s %i what %i cbp %p sockp %p\n", 264 __PRETTY_FUNCTION__, e, s, what, cbp, sockp); 266 GlobalInfo *g = (GlobalInfo*) cbp;
|
H A D | hiperfifo.c | 257 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument 259 GlobalInfo *g = (GlobalInfo*) cbp;
|
H A D | asiohiper.cpp | 263 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument 267 GlobalInfo *g = (GlobalInfo*) cbp;
|
H A D | ghiper.c | 250 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument 252 GlobalInfo *g = (GlobalInfo*) cbp;
|