/illumos-gate/usr/src/boot/include/net/ |
H A D | if.h | 520 uint8_t len; /* read length */ member in struct:ifi2creq
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | strstr.c | 48 size_t len; local 51 len = strlen(find); 57 } while (strncmp(s, find, len) != 0);
|
H A D | swab.c | 42 swab(const void * __restrict from, void * __restrict to, ssize_t len) argument 48 if (len <= 0) 50 n = len >> 1;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | bootparam.c | 87 int xdr_string_encode(char **p, char *str, int len); 135 int len, x; local 166 len = rpc_call(d, PMAPPROG, PMAPVERS, PMAPPROC_CALLIT, 169 if (len < 8) { 197 if (len < x) { 198 printf("bp_whoami: short reply, %d < %d\n", len, x); 332 xdr_string_encode(pkt, str, len) 335 int len; 339 int padlen = (len + 3) & ~3; /* padded length */ 344 *lenp = htonl(len); [all...] |
H A D | bzipfs.c | 127 unsigned int len; local 131 for (len = 0; len < 3; len++) { 133 if (c != bz_magic[len]) {
|
H A D | cd9660.c | 79 struct iso_directory_record *dp, int lenskip, size_t *len); 168 int lenskip, size_t *len) 172 if (len == NULL) 180 *len = 1; 183 *len = 2; 186 *len = isonum_711(p->h.length) - 5; 232 size_t len; local 237 cp = rrip_lookup_name(f, dp, lenskip, &len); 241 len = isonum_711(dp->name_len); 246 for (i = len; 167 rrip_lookup_name(struct open_file *f, struct iso_directory_record *dp, int lenskip, size_t *len) argument [all...] |
H A D | ext2fs.c | 339 int i, len, groups, bg_per_blk, blkgrps, mult; local 395 len = blkgrps * fs->fs_bsize; 397 fp->f_bg = malloc(len); 400 EXT2_SBLOCK + EXT2_SBSIZE / DEV_BSIZE, len, 449 len = 0; 453 if (++len > EXT2_MAXNAMLEN) { 483 int len; local 485 len = strlen(cp); 486 if (link_len + len > MAXPATHLEN || 492 bcopy(cp, &namebuf[link_len], len [all...] |
H A D | gets.c | 89 int err, len; local 92 len = 0; 98 if (len == 0) 107 len++; 110 return(len);
|
H A D | gzipfs.c | 119 uInt len; local 124 for (len = 0; len < 2; len++) { 126 if (c != gz_magic[len]) { 137 for (len = 0; len < 6; len++) (void)get_byte(zf, &zf->zf_dataoffset); 140 len = (uInt)get_byte(zf, &zf->zf_dataoffset); 141 len [all...] |
H A D | nandfs.c | 129 nandfs_crc32(uint32_t crc, const uint8_t *buf, size_t len) argument 140 for (i = 0; i < len; i++) { 637 int nlinks = 0, counter, len, link_len, nameidx; local 663 len = strlen(strp); 682 if (len == dirent->name_len && 683 (strncmp(strp, dirent->name, len) == 0) &&
|
H A D | nfs.c | 77 n_long len; member in struct:nfs_read_args 92 n_long len; member in struct:nfs_readlnk_repl 105 n_long len; member in struct:nfs_readdir_data 174 uint32_t len; member in struct:nfsv3_readdir_entry 221 int len; local 223 n_long len; member in struct:args 249 len = strlen(path); 250 if (len > sizeof(args->path)) 251 len = sizeof(args->path); 252 args->len 277 int len, rlen; local 280 n_long len; member in struct:args 383 nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len) argument 546 int len = 0; local 569 int link_len, len; local 821 int len; local 823 uint32_t len; member in struct:args 880 int len, rlen, pos; local 958 uint32_t len; member in struct:repl 1012 nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len) argument 1024 uint32_t len; member in struct:repl 1194 int len = 0; local 1217 int link_len, len; local [all...] |
H A D | qdivrem.c | 58 * Shift p[0]..p[len] left `sh' bits, ignoring any bits that 60 * We may assume len >= 0. NOTE THAT THIS WRITES len+1 DIGITS. 63 shl(digit *p, int len, int sh) argument 67 for (i = 0; i < len; i++)
|
H A D | rpc.c | 230 recvrpc(struct iodesc *d, void *pkt, size_t len, time_t tleft) argument 239 printf("recvrpc: called len=%lu\n", (u_long)len); 242 n = readudp(d, pkt, len, tleft);
|
H A D | strdup.c | 45 size_t len; local 49 len = strlen(str) + 1; 50 if ((copy = malloc(len)) == NULL) 52 memcpy(copy, str, len);
|
H A D | tftp.c | 67 static int tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len); 149 int len; local 151 len = strlen(msg); 152 if (len > sizeof(wbuf.space)) 153 len = sizeof(wbuf.space); 159 bcopy(msg, wtail, len); 160 wtail[len] = '\0'; 161 wtail += len + 1; 184 recvtftp(struct tftp_handle *h, void *pkt, ssize_t len, time_t tleft, argument 192 len 692 tftp_parse_oack(struct tftp_handle *h, char *buf, size_t len) argument [all...] |
H A D | ufs.c | 580 int len = 0; local 584 if (++len > MAXNAMLEN) { 615 int len; local 617 len = strlen(cp); 619 if (link_len + len > MAXPATHLEN || 625 bcopy(cp, &namebuf[link_len], len + 1);
|
H A D | uuid_from_string.c | 52 fromhex(const char *s, int len, int *ok) argument 60 for (i = 0; i < len; i++) {
|
H A D | uuid_to_string.c | 40 * Dump len characters into *buf from val as hex and update *buf 43 tohex(char **buf, int len, uint32_t val) argument 49 for (i = len - 1; i >= 0; i--) { 53 *buf = walker + len;
|
/illumos-gate/usr/src/boot/lib/libstand/powerpc/ |
H A D | syncicache.c | 77 __syncicache(void *from, int len) argument 88 l = len += off; 100 } while ((len -= cacheline_size) > 0);
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | deflate.c | 645 unsigned len; local 649 len = s->pending; 650 if (len > strm->avail_out) len = strm->avail_out; 651 if (len == 0) return; 653 zmemcpy(strm->next_out, s->pending_out, len); 654 strm->next_out += len; 655 s->pending_out += len; 656 strm->total_out += len; 657 strm->avail_out -= len; 1081 unsigned len = strm->avail_in; local 1155 register int len; /* length of current match */ local 1303 register int len; /* length of current match */ local [all...] |
H A D | deflate.h | 72 ush len; /* length of bit string */ member in union:ct_data_s::__anon106 79 #define Len dl.len 331 { uch len = (length); \ 334 s->l_buf[s->last_lit++] = len; \ 336 s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \
|
H A D | gzlib.c | 100 size_t len; local 196 len = wcstombs(NULL, path, 0); 197 if (len == (size_t)-1) 198 len = 0; 202 len = strlen((const char *)path); 203 state->path = (char *)malloc(len + 1); 210 if (len) 211 wcstombs(state->path, path, len + 1); 217 snprintf(state->path, len + 1, "%s", (const char *)path);
|
H A D | gzwrite.c | 135 /* Compress len zeros to output. Return -1 on error, 0 on success. */ 136 local int gz_zero(state, len) 138 z_off64_t len; 148 /* compress len zeros (len guaranteed > 0) */ 150 while (len) { 151 n = GT_OFF(state->size) || (z_off64_t)state->size > len ? 152 (unsigned)len : state->size; 162 len -= n; 168 int ZEXPORT gzwrite(file, buf, len) 301 unsigned len; local 315 int size, len; local 396 int size, len; local [all...] |
H A D | infback.c | 267 unsigned len; /* length to copy for repeats, bits to drop */ local 418 len = (unsigned)(state->lens[state->have - 1]); 425 len = 0; 432 len = 0; 442 state->lens[state->have++] = (unsigned short)len;
|
H A D | inffast.c | 93 unsigned len; /* match length, unused bytes */ local 140 len = (unsigned)(here.val); 147 len += (unsigned)hold & ((1U << op) - 1); 151 Tracevv((stderr, "inflate: length %u\n", len)); 197 if (len <= op - whave) { 200 } while (--len); 203 len -= op - whave; 211 } while (--len); 219 if (op < len) { /* some from window */ 220 len [all...] |