Searched refs:offset (Results 1 - 25 of 550) sorted by relevance

1234567891011>>

/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/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D42_offset.t3 # 2003-04-09 Tels: test the offset method from 0.94
36 is ($o->offset(0), 0, 'first one always there');
37 is ($o->offset(1), undef, 'no offsets yet');
40 is ($o->offset(0), 0, 'first is ok');
41 is ($o->offset(1), 8, 'and second ok');
42 is ($o->offset(2), undef, 'third undef');
45 is ($o->offset(0), 0, 'first is ok');
46 is ($o->offset(1), 8, 'and second ok');
47 is ($o->offset(2), 14, 'and third ok');
48 is ($o->offset(
[all...]
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_compare.c38 if (lsn0->offset != lsn1->offset)
39 return (lsn0->offset < lsn1->offset ? -1 : 1);
/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/lib/libdscfg/common/
H A Dcfg_local.h33 char *readcfline(cfp_t *cfp, char *buf, int table_index, int offset);
35 int replacecfline(cfp_t *cfp, char *line, int table_index, int offset);
36 int remcfline(cfp_t *cfp, int table_index, int offset);
/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/libsocket/inet/
H A Dinet6_opt.c68 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, argument
91 remainder = (offset + 2 + len) % align;
98 endlen = offset + padbytes + 2 + len;
107 p = (uint8_t *)extbuf + offset;
140 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) argument
155 padbytes = 8 - (offset % 8);
159 if ((offset + padbytes > extlen) || !extbuf) {
163 return (offset + padbytes);
167 p = (uint8_t *)extbuf + offset;
186 return (offset
194 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument
209 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep, socklen_t *lenp, void **databufp) argument
270 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type, socklen_t *lenp, void **databufp) argument
293 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument
295 (void) memcpy(val, (uint8_t *)databuf + offset, vallen); local
[all...]
/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/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/libaio/common/
H A Dllib-laio34 int aioread(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
36 int aiowrite(int fd, caddr_t buf, int bufsz, off_t offset, int whence,
39 int aioread64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
41 int aiowrite64(int fd, caddr_t buf, int bufsz, off64_t offset, int whence,
/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/grub/grub2/grub-core/commands/
H A Dblocklist.c41 auto void NESTED_FUNC_ATTR read_blocklist (grub_disk_addr_t sector, unsigned offset,
44 unsigned offset, unsigned length);
46 void NESTED_FUNC_ATTR read_blocklist (grub_disk_addr_t sector, unsigned offset, argument
52 && offset == 0 && length == GRUB_DISK_SECTOR_SIZE)
62 if (offset == 0 && length == GRUB_DISK_SECTOR_SIZE)
68 print_blocklist (sector, 0, offset, length);
72 unsigned offset, unsigned length)
80 if (offset != 0 || length != 0)
81 grub_printf ("[%u-%u]", offset, offset
71 print_blocklist(grub_disk_addr_t sector, unsigned num, unsigned offset, unsigned length) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/
H A Dsetenv.c68 int l_value, offset;
73 if ((c = __findenv(name, &offset))) { /* find if already exists */
100 offset = cnt;
103 if (!(environ[offset] = /* name + `=' + value */
107 for (c = environ[offset]; (*c = *name++) && (*c != '='); ++c);
126 int offset;
128 while (__findenv(name, &offset)) /* if set multiple times */
129 for (p = &environ[offset];; ++p)
147 int offset;
149 return (__findenv(name, &offset));
[all...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsrvsvc_sd.c59 /* Size of offset members in mslm_security_descriptor structure */
243 int offset, len, i; local
260 offset = sizeof (mslm_security_descriptor_t) - SRVSVC_SD_OFFSET_SZ;
265 msd->offset_owner = LE_IN32(&offset);
271 bcopy(sd->sd_owner, &sdbuf[offset], len);
272 offset += len;
276 msd->offset_group = LE_IN32(&offset);
282 bcopy(sd->sd_group, &sdbuf[offset], len);
283 offset += len;
287 msd->offset_sacl = LE_IN32(&offset);
386 srvsvc_acl_set_absolute(uint8_t *sdbuf, int *offset) argument
420 int offset, i, sid_size; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dfs.c111 grub_disk_addr_t offset;
145 blocks[i].offset = grub_strtoull (p, &p, 0);
165 if (disk->total_sectors < blocks[i].offset + blocks[i].length)
189 grub_off_t offset;
192 if (len > file->size - file->offset)
193 len = file->size - file->offset;
195 sector = (file->offset >> GRUB_DISK_SECTOR_BITS);
196 offset = (file->offset & (GRUB_DISK_SECTOR_SIZE - 1));
204 if (((size + offset
110 grub_disk_addr_t offset; member in struct:grub_fs_block
188 grub_off_t offset; local
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/sparc64/ieee1275/
H A Dboot.h33 #define LDUW_ABS(symbol, offset, reg) \
34 lduw [PIC_REG + (symbol - pic_base) + (offset)], reg
35 #define LDX_ABS(symbol, offset, reg) \
36 ldx [PIC_REG + (symbol - pic_base) + (offset)], reg
/osnet-11/usr/src/lib/libc/amd64/sys/
H A Dgetcontext.s45 #define GETCONTEXT_IMPL(offset) \
52 addq $offset, %rsp; \
60 movq offset+0(%rsp), %rax; \
64 leaq offset+8(%rsp), %rax; \
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributePattern.java137 int offset = 0, len = cstring.length();
152 // will return offset, but on the next iteration, it will
156 if ((offset = cstring.indexOf(p.pattern, offset)) == -1) {
164 offset += p.pattern.length();
168 if (offset >= len) {
202 if (!cstring.regionMatches(offset,
212 // Bump up offset by the pattern length, and exit if
215 offset += p.pattern.length();
217 if (offset >
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Doptjoin.c32 * possible starting at (opt_info.index,opt_info.offset) using
73 last_offset = opt_info.offset;
98 if (opt_info.again > 0 && (!err || err_index < opt_info.index || err_index == opt_info.index && err_offset < opt_info.offset))
102 err_offset = opt_info.offset;
106 opt_info.offset = state->poffset;
108 if (!rep || opt_info.index != last_index || opt_info.offset != last_offset)
118 opt_info.offset = 0;
/osnet-11/usr/src/lib/libc/port/gen/
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/libparted/common/libparted/cs/
H A Dnatmath.c47 .offset = 0,
125 * <tt>s = offset + X * grain_size</tt> holds.
128 ped_alignment_init (PedAlignment* align, PedSector offset, PedSector grain_size) argument
136 align->offset = abs_mod (offset, grain_size);
138 align->offset = offset;
146 * PedSector's that are of the form <tt>offset + X * grain_size</tt>.
149 ped_alignment_new (PedSector offset, PedSector grain_size) argument
157 if (!ped_alignment_init (align, offset, grain_siz
[all...]
/osnet-11/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c83 static struct map *getmapping(Dosdisc_t *dp, Sfoff_t offset, register int whence) argument
85 static struct map *getmapping(dp, offset, whence)
87 Sfoff_t offset;
93 if(offset <= dp->begin)
95 dummy.logical = dummy.physical = offset;
104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset);
224 * returns the current offset
225 * <offset> must be in the current buffer
226 * if <whence> is SEEK_CUR, physical offset converted to logical offset
230 cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) argument
276 dos_seek(Sfio_t *iop, Sfoff_t offset, register int whence, Sfdisc_t* disc) argument
[all...]
/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...]
/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;

Completed in 55 milliseconds

1234567891011>>