Searched defs:l2 (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrlcat.c46 size_t l2 = strlen(src); local
53 return (l1 + l2);
55 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2;
58 return (l1 + l2);
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_tran.c92 size_t l1, l2; local
95 l2 = SA_LEN(a2);
97 if (l1 != l2)
/illumos-gate/usr/src/tools/smatch/src/
H A Dtest-sort.c19 struct ptr_list *l = NULL, *l2; local
36 l2 = l;
38 l2->nr = MIN (l2->nr, rand () % 3);
39 for (i = 0; i < l2->nr; i++)
40 *((int *)(l2->list[i])) = rand();
41 l2 = l2->next;
42 } while (l2 != l);
H A Dcse.c130 static int phi_list_compare(struct pseudo_list *l1, struct pseudo_list *l2) argument
135 PREPARE_PTR_LIST(l2, phi2);
/illumos-gate/usr/src/cmd/nscd/
H A Dgettnrhdb.c72 int res, l1, l2; local
83 l2 = strlen(e2->key.hostaddr.addr);
85 (l1 > l2)?l1:l2);
H A Dgethost.c86 int res, l1, l2; local
91 l2 = e2->key.hostaddr.len;
93 (l2 > l1)?l1:l2);
94 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2));
H A Dgetnode.c81 int res, l1, l2; local
92 l2 = e2->key.hostaddr.len;
94 (l2 > l1)?l1:l2);
95 return ((res) ? _NSC_INT_KEY_CMP(res, 0) : _NSC_INT_KEY_CMP(l1, l2));
121 int res, l1, l2; local
132 l2 = strlen(e2->key.ipnode.name);
134 (l1 > l2)?l1:l2);
H A Dgetserv.c73 int res, l1, l2; local
85 l2 = strlen(e2->key.serv.proto);
87 (l1 > l2)?l1:l2);
96 l2 = strlen(e2->key.serv.serv.name);
98 (l1 > l2)?l1:l2);
119 int res, l1, l2; local
131 l2 = strlen(e2->key.serv.proto);
133 (l1 > l2)
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.c27 link_init(struct l2_packet_data *l2) argument
33 retval = dlpi_bind(l2->dh, DLPI_ANY_SAP, NULL);
36 l2->ifname, dlpi_strerror(retval));
40 retval = dlpi_promiscon(l2->dh, DL_PROMISC_SAP);
44 l2->ifname, dlpi_strerror(retval));
48 retval = dlpi_get_physaddr(l2->dh, DL_CURR_PHYS_ADDR, paddr, &paddrlen);
51 l2->ifname, dlpi_strerror(retval));
54 if (paddrlen != sizeof (l2->own_addr)) {
56 l2->ifname, sizeof (l2
68 l2_packet_get_own_addr(struct l2_packet_data *l2, uint8_t *addr) argument
75 l2_packet_send(struct l2_packet_data *l2, uint8_t *buf, size_t buflen) argument
92 struct l2_packet_data *l2 = eloop_ctx; local
122 struct l2_packet_data *l2; local
154 l2_packet_deinit(struct l2_packet_data *l2) argument
[all...]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c128 char *str2, *l1, *l2, *tok, *name; local
155 name = strtok_r(tok, "=", &l2);
157 if (l2 == NULL)
168 if (strlen(l2) > 32)
170 if ((uri->token = (unsigned char *)strdup(l2)) == NULL)
176 if (strlen(l2) > 32)
178 if ((uri->manuf = (unsigned char *)strdup(l2)) == NULL)
184 if (strlen(l2) > 16)
186 if ((uri->serial = (unsigned char *)strdup(l2)) == NULL)
192 if (strlen(l2) > 1
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsasl.c160 int l1, l2, rl; local
165 l2 = strlen(s2);
166 rl = SM_MIN(l1, l2);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Devnv.c65 nvlist_t *l2 = NULL; local
103 (void) nvpair_value_nvlist(p2, &l2);
104 if ((ret = evnv_cmpnvl(l1, l2, depth + 1)) != 0)
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_subr.c96 size_t l2 = strlen(src); local
103 return (l1 + l2);
105 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2;
108 return (l1 + l2);
/illumos-gate/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c104 const m_label_t *l1, *l2; local
161 l2 = (const m_label_t *)&tp.tp_gw_sl_set[NSLS_MAX];
162 for (i = 0; l1 < l2; l1++, i++) {
200 l2 = (const m_label_t *)&tp.tp_sl_set_cipso[NSLS_MAX];
201 for (i = 0; l1 < l2; l1++, i++) {
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c78 size_t l2 = strlen(src); local
85 return (l1 + l2);
87 copied = l1 + l2 >= dstsize ? dstsize - l1 - 1 : l2;
90 return (l1 + l2);
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_subr.c120 uint32_t l1, l2; local
131 l2 = ntohl(i2);
145 l2 = ntohl((uint32_t)a2->s_addr);
153 d = l1 - l2;
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash.c206 int32_t l2, nbuckets; local
222 l2 = __db_log2(nelem > 2 ? nelem : 2);
224 l2 = 2;
226 nbuckets = 1 << l2;
228 hcp->hdr->ovfl_point = l2;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsmfi.c47 size_t len, l1, l2, offset; local
58 l2 = strlen(headerv) + 1;
59 len = l1 + l2;
73 (void) memcpy(buf + offset + l1, headerv, l2);
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vlog.c667 double l0, l1, l2, l3; local
743 l2 = d2 * TBL[i2+1];
748 s2 = h2 + l2;
766 *y = (n2 * ln2hi + TBL[i2+2]) + (h2 + (l2 +
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtparm.c190 tparm_p2(char *instring, long l1, long l2) argument
195 p[1] = l2;
202 tparm_p3(char *instring, long l1, long l2, long l3) argument
207 p[1] = l2;
215 tparm_p4(char *instring, long l1, long l2, long l3, long l4) argument
220 p[1] = l2;
229 tparm_p7(char *instring, long l1, long l2, long l3, long l4, long l5, long l6, argument
235 p[1] = l2;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c379 int32_t l2, nbuckets; local
388 l2 = __log2(MAX(nelem, 2));
389 nbuckets = 1 << l2;
391 hashp->hdr.spares[l2] = l2 + 1;
392 hashp->hdr.spares[l2 + 1] = l2 + 1;
393 hashp->hdr.ovfl_point = l2;
418 /* First bitmap page is at: splitpoint l2 page offset 1 */
419 if (__ibitmap(hashp, OADDR_OF(l2,
[all...]
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c312 char *sp, *l1, *l2; local
316 l2 = al2;
317 while (l1 < l2) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dslp.h55 unsigned char l1, l2, l3; member in struct:slpv2_hdr
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c274 blevel_t *l1, *l2; local
336 l2 = &tpentp->tp_gw_sl_range.upper_bound;
337 if (!bldominates(l2, l1)) {
348 l2 = (blevel_t *)&tpentp->tp_gw_sl_set[NSLS_MAX];
349 for (; l1 < l2; l1++) {
362 l2 = &tpentp->tp_sl_range_cipso.upper_bound;
363 if (!bldominates(l2, l1)) {
375 l2 = (blevel_t *)&tpentp->tp_sl_set_cipso[NSLS_MAX];
376 for (; l1 < l2; l1++) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_sadb.c59 /* l1 is packet label; l2 is SA label */
61 ipsec_label_match(ts_label_t *l1, ts_label_t *l2) argument
67 * Check for NULL label. Unlabeled SA (l2) always matches;
70 if (l2 == NULL)
83 return (label_equal(l1, l2));

Completed in 372 milliseconds

123