Searched defs:tag (Results 26 - 50 of 83) sorted by relevance

1234

/osnet-11/usr/src/lib/libldap4/common/
H A Dcldap.c479 unsigned int tag, len; local
491 for ( tag = ber_first_element( ber, &len, &cookie );
492 tag != LBER_DEFAULT && rc != LDAP_SUCCESS;
493 tag = ber_next_element( ber, &len, cookie )) {
501 ldm->lm_msgtype = tag;
503 if ( tag == LDAP_RES_SEARCH_RESULT ) {
511 if ( ber_printf( ldm->lm_ber, "to", tag, bv->bv_val,
519 } else if ( tag == LDAP_RES_SEARCH_ENTRY ) {
540 if ( ber_printf( ldm->lm_ber, "t{so}", tag, dn, bv->bv_val,
549 Debug( LDAP_DEBUG_TRACE, catgets(slapdcat, 1, 127, "cldap_parsemsg got unknown tag
[all...]
H A Dgetfilter.c119 char *tag, **tok; local
128 tag = NULL;
134 case 1: /* tag line */
135 if ( tag != NULL ) {
136 free( tag );
138 tag = tok[ 0 ];
148 nextflp->lfl_tag = strdup( tag );
232 if ( tag != NULL ) {
233 free( tag );
H A Dreferral.c323 unsigned int along, tag, len; local
343 ( tag = ber_peek_tag( &tmpber, &along )) == LBER_DEFAULT ) {
349 if (tag == LDAP_REQ_EXTENDED){
359 if (tag == LDAP_REQ_DELETE) {
377 if ( ber_printf( ber, "{its", msgid, tag, dn ) == -1 ) {
405 if (( tag = ber_skip_tag( &tmpber, &along )) == LBER_DEFAULT ) {
413 if ( tag == LDAP_REQ_BIND && ber_get_int( &tmpber, &ver ) ==
432 if ( tag == LDAP_REQ_BIND ) {
433 rc = ber_printf( ber, "{it{is", msgid, tag, ver, dn );
435 rc = ber_printf( ber, "{it{s", msgid, tag, d
[all...]
H A Dsearch.c48 unsigned int tag, int not);
291 put_complex_filter(BerElement *ber, char *str, unsigned int tag, int not) argument
302 /* put explicit tag */
303 if (ber_printf(ber, "t{", tag) == -1)
H A Dresult.c363 unsigned int tag, atag, len; local
386 if ( (tag = ber_get_next( sb, &len, &ber ))
388 ld->ld_errno = (tag == LBER_DEFAULT ? LDAP_SERVER_DOWN :
390 if ( tag == LBER_DEFAULT ) {
415 if ( (tag = ber_peek_tag( &ber, &len )) == LBER_ERROR ) {
423 * tag==LDAP_RES_EXTENDED
428 * tag==LDAP_TAG_EXT_RESPNAME
437 if ( (id==0) && (tag==LDAP_RES_EXTENDED) )
475 new->lm_msgtype = tag;
490 L_res->lm_msgtype = tag;
1157 unsigned int tag, len; local
1217 unsigned int tag; local
1397 unsigned int tag; local
1527 unsigned int tag; local
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c50 /* return the tag - LBER_DEFAULT returned means trouble */
56 ber_tag_t tag; local
66 tagp = (char *) &tag;
78 /* tag too big! */
83 return( tag >> (sizeof(ber_int_t) - i - 1) );
95 ber_tag_t tag; local
101 * Any ber element looks like this: tag length contents.
102 * Assuming everything's ok, we return the tag byte (we
111 * First, we read the tag.
114 if ( (tag
200 ber_tag_t tag; local
221 ber_tag_t tag; local
268 ber_tag_t tag; local
303 ber_tag_t tag; local
348 ber_tag_t tag; local
376 ber_tag_t tag; local
439 ber_int_t *l, rc, tag; local
[all...]
H A Dencode.c49 ber_calc_taglen( ber_tag_t tag )
54 /* find the first non-all-zero byte in the tag */
58 if ( tag & mask )
66 ber_put_tag( BerElement *ber, ber_tag_t tag, int nosos ) argument
71 taglen = ber_calc_taglen( tag );
73 ntag = LBER_HTONL( tag );
155 ber_put_int_or_enum( BerElement *ber, ber_int_t num, ber_tag_t tag )
191 if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
200 /* length of tag + length + contents */
208 ber_put_enum( BerElement *ber, ber_int_t num, ber_tag_t tag )
[all...]
H A Dio.c554 /* return the tag - LBER_DEFAULT returned means trouble */
559 ber_tag_t tag; local
571 tagp = (char *) &tag;
583 /* tag too big! */
588 return( tag >> (sizeof(ber_int_t) - i - 1) );
595 ber_tag_t tag = 0; local
608 * Any ber element looks like this: tag length contents.
609 * Assuming everything's ok, we return the tag byte (we
621 * read the tag and the length and as much of the rest as we can
626 * First, we read the tag
1049 ber_tag_t tag; local
1101 ber_tag_t tag = 0; local
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetfilter.c108 char *tag, **tok; local
120 tag = NULL;
125 case 1: /* tag line */
126 if ( tag != NULL ) {
127 NSLDAPI_FREE( tag );
129 tag = tok[ 0 ];
139 nextflp->lfl_tag = nsldapi_strdup( tag );
215 if ( tag != NULL ) {
216 NSLDAPI_FREE( tag );
H A Dsearch.c50 ber_tag_t tag, int not );
406 ber_tag_t tag,
419 /* put explicit tag */
420 if ( ber_printf( ber, "t{", tag ) == -1 )
403 put_complex_filter( BerElement *ber, char *str, ber_tag_t tag, int not ) argument
H A Dresult.c499 ber_tag_t tag; local
526 if ( (tag = ber_get_next( sb, &len, lc->lconn_ber ))
532 LDAP_SET_LDERRNO( ld, (tag == LBER_DEFAULT ? LDAP_SERVER_DOWN :
534 if ( tag == LBER_DEFAULT ) {
570 if ( (tag = ber_peek_tag( ber, &len )) == LBER_ERROR ) {
575 ( tag == LDAP_RES_SEARCH_ENTRY ) ? "ENTRY" :
576 ( tag == LDAP_RES_SEARCH_REFERENCE ) ? "REFERENCE" : "RESULT", id,
581 lr->lr_res_msgtype = tag;
585 if ( id != LDAP_RES_UNSOLICITED && ( tag == LDAP_RES_SEARCH_REFERENCE ||
586 tag !
1272 ber_tag_t tag; local
[all...]
H A Drequest.c1114 ber_tag_t tag; local
1134 /* skip past msgid and get operation tag */
1135 if ( ber_scanf( &tmpber, "{it", &along, &tag ) == LBER_ERROR ) {
1144 if ( tag == LDAP_REQ_SEARCH &&
1149 if ( tag == LDAP_REQ_BIND ) {
1152 } else if ( tag == LDAP_REQ_DELETE ) {
1180 if ( tag == LDAP_REQ_BIND ) {
1181 rc = ber_printf( ber, "{it{is", msgid, tag,
1183 } else if ( tag == LDAP_REQ_DELETE ) {
1184 rc = ber_printf( ber, "{its}", msgid, tag, d
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcompress.c96 /* Variables for tag and token parsing. */
97 u8 tag; /* Current tag. */ local
98 int token; /* Loop counter for the eight tokens in tag. */
147 /* Forward to the first tag in the sub-block. */
166 /* Get the next tag and advance to first token. */
167 tag = *cb++;
168 /* Parse the eight tokens described by the tag. */
169 for (token = 0; token < 8; token++, tag >>= 1) {
178 if ((tag
[all...]
/osnet-11/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c255 convert_packet(fru_tag_t *tag, uint8_t *payload, size_t length, void *args) argument
262 tag_type = get_tag_type(tag);
265 /* check for unrecognized tag */
267 ((payload_length = get_payload_length(tag)) != length)) {
280 get_tag_dense(tag), payload_length, length);
286 } else if ((def = fru_reg_lookup_def_by_tag(*tag)) == NULL) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c162 const void *val, int tag,
171 retval = asn1_make_tag(buf, UNIVERSAL, PRIMITIVE, tag,
574 if (field->tag >= 0) {
576 retval = asn1_make_etag(buf, CONTEXT_SPECIFIC, field->tag, sum,
161 encode_bytestring_with_tag(asn1buf *buf, unsigned int len, const void *val, int tag, unsigned int *retlen) argument
H A Dasn1_encode.h487 /* Objects with an APPLICATION tag added. */
580 * If TAG is non-negative, a context tag with that value is added
583 * tag.) The tag is omitted for optional fields that are not
586 * It's a bit illogical to combine the tag and other field info,
588 * context tags, and of course a tag could be used elsewhere. But
590 * context tag on each sequence field, so for now let's address
591 * that case primarily and work around the other cases (thus tag<0
594 signed int tag : 5; member in struct:field_info
603 * the context tag
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c83 char *cp, ch, *tag, *value; local
150 tag = cp;
154 if (cp == tag)
157 p = tag;
187 p = strchr(tag, '*');
191 tag, 0, &state->current_section);
199 p = strchr(tag, '*');
202 profile_add_node(state->current_section, tag, value, &node);
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dusbms.c35 grub_uint32_t tag; member in struct:grub_usbms_cbw
46 grub_uint32_t tag; member in struct:grub_usbms_csw
242 static grub_uint32_t tag = 0;
255 cbw.tag = tag++;
263 grub_dprintf ("usb", "CBW: sign=0x%08x tag=0x%08x len=0x%08x\n",
264 cbw.signature, cbw.tag, cbw.transfer_length);
355 grub_dprintf ("usb", "CSW: sign=0x%08x tag=0x%08x resid=0x%08x\n",
356 status.signature, status.tag, status.residue);
241 static grub_uint32_t tag = 0; local
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_notify.c49 md_tags_t tag; member in struct:tag2obj_type
157 tagdrv_2_objlib(md_tags_t tag) argument
161 for (i = 0; tag2obj_typetab[i].tag != TAG_LAST; i++) {
162 if (tag2obj_typetab[i].tag == tag)
173 for (i = 0; tag2obj_typetab[i].tag != TAG_LAST; i++) {
175 return (tag2obj_typetab[i].tag);
243 md_tags_t tag,
265 evctlp->mdn_tag = tag;
618 ev_obj_t tag,
242 init_evctl(char *qname, md_tags_t tag, md_event_type_t ev, uint_t flags, set_t set, md_dev64_t dev, md_event_cmds_t cmd, u_longlong_t udata, md_event_ioctl_t *evctlp) argument
617 meta_notify_sendev( ev_obj_t tag, set_t set, md_dev64_t dev, evid_t ev) argument
[all...]
H A Dmeta_se_notify.c38 obj2devname(uint32_t tag, set_t setno, md_dev64_t dev) argument
56 switch (tag) {
200 do_mdnotify(char *se_subclass, uint32_t tag, set_t setno, md_dev64_t devid) argument
216 if (tag >= (sizeof (md_tags) / sizeof (md_tags[0]))) {
219 md_tag = md_tags[tag];
322 uint32_t tag,
333 do_mdnotify(se_subclass, tag, setno, devid);
350 /* Add the tag attribute */
351 err = (*_nvlist_add_uint32)(attr_list, SVM_TAG, (uint32_t)tag);
371 devname = obj2devname(tag, setn
319 meta_svm_sysevent( char *se_class, char *se_subclass, uint32_t tag, set_t setno, md_dev64_t devid ) argument
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A DSLPFindAttrs.c34 char *tag, *val; member in struct:attr_node
323 * 6: tag list string and SPI string
335 2 + strlen(ids) + /* tag list */
371 /* Add tag list */
442 ((struct attr_node *)n1)->tag,
443 ((struct attr_node *)n2)->tag);
477 if (!(n->tag = strdup(open_paren))) {
488 free(n->tag); free(n);
511 /* form of (tag=val,val) */
521 /* create a new node with the tag onl
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_pid.c74 fasttrap_probe_spec_t *ftp, dt_errtag_t tag, const char *fmt, ...)
91 dt_set_errmsg(dtp, dt_errtag(tag), pcb->pcb_region,
73 dt_pid_error(dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr, fasttrap_probe_spec_t *ftp, dt_errtag_t tag, const char *fmt, ...) argument
H A Ddt_ident.c315 dt_node_t tag, *nnp, *xnp; local
388 dxp = dt_xlator_lookup(dtp, dt_probe_tag(prp, ap->dn_value, &tag),
/osnet-11/usr/src/lib/libbootmgmt/common/
H A Dlibbootmgmt.c265 bootmgmt_get_required_part_info_on_base(ushort_t *tag, uint64_t *sizep, argument
312 if (tag)
313 *tag = efi_vtoc->efi_parts[index].p_tag;
344 if (tag)
345 *tag = V_SYSTEM;
360 * Get the required partition tag, size (in bytes) and a description
375 bootmgmt_gpt_get_required_part_info(ushort_t *tag, uint64_t *sizep, argument
381 if (tag)
382 *tag = V_SYSTEM;
389 if (tag)
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_impl.h46 * parser configuration tag.field1.field2\n
61 struct lookup tag; member in struct:parser
128 * It is the first tag of a line of parser text.

Completed in 51 milliseconds

1234