Searched refs:getushort (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10.1/libfs-13/
H A Dbpb.h57 #define getushort(x) *((u_int16_t *)(x)) macro
60 #define getushort(x) (((u_int8_t *)(x))[0] + (((u_int8_t *)(x))[1] << 8)) macro
H A DFSFormatName.c535 BytesPerSector = getushort(b710->bpbBytesPerSec);
546 RootDirSectors = ((getushort(b710->bpbRootDirEnts) * 32) + (BytesPerSector - 1)) / BytesPerSector;
548 if (getushort(b710->bpbFATsecs)) {
549 FATSectors = getushort(b710->bpbFATsecs);
554 if (getushort(b710->bpbSectors)) {
555 TotalSectors = getushort(b710->bpbSectors);
560 DataSectors = TotalSectors - (getushort(b710->bpbResSectors) + (b710->bpbFATs * FATSectors) + RootDirSectors);
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/ico/
H A Dico0.tcl377 proc ::ico::getushort {fh} {
1033 set shift [expr {int(pow(2, [getushort $fh]))}]
1034 while {[set type [expr {[getushort $fh] & 0x7fff}]] != 0} {
1035 set num [getushort $fh]
1043 set ICONS($file,$idx) [expr {[getushort $fh] * $shift}]
1080 set entries [expr {[getushort $fh] + [getushort $fh]}]
1087 set entries2 [expr {[getushort $fh] + [getushort $fh]}]
1094 set entries3 [expr {[getushort
[all...]
H A Dico.tcl536 proc ::ico::getushort {fh} {
1242 set shift [expr {int(pow(2, [getushort $fh]))}]
1243 while {[set type [expr {[getushort $fh] & 0x7fff}]] != 0} {
1244 set num [getushort $fh]
1252 set offset [expr {[getushort $fh] * $shift}]
1254 set name [getNEResName $fh $base [getushort $fh]]
1320 set entries [expr {[getushort $fh] + [getushort $fh]}]
1329 set entries2 [expr {[getushort $fh] + [getushort
[all...]

Completed in 72 milliseconds