Searched defs:len (Results 1026 - 1050 of 3274) sorted by relevance

<<41424344454647484950>>

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c672 int rc, len; local
755 if (( len = unescape_filterval( value )) < 0 ||
757 value, len, LDAP_TAG_MRA_DNATTRS, dnattr )) == -1 ) {
777 } else if (( len = unescape_filterval( value )) >= 0 ) {
778 rc = ber_printf( ber, "t{so}", ftype, str, value, len );
868 int len; local
890 if (( len = unescape_filterval( val )) < 0 ||
891 ber_printf( ber, "to", ftype, val, len ) == -1 ) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c210 int len; local
236 len = strlen(name_list);
237 tmp = realloc(name_list, len + strlen(name) + 2);
243 name_list[len++] = ' ';
244 (void) strcpy(name_list+len, name);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c208 int i, len; local
212 for ( p = src, len = 0; p < stop; p += 4, len += 3 ) {
230 len += 1;
239 len += 2;
249 return( len );
329 int b64, len, savelen, wraplen; local
330 len = 0;
339 for ( p = (unsigned char *) t; *p; p++, len++ ) {
343 len
437 int i, pad, len; local
552 int max, cur, len, gotsome; local
[all...]
/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c397 bad_hostname(char *name, int len) argument
401 if (len < 0 || len > MAX_SYSLEN)
405 * Per utmpx.h, len includes the nul character.
407 for (i = 0; i < len; i++)
422 int i, len; local
425 len = strlen(line);
426 if (len > 0)
427 len--;
429 id[i] = len
[all...]
/illumos-gate/usr/src/cmd/vgrind/
H A Dregexp.c33 STRNCMP(char *s1, char *s2, int len) argument
43 while (--len);
52 while (--len);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vmain.c617 int tmp, len, n; local
633 len = mbtowc(&wc, (char *)ccursor, MULTI_BYTE_MAX);
639 if(len > 1 && !iswalpha(wc)) {
646 ccursor += len;
654 ccursor += ((len > 0) ? len : 1);
669 len = wctomb((char *)(mbuf + tmp + 1),
672 len = wctomb((char *)(mbuf + tmp + 1),
674 tmp += len - 1;
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c273 copy_str_till(char *dst, char *src, char delim, int len) argument
277 while (*src != '\0' && i < len) {
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmkalias.c52 void CopyName(char *dst, char *src, int len);
128 CopyName(char *dst, char *src, int len) argument
133 while (*src && len--) {
H A Drpc_bootstrap.c108 svc_taddr->maxlen = svc_taddr->len = sizeof (*sa);
197 rpcb_taddr.len = rpcb_taddr.maxlen;
206 rpcb_taddr.len = rpcb_taddr.maxlen;
239 address->len = sizeof (*sa);
248 address->len = sizeof (*sa6);
367 #define bcmp(s1, s2, len) memcmp(s1, s2, len)
368 #define bcopy(s1, s2, len) memcpy(s2, s1, len)
427 int len; local
[all...]
H A Dypxfrd_server.c308 int len; local
316 len = read(m->map->entries->dbm_dirf, block, DBLKSIZ);
324 if (len < 0) {
327 } else if (len == 0) {
/illumos-gate/usr/src/common/bignum/
H A Dbignum.h77 * 0 should be represented by size>=1, size>=len>=1, sign=1,
78 * value[i]=0 for 0<i<len
81 /* size and len in units of BIG_CHUNK_TYPE words */
83 uint32_t len; /* number of valid data words in value */ member in struct:__anon1943
122 void conv_i32_to_d32(double *d32, uint32_t *i32, int len);
123 void conv_i32_to_d16(double *d16, uint32_t *i32, int len);
125 uint32_t *i32, int len);
138 void bytestring2bignum(BIGNUM *bn, uchar_t *kn, size_t len);
139 void bignum2bytestring(uchar_t *kn, BIGNUM *bn, size_t len);
182 #define BIG_MUL_SET_VEC(r, a, len, digi
[all...]
H A Dmont_mulf.c120 conv_i32_to_d32(double *d32, uint32_t *i32, int len) argument
125 for (i = 0; i < len; i++)
131 conv_i32_to_d16(double *d16, uint32_t *i32, int len) argument
137 for (i = 0; i < len; i++) {
193 conv_i32_to_d32_and_d16(double *d32, double *d16, uint32_t *i32, int len) argument
199 for (i = 0; i < len - 3; i += 4) {
203 for (; i < len; i++) {
213 adjust_montf_result(uint32_t *i32, uint32_t *nint, int len) argument
218 if (i32[len] > 0)
221 for (i = len
[all...]
/illumos-gate/usr/src/common/cmdparse/
H A Dcmdparse.c42 /* printable ascii character set len */
98 int len; local
101 len = strlen(subCommand);
102 if (len == strlen(sp->name) &&
103 strncasecmp(subCommand, sp->name, len) == 0) {
379 int len; local
552 len = strlen(optarg);
553 if (len > sizeof (cmdOptions[i].optarg)
562 optarg, len);
/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c627 uint_t len; local
629 len = CRYPTO_BITS2BYTES(bits);
636 bitrepeat(key, len, bits, rawkeybytes, 72);
638 slop = 72 % len;
644 copylen = (bytesleft >= len) ? len : slop;
/illumos-gate/usr/src/common/crypto/md4/
H A Dmd4.c263 * Encodes input (uint32_t) into output (unsigned char). Assumes len is
267 Encode(unsigned char *output, uint32_t *input, unsigned int len) argument
271 for (i = 0, j = 0; j < len; i++, j += 4) {
285 * Decodes input (unsigned char) into output (uint32_t). Assumes len is
289 Decode(uint32_t *output, unsigned char *input, unsigned int len) argument
293 for (i = 0, j = 0; j < len; i++, j += 4) {
/illumos-gate/usr/src/common/crypto/rsa/
H A Drsa_impl.c194 int len, keylen, size; local
199 len = keylen * 2 + 1;
216 if ((big_init(&a, len) != BIG_OK) ||
217 (big_init(&b, len) != BIG_OK) ||
218 (big_init(&c, len) != BIG_OK) ||
219 (big_init(&d, len) != BIG_OK) ||
220 (big_init(&e, len) != BIG_OK) ||
221 (big_init(&f, len) != BIG_OK) ||
222 (big_init(&g, len) != BIG_OK) ||
223 (big_init(&h, len) !
[all...]
/illumos-gate/usr/src/common/net/dhcp/
H A Ddhcp_impl.h52 #define CD_PHLEN 2 /* packet header len */
53 #define CD_PHOPS 3 /* packet header len */
93 uint8_t len; member in struct:__anon2011
117 uint_t len; /* packet len */ member in struct:dhcp_list
/illumos-gate/usr/src/common/net/wanboot/
H A Dauxutil.c88 * len - Length of the string.
97 asc2bmpstring(const char *str, int len) argument
105 if (asc2uni(str, len, &uni, &unilen) == 0) {
107 if (OPENSSL_asc2uni(str, len, &uni, &unilen) == 0) {
339 int len; local
352 len = ASN1_STRING_to_UTF8(&fname, str);
359 if (ASN1_STRING_set(ustr, fname, len) == 0) {
H A Dbootinfo.c235 size_t len, buflen = *vallenp; local
240 len = sizeof (ipaddr);
243 len = *vallenp;
247 bip->bi_dhcp->opt_size, val, &len)) {
254 *vallenp = len;
257 len = strlen(strcpy(valbuf, inet_ntoa(ipaddr))) + 1;
261 if (len >= buflen)
264 ((uchar_t *)valbuf)[len++] = '\0';
267 *vallenp = len;
276 uint_t len; local
[all...]
H A Dp12misc.c355 int len = 0; local
385 len = str->length;
386 if ((*keyid_str = malloc(len)) == NULL) {
391 (void) memcpy(*keyid_str, str->data, len);
392 *keyid_len = len;
394 return (len);
419 int len = 0; local
457 len = strlen(*fname);
459 return (len);
494 sunw_find_localkeyid(char *keyid_str, int len, STACK_O argument
707 sunw_issuer_attrs(X509 *cert, char *buf, int len) argument
738 sunw_subject_attrs(X509 *cert, char *buf, int len) argument
[all...]
/illumos-gate/usr/src/common/tsol/
H A Dstol.c63 unhex(const char **h, uchar_t *l, int len) argument
69 for (; len--; ) {
109 size_t len = sizeof (_mac_label_impl_t) - 4; local
126 if ((size * sizeof (uint32_t)) > len) {
133 bzero(lp, len);
137 if ((bytes > len) ||
/illumos-gate/usr/src/common/zfs/
H A Dzprop_common.c210 propname_match(const char *p, size_t len, zprop_desc_t *prop_entry) argument
218 if (len == strlen(propname) &&
219 strncmp(p, propname, len) == 0)
223 if (colname == NULL || len != strlen(colname))
226 for (c = 0; c < len; c++)
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c351 int len = middle - bottom;
355 for (i = 0; i < len; i++)
363 top -= len;
368 int len = top - middle;
372 for (i = 0; i < len; i++)
380 bottom += len;
440 int len = nonoption_flags_max_len = strlen (orig_str);
448 memset (__mempcpy (__getopt_nonoption_flags, orig_str, len),
449 '\0', nonoption_flags_max_len - len);
348 int len = middle - bottom; local
365 int len = top - middle; local
437 int len = nonoption_flags_max_len = strlen (orig_str); local
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A D3c595.c168 register int len; local
179 len=s+ETH_HLEN; /* actual length of packet */
180 pad = padmap[len & 3];
187 if (len + pad > ETH_FRAME_LEN) {
201 while (inw(BASE + VX_W1_FREE_TX) < len + pad + 4) {
205 outw(len, BASE + VX_W1_TX_PIO_WR_1);
H A Dfsys_tftp.c56 static unsigned short len, saved_len; variable
104 len = sizeof(tp.ip) + sizeof(tp.udp) + sizeof(tp.opcode) +
108 TFTP_PORT, len, &tp))
123 ++iport, TFTP_PORT, len, &tp))
155 len = ntohs(tr->udp.len) - sizeof(struct udphdr) - 2;
156 if (len > TFTP_MAX_PACKET)
158 e = p + len;
178 len = sizeof(tp.ip) + sizeof(tp.udp) + sizeof(tp.opcode) + sizeof(tp.u.err.errcode) +
188 len,
697 uint16_t len; local
821 uint16_t len; local
[all...]

Completed in 128 milliseconds

<<41424344454647484950>>