Searched refs:cbp (Results 1 - 25 of 30) sorted by relevance

12

/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/nssov/
H A Dalias.c49 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 Dhost.c51 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 Dnetwork.c51 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 Dether.c64 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 Dprotocol.c51 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 Drpc.c53 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 Dgroup.c73 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 Dservice.c113 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 Dshadow.c119 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 Dpasswd.c206 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 Dnetgroup.c152 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 Dnssov.h279 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 Dserial_console.c115 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 Dcallback.rb30 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 Dntfs_vnops.h51 __private_extern__ int ntfs_cluster_iodone(buf_t cbp, void *arg __unused);
/macosx-10.10/tcsh-65/tcsh/win32/
H A Dclip.c162 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 Dvfs_cluster.c565 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 Dread.c318 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 Dinit.c1319 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 Dread.c318 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 Ded.inputl.c753 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 Devhiperfifo.c261 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 Dhiperfifo.c257 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
259 GlobalInfo *g = (GlobalInfo*) cbp;
H A Dasiohiper.cpp263 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
267 GlobalInfo *g = (GlobalInfo*) cbp;
H A Dghiper.c250 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) argument
252 GlobalInfo *g = (GlobalInfo*) cbp;

Completed in 228 milliseconds

12