/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | encode.c | 72 ber_int_t taglen; in ber_put_tag() local 75 taglen = kmfber_calc_taglen(tag); in ber_put_tag() 80 ((char *) &ntag) + sizeof (ber_int_t) - taglen, in ber_put_tag() 81 taglen, nosos)); in ber_put_tag() 162 ber_int_t len, lenlen, taglen, netnum, mask; in ber_put_int_or_enum() local 194 if ((taglen = ber_put_tag(ber, tag, 0)) == -1) in ber_put_int_or_enum() 204 return (taglen + lenlen + i); in ber_put_int_or_enum() 230 ber_int_t taglen, lenlen, rc, len; in ber_put_oid() local 235 if ((taglen = ber_put_tag(ber, tag, 0)) == -1) in ber_put_oid() 245 rc = taglen + lenlen + oid->bv_len; in ber_put_oid() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | encode.c | 68 int taglen; in ber_put_tag() local 71 taglen = ber_calc_taglen( tag ); in ber_put_tag() 75 return( ber_write( ber, ((char *) &ntag) + sizeof(ber_int_t) - taglen, in ber_put_tag() 76 taglen, nosos ) ); in ber_put_tag() 157 int i, sign, taglen; in ber_put_int_or_enum() local 191 if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 ) in ber_put_int_or_enum() 201 return( taglen + lenlen + i ); in ber_put_int_or_enum() 231 int taglen, lenlen, rc; in ber_put_ostring() local 239 if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 ) in ber_put_ostring() 265 rc = taglen + lenlen + len; in ber_put_ostring() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_vpd.c | 467 uint16_t taglen; in efx_vpd_hunk_length() local 474 &tag, &taglen)) != 0) in efx_vpd_hunk_length() 476 offset += taglen; in efx_vpd_hunk_length() 502 uint16_t taglen; in efx_vpd_hunk_verify() local 516 &tag, &taglen)) != 0) in efx_vpd_hunk_verify() 523 for (pos = 0; pos != taglen; pos += 3 + keylen) { in efx_vpd_hunk_verify() 531 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_verify() 549 offset += taglen; in efx_vpd_hunk_verify() 656 uint16_t taglen; in efx_vpd_hunk_next() local 665 &tag, &taglen)) != 0) in efx_vpd_hunk_next() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 1286 int i, taglen; in cipso2sl() local 1290 taglen = opt[1]; in cipso2sl() 1298 for (i = 0; i < taglen - TSOL_TT1_MIN_LENGTH; i++) in cipso2sl() 1307 int i, taglen, ishigh; in interpret_cipso_tagtype1() local 1311 taglen = opt[1]; in interpret_cipso_tagtype1() 1312 if (taglen < TSOL_TT1_MIN_LENGTH || in interpret_cipso_tagtype1() 1313 taglen > TSOL_TT1_MAX_LENGTH) in interpret_cipso_tagtype1() 1314 return (taglen); in interpret_cipso_tagtype1() 1321 for (i = 0; i < taglen - TSOL_TT1_MIN_LENGTH; i++) { in interpret_cipso_tagtype1() 1350 return (taglen); in interpret_cipso_tagtype1() [all …]
|
H A D | snoop_ppp.c | 1364 uint8_t taglen; in opt_format_i18n() local 1366 taglen = size - sizeof (mibenum); in opt_format_i18n() 1371 if (taglen > 0) { in opt_format_i18n() 1372 (void) sprintf(get_line(0, 0), "Language Tag = %.*s", taglen, in opt_format_i18n()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_k_decode.c | 43 unsigned int length, taglen 56 taglen = t2.length; \ 72 taglen = t3.length; \ 107 if (!taglen && indef) { get_eoc(); } \ 121 && (tagnum || taglen || asn1class != UNIVERSAL)) \ 136 && (tagnum || taglen || asn1class != UNIVERSAL)) \ 149 if (!taglen && indef) { get_eoc(); } \ 157 && (tagnum || taglen || asn1class != UNIVERSAL)) \ 174 retval = asn1buf_remove_octetstring(&subbuf, taglen, &(var)); \ 176 (len) = taglen; \ [all …]
|
H A D | krb5_decode.c | 93 taglen = t2.length; \ 111 unsigned int taglen;\ 548 tmpbody.length = taglen; in decode_krb5_safe_with_body()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 183 size_t taglen; in vsyslog() local 263 taglen = strlen(LogTag) < MAX_TAG ? strlen(LogTag) : MAX_TAG; in vsyslog() 264 (void) strncpy(o, LogTag, taglen); in vsyslog() 265 o[taglen] = '\0'; in vsyslog()
|
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/gcm/ |
H A D | aes_gcm.c | 36 size_t taglen = GCM_SPEC_TAG_LEN; in main() local 39 .ulTagBits = taglen * 8 in main()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk3.c | 2110 register int taglen; in makeindex() local 2116 for (taglen = 0; tag; tag >>= 4) in makeindex() 2117 tags[taglen++] = tag_chars[tag & 0xf]; in makeindex() 2134 i = (n = wcslen(array)) + len + 3 + taglen; in makeindex() 2141 if (taglen) { in makeindex() 2143 while (taglen) in makeindex() 2144 *cp++ = tags[--taglen]; in makeindex() 2158 len + 3 + taglen)); in makeindex() 2160 if (taglen) { in makeindex() 2162 while (taglen) in makeindex() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | glue1.c | 40 int taglen = 1000; variable 116 taglen = (int)argv[2]; in huntmain()
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 120 int taglen; in scanTag() local 133 taglen = 0; in scanTag() 137 if (++taglen >= tagBufSize) { in scanTag()
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_msg.c | 636 int taglen; in sip_create_response() local 644 taglen = strlen(SIP_TAG) + strlen(totag) + 1; in sip_create_response() 645 xtra_param = (char *)malloc(taglen); in sip_create_response() 651 (void) snprintf(xtra_param, taglen, "%s%s", SIP_TAG, totag); in sip_create_response()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 6018 size_t taglen = strlen(tag); in holds_callback() local 6019 if (taglen > cbp->cb_max_taglen) in holds_callback() 6020 cbp->cb_max_taglen = taglen; in holds_callback()
|