/openbsd-current/sys/dev/microcode/rum/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/zydas/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/cirruslogic/ |
H A D | build.c | 30 ssize_t rlen; local 38 rlen = write(fd, &BA1Struct, sizeof BA1Struct); 39 if (rlen == -1) 41 if (rlen != sizeof BA1Struct)
|
/openbsd-current/sys/dev/microcode/rsu/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/tusb3410/ |
H A D | build.c | 31 ssize_t rlen; local 39 rlen = write(fd, uticom_fw_3410, sizeof uticom_fw_3410); 40 if (rlen != sizeof uticom_fw_3410)
|
/openbsd-current/sys/dev/microcode/typhoon/ |
H A D | build.c | 43 ssize_t rlen; local 50 rlen = write(fd, tc990image, sizeof tc990image); 51 if (rlen == -1) 53 if (rlen != sizeof tc990image)
|
/openbsd-current/sys/dev/microcode/ral/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/neomagic/ |
H A D | build.c | 33 ssize_t rlen; local 46 rlen = write(fd, &nf, sizeof nf); 47 if (rlen == -1) 49 if (rlen != sizeof nf)
|
/openbsd-current/sys/dev/microcode/rtwn/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/urtwn/ |
H A D | build.c | 32 ssize_t rlen; local 41 rlen = write(fd, ucode, size); 42 if (rlen == -1) 44 if (rlen != size)
|
/openbsd-current/sys/dev/microcode/myx/ |
H A D | build.c | 43 size_t rlen, total = 0; local 71 rlen = ulen - total; 72 if (rlen > CHUNK) 73 rlen = CHUNK; 75 if (fwrite(&ufw[total], rlen, 1, f) < 1) { 81 total += rlen;
|
/openbsd-current/games/boggle/mkindex/ |
H A D | mkindex.c | 48 int clen, rlen, prev; local 57 while (nextword(stdin, buf, &clen, &rlen) != NULL) { 74 * rlen to the strlen() of the real word 77 nextword(FILE *fp, char *buffer, int *clen, int *rlen) argument 100 *rlen = (int) (p - buf); 101 *clen = *rlen - *clen;
|
/openbsd-current/gnu/usr.bin/perl/lib/Tie/ |
H A D | SubstrHash.pm | 48 my $rlen = 1 + $klen + $vlen; 50 my $self = bless ["\0", $klen, $vlen, $tsize, $rlen, 0, -1]; 51 $self->[0] x= $rlen * $tsize->[1]; 64 my (undef, $klen, $vlen, $tsize, $rlen) = @$self; 67 my $offset = $hash * $rlen; 68 my $record = substr($self->[0], $offset, $rlen); 83 my (undef, $klen, $vlen, $tsize, $rlen) = @$self; 91 my $offset = $hash * $rlen; 92 my $record = substr($self->[0], $offset, $rlen); 95 die "panic" unless length($record) == $rlen; [all...] |
/openbsd-current/sys/dev/microcode/atmel/ |
H A D | build.c | 36 ssize_t rlen; local 44 rlen = write(fd, buf, buflen); 45 if (rlen == -1) 47 if (rlen != buflen)
|
/openbsd-current/sys/dev/microcode/fxp/ |
H A D | build.c | 43 ssize_t rlen; local 54 rlen = write(fd, &dword, sizeof(dword)); 55 if (rlen == -1) 57 if (rlen != sizeof(dword))
|
/openbsd-current/sys/dev/microcode/kue/ |
H A D | build.c | 35 ssize_t rlen; local 63 rlen = write(fd, kf, len); 64 if (rlen == -1) 66 if (rlen != len)
|
/openbsd-current/sys/dev/microcode/yds/ |
H A D | build.c | 44 ssize_t rlen; local 79 rlen = write(fd, yf, len); 80 if (rlen == -1) 82 if (rlen != len)
|
/openbsd-current/gnu/usr.bin/cvs/vms/ |
H A D | filutils.c | 166 long rlen; local 281 && (rlen = strlen (ptr) - 1) > 0 282 && (ptr[rlen] == ']' || ptr[rlen] == '>') 283 && ptr[rlen - 1] == '.') 286 int tmp = ptr[rlen]; 290 buf[rlen - 1] = tmp; 291 buf[rlen] = '\0'; 303 rlen = strlen (rptr) - 1; 304 strncat (dst, rptr, rlen); [all...] |
/openbsd-current/usr.sbin/smtpd/ |
H A D | queue_proc.c | 28 static size_t rlen; variable 47 rlen = imsg.hdr.len - IMSG_HEADER_SIZE; 74 if (len > rlen) { 80 rlen -= len; 87 if (rlen) { 245 if (rlen > len) { 250 r = rlen; 251 queue_proc_read(buf, rlen); 269 if (rlen > len) { 273 if (r != (int)rlen) { [all...] |
H A D | scheduler_proc.c | 27 static size_t rlen; variable 46 rlen = imsg.hdr.len - IMSG_HEADER_SIZE; 73 if (len > rlen) { 79 rlen -= len; 86 if (rlen) { 309 s = rlen / sizeof(*dst); 336 s = rlen / sizeof(*dst);
|
/openbsd-current/regress/sys/kern/kqueue/ |
H A D | kqueue-tun.c | 73 int rlen; local 82 if ((rlen = writev(fd, iv, 2)) > 0) 84 fdkey, (long)(rlen - sizeof(type))); 94 int rlen; local 104 if ((rlen = readv(fd, iv, 2)) > 0) { 106 fdkey, (long)(rlen - sizeof(type))); 107 tpkt.len = rlen - sizeof(type);
|
/openbsd-current/usr.bin/ssh/ |
H A D | sshbuf.c | 243 size_t rlen; local 260 rlen = SSHBUF_SIZE_INIT; 262 rlen = ROUNDUP(buf->size, SSHBUF_SIZE_INC); 263 if (rlen > max_size) 264 rlen = max_size; 265 SSHBUF_DBG(("new alloc = %zu", rlen)); 266 if ((dp = recallocarray(buf->d, buf->alloc, rlen, 1)) == NULL) 269 buf->alloc = rlen; 329 size_t rlen, need; local 350 rlen [all...] |
/openbsd-current/sys/dev/pv/ |
H A D | hypervic.c | 225 hv_ic_negotiate(struct vmbus_icmsg_hdr *hdr, uint32_t *rlen, uint32_t fwver, argument 268 if (*rlen < sizeof(*msg) + 2 * sizeof(uint32_t)) 269 *rlen = sizeof(*msg) + 2 * sizeof(uint32_t); 297 uint32_t rlen; local 300 rv = hv_channel_recv(ch, dv->dv_buf, PAGE_SIZE, &rlen, &rid, 0); 301 if (rv || rlen == 0) { 303 DPRINTF("%s: heartbeat rv=%d rlen=%u\n", 304 sc->sc_dev.dv_xname, rv, rlen); 307 if (rlen < sizeof(struct vmbus_icmsg_hdr)) { 308 DPRINTF("%s: heartbeat short read rlen 366 uint32_t rlen; local 445 uint32_t rlen; local 1050 uint32_t fwver, msgver, rlen; local [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/MIME-Base64/ |
H A D | Base64.xs | 101 STRLEN rlen; /* length of result string */ 111 str = SvPV(sv, rlen); /* SvPV(sv, len) gives warning for signed len */ 112 len = (SSize_t)rlen; 123 rlen = (len+2) / 3 * 4; /* encoded bytes */ 124 if (rlen) { 126 rlen += ((rlen-1) / MAX_LINE + 1) * eollen; 130 RETVAL = newSV(rlen ? rlen : 1); 132 SvCUR_set(RETVAL, rlen); [all...] |
/openbsd-current/regress/lib/libpthread/blocked_fifo/ |
H A D | blocked_fifo.c | 95 ssize_t rlen; local 114 CHECKe(rlen = read(fd, buf, sizeof buf)); 115 ASSERT(rlen == 4);
|