require '_h2ph_pre.ph'; no warnings qw(redefine misc); if(!defined (&_BYTESWAP_H) && !defined (&_NETINET_IN_H) && !defined (&_ENDIAN_H)) { die("Never use <bits/byteswap.h> directly; include <byteswap.h> instead."); } unless(defined(&_BITS_BYTESWAP_H)) { eval 'sub _BITS_BYTESWAP_H () {1;}' unless defined(&_BITS_BYTESWAP_H); require 'features.ph'; require 'bits/types.ph'; eval 'sub __bswap_constant_16 { my($x) = @_; eval q((( &__uint16_t) (((($x) >> 8) & 0xff) | ((($x) & 0xff) << 8)))); }' unless defined(&__bswap_constant_16); # some #ifdef were dropped here -- fill in the blanks eval 'sub __bswap_16 { my($__bsx) = @_; eval q({ }); }' unless defined(&__bswap_16); eval 'sub __bswap_constant_32 { my($x) = @_; eval q((((($x) & 0xff000000) >> 24) | ((($x) & 0xff0000) >> 8) | ((($x) & 0xff00) << 8) | ((($x) & 0xff) << 24))); }' unless defined(&__bswap_constant_32); # some #ifdef were dropped here -- fill in the blanks eval 'sub __bswap_32 { my($__bsx) = @_; eval q({ }); }' unless defined(&__bswap_32); eval 'sub __bswap_constant_64 { my($x) = @_; eval q((((($x) & 0xff00000000000000) >> 56) | ((($x) & 0xff000000000000) >> 40) | ((($x) & 0xff0000000000) >> 24) | ((($x) & 0xff00000000) >> 8) | ((($x) & 0xff000000) << 8) | ((($x) & 0xff0000) << 24) | ((($x) & 0xff00) << 40) | ((($x) & 0xff) << 56))); }' unless defined(&__bswap_constant_64); # some #ifdef were dropped here -- fill in the blanks eval 'sub __bswap_64 { my($__bsx) = @_; eval q({ }); }' unless defined(&__bswap_64); } 1;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
types | Folder | 0755 |
|
|
byteswap.ph | File | 1.6 KB | 0644 |
|
endian.ph | File | 1.01 KB | 0644 |
|
endianness.ph | File | 385 B | 0644 |
|
ioctl-types.ph | File | 1.72 KB | 0644 |
|
ioctls.ph | File | 3.74 KB | 0644 |
|
long-double.ph | File | 153 B | 0644 |
|
pthreadtypes-arch.ph | File | 2.22 KB | 0644 |
|
pthreadtypes.ph | File | 492 B | 0644 |
|
select.ph | File | 1.36 KB | 0644 |
|
select2.ph | File | 490 B | 0644 |
|
sigaction.ph | File | 1.68 KB | 0644 |
|
sigcontext.ph | File | 889 B | 0644 |
|
sigevent-consts.ph | File | 620 B | 0644 |
|
siginfo-arch.ph | File | 465 B | 0644 |
|
siginfo-consts-arch.ph | File | 207 B | 0644 |
|
siginfo-consts.ph | File | 4.17 KB | 0644 |
|
signal_ext.ph | File | 200 B | 0644 |
|
signum-generic.ph | File | 2.66 KB | 0644 |
|
signum.ph | File | 1.5 KB | 0644 |
|
sigstack.ph | File | 441 B | 0644 |
|
sigthread.ph | File | 385 B | 0644 |
|
sockaddr.ph | File | 507 B | 0644 |
|
socket-constants.ph | File | 1.13 KB | 0644 |
|
socket.ph | File | 11.58 KB | 0644 |
|
socket2.ph | File | 177 B | 0644 |
|
socket_type.ph | File | 766 B | 0644 |
|
ss_flags.ph | File | 443 B | 0644 |
|
stdint-intn.ph | File | 212 B | 0644 |
|
struct_mutex.ph | File | 1019 B | 0644 |
|
struct_rwlock.ph | File | 943 B | 0644 |
|
syscall.ph | File | 73.24 KB | 0644 |
|
syslog-ldbl.ph | File | 355 B | 0644 |
|
syslog-path.ph | File | 363 B | 0644 |
|
syslog.ph | File | 404 B | 0644 |
|
thread-shared-types.ph | File | 306 B | 0644 |
|
time64.ph | File | 530 B | 0644 |
|
timesize.ph | File | 262 B | 0644 |
|
types.ph | File | 2.78 KB | 0644 |
|
typesizes.ph | File | 4.29 KB | 0644 |
|
uintn-identity.ph | File | 631 B | 0644 |
|
waitflags.ph | File | 1.24 KB | 0644 |
|
waitstatus.ph | File | 1.54 KB | 0644 |
|
wordsize.ph | File | 743 B | 0644 |
|