Searched defs:off (Results 1 - 25 of 675) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Drand.c34 elf_rand(Elf * elf, size_t off) argument
44 if ((off == 0) || (elf->ed_fsz < off)) {
49 elf->ed_nextoff = off;
51 return (off);
62 size_t off; local
72 off = elf->ed_nextoff;
74 return (off);
H A Drawput.c47 _elf_read(int fd, off_t off, size_t fsz) argument
59 if (lseek(fd, off, 0) != off) {
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dlseek.c38 int off, ret; local
45 off = getmodsize(offset, sizeof (struct compat_utmp),
47 if ((ret = _syscall(SYS_lseek, fd, off, whence)) != -1)
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpacket.c21 u_short off; local
24 off = 0;
27 off = ntohs(ip->ip_off);
54 if (off & IP_OFFMASK)
55 printf(" @%d", off << 3);
57 if (!(off & IP_OFFMASK))
62 if (!(off & IP_OFFMASK)) {
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfseek.c31 fseek(Sfio_t* f, long off, int op) argument
33 STDIO_INT(f, "fseek", int, (Sfio_t*, long, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseek64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseek64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
H A Dfseeko.c31 fseeko(Sfio_t* f, off_t off, int op) argument
33 STDIO_INT(f, "fseeko", int, (Sfio_t*, off_t, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseeko64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseeko64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtelldir.c59 off_t off = 0; local
65 off = dp->d_off;
68 return (off);
83 off64_t off = 0; local
99 off = dp64->d_off;
102 return (off);
108 off64_t off; local
110 off = telldir64(dirp);
115 if ((long)off != off
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_lock_byte_range.c79 uint32_t off; local
83 if (smbsr_decode_vwv(sr, "wll", &sr->smb_fid, &count, &off) != 0)
99 result = smb_lock_range(sr, (u_offset_t)off, (uint64_t)count, 0,
H A Dsmb_seek.c97 int32_t off; local
101 if (smbsr_decode_vwv(sr, "wwl", &sr->smb_fid, &mode, &off) != 0)
112 if ((rc = smb_ofile_seek(sr->fid_ofile, mode, off, &off_ret)) != 0) {
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmzone.c56 static char off[16]; local
61 fixed.standard = fixed.daylight = strncpy(off, name, sizeof(off) - 1);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot0spi/
H A Dmain.c39 int len, i, j, off, sec; local
49 off = i + OFFSET;
51 SPI_WriteFlash(off, addr + i, FLASH_PAGE_SIZE);
52 SPI_ReadFlash(off, addr2 + i, FLASH_PAGE_SIZE);
/illumos-gate/usr/src/lib/libslp/clib/
H A DDAAdvert.c42 size_t len, off; local
53 off = SLP_HDRLEN + slp_get_langlen(reply);
55 if ((err = slp_get_sht(reply, len, &off, &protoErrCode)) != SLP_OK)
64 iov[0].iov_base = reply + off;
65 tmp_off = off;
66 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) {
69 if ((err = slp_get_sht(reply, len, &off, &dummy)) != SLP_OK) {
72 iov[0].iov_len = off - tmp_off;
75 iov[1].iov_base = reply + off;
76 tmp_off = off;
[all...]
H A DSAAdvert.c43 size_t off, len; local
53 off = SLP_HDRLEN + slp_get_langlen(reply);
56 iov[0].iov_base = reply + off;
57 tmp_off = off;
58 if ((err = slp_get_string(reply, len, &off, surl)) != SLP_OK) {
61 iov[0].iov_len = off - tmp_off;
64 iov[2].iov_base = reply + off;
65 tmp_off = off;
66 if ((err = slp_get_string(reply, len, &off, scopes)) != SLP_OK) {
69 iov[2].iov_len = off
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DStderrLog.java57 public void write(char[] cbuf, int off, int len) throws IOException { argument
58 buf.append(cbuf, off, len);
H A DSyslog.java67 public void write(char[] cbuf, int off, int len) throws IOException { argument
68 buf.append(cbuf, off, len);
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_lseek.c47 offsets_t off; local
75 off.full = offset;
76 adp->arg_value = off.half[0]; /* first 32 bits */
82 adp->arg_value = off.half[1]; /* second 32 bits */
106 off.half[0] = (uint32_t)rval.sys_rval1;
107 off.half[1] = (uint32_t)rval.sys_rval2;
108 offset = (off_t)off.full;
122 offsets_t off; local
150 off.full = offset;
151 adp->arg_value = off
[all...]
H A Dpr_mmap.c40 void *addr, size_t len, int prot, int flags, int fd, off_t off)
48 return (mmap(addr, len, prot, flags, fd, off));
85 adp++; /* off argument */
86 adp->arg_value = (long)off;
39 pr_mmap(struct ps_prochandle *Pr, void *addr, size_t len, int prot, int flags, int fd, off_t off) argument
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dread.c51 int fds, ret, off; local
H A Dreadv.c52 int fds, ret, off; local
H A Dwrite.c53 int ret, off; local
H A Dwritev.c53 int ret, off; local
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dread.c51 int ret, off; local
H A Dreadv.c51 int ret, off; local
H A Dwrite.c49 int ret, off; local
H A Dwritev.c50 int ret, off; local

Completed in 89 milliseconds

1234567891011>>