Searched defs:off (Results 1 - 25 of 704) 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) {
H A Dstrptr.c38 elf_strptr(Elf * elf, size_t ndx, size_t off) argument
85 if ((off >= d->d_off) &&
86 (off < d->d_off + d->d_size)) {
87 rc = (char *)d->d_buf + off - d->d_off;
98 if (off < j)
100 off -= j;
103 if (off < d->d_size) {
104 rc = (char *)d->d_buf + off;
110 if (off < d->d_size)
112 off
[all...]
/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...]
H A Dseekdir.c57 off_t off = 0; local
62 off = dp->d_off;
64 if (off != loc) {
90 off64_t off = 0; local
105 off = dp64->d_off;
107 if (off != loc) {
/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/uts/common/fs/smbsrv/
H A Dsmb_lock_byte_range.c84 uint32_t off; local
89 if (smbsr_decode_vwv(sr, "wll", &sr->smb_fid, &count, &off) != 0)
102 result = smb_lock_range(sr, (u_offset_t)off, (uint64_t)count,
H A Dsmb_seek.c99 int32_t off; local
103 if (smbsr_decode_vwv(sr, "wwl", &sr->smb_fid, &mode, &off) != 0)
114 if ((rc = smb_ofile_seek(sr->fid_ofile, mode, off, &off_ret)) != 0) {
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dftell_ungetc.c29 off_t off; local
33 off = ftello(f);
41 if (off != pos) {
43 "expected %ld", off, pos);
/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/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/cmd/sendmail/src/
H A Darpadate.c63 register int off; local
130 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;
134 off -= 24 * 60;
136 off += 24 * 60;
138 off -= 24 * 60;
140 off += 24 * 60;
143 if (off == 0)
174 tz = timezone(off, lt->tm_isdst);
177 if (off < 0)
179 off
[all...]
/illumos-gate/usr/src/cmd/boot/common/
H A Dboot_utils.c57 write_out(int fd, void *buffer, size_t size, off_t off) argument
71 ret = pwrite(fd, buf, size, off);
80 off += ret;
90 read_in(int fd, void *buffer, size_t size, off_t off) argument
100 ret = pread(fd, buf, size, off);
109 off += ret;
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c53 objfs_common_close(vnode_t *vp, int flag, int count, offset_t off, cred_t *cr, argument
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_netbios_pxy.c102 int off, dlen; local
120 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
130 off += 4;
142 COPYBACK(m, off, sizeof(dgmbuf), dgmbuf);
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpci_cfgacc.c47 pci_cfgacc_get8(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
51 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_FALSE, 0);
57 pci_cfgacc_put8(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint8_t data) argument
61 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_TRUE, data);
66 pci_cfgacc_get16(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
70 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_FALSE, 0);
76 pci_cfgacc_put16(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint16_t data) argument
80 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_TRUE, data);
85 pci_cfgacc_get32(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
89 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off,
95 pci_cfgacc_put32(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint32_t data) argument
104 pci_cfgacc_get64(dev_info_t *rcdip, uint16_t bdf, uint16_t off) argument
114 pci_cfgacc_put64(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint64_t data) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_close.c120 off_t off; local
183 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1)
185 if (ftruncate(t->bt_rfd, off))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfs3d.c48 static char off[] = FS3D_off; local
69 else if (!strncmp(v, off, sizeof(off) - 1) && v[sizeof(off)] == '=')
70 cur = FS3D_LIMIT((int)strtol(v + sizeof(off) + 1, NiL, 0));
78 v = off;
84 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op));

Completed in 72 milliseconds

1234567891011>>