Searched refs:off (Results 1 - 25 of 269) sorted by relevance

1234567891011

/osnet-11/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;
/osnet-11/usr/src/lib/libslp/clib/
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...]
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...]
/osnet-11/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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/PerlIO/t/
H A Dscalar.t50 my $off = tell($fh);
51 print "# Got $off, expect 0\n";
52 print "not " unless $off == 0;
57 $off = tell($fh);
58 print "# Got $off, expect 4\n";
59 print "not " unless $off == 4;
69 $off = tell($fh);
70 print "# Got $off, expect 10\n";
71 print "not " unless $off == 10;
81 $off
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dtelldir.c56 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 Dseekdir.c54 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/grub/grub2/include/grub/
H A Ddeflate.h23 grub_zlib_decompress (char *inbuf, grub_size_t insize, grub_off_t off,
/osnet-11/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));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dpair.c51 register int off; local
55 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
56 free = off - (n + 1) * sizeof(short);
68 register int off; local
71 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
75 off -= key.dsize;
76 (void) memcpy(pag + off, key.dptr, key.dsize);
77 ino[n + 1] = off;
81 off -= val.dsize;
82 (void) memcpy(pag + off, va
133 register int off; local
224 register int off = PBLKSIZ; local
243 register int off = PBLKSIZ; local
281 register int off; local
[all...]
/osnet-11/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);
/osnet-11/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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Drand.t47 my($off, $shouldbe); # Problems with randbits
88 # which is _way_ off. Or maybe your system rand is broken,
100 $off = log($max) / log(2); # log2
101 $off = int($off) + ($off > 0); # Next more positive int
102 unless (is( $off, 0 )) {
103 $shouldbe = $Config{randbits} + $off;
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_lockdlck.c59 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/grub/grub2/grub-core/efiemu/
H A Dloadcore.c34 int *handle, grub_off_t *off)
42 *off = seg->off;
98 + cur->off;
157 seg->off = 0;
249 grub_off_t off; local
259 if ((err = grub_efiemu_resolve_symbol (name, &handle, &off)))
262 grub_efiemu_elfsyms[i].off = off;
270 (segs, sym->st_shndx, &handle, &off)))
33 grub_efiemu_get_section_addr(grub_efiemu_segment_t segs, unsigned n, int *handle, grub_off_t *off) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Ddumpvar.pl343 my ($off,$key, $val, $all, $m) = @_;
347 print( (' ' x $off) . "\$", &unctrl($key), " = " );
348 DumpElem $entry, 3+$off, $m;
351 print( (' ' x $off) . "\@$key = (\n" );
352 unwrap(\@entry,3+$off,$m) ;
353 print( (' ' x $off) . ")\n" );
359 print( (' ' x $off) . "\%$key = (\n" );
360 unwrap(\%entry,3+$off,$m) ;
361 print( (' ' x $off) . ")\n" );
364 print( (' ' x $off)
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c108 int off, size, ret = 0, ok; local
112 off = blkoff(SUPERBLOCK, filepos);
115 size -= off;
124 ok = devread(fsbtodb(SUPERBLOCK, dblk), off, size, buf);
153 int off; local
157 off = itoo(SUPERBLOCK, inode) * sizeof (struct icommon);
159 return (devread(dblk, off, sizeof (struct icommon), (char *)INODE));
231 int loc, off; local
241 off = blkoff(SUPERBLOCK, loc);
242 if (off
[all...]
/osnet-11/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c99 print_bitfield(ulong_t off, ctf_encoding_t *ep) argument
116 off += ep->cte_bits;
118 shift = off % NBBY;
132 if (off % NBBY != 0)
141 print_int(ctf_id_t base, ulong_t off, printarg_t *pap) argument
146 ulong_t addr = pap->pa_addr + off / NBBY;
162 print_bitfield(off, &e);
193 print_float(ctf_id_t base, ulong_t off, printarg_t *pap) argument
223 print_ptr(ctf_id_t base, ulong_t off, printarg_t *pap) argument
226 ulong_t addr = pap->pa_addr + off / NBB
249 print_array(ctf_id_t base, ulong_t off, printarg_t *pap) argument
259 print_sou(ctf_id_t base, ulong_t off, printarg_t *pap) argument
266 print_enum(ctf_id_t base, ulong_t off, printarg_t *pap) argument
281 print_tag(ctf_id_t base, ulong_t off, printarg_t *pap) argument
299 elt_print(const char *name, ctf_id_t id, ulong_t off, int depth, void *data) argument
[all...]
/osnet-11/usr/src/cmd/sendmail/db/xa/
H A Dxa.c10 /* XXX Remove the global transaction and hang it off the environment. */
169 size_t off; local
185 is_known = __db_xid_to_txn(env, xid, &off) == 0;
199 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
208 __xa_txn_init(env, td, off);
213 (void)__db_map_xid(env, xid, env->xa_txn->off);
215 ((u_int8_t *)env->tx_info->region + env->xa_txn->off);
234 size_t off; local
242 if (__db_xid_to_txn(env, xid, &off) != 0)
246 if (off !
287 size_t off; local
339 size_t off; local
556 size_t off; local
605 size_t off; local
[all...]
/osnet-11/usr/src/lib/libsendfile/common/
H A Dsendfile.c63 _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/cmd/sendmail/db/btree/
H A Dbt_split.c576 db_indx_t off; local
602 off = parent->indx + O_INDX;
636 if ((ret = __db_pitem(dbc, ppage, off,
654 if (ppage->prev_pgno == PGNO_INVALID && off <= 1)
685 if ((ret = __db_pitem(dbc, ppage, off,
707 if ((ret = __db_pitem(dbc, ppage, off,
735 ppage, off, RINTERNAL_SIZE, &hdr, NULL)) != 0)
775 db_indx_t half, nbytes, off, splitp, top; local
789 off = 0;
793 off
935 db_indx_t nbytes, off; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/i386/
H A Dloadcore32.c83 + seg->off + rel->r_offset);
90 (addr, sym.off + *addr, sym.handle, 0,
98 (addr, sym.off + *addr - rel->r_offset
99 - seg->off, sym.handle, seg->handle,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/FTP/
H A DA.pm82 my $off = 0;
91 $off += $wrote;
92 $wrote = syswrite($data, substr($tmp,$off), $len > $blksize ? $blksize : $len);

Completed in 1855 milliseconds

1234567891011