Searched defs:pos (Results 126 - 150 of 172) sorted by relevance

1234567

/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dindex.c77 static VCN ntfs_ib_pos_to_vcn(ntfs_index_context *icx, s64 pos) argument
79 return pos >> icx->vcn_size_bits;
243 static INDEX_ENTRY *ntfs_ie_get_by_pos(INDEX_HEADER *ih, int pos) argument
247 ntfs_log_trace("pos: %d\n", pos);
251 while (pos-- > 0)
352 * Insert @ie index entry at @pos entry. Used @ih values should be ok already.
354 static void ntfs_ie_insert(INDEX_HEADER *ih, INDEX_ENTRY *ie, INDEX_ENTRY *pos) argument
361 memmove((u8 *)pos + ie_size, pos,
582 s64 pos, ret; local
865 ntfs_ibm_pos_to_vcn(ntfs_index_context *icx, s64 pos) argument
893 s64 pos = ntfs_ibm_vcn_to_pos(icx, vcn); local
1263 ntfs_ih_insert(INDEX_HEADER *ih, INDEX_ENTRY *orig_ie, VCN new_vcn, int pos) argument
[all...]
H A Drunlist.c1015 * @pos: byte position within runlist @rl at which to begin the read
1021 * offset @pos into the runlist @rl.
1036 const s64 pos, s64 count, void *b)
1041 if (!vol || !rl || pos < 0 || count < 0) {
1047 /* Seek in @rl to the run containing @pos. */
1049 vol->cluster_size_bits) <= pos); rl++)
1052 ofs = pos - ofs;
1102 * @pos: byte position within runlist @rl at which to begin the write
1108 * offset @pos into the runlist @rl.
1120 const s64 pos, s6
1035 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl, const s64 pos, s64 count, void *b) argument
1119 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl, const s64 pos, s64 count, void *b) argument
1220 ntfs_rl_fill_zero(const ntfs_volume *vol, const runlist *rl, s64 pos, const s64 count) argument
[all...]
H A Dattrib.c357 struct list_head *pos; local
368 list_for_each(pos, &ni->attr_cache) {
371 tmp_na = list_entry(pos, ntfs_attr, list_entry);
850 * @pos: byte position in the attribute to begin reading from
854 * This function will read @count bytes starting at offset @pos from the ntfs
866 s64 ntfs_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
872 ntfs_log_trace("Entering for inode 0x%llx, attr 0x%x, pos 0x%llx, "
874 na->type, (long long)pos, (long long)count);
875 if (!na || !na->ni || !na->ni->vol || !b || pos < 0 || count < 0) {
884 return ntfs_compressed_attr_pread(na, pos, coun
1037 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count, const void *b) argument
1353 s64 pos = (rl->lcn << vol->cluster_size_bits) + ofs; local
1506 ntfs_attr_mst_pread(ntfs_attr *na, const s64 pos, const s64 bk_cnt, const u32 bk_size, void *dst) argument
1560 ntfs_attr_mst_pwrite(ntfs_attr *na, const s64 pos, s64 bk_cnt, const u32 bk_size, void *src) argument
2573 ntfs_make_room_for_attr(MFT_RECORD *m, u8 *pos, u32 size) argument
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c154 char *pos = strchr(input, '='); local
155 if (pos == NULL) {
162 *opt = malloc((pos - input) + 1);
163 *val = strdup(pos + 1);
171 memcpy(*opt, input, pos - input);
172 (*opt)[pos - input] = '\0';
817 off_t pos; local
847 pos = 0;
848 while (pos < statb.st_size) {
865 lseek(fd, pos, SEEK_SE
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dbfs.c223 grub_uint64_t pos = 0; local
227 newpos = pos + (grub_bfs_to_cpu16 (ino->direct[i].len)
237 err = read_extent (disk, sb, &ino->direct[i], 0, off - pos,
248 pos = newpos;
261 grub_uint64_t pos = (grub_bfs_to_cpu64 (ino->max_direct_range) local
273 newpos = pos + (grub_bfs_to_cpu16 (entries[i].len)
282 err = read_extent (disk, sb, &entries[i], 0, off - pos,
299 pos = newpos;
H A Dhfs.c182 int pos = 0;
197 pos = cache_pos;
198 key.first_block = grub_cpu_to_be16 (pos);
210 if (grub_be_to_cpu16 (dr[i].count) + pos > block)
219 cache_pos = pos;
224 + (first + block - pos) * GRUB_HFS_BLKS);
228 pos += grub_be_to_cpu16 (dr[i].count);
232 key.first_block = grub_cpu_to_be16 (pos);
248 grub_off_t pos, grub_size_t len, char *buf)
253 blockcnt = grub_divmod64 (((len + pos)
181 int pos = 0; local
244 grub_hfs_read_file(struct grub_hfs_data *data, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
697 int pos = (nodesize >> 1) - 1 - i; local
[all...]
H A Diso9660.c620 unsigned int pos = 1;
623 while (pos + sizeof (*entry) < grub_le_to_cpu32 (entry->len))
626 switch (entry->data[pos] & 30)
630 /* The data on pos + 2 is the actual data, pos + 1
633 if (symlink && (entry->data[pos] & 1))
635 add_part ((char *) &entry->data[pos + 2],
636 entry->data[pos + 1]);
653 /* In pos + 1 the length of the `Component Record' is
655 pos
619 unsigned int pos = 1; local
[all...]
H A Djfs.c219 int pos; member in struct:grub_jfs_data
374 data->pos = 0;
565 grub_off_t pos, grub_size_t len, char *buf)
570 blockcnt = (len + pos + grub_le_to_cpu32 (data->sblock.blksz) - 1)
573 for (i = pos >> grub_le_to_cpu16 (data->sblock.log2_blksz); i < blockcnt; i++)
576 grub_uint32_t blockoff = pos & (grub_le_to_cpu32 (data->sblock.blksz) - 1);
588 blockend = (len + pos) & (grub_le_to_cpu32 (data->sblock.blksz) - 1);
595 if (i == (pos >> grub_le_to_cpu16 (data->sblock.log2_blksz)))
561 grub_jfs_read_file(struct grub_jfs_data *data, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
H A Dntfs.c596 list_file (struct grub_ntfs_file *diro, char *pos, argument
609 if (pos[0xC] & 2) /* end signature */
612 np = pos + 0x50;
626 if (u16at (pos, 4))
632 attr = u32at (pos, 0x48);
645 fdiro->ino = u32at (pos, 0);
646 if (u64at (pos, 0x20) > u64at (pos, 0x28))
647 fdiro->mtime = u64at (pos, 0x20);
649 fdiro->mtime = u64at (pos,
[all...]
H A Dsquash4.c321 grub_off_t pos = 0; local
345 if (pos + buf.out_pos >= off)
347 grub_ssize_t outoff = pos - off;
367 pos += buf.out_pos;
H A Dufs.c292 grub_off_t pos, grub_size_t len, char *buf)
299 if (len + pos > INODE_SIZE (data))
300 len = INODE_SIZE (data) - pos;
302 blockcnt = (len + pos + UFS_BLKSZ (sblock) - 1) >> UFS_LOG_BLKSZ (sblock);
304 for (i = pos >> UFS_LOG_BLKSZ (sblock); i < blockcnt; i++)
312 blockoff = pos & (UFS_BLKSZ (sblock) - 1);
321 blockend = (len + pos) & (UFS_BLKSZ (sblock) - 1);
328 if (i == (pos >> UFS_LOG_BLKSZ (sblock)))
435 unsigned int pos = 0;
464 if (grub_ufs_read_file (data, 0, pos, sizeo
288 grub_ufs_read_file(struct grub_ufs_data *data, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
434 unsigned int pos = 0; local
581 unsigned int pos = 0; local
[all...]
H A Dxfs.c157 int pos; member in struct:grub_xfs_data
224 GRUB_XFS_ROUND_TO_DIRENT (int pos)
226 return ((((pos) + 8 - 1) / 8) * 8);
230 GRUB_XFS_NEXT_DIRENT (int pos, int len)
232 return (pos) + GRUB_XFS_ROUND_TO_DIRENT (8 + 1 + len + 2);
388 grub_off_t pos, grub_size_t len, char *buf)
391 pos, len, buf, grub_xfs_read_block,
572 int pos = 16;
590 while (pos < (dirblk_size
597 direntry = (struct grub_xfs_dir2_entry *) &dirblock[pos];
223 GRUB_XFS_ROUND_TO_DIRENT(int pos) argument
229 GRUB_XFS_NEXT_DIRENT(int pos, int len) argument
383 grub_xfs_read_file(grub_fshelp_node_t node, void NESTED_FUNC_ATTR (*read_hook) (grub_disk_addr_t sector, unsigned offset, unsigned length), grub_off_t pos, grub_size_t len, char *buf) argument
570 int pos = 16; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzmaDec.c417 SizeT pos = (dicPos - rep0) + ((dicPos < rep0) ? dicBufSize : 0); local
422 if (pos + curLen <= dicBufSize)
425 ptrdiff_t src = (ptrdiff_t)pos - (ptrdiff_t)dicPos;
436 dic[dicPos++] = dic[pos];
437 if (++pos == dicBufSize)
438 pos = 0;
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/
H A Dxz_dec_lzma2.c45 * start <= pos <= full <= end
46 * pos <= limit <= end
64 size_t pos; member in struct:dictionary
290 dict->pos = 0;
298 if (dict->end - dict->pos <= out_max)
301 dict->limit = dict->pos + out_max;
307 return dict->pos < dict->limit;
319 size_t offset = dict->pos - dist - 1;
321 if (dist >= dict->pos)
332 dict->buf[dict->pos
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/
H A Djpeg.c486 unsigned pos; local
498 pos = 1;
499 while (pos < ARRAY_SIZE (data->quan_table[qt]))
509 pos += num;
510 du[jpeg_zigzag_order[pos]] = val * (int) data->quan_table[qt][pos];
511 pos++;
H A Dpng.c658 int len, dist, pos; local
670 pos = data->wp - dist;
671 if (pos < 0)
672 pos += WSIZE;
676 data->slide[data->wp] = data->slide[pos];
683 pos++;
684 if (pos >= WSIZE)
685 pos = 0;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c378 int pos = xpos; local
391 pos = 0;
400 pos += plen;
406 pos++;
444 pos++;
451 pos++;
456 if (pos == CMDLINE_WIDTH)
463 pos++;
469 for (i = 0; i < pos - xpos; i++)
552 int pos local
[all...]
H A Dgunzip.c499 int pos; local
510 for (pos = filemax - 8; pos < filepos; pos++)
511 *eb++ = inbuf[pos - old_filepos];
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscmp.c601 s64 pos; local
606 for (pos = 0; pos <= na1->data_size; pos += count1) {
608 count1 = ntfs_attr_pread(na1, pos, NTFS_BUF_SIZE, buf1);
609 count2 = ntfs_attr_pread(na2, pos, NTFS_BUF_SIZE, buf2);
623 printf("len = %lld, pos = %lld\n", na1->data_size, pos);
629 if (pos + count1 == na1->data_size)
634 printf("%lld != %lld\n", pos
[all...]
H A Dntfsundelete.c1159 struct list_head *pos; local
1179 list_for_each(pos, &file->data) {
1180 data = list_entry(pos, struct data, list);
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregnexec.c194 Stk_pos_t pos; member in struct:__anon1181
203 #define stkpop(s) stkold(s,&(stkframe(s)->pos))
215 f->pos = p;
241 #define pospop(e) (--(e)->pos->cur)
276 * allocate a frame and push a pos onto the stack
282 Pos_t* pos; local
284 if (!(pos = vector(Pos_t, env->pos, env->pos->cur)))
289 pos
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcommon.c1794 size_t pos=0; /* current position in format string */ local
1822 while(pos<formatlen)
1824 if (fmt[pos]!='%') /* regular character */
1828 out[outlen]=fmt[pos];
1830 pos++;
1838 pos++;
1842 switch(fmt[pos])
1885 frmt[frmtpos++]=fmt[pos];
1901 frmt[frmtpos++]=fmt[pos];
1915 frmt[frmtpos++]=fmt[pos]; /* ad
2251 char *pos; local
[all...]
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dedit.c1155 Edpos_t pos; local
1163 pos = curpos;
1164 col = pos.col;
1168 pos.line = 0;
1171 pos.line++;
1190 pos.line++;
1192 pos.col = col;
1193 return(pos);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Ddrive.c694 int pos; local
706 pos = 0;
717 found[pos++] = drives[i];
727 found[pos] = NULL;
777 int pos; local
802 pos = 0;
805 out_array[pos++] = cache_get_desc(DM_ALIAS, diskp,
813 out_array[pos++] = cache_get_desc(DM_ALIAS, diskp,
824 out_array[pos] = NULL;
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c170 int pos = 0; local
189 pos++;
192 return (pos);
402 int pos = 1; local
501 if (needed == pos) {
520 return (pos);
525 pos++;
557 int pos = 1; local
634 pos = 1;
635 while (pos < fieldnu
3279 int pos; local
[all...]

Completed in 80 milliseconds

1234567