Searched defs:offset (Results 1 - 25 of 351) sorted by relevance

1234567891011>>

/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_seek.c26 * Seek to a page/byte offset in the file.
38 off_t offset; local
45 offset = (off_t)pgsize * pageno + relative;
47 offset = -offset;
49 ret = lseek(fd, offset, whence);
H A Dos_rw.c94 size_t offset; local
99 offset = 0; offset < len; taddr += nr, offset += nr) {
101 __db_jump.j_read(fd, taddr, len - offset) :
102 read(fd, taddr, len - offset)) < 0)
124 size_t offset; local
129 offset = 0; offset < len; taddr += nw, offset
[all...]
/osnet-11/usr/src/lib/libgen/common/
H A Dstrfind.c35 * If `s2' is a substring of `s1' return the offset of the first
45 ptrdiff_t offset; local
53 offset = s1 - as1 - 1;
58 return ((int)offset);
59 s1 = offset + as1 + 1;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dstage1_5.c25 disk_read_savesect_func (unsigned int sector, int offset, int length) argument
H A Dzfs_lzjb.c50 int offset = ((src[0] << NBBY) | src[1]) & OFFSET_MASK; local
52 if ((cpy = dst - offset) < (uchar_t *)d_start)
/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/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 Dposix_fallocate.c57 posix_fallocate(int fd, off_t offset, off_t len) argument
62 if (offset < 0 || len <= 0)
66 lck.l_start = offset;
83 posix_fallocate64(int fd, off64_t offset, off64_t len) argument
88 if (offset < 0 || len <= 0)
92 lck.l_start = offset;
/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);
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/gss_mechs/mech_krb5/et/
H A Derror_message.c35 int offset; local
42 offset = (int) l_offset;
46 cp = strerror(offset);
52 if (offset < sys_nerr)
53 return(sys_errlist[offset]);
63 return(ggss_error_table(offset));
65 return(kadm_error_table(offset));
67 return(kdb5_error_table(offset));
69 return(kdc5_error_table(offset));
71 return(kpws_error_table(offset));
[all...]
/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/grub-0.97/netboot/
H A Dsegoff.h2 * Segment:offset types and macros
13 /* Segment:offset structure. Note that the order within the structure
14 * is offset:segment.
17 uint16_t offset; member in struct:__anon272
24 /* Macros for converting from virtual to segment:offset addresses,
/osnet-11/usr/src/lib/libproc/common/
H A Dpr_lseek.c35 offset_t full; /* full 64 bit offset value */
43 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) argument
54 return (lseek(filedes, offset, whence));
63 adp++; /* offset argument */
67 adp->arg_value = offset;
75 off.full = offset;
104 offset = rval.sys_rval1;
108 offset = (off_t)off.full;
111 return (offset);
118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, in argument
[all...]
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/lib/libparted/common/include/parted/
H A Dnatmath.h45 * (align->offset)
49 * * align->offset < 0 Note: this gets "normalized"
57 PedSector offset; member in struct:_PedAlignment
66 extern int ped_alignment_init (PedAlignment* align, PedSector offset,
68 extern PedAlignment* ped_alignment_new (PedSector offset, PedSector grain_size);
/osnet-11/usr/src/lib/libcmd/common/
H A Drevlib.c33 * copy the lines starting at offset <start> from in <in> to <out>
41 off_t offset; local
54 if((offset = sfseek(in,(off_t)0,SEEK_END)) <= start)
56 offset = rounddown(offset,BUFSIZE);
60 if(offset < start)
62 n -= (start-offset);
63 offset = start;
65 sfseek(in, offset, SEEK_SET);
101 if(offset <
[all...]
/osnet-11/usr/src/lib/efcode/engine/
H A Dinstance.c40 alloc_instance_data(fcode_env_t *env, int init, int n, int *offset) argument
44 *offset = ptr = MYSELF->device->data_size[init];
57 token_t offset; local
61 offset = *ptr;
62 if (offset < 0) {
63 offset = -offset;
68 return (&MYSELF->data[which][offset]);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpr_to_salt.c1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
45 unsigned int size = 0, offset=0; local
68 offset = krb5_princ_realm(context, pr)->length;
69 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset);
73 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data,
75 offset += krb5_princ_component(context, pr, i)->length;
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_delete.c160 indx_t *ip, cnt, offset; local
188 offset = h->linp[idx];
190 if (ip[0] < offset)
193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
/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/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/libresolv2/common/bsd/
H A Dsetenv.c53 static char *findenv(const char *name, int *offset);
64 int l_value, offset; local
69 if ((c = findenv(name, &offset))) { /*%< find if already exists */
96 offset = cnt;
99 if (!(environ[offset] = /*%< name + `=' + value */
102 for (c = environ[offset]; (*c = *name++) && *c != '='; ++c);
114 int offset; local
116 while (findenv(name, &offset)) /*%< if set multiple times */
117 for (p = &environ[offset];; ++p)
125 * Sets offset t
132 findenv(const char *name, int *offset) argument
[all...]
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dfru_access.h52 uint32_t offset; /* bytes from container beginning */ member in struct:__anon1672
64 uint32_t offset; /* ditto */ member in struct:__anon1673
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_opt.h32 * i) An integer (int or unsigned) variable determined by 'offset' is
38 * 'offset' is set to the value of an option parameter
40 * 'offset' should normally be either set to
84 unsigned long offset; member in struct:fuse_opt
160 * - option did match and offset was set to -1

Completed in 103 milliseconds

1234567891011>>