/titanic_44/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 355 int tlen; in vs_icap_send_option_req() local 366 tlen = snprintf(bufp, bufsp, "OPTIONS icap://%s:%d/%s %s\r\n", in vs_icap_send_option_req() 368 bufp += tlen; in vs_icap_send_option_req() 369 bufsp -= tlen; in vs_icap_send_option_req() 371 tlen = snprintf(bufp, bufsp, "Host: %s\r\n\r\n", my_host_name); in vs_icap_send_option_req() 372 bufp += tlen; in vs_icap_send_option_req() 646 int tlen; in vs_icap_create_respmod_hdr() local 657 tlen = snprintf(hbufp, hbufsp, "RESPMOD icap://%s:%d/%s %s\r\n", in vs_icap_create_respmod_hdr() 659 if (tlen >= hbufsp) in vs_icap_create_respmod_hdr() 661 hbufp += tlen; hbufsp -= tlen; in vs_icap_create_respmod_hdr() [all …]
|
/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | dca_rsa.c | 55 static int dca_pkcs1_padding(dca_t *dca, caddr_t buf, int flen, int tlen, 57 static int dca_pkcs1_unpadding(char *buf, int *tlen, int flen, int mode); 58 static int dca_x509_padding(caddr_t buf, int flen, int tlen); 59 static int dca_x509_unpadding(char *buf, int tlen, int flen, int mode); 681 dca_pkcs1_padding(dca_t *dca, caddr_t buf, int flen, int tlen, int private) in dca_pkcs1_padding() argument 687 tlen, flen, private); in dca_pkcs1_padding() 689 if (flen > tlen - 11) in dca_pkcs1_padding() 695 for (i = flen + 1; i < tlen - 2; i++) { in dca_pkcs1_padding() 698 buf[tlen - 2] = 1; in dca_pkcs1_padding() 699 buf[tlen - 1] = 0; in dca_pkcs1_padding() [all …]
|
/titanic_44/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 529 int slen, tlen, len, d_col; in getlen() local 535 tlen = startpos; in getlen() 538 slen = tlen; in getlen() 539 tlen += 8 - (tlen % 8); in getlen() 540 if (tlen >= hlen) { in getlen() 541 tlen = slen; in getlen() 549 slen = tlen; in getlen() 550 tlen++; in getlen() 551 if (tlen >= hlen) { in getlen() 552 tlen = slen; in getlen() [all …]
|
/titanic_44/usr/src/cmd/newtask/ |
H A D | utils.c | 145 size_t tlen; in getdefault() local 176 tlen = len + strlen(prefix) + 1; in getdefault() 177 ret_str = safe_malloc(tlen); in getdefault() 178 (void) snprintf(ret_str, tlen, "%s%s", in getdefault() 181 tlen = len + 1; in getdefault() 182 ret_str = safe_malloc(tlen); in getdefault() 183 (void) snprintf(ret_str, tlen, "%s", tmp_cp); in getdefault()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 201 int tlen; in handle_motm_hurl() local 212 tlen = POET_GET_LENG(tagp); in handle_motm_hurl() 213 if (tlen > pktlen - POET_HDRLEN) in handle_motm_hurl() 216 if ((str = malloc(tlen + 1)) == NULL) { in handle_motm_hurl() 220 (void) memcpy(str, POET_DATA(tagp), tlen); in handle_motm_hurl() 221 str[tlen] = '\0'; in handle_motm_hurl() 223 pktlen -= POET_HDRLEN + tlen; in handle_motm_hurl() 224 tagp += POET_HDRLEN + tlen; in handle_motm_hurl() 247 int tlen; in handle_ip_route_add() local 262 tlen = POET_GET_LENG(tagp); in handle_ip_route_add() [all …]
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5seal.c | 83 unsigned conflen=0, tmsglen, tlen, msglen; in make_seal_token_v1() local 132 tlen = g_token_size((gss_OID) oid, 14+cksum_size+tmsglen); in make_seal_token_v1() 134 if ((t = (unsigned char *) xmalloc(tlen)) == NULL) in make_seal_token_v1() 196 xfree_wrap(t, tlen); in make_seal_token_v1() 203 xfree_wrap(t, tlen); in make_seal_token_v1() 219 xfree_wrap(t, tlen); in make_seal_token_v1() 237 xfree_wrap(t, tlen); in make_seal_token_v1() 249 xfree_wrap(t, tlen); in make_seal_token_v1() 295 xfree_wrap(t, tlen); in make_seal_token_v1() 317 xfree_wrap(t, tlen); in make_seal_token_v1() [all …]
|
/titanic_44/usr/src/cmd/tail/ |
H A D | read.c | 60 int ch, len, tlen; in bytes() local 88 tlen = len; in bytes() 95 if (tlen) { in bytes() 96 WR(sp, tlen); in bytes() 97 tlen = 0; in bytes() 102 if (tlen) in bytes() 103 WR(sp, tlen); in bytes()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 448 int tlen; in display_pppoe() local 466 tlen = POET_GET_LENG(tagp); in display_pppoe() 510 if (tlen > 0 && *dp == '\0') in display_pppoe() 511 tlen = 0; in display_pppoe() 518 (void) fprintf(out, "%s:\"%.*s\" ", str, tlen, dp); in display_pppoe() 524 while (--tlen >= 0) in display_pppoe() 530 if (tlen >= 4) { in display_pppoe() 536 tlen -= 4; in display_pppoe() 539 while (--tlen >= 0) in display_pppoe() 547 if (tlen != sizeof (poer)) { in display_pppoe() [all …]
|
H A D | common.c | 263 int tlen; in poe_tag_copy() local 266 tlen = POET_GET_LENG(tagp) + POET_HDRLEN; in poe_tag_copy() 268 if (sizeof (*poep) + plen + tlen > PPPOE_MSGMAX) in poe_tag_copy() 270 (void) memcpy((uint8_t *)(poep + 1) + plen, tagp, tlen); in poe_tag_copy() 271 poep->poep_length = htons(tlen + plen); in poe_tag_copy()
|
/titanic_44/usr/src/lib/libbsm/common/ |
H A D | audit_rexd.c | 160 int tlen; local 240 tlen = strlen(cmdbuf) + strlen(gtxt) + 1; 242 if ((tbuf = malloc(tlen)) == NULL) { 246 (void) snprintf(tbuf, tlen, gtxt, cmdbuf); 278 int tlen; local 357 tlen = strlen(cmdbuf) + strlen(gtxt) + 1; 359 if ((tbuf = malloc(tlen)) == NULL) { 364 (void) snprintf(tbuf, tlen, gtxt, cmdbuf);
|
H A D | audit_rexecd.c | 136 int tlen; local 215 tlen = strlen(gtxt) + strlen(cmdbuf) + 1; 216 if ((tbuf = malloc(tlen)) == NULL) { 220 (void) snprintf(tbuf, tlen, gtxt, cmdbuf); 247 int tlen; local 323 tlen = strlen(gtxt) + strlen(cmdbuf) + 1; 324 if ((tbuf = malloc(tlen)) == NULL) { 327 (void) snprintf(tbuf, tlen, gtxt, cmdbuf);
|
H A D | audit_rshd.c | 102 int tlen; in generate_record() local 140 tlen = strlen(gtxt) + strlen(cmdbuf) + 1; in generate_record() 141 if ((tbuf = malloc(tlen)) == NULL) { in generate_record() 145 (void) snprintf(tbuf, tlen, gtxt, cmdbuf); in generate_record()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | systeminfo.c | 146 unsigned int tlen, octlen; in systeminfo() local 178 tlen = octlen + IFNAMSIZ; in systeminfo() 179 tmp = kmem_alloc(tlen, KM_SLEEP); in systeminfo() 183 kmem_free(tmp, tlen); in systeminfo() 203 kmem_free(tmp, tlen); in systeminfo() 207 kmem_free(tmp, tlen); in systeminfo()
|
/titanic_44/usr/src/lib/libsmbfs/smb/ |
H A D | print.c | 62 int err, tlen, new_fd; in smb_open_printer() local 65 tlen = strlen(title); in smb_open_printer() 66 if (tlen >= SMBIOC_MAX_NAME) in smb_open_printer()
|
/titanic_44/usr/src/cmd/sgs/crle/common/ |
H A D | util.c | 169 size_t tlen = strlen(args) + 1; in addlib() local 175 str = alloca(tlen); in addlib() 196 tlen = llen + 1; in addlib() 202 tlen = 0; in addlib() 213 tlen += alen; in addlib() 214 if ((str = realloc((void *)*lib, tlen)) == 0) { in addlib()
|
/titanic_44/usr/src/lib/libldap5/include/ldap/ |
H A D | ldif.h | 66 #define LDIF_SIZE_NEEDED(tlen,vlen) \ argument 67 ((tlen) + 4 + LDIF_BASE64_LEN(vlen) \ 68 + ((LDIF_BASE64_LEN(vlen) + tlen + 3) / LDIF_MAX_LINE_WIDTH * 2 ))
|
/titanic_44/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_put.c | 393 B_TYPE(bk->type) == B_OVERFLOW ? ((BOVERFLOW *)bk)->tlen : bk->len; 449 bo.tlen = item->size; 648 bo.tlen = 0; 726 u_int32_t len, tlen; local 757 tlen = dbt->doff; 777 if ((ret = __db_goff(dbp, ©, bo->tlen, 782 tlen = dbt->doff; 796 if (bo->tlen > dbt->doff + dbt->dlen) { 797 len = bo->tlen - (dbt->doff + dbt->dlen); 800 tlen += len; [all …]
|
/titanic_44/usr/src/cmd/refer/ |
H A D | mkey2.c | 95 long len = 0L, tlen = 0L; in grec() local 102 tlen += strlen(tm); in grec() 105 if (tlen < MAXLINE && mindex(iglist, curtype) == 0) in grec() 107 len = tlen; in grec()
|
/titanic_44/usr/src/cmd/avs/errgen/ |
H A D | errgen.c | 161 int tlen; in do_line() local 199 tlen = strlen(text); in do_line() 201 if ((tlen > 2) && (text[tlen - 1] == '@') && (text[tlen - 2] == '@')) { in do_line()
|
/titanic_44/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 1168 unsigned int tlen = 0; in make_NegHints() local 1248 tlen = 1 + gssint_der_length_size(hintNameBuf.length) + in make_NegHints() 1250 hintNameSize = tlen; in make_NegHints() 1253 tlen += 1 + gssint_der_length_size(hintNameSize); in make_NegHints() 1254 negHintsSize = tlen; in make_NegHints() 1256 t = (unsigned char *)malloc(tlen); in make_NegHints() 1266 &ptr, tlen - (int)(ptr-t))) in make_NegHints() 1271 &ptr, tlen - (int)(ptr-t))) in make_NegHints() 3020 unsigned int tlen, ilen; in put_mech_set() local 3022 tlen = ilen = 0; in put_mech_set() [all …]
|
/titanic_44/usr/src/cmd/sendmail/db/db/ |
H A D | db_overflow.c | 82 __db_goff(dbp, dbt, tlen, pgno, bpp, bpsz) in __db_goff() argument 85 u_int32_t tlen; 107 needed = tlen; 348 __db_moff(dbp, dbt, pgno, tlen, cmpfunc, cmpp) in __db_moff() argument 352 u_int32_t tlen; 372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0)
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | db_entry.cc | 96 int tlen, j, i; in copy_entry() local 126 tlen = newcols[j].ec_value.ec_value_len = in copy_entry() 128 newcols[j].ec_value.ec_value_val = new char[ tlen ]; in copy_entry() 142 tlen); in copy_entry()
|
/titanic_44/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Tuple.java | 319 int tlen = t.size(); in compareTo() local 320 for (int i = 0; (cmp == 0) && (i < len) && (i < tlen); ++i) { in compareTo() 324 cmp = (len < tlen ? -1 : (len > tlen ? 1 : 0)); in compareTo()
|
/titanic_44/usr/src/common/bignum/amd64/ |
H A D | bignum_amd64_asm.s | 450 movq %rdx, %r15 / tlen = len 451 decq %r15 / tlen = len - 1 454 movq %r15, %rdx / arg3 = tlen 457 movq %rax, 0(%r13, %r15, 8) / tr[tlen] = cy 459 decq %r15 / --tlen 460 jz .L32 / while (--tlen != 0) 466 movq %r15, %rdx / arg3 = tlen 469 movq %rax, 0(%r13, %r15, 8) / tr[tlen] = cy
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 825 int32_t offset, tlen; in smb_mbc_put_mem() local 850 tlen = m->m_len - offset; in smb_mbc_put_mem() 851 if (tlen > mem_len) in smb_mbc_put_mem() 852 tlen = mem_len; in smb_mbc_put_mem() 853 bcopy(mem, m->m_data + offset, tlen); in smb_mbc_put_mem() 854 mbc->chain_offset += tlen; in smb_mbc_put_mem() 855 mem += tlen; in smb_mbc_put_mem() 856 mem_len -= tlen; in smb_mbc_put_mem() 865 tlen = m->m_len; in smb_mbc_put_mem() 866 if (tlen > mem_len) in smb_mbc_put_mem() [all …]
|