Server IP : 68.65.122.142  /  Your IP : 13.58.243.187
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /bin/../lib64/pkcs11/../perl5/bits/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //bin/../lib64/pkcs11/../perl5/bits/byteswap.ph
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;