Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../proc/self/root/usr/include
File: endian.h
/* Copyright (C) 1992-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _ENDIAN_H
[17] Fix | Delete
#define _ENDIAN_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
[21] Fix | Delete
/* Definitions for byte order, according to significance of bytes,
[22] Fix | Delete
from low addresses to high addresses. The value is what you get by
[23] Fix | Delete
putting '4' in the most significant byte, '3' in the second most
[24] Fix | Delete
significant byte, '2' in the second least significant byte, and '1'
[25] Fix | Delete
in the least significant byte, and then writing down one digit for
[26] Fix | Delete
each byte, starting with the byte at the lowest address at the left,
[27] Fix | Delete
and proceeding to the byte with the highest address at the right. */
[28] Fix | Delete
[29] Fix | Delete
#define __LITTLE_ENDIAN 1234
[30] Fix | Delete
#define __BIG_ENDIAN 4321
[31] Fix | Delete
#define __PDP_ENDIAN 3412
[32] Fix | Delete
[33] Fix | Delete
/* This file defines `__BYTE_ORDER' for the particular machine. */
[34] Fix | Delete
#include <bits/endian.h>
[35] Fix | Delete
[36] Fix | Delete
/* Some machines may need to use a different endianness for floating point
[37] Fix | Delete
values. */
[38] Fix | Delete
#ifndef __FLOAT_WORD_ORDER
[39] Fix | Delete
# define __FLOAT_WORD_ORDER __BYTE_ORDER
[40] Fix | Delete
#endif
[41] Fix | Delete
[42] Fix | Delete
#ifdef __USE_MISC
[43] Fix | Delete
# define LITTLE_ENDIAN __LITTLE_ENDIAN
[44] Fix | Delete
# define BIG_ENDIAN __BIG_ENDIAN
[45] Fix | Delete
# define PDP_ENDIAN __PDP_ENDIAN
[46] Fix | Delete
# define BYTE_ORDER __BYTE_ORDER
[47] Fix | Delete
#endif
[48] Fix | Delete
[49] Fix | Delete
#if __BYTE_ORDER == __LITTLE_ENDIAN
[50] Fix | Delete
# define __LONG_LONG_PAIR(HI, LO) LO, HI
[51] Fix | Delete
#elif __BYTE_ORDER == __BIG_ENDIAN
[52] Fix | Delete
# define __LONG_LONG_PAIR(HI, LO) HI, LO
[53] Fix | Delete
#endif
[54] Fix | Delete
[55] Fix | Delete
[56] Fix | Delete
#if defined __USE_MISC && !defined __ASSEMBLER__
[57] Fix | Delete
/* Conversion interfaces. */
[58] Fix | Delete
# include <bits/byteswap.h>
[59] Fix | Delete
# include <bits/uintn-identity.h>
[60] Fix | Delete
[61] Fix | Delete
# if __BYTE_ORDER == __LITTLE_ENDIAN
[62] Fix | Delete
# define htobe16(x) __bswap_16 (x)
[63] Fix | Delete
# define htole16(x) __uint16_identity (x)
[64] Fix | Delete
# define be16toh(x) __bswap_16 (x)
[65] Fix | Delete
# define le16toh(x) __uint16_identity (x)
[66] Fix | Delete
[67] Fix | Delete
# define htobe32(x) __bswap_32 (x)
[68] Fix | Delete
# define htole32(x) __uint32_identity (x)
[69] Fix | Delete
# define be32toh(x) __bswap_32 (x)
[70] Fix | Delete
# define le32toh(x) __uint32_identity (x)
[71] Fix | Delete
[72] Fix | Delete
# define htobe64(x) __bswap_64 (x)
[73] Fix | Delete
# define htole64(x) __uint64_identity (x)
[74] Fix | Delete
# define be64toh(x) __bswap_64 (x)
[75] Fix | Delete
# define le64toh(x) __uint64_identity (x)
[76] Fix | Delete
[77] Fix | Delete
# else
[78] Fix | Delete
# define htobe16(x) __uint16_identity (x)
[79] Fix | Delete
# define htole16(x) __bswap_16 (x)
[80] Fix | Delete
# define be16toh(x) __uint16_identity (x)
[81] Fix | Delete
# define le16toh(x) __bswap_16 (x)
[82] Fix | Delete
[83] Fix | Delete
# define htobe32(x) __uint32_identity (x)
[84] Fix | Delete
# define htole32(x) __bswap_32 (x)
[85] Fix | Delete
# define be32toh(x) __uint32_identity (x)
[86] Fix | Delete
# define le32toh(x) __bswap_32 (x)
[87] Fix | Delete
[88] Fix | Delete
# define htobe64(x) __uint64_identity (x)
[89] Fix | Delete
# define htole64(x) __bswap_64 (x)
[90] Fix | Delete
# define be64toh(x) __uint64_identity (x)
[91] Fix | Delete
# define le64toh(x) __bswap_64 (x)
[92] Fix | Delete
# endif
[93] Fix | Delete
#endif
[94] Fix | Delete
[95] Fix | Delete
#endif /* endian.h */
[96] Fix | Delete
[97] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function