/macosx-10.9.5/smb-697.95.1/lib/librap/ |
H A D | rap.h | 46 #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.9.5/curl-78.94.1/curl/src/ |
H A D | tool_cb_see.c | 95 # 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.9.5/ruby-104/ruby/test/ |
H A D | with_different_ofs.rb | 5 @ofs, $, = $,, "-" 8 $, = @ofs
|
/macosx-10.9.5/rsync-42/rsync/ |
H A D | progress.c | 39 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.9.5/ntfs-83/kext/ |
H A D | ntfs_page.h | 50 __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 D | ntfs_compress.h | 50 ntfs_inode *raw_ni, s64 ofs, const int start_count,
|
H A D | ntfs_bitmap.c | 73 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 D | ntfs_compress.c | 85 * @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 D | ntfs_page.c | 343 * @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 D | ntfs_dir.c | 818 * @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 D | ntfs_dir.h | 89 unsigned ofs; member in struct:_ntfs_dirhint
|
H A D | ntfs_attr.h | 238 __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 D | ntfs_vnops.c | 126 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 D | ntfs_attr.c | 839 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 D | ntfs_runlist.h | 178 const s64 size, ntfs_runlist *runlist, s64 ofs, const s64 cnt);
|
/macosx-10.9.5/libpcap-42/libpcap/msdos/ |
H A D | pktdrvr.c | 363 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.9.5/gpt-12/ |
H A D | migrate.c | 71 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 D | boot.c | 117 off_t bsize, ofs; local 211 ofs = gptboot->map_start * secsz; 212 if (lseek(fd, ofs, SEEK_SET) != ofs) {
|
/macosx-10.9.5/ruby-104/ruby/test/psych/ |
H A D | helper.rb | 50 ofs = (hour + min) 51 val = Time.at( val.tv_sec - ofs, val.tv_nsec / 1000.0 )
|
/macosx-10.9.5/text_cmds-87/csplit/ |
H A D | csplit.c | 359 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.9.5/ruby-104/ruby/lib/xmlrpc/ |
H A D | parser.rb | 109 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.9.5/msdosfs-198/ |
H A D | msdosfs.py | 668 ofs = offset % bytesPerCluster 669 if ofs: 671 length = bytesPerCluster - ofs 674 result.append(buf[ofs:ofs+length]) 711 ofs = offset % bytesPerCluster 712 if ofs: 714 length = bytesPerCluster - ofs 717 buf = buf[0:ofs] + bytes[0:length] + buf[ofs [all...] |
/macosx-10.9.5/WebKit-7537.78.2/qt/WebCoreSupport/ |
H A D | ChromeClientQt.cpp | 466 const QPoint ofs = m_webPage->mainFrameAdapter()->scrollPosition(); local 467 IntSize currentPosition(ofs.x(), ofs.y()); 673 const QPoint ofs = m_webPage->mainFrameAdapter()->scrollPosition(); local 674 IntSize offset(ofs.x(), ofs.y());
|
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/ |
H A D | elfxx-ia64.c | 185 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...] |
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/Security/ |
H A D | sslHandshake.c | 1141 size_t ofs = 0; local 1160 sslHdskMsgDebug("Fragmenting msg seq %d (o=%d,l=%d)", (int)seq, (int)ofs, (int)fraglen); 1163 SSLEncodeSize(fragrec.contents.data+6, ofs, 3); 1166 memcpy(fragrec.contents.data+msghead, rec.contents.data+msghead+ofs, fraglen); 1170 ofs+=fraglen; 1173 sslHdskMsgDebug("Fragmenting msg seq %d - Last Fragment (o=%d,l=%d)", (int)seq, (int)ofs, (int)len); 1177 SSLEncodeSize(fragrec.contents.data+6, ofs, 3); 1180 memcpy(fragrec.contents.data+msghead, rec.contents.data+msghead+ofs, len);
|