/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | fseek.c | 31 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 D | fseeko.c | 31 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;
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmzone.c | 56 static char off[16]; local 61 strlcpy(fixed.standard = fixed.daylight = off, name, sizeof(off));
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | telldir.c | 56 off_t off = 0; local 62 off = dp->d_off; 65 return (off); 80 off64_t off = 0; local 96 off = dp64->d_off; 99 return (off); 105 off64_t off; local 107 off = telldir64(dirp); 112 if ((long)off != off [all...] |
H A D | seekdir.c | 54 off_t off = 0; local 59 off = dp->d_off; 61 if (off != loc) { 87 off64_t off = 0; local 102 off = dp64->d_off; 104 if (off != loc) {
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 47 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 D | pr_mmap.c | 40 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
|
H A D | Pidle.c | 46 off64_t off; local 53 off = mp->map_offset + mapoff; 55 if ((len = pread64(P->asfd, buf, len, off)) <= 0)
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | DAAdvert.c | 42 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 D | SAAdvert.c | 43 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...] |
H A D | SLPFindSrvTypes.c | 78 size_t off, len; local 99 off = SLP_HDRLEN + slp_get_langlen(reply); 101 if (slp_get_sht(reply, len, &off, &protoErrCode) != SLP_OK) 109 if (slp_get_string(reply, len, &off, &pcSrvTypes) != SLP_OK)
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | StderrLog.java | 57 public void write(char[] cbuf, int off, int len) throws IOException { argument 58 buf.append(cbuf, off, len);
|
H A D | Syslog.java | 67 public void write(char[] cbuf, int off, int len) throws IOException { argument 68 buf.append(cbuf, off, len);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_close.c | 118 off_t off; local 181 if ((off = lseek(t->bt_rfd, (off_t)0, SEEK_CUR)) == -1) 183 if (ftruncate(t->bt_rfd, off))
|
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | prepare.c | 41 grub_off_t off; local 73 err = grub_efiemu_resolve_symbol ("efiemu_system_table", &handle, &off); 82 ((grub_uint8_t *) grub_efiemu_mm_obtain_request (handle) + off); 123 grub_off_t off; local 129 &handle, &off); 134 ((grub_uint8_t *) grub_efiemu_mm_obtain_request (handle) + off); 143 err = grub_efiemu_resolve_symbol ("efiemu_system_table", &handle, &off);
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | arpadate.c | 63 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...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | fs3d.c | 48 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));
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | dir.c | 48 ino64_t ino, off64_t off, void **cookie) 71 dp->d_off = (off == -1) ? (uintptr_t)*cookie - (uintptr_t)data_buf : 72 off; 47 libuvfs_add_direntry(void *data_buf, size_t buflen, const char *name, ino64_t ino, off64_t off, void **cookie) argument
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_files.c | 206 int off = 0; local 207 (void) ioctl(del->fd, FIONBIO, (char *)&off); 215 * mask so that we don't turn off {rd,wr,ex}Next bits that some other
|
/osnet-11/usr/src/lib/libsendfile/common/ |
H A D | sendfile.c | 63 _sendfile(int sock, int fd, off_t *off, size_t len) argument 72 sfv.sfv_off = *off; 76 *off += xferred; 112 _sendfile64(int sock, int fd, off64_t *off, size_t len) argument 121 sfv.sfv_off = *off; 125 *off += xferred;
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 59 off_t off = segment_off(segment); local 64 if (sb.st_size < off + sizeof (pid_t)) { 72 lk.l_start = off; 88 off_t off = segment_off(segment); local 93 lk.l_start = off; 104 off_t off = segment_off(segment); local 105 lseek(local_lockfd, off, SEEK_SET); 112 off_t off = segment_off(segment); local 113 lseek(local_lockfd, off, SEEK_SET);
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 89 size_t adj = roundup(off, align) - off; 111 bcopy(bp->dbu_buf, new_buf, off); 115 bp->dbu_ptr = new_buf + off; 141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); local 142 return (roundup(off, align));
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_sel.c | 188 ipmi_sel_set_utc_offset(ipmi_handle_t *ihp, int off) argument 191 int16_t off16 = off;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 190 off_t off; local 229 off = mp->pagesize * pgno; 230 if (off / mp->pagesize != pgno) { 236 if (lseek(mp->fd, off, SEEK_SET) != off) 363 * off any lists. If we don't find anything we grow the cache anyway. 414 off_t off; local 424 off = mp->pagesize * bp->pgno; 425 if (off / mp->pagesize != bp->pgno) { 431 if (lseek(mp->fd, off, SEEK_SE [all...] |
/osnet-11/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 197 off64_t off = lseek64(fd, 0, SEEK_CUR) + P2ROUNDUP(sizeof (ep), 16); local 199 if (off > UINT32_MAX) 203 ep.smbe_staddr = (uint32_t)off; 207 lseek64(fd, off, SEEK_SET) != off ||
|