43 #if (defined(__linux) || defined(__APPLE__)) && \ 44 (defined(__i386__) || defined(__x86_64__)) && \ 50 #if defined(__INTEL_COMPILER) && __INTEL_COMPILER < 1000 54 #if defined(R__USEASMSWAP) && !defined(__CINT__) 73 # if defined(R__USEASMSWAP) 78 char *sw = (
char *) intermediary;
91 # if defined(R__USEASMSWAP) 95 const UInt_t *intermediary = &
x;
96 char *sw = (
char *)intermediary;
103 memcpy(buf, &x,
sizeof(
UInt_t));
113 char *sw = (
char *)intermediary;
141 memcpy(buf+4, &x, 4);
151 const Long_t *intermediary = &
x;
152 char *sw = (
char *)intermediary;
153 if (
sizeof(
Long_t) == 8) {
180 if (
sizeof(
Long_t) == 8) {
194 memcpy(buf+4, &x, 4);
203 # if defined(R__USEASMSWAP) 208 char *sw = (
char *)intermediary;
227 # if defined(R__USEASMSWAP) 246 memcpy(buf, &x,
sizeof(
Float_t));
254 # if defined(R__USEASMSWAP) 297 # if defined(R__USEASMSWAP) 300 char *sw = (
char *)x;
313 # if defined(R__USEASMSWAP) 316 char *sw = (
char *)x;
323 memcpy(x, buf,
sizeof(
UInt_t));
331 char *sw = (
char *)x;
360 # if defined(R__USEASMSWAP) 363 char *sw = (
char *)x;
382 # if defined(R__USEASMSWAP) 402 memcpy(x, buf,
sizeof(
Float_t));
410 # if defined(R__USEASMSWAP) 455 #if defined(R__USEASMSWAP) 458 return (((x & 0x00ff) << 8) | ((x & 0xff00) >> 8));
464 #if defined(R__USEASMSWAP) 467 return (((x & 0x000000ffU) << 24) | ((x & 0x0000ff00U) << 8) |
468 ((x & 0x00ff0000U) >> 8) | ((x & 0xff000000U) >> 24));
475 # if defined(R__USEASMSWAP) 482 char *sb = (
char *)&x;
500 #if defined(R__USEASMSWAP) 507 char *sb = (
char *)&x;
528 #if defined(R__USEASMSWAP) 531 u.i = (((u.i & 0x000000ffU) << 24) | ((u.i & 0x0000ff00U) << 8) |
532 ((u.i & 0x00ff0000U) >> 8) | ((u.i & 0xff000000U) >> 24));
539 #if defined(R__USEASMSWAP) 546 u.l = Rbswap_64(u.l);
553 char *sb = (
char *)&x;
void frombuf(char *&buf, Bool_t *x)
UShort_t net2host(UShort_t x)
void tobuf(char *&buf, Bool_t x)
static const double x1[5]
unsigned long long ULong64_t
UShort_t host2net(UShort_t x)