Searched refs:len2 (Results 1 - 25 of 31) sorted by relevance

12

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dnet_read.c44 int cc, len2 = 0; local
58 return(len2);
61 len2 += cc;
65 return(len2);
H A Dread_msg.c38 int len2, ilen; local
45 if ((len2 = krb5_net_read(context, fd, (char *)&len, 4)) != 4)
46 return((len2 < 0) ? errno : ECONNABORTED);
60 if ((len2 = krb5_net_read(context, fd, buf, ilen)) != ilen) {
62 return((len2 < 0) ? errno : ECONNABORTED);
/osnet-11/usr/src/lib/libmail/common/
H A Dsubstr.c43 int i, j, len1, len2; local
49 len2 = (int)strlen(string2);
50 for (i = 0; i < len1 - len2 + 1; i++) {
51 for (j = 0; j < len2 && string1[i+j] == string2[j]; j++)
53 if (j == len2)
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dhex.c86 size_t len1, size_t len2, const char *sep)
92 if (len2 < 4U)
93 len2 = 4;
103 len1 = len2;
85 isc_puthexstring(FILE *fp, const unsigned char *buf, size_t buflen, size_t len1, size_t len2, const char *sep) argument
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dsendauth.c147 GETPEERNAME_ARG3_TYPE len2; local
151 len2 = sizeof (rnd_data);
153 &len2) == 0) {
154 d.length = len2;
158 len2 = sizeof (rnd_data);
160 &len2) == 0) {
161 d.length = len2;
H A Dchk_trans.c51 unsigned int len1, len2, i; local
58 len2 = n2->length;
62 if (len1 > len2) {
65 len1 = len2;
66 len2 = tmp;
72 if (len1 == len2) {
91 (int) len1, p1, (int) len2, p2));
96 (int) len1, p1, (int) len2, p2));
99 for (i = len1 + 1; i < len2; i++)
114 (int) len1, p1, (int) len2, p
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/utils/port/
H A DEditedFiles37 my ($len1, $len2);
41 $len2 = sysread($fh2, $buf2, 4096);
42 last if ($len1 == 0 && $len2 == 0);
43 if ($len1 != $len2 || $buf1 ne $buf2) {
45 $len2 = -2;
51 return ($len1 == $len2 ? 1 : 0);
H A DMapFiles35 my ($len1, $len2);
39 $len2 = sysread($fh2, $buf2, 4096);
40 last if ($len1 == 0 && $len2 == 0);
41 if ($len1 != $len2 || $buf1 ne $buf2) {
43 $len2 = -2;
49 return ($len1 == $len2 ? 1 : 0);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c428 size_t len, len2, len3, len4, len5, slop; local
478 len2 = (sizeof (nssuint_t) * 2) + len;
479 if (len2 >= length)
489 *rlen = len2;
496 len2 = (sizeof (nssuint_t) * 2) + len;
497 if (len2 >= length)
506 *rlen = len2;
519 len2 = 1;
521 len2 += strlen(arg->key.serv.proto);
522 len3 = len + len2;
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c284 int err, len1, len2, flags = 0; local
309 len2 = strlen(str2);
310 if (strncmp(fmristr + len1, str2, len2) != 0) {
323 unum = bufp + len1 + len2;
345 len2 = strlen(str2);
358 } else if (strncmp(bufp + 1, str2, len2) == 0) {
361 bufp += len2;
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dtparm.c346 grub_size_t len2; local
359 if ((len2 = grub_strlen(cp)) > fmt_size) {
360 fmt_size = len2 + fmt_size + 2;
367 while ((cp - string) < (int) len2) {
472 grub_size_t len2; local
481 len2 = (int) grub_strlen(cp);
519 while ((cp - string) < (int) len2) {
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostfs.c40 int len2 = strlen(name); local
42 char pathname[len1 + 1 + len2 + 1 + 13];
/osnet-11/usr/src/lib/libc/port/threads/
H A Dassfail.c97 size_t len1, len2; local
106 len2 = strlen(why);
107 if (len1 + len2 >= sizeof (msg))
108 len2 = sizeof (msg) - len1 - 1;
109 (void) strncat(msg, why, len2);
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java508 int len2 = a2.length;
510 for (int i = 0; (cmp == 0) && (i < len1) && (i < len2); ++i) {
515 cmp = (len1 < len2 ? -1 : (len1 > len2 ? 1 : 0));
598 int len2 = list2.size();
599 if (len1 != len2) {
602 len1 + " and " + len2 + ").");
609 for (int i = 0; (i < len1) && (i < len2); ++i) {
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c336 int len2; local
348 if ((len2 = grub_strlen(string)) > len_fmt) {
375 for (cp = string; (cp - string) < (int) len2;) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_dfl.c499 int len2; local
505 retval = krb5_rc_io_read(context, &t->d, (krb5_pointer) &len2,
506 sizeof(len2));
510 if ((len2 <= 0) || (len2 >= maxlen))
513 len = len2;
522 retval = krb5_rc_io_read(context, &t->d, (krb5_pointer) &len2,
523 sizeof(len2));
527 if ((len2 <= 0) || (len2 >
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Dproperties.c458 int len1, len2; local
464 src2 = pop_a_string(env, &len2);
465 new = add_property_buffer(env, len1 + len2);
467 memcpy(new, src2, len2);
471 memcpy(new + len2, src1, len1);
475 PUSH(DS, len1 + len2);
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Defi.c754 grub_efi_uint16_t len1, len2; local
770 len2 = GRUB_EFI_DEVICE_PATH_LENGTH (dp2);
772 if (len1 != len2)
773 return (int) len1 - (int) len2;
783 dp2 = (grub_efi_device_path_t *) ((char *) dp2 + len2);
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ssnsetup.c337 uint16_t bc, len1, len2, sblen; local
392 len2 = mbc2 ? mbc2->mb_count : 0;
394 smbfs_mb_put_uint16le(mbp, len2); /* 8: NT pass. len */
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c183 int cc, len2 = 0; local
194 return (len2);
197 len2 += cc;
202 return (len2);
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c94 #define MALLOC_FILTER_UDATA(ptr1, len1, ptr2, len2, error) \
101 MALLOC(ptr2, len2); \
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.xs2707 * SX_HOOK <flags> <len> <classname> <len2> <str> [<len3> <object-IDs>]
2709 * where <flags> indicates how long <len>, <len2> and <len3> are, whether
2719 * The serialized string returned by the hook is of length <len2> and comes
2755 STRLEN len2;
2879 pv = SvPV(ary[0], len2);
3001 if (len2 > LG_SCALAR)
3011 * SX_HOOK <flags> <len> <classname> <len2> <str> [<len3> <object-IDs>]
3012 * SX_HOOK <flags> <index> <len2> <str> [<len3> <object-IDs>]
3018 "class=%"IVdf" len=%"IVdf" len2=%"IVdf" len3=%d",
3019 recursed, flags, (IV)classnum, (IV)len, (IV)len2, coun
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Diso9660.c540 int len2);
543 int len2)
547 symlink = grub_realloc (symlink, size + len2 + 1);
552 grub_strncat (symlink, part, len2);
541 add_part(const char *part, int len2) argument
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c2385 int len1, len2; local
2448 len2 = strlen(addrname2);
2449 if ((len1 < len2) &&
2453 } else if ((len2 < len1) &&
2454 (strncmp(addrname1, addrname2, len2) == 0) &&
2455 (strcmp(wildcard, &addrname1[len2]) == 0)) {
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c1661 int len1, len2; local
1674 len2 = strlen (policy_dn);
1675 if (len1 == 0 || len2 == 0 || len1 > len2) {
1680 if (strcmp (ldap_context->lrparams->realmdn, policy_dn + (len2 - len1)) != 0) {
1689 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */

Completed in 129 milliseconds

12