Searched defs:pos (Results 26 - 50 of 172) sorted by relevance

1234567

/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Draid6_recover.c70 int i, q, pos; local
87 pos = q + 1;
88 if (pos == (int) array->total_devs)
89 pos = 0;
93 if (pos == disknr)
97 if ((array->members[pos].device) &&
98 (! grub_disk_read (array->members[pos].device,
99 array->members[pos].start_sector + sector,
117 pos++;
118 if (pos
[all...]
H A Dloopback.c181 grub_off_t pos;
192 pos = (sector + size) << GRUB_DISK_SECTOR_BITS;
193 if (pos > file->size)
195 grub_size_t amount = pos - file->size;
180 grub_off_t pos; local
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dbufio.c123 grub_uint64_t pos; local
125 pos = file->offset - bufio->buffer_at;
126 n = bufio->buffer_len - pos;
130 grub_memcpy (buf, &bufio->buffer[pos], n);
/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dbsdlabel.c51 grub_disk_addr_t pos;
67 pos = sizeof (label) + sector * GRUB_DISK_SECTOR_SIZE
71 if (grub_disk_read (disk, pos / GRUB_DISK_SECTOR_SIZE,
72 pos % GRUB_DISK_SECTOR_SIZE, sizeof (whole_disk_be),
79 pos = sizeof (label) + sector * GRUB_DISK_SECTOR_SIZE;
83 p.number++, pos += sizeof (struct grub_partition_bsd_entry))
90 p.offset = pos / GRUB_DISK_SECTOR_SIZE;
91 p.index = pos % GRUB_DISK_SECTOR_SIZE;
50 grub_disk_addr_t pos; local
H A Ddvh.c54 grub_uint32_t *pos; local
57 for (pos = label;
58 pos < (label + sizeof (struct grub_dvh_block) / 4);
59 pos++)
60 sum += *pos;
H A Dapple.c112 unsigned pos;
128 pos = grub_be_to_cpu16 (aheader.blocksize);
132 part.offset = pos / GRUB_DISK_SECTOR_SIZE;
133 part.index = pos % GRUB_DISK_SECTOR_SIZE;
157 part.offset = pos;
170 pos += grub_be_to_cpu16 (aheader.blocksize);
111 unsigned pos; local
/osnet-11/usr/src/grub/grub2/grub-core/term/i386/pc/
H A Dconsole.c99 grub_uint16_t pos; local
111 pos = grub_console_getxy (NULL);
114 if ((pos & 0xff00) >= (79 << 8))
119 pos = grub_console_getxy (NULL);
125 grub_console_gotoxy (NULL, ((pos & 0xff00) >> 8) + 1, (pos & 0xff));
H A Dvga_text.c53 unsigned int pos = grub_curr_y * COLS + grub_curr_x; local
54 grub_vga_cr_write (pos >> 8, GRUB_VGA_CR_CURSOR_ADDR_HIGH);
55 grub_vga_cr_write (pos & 0xFF, GRUB_VGA_CR_CURSOR_ADDR_LOW);
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dbitmap.c171 int pos; local
174 pos = grub_strlen (filename);
177 if (! pos || ! ext_len || ext_len > pos)
180 pos -= ext_len;
182 return grub_strcasecmp (filename + pos, ext) == 0;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Drelocator_private.h86 grub_phys_addr_t pos; member in struct:grub_relocator_mmap_event
/osnet-11/usr/src/lib/libast/common/disc/
H A Dsfdcsubstr.c112 static Sfoff_t streamseek(Sfio_t* f, Sfoff_t pos, int type, Sfdisc_t* disc) argument
114 static Sfoff_t streamseek(f, pos, type, disc)
116 Sfoff_t pos;
149 pos += here;
150 if(pos < 0 || (su->extent >= 0 && pos >= su->extent))
153 return (su->here = pos);
/osnet-11/usr/src/lib/libast/common/string/
H A Dstrexpr.c81 char* pos; local
246 pos = --ex->nextchr;
249 if (ex->nextchr == pos) error(ex, "syntax error");
/osnet-11/usr/src/lib/libsasl/lib/
H A Dseterror.c117 int pos=0; /* current position in format string */ local
193 while(pos<formatlen)
195 if (fmt[pos]!='%') /* regular character */
198 char_len = mbrlen(fmt + pos, formatlen - pos, NULL);
203 (*error_buf)[outlen]=fmt[pos];
205 pos++;
211 (*error_buf)[outlen]=fmt[pos];
213 pos++;
221 pos
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dsortctrl.c233 char *pos = *s; local
245 while (((c = *pos++) != '\0') && (state != 4)) {
256 attrdesc_source = pos - 1;
268 attrdesc_size = (pos - attrdesc_source) - 1;
282 matchrule_source = pos - 1;
294 matchrule_size = (pos - matchrule_source) - 1;
308 matchrule_size = (pos - matchrule_source) - 1;
316 attrdesc_size = (pos - attrdesc_source) - 1;
347 *s = pos - 1;
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsortctrl.c244 const char *pos = *s; local
256 while ( ((c = *pos++) != '\0') && (state != 4) ) {
267 attrdesc_source = pos - 1;
276 attrdesc_size = (pos - attrdesc_source) - 1;
287 matchrule_source = pos - 1;
296 matchrule_size = (pos - matchrule_source) - 1;
307 matchrule_size = (pos - matchrule_source) - 1;
312 attrdesc_size = (pos - attrdesc_source) - 1;
343 *s = pos - 1;
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvid_funcs.c167 xdr_setpos(XDR *xdrs, uint_t pos) argument
169 return ((*(xdrs)->x_ops->x_setpostn)(xdrs, pos));
H A Dxdr_mem.c194 xdrmem_setpos(XDR *xdrs, uint_t pos) argument
196 caddr_t newaddr = xdrs->x_base + pos;
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dcontroller.c207 int pos = 0; local
219 buses[pos++] = cache_get_desc(DM_BUS, cp->bus, NULL, NULL, errp);
225 buses[pos] = NULL;
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DTuple.java312 * @see Tuple#compare(Tuple t1, Tuple t2, int pos)
336 * @param pos nth tuple element, starting at zero
341 * pos} is out of range {@code (pos < 0 || pos >= size())} for
345 compare(Tuple t1, Tuple t2, int pos) argument
348 ValueRecord rec1 = t1.get(pos);
349 ValueRecord rec2 = t2.get(pos);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccursor.c48 int pos; member in struct:_krb5_cccol_cursor
80 n->pos = CCCURSOR_CONTEXT;
125 switch (cursor->pos) {
129 cursor->pos = CCCURSOR_ENV;
140 cursor->pos = CCCURSOR_OS;
152 cursor->pos = CCCURSOR_PERTYPE;
162 cursor->pos = CCCURSOR_PERTYPE;
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/
H A Dusb.c197 int pos;
221 pos = dev->config[i].descconf->length;
226 while (pos < config.totallen
227 && ((struct grub_usb_desc *)&data[pos])->type
229 pos += ((struct grub_usb_desc *)&data[pos])->length;
231 = (struct grub_usb_desc_if *) &data[pos];
232 pos += dev->config[i].interf[currif].descif->length;
234 while (pos < config.totallen
235 && ((struct grub_usb_desc *)&data[pos])
196 int pos; local
[all...]
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/t/
H A Drandtest.c68 off_t pos; local
73 pos = ftello(fi->ef_fp);
83 "%-6d %c off=0x%-5llx depth=%-2d pos=%-7s adv=0x%-3llx %s",
84 log_op, dir, pos, fi->ef_ndeep, posbuf, fi->ef_advance, msg);
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c134 int len, pos; local
150 pos = (uintptr_t)p - (uintptr_t)dsk;
152 strncpy (rdsk, dsk, pos + 1);
153 rdsk[pos + 1] = 'r';
154 strcpy (rdsk + pos + 2, dsk + pos + 1);
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_sbrk.c87 * Try to extend src with [pos, pos + size).
92 vmem_sbrk_extend_alloc(vmem_t *src, void *pos, size_t size, size_t alloc, argument
98 ret = _vmem_extend_alloc(src, pos, size, alloc, vmflags);
102 fp = (sbrk_fail_t *)pos;
106 fp->sf_base = pos;
/osnet-11/usr/src/lib/libwanbootutil/common/
H A Dkey_util.c201 fpos_t pos; local
239 if (fgetpos(fp, &pos) != 0) {
272 *ppos = pos;

Completed in 67 milliseconds

1234567