/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chk_trans.c | 50 unsigned int len1, len2, i; in process_intermediates() local 56 len1 = n1->length; in process_intermediates() 61 if (len1 > len2) { in process_intermediates() 63 int tmp = len1; in process_intermediates() 64 len1 = len2; in process_intermediates() 71 if (len1 == len2) { in process_intermediates() 72 if (memcmp (n1->data, n2->data, len1)) { in process_intermediates() 81 if (len1 == 0) in process_intermediates() 90 (int) len1, p1, (int) len2, p2)); in process_intermediates() 93 if (memcmp (p1, p2, len1)) { in process_intermediates() [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/isc/ |
H A D | hex.c | 86 size_t len1, size_t len2, const char *sep) in isc_puthexstring() argument 90 if (len1 < 4U) in isc_puthexstring() 91 len1 = 4; in isc_puthexstring() 100 if (i >= len1 && sep != NULL) { in isc_puthexstring() 103 len1 = len2; in isc_puthexstring()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | wcscoll.c | 41 int len1, len2, pri1, pri2, ret; in wcscoll_l() local 108 _collate_lookup(lcc, w1, &len1, &pri1, pass, in wcscoll_l() 130 w1 += len1; in wcscoll_l() 137 _collate_lookup(lcc, w1, &len1, in wcscoll_l() 145 w1 += len1; in wcscoll_l() 164 w1 += len1; in wcscoll_l()
|
/titanic_41/usr/src/lib/libmail/common/ |
H A D | substr.c | 43 int i, j, len1, len2; in substr() local 47 len1 = (int)strlen(string1); in substr() 50 for (i = 0; i < len1 - len2 + 1; i++) { in substr()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/common/ |
H A D | stats_dbm.c | 174 int len1, len2, size; in stats_dbm_fetch_byvfsp() local 190 len1 = strlen(mi->mi_path); in stats_dbm_fetch_byvfsp() 191 len2 = strlen(mi->mi_path + len1 + 1); in stats_dbm_fetch_byvfsp() 192 size = sizeof (*rc) + len1 + len2 - CLPAD(mount_info, mi_path); in stats_dbm_fetch_byvfsp() 213 int len1, len2; in stats_dbm_store_byvfsp() local 223 len1 = strlen(mi->mi_path); in stats_dbm_store_byvfsp() 224 len2 = strlen(mi->mi_path + len1 + 1); in stats_dbm_store_byvfsp() 227 len1 + len2 - in stats_dbm_store_byvfsp()
|
H A D | stats_log.c | 1657 size_t len1, len2, maxlen; in stats_log_compute_wssize() local 1708 len1 = strlen(mip->mi_path); in stats_log_compute_wssize() 1709 len2 = strlen(mip->mi_path + len1 + 1); in stats_log_compute_wssize() 1711 len1 + len2 - CLPAD(mount_info, mi_path)); in stats_log_compute_wssize() 1714 string1 = mi->mi_path + len1 + 1; in stats_log_compute_wssize() 1738 len1 = strlcpy(mi->mi_path, mountp->path, maxlen); in stats_log_compute_wssize() 1739 if (len1 >= maxlen) { in stats_log_compute_wssize() 1745 len1 = strlen(mi->mi_path); in stats_log_compute_wssize() 1746 maxlen = MI_MAX_MI_PATH - (len1 + 1); in stats_log_compute_wssize() 1747 len2 = strlcpy(mi->mi_path + len1 + 1, in stats_log_compute_wssize()
|
/titanic_41/usr/src/cmd/msgfmt/ |
H A D | gnu_po.y | 149 size_t len, len1, len2; variable 153 len1 = $1.len - 1; 157 len = len1 + len2; 160 (void) memcpy(str, $1.str, len1); 161 (void) memcpy(str + len1, $2, len2 + 1);
|
/titanic_41/usr/src/cmd/strings/ |
H A D | strings.c | 394 int len, len1, i; local 440 if ((len1 = mbtowc(&wc, mbuf, len)) <= 0) { 441 len1 = 1; 446 if ((cc + len1) >= (buf_size-2)) { 463 for (i = 0; i < len1; i++, cc++) 465 r_val = len1; 469 for (len--; len >= len1; len--)
|
/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | assfail.c | 100 size_t len1, len2; in common_panic() local 108 len1 = strlen(msg); in common_panic() 110 if (len1 + len2 >= sizeof (msg)) in common_panic() 111 len2 = sizeof (msg) - len1 - 1; in common_panic() 113 len1 = strlen(msg); in common_panic() 114 if (msg[len1 - 1] != '\n') in common_panic() 115 msg[len1++] = '\n'; in common_panic() 116 (void) __write(2, msg, len1); in common_panic()
|
/titanic_41/usr/src/cmd/srchtxt/ |
H A D | srchtxt.c | 95 int len1; in main() local 160 len1 = 0; in main() 163 len1 = len; in main() 166 if ((addr = attach(cp, len1, &fd, &size)) == -1) { in main()
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | rstatus.c | 185 register int len1 = strlen(prs1->req_file), in later() local 195 if (len1 > len2) in later() 197 else if (len1 < len2) in later()
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | g11n.c | 365 int len1, len2; in g11n_langtag_match() local 368 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match() 377 if (len1 != len2 || strncmp(langtag1, langtag2, len1) != 0) in g11n_langtag_match() 380 c1 = *(langtag1 + len1); in g11n_langtag_match() 396 langtag1 = langtag1 + len1 + 1; in g11n_langtag_match() 399 len1 = (strchr(langtag1, '-')) ? in g11n_langtag_match() 405 if (len1 != len2 || strncmp(langtag1, langtag2, len1) != 0) in g11n_langtag_match()
|
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ProbeData.java | 507 int len1 = a1.length; in compareByteArrays() local 510 for (int i = 0; (cmp == 0) && (i < len1) && (i < len2); ++i) { in compareByteArrays() 515 cmp = (len1 < len2 ? -1 : (len1 > len2 ? 1 : 0)); in compareByteArrays() 597 int len1 = list1.size(); in compareRecordLists() local 599 if (len1 != len2) { in compareRecordLists() 602 len1 + " and " + len2 + ")."); in compareRecordLists() 609 for (int i = 0; (i < len1) && (i < len2); ++i) { in compareRecordLists()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | ssnsetup.c | 296 uint16_t bc, len1, len2, sblen; in smb__ssnsetup() local 319 len1 = mbc1 ? mbc1->mb_count : 0; in smb__ssnsetup() 320 mb_put_uint16le(mbp, len1); /* 7: Sec. Blob Len */ in smb__ssnsetup() 335 len1 = mbc1 ? mbc1->mb_count : 0; in smb__ssnsetup() 337 mb_put_uint16le(mbp, len1); /* 7: LM pass. len */ in smb__ssnsetup()
|
/titanic_41/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 90 static int len1; /* Calculated length of left side */ variable 377 len1 = getlen(0, bp); in put1() 378 if ((!silent || change != ' ') && len1 != 0) in put1() 432 if (!silent && !leftonly && len1 != 0) { in put2() 438 len1 = 0; in put2() 441 len1 = 0; in put2() 602 for (i = 0; i < hlen - len1; i++) in putmid()
|
/titanic_41/usr/src/common/lzma/ |
H A D | LzFind.c | 354 UInt32 len0 = 0, len1 = 0; in GetMatchesSpec1() local 366 UInt32 len = (len0 < len1 ? len0 : len1); in GetMatchesSpec1() 390 len1 = len; in GetMatchesSpec1() 408 UInt32 len0 = 0, len1 = 0; in SkipMatchesSpec() local 420 UInt32 len = (len0 < len1 ? len0 : len1); in SkipMatchesSpec() 440 len1 = len; in SkipMatchesSpec()
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 1134 int len1; in make_full_dn() local 1141 len1 = strlen(base) + 1; in make_full_dn() 1142 *dn = s_realloc(*dn, len + len1); in make_full_dn() 1165 int len1; in make_fqdn() local 1173 len1 = strlen(base) + 1; in make_fqdn() 1175 s_realloc(dn->read.base, len + len1); in make_fqdn() 1178 base, len1); in make_fqdn() 1246 int len1; in add_domain() local 1254 len1 = strlen(domain); in add_domain() 1255 trailing_dot = (len1 > 0 && domain[len1 - 1] == PERIOD_CHAR) ? in add_domain() [all …]
|
/titanic_41/usr/src/cmd/sgs/tools/common/ |
H A D | string_table.c | 121 size_t len1, len2; in avl_len_compare() local 123 len1 = ((LenNode *)n1)->ln_strlen; in avl_len_compare() 126 if (len1 == len2) in avl_len_compare() 128 if (len2 < len1) in avl_len_compare()
|
/titanic_41/usr/src/lib/efcode/engine/ |
H A D | properties.c | 458 int len1, len2; in encode_plus() local 463 src1 = pop_a_string(env, &len1); in encode_plus() 465 new = add_property_buffer(env, len1 + len2); in encode_plus() 471 memcpy(new + len2, src1, len1); in encode_plus() 475 PUSH(DS, len1 + len2); in encode_plus()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1885 int len1, len2; in domap() local 1891 if ((len1 = mbtowc(&wc1, cp1, MB_CUR_MAX)) <= 0) { in domap() 1893 len1 = 1; in domap() 1895 cp1 += len1; in domap() 1922 tp[toknum] = cp1 - len1; in domap() 1924 if ((len1 = mbtowc(&wc1, in domap() 1928 len1 = 1; in domap() 1930 cp1 += len1; in domap() 1937 te[toknum] = cp1 - len1; in domap()
|
/titanic_41/usr/src/cmd/mailx/ |
H A D | aux.c | 757 int i, j, len1, len2; in substr() local 759 len1 = strlen(string1); in substr() 761 for (i = 0; i < len1 - len2 + 1; i++) { in substr()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 1474 soallocproto2(const void *buf1, ssize_t len1, const void *buf2, ssize_t len2, in soallocproto2() argument 1480 size = len1 + len2; in soallocproto2() 1481 ASSERT(size >= len1 + len2); in soallocproto2() 1483 mp = soallocproto1(buf1, len1, size, sleepflg, cr); in soallocproto2() 1496 soallocproto3(const void *buf1, ssize_t len1, const void *buf2, ssize_t len2, in soallocproto3() argument 1502 size = len1 + len2 +len3; in soallocproto3() 1503 ASSERT(size >= len1 + len2 + len3); in soallocproto3() 1505 mp = soallocproto1(buf1, len1, size, sleepflg, cr); in soallocproto3()
|
/titanic_41/usr/src/cmd/abi/appcert/scripts/ |
H A D | symreport.pl | 754 my ($len1, $len2, $len3); 757 $len1 = length($heading) - 2; 782 $str .= sprintf("%-${len1}s", $lib);
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.misc.c | 179 int len1 = strlen_(cp); in strspl() local 182 ep = (tchar *)xalloc((unsigned)(len1 + len2 + 1)*sizeof (tchar)); in strspl()
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 1273 int len1; in build_usage_string() local 1289 len1 = snprintf(NULL, 0, use, dname, data); in build_usage_string() 1297 if ((p = realloc(*msg, len0 + len1 + 1)) == NULL) { in build_usage_string() 1305 (void) snprintf(*msg + len0, len1 + 1, use, dname, data); in build_usage_string()
|