Searched refs:offset (Results 51 - 75 of 550) sorted by relevance

1234567891011>>

/osnet-11/usr/src/grub/grub2/include/grub/util/
H A Dmisc.h38 void grub_util_read_at (void *img, size_t len, off_t offset, FILE *fp);
42 void grub_util_write_image_at (const void *img, size_t size, off_t offset,
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dzfs_lzjb.c50 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; local
52 if ((cpy = dst - offset) < (uchar_t *)d_start)
H A Dstage1_5.c25 disk_read_savesect_func (unsigned int sector, int offset, int length) argument
H A Dfsys_ffs.c101 int bnum, offset, bsize; local
113 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
116 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
117 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
122 offset = 0;
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
136 mapblock_offset = offset;
H A Dfsys_ufs2.c125 int bnum, offset, bsize; local
138 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
141 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize)
142 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int);
147 offset = 0;
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
161 mapblock_offset = offset;
/osnet-11/usr/src/lib/libc/port/gen/
H A Dposix_fadvise.c49 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
77 posix_fadvise64(int fd, off64_t offset, off64_t len, int advice) argument
H A Dpriv_str_xlate.c82 char *offset; local
105 while ((offset = strtok_r(NULL, separators, &last)) != NULL) {
109 if (basic != NULL && strcasecmp(offset, "basic") == 0) {
111 } else if (strcasecmp(offset, "none") == 0) {
113 } else if (strcasecmp(offset, "all") == 0) {
115 } else if (strcasecmp(offset, "zone") == 0) {
118 boolean_t neg = (*offset == '-' || *offset == '!');
122 privid = priv_getbyname(offset +
123 ((neg || *offset
[all...]
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c92 lsn->offset = lp->lsn.offset;
97 if (lp->lsn.offset + sizeof(HDR) + dbt->size > lp->persist.lg_max) {
110 * Save the last known offset from the previous file, we'll
113 lastoff = lp->lsn.offset;
117 lp->lsn.offset = 0;
119 /* Reset the file write offset. */
126 lsn->offset = lp->lsn.offset;
133 if (lp->lsn.offset
[all...]
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Dgeom.h66 PedSector offset, PedSector count);
68 PedSector offset, PedSector count);
70 PedSector offset, PedSector count);
72 PedSector buffer_size, PedSector offset,
/osnet-11/usr/src/lib/libfstyp/common/
H A Dlibfstyp_module.h46 int fstyp_mod_init(int fd, off64_t offset, fstyp_mod_handle_t *handle);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dfile.h37 /* The current offset. */
38 grub_off_t offset; member in struct:grub_file
51 unsigned offset, unsigned length);
115 grub_off_t EXPORT_FUNC(grub_file_seek) (grub_file_t file, grub_off_t offset);
130 return file->offset;
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.h45 int offset, int size, const char *buf);
/osnet-11/usr/src/cmd/hal/utils/
H A Dfsutils.h22 boolean_t find_dos_drive(int fd, int num, uint_t secsz, off_t *offset);
/osnet-11/usr/src/lib/libcmd/common/
H A Dhead.c92 if (opt_info.offset && argv[opt_info.index][opt_info.offset] == 'c')
95 opt_info.offset++;
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dfsrw.d81 self->offset = this->filep->f_offset;
95 (int)arg2, self->offset / 1024, self->vpath);
102 (int)arg2, self->offset / 1024, self->vpath);
109 self->offset = 0;
124 /* fetch the real offset (file_t is unaware of this) */
137 this->offset = self->read_ahead ? self->ra_offset : args[2]->fi_offset;
141 this->offset / 1024, args[2]->fi_pathname);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/FS/
H A Dfsrw.d81 self->offset = this->filep->f_offset;
95 (int)arg2, self->offset / 1024, self->vpath);
102 (int)arg2, self->offset / 1024, self->vpath);
109 self->offset = 0;
124 /* fetch the real offset (file_t is unaware of this) */
137 this->offset = self->read_ahead ? self->ra_offset : args[2]->fi_offset;
141 this->offset / 1024, args[2]->fi_pathname);
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfseek.c50 fseek(FILE *iop, long offset, int ptrname) argument
66 offset -= iop->_cnt;
79 p = lseek(FILENO(iop), (off_t)offset, ptrname);
/osnet-11/usr/src/lib/libparted/common/libparted/cs/
H A Dgeom.c275 * Reads data from the region represented by \p geom. \p offset is the
280 * ped_device_read (geom->disk->dev, buffer, geom->start + offset, count)
289 ped_geometry_read (const PedGeometry* geom, void* buffer, PedSector offset, argument
296 PED_ASSERT (offset >= 0, return 0);
299 real_start = geom->start + offset;
312 PedSector offset, PedSector count)
317 int ok = ped_geometry_read (geom, buf, offset, count);
361 * Writes data into the region represented by \p geom. \p offset is the
368 ped_geometry_write (PedGeometry* geom, const void* buffer, PedSector offset, argument
376 PED_ASSERT (offset >
311 ped_geometry_read_alloc(const PedGeometry* geom, void** buffer, PedSector offset, PedSector count) argument
413 ped_geometry_check(PedGeometry* geom, void* buffer, PedSector buffer_size, PedSector offset, PedSector granularity, PedSector count, PedTimer* timer) argument
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dstreval.c59 #define stakpush(v,val,type) ((((v)->offset=round(staktell(),pow2size(sizeof(type)))),\
60 stakseek((v)->offset+sizeof(type)), \
61 *((type*)stakptr((v)->offset)) = (val)),(v)->offset)
74 int offset; /* offset for pushchr macro */ member in struct:vars
804 int offset; local
810 offset = stakpush(vp,0,short);
814 *((short*)stakptr(offset)) = staktell();
902 int offset; local
957 int offset; local
[all...]
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c386 ** offset -- offset into fn to start checking from.
394 safedirpath(fn, uid, gid, user, flags, level, offset)
401 int offset;
416 if (level < 0 || offset < 0 || offset > strlen(fn))
424 sm_dprintf("safedirpath(%s, uid=%ld, gid=%ld, flags=%lx, level=%d, offset=%d):\n",
425 fn, (long) uid, (long) gid, flags, level, offset);
434 p = s + offset;
508 offset
[all...]
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Draw_access.c409 seghdr->offset = BE_16(seg_layout->offset);
545 segment->offset = seg_object->u.seg_obj->segment.offset;
555 raw_memcpy(void *buffer, raw_list_t *rawlist, int offset, int size) argument
557 if (offset + size > rawlist->size) {
558 size = rawlist->size - offset;
561 (void) memcpy(buffer, &rawlist->raw[offset], size);
613 section->offset = sec_obj->section.offset;
738 int offset = 0; local
778 get_packet(raw_list_t *rawlist, void *buffer, int size, int offset) argument
792 get_packets(hash_obj_t *seg_hash, raw_list_t *rawlist, int offset, int length) argument
971 uint16_t offset; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dbufio.c78 file->offset = 0;
119 if ((file->offset >= bufio->buffer_at) &&
120 (file->offset < bufio->buffer_at + bufio->buffer_len))
125 pos = file->offset - bufio->buffer_at;
140 next_buf = (file->offset + res + len - 1) & ~((grub_off_t) bufio->block_size - 1);
141 /* Now read between file->offset + res and bufio->buffer_at. */
142 if (file->offset + res < next_buf)
145 read_now = next_buf - (file->offset + res);
146 grub_file_seek (bufio->file, file->offset + res);
163 bufio->buffer_at = file->offset
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dfile.c209 if (file->offset > file->size)
216 if (len == 0 || len > file->size - file->offset)
217 len = file->size - file->offset;
232 file->offset += res;
257 file->offset += amt_read;
286 grub_file_seek (grub_file_t file, grub_off_t offset) argument
290 if (offset > file->size)
297 old = file->offset;
298 file->offset = offset;
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DSubstrHash.pm67 $offset = $hash * $rlen;
68 $record = substr($$self[0], $offset, $rlen);
91 $offset = $hash * $rlen;
92 $record = substr($$self[0], $offset, $rlen);
96 $writeoffset = $offset unless defined $writeoffset;
102 $writeoffset = $offset unless defined $writeoffset;
107 substr($$self[0], $offset, $rlen) = $record;
119 $offset = $hash * $rlen;
120 $record = substr($$self[0], $offset, $rlen);
127 substr($$self[0], $offset,
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_utils.c263 * header + the language tag (i.e. the offset at which the rest of
306 * Retrieves the 24 bit int stored at 'off' offset into 'header'.
321 * offset into the header.
331 * Retrieves the 16 bit integer stored at 'off' offset into 'header'.
342 * offset into the header.
438 size_t offset = 0; local
443 offset = *piOffset;
447 *piByte = (int)pcBuf[offset];
453 size_t offset = 0; local
458 offset
473 size_t offset = 0; local
[all...]

Completed in 31 milliseconds

1234567891011>>