codekingpro/portable-devtools
114k
1// -*- C++ -*-2//===--------------------------- cstdint ----------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCUDACXX_CSTDINT11#define _LIBCUDACXX_CSTDINT12 13/*14 cstdint synopsis15 16Macros:17 18 INT8_MIN19 INT16_MIN20 INT32_MIN21 INT64_MIN22 23 INT8_MAX24 INT16_MAX25 INT32_MAX26 INT64_MAX27 28 UINT8_MAX29 UINT16_MAX30 UINT32_MAX31 UINT64_MAX32 33 INT_LEAST8_MIN34 INT_LEAST16_MIN35 INT_LEAST32_MIN36 INT_LEAST64_MIN37 38 INT_LEAST8_MAX39 INT_LEAST16_MAX40 INT_LEAST32_MAX41 INT_LEAST64_MAX42 43 UINT_LEAST8_MAX44 UINT_LEAST16_MAX45 UINT_LEAST32_MAX46 UINT_LEAST64_MAX47 48 INT_FAST8_MIN49 INT_FAST16_MIN50 INT_FAST32_MIN51 INT_FAST64_MIN52 53 INT_FAST8_MAX54 INT_FAST16_MAX55 INT_FAST32_MAX56 INT_FAST64_MAX57 58 UINT_FAST8_MAX59 UINT_FAST16_MAX60 UINT_FAST32_MAX61 UINT_FAST64_MAX62 63 INTPTR_MIN64 INTPTR_MAX65 UINTPTR_MAX66 67 INTMAX_MIN68 INTMAX_MAX69 70 UINTMAX_MAX71 72 PTRDIFF_MIN73 PTRDIFF_MAX74 75 SIG_ATOMIC_MIN76 SIG_ATOMIC_MAX77 78 SIZE_MAX79 80 WCHAR_MIN81 WCHAR_MAX82 83 WINT_MIN84 WINT_MAX85 86 INT8_C(value)87 INT16_C(value)88 INT32_C(value)89 INT64_C(value)90 91 UINT8_C(value)92 UINT16_C(value)93 UINT32_C(value)94 UINT64_C(value)95 96 INTMAX_C(value)97 UINTMAX_C(value)98 99namespace std100{101 102Types:103 104 int8_t105 int16_t106 int32_t107 int64_t108 109 uint8_t110 uint16_t111 uint32_t112 uint64_t113 114 int_least8_t115 int_least16_t116 int_least32_t117 int_least64_t118 119 uint_least8_t120 uint_least16_t121 uint_least32_t122 uint_least64_t123 124 int_fast8_t125 int_fast16_t126 int_fast32_t127 int_fast64_t128 129 uint_fast8_t130 uint_fast16_t131 uint_fast32_t132 uint_fast64_t133 134 intptr_t135 uintptr_t136 137 intmax_t138 uintmax_t139 140} // std141*/142 143#ifndef __cuda_std__144#include <__config>145#else146#include "__cuda/cstdint_prelude.h"147#endif //__cuda_std__148 149#ifndef _LIBCUDACXX_COMPILER_NVRTC150#include <stdint.h>151#endif // _LIBCUDACXX_COMPILER_NVRTC152 153#include "climits"154#include "version"155 156#ifndef __cuda_std__157#include <__pragma_push>158#endif //__cuda_std__159 160#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC)161# pragma GCC system_header162#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG)163# pragma clang system_header164#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC)165# pragma system_header166#endif // no system header167 168_LIBCUDACXX_BEGIN_NAMESPACE_STD169 170using::int8_t;171using::int16_t;172using::int32_t;173using::int64_t;174 175using::uint8_t;176using::uint16_t;177using::uint32_t;178using::uint64_t;179 180using::int_least8_t;181using::int_least16_t;182using::int_least32_t;183using::int_least64_t;184 185using::uint_least8_t;186using::uint_least16_t;187using::uint_least32_t;188using::uint_least64_t;189 190using::int_fast8_t;191using::int_fast16_t;192using::int_fast32_t;193using::int_fast64_t;194 195using::uint_fast8_t;196using::uint_fast16_t;197using::uint_fast32_t;198using::uint_fast64_t;199 200using::intptr_t;201using::uintptr_t;202 203using::intmax_t;204using::uintmax_t;205 206_LIBCUDACXX_END_NAMESPACE_STD207 208#ifndef __cuda_std__209#include <__pragma_pop>210#endif //__cuda_std__211 212#endif // _LIBCUDACXX_CSTDINT213 