proxygen
Portability.h File Reference
#include <cstddef>
#include <folly/CPortability.h>
#include <folly/portability/Config.h>

Go to the source code of this file.

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Macros

#define FOLLY_PRINTF_FORMAT
 
#define FOLLY_PRINTF_FORMAT_ATTR(format_param, dots_param)   __attribute__((__format__(__printf__, format_param, dots_param)))
 
#define FOLLY_NODISCARD
 
#define FOLLY_TARGET_ATTRIBUTE(target)   __attribute__((__target__(target)))
 
#define FOLLY_X64   0
 
#define FOLLY_ARM   0
 
#define FOLLY_AARCH64   0
 
#define FOLLY_PPC64   0
 
#define FOLLY_PACK_ATTR
 
#define FOLLY_PACK_PUSH
 
#define FOLLY_PACK_POP
 
#define FOLLY_PUSH_WARNING
 
#define FOLLY_POP_WARNING
 
#define FOLLY_GNU_DISABLE_WARNING(warningName)
 
#define FOLLY_GCC_DISABLE_WARNING(warningName)
 
#define FOLLY_CLANG_DISABLE_WARNING(warningName)
 
#define FOLLY_MSVC_DISABLE_WARNING(warningNumber)
 
#define FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS   /* empty */
 
#define FOLLY_NAMESPACE_STD_BEGIN   namespace std {
 
#define FOLLY_NAMESPACE_STD_END   }
 
#define FOLLY_GLIBCXX_NAMESPACE_CXX11_BEGIN
 
#define FOLLY_GLIBCXX_NAMESPACE_CXX11_END
 
#define FOLLY_SSE   0
 
#define FOLLY_SSE_MINOR   0
 
#define FOLLY_SSE_PREREQ(major, minor)   (FOLLY_SSE > major || FOLLY_SSE == major && FOLLY_SSE_MINOR >= minor)
 
#define FOLLY_STATIC_CTOR_PRIORITY_MAX   __attribute__((__init_priority__(102)))
 
#define FOLLY_USE_CPP14_CONSTEXPR   0
 
#define FOLLY_CPP14_CONSTEXPR   inline
 
#define FOLLY_STORAGE_CONSTEXPR   constexpr
 
#define FOLLY_STORAGE_CPP14_CONSTEXPR
 
#define FOLLY_HAS_EXCEPTIONS   1
 
#define FOLLY_HAS_STRING_VIEW   0
 

Variables

constexpr bool folly::kHasUnalignedAccess = false
 
constexpr bool folly::kIsArchArm = 0 == 1
 
constexpr bool folly::kIsArchAmd64 = 0 == 1
 
constexpr bool folly::kIsArchAArch64 = 0 == 1
 
constexpr bool folly::kIsArchPPC64 = 0 == 1
 
constexpr bool folly::kIsSanitizeAddress = false
 
constexpr bool folly::kIsSanitizeThread = false
 
constexpr bool folly::kIsSanitize = false
 
constexpr auto folly::kIsDebug = true
 
constexpr auto folly::kIsLittleEndian = __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 
constexpr auto folly::kIsBigEndian = !kIsLittleEndian
 
constexpr auto folly::kIsObjC = false
 
constexpr auto folly::kIsMobile = false
 
constexpr auto folly::kIsLinux = false
 
constexpr auto folly::kIsWindows = false
 
constexpr auto folly::kIsGlibcxx = false
 
constexpr auto folly::kIsLibcpp = false
 
constexpr auto folly::kIsLibstdcpp = false
 
constexpr auto folly::kMscVer = 0
 
constexpr auto folly::kMicrosoftAbiVer = 0
 
constexpr auto folly::kCpplibVer = 0
 

Macro Definition Documentation

#define FOLLY_AARCH64   0

Definition at line 91 of file Portability.h.

#define FOLLY_ARM   0

Definition at line 85 of file Portability.h.

#define FOLLY_CLANG_DISABLE_WARNING (   warningName)

Definition at line 182 of file Portability.h.

#define FOLLY_GCC_DISABLE_NEW_SHADOW_WARNINGS   /* empty */

Definition at line 192 of file Portability.h.

#define FOLLY_GCC_DISABLE_WARNING (   warningName)
#define FOLLY_GLIBCXX_NAMESPACE_CXX11_BEGIN

Definition at line 237 of file Portability.h.

#define FOLLY_GLIBCXX_NAMESPACE_CXX11_END

Definition at line 238 of file Portability.h.

#define FOLLY_GNU_DISABLE_WARNING (   warningName)
#define FOLLY_HAS_EXCEPTIONS   1

Definition at line 482 of file Portability.h.

#define FOLLY_HAS_STRING_VIEW   0

Definition at line 498 of file Portability.h.

#define FOLLY_MSVC_DISABLE_WARNING (   warningNumber)
#define FOLLY_NAMESPACE_STD_BEGIN   namespace std {

Definition at line 226 of file Portability.h.

Referenced by folly::operator>=().

#define FOLLY_NAMESPACE_STD_END   }

Definition at line 227 of file Portability.h.

Referenced by hash< folly::Optional< T > >::operator()().

#define FOLLY_NODISCARD
#define FOLLY_PACK_ATTR

Definition at line 144 of file Portability.h.

#define FOLLY_PACK_POP

Definition at line 146 of file Portability.h.

#define FOLLY_PACK_PUSH

Definition at line 145 of file Portability.h.

#define FOLLY_PPC64   0

Definition at line 97 of file Portability.h.

#define FOLLY_PRINTF_FORMAT

Definition at line 47 of file Portability.h.

Referenced by folly::io::Appender::pushAtMost(), and folly::uriUnescape().

#define FOLLY_PRINTF_FORMAT_ATTR (   format_param,
  dots_param 
)    __attribute__((__format__(__printf__, format_param, dots_param)))

Definition at line 48 of file Portability.h.

Referenced by folly::io::Appender::pushAtMost(), and folly::uriUnescape().

#define FOLLY_SSE   0

Definition at line 303 of file Portability.h.

#define FOLLY_SSE_MINOR   0

Definition at line 304 of file Portability.h.

#define FOLLY_SSE_PREREQ (   major,
  minor 
)    (FOLLY_SSE > major || FOLLY_SSE == major && FOLLY_SSE_MINOR >= minor)

Definition at line 308 of file Portability.h.

#define FOLLY_STATIC_CTOR_PRIORITY_MAX   __attribute__((__init_priority__(102)))
#define FOLLY_STORAGE_CONSTEXPR   constexpr

Definition at line 445 of file Portability.h.

#define FOLLY_STORAGE_CPP14_CONSTEXPR

Definition at line 450 of file Portability.h.

#define FOLLY_TARGET_ATTRIBUTE (   target)    __attribute__((__target__(target)))

Definition at line 72 of file Portability.h.

#define FOLLY_USE_CPP14_CONSTEXPR   0

Definition at line 417 of file Portability.h.

#define FOLLY_X64   0

Definition at line 79 of file Portability.h.