Searched defs:len (Results 426 - 450 of 3274) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c183 * Write the TLV triplet named by `type', `len' and `value' to file descriptor
187 ipmp_writetlv(int fd, ipmp_infotype_t type, size_t len, void *value) argument
195 retval = ipmp_write(fd, &len, sizeof (len));
199 return (ipmp_write(fd, value, len));
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dextendop.c189 ber_len_t len; local
215 if ( ber_peek_tag( &ber, &len ) == LDAP_TAG_EXOP_RES_OID ) {
227 if ( ber_peek_tag( &ber, &len ) == LDAP_TAG_EXOP_RES_VALUE ) {
H A Dldaputf8.c232 int len = ldap_utf8len(s); local
234 if (len == 0) {
236 } else if (len == 1) {
248 } else if (len == 2) {
252 } else if (len == 3) {
H A Dsaslbind.c225 ber_len_t len; local
262 ber_peek_tag( &ber, &len ) == LDAP_TAG_SASL_RES_CREDS ) {
/illumos-gate/usr/src/cmd/uname/
H A Duname.c130 int len = strlen(nodename); local
132 if (len > SYS_NMLN - 1) {
138 if (sysinfo(SI_SET_HOSTNAME, nodename, len) < 0) {
/illumos-gate/usr/src/cmd/valtools/
H A Dckdate.c123 size_t len; local
228 len = strlen(deflt) + 1;
229 if (len < MAX_INPUT)
230 len = MAX_INPUT;
232 len = MAX_INPUT;
234 date = (char *)malloc(len);
H A Dckgid.c115 size_t len; local
212 len = strlen(deflt) + 1;
213 if (len < MAX_INPUT)
214 len = MAX_INPUT;
216 len = MAX_INPUT;
218 gid = (char *)malloc(len);
H A Dckkeywd.c86 size_t len; local
164 len = strlen(deflt) + 1;
165 if (len < MAX_INPUT)
166 len = MAX_INPUT;
168 len = MAX_INPUT;
170 strval = (char *)malloc(len);
H A Dckpath.c137 size_t len; local
290 len = strlen(deflt) + 1;
291 if (len < MAX_INPUT)
292 len = MAX_INPUT;
294 len = MAX_INPUT;
296 pathval = (char *)malloc(len);
H A Dcktime.c127 size_t len; local
235 len = strlen(deflt) + 1;
236 if (len < MAX_INPUT)
237 len = MAX_INPUT;
239 len = MAX_INPUT;
241 tod = (char *)malloc(len);
H A Dckuid.c118 size_t len; local
215 len = strlen(deflt) + 1;
216 if (len < MAX_INPUT)
217 len = MAX_INPUT;
219 len = MAX_INPUT;
221 strval = (char *)malloc(len);
H A Dckyorn.c110 size_t len; local
203 len = strlen(deflt) + 1;
204 if (len < MAX_INPUT)
205 len = MAX_INPUT;
207 len = MAX_INPUT;
209 ynval = (char *)malloc(len);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_unix.c54 int len; local
75 if ((len = _mbftowc(multic, &wc, getchar, &peekc)) > 0) {
76 if ((up + len) >= (unsigned char *)&uxb[UXBSIZE]) {
80 strncpy(up, multic, len);
81 up += len;
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypmatch.c229 int len; local
233 error = match_one(keys[n], &val, &len);
236 print_one(keys[n], val, len);
255 match_one(key, val, len)
258 int *len;
264 *len = 0;
265 err = yp_match_rsvdport(domain, map, key, (int)strlen(key), val, len);
271 val, len);
291 print_one(key, val, len)
294 int len;
[all...]
/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386.c77 (*big_mul_set_vec_impl)(uint32_t *r, uint32_t *a, int len, uint32_t digit)
81 (*big_mul_add_vec_impl)(uint32_t *r, uint32_t *a, int len, uint32_t digit)
92 big_mul_set_vec_init(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
95 return ((*big_mul_set_vec_impl)(r, a, len, digit));
99 big_mul_add_vec_init(uint32_t *r, uint32_t *a, int len, uint32_t digit) argument
102 return ((*big_mul_add_vec_impl)(r, a, len, digit));
/illumos-gate/usr/src/common/crypto/arcfour/
H A Darcfour_crypt.c95 * len Length, in bytes, of the in and out buffers
103 arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) argument
107 arcfour_crypt_asm(key, in, out, len);
138 (index-- > 0) && len > 0;
139 len--, in++, out++) {
152 if (len == 0)
169 for (ii = 0; ii < len; ++ii) {
194 --len;
196 for (ii = 0; ii < len; ) {
219 arcfour_crypt_aligned(key, len, i
[all...]
/illumos-gate/usr/src/common/crypto/arcfour/sun4v/
H A Darcfour_crypt.c62 arcfour_crypt(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) argument
80 for (index = 8 - index; (index-- > 0) && len > 0;
81 len--, in++, out++) {
95 if (len == 0)
111 for (ii = 0; ii < len; ii++) {
158 for (ii = 0, i1 = i; ii < ((len-1) & (~7));
579 for (; ii < len; ii++) {
/illumos-gate/usr/src/common/crypto/dh/
H A Ddh_impl.c75 int len; local
77 len = BITLEN2BIGNUMLEN(size);
80 if ((err = big_init(&(key->p), len)) != BIG_OK)
82 if ((err = big_init(&(key->g), len)) != BIG_OK)
84 if ((err = big_init(&(key->x), len)) != BIG_OK)
86 if ((err = big_init(&(key->y), len)) != BIG_OK)
119 * 2^(len-1) <= x < 2^(len)
341 s_bytes = dhkey.g.len * (int)sizeof (BIG_CHUNK_TYPE);
/illumos-gate/usr/src/common/crypto/rng/
H A Dfips_random.c77 xvalconv(uint32_t *dest, uint32_t *src, int len) argument
81 for (i = 0; i < len; i++) {
/illumos-gate/usr/src/common/ctf/
H A Dctf_hash.c76 ctf_hash_compute(const char *key, size_t len) argument
79 const char *p, *q = key + len;
145 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) argument
152 ulong_t h = ctf_hash_compute(key, len) % hp->h_nbuckets;
159 if (strncmp(key, str, len) == 0 && str[len] == '\0')
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c67 /* all options besides CD_END and CD_PAD should have a len */
76 /* verify that len won't go beyond end */
77 if ((current + options[*current]->len + 1) >= end) {
91 uint8_t *start, *end, len; local
95 len = pl->opts[CD_VENDOR_SPEC]->len;
98 /* verify that len won't go beyond the end of the packet */
99 if (((start - (uint8_t *)pl->pkt) + len) > pl->len)
102 end = start + len;
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_prop.c144 int len; local
147 len = strlen(value);
149 curval = realloc(cfg->sc_value, (len + 1));
151 curval = ndmp_malloc(len + 1);
/illumos-gate/usr/src/cmd/newtask/
H A Dutils.c133 size_t len; local
137 len = strlen(cp);
138 if (cp[len - 1] == '\n') {
139 len--;
140 cp[len] = '\0';
174 len = cp2 - tmp_cp;
176 tlen = len + strlen(prefix) + 1;
181 tlen = len + 1;
/illumos-gate/usr/src/cmd/nscd/
H A Dgetether.c89 ether_getlogstr(char *name, char *whoami, size_t len, nss_XbyY_args_t *argp) { argument
92 (void) snprintf(whoami, len, "%s [key=%x:%x:%x:%x:%x:%x]",
H A Dgethost.c70 hostaddr_getlogstr(char *name, char *whoami, size_t len, argument
76 (void) snprintf(whoami, len, "%s", name);
78 (void) snprintf(whoami, len, "%s [key=%s, addrtype=%d]",
90 l1 = e1->key.hostaddr.len;
91 l2 = e2->key.hostaddr.len;
100 key->hostaddr.len, htsize));

Completed in 87 milliseconds

<<11121314151617181920>>