Searched defs:len (Results 1126 - 1150 of 3274) sorted by relevance

<<41424344454647484950>>

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dlibs.c345 size_t len; local
348 len = strlen(name) + strlen(arname) + 3;
349 if ((path = libld_malloc(len)) == NULL) {
354 (void) snprintf(path, len, MSG_ORIG(MSG_FMT_ARMEM), name, arname);
H A Dutil.c252 size_t len; local
267 len = strlen(old) + strlen(str) + 2;
268 if ((new = libld_calloc(1, len)) == NULL)
270 (void) snprintf(new, len, MSG_ORIG(MSG_FMT_COLPATH), old, str);
293 size_t len = MSG_ARG_WRAP_SIZE + strlen(optarg) + 1; local
295 if ((str = libld_malloc(len)) == NULL)
297 (void) snprintf(str, len, MSG_ORIG(MSG_FMT_STRCAT),
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c303 int len; local
318 len = strlen(*dst);
321 if ((p = realloc(*dst, len + strlen(src) + 2)) == NULL)
326 *(*dst + len) = ',';
327 (void) strcpy((*dst + len + 1), src);
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c544 int len; local
554 len = strlen(buf);
555 if (len > 1) {
557 while (buf[len-2] == '\\') {
563 len = strlen(buf);
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c449 size_t len)
468 scf_value_get_astring(value, buf, len) == -1)
448 aconf_get_string(const char *pgname, const char *propname, char *buf, size_t len) argument
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudio.cc198 size_t& len) // buffer length (updated)
201 return (ReadData(buf, len, readpos));
208 size_t& len) // buffer length (updated)
211 return (WriteData(buf, len, writepos));
218 size_t& len, // buffer length (updated)
224 return (WriteData(buf, len, pos));
252 Double len; local
266 len = limit;
268 len = limit - (frompos - svpos);
269 if (len <
196 Read( void* buf, size_t& len) argument
206 Write( void* buf, size_t& len) argument
216 AppendData( void* buf, size_t& len, Double& pos) argument
[all...]
H A DAudioBuffer.cc40 double len, // buffer length, in seconds
42 AudioStream(local_name), buflen(len), bufaddr(0), zflag(0), bufsize(0)
239 Double len) // new size, in seconds
242 if (len == buflen)
246 buflen = len;
288 Double len) // new length
290 if (!hdrset() || (len < 0.)) // no-op if not ready
292 if (!opened() && (len > 0.))
295 if (Undefined(len) || (len > GetSiz
39 AudioBuffer( double len, const char *local_name) argument
238 SetSize( Double len) argument
287 SetLength( Double len) argument
307 ReadData( void* buf, size_t& len, Double& pos) argument
372 WriteData( void* buf, size_t& len, Double& pos) argument
435 AppendData( void* buf, size_t& len, Double& pos) argument
[all...]
H A DAudioFile.cc431 size_t& len, // buffer length (updated)
442 err = AudioUnixfile::ReadData(buf, len, pos);
444 seekpos += len;
451 cnt = (size_t)len;
452 len = 0;
486 len = cnt;
487 pos = GetHeader().Bytes_to_Time(offset + len);
492 coerceEndian((unsigned char *)buf, len, localByteOrder());
503 size_t& len, // buffer length (updated)
509 err = AudioUnixfile::WriteData(buf, len, po
429 ReadData( void* buf, size_t& len, Double& pos) argument
501 WriteData( void* buf, size_t& len, Double& pos) argument
[all...]
H A DAudioList.cc230 size_t& len, // buffer size (updated)
240 cnt = len;
250 len = 0;
260 len = cnt;
261 err = ep->aptr->ReadData(buf, len, newpos);
283 size_t& len, // buffer size (updated)
286 len = 0;
228 ReadData( void* buf, size_t& len, Double& pos) argument
281 WriteData( void*, size_t& len, Double&) argument
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c279 int ret, len, factor; local
284 len = strlen(str);
288 if (len < 6) {
384 size_t len; local
387 len = strlen(str);
389 if (len != strspn(str, digits)) {
395 if (len % 2) {
404 strs = (char *)a_calloc(1, len + 4);
424 len = strlen(str); /* may have changed */
425 if (len <
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c538 uint_t len; local
581 len = strlen(np);
582 (void) memmove(cp, np, len);
583 *(cp + len) = '\0';
585 *(cp + len + 1) = '\0';
595 len = strlen(np);
596 (void) memmove(cp, np, len);
597 *(cp + len) = '\0';
599 *(cp + len + 1) = '\0';
744 uint_t len, local
[all...]
H A Dsymtab.c508 size_t len, as; local
515 len = strlen(name);
516 if (len > MAXPATHLEN) {
520 as = allocsize(len);
536 cp[len+1] = '\0';
/illumos-gate/usr/src/cmd/bnu/
H A Deio.c136 int len; local
175 while ((len = read( fd1, bufr, EBUFSIZ )) > 0) {
176 DEBUG(9, "ewrdata writing %d ...", len);
178 bytes += len;
180 ret = (*Write)(fn, bufr, (unsigned) len);
183 if (ret != len)
185 if ((msglen -= len) <= 0)
188 if (len < 0 || (len == 0 && msglen != 0)) return(FAIL);
208 int len; local
372 int len; local
419 int len, nread; local
464 int len; local
[all...]
H A Dfio.c310 frdbuf(blk, len, fn)
312 int len;
320 ret = read(fn, blk, len);
349 int c, sum, nl, len; local
362 len = 0;
365 len++;
421 *lenp = len;
423 DEBUG(8, "%d/", len);
436 int sum, len, nl; local
448 if ((len
[all...]
/illumos-gate/usr/src/cmd/cat/
H A Dcat.c510 int len, n; local
519 if ((len = fread(p1, 1, BUFSIZ, fi)) <= 0)
521 p2 = p1 + len;
583 if ((len = (p2 - p1)) < MB_LEN_MAX) {
584 for (n = 0; n < len; n++)
588 if ((len = fread(p2, 1, BUFSIZ - n, fi)) > 0)
589 p2 += len;
592 if ((len = (p2 - p1)) > MB_LEN_MAX)
593 len = MB_LEN_MAX;
595 if ((len
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_ioctl.c544 int len; local
553 len = MAXNAMELEN * count;
554 psoftlist = malloc(sizeof (crypto_get_soft_list_t) + len);
562 psoftlist->sl_soft_len = len;
578 len = psoftlist->sl_soft_len;
580 psoftlist = malloc(sizeof (crypto_get_soft_list_t) + len);
588 psoftlist->sl_soft_len = len;
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c302 int len, i; local
323 len = strlen(p);
324 while (len > 0 && isspace(p[len-1]))
325 len--;
327 if (len == 0) {
335 while (i < len) {
346 retstr = malloc(len + 1);
356 (void) strncpy(retstr, p, len);
357 retstr[len]
426 int len; local
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Ddelete.c50 uint32_t len; local
55 len = sizeof (kstype);
57 &kstype, &len);
851 serial.len = bytelen;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dauth.c186 int len = send_tok.length; local
200 outlen, &len, 0);
H A Dmain.c489 int len; local
546 if ((len = mblen(sb, MB_CUR_MAX)) <= 0)
547 len = 1;
548 memcpy(ap, sb, len);
549 ap += len;
550 sb += len;
562 if ((len = mblen(sb, MB_CUR_MAX)) <= 0)
563 len = 1;
564 memcpy(ap, sb, len);
565 ap += len;
632 int len = strlen(c->c_name); local
[all...]
H A Dsecure.c59 looping_write(int fd, const char *buf, int len) argument
63 if (len == 0)
67 cc = write(fd, buf, len);
77 len -= cc;
79 } while (len > 0);
84 looping_read(int fd, char *buf, int len) argument
89 cc = read(fd, buf, len);
99 len -= cc;
101 } while (len > 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c376 int len; local
390 GETSHORT(len, inp);
391 if (len < CHAP_HEADERLEN || len > packet_len) {
393 len, CHAP_HEADERLEN, packet_len);
396 len -= CHAP_HEADERLEN;
403 ChapReceiveChallenge(cstate, inp, id, len);
407 ChapReceiveResponse(cstate, inp, id, len);
411 ChapReceiveFailure(cstate, inp, id, len);
415 ChapReceiveSuccess(cstate, inp, id, len);
940 int code, id, len; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c283 lbp->prp->start_offset + lbp->prp->len;
642 prp->len = lrp->recsize;
674 (prp->prev->start_offset + prp->prev->len)) {
677 tp->len += prp->len;
683 (prp->start_offset + prp->len)) {
684 prp->len += prp->next->len;
699 prp->start_offset + prp->len;
901 nfslog_opaque_print_buf(void *buf, int len, cha argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_test.c72 int len; local
80 len = strlen(buf);
81 buf[--len] = '\0';
82 return (len);
269 int len, ret; local
286 len = read_line(buf, 512);
287 if (len)
352 mapargp->u_arg.len = u8s->utf8string_len;
353 (void) bcopy(u8s->utf8string_val, mapargp->str, mapargp->u_arg.len);
354 mapargp->str[mapargp->u_arg.len]
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/
H A Dnfsref.c97 int err, fd, i, len, oldlen, notfound = 0; local
133 oldlen = len = 0;
137 len += add_escape(argv[i], buf, SYMLINK_MAX) + 2;
138 location = realloc(location, len);
140 oldlen = len;
141 strlcat(location, buf, len);
142 strlcat(location, " ", len);
144 location[len - 2] = '\0';

Completed in 168 milliseconds

<<41424344454647484950>>