From f4643379c5f210d552ee3e8395f831ff5c168de7 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 29 Nov 2019 16:17:13 +0000 Subject: COMPMID-2826 Comply with DCL51-CPP Rename all header guards to be compliant with DCL51-CPP Change-Id: I47b09375bb1b8d39d80c275ce69a3f25fb385d75 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2393 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/core/utils/helpers/bit_ops.h | 8 ++++---- arm_compute/core/utils/helpers/fft.h | 6 +++--- arm_compute/core/utils/helpers/float_ops.h | 6 +++--- arm_compute/core/utils/helpers/tensor_info.h | 6 +++--- arm_compute/core/utils/helpers/tensor_transform.h | 8 ++++---- arm_compute/core/utils/io/FileHandler.h | 8 ++++---- arm_compute/core/utils/logging/FilePrinter.h | 8 ++++---- arm_compute/core/utils/logging/Helpers.h | 8 ++++---- arm_compute/core/utils/logging/IPrinter.h | 6 +++--- arm_compute/core/utils/logging/LogMsgDecorators.h | 6 +++--- arm_compute/core/utils/logging/Logger.h | 8 ++++---- arm_compute/core/utils/logging/LoggerRegistry.h | 6 +++--- arm_compute/core/utils/logging/Macros.h | 6 +++--- arm_compute/core/utils/logging/Printers.h | 8 ++++---- arm_compute/core/utils/logging/StdPrinter.h | 8 ++++---- arm_compute/core/utils/logging/Types.h | 8 ++++---- arm_compute/core/utils/misc/CRTP.h | 8 ++++---- arm_compute/core/utils/misc/Cast.h | 8 ++++---- arm_compute/core/utils/misc/ICloneable.h | 8 ++++---- arm_compute/core/utils/misc/InfoHelpers.h | 6 +++--- arm_compute/core/utils/misc/Iterable.h | 8 ++++---- arm_compute/core/utils/misc/MMappedFile.h | 6 +++--- arm_compute/core/utils/misc/Macros.h | 6 +++--- arm_compute/core/utils/misc/Random.h | 6 +++--- arm_compute/core/utils/misc/Requires.h | 8 ++++---- arm_compute/core/utils/misc/Rounding.h | 8 ++++---- arm_compute/core/utils/misc/SaturateCast.h | 8 ++++---- arm_compute/core/utils/misc/ShapeCalculator.h | 6 +++--- arm_compute/core/utils/misc/Traits.h | 6 +++--- arm_compute/core/utils/misc/Utility.h | 6 +++--- arm_compute/core/utils/quantization/AsymmHelpers.h | 6 +++--- 31 files changed, 109 insertions(+), 109 deletions(-) (limited to 'arm_compute/core/utils') diff --git a/arm_compute/core/utils/helpers/bit_ops.h b/arm_compute/core/utils/helpers/bit_ops.h index fd27014a46..6dbca179e7 100644 --- a/arm_compute/core/utils/helpers/bit_ops.h +++ b/arm_compute/core/utils/helpers/bit_ops.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H__ -#define __ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H__ +#ifndef ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H +#define ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H #include "arm_compute/core/utils/misc/Requires.h" @@ -49,4 +49,4 @@ bool is_bit_set(T v, unsigned int idx) } // namespace bit_ops } // namespace helpers } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H__ */ +#endif /* ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H */ diff --git a/arm_compute/core/utils/helpers/fft.h b/arm_compute/core/utils/helpers/fft.h index bd84a5c63d..b22bece73f 100644 --- a/arm_compute/core/utils/helpers/fft.h +++ b/arm_compute/core/utils/helpers/fft.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_HELPERS_FFT_H__ -#define __ARM_COMPUTE_UTILS_HELPERS_FFT_H__ +#ifndef ARM_COMPUTE_UTILS_HELPERS_FFT_H +#define ARM_COMPUTE_UTILS_HELPERS_FFT_H #include #include @@ -52,4 +52,4 @@ std::vector digit_reverse_indices(unsigned int N, const std::vecto } // namespace fft } // namespace helpers } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_HELPERS_FFT_H__ */ +#endif /* ARM_COMPUTE_UTILS_HELPERS_FFT_H */ diff --git a/arm_compute/core/utils/helpers/float_ops.h b/arm_compute/core/utils/helpers/float_ops.h index 9d164150f5..fceee2e3fe 100644 --- a/arm_compute/core/utils/helpers/float_ops.h +++ b/arm_compute/core/utils/helpers/float_ops.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H__ -#define __ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H__ +#ifndef ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H +#define ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H namespace arm_compute { @@ -113,4 +113,4 @@ inline bool is_zero(float a, float epsilon = 0.00001f) } // namespace float_ops } // namespace helpers } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H__ */ +#endif /* ARM_COMPUTE_UTILS_HELPERS_FLOAT_OPS_H */ diff --git a/arm_compute/core/utils/helpers/tensor_info.h b/arm_compute/core/utils/helpers/tensor_info.h index f23ad6e57e..da24e82f5a 100644 --- a/arm_compute/core/utils/helpers/tensor_info.h +++ b/arm_compute/core/utils/helpers/tensor_info.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H__ -#define __ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H__ +#ifndef ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H +#define ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H #include "arm_compute/core/ITensorInfo.h" @@ -54,4 +54,4 @@ inline bool tensors_have_different_quantization_info(const ITensorInfo *tensor_i } // namespace tensor_info } // namespace helpers } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H__ */ +#endif /* ARM_COMPUTE_UTILS_HELPERS_TENSOR_INFO_H */ diff --git a/arm_compute/core/utils/helpers/tensor_transform.h b/arm_compute/core/utils/helpers/tensor_transform.h index aa359ad119..7e912a6f0a 100644 --- a/arm_compute/core/utils/helpers/tensor_transform.h +++ b/arm_compute/core/utils/helpers/tensor_transform.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H__ -#define __ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H__ +#ifndef ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H +#define ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H #include "arm_compute/core/Types.h" @@ -125,4 +125,4 @@ int32_t construct_slice_end_mask(Coordinates ends); } // namespace tensor_tranform } // namespace helpers } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H__ */ +#endif /* ARM_COMPUTE_UTILS_HELPERS_TENSOR_TRANSFORM_H */ diff --git a/arm_compute/core/utils/io/FileHandler.h b/arm_compute/core/utils/io/FileHandler.h index d915dbe286..ebc2ef06c1 100644 --- a/arm_compute/core/utils/io/FileHandler.h +++ b/arm_compute/core/utils/io/FileHandler.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_IO_FILE_HANDLER_H__ -#define __ARM_COMPUTE_IO_FILE_HANDLER_H__ +#ifndef ARM_COMPUTE_IO_FILE_HANDLER_H +#define ARM_COMPUTE_IO_FILE_HANDLER_H #include #include @@ -73,4 +73,4 @@ private: }; } // namespace io } // namespace arm_compute -#endif /* __ARM_COMPUTE_IO_FILE_HANDLER_H__ */ +#endif /* ARM_COMPUTE_IO_FILE_HANDLER_H */ diff --git a/arm_compute/core/utils/logging/FilePrinter.h b/arm_compute/core/utils/logging/FilePrinter.h index e2ae95208a..73a5421ed4 100644 --- a/arm_compute/core/utils/logging/FilePrinter.h +++ b/arm_compute/core/utils/logging/FilePrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_FILE_PRINTER_H +#define ARM_COMPUTE_LOGGING_FILE_PRINTER_H #include "arm_compute/core/utils/logging/IPrinter.h" @@ -51,4 +51,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_FILE_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_FILE_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/Helpers.h b/arm_compute/core/utils/logging/Helpers.h index 4bc54e80db..0e2a839f64 100644 --- a/arm_compute/core/utils/logging/Helpers.h +++ b/arm_compute/core/utils/logging/Helpers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_HELPERS_H__ -#define __ARM_COMPUTE_LOGGING_HELPERS_H__ +#ifndef ARM_COMPUTE_LOGGING_HELPERS_H +#define ARM_COMPUTE_LOGGING_HELPERS_H #include "arm_compute/core/utils/logging/Types.h" #include "support/ToolchainSupport.h" @@ -74,4 +74,4 @@ inline std::string angle_wrap_value(const T &val) const std::string &string_from_log_level(LogLevel log_level); } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_HELPERS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_HELPERS_H */ diff --git a/arm_compute/core/utils/logging/IPrinter.h b/arm_compute/core/utils/logging/IPrinter.h index 45ea8368eb..b6ede5853a 100644 --- a/arm_compute/core/utils/logging/IPrinter.h +++ b/arm_compute/core/utils/logging/IPrinter.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_PRINTER_H +#define ARM_COMPUTE_LOGGING_PRINTER_H #include "support/Mutex.h" @@ -71,4 +71,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/LogMsgDecorators.h b/arm_compute/core/utils/logging/LogMsgDecorators.h index 7c5b58b633..08abcb4519 100644 --- a/arm_compute/core/utils/logging/LogMsgDecorators.h +++ b/arm_compute/core/utils/logging/LogMsgDecorators.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ -#define __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ +#ifndef ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H +#define ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H #include "arm_compute/core/Error.h" #include "arm_compute/core/utils/logging/Helpers.h" @@ -142,4 +142,4 @@ public: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOG_MSG_DECORATORS_H */ diff --git a/arm_compute/core/utils/logging/Logger.h b/arm_compute/core/utils/logging/Logger.h index eb9bdd2e36..2bd467ae2b 100644 --- a/arm_compute/core/utils/logging/Logger.h +++ b/arm_compute/core/utils/logging/Logger.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOGGER_H__ -#define __ARM_COMPUTE_LOGGING_LOGGER_H__ +#ifndef ARM_COMPUTE_LOGGING_LOGGER_H +#define ARM_COMPUTE_LOGGING_LOGGER_H #include "arm_compute/core/utils/logging/Helpers.h" #include "arm_compute/core/utils/logging/IPrinter.h" @@ -173,4 +173,4 @@ inline void Logger::log(LogLevel log_level, const std::string &fmt, Ts &&... arg } } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOGGER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOGGER_H */ diff --git a/arm_compute/core/utils/logging/LoggerRegistry.h b/arm_compute/core/utils/logging/LoggerRegistry.h index 0e223ff663..c1a182c1ae 100644 --- a/arm_compute/core/utils/logging/LoggerRegistry.h +++ b/arm_compute/core/utils/logging/LoggerRegistry.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ -#define __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ +#ifndef ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H +#define ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H #include "arm_compute/core/utils/logging/Logger.h" #include "arm_compute/core/utils/logging/Printers.h" @@ -87,4 +87,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H__ */ +#endif /* ARM_COMPUTE_LOGGING_LOGGER_REGISTRY_H */ diff --git a/arm_compute/core/utils/logging/Macros.h b/arm_compute/core/utils/logging/Macros.h index 6c5bb32144..e4d9734792 100644 --- a/arm_compute/core/utils/logging/Macros.h +++ b/arm_compute/core/utils/logging/Macros.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_MACROS_H__ -#define __ARM_COMPUTE_LOGGING_MACROS_H__ +#ifndef ARM_COMPUTE_LOGGING_MACROS_H +#define ARM_COMPUTE_LOGGING_MACROS_H #include "arm_compute/core/utils/logging/LoggerRegistry.h" @@ -73,4 +73,4 @@ #endif /* ARM_COMPUTE_LOGGING_ENABLED */ -#endif /* __ARM_COMPUTE_LOGGING_MACROS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_MACROS_H */ diff --git a/arm_compute/core/utils/logging/Printers.h b/arm_compute/core/utils/logging/Printers.h index 7e5eef6a04..e09880cc53 100644 --- a/arm_compute/core/utils/logging/Printers.h +++ b/arm_compute/core/utils/logging/Printers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_PRINTERS_H__ -#define __ARM_COMPUTE_LOGGING_PRINTERS_H__ +#ifndef ARM_COMPUTE_LOGGING_PRINTERS_H +#define ARM_COMPUTE_LOGGING_PRINTERS_H #include "arm_compute/core/utils/logging/FilePrinter.h" #include "arm_compute/core/utils/logging/IPrinter.h" #include "arm_compute/core/utils/logging/StdPrinter.h" -#endif /* __ARM_COMPUTE_LOGGING_PRINTERS_H__ */ +#endif /* ARM_COMPUTE_LOGGING_PRINTERS_H */ diff --git a/arm_compute/core/utils/logging/StdPrinter.h b/arm_compute/core/utils/logging/StdPrinter.h index 0b41b26022..ea41ce2599 100644 --- a/arm_compute/core/utils/logging/StdPrinter.h +++ b/arm_compute/core/utils/logging/StdPrinter.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ -#define __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ +#ifndef ARM_COMPUTE_LOGGING_STD_PRINTER_H +#define ARM_COMPUTE_LOGGING_STD_PRINTER_H #include "arm_compute/core/utils/logging/IPrinter.h" @@ -44,4 +44,4 @@ private: }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_LOGGING_STD_PRINTER_H__ */ +#endif /* ARM_COMPUTE_LOGGING_STD_PRINTER_H */ diff --git a/arm_compute/core/utils/logging/Types.h b/arm_compute/core/utils/logging/Types.h index d56784369c..838adf95b4 100644 --- a/arm_compute/core/utils/logging/Types.h +++ b/arm_compute/core/utils/logging/Types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_LOGGING_TYPES_H__ -#define __ARM_COMPUTE_LOGGING_TYPES_H__ +#ifndef ARM_COMPUTE_LOGGING_TYPES_H +#define ARM_COMPUTE_LOGGING_TYPES_H #include @@ -65,4 +65,4 @@ struct LogMsg }; } // namespace logging } // namespace arm_compute -#endif /* __ARM_COMPUTE_TYPES_H__ */ +#endif /* ARM_COMPUTE_TYPES_H */ diff --git a/arm_compute/core/utils/misc/CRTP.h b/arm_compute/core/utils/misc/CRTP.h index 8c39af14b1..037c69ab1d 100644 --- a/arm_compute/core/utils/misc/CRTP.h +++ b/arm_compute/core/utils/misc/CRTP.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_CRTP_H__ -#define __ARM_COMPUTE_MISC_CRTP_H__ +#ifndef ARM_COMPUTE_MISC_CRTP_H +#define ARM_COMPUTE_MISC_CRTP_H namespace arm_compute { @@ -52,4 +52,4 @@ private: }; } // namespace misc } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_CRTP_H__ */ +#endif /* ARM_COMPUTE_MISC_CRTP_H */ diff --git a/arm_compute/core/utils/misc/Cast.h b/arm_compute/core/utils/misc/Cast.h index ae594c96b4..fc6246aace 100644 --- a/arm_compute/core/utils/misc/Cast.h +++ b/arm_compute/core/utils/misc/Cast.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_CAST_H__ -#define __ARM_COMPUTE_MISC_CAST_H__ +#ifndef ARM_COMPUTE_MISC_CAST_H +#define ARM_COMPUTE_MISC_CAST_H #include "arm_compute/core/Error.h" @@ -116,4 +116,4 @@ std::unique_ptr polymorphic_downcast_unique_ptr(std::unique_ptr } // namespace cast } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_CAST_H__ */ +#endif /* ARM_COMPUTE_MISC_CAST_H */ diff --git a/arm_compute/core/utils/misc/ICloneable.h b/arm_compute/core/utils/misc/ICloneable.h index 5852f14f7a..064f408201 100644 --- a/arm_compute/core/utils/misc/ICloneable.h +++ b/arm_compute/core/utils/misc/ICloneable.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_ICLONEABLE_H__ -#define __ARM_COMPUTE_MISC_ICLONEABLE_H__ +#ifndef ARM_COMPUTE_MISC_ICLONEABLE_H +#define ARM_COMPUTE_MISC_ICLONEABLE_H #include @@ -45,4 +45,4 @@ public: }; } // namespace misc } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_ICLONEABLE_H__ */ +#endif /* ARM_COMPUTE_MISC_ICLONEABLE_H */ diff --git a/arm_compute/core/utils/misc/InfoHelpers.h b/arm_compute/core/utils/misc/InfoHelpers.h index 8197862700..b572de2433 100644 --- a/arm_compute/core/utils/misc/InfoHelpers.h +++ b/arm_compute/core/utils/misc/InfoHelpers.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_INFO_HELPERS_H__ -#define __ARM_COMPUTE_MISC_INFO_HELPERS_H__ +#ifndef ARM_COMPUTE_MISC_INFO_HELPERS_H +#define ARM_COMPUTE_MISC_INFO_HELPERS_H #include "arm_compute/core/Error.h" #include "arm_compute/core/Types.h" @@ -61,4 +61,4 @@ inline bool is_relu6(ActivationLayerInfo activation_info) } // namespace info_helpers } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_INFO_HELPERS_H__ */ +#endif /* ARM_COMPUTE_MISC_INFO_HELPERS_H */ diff --git a/arm_compute/core/utils/misc/Iterable.h b/arm_compute/core/utils/misc/Iterable.h index d150111a56..829c4b44a8 100644 --- a/arm_compute/core/utils/misc/Iterable.h +++ b/arm_compute/core/utils/misc/Iterable.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_ITERABLE_H__ -#define __ARM_COMPUTE_MISC_ITERABLE_H__ +#ifndef ARM_COMPUTE_MISC_ITERABLE_H +#define ARM_COMPUTE_MISC_ITERABLE_H #include @@ -105,4 +105,4 @@ reverse_iterable reverse_iterate(T &val) } // namespace iterable } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_ITERABLE_H__ */ +#endif /* ARM_COMPUTE_MISC_ITERABLE_H */ diff --git a/arm_compute/core/utils/misc/MMappedFile.h b/arm_compute/core/utils/misc/MMappedFile.h index 4b13adb5e9..7669c5cc96 100644 --- a/arm_compute/core/utils/misc/MMappedFile.h +++ b/arm_compute/core/utils/misc/MMappedFile.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_MMAPPED_FILE_H__ -#define __ARM_COMPUTE_MISC_MMAPPED_FILE_H__ +#ifndef ARM_COMPUTE_MISC_MMAPPED_FILE_H +#define ARM_COMPUTE_MISC_MMAPPED_FILE_H #if !defined(BARE_METAL) @@ -107,4 +107,4 @@ private: } // namespace arm_compute #endif // !defined(BARE_METAL) -#endif /* __ARM_COMPUTE_MISC_MMAPPED_FILE_H__ */ +#endif /* ARM_COMPUTE_MISC_MMAPPED_FILE_H */ diff --git a/arm_compute/core/utils/misc/Macros.h b/arm_compute/core/utils/misc/Macros.h index a2b2215efe..6e8d7659ee 100644 --- a/arm_compute/core/utils/misc/Macros.h +++ b/arm_compute/core/utils/misc/Macros.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_MACROS_H__ -#define __ARM_COMPUTE_MISC_MACROS_H__ +#ifndef ARM_COMPUTE_MISC_MACROS_H +#define ARM_COMPUTE_MISC_MACROS_H #if defined(__cplusplus) && (__cplusplus >= 201402L) @@ -44,4 +44,4 @@ #endif // defined(__cplusplus) && (__cplusplus >= 201402L) -#endif /* __ARM_COMPUTE_MISC_MACROS_H__ */ +#endif /* ARM_COMPUTE_MISC_MACROS_H */ diff --git a/arm_compute/core/utils/misc/Random.h b/arm_compute/core/utils/misc/Random.h index 4c40f5c2d7..9f5a128546 100644 --- a/arm_compute/core/utils/misc/Random.h +++ b/arm_compute/core/utils/misc/Random.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_RANDOM_H__ -#define __ARM_COMPUTE_MISC_RANDOM_H__ +#ifndef ARM_COMPUTE_MISC_RANDOM_H +#define ARM_COMPUTE_MISC_RANDOM_H #include "arm_compute/core/Error.h" @@ -95,4 +95,4 @@ private: } // namespace random } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_RANDOM_H__ */ +#endif /* ARM_COMPUTE_MISC_RANDOM_H */ diff --git a/arm_compute/core/utils/misc/Requires.h b/arm_compute/core/utils/misc/Requires.h index 2852300bb1..33c6fa3096 100644 --- a/arm_compute/core/utils/misc/Requires.h +++ b/arm_compute/core/utils/misc/Requires.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_REQUIRES_H__ -#define __ARM_COMPUTE_UTILS_REQUIRES_H__ +#ifndef ARM_COMPUTE_UTILS_REQUIRES_H +#define ARM_COMPUTE_UTILS_REQUIRES_H namespace arm_compute { @@ -48,4 +48,4 @@ enum class enabler } // namespace requires } // namespace utils } // namespace arm_compute -#endif /*__ARM_COMPUTE_UTILS_REQUIRES_H__ */ +#endif /*ARM_COMPUTE_UTILS_REQUIRES_H */ diff --git a/arm_compute/core/utils/misc/Rounding.h b/arm_compute/core/utils/misc/Rounding.h index 3f86cc8db3..650137a473 100644 --- a/arm_compute/core/utils/misc/Rounding.h +++ b/arm_compute/core/utils/misc/Rounding.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_ROUNDING_H__ -#define __ARM_COMPUTE_UTILS_ROUNDING_H__ +#ifndef ARM_COMPUTE_UTILS_ROUNDING_H +#define ARM_COMPUTE_UTILS_ROUNDING_H #include "arm_compute/core/Error.h" #include "arm_compute/core/utils/misc/Requires.h" @@ -202,4 +202,4 @@ inline T round(T value, RoundingMode rounding_mode) } // namespace rounding } // namespace utils } // namespace arm_compute -#endif /*__ARM_COMPUTE_UTILS_ROUNDING_H__ */ +#endif /*ARM_COMPUTE_UTILS_ROUNDING_H */ diff --git a/arm_compute/core/utils/misc/SaturateCast.h b/arm_compute/core/utils/misc/SaturateCast.h index b9e4787d9a..0241c64b14 100644 --- a/arm_compute/core/utils/misc/SaturateCast.h +++ b/arm_compute/core/utils/misc/SaturateCast.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H__ -#define __ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H__ +#ifndef ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H +#define ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H #include "arm_compute/core/utils/misc/Rounding.h" #include "arm_compute/core/utils/misc/Traits.h" @@ -215,4 +215,4 @@ inline T saturate_cast(U v) } // namespace cast } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H__ */ +#endif /* ARM_COMPUTE_UTILS_CAST_SATURATE_CAST_H */ diff --git a/arm_compute/core/utils/misc/ShapeCalculator.h b/arm_compute/core/utils/misc/ShapeCalculator.h index 080d63f60d..66a42d9667 100644 --- a/arm_compute/core/utils/misc/ShapeCalculator.h +++ b/arm_compute/core/utils/misc/ShapeCalculator.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H__ -#define __ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H__ +#ifndef ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H +#define ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H #include "arm_compute/core/Helpers.h" #include "arm_compute/core/ITensorInfo.h" @@ -1354,4 +1354,4 @@ inline TensorShape compute_gather_shape(const TensorShape &input_shape, const Te } // namespace shape_calculator } // namespace misc } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H__ */ +#endif /* ARM_COMPUTE_MISC_SHAPE_CALCULATOR_H */ diff --git a/arm_compute/core/utils/misc/Traits.h b/arm_compute/core/utils/misc/Traits.h index 9f6e49a452..1cbdbfe16f 100644 --- a/arm_compute/core/utils/misc/Traits.h +++ b/arm_compute/core/utils/misc/Traits.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_UTILS_TRAITS_TRAITS_H__ -#define __ARM_COMPUTE_UTILS_TRAITS_TRAITS_H__ +#ifndef ARM_COMPUTE_UTILS_TRAITS_TRAITS_H +#define ARM_COMPUTE_UTILS_TRAITS_TRAITS_H #include @@ -51,4 +51,4 @@ struct is_floating_point<__fp16> : public std::true_type } // namespace traits } // namespace utils } // namespace arm_compute -#endif /* __ARM_COMPUTE_UTILS_TRAITS_TRAITS_H__ */ +#endif /* ARM_COMPUTE_UTILS_TRAITS_TRAITS_H */ diff --git a/arm_compute/core/utils/misc/Utility.h b/arm_compute/core/utils/misc/Utility.h index d27a3cf75e..b2bb63f5c8 100644 --- a/arm_compute/core/utils/misc/Utility.h +++ b/arm_compute/core/utils/misc/Utility.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_MISC_UTILITY_H__ -#define __ARM_COMPUTE_MISC_UTILITY_H__ +#ifndef ARM_COMPUTE_MISC_UTILITY_H +#define ARM_COMPUTE_MISC_UTILITY_H #include #include @@ -210,4 +210,4 @@ inline std::string tolower(std::string string) } } // namespace utility } // namespace arm_compute -#endif /* __ARM_COMPUTE_MISC_UTILITY_H__ */ +#endif /* ARM_COMPUTE_MISC_UTILITY_H */ diff --git a/arm_compute/core/utils/quantization/AsymmHelpers.h b/arm_compute/core/utils/quantization/AsymmHelpers.h index 0bf6ff5c95..f0b077096e 100644 --- a/arm_compute/core/utils/quantization/AsymmHelpers.h +++ b/arm_compute/core/utils/quantization/AsymmHelpers.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_QUANTIZATION_ASYMM_HELPERS_H__ -#define __ARM_COMPUTE_QUANTIZATION_ASYMM_HELPERS_H__ +#ifndef ARM_COMPUTE_QUANTIZATION_ASYMM_HELPERS_H +#define ARM_COMPUTE_QUANTIZATION_ASYMM_HELPERS_H #include "arm_compute/core/Error.h" #include "arm_compute/core/ITensor.h" @@ -101,4 +101,4 @@ void compute_quantized_multipliers_and_shifts(const ITensorInfo *input, int32_t *output_shifts_ptr); } // namespace quantization } // namespace arm_compute -#endif /* __ARM_COMPUTE_IO_FILE_HANDLER_H__ */ +#endif /* ARM_COMPUTE_IO_FILE_HANDLER_H */ -- cgit v1.2.1