/osnet-11/usr/src/grub/grub2/grub-core/partmap/ |
H A D | sunpc.c | 65 grub_uint16_t *pos; local 68 for (pos = label; 69 pos < (label + sizeof (struct grub_sun_pc_block) / 2); 70 pos++) 71 sum ^= *pos;
|
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/ |
H A D | tga.c | 320 grub_ssize_t pos; local 341 pos = grub_file_tell (file); 342 pos += header.id_length; 343 grub_file_seek (file, pos);
|
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | LzFind.h | 37 UInt32 pos; member in struct:_CMatchFinder 75 #define Inline_MatchFinder_GetNumAvailableBytes(p) ((p)->streamPos - (p)->pos) 95 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *son,
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | pci.c | 498 uint8_t pos, id; local 510 pci_read_config_byte(dev, PCI_CAPABILITY_LIST, &pos); 513 pci_read_config_byte(dev, PCI_CB_CAPABILITY_LIST, &pos); 516 while (ttl-- && pos >= 0x40) { 517 pos &= ~3; 518 pci_read_config_byte(dev, pos + PCI_CAP_LIST_ID, &id); 525 return pos; 526 pci_read_config_byte(dev, pos + PCI_CAP_LIST_NEXT, &pos);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | audit_cron.c | 247 int pos; local 249 pos = strlen(name) - strlen(AU_SUFFIX); 250 if (pos <= 0) 253 if (strcmp(name + pos, AU_SUFFIX) == 0)
|
/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 63 int i, pos, c, clcount = 0; local 86 for (dep = (ses2_aes_descr_eip_impl_t *)apip->sapi_data, pos = 0, i = 0; 87 pos < SCSI_READ16(&apip->sapi_page_length); 88 dep = (ses2_aes_descr_eip_impl_t *)(apip->sapi_data + pos), i++) { 99 pos += desclen; 133 pos = 0, i = 0, c = 0; 134 pos < SCSI_READ16(&apip->sapi_page_length); 135 dep = (ses2_aes_descr_eip_impl_t *)(apip->sapi_data + pos), 147 pos += desclen; 186 pos [all...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | logging.c | 392 long pos; local 394 pos = ftell(stream); 395 if (pos >= 0 && 396 (unsigned long)pos >
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | client.c | 754 size_t pos=0,place; local 806 while (pos<list_len) 809 while ((pos<list_len) && (isalnum((unsigned char)mechlist[pos]) 810 || mechlist[pos] == '_' 811 || mechlist[pos] == '-')) { 812 name[place]=mechlist[pos]; 813 pos++; 817 while(pos<list_len && (isalnum((unsigned char)mechlist[pos]) [all...] |
H A D | dlopen.c | 509 int pos; local 602 pos=0; 606 str[pos]=c; 607 pos++; 609 str[pos-1]='\0'; 666 if (length + pos>=PATH_MAX) continue; /* too big */
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_util.c | 194 int ch, pos; local 199 pos = 27; 205 ch ^= pos; 206 pos += 13; 217 int len, ch, pos; local 227 pos = 27; 234 ch ^= pos; 235 pos += 13;
|
/osnet-11/usr/src/lib/libparted/common/libparted/ |
H A D | filesys.c | 595 PedSector pos; local 610 for (pos = 0; pos + BUFFER_SIZE < src->length; pos += BUFFER_SIZE) { 611 ped_timer_update (timer, 1.0 * pos / src->length); 612 if (!ped_geometry_read (src, buf, pos, BUFFER_SIZE)) 614 if (!ped_geometry_write (dest, buf, pos, BUFFER_SIZE)) 617 if (pos < src->length) { 618 ped_timer_update (timer, 1.0 * pos / src->length); 619 if (!ped_geometry_read (src, buf, pos, sr [all...] |
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 637 int pos; local 680 pos = 0; 706 slices[pos] = cache_get_desc(DM_SLICE, desc->p.disk, devpath, 715 pos++; 717 slices[pos] = NULL;
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 331 char *pos = strchr(str, ':'); local 332 if (pos == NULL || (strict && pos == str)) 335 (void) strncpy(dst, str, pos - str); 336 dst += pos - str; 339 pos++; 341 char *start = pos; 344 for (; *pos; pos++) { 345 char c = *pos; [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | mm.c | 512 grub_uint64_t pos; member in struct:grub_efiemu_mmap_scan 550 scanline_events[2 * i].pos = efiemu_mmap[i].physical_start; 553 scanline_events[2 * i + 1].pos = efiemu_mmap[i].physical_start 567 if (scanline_events[i + 1].pos < scanline_events[i].pos) 578 lastaddr = scanline_events[0].pos; 596 && lastaddr != scanline_events[i].pos 600 result[j].num_pages = (scanline_events[i].pos - lastaddr) 620 lastaddr = scanline_events[i].pos;
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | affs.c | 127 grub_uint32_t pos; 165 + (data->htsize - mod - 1) * sizeof (pos), 166 sizeof (pos), &pos); 170 return grub_be_to_cpu32 (pos); 125 grub_uint32_t pos; local
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | disk.c | 509 grub_size_t pos; 514 pos = (sector - start_sector) << GRUB_DISK_SECTOR_BITS; 516 - pos - offset); 520 offset + pos, len, buf); 508 grub_size_t pos; local
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_dec_stream.c | 58 uint32_t pos; member in struct:xz_dec 160 size_t pos; member in struct:xz_dec::__anon613 175 * must have set s->temp.pos to indicate how much data we are supposed 176 * to copy into s->temp.buf. Return true once s->temp.pos has reached 182 b->in_size - b->in_pos, s->temp.size - s->temp.pos); 184 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); 186 s->temp.pos += copy_size; 188 if (s->temp.pos == s->temp.size) { 189 s->temp.pos = 0; 202 if (s->pos [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | cmdline.c | 58 int pos = hist_end - i; local 59 if (pos < 0) 60 pos += hist_size; 61 grub_free (old_hist_lines[pos]); 95 grub_history_get (int pos) argument 97 pos = (hist_pos + pos) % hist_size; 98 return hist_lines[pos]; 114 grub_history_set (int pos, grub_uint32_t *s, grub_size_t len) argument 116 grub_free (hist_lines[pos]); 157 grub_history_replace(int pos, grub_uint32_t *s, grub_size_t len) argument 250 cl_print(struct cmdline_term *cl_term, int pos, grub_uint32_t c) argument 273 cl_print_all(int pos, grub_uint32_t c) argument [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | stage2.c | 789 int pos = 0, literal = 0, comment = 0; local 822 if (pos > 0) 823 pos--; 838 else if (! pos) 843 cmdline[pos++] = c; 850 if (pos < maxlen) 851 cmdline[pos++] = c; 855 cmdline[pos] = 0; 857 return pos;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/ |
H A D | a2py.c | 1094 register int pos, newpos; local 1097 pos = 0; 1100 pos++; 1104 pos = 0; 1108 pos += 7; 1109 if (pos > 78) { /* split a long line? */ 1158 pos = newpos;
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsls.c | 130 const s64 pos, const MFT_REF mref, 365 * @pos: current position in directory 376 static int readdir_recursive(ntfs_inode * ni, s64 * pos, ntfsls_dirent * dirent) argument 412 result = ntfs_readdir(ni, pos, dirent, (ntfs_filldir_t) list_dir_entry); 494 const s64 pos __attribute__((unused)), 641 s64 pos; local 673 pos = 0; 678 readdir_recursive(ni, &pos, &dirent); 680 ntfs_readdir(ni, &pos, &dirent, 706 list_dir_entry(&dirent, name, name_len, space, pos, n [all...] |
/osnet-11/usr/src/cmd/parted/ |
H A D | strlist.c | 355 int pos = 0; local 366 strcpy (str + pos, tmp); 368 pos = length - 1;
|
/osnet-11/usr/src/lib/libbootmgmt/common/ |
H A D | libbootmgmt.c | 221 int pos; local 230 pos = (uintptr_t)p - (uintptr_t)syspath; 232 pos + 1, syspath, p + 2);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getopt_long.c | 180 int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; local 193 pos = cstart; 195 if (pos >= panonopt_end) 196 pos -= nnonopts; 198 pos += nopts; 199 swap = nargv[pos]; 200 ((char **)nargv)[pos] = nargv[cstart];
|
/osnet-11/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 133 int pos = 0; local 143 while (PyDict_Next(d, &pos, &key, &value)) {
|