Searched refs:offset (Results 26 - 50 of 550) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/port/stdio/
H A Dfseeko.c57 fseeko64(FILE *iop, off64_t offset, int ptrname) argument
73 offset -= iop->_cnt;
86 p = lseek64(FILENO(iop), offset, ptrname);
93 fseeko(FILE *iop, off_t offset, int ptrname) argument
95 return (fseek(iop, offset, ptrname));
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c837 CK_ULONG buf_len, offset, len, field_len; local
847 offset = 0;
848 rc = ber_decode_INTEGER(buf + offset, &ver, &len, &field_len);
852 offset += field_len;
854 rc = ber_decode_SEQUENCE(buf + offset, &alg, &len, &field_len);
893 CK_ULONG len, offset; local
897 offset = 0;
902 offset += len;
905 offset += len;
908 offset
1073 CK_ULONG offset, buf_len, field_len, len; local
[all...]
/osnet-11/usr/src/lib/libfru/libfru/
H A DAncestor.cc84 Ancestor::addInstance(const char *path, uint32_t offset) argument
95 offsets[numInstances] = offset;
200 uint32_t offset = 0; local
208 offset, rc, path);
210 offset += tmp->payloadLen;
226 uint32_t offset,
232 offset += 4;
236 ant->addInstance(tmp.peak(), offset);
237 offset += (parent_def->payloadLen - 4) /
242 ant->addInstance(path.peak(), offset);
223 definitionContains(const fru_regdef_t *def, const fru_regdef_t *parent_def, Str element, uint32_t offset, Ancestor *ant, Str path) argument
[all...]
H A DPayloadReader.cc233 int offset = 0; local
242 offset = getIterationOffset(cur, curLen, path,
245 if (offset == -1)
260 offset = 0;
283 rc = readBits(bitLength, &(cur[offset]),
300 &(cur[offset]),
309 memcpy(rc_data, &(cur[offset]), calc_data_len);
344 int offset = curDef->getInstOffset(instWICur); local
345 return (readRecurse(path, &(payload[offset]), payloadLen-offset,
356 int offset = curDef->getInstOffset(instWICur); local
452 int offset = 0; local
553 int offset = ancestorDef->getInstOffset(instWICur); local
[all...]
H A DAncestor.h51 void addInstance(const char *path, uint32_t offset);
88 uint32_t offset,
/osnet-11/usr/src/grub/grub2/grub-core/loader/
H A Daout.c43 grub_aout_load (grub_file_t file, int offset, argument
47 if ((grub_file_seek (file, offset)) == (grub_off_t) - 1)
51 load_size = file->size - offset;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dkernel.h49 /* The offset of the modules. */
50 grub_uint32_t offset; member in struct:grub_module_info32
60 /* The offset of the modules. */
61 grub_uint64_t offset; member in struct:grub_module_info64
76 (grub_modbase + (((struct grub_module_info *) grub_modbase)->offset)) : 0;\
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmweek.c32 static unsigned char offset[7][3] = variable
63 week = (tm->tm_yday + offset[day][type]) / 7;
79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7);
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_marshal.c504 unsigned long offset; local
518 offset = 24UL;
534 NDR_MEMBER(_ushort, sec_addr.length, offset);
536 offset+2UL, val->sec_addr.length);
538 offset += 2;
539 offset += val->sec_addr.length;
540 offset += NDR_ALIGN4(offset);
542 NDR_MEMBER(_ndr_p_result_list, p_result_list, offset);
553 unsigned offset; local
596 unsigned long offset; local
641 unsigned offset; local
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dfspaging.d85 self->offset = this->filep->f_offset;
97 (int)arg2, self->offset / 1024, self->vpath);
104 (int)arg2, self->offset / 1024, self->vpath);
111 self->offset = 0;
136 /* fetch the real offset (file_t is unaware of this) */
137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio;
144 self->offset = 0;
149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset;
153 this->offset / 102
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/FS/
H A Dfspaging.d85 self->offset = this->filep->f_offset;
97 (int)arg2, self->offset / 1024, self->vpath);
104 (int)arg2, self->offset / 1024, self->vpath);
111 self->offset = 0;
136 /* fetch the real offset (file_t is unaware of this) */
137 self->offset = ((inode_t *)args[0]->v_data)->i_nextrio;
144 self->offset = 0;
149 this->offset = self->read_ahead ? self->offset : args[2]->fi_offset;
153 this->offset / 102
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Ddoop.c717 Perl_do_vecget(pTHX_ SV *sv, I32 offset, I32 size) argument
723 if (offset < 0)
731 offset *= size; /* turn into bit offset */
732 len = (offset + size + 7) / 8; /* required number of bytes */
737 offset >>= 3; /* turn into byte offset */
739 if ((STRLEN)offset >= srclen)
742 retnum = (UV) s[offset] << 8;
745 if ((STRLEN)offset >
858 register I32 offset; local
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c36 previous_handler->offset = irq_vector->offset;
39 handler->segment, handler->offset, irq,
42 previous_handler->segment, previous_handler->offset );
44 irq_vector->offset = handler->offset;
65 ( irq_vector->offset != handler->offset ) ) {
73 irq_vector->offset = previous_handler->offset;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dmsdos.c53 p.offset = 0;
58 /* Any value different than `p.offset' will satisfy the check during
60 lastaddr = !p.offset;
68 if (grub_disk_read (disk, p.offset, 0, sizeof (mbr), &mbr))
76 if (labeln && lastaddr == p.offset)
81 lastaddr = p.offset;
96 p.start = p.offset
135 p.offset = ext_offset
139 ext_offset = p.offset;
163 /* Any value different than `p.offset' wil
166 grub_disk_addr_t offset = 0; local
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/
H A Dapm.h27 grub_uint32_t offset; member in struct:grub_apm_info
/osnet-11/usr/src/common/crypto/ecc/
H A Dsecoidt.h81 ECCurveName offset; member in struct:SECOidDataStr
/osnet-11/usr/src/lib/efcode/engine/
H A Dtracing.c107 int offset; local
110 offset = ((char *) fn) - ((char *) address);
111 if (offset == 0) {
117 ((offset < 0) ? "-" : "+"),
118 ((offset < 0) ? -offset : offset));
/osnet-11/usr/src/lib/libproc/common/
H A DPscantext.c52 off_t offset; /* offset in text section */ local
53 off_t endoff; /* ending offset in text section */
129 offset = (off_t)pdp->pr_vaddr; /* beginning of text */
130 endoff = offset + pdp->pr_size;
135 offset < P->status.pr_stkbase + P->status.pr_stksize) ||
137 offset < P->status.pr_brkbase + P->status.pr_brksize))
140 (void) lseek(P->asfd, (off_t)offset, 0);
155 while (sysaddr == 0 && syspri != 1 && offset < endoff) {
165 offset
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfsys_vstafs.c190 int size, ret = 0, offset, curr_len = 0; local
204 offset = filepos + VSTAFS_START_DATA;
206 curr_len = a[0].a_len * 512 - offset - filepos;
211 offset = filepos - ext_size;
216 offset -= ext_size;
219 while (extent < FILE_INFO->extents && offset>ext_size);
224 offset = VSTAFS_START_DATA;
226 curr_len = a[0].a_len * 512 - offset;
245 devread (a[curr_ext].a_start,offset, curr_len, curr_pos);
246 offset
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dstrings.c47 "[t:radix|format?Write each string preceded by its byte offset from the"
48 " start of the file. The offset radix is determined by:]:[format]{"
136 off_t offset; local
147 if ((offset = sfseek(in, (off_t)0, SEEK_CUR)) < 0)
148 offset = 0;
149 offset--;
156 offset += c;
167 if (sfprintf(out, fmt, sizeof(offset), offset - (inend - inp) - n) < 0)
172 n = sfprintf(out, fmt, sizeof(offset), offse
[all...]
H A Dtail.c42 "as the current offset.]"
57 "for \alines\a indicates an offset from the end of the file.]"
60 "for \achars\a indicates an offset from the end of the file.]"
149 * if file is seekable, position file to tail location and return offset
157 register Sfoff_t offset; local
169 if ((offset = last - number) < first)
171 return offset;
175 if ((offset = last - SF_BUFSIZE) < first)
176 offset = first;
177 sfseek(fp, offset, SEEK_SE
208 Sfoff_t offset[2]; local
259 Sfoff_t offset; local
413 Sfoff_t offset; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Devent_port.c143 uint_t offset; local
155 for (offset = 0; offset < nent; ) {
156 lnent = nent - offset;
157 if (nent - offset > PORT_MAX_LIST)
160 lnent = nent - offset;
162 (uintptr_t)&ports[offset], (uintptr_t)&errors[offset],
171 offset += lnent;
/osnet-11/usr/src/grub/grub2/grub-core/gettext/
H A Dgettext.c66 grub_off_t offset)
68 if (grub_file_seek (file, offset) == (grub_off_t) - 1)
76 grub_gettext_get_info (int offset) argument
80 grub_gettext_pread (fd_mo, (char *) &value, 4, offset);
87 grub_gettext_getstring_from_offset (grub_uint32_t offset, argument
90 grub_gettext_pread (fd_mo, translation, length, offset);
99 grub_uint32_t length, offset; local
109 grub_gettext_pread (fd_mo, (char *) &offset, 4, internal_position + 4);
110 offset = grub_cpu_to_le32 (offset);
65 grub_gettext_pread(grub_file_t file, void *buf, grub_size_t len, grub_off_t offset) argument
122 int length, offset; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c64 if (ret == 0 && alsn->offset == 0) {
122 nlsn.offset += dblp->c_len;
140 nlsn.offset = 0;
147 if (nlsn.offset == 0) {
153 nlsn.offset = dblp->c_off;
155 nlsn.offset = dblp->c_off;
161 nlsn.offset = lp->lsn.offset - lp->len;
171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp->lsn.offset))
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_inode_relocator.c37 off_t offset; member in struct:ext2_reference
99 static int addref(struct ext2_fs *fs, struct ext2_inode_relocator_state *state, ino_t inode, blk_t block, off_t offset) argument
123 ent->ref[i].offset = offset;
131 off_t offset; local
137 offset = 0;
142 ptr = (struct ext2_dir_entry_2 *)(bh->data + offset);
146 offset))
150 offset += EXT2_DIRENT_REC_LEN (*ptr);
151 } while (offset < f
248 int offset; local
463 int offset; local
579 int offset; local
[all...]

Completed in 67 milliseconds

1234567891011>>