Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
cstdint.hpp
Go to the documentation of this file.
1// Copyright 2024, Toyota Motor Corporation
2//
3// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5#ifndef INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
7
8// parasoft-begin-suppress CERT_CPP-DCL58-a-2 "Part of a standard library implementation"
9// parasoft-begin-suppress AUTOSAR-A17_6_1-a-2 "Part of a standard library implementation"
10// parasoft-begin-suppress AUTOSAR-M17_0_2-a-2 "Part of a standard library implementation"
11// parasoft-begin-suppress CERT_CPP-DCL51-f-3 "Part of a standard library implementation"
12
13// IWYU pragma: private, include <cstdint>
14// IWYU pragma: friend "stdlib_detail/.*"
15
16// parasoft-begin-suppress AUTOSAR-A18_0_1-a-2 "False positive: This is the implementation of <cstdint>"
17// parasoft-begin-suppress AUTOSAR-A1_1_1-d-2 "False positive: This is the implementation of <cstdint>"
18// NOLINTNEXTLINE(hicpp-deprecated-headers)
19#include <stdint.h>
20// parasoft-end-suppress AUTOSAR-A1_1_1-d-2
21// parasoft-end-suppress AUTOSAR-A18_0_1-a-2
22
23namespace std {
24
25// parasoft-begin-suppress AUTOSAR-A2_7_3-a "False positive: all declarations
26// and typedefs *are* preceded by a comment with @brief"
27
28// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
29/// @brief An 8-bit unsigned integer type
31// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
32
33// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
34/// @brief A 16-bit unsigned integer type
35// NOLINTNEXTLINE(google-runtime-int)
37// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
38
39// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
40/// @brief A 32-bit unsigned integer type
42// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
43
44// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
45/// @brief A 64-bit unsigned integer type
46// NOLINTNEXTLINE(google-runtime-int,readability-magic-numbers)
48// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
49
50/// @brief A maximum-width unsigned integer type
52
53// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
54/// @brief An 8-bit signed integer type
56// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
57
58// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
59/// @brief A 16-bit signed integer type
60// NOLINTNEXTLINE(google-runtime-int)
62// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
63
64// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
65/// @brief A 32-bit signed integer type
67// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
68
69// parasoft-begin-suppress AUTOSAR-A3_9_1-b-2 "This code is defining a fixed-width type"
70/// @brief A 64-bit signed integer type
72// parasoft-end-suppress AUTOSAR-A3_9_1-b-2
73
74/// @brief A maximum-width signed integer type
76
77/// @brief A signed integer type the same size as a pointer
79
80/// @brief An unsigned integer type the same size as a pointer
82
83// parasoft-end-suppress AUTOSAR-A2_7_3-a
84
85} // namespace std
86
87#endif // INCLUDE_GUARD_ARENE_BASE_STDLIB_INCLUDE_STDLIB_DETAIL_CSTDINT_HPP_
STL namespace.
::uintmax_t uintmax_t
A maximum-width unsigned integer type.
Definition cstdint.hpp:51
::intptr_t intptr_t
A signed integer type the same size as a pointer.
Definition cstdint.hpp:78
::int32_t int32_t
A 32-bit signed integer type.
Definition cstdint.hpp:66
::intmax_t intmax_t
A maximum-width signed integer type.
Definition cstdint.hpp:75
::int16_t int16_t
A 16-bit signed integer type.
Definition cstdint.hpp:61
::uint8_t uint8_t
An 8-bit unsigned integer type.
Definition cstdint.hpp:30
::uint16_t uint16_t
A 16-bit unsigned integer type.
Definition cstdint.hpp:36
::uint32_t uint32_t
A 32-bit unsigned integer type.
Definition cstdint.hpp:41
::uint64_t uint64_t
A 64-bit unsigned integer type.
Definition cstdint.hpp:47
::int8_t int8_t
An 8-bit signed integer type.
Definition cstdint.hpp:55
::int64_t int64_t
A 64-bit signed integer type.
Definition cstdint.hpp:71
::uintptr_t uintptr_t
An unsigned integer type the same size as a pointer.
Definition cstdint.hpp:81