/macosx-10.10/Libinfo-459/util.subproj/ |
H A D | hton.c | 35 return OSSwapHostToBigInt32(x);
|
/macosx-10.10/Security-57031.1.35/securityd/src/ |
H A D | SharedMemoryServer.cpp | 85 fm[0] = OSSwapHostToBigInt32(domain); 86 fm[1] = OSSwapHostToBigInt32(event); 124 return OSSwapHostToBigInt32 (pCount); 131 *((SegmentOffsetType*) mSegment) = OSSwapHostToBigInt32 (producerCount); 139 *((u_int32_t*) buffer) = OSSwapHostToBigInt32(offset);
|
/macosx-10.10/smb-759.0/kernel/sys5/sys/ |
H A D | smb_byte_order.h | 38 #define htobel(x) (OSSwapHostToBigInt32(x))
|
/macosx-10.10/kext_tools-384.1.4/ |
H A D | mkext1_file.c | 136 mkextHeader->magic = OSSwapHostToBigInt32(MKEXT_MAGIC); 137 mkextHeader->signature = OSSwapHostToBigInt32(MKEXT_SIGN); 138 mkextHeader->version = OSSwapHostToBigInt32(0x01008000); // 'vers' 1.0.0 140 OSSwapHostToBigInt32(CFDictionaryGetCount(kextsByIdentifier)); 141 mkextHeader->cputype = OSSwapHostToBigInt32(arch->cputype); 142 mkextHeader->cpusubtype = OSSwapHostToBigInt32(arch->cpusubtype); 143 mkextHeader->length = OSSwapHostToBigInt32(CFDataGetLength(result)); 146 mkextHeader->adler32 = OSSwapHostToBigInt32(local_adler32( 379 mkextFileEntry->offset = OSSwapHostToBigInt32(origCompressOffset); 380 mkextFileEntry->realsize = OSSwapHostToBigInt32(addedDataFullLengt [all...] |
H A D | kernelcache.c | 98 fatHeader.magic = OSSwapHostToBigInt32(FAT_MAGIC); 99 fatHeader.nfat_arch = OSSwapHostToBigInt32(numArchs); 115 fatArch.cputype = OSSwapHostToBigInt32(targetArch->cputype); 116 fatArch.cpusubtype = OSSwapHostToBigInt32(targetArch->cpusubtype); 117 fatArch.offset = OSSwapHostToBigInt32(fatOffset); 118 fatArch.size = OSSwapHostToBigInt32(sliceLength); 119 fatArch.align = OSSwapHostToBigInt32(0); 765 if (prelinkHeader->signature != OSSwapHostToBigInt32('comp')) { 773 if ( !(prelinkHeader->compressType == OSSwapHostToBigInt32(COMP_TYPE_LZSS) || 774 prelinkHeader->compressType == OSSwapHostToBigInt32(COMP_TYPE_FASTLI [all...] |
/macosx-10.10/smb-759.0/lib/librap/ |
H A D | rap.h | 52 #define getdbe(buf,ofs) OSSwapHostToBigInt32(get32(buf,ofs) 57 #define setdbe(buf,ofs,val) get32(buf,ofs)=OSSwapHostToBigInt32(val)
|
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/ |
H A D | fat_util.h | 42 #define ISFAT(magic) ((magic) == OSSwapHostToBigInt32(FAT_MAGIC))
|
/macosx-10.10/xnu-2782.1.97/osfmk/kdp/ |
H A D | kdp_udp.h | 65 #define htonl(x) OSSwapHostToBigInt32(x)
|
/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/ |
H A D | byte_order.h | 224 return (unsigned int)OSSwapHostToBigInt32((uint32_t)x); 233 return (unsigned long)OSSwapHostToBigInt32((uint32_t)x); 260 return (NXSwappedFloat)OSSwapHostToBigInt32((uint32_t)NXConvertHostFloatToSwapped(x));
|
/macosx-10.10/IOFireWireSBP2-425/IOFireWireSBP2/ |
H A D | IOFireWireSBP2ManagementORB.cpp | 195 fManagementORBAddress.addressLo = OSSwapHostToBigInt32(host_address.addressLo); 240 fManagementORB.statusFIFOAddressHi = OSSwapHostToBigInt32((fStatusBlockAddress.nodeID << 16) | fStatusBlockAddress.addressHi); 241 fManagementORB.statusFIFOAddressLo = OSSwapHostToBigInt32(fStatusBlockAddress.addressLo); 542 fManagementORB.orbOffsetHi = OSSwapHostToBigInt32(0x0000ffff & address.addressHi); 543 fManagementORB.orbOffsetLo = OSSwapHostToBigInt32(0xfffffffc & address.addressLo); 554 queryLoginsORB->queryResponseAddressHi = OSSwapHostToBigInt32(0x0000ffff & fResponseAddress.addressHi); 555 queryLoginsORB->queryResponseAddressLo = OSSwapHostToBigInt32(fResponseAddress.addressLo);
|
H A D | IOFireWireSBP2ORB.cpp | 354 fORBBuffer->nextORBAddressHi = OSSwapHostToBigInt32(0x80000000); 355 fORBBuffer->nextORBAddressLo = OSSwapHostToBigInt32(0x00000000); 362 fORBBuffer->dataDescriptorHi &= OSSwapHostToBigInt32(0x0000ffff); 363 fORBBuffer->dataDescriptorHi |= OSSwapHostToBigInt32(((UInt32)localNode) << 16); 1423 entry.segmentBaseAddressLo = OSSwapHostToBigInt32( (phys & 0x00000000ffffffffULL) ); 1490 if( pte == 1 && !(firstEntry.segmentBaseAddressLo & OSSwapHostToBigInt32(0x00000003)) ) // make sure quadlet aligned 1502 fORBBuffer->dataDescriptorHi = OSSwapHostToBigInt32(fPageTablePhysicalAddress.addressHi); // tbd later 1503 fORBBuffer->dataDescriptorLo = OSSwapHostToBigInt32(fPageTablePhysicalAddress.addressLo); 1512 fORBBuffer->dataDescriptorHi = OSSwapHostToBigInt32(fPageTablePseudoAddress.addressHi); // tbd later 1513 fORBBuffer->dataDescriptorLo = OSSwapHostToBigInt32(fPageTablePseudoAddres [all...] |
H A D | IOFireWireSBP2Login.cpp | 158 fSetBusyTimeoutBuffer = OSSwapHostToBigInt32(0x0000000f); 341 fLoginORBAddress.addressLo = OSSwapHostToBigInt32( host_address.addressLo ); 381 fReconnectORBAddress.addressLo = OSSwapHostToBigInt32( host_address.addressLo ); 441 fLogoutORBAddress.addressLo = OSSwapHostToBigInt32( host_address.addressLo ); 450 fLoginORB.loginResponseAddressHi = OSSwapHostToBigInt32((fLoginResponseAddress.nodeID << 16) | fLoginResponseAddress.addressHi); 451 fLoginORB.loginResponseAddressLo = OSSwapHostToBigInt32(fLoginResponseAddress.addressLo); 455 fLoginORB.statusFIFOAddressHi = OSSwapHostToBigInt32((fStatusBlockAddress.nodeID << 16) | fStatusBlockAddress.addressHi); 456 fLoginORB.statusFIFOAddressLo = OSSwapHostToBigInt32(fStatusBlockAddress.addressLo); 459 fReconnectORB.statusFIFOAddressHi = OSSwapHostToBigInt32((fReconnectStatusBlockAddress.nodeID << 16) | fReconnectStatusBlockAddress.addressHi); 460 fReconnectORB.statusFIFOAddressLo = OSSwapHostToBigInt32(fReconnectStatusBlockAddres [all...] |
/macosx-10.10/IOFireWireAVC-422.4.0/IOFireWireAVC/ |
H A D | IOFireWirePCRSpace.cpp | 92 fBuf[0] = OSSwapHostToBigInt32((2 << kIOFWPCRDataRatePhase) | 98 fBuf[32] = OSSwapHostToBigInt32((2 << kIOFWPCRDataRatePhase) | 261 fBuf[plug] = OSSwapHostToBigInt32(newVal); 395 fBuf[i+1] &= OSSwapHostToBigInt32(0xC0FFFFFF); // Clear P2P field 415 fBuf[i+33] &= OSSwapHostToBigInt32(0xC0FFFFFF); // Clear P2P field
|
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/ |
H A D | IOFireWireIRM.cpp | 101 fBroadcastChannelBuffer = OSSwapHostToBigInt32( kBroadcastChannelInitialValues ); 212 fOldChannelsAvailable31_0 = OSSwapHostToBigInt32( 0xffffffff ); // don't really need to swap of course 219 fBroadcastChannelBuffer = OSSwapHostToBigInt32(kBroadcastChannelInitialValues); 239 fNewChannelsAvailable31_0 = OSSwapHostToBigInt32( host_channels_available ); 305 fBroadcastChannelBuffer = OSSwapHostToBigInt32( kBroadcastChannelInitialValues | kBroadcastChannelValidMask );
|
H A D | IOFWIsochChannel.cpp | 755 UInt32 newVal = OSSwapHostToBigInt32(old_bandwidth - bandwidth); 822 newVal = OSSwapHostToBigInt32( old_channel_hi & ~(1<<(31 - channel)) ); 828 newVal = OSSwapHostToBigInt32( old_channel_lo & ~(1 << (63 - channel)) ); 1064 newVal = OSSwapHostToBigInt32(old_bandwidth - fBandwidth); 1128 UInt32 newVal = OSSwapHostToBigInt32( old_channels_avail & ~mask ); 1288 UInt32 newVal = OSSwapHostToBigInt32( old_bandwidth + fBandwidth ); 1351 UInt32 newVal = OSSwapHostToBigInt32( old_channels_avail | mask );
|
H A D | IOLocalConfigDirectory.cpp | 264 big_val = OSSwapHostToBigInt32( val ); 272 big_header = OSSwapHostToBigInt32( header ); 317 big_val = OSSwapHostToBigInt32( val );
|
H A D | IOFWDCLTranslator.cpp | 461 *packetHeader = OSSwapHostToBigInt32( host_header ); 612 *((UInt32 *) packetBuffer) = OSSwapHostToBigInt32(packetHeader); 647 fPacketHeader = OSSwapHostToBigInt32( chan << kFWIsochChanNumPhase ); 711 fPacketHeader = OSSwapHostToBigInt32( chan << kFWIsochChanNumPhase );
|
/macosx-10.10/architecture-266/ |
H A D | byte_order.h | 234 return (unsigned int)OSSwapHostToBigInt32((uint32_t)x); 243 return (unsigned long)OSSwapHostToBigInt32((uint32_t)x); 270 return (NXSwappedFloat)OSSwapHostToBigInt32((uint32_t)NXConvertHostFloatToSwapped(x));
|
/macosx-10.10/Libc-1044.1.2/posix1e/ |
H A D | acl_translate.c | 69 ext->fsec_magic = OSSwapHostToBigInt32(KAUTH_FILESEC_MAGIC); 73 ext->fsec_entrycount = OSSwapHostToBigInt32(KAUTH_FILESEC_NOACL); 78 ext->fsec_entrycount = OSSwapHostToBigInt32(acl->a_entries); 79 ext->fsec_flags = OSSwapHostToBigInt32(acl->a_flags); 86 OSSwapHostToBigInt32((acl->a_ace[i].ae_tag & KAUTH_ACE_KINDMASK) | (acl->a_ace[i].ae_flags & ~KAUTH_ACE_KINDMASK)); 87 ext->fsec_ace[i].ace_rights = OSSwapHostToBigInt32(acl->a_ace[i].ae_perms); 150 if (ext->fsec_magic != OSSwapHostToBigInt32(KAUTH_FILESEC_MAGIC)) {
|
/macosx-10.10/xnu-2782.1.97/libkern/libkern/ |
H A D | OSByteOrder.h | 79 #define OSSwapHostToBigInt(x) OSSwapHostToBigInt32(x) 187 #define OSSwapHostToBigInt32(x) ((uint32_t)(x)) macro 261 #define OSSwapHostToBigInt32(x) OSSwapInt32(x) macro
|
/macosx-10.10/dyld-353.2.1/launch-cache/ |
H A D | dsc_extractor.cpp | 417 FH->magic = OSSwapHostToBigInt32(FAT_MAGIC); 418 FH->nfat_arch = OSSwapHostToBigInt32(++nfat_archs); 422 FA->offset = OSSwapHostToBigInt32(offsetInFatFile); 424 FA->align = OSSwapHostToBigInt32(12); 434 FA->cputype = OSSwapHostToBigInt32(textMH->cputype()); 435 FA->cpusubtype = OSSwapHostToBigInt32(textMH->cpusubtype()); 456 FA->size = OSSwapHostToBigInt32(totalSize); 465 FA->size = OSSwapHostToBigInt32(newSize);
|
/macosx-10.10/diskdev_cmds-576/edquota.tproj/ |
H A D | edquota.c | 538 dqhdr.dqh_magic = OSSwapHostToBigInt32(quotamagic[type]); 540 dqhdr.dqh_maxentries = OSSwapHostToBigInt32((int32_t)max); 709 tblk.dqb_ihardlimit = OSSwapHostToBigInt32(dqbp->dqb_ihardlimit); 710 tblk.dqb_isoftlimit = OSSwapHostToBigInt32(dqbp->dqb_isoftlimit); 711 tblk.dqb_curinodes = OSSwapHostToBigInt32(dqbp->dqb_curinodes); 712 tblk.dqb_btime = OSSwapHostToBigInt32((int)dqbp->dqb_btime); 713 tblk.dqb_itime = OSSwapHostToBigInt32((int)dqbp->dqb_itime); 714 tblk.dqb_id = OSSwapHostToBigInt32(id);
|
/macosx-10.10/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_quota.c | 484 header.dqh_entrycnt = OSSwapHostToBigInt32(qfp->qf_entrycnt); 831 dqb->dqb_id = OSSwapHostToBigInt32(id); 1029 dqb.dqb_ihardlimit = OSSwapHostToBigInt32(dqblkp->dqb_ihardlimit); 1030 dqb.dqb_isoftlimit = OSSwapHostToBigInt32(dqblkp->dqb_isoftlimit); 1031 dqb.dqb_curinodes = OSSwapHostToBigInt32(dqblkp->dqb_curinodes); 1032 dqb.dqb_btime = OSSwapHostToBigInt32(dqblkp->dqb_btime); 1033 dqb.dqb_itime = OSSwapHostToBigInt32(dqblkp->dqb_itime); 1034 dqb.dqb_id = OSSwapHostToBigInt32(dqblkp->dqb_id);
|
/macosx-10.10/IOFireWireAVC-422.4.0/IOFireWireAVCLib/ |
H A D | IOFireWireAVCLibConsumer.cpp | 776 cmd.plug_offset_lo = OSSwapHostToBigInt32(0xffffffff); // any producer port 779 cmd.connected_plug_offset_lo = OSSwapHostToBigInt32(AddressLo_PortBits(address.addressLo, kAVCConcurrentWrites | kAVCMulticast )); 910 cmd.plug_offset_lo = OSSwapHostToBigInt32(AddressLoToMaskedPortID(me->fRemotePlugAddress.addressLo)); 913 cmd.connected_plug_offset_lo = OSSwapHostToBigInt32(0xffffffff); 1185 cmd.plug_offset_lo = OSSwapHostToBigInt32(AddressLoToMaskedPortID(fRemotePlugAddress.addressLo)); 1188 cmd.connected_plug_offset_lo = OSSwapHostToBigInt32(AddressLoToMaskedPortID(0x00000000)); 1541 status = (*fFWUnit)->CompareSwap( fFWUnit, fService, &fRemotePlugAddress, OSSwapHostToBigInt32(fOutputPlugRegisterBuffer), OSSwapHostToBigInt32(newVal), true, generation ); 1614 endianFixedPlugVal = OSSwapHostToBigInt32(me->fInputPlugRegisterBuffer);
|
/macosx-10.10/IOSCSIParallelFamily-300.0.2/TestTools/AppleSCSIHBAEmulator/ |
H A D | AppleSCSIPDT00Emulator.cpp | 437 data.RETURNED_LOGICAL_BLOCK_ADDRESS = OSSwapHostToBigInt32 ( lastBlock ); 438 data.BLOCK_LENGTH_IN_BYTES = OSSwapHostToBigInt32 ( kBlockSize );
|