Searched refs:ofs (Results 1 - 25 of 51) sorted by relevance

123

/macosx-10.10/smb-759.0/lib/librap/
H A Drap.h46 #define get16(buf,ofs) (*((uint16_t*)(&((uint8_t*)(buf))[ofs])))
47 #define get32(buf,ofs) (*((uint32_t*)(&((uint8_t*)(buf))[ofs])))
49 #define getwle(buf,ofs) OSSwapHostToLittleInt16(get16(buf,ofs)
50 #define getwbe(buf,ofs) OSSwapHostToBigInt16(get16(buf,ofs)
51 #define getdle(buf,ofs) OSSwapHostToLittleInt32(get32(buf,ofs)
[all...]
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_cb_see.c95 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
101 # define _lseeki64(hnd,ofs,whence) _lseek(hnd,ofs,whence)
103 # define _lseeki64(hnd,ofs,whence) _lseek64(hnd,ofs,whence)
110 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
/macosx-10.10/ruby-106/ruby/test/
H A Dwith_different_ofs.rb5 @ofs, $, = $,, "-"
8 $, = @ofs
/macosx-10.10/rsync-45/rsync/
H A Dprogress.c39 OFF_T ofs; member in struct:progress_history
54 * @param ofs Current position in file
60 static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, argument
65 int pct = ofs == size ? 100 : (int) (100.0 * ofs / size);
75 rate = (double) (ofs - ph_start.ofs) * 1000.0 / diff / 1024.0;
82 rate = (double) (ofs - ph_list[oldest_hpos].ofs) * 1000.0
84 remain = rate ? (double) (size - ofs) / rat
123 show_progress(OFF_T ofs, OFF_T size) argument
[all...]
/macosx-10.10/ntfs-84/kext/
H A Dntfs_page.h50 __private_extern__ errno_t ntfs_page_map_ext(ntfs_inode *ni, s64 ofs,
57 * @ofs: byte offset into @ni of which to map a page
63 * Map the page corresponding to byte offset @ofs into the ntfs inode @ni into
72 * Note: @ofs must be page aligned.
77 static inline errno_t ntfs_page_map(ntfs_inode *ni, s64 ofs, upl_t *upl, argument
80 return ntfs_page_map_ext(ni, ofs, upl, pl, kaddr, TRUE, rw);
86 * @ofs: byte offset into @ni of which to map a page
92 * Map the page corresponding to byte offset @ofs into the ntfs inode @ni into
102 * Note: @ofs must be page aligned.
107 static inline errno_t ntfs_page_grab(ntfs_inode *ni, s64 ofs, upl_ argument
[all...]
H A Dntfs_compress.h50 ntfs_inode *raw_ni, s64 ofs, const int start_count,
H A Dntfs_bitmap.c73 u64 ofs, end_ofs; local
97 ofs = (start_bit >> 3) & ~PAGE_MASK_64;
100 err = ntfs_page_map(ni, ofs, &upl, &pl, &kaddr, TRUE);
141 while (ofs < end_ofs) {
146 /* Update @ofs and get the next page. */
147 ofs += PAGE_SIZE;
148 err = ntfs_page_map(ni, ofs, &upl, &pl, &kaddr, TRUE);
H A Dntfs_compress.c85 * @ofs: byte offset of start of compression block
101 static inline int ntfs_get_cb_type(ntfs_inode *ni, s64 ofs) argument
115 (unsigned long long)ofs);
116 vcn = start_vcn = ofs >> ni->vol->cluster_size_shift;
562 * @ofs: byte offset into uncompressed data stream to read from
593 s64 ofs, init_size, raw_size, size; local
604 ofs = ofs_start;
618 if (ofs & PAGE_MASK || count & PAGE_MASK)
622 (unsigned long long)ofs, count, PAGE_SIZE);
641 if (ofs > n
[all...]
H A Dntfs_page.c343 * @ofs: byte offset into @ni of which to map a page
350 * Map the page corresponding to byte offset @ofs into the ntfs inode @ni into
362 * Note: @ofs must be page aligned.
369 errno_t ntfs_page_map_ext(ntfs_inode *ni, s64 ofs, upl_t *upl, argument
380 (unsigned long long)ofs,
382 if (ofs & PAGE_MASK)
384 __FUNCTION__, (unsigned long long)ofs);
390 if (ofs > size) {
393 (unsigned long long)ofs,
399 kerr = ubc_create_upl(ni->vn, ofs, PAGE_SIZ
[all...]
H A Dntfs_dir.c818 * @ofs: offset (containing tag and B+tree position) for hint to get
821 * @ni for a directory hint with an offset @ofs. If found return that hint and
834 static ntfs_dirhint *ntfs_dirhint_get(ntfs_inode *ni, unsigned ofs) argument
848 if (ofs & ~NTFS_DIR_POS_MASK) {
850 if (dh->ofs == ofs)
892 dh->ofs = ofs;
1056 off_t ofs; local
1071 ofs
[all...]
H A Dntfs_dir.h89 unsigned ofs; member in struct:_ntfs_dirhint
H A Dntfs_attr.h238 __private_extern__ errno_t ntfs_attr_set(ntfs_inode *ni, s64 ofs,
242 const s64 ofs, const u32 cnt, u8 *buf);
244 u32 cnt, const s64 ofs);
H A Dntfs_vnops.c126 s64 ofs, data_size, init_size; local
142 ofs = (s64)buf_lblkno(cbp) << PAGE_SHIFT;
152 if (ofs + size > init_size) {
153 if (ofs > data_size) {
161 if (ofs > init_size) {
168 size = init_size - ofs;
228 s64 ofs, data_size, init_size; local
247 ofs = (s64)buf_lblkno(buf) << ni->block_size_shift;
258 if (ofs + size > init_size) {
259 if (ofs > data_siz
337 s64 ofs, max_end_io; local
2437 off_t ofs; local
2772 off_t ofs; local
3101 off_t old_ofs, ofs; local
[all...]
H A Dntfs_attr.c839 unsigned len, ofs; local
842 ofs = le16_to_cpu(a->name_offset);
843 if (ofs + (len * sizeof(ntfschar)) >
847 (ntfschar*)((u8*)a + ofs), len,
852 (ntfschar*)((u8*)a + ofs), len,
867 (ntfschar*)((u8*)a + ofs), len,
884 unsigned len, ofs; local
888 ofs = le16_to_cpu(a->value_offset);
889 if (ofs + len > le32_to_cpu(a->length))
891 rc = memcmp(val, (u8*)a + ofs,
3803 unsigned ofs; local
4074 s64 size, old_init_size, ofs; local
8810 ntfs_attr_set(ntfs_inode *ni, s64 ofs, const s64 cnt, const u8 val) argument
8935 ntfs_resident_attr_read(ntfs_inode *ni, const s64 ofs, const u32 cnt, u8 *buf) argument
9029 ntfs_resident_attr_write(ntfs_inode *ni, u8 *buf, u32 cnt, const s64 ofs) argument
[all...]
H A Dntfs_runlist.h178 const s64 size, ntfs_runlist *runlist, s64 ofs, const s64 cnt);
H A Dntfs_runlist.c1138 const s64 ofs = vcn - rl[i].vcn; local
1140 *clusters = rl[i].length - ofs;
1142 return rl[i].lcn + ofs;
2223 * @ofs: offset into buffer/runlist at which to start writing
2224 * @cnt: number of bytes to write starting at @ofs or zero
2227 * offset @ofs into @src to the corresponding clusters as specified by the
2228 * runlist starting at offset @ofs into the runlist. If @cnt is not zero it is
2229 * the number of bytes to write starting at @ofs. If @cnt is zero we write
2232 * Note @ofs will be aligned to a device block boundary and @cnt will be
2245 ntfs_runlist *runlist, s64 ofs, cons
2244 ntfs_rl_write(ntfs_volume *vol, u8 *src, const s64 size, ntfs_runlist *runlist, s64 ofs, const s64 cnt) argument
[all...]
/macosx-10.10/libpcap-48/libpcap/msdos/
H A Dpktdrvr.c363 static char pktStr[9] = "PKT DRVR"; /* ASCIIZ string at ofs 3 */
828 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs); local
830 if (ofs != _farpeekw (_dos_ds, realBase+rxInOfs))
835 head.firstCount = _farpeekw (_dos_ds, realBase+ofs);
836 head.secondCount = _farpeekw (_dos_ds, realBase+ofs+2);
837 head.handle = _farpeekw (_dos_ds, realBase+ofs+4);
843 dosmemget (realBase+ofs+6, len, buf);
848 ofs += sizeof (RX_ELEMENT);
849 if (ofs > LAST_RX_BUF)
851 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs);
859 WORD ofs; local
894 WORD ofs = *(WORD*) (realBase+rxOutOfs); local
925 WORD ofs; local
1246 unsigned sel, ofs; local
[all...]
/macosx-10.10/gpt-12/
H A Dmigrate.c71 off_t ofs, rawofs; local
89 ofs = le32toh(dl->d_partitions[i].p_offset) *
91 if (ofs < rawofs)
134 ofs = (le32toh(dl->d_partitions[i].p_offset) *
136 ofs = (ofs > 0) ? ofs - rawofs : 0;
137 ent->ent_lba_start = htole64(start + ofs);
138 ent->ent_lba_end = htole64(start + ofs +
H A Dboot.c117 off_t bsize, ofs; local
211 ofs = gptboot->map_start * secsz;
212 if (lseek(fd, ofs, SEEK_SET) != ofs) {
H A Dgpt.c384 off_t ofs; local
392 ofs = lba * secsz;
393 if (lseek(fd, ofs, SEEK_SET) == ofs &&
404 off_t ofs; local
408 ofs = map->map_start * secsz;
409 if (lseek(fd, ofs, SEEK_SET) == ofs &&
/macosx-10.10/ruby-106/ruby/test/psych/
H A Dhelper.rb50 ofs = (hour + min)
51 val = Time.at( val.tv_sec - ofs, val.tv_nsec / 1000.0 )
/macosx-10.10/text_cmds-88/csplit/
H A Dcsplit.c359 long ofs; local
374 ofs = strtol(pofs, &ep, 10);
378 ofs = 0;
405 if (ofs <= 0) {
411 toomuch(ofp, -ofs + 1);
420 while (--ofs > 0 && (p = csplit_getline()) != NULL)
/macosx-10.10/ruby-106/ruby/lib/xmlrpc/
H A Dparser.rb109 ofs = $8.to_i*3600 + $9.to_i*60
110 ofs = -ofs if $7=='+'
111 utc = Time.utc(*a) + ofs
123 ofs = $8.to_i*3600 + $9.to_i*60
124 ofs = -ofs if $7=='+'
125 utc = Time.utc(*a) + ofs
/macosx-10.10/msdosfs-209.1.1/
H A Dmsdosfs.py729 ofs = offset % bytesPerCluster
730 if ofs:
732 length = bytesPerCluster - ofs
735 result.append(buf[ofs:ofs+length])
772 ofs = offset % bytesPerCluster
773 if ofs:
775 length = bytesPerCluster - ofs
778 buf = buf[0:ofs] + bytes[0:length] + buf[ofs
[all...]
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/
H A Delfxx-ia64.c185 bfd_size_type ofs; member in struct:elfNN_ia64_allocate_data
1349 data.ofs = 0;
1355 ia64_info->got_sec->size = data.ofs;
3152 dyn_i->got_offset = x->ofs;
3153 x->ofs += 8;
3157 dyn_i->tprel_offset = x->ofs;
3158 x->ofs += 8;
3164 dyn_i->dtpmod_offset = x->ofs;
3165 x->ofs += 8;
3174 ia64_info->self_dtpmod_offset = x->ofs;
3337 bfd_size_type ofs = x->ofs; local
[all...]

Completed in 318 milliseconds

123