/illumos-gate/usr/src/lib/libmail/common/ |
H A D | substr.c | 43 int i, j, len1, len2; local 47 len1 = (int)strlen(string1); 50 for (i = 0; i < len1 - len2 + 1; i++) {
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | rstatus.c | 185 register int len1 = strlen(prs1->req_file), local 195 if (len1 > len2) 197 else if (len1 < len2)
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | hex.c | 86 size_t len1, size_t len2, const char *sep) 90 if (len1 < 4U) 91 len1 = 4; 100 if (i >= len1 && sep != NULL) { 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
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | wcscoll.c | 41 int len1, len2, pri1, pri2, ret; local 108 _collate_lookup(lcc, w1, &len1, &pri1, pass, 130 w1 += len1; 137 _collate_lookup(lcc, w1, &len1, 145 w1 += len1; 164 w1 += len1;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | ssnsetup.c | 296 uint16_t bc, len1, len2, sblen; local 319 len1 = mbc1 ? mbc1->mb_count : 0; 320 mb_put_uint16le(mbp, len1); /* 7: Sec. Blob Len */ 335 len1 = mbc1 ? mbc1->mb_count : 0; 337 mb_put_uint16le(mbp, len1); /* 7: LM pass. len */
|
/illumos-gate/usr/src/cmd/srchtxt/ |
H A D | srchtxt.c | 95 int len1; local 160 len1 = 0; 163 len1 = len; 166 if ((addr = attach(cp, len1, &fd, &size)) == -1) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chk_trans.c | 50 unsigned int len1, len2, i; local 56 len1 = n1->length; 61 if (len1 > len2) { 63 int tmp = len1; 64 len1 = len2; 70 /* Okay, now len1 is always shorter or equal. */ 71 if (len1 == len2) { 72 if (memcmp (n1->data, n2->data, len1)) { 80 /* Now len1 is always shorter. */ 81 if (len1 [all...] |
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | string_table.c | 121 size_t len1, len2; local 123 len1 = ((LenNode *)n1)->ln_strlen; 126 if (len1 == len2) 128 if (len2 < len1)
|
/illumos-gate/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--)
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | assfail.c | 103 size_t len1, len2; local 111 len1 = strlen(msg); 113 if (len1 + len2 >= sizeof (msg)) 114 len2 = sizeof (msg) - len1 - 1; 116 len1 = strlen(msg); 117 if (msg[len1 - 1] != '\n') 118 msg[len1++] = '\n'; 119 (void) __write(2, msg, len1);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 179 int len1 = strlen_(cp); local 182 ep = (tchar *)xalloc((unsigned)(len1 + len2 + 1)*sizeof (tchar));
|
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | properties.c | 458 int len1, len2; local 463 src1 = pop_a_string(env, &len1); 465 new = add_property_buffer(env, len1 + len2); 471 memcpy(new + len2, src1, len1); 475 PUSH(DS, len1 + len2);
|
/illumos-gate/usr/src/common/lzma/ |
H A D | LzFind.c | 354 UInt32 len0 = 0, len1 = 0; local 366 UInt32 len = (len0 < len1 ? len0 : len1); 390 len1 = len; 408 UInt32 len0 = 0, len1 = 0; local 420 UInt32 len = (len0 < len1 ? len0 : len1); 440 len1 = len;
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | aux.c | 757 int i, j, len1, len2; local 759 len1 = strlen(string1); 761 for (i = 0; i < len1 - len2 + 1; i++) {
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 90 static int len1; /* Calculated length of left side */ variable 370 /* len1 = length of left side */ 377 len1 = getlen(0, bp); 378 if ((!silent || change != ' ') && len1 != 0) 415 * or the right contains other than white space (len1 !=0) 432 if (!silent && !leftonly && len1 != 0) { 438 len1 = 0; 441 len1 = 0; 595 * len1 set by getlen to the possibly truncated 602 for (i = 0; i < hlen - len1; [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 1270 int len1; local 1286 len1 = snprintf(NULL, 0, use, dname, data); 1294 if ((p = realloc(*msg, len0 + len1 + 1)) == NULL) { 1302 (void) snprintf(*msg + len0, len1 + 1, use, dname, data);
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_tx.c | 1262 size_t len1; local 1287 len1 = MBLKL(nmp); 1288 if ((tx_buf->len + len1) > tx_buf->size) 1292 else if (len1 > tx_ring->adapter->tx_bcopy_thresh)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1885 int len1, len2; local 1891 if ((len1 = mbtowc(&wc1, cp1, MB_CUR_MAX)) <= 0) { 1893 len1 = 1; 1895 cp1 += len1; 1922 tp[toknum] = cp1 - len1; 1924 if ((len1 = mbtowc(&wc1, 1928 len1 = 1; 1930 cp1 += len1; 1937 te[toknum] = cp1 - len1;
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 142 int len1; local 148 len1 = strlen (path1); 151 p1 = path1 + len1;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 1134 int len1; local 1141 len1 = strlen(base) + 1; 1142 *dn = s_realloc(*dn, len + len1); 1165 int len1; local 1173 len1 = strlen(base) + 1; 1175 s_realloc(dn->read.base, len + len1); 1178 base, len1); 1246 int len1; local 1254 len1 = strlen(domain); 1255 trailing_dot = (len1 > 2574 int len1 = strlen(s1); local 2591 int len1 = strlen(s1); local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_flash.h | 188 efx_dword_t len1; /* length of first image */ member in struct:siena_mc_combo_rom_hdr_s::__anon323::__anon324 198 efx_dword_t len1; /* length of first image */ member in struct:siena_mc_combo_rom_hdr_s::__anon323::__anon325
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1956 int len1, len2; local 2018 len1 = strlen(addrname1); 2020 if ((len1 < len2) && 2021 (strncmp(addrname1, addrname2, len1) == 0) && 2022 (strcmp(wildcard, &addrname2[len1]) == 0)) { 2024 } else if ((len2 < len1) &&
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.c | 98 size_t len1, len2; local 120 len1 = vsnprintf(&c, 1, format, ap); 123 msg = fmd_alloc(len1 + len2 + 1, FMD_SLEEP); 124 (void) vsnprintf(msg, len1 + 1, format, ap); 127 (void) snprintf(&msg[len1], len2 + 1, 136 if ((c = msg[len1 + len2 - 1]) == '\n') 137 msg[len1 + len2 - 1] = '\0'; /* strip \n for event */ 142 msg[len1 + len2 - 1] = c; 177 fmd_free(msg, len1 + len2 + 1);
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 1170 int len1 = 0; local 1190 len1 = len + strlen(DOORLINESEP) + 1; 1192 *output = (char *)calloc(1, len1); 1199 (void) snprintf(*output, len1, "%s%s%s", 1259 len1 = len - strlen(*output); 1260 (void) snprintf(*output + strlen(*output), len1, 1264 len1 = len - strlen(*output); 1266 (void) snprintf(*output + strlen(*output), len1,
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.c | 1766 int len1, len2; local 1778 len1 = strlen (ldap_context->lrparams->realmdn); 1780 if (len1 == 0 || len2 == 0 || len1 > len2) { 1785 if (strcmp (ldap_context->lrparams->realmdn, policy_dn + (len2 - len1)) != 0) { 1794 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */
|