text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163 values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751 values | repo_full_name stringclasses 752 values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```objective-c
/*
*
*/
#ifndef __FSL_OS_ABSTRACTION__
#define __FSL_OS_ABSTRACTION__
#include <zephyr/irq.h>
/* enter critical macros */
#define OSA_SR_ALLOC() int osa_current_sr
#define OSA_ENTER_CRITICAL() osa_current_sr = irq_lock()
#define OSA_EXIT_CRITICAL() irq_unlock(osa_current_sr)
#endif /* __FSL_OS_ABSTRACTION__ */
``` | /content/code_sandbox/modules/hal_nxp/fsl_os_abstraction.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 89 |
```c
``` | /content/code_sandbox/misc/empty_file.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1 |
```unknown
/*
*/
/* file is auto-generated, do not modify ! */
#include <zephyr/toolchain.h>
GEN_ABS_SYM_BEGIN (_ConfigAbsSyms)
@GEN_ABS_SYM_LIST@
GEN_ABS_SYM_END
``` | /content/code_sandbox/misc/generated/configs.c.in | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 44 |
```objective-c
/*
*
*/
#ifndef __USB_DEVICE_CONFIG_H__
#define __USB_DEVICE_CONFIG_H__
#include <zephyr/devicetree.h>
#include "usb.h"
/******************************************************************************
* Definitions
*****************************************************************************/
#ifdef CONFIG_USB_DEVICE_DRIVER
/* EHCI instance count */
#ifdef CONFIG_USB_DC_NXP_EHCI
#define USB_DEVICE_CONFIG_EHCI (1U)
/* How many the DTD are supported. */
#define USB_DEVICE_CONFIG_EHCI_MAX_DTD (16U)
#endif /* CONFIG_USB_DC_NXP_EHCI */
#ifdef CONFIG_USB_DC_NXP_LPCIP3511
#ifdef USBHSD_BASE_ADDRS
#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)
#else
#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)
#endif
#ifdef USB_BASE_ADDRS
#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)
#else
#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)
#endif
#endif /* CONFIG_USB_DC_NXP_LPCIP3511 */
/* Whether device is self power. 1U supported, 0U not supported */
#define USB_DEVICE_CONFIG_SELF_POWER (1U)
#define NUM_INSTS DT_NUM_INST_STATUS_OKAY(nxp_ehci) + DT_NUM_INST_STATUS_OKAY(nxp_lpcip3511)
BUILD_ASSERT(NUM_INSTS <= 1, "Only one USB device supported");
#if DT_HAS_COMPAT_STATUS_OKAY(nxp_lpcip3511)
#undef DT_DRV_COMPAT
#define DT_DRV_COMPAT nxp_lpcip3511
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_ehci)
#undef DT_DRV_COMPAT
#define DT_DRV_COMPAT nxp_ehci
#endif
/* Number of endpoints supported */
#define USB_DEVICE_CONFIG_ENDPOINTS (DT_INST_PROP(0, num_bidir_endpoints))
#else
#ifdef CONFIG_UDC_NXP_EHCI
#define USB_DEVICE_CONFIG_EHCI (DT_NUM_INST_STATUS_OKAY(nxp_ehci))
#endif
#ifdef CONFIG_UDC_NXP_IP3511
#if defined(USBHSD_BASE_ADDRS) && defined(USB_BASE_ADDRS)
#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)
#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)
#else
#ifdef USBHSD_BASE_ADDRS
#define USB_DEVICE_CONFIG_LPCIP3511HS (DT_NUM_INST_STATUS_OKAY(nxp_lpcip3511))
#else
#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)
#endif
#ifdef USB_BASE_ADDRS
#define USB_DEVICE_CONFIG_LPCIP3511FS (DT_NUM_INST_STATUS_OKAY(nxp_lpcip3511))
#else
#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)
#endif
#endif
#endif
/* calculte the num of endponts.
* mcux ip3511 driver doesn't use USB_DEVICE_CONFIG_ENDPOINTS,
* so use ehci endpoint number if ehci is enabled.
*/
#if DT_HAS_COMPAT_STATUS_OKAY(nxp_ehci)
#undef DT_DRV_COMPAT
#define DT_DRV_COMPAT nxp_ehci
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_lpcip3511)
#undef DT_DRV_COMPAT
#define DT_DRV_COMPAT nxp_lpcip3511
#endif
/* Number of endpoints supported */
#define USB_DEVICE_CONFIG_ENDPOINTS (DT_INST_PROP(0, num_bidir_endpoints))
#define USB_DEVICE_CONFIG_SELF_POWER (1U)
#if ((defined(USB_DEVICE_CONFIG_EHCI)) && (USB_DEVICE_CONFIG_EHCI > 0U))
/*! @brief How many the DTD are supported. */
#define USB_DEVICE_CONFIG_EHCI_MAX_DTD (16U)
#ifndef CONFIG_UDC_BUF_FORCE_NOCACHE
#ifdef CONFIG_NOCACHE_MEMORY
#define USB_DEVICE_CONFIG_BUFFER_PROPERTY_CACHEABLE (1U)
#endif
#endif
#endif
/* TODO: After Kconfig item that enable/disable sof is added,
* use the Kconfig item to control this macro.
*/
#define USB_DEVICE_CONFIG_SOF_NOTIFICATIONS (1U)
#endif
#endif /* __USB_DEVICE_CONFIG_H__ */
``` | /content/code_sandbox/modules/hal_nxp/usb/usb_device_config.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 827 |
```objective-c
/* kernel version support */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_VERSION_H_
#define ZEPHYR_INCLUDE_KERNEL_VERSION_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup version_apis Version APIs
* @ingroup kernel_apis
* @{
*
* The kernel version has been converted from a string to a four-byte
* quantity that is divided into two parts.
*
* Part 1: The three most significant bytes represent the kernel's
* numeric version, x.y.z. These fields denote:
* x -- major release
* y -- minor release
* z -- patchlevel release
* Each of these elements must therefore be in the range 0 to 255, inclusive.
*
* Part 2: The least significant byte is reserved for future use.
*/
#define SYS_KERNEL_VER_MAJOR(ver) (((ver) >> 24) & 0xFF)
#define SYS_KERNEL_VER_MINOR(ver) (((ver) >> 16) & 0xFF)
#define SYS_KERNEL_VER_PATCHLEVEL(ver) (((ver) >> 8) & 0xFF)
/* kernel version routines */
/**
* @brief Return the kernel version of the present build
*
* The kernel version is a four-byte value, whose format is described in the
* file "kernel_version.h".
*
* @return kernel version
*/
uint32_t sys_kernel_version_get(void);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_KERNEL_VERSION_H_ */
``` | /content/code_sandbox/include/zephyr/kernel_version.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 312 |
```objective-c
/* shared_irq - Shared interrupt driver */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SHARED_IRQ_H_
#define ZEPHYR_INCLUDE_SHARED_IRQ_H_
#include <zephyr/device.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*isr_t)(const struct device *dev, unsigned int irq_number);
/* driver API definition */
typedef int (*shared_irq_register_t)(const struct device *dev,
isr_t isr_func,
const struct device *isr_dev);
typedef int (*shared_irq_enable_t)(const struct device *dev,
const struct device *isr_dev);
typedef int (*shared_irq_disable_t)(const struct device *dev,
const struct device *isr_dev);
__subsystem struct shared_irq_driver_api {
shared_irq_register_t isr_register;
shared_irq_enable_t enable;
shared_irq_disable_t disable;
};
/**
* @brief Register a device ISR
* @param dev Pointer to device structure for SHARED_IRQ driver instance.
* @param isr_func Pointer to the ISR function for the device.
* @param isr_dev Pointer to the device that will service the interrupt.
*/
static inline int shared_irq_isr_register(const struct device *dev,
isr_t isr_func,
const struct device *isr_dev)
{
const struct shared_irq_driver_api *api =
(const struct shared_irq_driver_api *)dev->api;
return api->isr_register(dev, isr_func, isr_dev);
}
/**
* @brief Enable ISR for device
* @param dev Pointer to device structure for SHARED_IRQ driver instance.
* @param isr_dev Pointer to the device that will service the interrupt.
*/
static inline int shared_irq_enable(const struct device *dev,
const struct device *isr_dev)
{
const struct shared_irq_driver_api *api =
(const struct shared_irq_driver_api *)dev->api;
return api->enable(dev, isr_dev);
}
/**
* @brief Disable ISR for device
* @param dev Pointer to device structure for SHARED_IRQ driver instance.
* @param isr_dev Pointer to the device that will service the interrupt.
*/
static inline int shared_irq_disable(const struct device *dev,
const struct device *isr_dev)
{
const struct shared_irq_driver_api *api =
(const struct shared_irq_driver_api *)dev->api;
return api->disable(dev, isr_dev);
}
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SHARED_IRQ_H_ */
``` | /content/code_sandbox/include/zephyr/shared_irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 518 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Header files included by kernel.h.
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
#define ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
#ifndef ZEPHYR_INCLUDE_KERNEL_H_
#error Please do not include kernel-specific headers directly, use <zephyr/kernel.h> instead
#endif
#include <stddef.h>
#include <zephyr/types.h>
#include <limits.h>
#include <zephyr/toolchain.h>
#include <zephyr/linker/sections.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/dlist.h>
#include <zephyr/sys/slist.h>
#include <zephyr/sys/sflist.h>
#include <zephyr/sys/util.h>
#include <zephyr/kernel/obj_core.h>
#include <zephyr/kernel_structs.h>
#include <zephyr/kernel_version.h>
#include <zephyr/syscall.h>
#include <zephyr/sys/printk.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/sys/rb.h>
#include <zephyr/sys_clock.h>
#include <zephyr/spinlock.h>
#include <zephyr/fatal.h>
#include <zephyr/irq.h>
#include <zephyr/kernel/thread_stack.h>
#include <zephyr/app_memory/mem_domain.h>
#include <zephyr/sys/kobject.h>
#include <zephyr/kernel/thread.h>
/* FIXME This needs to be removed. Exposes some private APIs to SOF */
#include <zephyr/kernel/internal/smp.h>
#endif /* ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_ */
``` | /content/code_sandbox/include/zephyr/kernel_includes.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 360 |
```objective-c
/*
*
*/
/**
* @file
* @brief Variables needed for system clock
*
*
* Declare variables used by both system timer device driver and kernel
* components that use timer functionality.
*/
#ifndef ZEPHYR_INCLUDE_SYS_CLOCK_H_
#define ZEPHYR_INCLUDE_SYS_CLOCK_H_
#include <zephyr/sys/util.h>
#include <zephyr/sys/dlist.h>
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#include <zephyr/sys/time_units.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup clock_apis
* @{
*/
/**
* @brief Tick precision used in timeout APIs
*
* This type defines the word size of the timeout values used in
* k_timeout_t objects, and thus defines an upper bound on maximum
* timeout length (or equivalently minimum tick duration). Note that
* this does not affect the size of the system uptime counter, which
* is always a 64 bit count of ticks.
*/
#ifdef CONFIG_TIMEOUT_64BIT
typedef int64_t k_ticks_t;
#else
typedef uint32_t k_ticks_t;
#endif
#define K_TICKS_FOREVER ((k_ticks_t) -1)
/**
* @brief Kernel timeout type
*
* Timeout arguments presented to kernel APIs are stored in this
* opaque type, which is capable of representing times in various
* formats and units. It should be constructed from application data
* using one of the macros defined for this purpose (e.g. `K_MSEC()`,
* `K_TIMEOUT_ABS_TICKS()`, etc...), or be one of the two constants
* K_NO_WAIT or K_FOREVER. Applications should not inspect the
* internal data once constructed. Timeout values may be compared for
* equality with the `K_TIMEOUT_EQ()` macro.
*/
typedef struct {
k_ticks_t ticks;
} k_timeout_t;
/**
* @brief Compare timeouts for equality
*
* The k_timeout_t object is an opaque struct that should not be
* inspected by application code. This macro exists so that users can
* test timeout objects for equality with known constants
* (e.g. K_NO_WAIT and K_FOREVER) when implementing their own APIs in
* terms of Zephyr timeout constants.
*
* @return True if the timeout objects are identical
*/
#define K_TIMEOUT_EQ(a, b) ((a).ticks == (b).ticks)
/** number of nanoseconds per micorsecond */
#define NSEC_PER_USEC 1000U
/** number of nanoseconds per millisecond */
#define NSEC_PER_MSEC 1000000U
/** number of microseconds per millisecond */
#define USEC_PER_MSEC 1000U
/** number of milliseconds per second */
#define MSEC_PER_SEC 1000U
/** number of seconds per minute */
#define SEC_PER_MIN 60U
/** number of minutes per hour */
#define MIN_PER_HOUR 60U
/** number of hours per day */
#define HOUR_PER_DAY 24U
/** number of microseconds per second */
#define USEC_PER_SEC ((USEC_PER_MSEC) * (MSEC_PER_SEC))
/** number of nanoseconds per second */
#define NSEC_PER_SEC ((NSEC_PER_USEC) * (USEC_PER_MSEC) * (MSEC_PER_SEC))
/** @} */
/** @cond INTERNAL_HIDDEN */
#define Z_TIMEOUT_NO_WAIT ((k_timeout_t) {0})
#if defined(__cplusplus) && ((__cplusplus - 0) < 202002L)
#define Z_TIMEOUT_TICKS(t) ((k_timeout_t) { (t) })
#else
#define Z_TIMEOUT_TICKS(t) ((k_timeout_t) { .ticks = (t) })
#endif
#define Z_FOREVER Z_TIMEOUT_TICKS(K_TICKS_FOREVER)
#ifdef CONFIG_TIMEOUT_64BIT
# define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0)))
# define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil64(MAX(t, 0)))
# define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil64(MAX(t, 0)))
# define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil64(MAX(t, 0)))
# define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil64(MAX(t, 0)))
#else
# define Z_TIMEOUT_MS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
# define Z_TIMEOUT_US(t) Z_TIMEOUT_TICKS((k_ticks_t)k_us_to_ticks_ceil32(MAX(t, 0)))
# define Z_TIMEOUT_NS(t) Z_TIMEOUT_TICKS((k_ticks_t)k_ns_to_ticks_ceil32(MAX(t, 0)))
# define Z_TIMEOUT_CYC(t) Z_TIMEOUT_TICKS((k_ticks_t)k_cyc_to_ticks_ceil32(MAX(t, 0)))
# define Z_TIMEOUT_MS_TICKS(t) ((k_ticks_t)k_ms_to_ticks_ceil32(MAX(t, 0)))
#endif
/* Converts between absolute timeout expiration values (packed into
* the negative space below K_TICKS_FOREVER) and (non-negative) delta
* timeout values. If the result of Z_TICK_ABS(t) is >= 0, then the
* value was an absolute timeout with the returned expiration time.
* Note that this macro is bidirectional: Z_TICK_ABS(Z_TICK_ABS(t)) ==
* t for all inputs, and that the representation of K_TICKS_FOREVER is
* the same value in both spaces! Clever, huh?
*/
#define Z_TICK_ABS(t) (K_TICKS_FOREVER - 1 - (t))
/* added tick needed to account for tick in progress */
#define _TICK_ALIGN 1
/** @endcond */
#if defined(CONFIG_SYS_CLOCK_EXISTS) && \
(CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC == 0)
#error "SYS_CLOCK_HW_CYCLES_PER_SEC must be non-zero!"
#endif
/* kernel clocks */
/*
* We default to using 64-bit intermediates in timescale conversions,
* but if the HW timer cycles/sec, ticks/sec and ms/sec are all known
* to be nicely related, then we can cheat with 32 bits instead.
*/
/**
* @addtogroup clock_apis
* @{
*/
#ifdef CONFIG_SYS_CLOCK_EXISTS
#if defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME) || \
(MSEC_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC) || \
(CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC % CONFIG_SYS_CLOCK_TICKS_PER_SEC)
#define _NEED_PRECISE_TICK_MS_CONVERSION
#endif
#endif
/**
* SYS_CLOCK_HW_CYCLES_TO_NS_AVG converts CPU clock cycles to nanoseconds
* and calculates the average cycle time
*/
#define SYS_CLOCK_HW_CYCLES_TO_NS_AVG(X, NCYCLES) \
(uint32_t)(k_cyc_to_ns_floor64(X) / NCYCLES)
/**
*
* @brief Return the lower part of the current system tick count
*
* @return the current system tick count
*
*/
uint32_t sys_clock_tick_get_32(void);
/**
*
* @brief Return the current system tick count
*
* @return the current system tick count
*
*/
int64_t sys_clock_tick_get(void);
#ifndef CONFIG_SYS_CLOCK_EXISTS
#define sys_clock_tick_get() (0)
#define sys_clock_tick_get_32() (0)
#endif
#ifdef CONFIG_SYS_CLOCK_EXISTS
/**
* @brief Kernel timepoint type
*
* Absolute timepoints are stored in this opaque type.
* It is best not to inspect its content directly.
*
* @see sys_timepoint_calc()
* @see sys_timepoint_timeout()
* @see sys_timepoint_expired()
*/
typedef struct { uint64_t tick; } k_timepoint_t;
/**
* @brief Calculate a timepoint value
*
* Returns a timepoint corresponding to the expiration (relative to an
* unlocked "now"!) of a timeout object. When used correctly, this should
* be called once, synchronously with the user passing a new timeout value.
* It should not be used iteratively to adjust a timeout (see
* `sys_timepoint_timeout()` for that purpose).
*
* @param timeout Timeout value relative to current time (may also be
* `K_FOREVER` or `K_NO_WAIT`).
* @retval Timepoint value corresponding to given timeout
*
* @see sys_timepoint_timeout()
* @see sys_timepoint_expired()
*/
k_timepoint_t sys_timepoint_calc(k_timeout_t timeout);
/**
* @brief Remaining time to given timepoint
*
* Returns the timeout interval between current time and provided timepoint.
* If the timepoint is now in the past or if it was created with `K_NO_WAIT`
* then `K_NO_WAIT` is returned. If it was created with `K_FOREVER` then
* `K_FOREVER` is returned.
*
* @param timepoint Timepoint for which a timeout value is wanted.
* @retval Corresponding timeout value.
*
* @see sys_timepoint_calc()
*/
k_timeout_t sys_timepoint_timeout(k_timepoint_t timepoint);
/**
* @brief Provided for backward compatibility.
*
* This is deprecated. Consider `sys_timepoint_calc()` instead.
*
* @see sys_timepoint_calc()
*/
__deprecated
static inline uint64_t sys_clock_timeout_end_calc(k_timeout_t timeout)
{
k_timepoint_t tp = sys_timepoint_calc(timeout);
return tp.tick;
}
/**
* @brief Compare two timepoint values.
*
* This function is used to compare two timepoint values.
*
* @param a Timepoint to compare
* @param b Timepoint to compare against.
* @return zero if both timepoints are the same. Negative value if timepoint @a a is before
* timepoint @a b, positive otherwise.
*/
static inline int sys_timepoint_cmp(k_timepoint_t a, k_timepoint_t b)
{
if (a.tick == b.tick) {
return 0;
}
return a.tick < b.tick ? -1 : 1;
}
#else
/*
* When timers are configured out, timepoints can't relate to anything.
* The best we can do is to preserve whether or not they are derived from
* K_NO_WAIT. Anything else will translate back to K_FOREVER.
*/
typedef struct { bool wait; } k_timepoint_t;
static inline k_timepoint_t sys_timepoint_calc(k_timeout_t timeout)
{
k_timepoint_t timepoint;
timepoint.wait = !K_TIMEOUT_EQ(timeout, Z_TIMEOUT_NO_WAIT);
return timepoint;
}
static inline k_timeout_t sys_timepoint_timeout(k_timepoint_t timepoint)
{
return timepoint.wait ? Z_FOREVER : Z_TIMEOUT_NO_WAIT;
}
static inline int sys_timepoint_cmp(k_timepoint_t a, k_timepoint_t b)
{
if (a.wait == b.wait) {
return 0;
}
return b.wait ? -1 : 1;
}
#endif
/**
* @brief Indicates if timepoint is expired
*
* @param timepoint Timepoint to evaluate
* @retval true if the timepoint is in the past, false otherwise
*
* @see sys_timepoint_calc()
*/
static inline bool sys_timepoint_expired(k_timepoint_t timepoint)
{
return K_TIMEOUT_EQ(sys_timepoint_timeout(timepoint), Z_TIMEOUT_NO_WAIT);
}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_CLOCK_H_ */
``` | /content/code_sandbox/include/zephyr/sys_clock.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,433 |
```objective-c
/*
*
*/
/**
* @file
* @brief Macros to abstract toolchain specific capabilities
*
* This file contains various macros to abstract compiler capabilities that
* utilize toolchain specific attributes and/or pragmas.
*/
#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_H_
#define ZEPHYR_INCLUDE_TOOLCHAIN_H_
/**
* @def HAS_BUILTIN(x)
* @brief Check if the compiler supports the built-in function \a x.
*
* This macro is for use with conditional compilation to enable code using a
* builtin function that may not be available in every compiler.
*/
#ifdef __has_builtin
#define HAS_BUILTIN(x) __has_builtin(x)
#else
/*
* The compiler doesn't provide the __has_builtin() macro, so instead we depend
* on the toolchain-specific headers to define HAS_BUILTIN_x for the builtins
* supported.
*/
#define HAS_BUILTIN(x) HAS_BUILTIN_##x
#endif
#if defined(__TOOLCHAIN_CUSTOM__)
/* This include line exists for off-tree definitions of compilers,
* and therefore this header is not meant to exist in-tree
*/
#include <toolchain/other.h>
#elif defined(__XCC__)
#include <zephyr/toolchain/xcc.h>
#elif defined(__CCAC__)
#include <zephyr/toolchain/mwdt.h>
#elif defined(__ARMCOMPILER_VERSION)
#include <zephyr/toolchain/armclang.h>
#elif defined(__llvm__) || (defined(_LINKER) && defined(__LLD_LINKER_CMD__))
#include <zephyr/toolchain/llvm.h>
#elif defined(__GNUC__) || (defined(_LINKER) && defined(__GCC_LINKER_CMD__))
#include <zephyr/toolchain/gcc.h>
#else
#error "Invalid/unknown toolchain configuration"
#endif
/**
* @def __noasan
* @brief Disable address sanitizer
*
* When used in the definition of a symbol, prevents that symbol (be it
* a function or data) from being instrumented by the address
* sanitizer feature of the compiler. Most commonly, this is used to
* prevent padding around data that will be treated specially by the
* Zephyr link (c.f. SYS_INIT records, STRUCT_SECTION_ITERABLE
* definitions) in ways that don't understand the guard padding.
*/
#ifndef __noasan
#define __noasan /**/
#endif
/**
* @def TOOLCHAIN_GCC_VERSION
* @brief GCC version in xxyyzz for xx.yy.zz. Zero if not GCC compatible.
*/
#ifndef TOOLCHAIN_GCC_VERSION
#define TOOLCHAIN_GCC_VERSION 0
#endif
/**
* @def TOOLCHAIN_CLANG_VERSION
* @brief Clang version in xxyyzz for xx.yy.zz. Zero if not Clang compatible.
*/
#ifndef TOOLCHAIN_CLANG_VERSION
#define TOOLCHAIN_CLANG_VERSION 0
#endif
/**
* @def TOOLCHAIN_HAS_PRAGMA_DIAG
* @brief Indicate if toolchain supports \#pragma diagnostics.
*/
#ifndef TOOLCHAIN_HAS_PRAGMA_DIAG
#define TOOLCHAIN_HAS_PRAGMA_DIAG 0
#endif
/**
* @def TOOLCHAIN_HAS_C_GENERIC
* @brief Indicate if toolchain supports C Generic.
*/
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
/* _Generic is introduced in C11, so it is supported. */
# ifdef TOOLCHAIN_HAS_C_GENERIC
# undef TOOLCHAIN_HAS_C_GENERIC
# endif
# define TOOLCHAIN_HAS_C_GENERIC 1
#else
# ifndef TOOLCHAIN_HAS_C_GENERIC
# define TOOLCHAIN_HAS_C_GENERIC 0
# endif
#endif
/**
* @def TOOLCHAIN_HAS_C_AUTO_TYPE
* @brief Indicate if toolchain supports C __auto_type.
*/
#ifndef TOOLCHAIN_HAS_C_AUTO_TYPE
#define TOOLCHAIN_HAS_C_AUTO_TYPE 0
#endif
/**
* @def TOOLCHAIN_HAS_ZLA
* @brief Indicate if toolchain supports Zero Length Arrays.
*/
#ifndef TOOLCHAIN_HAS_ZLA
#define TOOLCHAIN_HAS_ZLA 0
#endif
/**
* @def TOOLCHAIN_IGNORE_WSHADOW_BEGIN
* @brief Begin of block to ignore -Wshadow.
*
* To be used inside another macro.
* Only for toolchain supporting _Pragma("GCC diagnostic ...").
*/
#ifndef TOOLCHAIN_IGNORE_WSHADOW_BEGIN
#define TOOLCHAIN_IGNORE_WSHADOW_BEGIN
#endif
/**
* @def TOOLCHAIN_IGNORE_WSHADOW_END
* @brief End of block to ignore -Wshadow.
*
* To be used inside another macro.
* Only for toolchain supporting _Pragma("GCC diagnostic ...").
*/
#ifndef TOOLCHAIN_IGNORE_WSHADOW_END
#define TOOLCHAIN_IGNORE_WSHADOW_END
#endif
/*
* Ensure that __BYTE_ORDER__ and related preprocessor definitions are defined,
* and that they match the Kconfig option that is used in the code itself to
* check for endianness.
*/
#ifndef _LINKER
#if !defined(__BYTE_ORDER__) || !defined(__ORDER_BIG_ENDIAN__) || \
!defined(__ORDER_LITTLE_ENDIAN__)
/*
* Displaying values unfortunately requires #pragma message which can't
* be taken for granted + STRINGIFY() which is not available in this .h
* file.
*/
#error "At least one byte _ORDER_ macro is not defined"
#else
#if (defined(CONFIG_BIG_ENDIAN) && (__BYTE_ORDER__ != __ORDER_BIG_ENDIAN__)) || \
(defined(CONFIG_LITTLE_ENDIAN) && (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__))
# error "Kconfig/toolchain endianness mismatch:"
# if (__BYTE_ORDER__ != __ORDER_BIG_ENDIAN__) && (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
# error "Unknown __BYTE_ORDER__ value"
# else
# ifdef CONFIG_BIG_ENDIAN
# error "CONFIG_BIG_ENDIAN but __ORDER_LITTLE_ENDIAN__"
# endif
# ifdef CONFIG_LITTLE_ENDIAN
# error "CONFIG_LITTLE_ENDIAN but __ORDER_BIG_ENDIAN__"
# endif
# endif
#endif /* Endianness mismatch */
#endif /* all _ORDER_ macros defined */
#endif /* !_LINKER */
#endif /* ZEPHYR_INCLUDE_TOOLCHAIN_H_ */
``` | /content/code_sandbox/include/zephyr/toolchain.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,278 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ZEPHYR_BINDESC_H_
#define ZEPHYR_INCLUDE_ZEPHYR_BINDESC_H_
#include <zephyr/sys/util_macro.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*
* Corresponds to the definitions in scripts/west_commands/bindesc.py.
* Do not change without syncing the definitions in both files!
*/
#define BINDESC_MAGIC 0xb9863e5a7ea46046
#define BINDESC_ALIGNMENT 4
#define BINDESC_TYPE_UINT 0x0
#define BINDESC_TYPE_STR 0x1
#define BINDESC_TYPE_BYTES 0x2
#define BINDESC_TYPE_DESCRIPTORS_END 0xf
/**
* @brief Binary Descriptor Definition
* @defgroup bindesc_define Bindesc Define
* @ingroup os_services
* @{
*/
/*
* Corresponds to the definitions in scripts/west_commands/bindesc.py.
* Do not change without syncing the definitions in both files!
*/
/** The app version string such as "1.2.3" */
#define BINDESC_ID_APP_VERSION_STRING 0x800
/** The app version major such as 1 */
#define BINDESC_ID_APP_VERSION_MAJOR 0x801
/** The app version minor such as 2 */
#define BINDESC_ID_APP_VERSION_MINOR 0x802
/** The app version patchlevel such as 3 */
#define BINDESC_ID_APP_VERSION_PATCHLEVEL 0x803
/** The app version number such as 0x10203 */
#define BINDESC_ID_APP_VERSION_NUMBER 0x804
/** The kernel version string such as "3.4.0" */
#define BINDESC_ID_KERNEL_VERSION_STRING 0x900
/** The kernel version major such as 3 */
#define BINDESC_ID_KERNEL_VERSION_MAJOR 0x901
/** The kernel version minor such as 4 */
#define BINDESC_ID_KERNEL_VERSION_MINOR 0x902
/** The kernel version patchlevel such as 0 */
#define BINDESC_ID_KERNEL_VERSION_PATCHLEVEL 0x903
/** The kernel version number such as 0x30400 */
#define BINDESC_ID_KERNEL_VERSION_NUMBER 0x904
/** The year the image was compiled in */
#define BINDESC_ID_BUILD_TIME_YEAR 0xa00
/** The month of the year the image was compiled in */
#define BINDESC_ID_BUILD_TIME_MONTH 0xa01
/** The day of the month the image was compiled in */
#define BINDESC_ID_BUILD_TIME_DAY 0xa02
/** The hour of the day the image was compiled in */
#define BINDESC_ID_BUILD_TIME_HOUR 0xa03
/** The minute the image was compiled in */
#define BINDESC_ID_BUILD_TIME_MINUTE 0xa04
/** The second the image was compiled in */
#define BINDESC_ID_BUILD_TIME_SECOND 0xa05
/** The UNIX time (seconds since midnight of 1970/01/01) the image was compiled in */
#define BINDESC_ID_BUILD_TIME_UNIX 0xa06
/** The date and time of compilation such as "2023/02/05 00:07:04" */
#define BINDESC_ID_BUILD_DATE_TIME_STRING 0xa07
/** The date of compilation such as "2023/02/05" */
#define BINDESC_ID_BUILD_DATE_STRING 0xa08
/** The time of compilation such as "00:07:04" */
#define BINDESC_ID_BUILD_TIME_STRING 0xa09
/** The name of the host that compiled the image */
#define BINDESC_ID_HOST_NAME 0xb00
/** The C compiler name */
#define BINDESC_ID_C_COMPILER_NAME 0xb01
/** The C compiler version */
#define BINDESC_ID_C_COMPILER_VERSION 0xb02
/** The C++ compiler name */
#define BINDESC_ID_CXX_COMPILER_NAME 0xb03
/** The C++ compiler version */
#define BINDESC_ID_CXX_COMPILER_VERSION 0xb04
#define BINDESC_TAG_DESCRIPTORS_END BINDESC_TAG(DESCRIPTORS_END, 0x0fff)
/**
* @cond INTERNAL_HIDDEN
*/
/*
* Utility macro to generate a tag from a type and an ID
*
* type - Type of the descriptor, UINT, STR or BYTES
* id - Unique ID for the descriptor, must fit in 12 bits
*/
#define BINDESC_TAG(type, id) ((BINDESC_TYPE_##type & 0xf) << 12 | (id & 0x0fff))
/**
* @endcond
*/
#if !defined(_LINKER)
#include <zephyr/sys/byteorder.h>
/**
* @cond INTERNAL_HIDDEN
*/
/*
* Utility macro to get the name of a bindesc entry
*/
#define BINDESC_NAME(name) bindesc_entry_##name
/* Convenience helper for declaring a binary descriptor entry. */
#define __BINDESC_ENTRY_DEFINE(name) \
__aligned(BINDESC_ALIGNMENT) const struct bindesc_entry BINDESC_NAME(name) \
__in_section(_bindesc_entry, static, name) __used __noasan
/**
* @endcond
*/
/**
* @brief Define a binary descriptor of type string.
*
* @details
* Define a string that is registered in the binary descriptor header.
* The defined string can be accessed using @ref BINDESC_GET_STR
*
* @note The defined string is not static, so its name must not collide with
* any other symbol in the executable.
*
* @param name Name of the descriptor
* @param id Unique ID of the descriptor
* @param value A string value for the descriptor
*/
#define BINDESC_STR_DEFINE(name, id, value) \
__BINDESC_ENTRY_DEFINE(name) = { \
.tag = BINDESC_TAG(STR, id), \
.len = (uint16_t)sizeof(value), \
.data = value, \
}
/**
* @brief Define a binary descriptor of type uint.
*
* @details
* Define an integer that is registered in the binary descriptor header.
* The defined integer can be accessed using @ref BINDESC_GET_UINT
*
* @note The defined integer is not static, so its name must not collide with
* any other symbol in the executable.
*
* @param name Name of the descriptor
* @param id Unique ID of the descriptor
* @param value An integer value for the descriptor
*/
#define BINDESC_UINT_DEFINE(name, id, value) \
__BINDESC_ENTRY_DEFINE(name) = { \
.tag = BINDESC_TAG(UINT, id), \
.len = (uint16_t)sizeof(uint32_t), \
.data = sys_uint32_to_array(value), \
}
/**
* @brief Define a binary descriptor of type bytes.
*
* @details
* Define a uint8_t array that is registered in the binary descriptor header.
* The defined array can be accessed using @ref BINDESC_GET_BYTES.
* The value should be given as an array literal, wrapped in parentheses, for
* example:
*
* BINDESC_BYTES_DEFINE(name, id, ({1, 2, 3, 4}));
*
* @note The defined array is not static, so its name must not collide with
* any other symbol in the executable.
*
* @param name Name of the descriptor
* @param id Unique ID of the descriptor
* @param value A uint8_t array as data for the descriptor
*/
#define BINDESC_BYTES_DEFINE(name, id, value) \
__BINDESC_ENTRY_DEFINE(name) = { \
.tag = BINDESC_TAG(BYTES, id), \
.len = (uint16_t)sizeof((uint8_t [])__DEBRACKET value), \
.data = __DEBRACKET value, \
}
/**
* @brief Get the value of a string binary descriptor
*
* @details
* Get the value of a string binary descriptor, previously defined by
* BINDESC_STR_DEFINE.
*
* @param name Name of the descriptor
*/
#define BINDESC_GET_STR(name) BINDESC_NAME(name).data
/**
* @brief Get the value of a uint binary descriptor
*
* @details
* Get the value of a uint binary descriptor, previously defined by
* BINDESC_UINT_DEFINE.
*
* @param name Name of the descriptor
*/
#define BINDESC_GET_UINT(name) *(uint32_t *)&(BINDESC_NAME(name).data)
/**
* @brief Get the value of a bytes binary descriptor
*
* @details
* Get the value of a string binary descriptor, previously defined by
* BINDESC_BYTES_DEFINE. The returned value can be accessed as an array:
*
* for (size_t i = 0; i < BINDESC_GET_SIZE(name); i++)
* BINDESC_GET_BYTES(name)[i];
*
* @param name Name of the descriptor
*/
#define BINDESC_GET_BYTES(name) BINDESC_NAME(name).data
/**
* @brief Get the size of a binary descriptor
*
* @details
* Get the size of a binary descriptor. This is particularly useful for
* bytes binary descriptors where there's no null terminator.
*
* @param name Name of the descriptor
*/
#define BINDESC_GET_SIZE(name) BINDESC_NAME(name).len
/*
* An entry of the binary descriptor header. Each descriptor is
* described by one of these entries.
*/
struct bindesc_entry {
/** Tag of the entry */
uint16_t tag;
/** Length of the descriptor data */
uint16_t len;
/** Value of the entry. This is either an integer or a string */
uint8_t data[];
} __packed;
/*
* We're assuming that `struct bindesc_entry` has a specific layout in
* memory, so it's worth making sure that the layout is really what we
* think it is. If these assertions fail for your toolchain/platform,
* please open a bug report.
*/
BUILD_ASSERT(offsetof(struct bindesc_entry, tag) == 0, "Incorrect memory layout");
BUILD_ASSERT(offsetof(struct bindesc_entry, len) == 2, "Incorrect memory layout");
BUILD_ASSERT(offsetof(struct bindesc_entry, data) == 4, "Incorrect memory layout");
#if defined(CONFIG_BINDESC_KERNEL_VERSION_STRING)
extern const struct bindesc_entry BINDESC_NAME(kernel_version_string);
#endif /* defined(CONFIG_BINDESC_KERNEL_VERSION_STRING) */
#if defined(CONFIG_BINDESC_KERNEL_VERSION_MAJOR)
extern const struct bindesc_entry BINDESC_NAME(kernel_version_major);
#endif /* defined(CONFIG_BINDESC_KERNEL_VERSION_MAJOR) */
#if defined(CONFIG_BINDESC_KERNEL_VERSION_MINOR)
extern const struct bindesc_entry BINDESC_NAME(kernel_version_minor);
#endif /* defined(CONFIG_BINDESC_KERNEL_VERSION_MINOR) */
#if defined(CONFIG_BINDESC_KERNEL_VERSION_PATCHLEVEL)
extern const struct bindesc_entry BINDESC_NAME(kernel_version_patchlevel);
#endif /* defined(CONFIG_BINDESC_KERNEL_VERSION_PATCHLEVEL) */
#if defined(CONFIG_BINDESC_KERNEL_VERSION_NUMBER)
extern const struct bindesc_entry BINDESC_NAME(kernel_version_number);
#endif /* defined(CONFIG_BINDESC_KERNEL_VERSION_NUMBER) */
#if defined(CONFIG_BINDESC_APP_VERSION_STRING)
extern const struct bindesc_entry BINDESC_NAME(app_version_string);
#endif /* defined(CONFIG_BINDESC_APP_VERSION_STRING) */
#if defined(CONFIG_BINDESC_APP_VERSION_MAJOR)
extern const struct bindesc_entry BINDESC_NAME(app_version_major);
#endif /* defined(CONFIG_BINDESC_APP_VERSION_MAJOR) */
#if defined(CONFIG_BINDESC_APP_VERSION_MINOR)
extern const struct bindesc_entry BINDESC_NAME(app_version_minor);
#endif /* defined(CONFIG_BINDESC_APP_VERSION_MINOR) */
#if defined(CONFIG_BINDESC_APP_VERSION_PATCHLEVEL)
extern const struct bindesc_entry BINDESC_NAME(app_version_patchlevel);
#endif /* defined(CONFIG_BINDESC_APP_VERSION_PATCHLEVEL) */
#if defined(CONFIG_BINDESC_APP_VERSION_NUMBER)
extern const struct bindesc_entry BINDESC_NAME(app_version_number);
#endif /* defined(CONFIG_BINDESC_APP_VERSION_NUMBER) */
#if defined(CONFIG_BINDESC_BUILD_TIME_YEAR)
extern const struct bindesc_entry BINDESC_NAME(build_time_year);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_YEAR) */
#if defined(CONFIG_BINDESC_BUILD_TIME_MONTH)
extern const struct bindesc_entry BINDESC_NAME(build_time_month);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_MONTH) */
#if defined(CONFIG_BINDESC_BUILD_TIME_DAY)
extern const struct bindesc_entry BINDESC_NAME(build_time_day);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_DAY) */
#if defined(CONFIG_BINDESC_BUILD_TIME_HOUR)
extern const struct bindesc_entry BINDESC_NAME(build_time_hour);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_HOUR) */
#if defined(CONFIG_BINDESC_BUILD_TIME_MINUTE)
extern const struct bindesc_entry BINDESC_NAME(build_time_minute);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_MINUTE) */
#if defined(CONFIG_BINDESC_BUILD_TIME_SECOND)
extern const struct bindesc_entry BINDESC_NAME(build_time_second);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_SECOND) */
#if defined(CONFIG_BINDESC_BUILD_TIME_UNIX)
extern const struct bindesc_entry BINDESC_NAME(build_time_unix);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_UNIX) */
#if defined(CONFIG_BINDESC_BUILD_DATE_TIME_STRING)
extern const struct bindesc_entry BINDESC_NAME(build_date_time_string);
#endif /* defined(CONFIG_BINDESC_BUILD_DATE_TIME_STRING) */
#if defined(CONFIG_BINDESC_BUILD_DATE_STRING)
extern const struct bindesc_entry BINDESC_NAME(build_date_string);
#endif /* defined(CONFIG_BINDESC_BUILD_DATE_STRING) */
#if defined(CONFIG_BINDESC_BUILD_TIME_STRING)
extern const struct bindesc_entry BINDESC_NAME(build_time_string);
#endif /* defined(CONFIG_BINDESC_BUILD_TIME_STRING) */
#if defined(CONFIG_BINDESC_HOST_NAME)
extern const struct bindesc_entry BINDESC_NAME(host_name);
#endif /* defined(CONFIG_BINDESC_HOST_NAME) */
#if defined(CONFIG_BINDESC_C_COMPILER_NAME)
extern const struct bindesc_entry BINDESC_NAME(c_compiler_name);
#endif /* defined(CONFIG_BINDESC_C_COMPILER_NAME) */
#if defined(CONFIG_BINDESC_C_COMPILER_VERSION)
extern const struct bindesc_entry BINDESC_NAME(c_compiler_version);
#endif /* defined(CONFIG_BINDESC_C_COMPILER_VERSION) */
#if defined(CONFIG_BINDESC_CXX_COMPILER_NAME)
extern const struct bindesc_entry BINDESC_NAME(cxx_compiler_name);
#endif /* defined(CONFIG_BINDESC_CXX_COMPILER_NAME) */
#if defined(CONFIG_BINDESC_CXX_COMPILER_VERSION)
extern const struct bindesc_entry BINDESC_NAME(cxx_compiler_version);
#endif /* defined(CONFIG_BINDESC_CXX_COMPILER_VERSION) */
#endif /* !defined(_LINKER) */
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_ZEPHYR_BINDESC_H_ */
``` | /content/code_sandbox/include/zephyr/bindesc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,002 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_CACHE_H_
#define ZEPHYR_INCLUDE_CACHE_H_
/**
* @file
* @brief cache API interface
*/
#include <zephyr/kernel.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/debug/sparse.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(CONFIG_EXTERNAL_CACHE)
#include <zephyr/drivers/cache.h>
#elif defined(CONFIG_ARCH_CACHE)
#include <zephyr/arch/cache.h>
#endif
/**
* @defgroup cache_interface Cache Interface
* @ingroup os_services
* @{
*/
/**
* @cond INTERNAL_HIDDEN
*
*/
#define _CPU DT_PATH(cpus, cpu_0)
/** @endcond */
/**
* @brief Enable the d-cache
*
* Enable the data cache
*
*/
static ALWAYS_INLINE void sys_cache_data_enable(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
cache_data_enable();
#endif
}
/**
* @brief Disable the d-cache
*
* Disable the data cache
*
*/
static ALWAYS_INLINE void sys_cache_data_disable(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
cache_data_disable();
#endif
}
/**
* @brief Enable the i-cache
*
* Enable the instruction cache
*
*/
static ALWAYS_INLINE void sys_cache_instr_enable(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
cache_instr_enable();
#endif
}
/**
* @brief Disable the i-cache
*
* Disable the instruction cache
*
*/
static ALWAYS_INLINE void sys_cache_instr_disable(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
cache_instr_disable();
#endif
}
/**
* @brief Flush the d-cache
*
* Flush the whole data cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_data_flush_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_flush_all();
#endif
return -ENOTSUP;
}
/**
* @brief Flush the i-cache
*
* Flush the whole instruction cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_flush_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_flush_all();
#endif
return -ENOTSUP;
}
/**
* @brief Invalidate the d-cache
*
* Invalidate the whole data cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_data_invd_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_invd_all();
#endif
return -ENOTSUP;
}
/**
* @brief Invalidate the i-cache
*
* Invalidate the whole instruction cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_invd_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_invd_all();
#endif
return -ENOTSUP;
}
/**
* @brief Flush and Invalidate the d-cache
*
* Flush and Invalidate the whole data cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_data_flush_and_invd_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_flush_and_invd_all();
#endif
return -ENOTSUP;
}
/**
* @brief Flush and Invalidate the i-cache
*
* Flush and Invalidate the whole instruction cache.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_flush_and_invd_all(void)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_flush_and_invd_all();
#endif
return -ENOTSUP;
}
/**
* @brief Flush an address range in the d-cache
*
* Flush the specified address range of the data cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being flushed, all the portions of the
* data structures sharing the same line will be flushed. This is usually
* not a problem because writing back is a non-destructive process that
* could be triggered by hardware at any time, so having an aligned
* @p addr or a padded @p size is not strictly necessary.
*
* @param addr Starting address to flush.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
__syscall_always_inline int sys_cache_data_flush_range(void *addr, size_t size);
static ALWAYS_INLINE int z_impl_sys_cache_data_flush_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_flush_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
* @brief Flush an address range in the i-cache
*
* Flush the specified address range of the instruction cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being flushed, all the portions of the
* data structures sharing the same line will be flushed. This is usually
* not a problem because writing back is a non-destructive process that
* could be triggered by hardware at any time, so having an aligned
* @p addr or a padded @p size is not strictly necessary.
*
* @param addr Starting address to flush.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_flush_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_flush_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
* @brief Invalidate an address range in the d-cache
*
* Invalidate the specified address range of the data cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being invalidated, all the portions of the
* non-read-only data structures sharing the same line will be
* invalidated as well. This is a destructive process that could lead to
* data loss and/or corruption. When @p addr is not aligned to the cache
* line and/or @p size is not a multiple of the cache line size the
* behaviour is undefined.
*
* @param addr Starting address to invalidate.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
__syscall_always_inline int sys_cache_data_invd_range(void *addr, size_t size);
static ALWAYS_INLINE int z_impl_sys_cache_data_invd_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_invd_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
* @brief Invalidate an address range in the i-cache
*
* Invalidate the specified address range of the instruction cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being invalidated, all the portions of the
* non-read-only data structures sharing the same line will be
* invalidated as well. This is a destructive process that could lead to
* data loss and/or corruption. When @p addr is not aligned to the cache
* line and/or @p size is not a multiple of the cache line size the
* behaviour is undefined.
*
* @param addr Starting address to invalidate.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_invd_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_invd_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
* @brief Flush and Invalidate an address range in the d-cache
*
* Flush and Invalidate the specified address range of the data cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being flushed, all the portions of the
* data structures sharing the same line will be flushed before being
* invalidated. This is usually not a problem because writing back is a
* non-destructive process that could be triggered by hardware at any
* time, so having an aligned @p addr or a padded @p size is not strictly
* necessary.
*
* @param addr Starting address to flush and invalidate.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
__syscall_always_inline int sys_cache_data_flush_and_invd_range(void *addr, size_t size);
static ALWAYS_INLINE int z_impl_sys_cache_data_flush_and_invd_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_DCACHE)
return cache_data_flush_and_invd_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
* @brief Flush and Invalidate an address range in the i-cache
*
* Flush and Invalidate the specified address range of the instruction cache.
*
* @note the cache operations act on cache line. When multiple data structures
* share the same cache line being flushed, all the portions of the
* data structures sharing the same line will be flushed before being
* invalidated. This is usually not a problem because writing back is a
* non-destructive process that could be triggered by hardware at any
* time, so having an aligned @p addr or a padded @p size is not strictly
* necessary.
*
* @param addr Starting address to flush and invalidate.
* @param size Range size.
*
* @retval 0 If succeeded.
* @retval -ENOTSUP If not supported.
* @retval -errno Negative errno for other failures.
*/
static ALWAYS_INLINE int sys_cache_instr_flush_and_invd_range(void *addr, size_t size)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_ICACHE)
return cache_instr_flush_and_invd_range(addr, size);
#endif
ARG_UNUSED(addr);
ARG_UNUSED(size);
return -ENOTSUP;
}
/**
*
* @brief Get the d-cache line size.
*
* The API is provided to get the data cache line.
*
* The cache line size is calculated (in order of priority):
*
* - At run-time when @kconfig{CONFIG_DCACHE_LINE_SIZE_DETECT} is set.
* - At compile time using the value set in @kconfig{CONFIG_DCACHE_LINE_SIZE}.
* - At compile time using the `d-cache-line-size` CPU0 property of the DT.
* - 0 otherwise
*
* @retval size Size of the d-cache line.
* @retval 0 If the d-cache is not enabled.
*/
static ALWAYS_INLINE size_t sys_cache_data_line_size_get(void)
{
#ifdef CONFIG_DCACHE_LINE_SIZE_DETECT
return cache_data_line_size_get();
#elif (CONFIG_DCACHE_LINE_SIZE != 0)
return CONFIG_DCACHE_LINE_SIZE;
#else
return DT_PROP_OR(_CPU, d_cache_line_size, 0);
#endif
}
/**
*
* @brief Get the i-cache line size.
*
* The API is provided to get the instruction cache line.
*
* The cache line size is calculated (in order of priority):
*
* - At run-time when @kconfig{CONFIG_ICACHE_LINE_SIZE_DETECT} is set.
* - At compile time using the value set in @kconfig{CONFIG_ICACHE_LINE_SIZE}.
* - At compile time using the `i-cache-line-size` CPU0 property of the DT.
* - 0 otherwise
*
* @retval size Size of the d-cache line.
* @retval 0 If the d-cache is not enabled.
*/
static ALWAYS_INLINE size_t sys_cache_instr_line_size_get(void)
{
#ifdef CONFIG_ICACHE_LINE_SIZE_DETECT
return cache_instr_line_size_get();
#elif (CONFIG_ICACHE_LINE_SIZE != 0)
return CONFIG_ICACHE_LINE_SIZE;
#else
return DT_PROP_OR(_CPU, i_cache_line_size, 0);
#endif
}
/**
* @brief Test if a pointer is in cached region.
*
* Some hardware may map the same physical memory twice
* so that it can be seen in both (incoherent) cached mappings
* and a coherent "shared" area. This tests if a particular
* pointer is within the cached, coherent area.
*
* @param ptr Pointer
*
* @retval True if pointer is in cached region.
* @retval False if pointer is not in cached region.
*/
static ALWAYS_INLINE bool sys_cache_is_ptr_cached(void *ptr)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_CACHE_DOUBLEMAP)
return cache_is_ptr_cached(ptr);
#else
ARG_UNUSED(ptr);
return false;
#endif
}
/**
* @brief Test if a pointer is in un-cached region.
*
* Some hardware may map the same physical memory twice
* so that it can be seen in both (incoherent) cached mappings
* and a coherent "shared" area. This tests if a particular
* pointer is within the un-cached, incoherent area.
*
* @param ptr Pointer
*
* @retval True if pointer is not in cached region.
* @retval False if pointer is in cached region.
*/
static ALWAYS_INLINE bool sys_cache_is_ptr_uncached(void *ptr)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_CACHE_DOUBLEMAP)
return cache_is_ptr_uncached(ptr);
#else
ARG_UNUSED(ptr);
return false;
#endif
}
/**
* @brief Return cached pointer to a RAM address
*
* This function takes a pointer to any addressable object (either in
* cacheable memory or not) and returns a pointer that can be used to
* refer to the same memory through the L1 data cache. Data read
* through the resulting pointer will reflect locally cached values on
* the current CPU if they exist, and writes will go first into the
* cache and be written back later.
*
* @note This API returns the same pointer if CONFIG_CACHE_DOUBLEMAP is not
* enabled.
*
* @see arch_uncached_ptr()
*
* @param ptr A pointer to a valid C object
* @return A pointer to the same object via the L1 dcache
*/
static ALWAYS_INLINE void __sparse_cache *sys_cache_cached_ptr_get(void *ptr)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_CACHE_DOUBLEMAP)
return cache_cached_ptr(ptr);
#else
return (__sparse_force void __sparse_cache *)ptr;
#endif
}
/**
* @brief Return uncached pointer to a RAM address
*
* This function takes a pointer to any addressable object (either in
* cacheable memory or not) and returns a pointer that can be used to
* refer to the same memory while bypassing the L1 data cache. Data
* in the L1 cache will not be inspected nor modified by the access.
*
* @note This API returns the same pointer if CONFIG_CACHE_DOUBLEMAP is not
* enabled.
*
* @see arch_cached_ptr()
*
* @param ptr A pointer to a valid C object
* @return A pointer to the same object bypassing the L1 dcache
*/
static ALWAYS_INLINE void *sys_cache_uncached_ptr_get(void __sparse_cache *ptr)
{
#if defined(CONFIG_CACHE_MANAGEMENT) && defined(CONFIG_CACHE_DOUBLEMAP)
return cache_uncached_ptr(ptr);
#else
return (__sparse_force void *)ptr;
#endif
}
#ifdef CONFIG_LIBMETAL
static ALWAYS_INLINE void sys_cache_flush(void *addr, size_t size)
{
sys_cache_data_flush_range(addr, size);
}
#endif
#include <zephyr/syscalls/cache.h>
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_CACHE_H_ */
``` | /content/code_sandbox/include/zephyr/cache.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,582 |
```objective-c
/*
*
*/
/** @file
* @brief Fatal error functions
*/
#ifndef ZEPHYR_INCLUDE_FATAL_H
#define ZEPHYR_INCLUDE_FATAL_H
#include <zephyr/arch/cpu.h>
#include <zephyr/arch/exception.h>
#include <zephyr/toolchain.h>
#include <zephyr/fatal_types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup fatal_apis Fatal error APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Halt the system on a fatal error
*
* Invokes architecture-specific code to power off or halt the system in
* a low power state. Lacking that, lock interrupts and sit in an idle loop.
*
* @param reason Fatal exception reason code
*/
FUNC_NORETURN void k_fatal_halt(unsigned int reason);
/**
* @brief Fatal error policy handler
*
* This function is not invoked by application code, but is declared as a
* weak symbol so that applications may introduce their own policy.
*
* The default implementation of this function halts the system
* unconditionally. Depending on architecture support, this may be
* a simple infinite loop, power off the hardware, or exit an emulator.
*
* If this function returns, then the currently executing thread will be
* aborted.
*
* A few notes for custom implementations:
*
* - If the error is determined to be unrecoverable, LOG_PANIC() should be
* invoked to flush any pending logging buffers.
* - K_ERR_KERNEL_PANIC indicates a severe unrecoverable error in the kernel
* itself, and should not be considered recoverable. There is an assertion
* in z_fatal_error() to enforce this.
* - Even outside of a kernel panic, unless the fault occurred in user mode,
* the kernel itself may be in an inconsistent state, with API calls to
* kernel objects possibly exhibiting undefined behavior or triggering
* another exception.
*
* @param reason The reason for the fatal error
* @param esf Exception context, with details and partial or full register
* state when the error occurred. May in some cases be NULL.
*/
void k_sys_fatal_error_handler(unsigned int reason, const struct arch_esf *esf);
/**
* @brief Called by architecture code upon a fatal error.
*
* This function dumps out architecture-agnostic information about the error
* and then makes a policy decision on what to do by invoking
* k_sys_fatal_error_handler().
*
* On architectures where k_thread_abort() never returns, this function
* never returns either.
*
* @param reason The reason for the fatal error
* @param esf Exception context, with details and partial or full register
* state when the error occurred. May in some cases be NULL.
*/
void z_fatal_error(unsigned int reason, const struct arch_esf *esf);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_FATAL_H */
``` | /content/code_sandbox/include/zephyr/fatal.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 625 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public interface for configuring interrupts
*/
#ifndef ZEPHYR_INCLUDE_IRQ_H_
#define ZEPHYR_INCLUDE_IRQ_H_
/* Pull in the arch-specific implementations */
#include <zephyr/arch/cpu.h>
#ifndef _ASMLANGUAGE
#include <zephyr/toolchain.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup isr_apis Interrupt Service Routine APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize an interrupt handler.
*
* This routine initializes an interrupt handler for an IRQ. The IRQ must be
* subsequently enabled before the interrupt handler begins servicing
* interrupts.
*
* @warning
* Although this routine is invoked at run-time, all of its arguments must be
* computable by the compiler at build time.
*
* @param irq_p IRQ line number.
* @param priority_p Interrupt priority.
* @param isr_p Address of interrupt service routine.
* @param isr_param_p Parameter passed to interrupt service routine.
* @param flags_p Architecture-specific IRQ configuration flags..
*/
#define IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p)
/**
* Configure a dynamic interrupt.
*
* Use this instead of IRQ_CONNECT() if arguments cannot be known at build time.
*
* @param irq IRQ line number
* @param priority Interrupt priority
* @param routine Interrupt service routine
* @param parameter ISR parameter
* @param flags Arch-specific IRQ configuration flags
*
* @return The vector assigned to this interrupt
*/
static inline int
irq_connect_dynamic(unsigned int irq, unsigned int priority,
void (*routine)(const void *parameter),
const void *parameter, uint32_t flags)
{
return arch_irq_connect_dynamic(irq, priority, routine, parameter,
flags);
}
/**
* Disconnect a dynamic interrupt.
*
* Use this in conjunction with shared interrupts to remove a routine/parameter
* pair from the list of clients using the same interrupt line. If the interrupt
* is not being shared then the associated _sw_isr_table entry will be replaced
* by (NULL, z_irq_spurious) (default entry).
*
* @param irq IRQ line number
* @param priority Interrupt priority
* @param routine Interrupt service routine
* @param parameter ISR parameter
* @param flags Arch-specific IRQ configuration flags
*
* @return 0 in case of success, negative value otherwise
*/
static inline int
irq_disconnect_dynamic(unsigned int irq, unsigned int priority,
void (*routine)(const void *parameter),
const void *parameter, uint32_t flags)
{
return arch_irq_disconnect_dynamic(irq, priority, routine,
parameter, flags);
}
/**
* @brief Initialize a 'direct' interrupt handler.
*
* This routine initializes an interrupt handler for an IRQ. The IRQ must be
* subsequently enabled via irq_enable() before the interrupt handler begins
* servicing interrupts.
*
* These ISRs are designed for performance-critical interrupt handling and do
* not go through common interrupt handling code. They must be implemented in
* such a way that it is safe to put them directly in the vector table. For
* ISRs written in C, The ISR_DIRECT_DECLARE() macro will do this
* automatically. For ISRs written in assembly it is entirely up to the
* developer to ensure that the right steps are taken.
*
* This type of interrupt currently has a few limitations compared to normal
* Zephyr interrupts:
* - No parameters are passed to the ISR.
* - No stack switch is done, the ISR will run on the interrupted context's
* stack, unless the architecture automatically does the stack switch in HW.
* - Interrupt locking state is unchanged from how the HW sets it when the ISR
* runs. On arches that enter ISRs with interrupts locked, they will remain
* locked.
* - Scheduling decisions are now optional, controlled by the return value of
* ISRs implemented with the ISR_DIRECT_DECLARE() macro
* - The call into the OS to exit power management idle state is now optional.
* Normal interrupts always do this before the ISR is run, but when it runs
* is now controlled by the placement of a ISR_DIRECT_PM() macro, or omitted
* entirely.
*
* @warning
* Although this routine is invoked at run-time, all of its arguments must be
* computable by the compiler at build time.
*
* @param irq_p IRQ line number.
* @param priority_p Interrupt priority.
* @param isr_p Address of interrupt service routine.
* @param flags_p Architecture-specific IRQ configuration flags.
*/
#define IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p) \
ARCH_IRQ_DIRECT_CONNECT(irq_p, priority_p, isr_p, flags_p)
/**
* @brief Common tasks before executing the body of an ISR
*
* This macro must be at the beginning of all direct interrupts and performs
* minimal architecture-specific tasks before the ISR itself can run. It takes
* no arguments and has no return value.
*/
#define ISR_DIRECT_HEADER() ARCH_ISR_DIRECT_HEADER()
/**
* @brief Common tasks before exiting the body of an ISR
*
* This macro must be at the end of all direct interrupts and performs
* minimal architecture-specific tasks like EOI. It has no return value.
*
* In a normal interrupt, a check is done at end of interrupt to invoke
* z_swap() logic if the current thread is preemptible and there is another
* thread ready to run in the kernel's ready queue cache. This is now optional
* and controlled by the check_reschedule argument. If unsure, set to nonzero.
* On systems that do stack switching and nested interrupt tracking in software,
* z_swap() should only be called if this was a non-nested interrupt.
*
* @param check_reschedule If nonzero, additionally invoke scheduling logic
*/
#define ISR_DIRECT_FOOTER(check_reschedule) \
ARCH_ISR_DIRECT_FOOTER(check_reschedule)
/**
* @brief Perform power management idle exit logic
*
* This macro may optionally be invoked somewhere in between IRQ_DIRECT_HEADER()
* and IRQ_DIRECT_FOOTER() invocations. It performs tasks necessary to
* exit power management idle state. It takes no parameters and returns no
* arguments. It may be omitted, but be careful!
*/
#define ISR_DIRECT_PM() ARCH_ISR_DIRECT_PM()
/**
* @brief Helper macro to declare a direct interrupt service routine.
*
* This will declare the function in a proper way and automatically include
* the ISR_DIRECT_FOOTER() and ISR_DIRECT_HEADER() macros. The function should
* return nonzero status if a scheduling decision should potentially be made.
* See ISR_DIRECT_FOOTER() for more details on the scheduling decision.
*
* For architectures that support 'regular' and 'fast' interrupt types, where
* these interrupt types require different assembly language handling of
* registers by the ISR, this will always generate code for the 'fast'
* interrupt type.
*
* Example usage:
*
* ISR_DIRECT_DECLARE(my_isr)
* {
* bool done = do_stuff();
* ISR_DIRECT_PM(); // done after do_stuff() due to latency concerns
* if (!done) {
* return 0; // don't bother checking if we have to z_swap()
* }
*
* k_sem_give(some_sem);
* return 1;
* }
*
* @param name symbol name of the ISR
*/
#define ISR_DIRECT_DECLARE(name) ARCH_ISR_DIRECT_DECLARE(name)
/**
* @brief Lock interrupts.
* @def irq_lock()
*
* This routine disables all interrupts on the CPU. It returns an unsigned
* integer "lock-out key", which is an architecture-dependent indicator of
* whether interrupts were locked prior to the call. The lock-out key must be
* passed to irq_unlock() to re-enable interrupts.
*
* @note
* This routine must also serve as a memory barrier to ensure the uniprocessor
* implementation of spinlocks is correct.
*
* This routine can be called recursively, as long as the caller keeps track
* of each lock-out key that is generated. Interrupts are re-enabled by
* passing each of the keys to irq_unlock() in the reverse order they were
* acquired. (That is, each call to irq_lock() must be balanced by
* a corresponding call to irq_unlock().)
*
* This routine can only be invoked from supervisor mode. Some architectures
* (for example, ARM) will fail silently if invoked from user mode instead
* of generating an exception.
*
* @note
* This routine can be called by ISRs or by threads. If it is called by a
* thread, the interrupt lock is thread-specific; this means that interrupts
* remain disabled only while the thread is running. If the thread performs an
* operation that allows another thread to run (for example, giving a semaphore
* or sleeping for N milliseconds), the interrupt lock no longer applies and
* interrupts may be re-enabled while other processing occurs. When the thread
* once again becomes the current thread, the kernel re-establishes its
* interrupt lock; this ensures the thread won't be interrupted until it has
* explicitly released the interrupt lock it established.
*
* @warning
* The lock-out key should never be used to manually re-enable interrupts
* or to inspect or manipulate the contents of the CPU's interrupt bits.
*
* @return An architecture-dependent lock-out key representing the
* "interrupt disable state" prior to the call.
*/
#ifdef CONFIG_SMP
unsigned int z_smp_global_lock(void);
#define irq_lock() z_smp_global_lock()
#else
#define irq_lock() arch_irq_lock()
#endif
/**
* @brief Unlock interrupts.
* @def irq_unlock()
*
* This routine reverses the effect of a previous call to irq_lock() using
* the associated lock-out key. The caller must call the routine once for
* each time it called irq_lock(), supplying the keys in the reverse order
* they were acquired, before interrupts are enabled.
*
* @note
* This routine must also serve as a memory barrier to ensure the uniprocessor
* implementation of spinlocks is correct.
*
* This routine can only be invoked from supervisor mode. Some architectures
* (for example, ARM) will fail silently if invoked from user mode instead
* of generating an exception.
*
* @note Can be called by ISRs.
*
* @param key Lock-out key generated by irq_lock().
*/
#ifdef CONFIG_SMP
void z_smp_global_unlock(unsigned int key);
#define irq_unlock(key) z_smp_global_unlock(key)
#else
#define irq_unlock(key) arch_irq_unlock(key)
#endif
/**
* @brief Enable an IRQ.
*
* This routine enables interrupts from source @a irq.
*
* @param irq IRQ line.
*/
#define irq_enable(irq) arch_irq_enable(irq)
/**
* @brief Disable an IRQ.
*
* This routine disables interrupts from source @a irq.
*
* @param irq IRQ line.
*/
#define irq_disable(irq) arch_irq_disable(irq)
/**
* @brief Get IRQ enable state.
*
* This routine indicates if interrupts from source @a irq are enabled.
*
* @param irq IRQ line.
*
* @return interrupt enable state, true or false
*/
#define irq_is_enabled(irq) arch_irq_is_enabled(irq)
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_IRQ_H_ */
``` | /content/code_sandbox/include/zephyr/irq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,440 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public interface for spinlocks
*/
#ifndef ZEPHYR_INCLUDE_SPINLOCK_H_
#define ZEPHYR_INCLUDE_SPINLOCK_H_
#include <errno.h>
#include <stdbool.h>
#include <zephyr/arch/cpu.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/time_units.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Spinlock APIs
* @defgroup spinlock_apis Spinlock APIs
* @ingroup kernel_apis
* @{
*/
struct z_spinlock_key {
int key;
};
/**
* @brief Kernel Spin Lock
*
* This struct defines a spin lock record on which CPUs can wait with
* k_spin_lock(). Any number of spinlocks may be defined in
* application code.
*/
struct k_spinlock {
/**
* @cond INTERNAL_HIDDEN
*/
#ifdef CONFIG_SMP
#ifdef CONFIG_TICKET_SPINLOCKS
/*
* Ticket spinlocks are conceptually two atomic variables,
* one indicating the current FIFO head (spinlock owner),
* and the other indicating the current FIFO tail.
* Spinlock is acquired in the following manner:
* - current FIFO tail value is atomically incremented while it's
* original value is saved as a "ticket"
* - we spin until the FIFO head becomes equal to the ticket value
*
* Spinlock is released by atomic increment of the FIFO head
*/
atomic_t owner;
atomic_t tail;
#else
atomic_t locked;
#endif /* CONFIG_TICKET_SPINLOCKS */
#endif /* CONFIG_SMP */
#ifdef CONFIG_SPIN_VALIDATE
/* Stores the thread that holds the lock with the locking CPU
* ID in the bottom two bits.
*/
uintptr_t thread_cpu;
#ifdef CONFIG_SPIN_LOCK_TIME_LIMIT
/* Stores the time (in cycles) when a lock was taken
*/
uint32_t lock_time;
#endif /* CONFIG_SPIN_LOCK_TIME_LIMIT */
#endif /* CONFIG_SPIN_VALIDATE */
#if defined(CONFIG_CPP) && !defined(CONFIG_SMP) && \
!defined(CONFIG_SPIN_VALIDATE)
/* If CONFIG_SMP and CONFIG_SPIN_VALIDATE are both not defined
* the k_spinlock struct will have no members. The result
* is that in C sizeof(k_spinlock) is 0 and in C++ it is 1.
*
* This size difference causes problems when the k_spinlock
* is embedded into another struct like k_msgq, because C and
* C++ will have different ideas on the offsets of the members
* that come after the k_spinlock member.
*
* To prevent this we add a 1 byte dummy member to k_spinlock
* when the user selects C++ support and k_spinlock would
* otherwise be empty.
*/
char dummy;
#endif
/**
* INTERNAL_HIDDEN @endcond
*/
};
/* There's a spinlock validation framework available when asserts are
* enabled. It adds a relatively hefty overhead (about 3k or so) to
* kernel code size, don't use on platforms known to be small.
*/
#ifdef CONFIG_SPIN_VALIDATE
bool z_spin_lock_valid(struct k_spinlock *l);
bool z_spin_unlock_valid(struct k_spinlock *l);
void z_spin_lock_set_owner(struct k_spinlock *l);
BUILD_ASSERT(CONFIG_MP_MAX_NUM_CPUS <= 4, "Too many CPUs for mask");
# ifdef CONFIG_KERNEL_COHERENCE
bool z_spin_lock_mem_coherent(struct k_spinlock *l);
# endif /* CONFIG_KERNEL_COHERENCE */
#endif /* CONFIG_SPIN_VALIDATE */
/**
* @brief Spinlock key type
*
* This type defines a "key" value used by a spinlock implementation
* to store the system interrupt state at the time of a call to
* k_spin_lock(). It is expected to be passed to a matching
* k_spin_unlock().
*
* This type is opaque and should not be inspected by application
* code.
*/
typedef struct z_spinlock_key k_spinlock_key_t;
static ALWAYS_INLINE void z_spinlock_validate_pre(struct k_spinlock *l)
{
ARG_UNUSED(l);
#ifdef CONFIG_SPIN_VALIDATE
__ASSERT(z_spin_lock_valid(l), "Invalid spinlock %p", l);
#ifdef CONFIG_KERNEL_COHERENCE
__ASSERT_NO_MSG(z_spin_lock_mem_coherent(l));
#endif
#endif
}
static ALWAYS_INLINE void z_spinlock_validate_post(struct k_spinlock *l)
{
ARG_UNUSED(l);
#ifdef CONFIG_SPIN_VALIDATE
z_spin_lock_set_owner(l);
#if defined(CONFIG_SPIN_LOCK_TIME_LIMIT) && (CONFIG_SPIN_LOCK_TIME_LIMIT != 0)
l->lock_time = sys_clock_cycle_get_32();
#endif /* CONFIG_SPIN_LOCK_TIME_LIMIT */
#endif /* CONFIG_SPIN_VALIDATE */
}
/**
* @brief Lock a spinlock
*
* This routine locks the specified spinlock, returning a key handle
* representing interrupt state needed at unlock time. Upon
* returning, the calling thread is guaranteed not to be suspended or
* interrupted on its current CPU until it calls k_spin_unlock(). The
* implementation guarantees mutual exclusion: exactly one thread on
* one CPU will return from k_spin_lock() at a time. Other CPUs
* trying to acquire a lock already held by another CPU will enter an
* implementation-defined busy loop ("spinning") until the lock is
* released.
*
* Separate spin locks may be nested. It is legal to lock an
* (unlocked) spin lock while holding a different lock. Spin locks
* are not recursive, however: an attempt to acquire a spin lock that
* the CPU already holds will deadlock.
*
* In circumstances where only one CPU exists, the behavior of
* k_spin_lock() remains as specified above, though obviously no
* spinning will take place. Implementations may be free to optimize
* in uniprocessor contexts such that the locking reduces to an
* interrupt mask operation.
*
* @param l A pointer to the spinlock to lock
* @return A key value that must be passed to k_spin_unlock() when the
* lock is released.
*/
static ALWAYS_INLINE k_spinlock_key_t k_spin_lock(struct k_spinlock *l)
{
ARG_UNUSED(l);
k_spinlock_key_t k;
/* Note that we need to use the underlying arch-specific lock
* implementation. The "irq_lock()" API in SMP context is
* actually a wrapper for a global spinlock!
*/
k.key = arch_irq_lock();
z_spinlock_validate_pre(l);
#ifdef CONFIG_SMP
#ifdef CONFIG_TICKET_SPINLOCKS
/*
* Enqueue ourselves to the end of a spinlock waiters queue
* receiving a ticket
*/
atomic_val_t ticket = atomic_inc(&l->tail);
/* Spin until our ticket is served */
while (atomic_get(&l->owner) != ticket) {
arch_spin_relax();
}
#else
while (!atomic_cas(&l->locked, 0, 1)) {
arch_spin_relax();
}
#endif /* CONFIG_TICKET_SPINLOCKS */
#endif /* CONFIG_SMP */
z_spinlock_validate_post(l);
return k;
}
/**
* @brief Attempt to lock a spinlock
*
* This routine makes one attempt to lock @p l. If it is successful, then
* it will store the key into @p k.
*
* @param[in] l A pointer to the spinlock to lock
* @param[out] k A pointer to the spinlock key
* @retval 0 on success
* @retval -EBUSY if another thread holds the lock
*
* @see k_spin_lock
* @see k_spin_unlock
*/
static ALWAYS_INLINE int k_spin_trylock(struct k_spinlock *l, k_spinlock_key_t *k)
{
int key = arch_irq_lock();
z_spinlock_validate_pre(l);
#ifdef CONFIG_SMP
#ifdef CONFIG_TICKET_SPINLOCKS
/*
* atomic_get and atomic_cas operations below are not executed
* simultaneously.
* So in theory k_spin_trylock can lock an already locked spinlock.
* To reproduce this the following conditions should be met after we
* executed atomic_get and before we executed atomic_cas:
*
* - spinlock needs to be taken 0xffff_..._ffff + 1 times
* (which requires 0xffff_..._ffff number of CPUs, as k_spin_lock call
* is blocking) or
* - spinlock needs to be taken and released 0xffff_..._ffff times and
* then taken again
*
* In real-life systems this is considered non-reproducible given that
* required actions need to be done during this tiny window of several
* CPU instructions (which execute with interrupt locked,
* so no preemption can happen here)
*/
atomic_val_t ticket_val = atomic_get(&l->owner);
if (!atomic_cas(&l->tail, ticket_val, ticket_val + 1)) {
goto busy;
}
#else
if (!atomic_cas(&l->locked, 0, 1)) {
goto busy;
}
#endif /* CONFIG_TICKET_SPINLOCKS */
#endif /* CONFIG_SMP */
z_spinlock_validate_post(l);
k->key = key;
return 0;
#ifdef CONFIG_SMP
busy:
arch_irq_unlock(key);
return -EBUSY;
#endif /* CONFIG_SMP */
}
/**
* @brief Unlock a spin lock
*
* This releases a lock acquired by k_spin_lock(). After this
* function is called, any CPU will be able to acquire the lock. If
* other CPUs are currently spinning inside k_spin_lock() waiting for
* this lock, exactly one of them will return synchronously with the
* lock held.
*
* Spin locks must be properly nested. A call to k_spin_unlock() must
* be made on the lock object most recently locked using
* k_spin_lock(), using the key value that it returned. Attempts to
* unlock mis-nested locks, or to unlock locks that are not held, or
* to passing a key parameter other than the one returned from
* k_spin_lock(), are illegal. When CONFIG_SPIN_VALIDATE is set, some
* of these errors can be detected by the framework.
*
* @param l A pointer to the spinlock to release
* @param key The value returned from k_spin_lock() when this lock was
* acquired
*/
static ALWAYS_INLINE void k_spin_unlock(struct k_spinlock *l,
k_spinlock_key_t key)
{
ARG_UNUSED(l);
#ifdef CONFIG_SPIN_VALIDATE
__ASSERT(z_spin_unlock_valid(l), "Not my spinlock %p", l);
#if defined(CONFIG_SPIN_LOCK_TIME_LIMIT) && (CONFIG_SPIN_LOCK_TIME_LIMIT != 0)
uint32_t delta = sys_clock_cycle_get_32() - l->lock_time;
__ASSERT(delta < CONFIG_SPIN_LOCK_TIME_LIMIT,
"Spin lock %p held %u cycles, longer than limit of %u cycles",
l, delta, CONFIG_SPIN_LOCK_TIME_LIMIT);
#endif /* CONFIG_SPIN_LOCK_TIME_LIMIT */
#endif /* CONFIG_SPIN_VALIDATE */
#ifdef CONFIG_SMP
#ifdef CONFIG_TICKET_SPINLOCKS
/* Give the spinlock to the next CPU in a FIFO */
(void)atomic_inc(&l->owner);
#else
/* Strictly we don't need atomic_clear() here (which is an
* exchange operation that returns the old value). We are always
* setting a zero and (because we hold the lock) know the existing
* state won't change due to a race. But some architectures need
* a memory barrier when used like this, and we don't have a
* Zephyr framework for that.
*/
(void)atomic_clear(&l->locked);
#endif /* CONFIG_TICKET_SPINLOCKS */
#endif /* CONFIG_SMP */
arch_irq_unlock(key.key);
}
/**
* @cond INTERNAL_HIDDEN
*/
#if defined(CONFIG_SMP) && defined(CONFIG_TEST)
/*
* @brief Checks if spinlock is held by some CPU, including the local CPU.
* This API shouldn't be used outside the tests for spinlock
*
* @param l A pointer to the spinlock
* @retval true - if spinlock is held by some CPU; false - otherwise
*/
static ALWAYS_INLINE bool z_spin_is_locked(struct k_spinlock *l)
{
#ifdef CONFIG_TICKET_SPINLOCKS
atomic_val_t ticket_val = atomic_get(&l->owner);
return !atomic_cas(&l->tail, ticket_val, ticket_val);
#else
return l->locked;
#endif /* CONFIG_TICKET_SPINLOCKS */
}
#endif /* defined(CONFIG_SMP) && defined(CONFIG_TEST) */
/* Internal function: releases the lock, but leaves local interrupts disabled */
static ALWAYS_INLINE void k_spin_release(struct k_spinlock *l)
{
ARG_UNUSED(l);
#ifdef CONFIG_SPIN_VALIDATE
__ASSERT(z_spin_unlock_valid(l), "Not my spinlock %p", l);
#endif
#ifdef CONFIG_SMP
#ifdef CONFIG_TICKET_SPINLOCKS
(void)atomic_inc(&l->owner);
#else
(void)atomic_clear(&l->locked);
#endif /* CONFIG_TICKET_SPINLOCKS */
#endif /* CONFIG_SMP */
}
#if defined(CONFIG_SPIN_VALIDATE) && defined(__GNUC__)
static ALWAYS_INLINE void z_spin_onexit(__maybe_unused k_spinlock_key_t *k)
{
__ASSERT(k->key, "K_SPINLOCK exited with goto, break or return, "
"use K_SPINLOCK_BREAK instead.");
}
#define K_SPINLOCK_ONEXIT __attribute__((__cleanup__(z_spin_onexit)))
#else
#define K_SPINLOCK_ONEXIT
#endif
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Leaves a code block guarded with @ref K_SPINLOCK after releasing the
* lock.
*
* See @ref K_SPINLOCK for details.
*/
#define K_SPINLOCK_BREAK continue
/**
* @brief Guards a code block with the given spinlock, automatically acquiring
* the lock before executing the code block. The lock will be released either
* when reaching the end of the code block or when leaving the block with
* @ref K_SPINLOCK_BREAK.
*
* @details Example usage:
*
* @code{.c}
* K_SPINLOCK(&mylock) {
*
* ...execute statements with the lock held...
*
* if (some_condition) {
* ...release the lock and leave the guarded section prematurely:
* K_SPINLOCK_BREAK;
* }
*
* ...execute statements with the lock held...
*
* }
* @endcode
*
* Behind the scenes this pattern expands to a for-loop whose body is executed
* exactly once:
*
* @code{.c}
* for (k_spinlock_key_t key = k_spin_lock(&mylock); ...; k_spin_unlock(&mylock, key)) {
* ...
* }
* @endcode
*
* @warning The code block must execute to its end or be left by calling
* @ref K_SPINLOCK_BREAK. Otherwise, e.g. if exiting the block with a break,
* goto or return statement, the spinlock will not be released on exit.
*
* @note In user mode the spinlock must be placed in memory accessible to the
* application, see @ref K_APP_DMEM and @ref K_APP_BMEM macros for details.
*
* @param lck Spinlock used to guard the enclosed code block.
*/
#define K_SPINLOCK(lck) \
for (k_spinlock_key_t __i K_SPINLOCK_ONEXIT = {}, __key = k_spin_lock(lck); !__i.key; \
k_spin_unlock((lck), __key), __i.key = 1)
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SPINLOCK_H_ */
``` | /content/code_sandbox/include/zephyr/spinlock.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,387 |
```objective-c
/*
*
*/
/*
* The purpose of this file is to provide essential/minimal kernel structure
* definitions, so that they can be used without including kernel.h.
*
* The following rules must be observed:
* 1. kernel_structs.h shall not depend on kernel.h both directly and
* indirectly (i.e. it shall not include any header files that include
* kernel.h in their dependency chain).
* 2. kernel.h shall imply kernel_structs.h, such that it shall not be
* necessary to include kernel_structs.h explicitly when kernel.h is
* included.
*/
#ifndef ZEPHYR_KERNEL_INCLUDE_KERNEL_STRUCTS_H_
#define ZEPHYR_KERNEL_INCLUDE_KERNEL_STRUCTS_H_
#if !defined(_ASMLANGUAGE)
#include <zephyr/sys/atomic.h>
#include <zephyr/types.h>
#include <zephyr/sys/dlist.h>
#include <zephyr/sys/util.h>
#include <zephyr/sys/sys_heap.h>
#include <zephyr/arch/structs.h>
#include <zephyr/kernel/stats.h>
#include <zephyr/kernel/obj_core.h>
#include <zephyr/sys/rb.h>
#endif
#define K_NUM_THREAD_PRIO (CONFIG_NUM_PREEMPT_PRIORITIES + CONFIG_NUM_COOP_PRIORITIES + 1)
#define PRIQ_BITMAP_SIZE (DIV_ROUND_UP(K_NUM_THREAD_PRIO, BITS_PER_LONG))
#ifdef __cplusplus
extern "C" {
#endif
/*
* Bitmask definitions for the struct k_thread.thread_state field.
*
* Must be before kernel_arch_data.h because it might need them to be already
* defined.
*/
/* states: common uses low bits, arch-specific use high bits */
/* Not a real thread */
#define _THREAD_DUMMY (BIT(0))
/* Thread is waiting on an object */
#define _THREAD_PENDING (BIT(1))
/* Thread has not yet started */
#define _THREAD_PRESTART (BIT(2))
/* Thread has terminated */
#define _THREAD_DEAD (BIT(3))
/* Thread is suspended */
#define _THREAD_SUSPENDED (BIT(4))
/* Thread is in the process of aborting */
#define _THREAD_ABORTING (BIT(5))
/* Thread is in the process of suspending */
#define _THREAD_SUSPENDING (BIT(6))
/* Thread is present in the ready queue */
#define _THREAD_QUEUED (BIT(7))
/* end - states */
#ifdef CONFIG_STACK_SENTINEL
/* Magic value in lowest bytes of the stack */
#define STACK_SENTINEL 0xF0F0F0F0
#endif
/* lowest value of _thread_base.preempt at which a thread is non-preemptible */
#define _NON_PREEMPT_THRESHOLD 0x0080U
/* highest value of _thread_base.preempt at which a thread is preemptible */
#define _PREEMPT_THRESHOLD (_NON_PREEMPT_THRESHOLD - 1U)
#if !defined(_ASMLANGUAGE)
/* Two abstractions are defined here for "thread priority queues".
*
* One is a "dumb" list implementation appropriate for systems with
* small numbers of threads and sensitive to code size. It is stored
* in sorted order, taking an O(N) cost every time a thread is added
* to the list. This corresponds to the way the original _wait_q_t
* abstraction worked and is very fast as long as the number of
* threads is small.
*
* The other is a balanced tree "fast" implementation with rather
* larger code size (due to the data structure itself, the code here
* is just stubs) and higher constant-factor performance overhead, but
* much better O(logN) scaling in the presence of large number of
* threads.
*
* Each can be used for either the wait_q or system ready queue,
* configurable at build time.
*/
struct _priq_rb {
struct rbtree tree;
int next_order_key;
};
/* Traditional/textbook "multi-queue" structure. Separate lists for a
* small number (max 32 here) of fixed priorities. This corresponds
* to the original Zephyr scheduler. RAM requirements are
* comparatively high, but performance is very fast. Won't work with
* features like deadline scheduling which need large priority spaces
* to represent their requirements.
*/
struct _priq_mq {
sys_dlist_t queues[K_NUM_THREAD_PRIO];
unsigned long bitmask[PRIQ_BITMAP_SIZE];
};
struct _ready_q {
#ifndef CONFIG_SMP
/* always contains next thread to run: cannot be NULL */
struct k_thread *cache;
#endif
#if defined(CONFIG_SCHED_DUMB)
sys_dlist_t runq;
#elif defined(CONFIG_SCHED_SCALABLE)
struct _priq_rb runq;
#elif defined(CONFIG_SCHED_MULTIQ)
struct _priq_mq runq;
#endif
};
typedef struct _ready_q _ready_q_t;
struct _cpu {
/* nested interrupt count */
uint32_t nested;
/* interrupt stack pointer base */
char *irq_stack;
/* currently scheduled thread */
struct k_thread *current;
/* one assigned idle thread per CPU */
struct k_thread *idle_thread;
#ifdef CONFIG_SCHED_CPU_MASK_PIN_ONLY
struct _ready_q ready_q;
#endif
#if (CONFIG_NUM_METAIRQ_PRIORITIES > 0) && \
(CONFIG_NUM_COOP_PRIORITIES > CONFIG_NUM_METAIRQ_PRIORITIES)
/* Coop thread preempted by current metairq, or NULL */
struct k_thread *metairq_preempted;
#endif
uint8_t id;
#if defined(CONFIG_FPU_SHARING)
void *fp_ctx;
#endif
#ifdef CONFIG_SMP
/* True when _current is allowed to context switch */
uint8_t swap_ok;
#endif
#ifdef CONFIG_SCHED_THREAD_USAGE
/*
* [usage0] is used as a timestamp to mark the beginning of an
* execution window. [0] is a special value indicating that it
* has been stopped (but not disabled).
*/
uint32_t usage0;
#ifdef CONFIG_SCHED_THREAD_USAGE_ALL
struct k_cycle_stats *usage;
#endif
#endif
#ifdef CONFIG_OBJ_CORE_SYSTEM
struct k_obj_core obj_core;
#endif
/* Per CPU architecture specifics */
struct _cpu_arch arch;
};
typedef struct _cpu _cpu_t;
struct z_kernel {
struct _cpu cpus[CONFIG_MP_MAX_NUM_CPUS];
#ifdef CONFIG_PM
int32_t idle; /* Number of ticks for kernel idling */
#endif
/*
* ready queue: can be big, keep after small fields, since some
* assembly (e.g. ARC) are limited in the encoding of the offset
*/
#ifndef CONFIG_SCHED_CPU_MASK_PIN_ONLY
struct _ready_q ready_q;
#endif
#ifdef CONFIG_FPU_SHARING
/*
* A 'current_sse' field does not exist in addition to the 'current_fp'
* field since it's not possible to divide the IA-32 non-integer
* registers into 2 distinct blocks owned by differing threads. In
* other words, given that the 'fxnsave/fxrstor' instructions
* save/restore both the X87 FPU and XMM registers, it's not possible
* for a thread to only "own" the XMM registers.
*/
/* thread that owns the FP regs */
struct k_thread *current_fp;
#endif
#if defined(CONFIG_THREAD_MONITOR)
struct k_thread *threads; /* singly linked list of ALL threads */
#endif
#ifdef CONFIG_SCHED_THREAD_USAGE_ALL
struct k_cycle_stats usage[CONFIG_MP_MAX_NUM_CPUS];
#endif
#ifdef CONFIG_OBJ_CORE_SYSTEM
struct k_obj_core obj_core;
#endif
#if defined(CONFIG_SMP) && defined(CONFIG_SCHED_IPI_SUPPORTED)
/* Identify CPUs to send IPIs to at the next scheduling point */
atomic_t pending_ipi;
#endif
};
typedef struct z_kernel _kernel_t;
extern struct z_kernel _kernel;
extern atomic_t _cpus_active;
#ifdef CONFIG_SMP
/* True if the current context can be preempted and migrated to
* another SMP CPU.
*/
bool z_smp_cpu_mobile(void);
#define _current_cpu ({ __ASSERT_NO_MSG(!z_smp_cpu_mobile()); \
arch_curr_cpu(); })
#define _current k_sched_current_thread_query()
#else
#define _current_cpu (&_kernel.cpus[0])
#define _current _kernel.cpus[0].current
#endif
/* kernel wait queue record */
#ifdef CONFIG_WAITQ_SCALABLE
typedef struct {
struct _priq_rb waitq;
} _wait_q_t;
/* defined in kernel/priority_queues.c */
bool z_priq_rb_lessthan(struct rbnode *a, struct rbnode *b);
#define Z_WAIT_Q_INIT(wait_q) { { { .lessthan_fn = z_priq_rb_lessthan } } }
#else
typedef struct {
sys_dlist_t waitq;
} _wait_q_t;
#define Z_WAIT_Q_INIT(wait_q) { SYS_DLIST_STATIC_INIT(&(wait_q)->waitq) }
#endif /* CONFIG_WAITQ_SCALABLE */
/* kernel timeout record */
struct _timeout;
typedef void (*_timeout_func_t)(struct _timeout *t);
struct _timeout {
sys_dnode_t node;
_timeout_func_t fn;
#ifdef CONFIG_TIMEOUT_64BIT
/* Can't use k_ticks_t for header dependency reasons */
int64_t dticks;
#else
int32_t dticks;
#endif
};
typedef void (*k_thread_timeslice_fn_t)(struct k_thread *thread, void *data);
#ifdef __cplusplus
}
#endif
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_KERNEL_INCLUDE_KERNEL_STRUCTS_H_ */
``` | /content/code_sandbox/include/zephyr/kernel_structs.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,023 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Public kernel APIs.
*/
#ifndef ZEPHYR_INCLUDE_KERNEL_H_
#define ZEPHYR_INCLUDE_KERNEL_H_
#if !defined(_ASMLANGUAGE)
#include <zephyr/kernel_includes.h>
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
#include <zephyr/toolchain.h>
#include <zephyr/tracing/tracing_macros.h>
#include <zephyr/sys/mem_stats.h>
#include <zephyr/sys/iterable_sections.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Zephyr currently assumes the size of a couple standard types to simplify
* print string formats. Let's make sure this doesn't change without notice.
*/
BUILD_ASSERT(sizeof(int32_t) == sizeof(int));
BUILD_ASSERT(sizeof(int64_t) == sizeof(long long));
BUILD_ASSERT(sizeof(intptr_t) == sizeof(long));
/**
* @brief Kernel APIs
* @defgroup kernel_apis Kernel APIs
* @since 1.0
* @version 1.0.0
* @{
* @}
*/
#define K_ANY NULL
#if (CONFIG_NUM_COOP_PRIORITIES + CONFIG_NUM_PREEMPT_PRIORITIES) == 0
#error Zero available thread priorities defined!
#endif
#define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
#define K_PRIO_PREEMPT(x) (x)
#define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
#define K_LOWEST_THREAD_PRIO CONFIG_NUM_PREEMPT_PRIORITIES
#define K_IDLE_PRIO K_LOWEST_THREAD_PRIO
#define K_HIGHEST_APPLICATION_THREAD_PRIO (K_HIGHEST_THREAD_PRIO)
#define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
#ifdef CONFIG_POLL
#define Z_POLL_EVENT_OBJ_INIT(obj) \
.poll_events = SYS_DLIST_STATIC_INIT(&obj.poll_events),
#define Z_DECL_POLL_EVENT sys_dlist_t poll_events;
#else
#define Z_POLL_EVENT_OBJ_INIT(obj)
#define Z_DECL_POLL_EVENT
#endif
struct k_thread;
struct k_mutex;
struct k_sem;
struct k_msgq;
struct k_mbox;
struct k_pipe;
struct k_queue;
struct k_fifo;
struct k_lifo;
struct k_stack;
struct k_mem_slab;
struct k_timer;
struct k_poll_event;
struct k_poll_signal;
struct k_mem_domain;
struct k_mem_partition;
struct k_futex;
struct k_event;
enum execution_context_types {
K_ISR = 0,
K_COOP_THREAD,
K_PREEMPT_THREAD,
};
/* private, used by k_poll and k_work_poll */
struct k_work_poll;
typedef int (*_poller_cb_t)(struct k_poll_event *event, uint32_t state);
/**
* @addtogroup thread_apis
* @{
*/
typedef void (*k_thread_user_cb_t)(const struct k_thread *thread,
void *user_data);
/**
* @brief Iterate over all the threads in the system.
*
* This routine iterates over all the threads in the system and
* calls the user_cb function for each thread.
*
* @param user_cb Pointer to the user callback function.
* @param user_data Pointer to user data.
*
* @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function
* to be effective.
* @note This API uses @ref k_spin_lock to protect the _kernel.threads
* list which means creation of new threads and terminations of existing
* threads are blocked until this API returns.
*/
void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data);
/**
* @brief Iterate over all the threads in running on specified cpu.
*
* This function is does otherwise the same thing as k_thread_foreach(),
* but it only loops through the threads running on specified cpu only.
* If CONFIG_SMP is not defined the implementation this is the same as
* k_thread_foreach(), with an assert cpu == 0.
*
* @param cpu The filtered cpu number
* @param user_cb Pointer to the user callback function.
* @param user_data Pointer to user data.
*
* @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function
* to be effective.
* @note This API uses @ref k_spin_lock to protect the _kernel.threads
* list which means creation of new threads and terminations of existing
* threads are blocked until this API returns.
*/
#ifdef CONFIG_SMP
void k_thread_foreach_filter_by_cpu(unsigned int cpu,
k_thread_user_cb_t user_cb, void *user_data);
#else
static inline
void k_thread_foreach_filter_by_cpu(unsigned int cpu,
k_thread_user_cb_t user_cb, void *user_data)
{
__ASSERT(cpu == 0, "cpu filter out of bounds");
ARG_UNUSED(cpu);
k_thread_foreach(user_cb, user_data);
}
#endif
/**
* @brief Iterate over all the threads in the system without locking.
*
* This routine works exactly the same like @ref k_thread_foreach
* but unlocks interrupts when user_cb is executed.
*
* @param user_cb Pointer to the user callback function.
* @param user_data Pointer to user data.
*
* @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function
* to be effective.
* @note This API uses @ref k_spin_lock only when accessing the _kernel.threads
* queue elements. It unlocks it during user callback function processing.
* If a new task is created when this @c foreach function is in progress,
* the added new task would not be included in the enumeration.
* If a task is aborted during this enumeration, there would be a race here
* and there is a possibility that this aborted task would be included in the
* enumeration.
* @note If the task is aborted and the memory occupied by its @c k_thread
* structure is reused when this @c k_thread_foreach_unlocked is in progress
* it might even lead to the system behave unstable.
* This function may never return, as it would follow some @c next task
* pointers treating given pointer as a pointer to the k_thread structure
* while it is something different right now.
* Do not reuse the memory that was occupied by k_thread structure of aborted
* task if it was aborted after this function was called in any context.
*/
void k_thread_foreach_unlocked(
k_thread_user_cb_t user_cb, void *user_data);
/**
* @brief Iterate over the threads in running on current cpu without locking.
*
* This function does otherwise the same thing as
* k_thread_foreach_unlocked(), but it only loops through the threads
* running on specified cpu. If CONFIG_SMP is not defined the
* implementation this is the same as k_thread_foreach_unlocked(), with an
* assert requiring cpu == 0.
*
* @param cpu The filtered cpu number
* @param user_cb Pointer to the user callback function.
* @param user_data Pointer to user data.
*
* @note @kconfig{CONFIG_THREAD_MONITOR} must be set for this function
* to be effective.
* @note This API uses @ref k_spin_lock only when accessing the _kernel.threads
* queue elements. It unlocks it during user callback function processing.
* If a new task is created when this @c foreach function is in progress,
* the added new task would not be included in the enumeration.
* If a task is aborted during this enumeration, there would be a race here
* and there is a possibility that this aborted task would be included in the
* enumeration.
* @note If the task is aborted and the memory occupied by its @c k_thread
* structure is reused when this @c k_thread_foreach_unlocked is in progress
* it might even lead to the system behave unstable.
* This function may never return, as it would follow some @c next task
* pointers treating given pointer as a pointer to the k_thread structure
* while it is something different right now.
* Do not reuse the memory that was occupied by k_thread structure of aborted
* task if it was aborted after this function was called in any context.
*/
#ifdef CONFIG_SMP
void k_thread_foreach_unlocked_filter_by_cpu(unsigned int cpu,
k_thread_user_cb_t user_cb, void *user_data);
#else
static inline
void k_thread_foreach_unlocked_filter_by_cpu(unsigned int cpu,
k_thread_user_cb_t user_cb, void *user_data)
{
__ASSERT(cpu == 0, "cpu filter out of bounds");
ARG_UNUSED(cpu);
k_thread_foreach_unlocked(user_cb, user_data);
}
#endif
/** @} */
/**
* @defgroup thread_apis Thread APIs
* @ingroup kernel_apis
* @{
*/
#endif /* !_ASMLANGUAGE */
/*
* Thread user options. May be needed by assembly code. Common part uses low
* bits, arch-specific use high bits.
*/
/**
* @brief system thread that must not abort
* */
#define K_ESSENTIAL (BIT(0))
/**
* @brief FPU registers are managed by context switch
*
* @details
* This option indicates that the thread uses the CPU's floating point
* registers. This instructs the kernel to take additional steps to save
* and restore the contents of these registers when scheduling the thread.
* No effect if @kconfig{CONFIG_FPU_SHARING} is not enabled.
*/
#define K_FP_IDX 1
#define K_FP_REGS (BIT(K_FP_IDX))
/**
* @brief user mode thread
*
* This thread has dropped from supervisor mode to user mode and consequently
* has additional restrictions
*/
#define K_USER (BIT(2))
/**
* @brief Inherit Permissions
*
* @details
* Indicates that the thread being created should inherit all kernel object
* permissions from the thread that created it. No effect if
* @kconfig{CONFIG_USERSPACE} is not enabled.
*/
#define K_INHERIT_PERMS (BIT(3))
/**
* @brief Callback item state
*
* @details
* This is a single bit of state reserved for "callback manager"
* utilities (p4wq initially) who need to track operations invoked
* from within a user-provided callback they have been invoked.
* Effectively it serves as a tiny bit of zero-overhead TLS data.
*/
#define K_CALLBACK_STATE (BIT(4))
/**
* @brief DSP registers are managed by context switch
*
* @details
* This option indicates that the thread uses the CPU's DSP registers.
* This instructs the kernel to take additional steps to save and
* restore the contents of these registers when scheduling the thread.
* No effect if @kconfig{CONFIG_DSP_SHARING} is not enabled.
*/
#define K_DSP_IDX 6
#define K_DSP_REGS (BIT(K_DSP_IDX))
/**
* @brief AGU registers are managed by context switch
*
* @details
* This option indicates that the thread uses the ARC processor's XY
* memory and DSP feature. Often used with @kconfig{CONFIG_ARC_AGU_SHARING}.
* No effect if @kconfig{CONFIG_ARC_AGU_SHARING} is not enabled.
*/
#define K_AGU_IDX 7
#define K_AGU_REGS (BIT(K_AGU_IDX))
/**
* @brief FP and SSE registers are managed by context switch on x86
*
* @details
* This option indicates that the thread uses the x86 CPU's floating point
* and SSE registers. This instructs the kernel to take additional steps to
* save and restore the contents of these registers when scheduling
* the thread. No effect if @kconfig{CONFIG_X86_SSE} is not enabled.
*/
#define K_SSE_REGS (BIT(7))
/* end - thread options */
#if !defined(_ASMLANGUAGE)
/**
* @brief Dynamically allocate a thread stack.
*
* Relevant stack creation flags include:
* - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`)
*
* @param size Stack size in bytes.
* @param flags Stack creation flags, or 0.
*
* @retval the allocated thread stack on success.
* @retval NULL on failure.
*
* @see CONFIG_DYNAMIC_THREAD
*/
__syscall k_thread_stack_t *k_thread_stack_alloc(size_t size, int flags);
/**
* @brief Free a dynamically allocated thread stack.
*
* @param stack Pointer to the thread stack.
*
* @retval 0 on success.
* @retval -EBUSY if the thread stack is in use.
* @retval -EINVAL if @p stack is invalid.
* @retval -ENOSYS if dynamic thread stack allocation is disabled
*
* @see CONFIG_DYNAMIC_THREAD
*/
__syscall int k_thread_stack_free(k_thread_stack_t *stack);
/**
* @brief Create a thread.
*
* This routine initializes a thread, then schedules it for execution.
*
* The new thread may be scheduled for immediate execution or a delayed start.
* If the newly spawned thread does not have a delayed start the kernel
* scheduler may preempt the current thread to allow the new thread to
* execute.
*
* Thread options are architecture-specific, and can include K_ESSENTIAL,
* K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating
* them using "|" (the logical OR operator).
*
* Stack objects passed to this function must be originally defined with
* either of these macros in order to be portable:
*
* - K_THREAD_STACK_DEFINE() - For stacks that may support either user or
* supervisor threads.
* - K_KERNEL_STACK_DEFINE() - For stacks that may support supervisor
* threads only. These stacks use less memory if CONFIG_USERSPACE is
* enabled.
*
* The stack_size parameter has constraints. It must either be:
*
* - The original size value passed to K_THREAD_STACK_DEFINE() or
* K_KERNEL_STACK_DEFINE()
* - The return value of K_THREAD_STACK_SIZEOF(stack) if the stack was
* defined with K_THREAD_STACK_DEFINE()
* - The return value of K_KERNEL_STACK_SIZEOF(stack) if the stack was
* defined with K_KERNEL_STACK_DEFINE().
*
* Using other values, or sizeof(stack) may produce undefined behavior.
*
* @param new_thread Pointer to uninitialized struct k_thread
* @param stack Pointer to the stack space.
* @param stack_size Stack size in bytes.
* @param entry Thread entry function.
* @param p1 1st entry point parameter.
* @param p2 2nd entry point parameter.
* @param p3 3rd entry point parameter.
* @param prio Thread priority.
* @param options Thread options.
* @param delay Scheduling delay, or K_NO_WAIT (for no delay).
*
* @return ID of new thread.
*
*/
__syscall k_tid_t k_thread_create(struct k_thread *new_thread,
k_thread_stack_t *stack,
size_t stack_size,
k_thread_entry_t entry,
void *p1, void *p2, void *p3,
int prio, uint32_t options, k_timeout_t delay);
/**
* @brief Drop a thread's privileges permanently to user mode
*
* This allows a supervisor thread to be re-used as a user thread.
* This function does not return, but control will transfer to the provided
* entry point as if this was a new user thread.
*
* The implementation ensures that the stack buffer contents are erased.
* Any thread-local storage will be reverted to a pristine state.
*
* Memory domain membership, resource pool assignment, kernel object
* permissions, priority, and thread options are preserved.
*
* A common use of this function is to re-use the main thread as a user thread
* once all supervisor mode-only tasks have been completed.
*
* @param entry Function to start executing from
* @param p1 1st entry point parameter
* @param p2 2nd entry point parameter
* @param p3 3rd entry point parameter
*/
FUNC_NORETURN void k_thread_user_mode_enter(k_thread_entry_t entry,
void *p1, void *p2,
void *p3);
/**
* @brief Grant a thread access to a set of kernel objects
*
* This is a convenience function. For the provided thread, grant access to
* the remaining arguments, which must be pointers to kernel objects.
*
* The thread object must be initialized (i.e. running). The objects don't
* need to be.
* Note that NULL shouldn't be passed as an argument.
*
* @param thread Thread to grant access to objects
* @param ... list of kernel object pointers
*/
#define k_thread_access_grant(thread, ...) \
FOR_EACH_FIXED_ARG(k_object_access_grant, (;), (thread), __VA_ARGS__)
/**
* @brief Assign a resource memory pool to a thread
*
* By default, threads have no resource pool assigned unless their parent
* thread has a resource pool, in which case it is inherited. Multiple
* threads may be assigned to the same memory pool.
*
* Changing a thread's resource pool will not migrate allocations from the
* previous pool.
*
* @param thread Target thread to assign a memory pool for resource requests.
* @param heap Heap object to use for resources,
* or NULL if the thread should no longer have a memory pool.
*/
static inline void k_thread_heap_assign(struct k_thread *thread,
struct k_heap *heap)
{
thread->resource_pool = heap;
}
#if defined(CONFIG_INIT_STACKS) && defined(CONFIG_THREAD_STACK_INFO)
/**
* @brief Obtain stack usage information for the specified thread
*
* User threads will need to have permission on the target thread object.
*
* Some hardware may prevent inspection of a stack buffer currently in use.
* If this API is called from supervisor mode, on the currently running thread,
* on a platform which selects @kconfig{CONFIG_NO_UNUSED_STACK_INSPECTION}, an
* error will be generated.
*
* @param thread Thread to inspect stack information
* @param unused_ptr Output parameter, filled in with the unused stack space
* of the target thread in bytes.
* @return 0 on success
* @return -EBADF Bad thread object (user mode only)
* @return -EPERM No permissions on thread object (user mode only)
* #return -ENOTSUP Forbidden by hardware policy
* @return -EINVAL Thread is uninitialized or exited (user mode only)
* @return -EFAULT Bad memory address for unused_ptr (user mode only)
*/
__syscall int k_thread_stack_space_get(const struct k_thread *thread,
size_t *unused_ptr);
#endif
#if (K_HEAP_MEM_POOL_SIZE > 0)
/**
* @brief Assign the system heap as a thread's resource pool
*
* Similar to k_thread_heap_assign(), but the thread will use
* the kernel heap to draw memory.
*
* Use with caution, as a malicious thread could perform DoS attacks on the
* kernel heap.
*
* @param thread Target thread to assign the system heap for resource requests
*
*/
void k_thread_system_pool_assign(struct k_thread *thread);
#endif /* (K_HEAP_MEM_POOL_SIZE > 0) */
/**
* @brief Sleep until a thread exits
*
* The caller will be put to sleep until the target thread exits, either due
* to being aborted, self-exiting, or taking a fatal error. This API returns
* immediately if the thread isn't running.
*
* This API may only be called from ISRs with a K_NO_WAIT timeout,
* where it can be useful as a predicate to detect when a thread has
* aborted.
*
* @param thread Thread to wait to exit
* @param timeout upper bound time to wait for the thread to exit.
* @retval 0 success, target thread has exited or wasn't running
* @retval -EBUSY returned without waiting
* @retval -EAGAIN waiting period timed out
* @retval -EDEADLK target thread is joining on the caller, or target thread
* is the caller
*/
__syscall int k_thread_join(struct k_thread *thread, k_timeout_t timeout);
/**
* @brief Put the current thread to sleep.
*
* This routine puts the current thread to sleep for @a duration,
* specified as a k_timeout_t object.
*
* @note if @a timeout is set to K_FOREVER then the thread is suspended.
*
* @param timeout Desired duration of sleep.
*
* @return Zero if the requested time has elapsed or if the thread was woken up
* by the \ref k_wakeup call, the time left to sleep rounded up to the nearest
* millisecond.
*/
__syscall int32_t k_sleep(k_timeout_t timeout);
/**
* @brief Put the current thread to sleep.
*
* This routine puts the current thread to sleep for @a duration milliseconds.
*
* @param ms Number of milliseconds to sleep.
*
* @return Zero if the requested time has elapsed or if the thread was woken up
* by the \ref k_wakeup call, the time left to sleep rounded up to the nearest
* millisecond.
*/
static inline int32_t k_msleep(int32_t ms)
{
return k_sleep(Z_TIMEOUT_MS(ms));
}
/**
* @brief Put the current thread to sleep with microsecond resolution.
*
* This function is unlikely to work as expected without kernel tuning.
* In particular, because the lower bound on the duration of a sleep is
* the duration of a tick, @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} must be
* adjusted to achieve the resolution desired. The implications of doing
* this must be understood before attempting to use k_usleep(). Use with
* caution.
*
* @param us Number of microseconds to sleep.
*
* @return Zero if the requested time has elapsed or if the thread was woken up
* by the \ref k_wakeup call, the time left to sleep rounded up to the nearest
* microsecond.
*/
__syscall int32_t k_usleep(int32_t us);
/**
* @brief Cause the current thread to busy wait.
*
* This routine causes the current thread to execute a "do nothing" loop for
* @a usec_to_wait microseconds.
*
* @note The clock used for the microsecond-resolution delay here may
* be skewed relative to the clock used for system timeouts like
* k_sleep(). For example k_busy_wait(1000) may take slightly more or
* less time than k_sleep(K_MSEC(1)), with the offset dependent on
* clock tolerances.
*
* @note In case when @kconfig{CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE} and
* @kconfig{CONFIG_PM} options are enabled, this function may not work.
* The timer/clock used for delay processing may be disabled/inactive.
*/
__syscall void k_busy_wait(uint32_t usec_to_wait);
/**
* @brief Check whether it is possible to yield in the current context.
*
* This routine checks whether the kernel is in a state where it is possible to
* yield or call blocking API's. It should be used by code that needs to yield
* to perform correctly, but can feasibly be called from contexts where that
* is not possible. For example in the PRE_KERNEL initialization step, or when
* being run from the idle thread.
*
* @return True if it is possible to yield in the current context, false otherwise.
*/
bool k_can_yield(void);
/**
* @brief Yield the current thread.
*
* This routine causes the current thread to yield execution to another
* thread of the same or higher priority. If there are no other ready threads
* of the same or higher priority, the routine returns immediately.
*/
__syscall void k_yield(void);
/**
* @brief Wake up a sleeping thread.
*
* This routine prematurely wakes up @a thread from sleeping.
*
* If @a thread is not currently sleeping, the routine has no effect.
*
* @param thread ID of thread to wake.
*/
__syscall void k_wakeup(k_tid_t thread);
/**
* @brief Query thread ID of the current thread.
*
* This unconditionally queries the kernel via a system call.
*
* @note Use k_current_get() unless absolutely sure this is necessary.
* This should only be used directly where the thread local
* variable cannot be used or may contain invalid values
* if thread local storage (TLS) is enabled. If TLS is not
* enabled, this is the same as k_current_get().
*
* @return ID of current thread.
*/
__attribute_const__
__syscall k_tid_t k_sched_current_thread_query(void);
/**
* @brief Get thread ID of the current thread.
*
* @return ID of current thread.
*
*/
__attribute_const__
static inline k_tid_t k_current_get(void)
{
#ifdef CONFIG_CURRENT_THREAD_USE_TLS
/* Thread-local cache of current thread ID, set in z_thread_entry() */
extern __thread k_tid_t z_tls_current;
return z_tls_current;
#else
return k_sched_current_thread_query();
#endif
}
/**
* @brief Abort a thread.
*
* This routine permanently stops execution of @a thread. The thread is taken
* off all kernel queues it is part of (i.e. the ready queue, the timeout
* queue, or a kernel object wait queue). However, any kernel resources the
* thread might currently own (such as mutexes or memory blocks) are not
* released. It is the responsibility of the caller of this routine to ensure
* all necessary cleanup is performed.
*
* After k_thread_abort() returns, the thread is guaranteed not to be
* running or to become runnable anywhere on the system. Normally
* this is done via blocking the caller (in the same manner as
* k_thread_join()), but in interrupt context on SMP systems the
* implementation is required to spin for threads that are running on
* other CPUs.
*
* @param thread ID of thread to abort.
*/
__syscall void k_thread_abort(k_tid_t thread);
/**
* @brief Start an inactive thread
*
* If a thread was created with K_FOREVER in the delay parameter, it will
* not be added to the scheduling queue until this function is called
* on it.
*
* @param thread thread to start
*/
__syscall void k_thread_start(k_tid_t thread);
k_ticks_t z_timeout_expires(const struct _timeout *timeout);
k_ticks_t z_timeout_remaining(const struct _timeout *timeout);
#ifdef CONFIG_SYS_CLOCK_EXISTS
/**
* @brief Get time when a thread wakes up, in system ticks
*
* This routine computes the system uptime when a waiting thread next
* executes, in units of system ticks. If the thread is not waiting,
* it returns current system time.
*/
__syscall k_ticks_t k_thread_timeout_expires_ticks(const struct k_thread *thread);
static inline k_ticks_t z_impl_k_thread_timeout_expires_ticks(
const struct k_thread *thread)
{
return z_timeout_expires(&thread->base.timeout);
}
/**
* @brief Get time remaining before a thread wakes up, in system ticks
*
* This routine computes the time remaining before a waiting thread
* next executes, in units of system ticks. If the thread is not
* waiting, it returns zero.
*/
__syscall k_ticks_t k_thread_timeout_remaining_ticks(const struct k_thread *thread);
static inline k_ticks_t z_impl_k_thread_timeout_remaining_ticks(
const struct k_thread *thread)
{
return z_timeout_remaining(&thread->base.timeout);
}
#endif /* CONFIG_SYS_CLOCK_EXISTS */
/**
* @cond INTERNAL_HIDDEN
*/
struct _static_thread_data {
struct k_thread *init_thread;
k_thread_stack_t *init_stack;
unsigned int init_stack_size;
k_thread_entry_t init_entry;
void *init_p1;
void *init_p2;
void *init_p3;
int init_prio;
uint32_t init_options;
const char *init_name;
#ifdef CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
int32_t init_delay_ms;
#else
k_timeout_t init_delay;
#endif
};
#ifdef CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
#define Z_THREAD_INIT_DELAY_INITIALIZER(ms) .init_delay_ms = (ms)
#define Z_THREAD_INIT_DELAY(thread) SYS_TIMEOUT_MS((thread)->init_delay_ms)
#else
#define Z_THREAD_INIT_DELAY_INITIALIZER(ms) .init_delay = SYS_TIMEOUT_MS(ms)
#define Z_THREAD_INIT_DELAY(thread) (thread)->init_delay
#endif
#define Z_THREAD_INITIALIZER(thread, stack, stack_size, \
entry, p1, p2, p3, \
prio, options, delay, tname) \
{ \
.init_thread = (thread), \
.init_stack = (stack), \
.init_stack_size = (stack_size), \
.init_entry = (k_thread_entry_t)entry, \
.init_p1 = (void *)p1, \
.init_p2 = (void *)p2, \
.init_p3 = (void *)p3, \
.init_prio = (prio), \
.init_options = (options), \
.init_name = STRINGIFY(tname), \
Z_THREAD_INIT_DELAY_INITIALIZER(delay) \
}
/*
* Refer to K_THREAD_DEFINE() and K_KERNEL_THREAD_DEFINE() for
* information on arguments.
*/
#define Z_THREAD_COMMON_DEFINE(name, stack_size, \
entry, p1, p2, p3, \
prio, options, delay) \
struct k_thread _k_thread_obj_##name; \
STRUCT_SECTION_ITERABLE(_static_thread_data, \
_k_thread_data_##name) = \
Z_THREAD_INITIALIZER(&_k_thread_obj_##name, \
_k_thread_stack_##name, stack_size,\
entry, p1, p2, p3, prio, options, \
delay, name); \
const k_tid_t name = (k_tid_t)&_k_thread_obj_##name
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Statically define and initialize a thread.
*
* The thread may be scheduled for immediate execution or a delayed start.
*
* Thread options are architecture-specific, and can include K_ESSENTIAL,
* K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating
* them using "|" (the logical OR operator).
*
* The ID of the thread can be accessed using:
*
* @code extern const k_tid_t <name>; @endcode
*
* @param name Name of the thread.
* @param stack_size Stack size in bytes.
* @param entry Thread entry function.
* @param p1 1st entry point parameter.
* @param p2 2nd entry point parameter.
* @param p3 3rd entry point parameter.
* @param prio Thread priority.
* @param options Thread options.
* @param delay Scheduling delay (in milliseconds), zero for no delay.
*
* @note Static threads with zero delay should not normally have
* MetaIRQ priority levels. This can preempt the system
* initialization handling (depending on the priority of the main
* thread) and cause surprising ordering side effects. It will not
* affect anything in the OS per se, but consider it bad practice.
* Use a SYS_INIT() callback if you need to run code before entrance
* to the application main().
*/
#define K_THREAD_DEFINE(name, stack_size, \
entry, p1, p2, p3, \
prio, options, delay) \
K_THREAD_STACK_DEFINE(_k_thread_stack_##name, stack_size); \
Z_THREAD_COMMON_DEFINE(name, stack_size, entry, p1, p2, p3, \
prio, options, delay)
/**
* @brief Statically define and initialize a thread intended to run only in kernel mode.
*
* The thread may be scheduled for immediate execution or a delayed start.
*
* Thread options are architecture-specific, and can include K_ESSENTIAL,
* K_FP_REGS, and K_SSE_REGS. Multiple options may be specified by separating
* them using "|" (the logical OR operator).
*
* The ID of the thread can be accessed using:
*
* @code extern const k_tid_t <name>; @endcode
*
* @note Threads defined by this can only run in kernel mode, and cannot be
* transformed into user thread via k_thread_user_mode_enter().
*
* @warning Depending on the architecture, the stack size (@p stack_size)
* may need to be multiples of CONFIG_MMU_PAGE_SIZE (if MMU)
* or in power-of-two size (if MPU).
*
* @param name Name of the thread.
* @param stack_size Stack size in bytes.
* @param entry Thread entry function.
* @param p1 1st entry point parameter.
* @param p2 2nd entry point parameter.
* @param p3 3rd entry point parameter.
* @param prio Thread priority.
* @param options Thread options.
* @param delay Scheduling delay (in milliseconds), zero for no delay.
*/
#define K_KERNEL_THREAD_DEFINE(name, stack_size, \
entry, p1, p2, p3, \
prio, options, delay) \
K_KERNEL_STACK_DEFINE(_k_thread_stack_##name, stack_size); \
Z_THREAD_COMMON_DEFINE(name, stack_size, entry, p1, p2, p3, \
prio, options, delay)
/**
* @brief Get a thread's priority.
*
* This routine gets the priority of @a thread.
*
* @param thread ID of thread whose priority is needed.
*
* @return Priority of @a thread.
*/
__syscall int k_thread_priority_get(k_tid_t thread);
/**
* @brief Set a thread's priority.
*
* This routine immediately changes the priority of @a thread.
*
* Rescheduling can occur immediately depending on the priority @a thread is
* set to:
*
* - If its priority is raised above the priority of a currently scheduled
* preemptible thread, @a thread will be scheduled in.
*
* - If the caller lowers the priority of a currently scheduled preemptible
* thread below that of other threads in the system, the thread of the highest
* priority will be scheduled in.
*
* Priority can be assigned in the range of -CONFIG_NUM_COOP_PRIORITIES to
* CONFIG_NUM_PREEMPT_PRIORITIES-1, where -CONFIG_NUM_COOP_PRIORITIES is the
* highest priority.
*
* @param thread ID of thread whose priority is to be set.
* @param prio New priority.
*
* @warning Changing the priority of a thread currently involved in mutex
* priority inheritance may result in undefined behavior.
*/
__syscall void k_thread_priority_set(k_tid_t thread, int prio);
#ifdef CONFIG_SCHED_DEADLINE
/**
* @brief Set deadline expiration time for scheduler
*
* This sets the "deadline" expiration as a time delta from the
* current time, in the same units used by k_cycle_get_32(). The
* scheduler (when deadline scheduling is enabled) will choose the
* next expiring thread when selecting between threads at the same
* static priority. Threads at different priorities will be scheduled
* according to their static priority.
*
* @note Deadlines are stored internally using 32 bit unsigned
* integers. The number of cycles between the "first" deadline in the
* scheduler queue and the "last" deadline must be less than 2^31 (i.e
* a signed non-negative quantity). Failure to adhere to this rule
* may result in scheduled threads running in an incorrect deadline
* order.
*
* @note Despite the API naming, the scheduler makes no guarantees
* the thread WILL be scheduled within that deadline, nor does it take
* extra metadata (like e.g. the "runtime" and "period" parameters in
* Linux sched_setattr()) that allows the kernel to validate the
* scheduling for achievability. Such features could be implemented
* above this call, which is simply input to the priority selection
* logic.
*
* @note You should enable @kconfig{CONFIG_SCHED_DEADLINE} in your project
* configuration.
*
* @param thread A thread on which to set the deadline
* @param deadline A time delta, in cycle units
*
*/
__syscall void k_thread_deadline_set(k_tid_t thread, int deadline);
#endif
#ifdef CONFIG_SCHED_CPU_MASK
/**
* @brief Sets all CPU enable masks to zero
*
* After this returns, the thread will no longer be schedulable on any
* CPUs. The thread must not be currently runnable.
*
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
* configuration.
*
* @param thread Thread to operate upon
* @return Zero on success, otherwise error code
*/
int k_thread_cpu_mask_clear(k_tid_t thread);
/**
* @brief Sets all CPU enable masks to one
*
* After this returns, the thread will be schedulable on any CPU. The
* thread must not be currently runnable.
*
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
* configuration.
*
* @param thread Thread to operate upon
* @return Zero on success, otherwise error code
*/
int k_thread_cpu_mask_enable_all(k_tid_t thread);
/**
* @brief Enable thread to run on specified CPU
*
* The thread must not be currently runnable.
*
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
* configuration.
*
* @param thread Thread to operate upon
* @param cpu CPU index
* @return Zero on success, otherwise error code
*/
int k_thread_cpu_mask_enable(k_tid_t thread, int cpu);
/**
* @brief Prevent thread to run on specified CPU
*
* The thread must not be currently runnable.
*
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
* configuration.
*
* @param thread Thread to operate upon
* @param cpu CPU index
* @return Zero on success, otherwise error code
*/
int k_thread_cpu_mask_disable(k_tid_t thread, int cpu);
/**
* @brief Pin a thread to a CPU
*
* Pin a thread to a CPU by first clearing the cpu mask and then enabling the
* thread on the selected CPU.
*
* @param thread Thread to operate upon
* @param cpu CPU index
* @return Zero on success, otherwise error code
*/
int k_thread_cpu_pin(k_tid_t thread, int cpu);
#endif
/**
* @brief Suspend a thread.
*
* This routine prevents the kernel scheduler from making @a thread
* the current thread. All other internal operations on @a thread are
* still performed; for example, kernel objects it is waiting on are
* still handed to it. Note that any existing timeouts
* (e.g. k_sleep(), or a timeout argument to k_sem_take() et. al.)
* will be canceled. On resume, the thread will begin running
* immediately and return from the blocked call.
*
* When the target thread is active on another CPU, the caller will block until
* the target thread is halted (suspended or aborted). But if the caller is in
* an interrupt context, it will spin waiting for that target thread active on
* another CPU to halt.
*
* If @a thread is already suspended, the routine has no effect.
*
* @param thread ID of thread to suspend.
*/
__syscall void k_thread_suspend(k_tid_t thread);
/**
* @brief Resume a suspended thread.
*
* This routine allows the kernel scheduler to make @a thread the current
* thread, when it is next eligible for that role.
*
* If @a thread is not currently suspended, the routine has no effect.
*
* @param thread ID of thread to resume.
*/
__syscall void k_thread_resume(k_tid_t thread);
/**
* @brief Set time-slicing period and scope.
*
* This routine specifies how the scheduler will perform time slicing of
* preemptible threads.
*
* To enable time slicing, @a slice must be non-zero. The scheduler
* ensures that no thread runs for more than the specified time limit
* before other threads of that priority are given a chance to execute.
* Any thread whose priority is higher than @a prio is exempted, and may
* execute as long as desired without being preempted due to time slicing.
*
* Time slicing only limits the maximum amount of time a thread may continuously
* execute. Once the scheduler selects a thread for execution, there is no
* minimum guaranteed time the thread will execute before threads of greater or
* equal priority are scheduled.
*
* When the current thread is the only one of that priority eligible
* for execution, this routine has no effect; the thread is immediately
* rescheduled after the slice period expires.
*
* To disable timeslicing, set both @a slice and @a prio to zero.
*
* @param slice Maximum time slice length (in milliseconds).
* @param prio Highest thread priority level eligible for time slicing.
*/
void k_sched_time_slice_set(int32_t slice, int prio);
/**
* @brief Set thread time slice
*
* As for k_sched_time_slice_set, but (when
* CONFIG_TIMESLICE_PER_THREAD=y) sets the timeslice for a specific
* thread. When non-zero, this timeslice will take precedence over
* the global value.
*
* When such a thread's timeslice expires, the configured callback
* will be called before the thread is removed/re-added to the run
* queue. This callback will occur in interrupt context, and the
* specified thread is guaranteed to have been preempted by the
* currently-executing ISR. Such a callback is free to, for example,
* modify the thread priority or slice time for future execution,
* suspend the thread, etc...
*
* @note Unlike the older API, the time slice parameter here is
* specified in ticks, not milliseconds. Ticks have always been the
* internal unit, and not all platforms have integer conversions
* between the two.
*
* @note Threads with a non-zero slice time set will be timesliced
* always, even if they are higher priority than the maximum timeslice
* priority set via k_sched_time_slice_set().
*
* @note The callback notification for slice expiration happens, as it
* must, while the thread is still "current", and thus it happens
* before any registered timeouts at this tick. This has the somewhat
* confusing side effect that the tick time (c.f. k_uptime_get()) does
* not yet reflect the expired ticks. Applications wishing to make
* fine-grained timing decisions within this callback should use the
* cycle API, or derived facilities like k_thread_runtime_stats_get().
*
* @param th A valid, initialized thread
* @param slice_ticks Maximum timeslice, in ticks
* @param expired Callback function called on slice expiration
* @param data Parameter for the expiration handler
*/
void k_thread_time_slice_set(struct k_thread *th, int32_t slice_ticks,
k_thread_timeslice_fn_t expired, void *data);
/** @} */
/**
* @addtogroup isr_apis
* @{
*/
/**
* @brief Determine if code is running at interrupt level.
*
* This routine allows the caller to customize its actions, depending on
* whether it is a thread or an ISR.
*
* @funcprops \isr_ok
*
* @return false if invoked by a thread.
* @return true if invoked by an ISR.
*/
bool k_is_in_isr(void);
/**
* @brief Determine if code is running in a preemptible thread.
*
* This routine allows the caller to customize its actions, depending on
* whether it can be preempted by another thread. The routine returns a 'true'
* value if all of the following conditions are met:
*
* - The code is running in a thread, not at ISR.
* - The thread's priority is in the preemptible range.
* - The thread has not locked the scheduler.
*
* @funcprops \isr_ok
*
* @return 0 if invoked by an ISR or by a cooperative thread.
* @return Non-zero if invoked by a preemptible thread.
*/
__syscall int k_is_preempt_thread(void);
/**
* @brief Test whether startup is in the before-main-task phase.
*
* This routine allows the caller to customize its actions, depending on
* whether it being invoked before the kernel is fully active.
*
* @funcprops \isr_ok
*
* @return true if invoked before post-kernel initialization
* @return false if invoked during/after post-kernel initialization
*/
static inline bool k_is_pre_kernel(void)
{
extern bool z_sys_post_kernel; /* in init.c */
return !z_sys_post_kernel;
}
/**
* @}
*/
/**
* @addtogroup thread_apis
* @{
*/
/**
* @brief Lock the scheduler.
*
* This routine prevents the current thread from being preempted by another
* thread by instructing the scheduler to treat it as a cooperative thread.
* If the thread subsequently performs an operation that makes it unready,
* it will be context switched out in the normal manner. When the thread
* again becomes the current thread, its non-preemptible status is maintained.
*
* This routine can be called recursively.
*
* Owing to clever implementation details, scheduler locks are
* extremely fast for non-userspace threads (just one byte
* inc/decrement in the thread struct).
*
* @note This works by elevating the thread priority temporarily to a
* cooperative priority, allowing cheap synchronization vs. other
* preemptible or cooperative threads running on the current CPU. It
* does not prevent preemption or asynchrony of other types. It does
* not prevent threads from running on other CPUs when CONFIG_SMP=y.
* It does not prevent interrupts from happening, nor does it prevent
* threads with MetaIRQ priorities from preempting the current thread.
* In general this is a historical API not well-suited to modern
* applications, use with care.
*/
void k_sched_lock(void);
/**
* @brief Unlock the scheduler.
*
* This routine reverses the effect of a previous call to k_sched_lock().
* A thread must call the routine once for each time it called k_sched_lock()
* before the thread becomes preemptible.
*/
void k_sched_unlock(void);
/**
* @brief Set current thread's custom data.
*
* This routine sets the custom data for the current thread to @ value.
*
* Custom data is not used by the kernel itself, and is freely available
* for a thread to use as it sees fit. It can be used as a framework
* upon which to build thread-local storage.
*
* @param value New custom data value.
*
*/
__syscall void k_thread_custom_data_set(void *value);
/**
* @brief Get current thread's custom data.
*
* This routine returns the custom data for the current thread.
*
* @return Current custom data value.
*/
__syscall void *k_thread_custom_data_get(void);
/**
* @brief Set current thread name
*
* Set the name of the thread to be used when @kconfig{CONFIG_THREAD_MONITOR}
* is enabled for tracing and debugging.
*
* @param thread Thread to set name, or NULL to set the current thread
* @param str Name string
* @retval 0 on success
* @retval -EFAULT Memory access error with supplied string
* @retval -ENOSYS Thread name configuration option not enabled
* @retval -EINVAL Thread name too long
*/
__syscall int k_thread_name_set(k_tid_t thread, const char *str);
/**
* @brief Get thread name
*
* Get the name of a thread
*
* @param thread Thread ID
* @retval Thread name, or NULL if configuration not enabled
*/
const char *k_thread_name_get(k_tid_t thread);
/**
* @brief Copy the thread name into a supplied buffer
*
* @param thread Thread to obtain name information
* @param buf Destination buffer
* @param size Destination buffer size
* @retval -ENOSPC Destination buffer too small
* @retval -EFAULT Memory access error
* @retval -ENOSYS Thread name feature not enabled
* @retval 0 Success
*/
__syscall int k_thread_name_copy(k_tid_t thread, char *buf,
size_t size);
/**
* @brief Get thread state string
*
* This routine generates a human friendly string containing the thread's
* state, and copies as much of it as possible into @a buf.
*
* @param thread_id Thread ID
* @param buf Buffer into which to copy state strings
* @param buf_size Size of the buffer
*
* @retval Pointer to @a buf if data was copied, else a pointer to "".
*/
const char *k_thread_state_str(k_tid_t thread_id, char *buf, size_t buf_size);
/**
* @}
*/
/**
* @addtogroup clock_apis
* @{
*/
/**
* @brief Generate null timeout delay.
*
* This macro generates a timeout delay that instructs a kernel API
* not to wait if the requested operation cannot be performed immediately.
*
* @return Timeout delay value.
*/
#define K_NO_WAIT Z_TIMEOUT_NO_WAIT
/**
* @brief Generate timeout delay from nanoseconds.
*
* This macro generates a timeout delay that instructs a kernel API to
* wait up to @a t nanoseconds to perform the requested operation.
* Note that timer precision is limited to the tick rate, not the
* requested value.
*
* @param t Duration in nanoseconds.
*
* @return Timeout delay value.
*/
#define K_NSEC(t) Z_TIMEOUT_NS(t)
/**
* @brief Generate timeout delay from microseconds.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a t microseconds to perform the requested operation.
* Note that timer precision is limited to the tick rate, not the
* requested value.
*
* @param t Duration in microseconds.
*
* @return Timeout delay value.
*/
#define K_USEC(t) Z_TIMEOUT_US(t)
/**
* @brief Generate timeout delay from cycles.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a t cycles to perform the requested operation.
*
* @param t Duration in cycles.
*
* @return Timeout delay value.
*/
#define K_CYC(t) Z_TIMEOUT_CYC(t)
/**
* @brief Generate timeout delay from system ticks.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a t ticks to perform the requested operation.
*
* @param t Duration in system ticks.
*
* @return Timeout delay value.
*/
#define K_TICKS(t) Z_TIMEOUT_TICKS(t)
/**
* @brief Generate timeout delay from milliseconds.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a ms milliseconds to perform the requested operation.
*
* @param ms Duration in milliseconds.
*
* @return Timeout delay value.
*/
#define K_MSEC(ms) Z_TIMEOUT_MS(ms)
/**
* @brief Generate timeout delay from seconds.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a s seconds to perform the requested operation.
*
* @param s Duration in seconds.
*
* @return Timeout delay value.
*/
#define K_SECONDS(s) K_MSEC((s) * MSEC_PER_SEC)
/**
* @brief Generate timeout delay from minutes.
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a m minutes to perform the requested operation.
*
* @param m Duration in minutes.
*
* @return Timeout delay value.
*/
#define K_MINUTES(m) K_SECONDS((m) * 60)
/**
* @brief Generate timeout delay from hours.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait up to @a h hours to perform the requested operation.
*
* @param h Duration in hours.
*
* @return Timeout delay value.
*/
#define K_HOURS(h) K_MINUTES((h) * 60)
/**
* @brief Generate infinite timeout delay.
*
* This macro generates a timeout delay that instructs a kernel API
* to wait as long as necessary to perform the requested operation.
*
* @return Timeout delay value.
*/
#define K_FOREVER Z_FOREVER
#ifdef CONFIG_TIMEOUT_64BIT
/**
* @brief Generates an absolute/uptime timeout value from system ticks
*
* This macro generates a timeout delay that represents an expiration
* at the absolute uptime value specified, in system ticks. That is, the
* timeout will expire immediately after the system uptime reaches the
* specified tick count.
*
* @param t Tick uptime value
* @return Timeout delay value
*/
#define K_TIMEOUT_ABS_TICKS(t) \
Z_TIMEOUT_TICKS(Z_TICK_ABS((k_ticks_t)MAX(t, 0)))
/**
* @brief Generates an absolute/uptime timeout value from milliseconds
*
* This macro generates a timeout delay that represents an expiration
* at the absolute uptime value specified, in milliseconds. That is,
* the timeout will expire immediately after the system uptime reaches
* the specified tick count.
*
* @param t Millisecond uptime value
* @return Timeout delay value
*/
#define K_TIMEOUT_ABS_MS(t) K_TIMEOUT_ABS_TICKS(k_ms_to_ticks_ceil64(t))
/**
* @brief Generates an absolute/uptime timeout value from microseconds
*
* This macro generates a timeout delay that represents an expiration
* at the absolute uptime value specified, in microseconds. That is,
* the timeout will expire immediately after the system uptime reaches
* the specified time. Note that timer precision is limited by the
* system tick rate and not the requested timeout value.
*
* @param t Microsecond uptime value
* @return Timeout delay value
*/
#define K_TIMEOUT_ABS_US(t) K_TIMEOUT_ABS_TICKS(k_us_to_ticks_ceil64(t))
/**
* @brief Generates an absolute/uptime timeout value from nanoseconds
*
* This macro generates a timeout delay that represents an expiration
* at the absolute uptime value specified, in nanoseconds. That is,
* the timeout will expire immediately after the system uptime reaches
* the specified time. Note that timer precision is limited by the
* system tick rate and not the requested timeout value.
*
* @param t Nanosecond uptime value
* @return Timeout delay value
*/
#define K_TIMEOUT_ABS_NS(t) K_TIMEOUT_ABS_TICKS(k_ns_to_ticks_ceil64(t))
/**
* @brief Generates an absolute/uptime timeout value from system cycles
*
* This macro generates a timeout delay that represents an expiration
* at the absolute uptime value specified, in cycles. That is, the
* timeout will expire immediately after the system uptime reaches the
* specified time. Note that timer precision is limited by the system
* tick rate and not the requested timeout value.
*
* @param t Cycle uptime value
* @return Timeout delay value
*/
#define K_TIMEOUT_ABS_CYC(t) K_TIMEOUT_ABS_TICKS(k_cyc_to_ticks_ceil64(t))
#endif
/**
* @}
*/
/**
* @cond INTERNAL_HIDDEN
*/
struct k_timer {
/*
* _timeout structure must be first here if we want to use
* dynamic timer allocation. timeout.node is used in the double-linked
* list of free timers
*/
struct _timeout timeout;
/* wait queue for the (single) thread waiting on this timer */
_wait_q_t wait_q;
/* runs in ISR context */
void (*expiry_fn)(struct k_timer *timer);
/* runs in the context of the thread that calls k_timer_stop() */
void (*stop_fn)(struct k_timer *timer);
/* timer period */
k_timeout_t period;
/* timer status */
uint32_t status;
/* user-specific data, also used to support legacy features */
void *user_data;
SYS_PORT_TRACING_TRACKING_FIELD(k_timer)
#ifdef CONFIG_OBJ_CORE_TIMER
struct k_obj_core obj_core;
#endif
};
#define Z_TIMER_INITIALIZER(obj, expiry, stop) \
{ \
.timeout = { \
.node = {},\
.fn = z_timer_expiration_handler, \
.dticks = 0, \
}, \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
.expiry_fn = expiry, \
.stop_fn = stop, \
.status = 0, \
.user_data = 0, \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup timer_apis Timer APIs
* @ingroup kernel_apis
* @{
*/
/**
* @typedef k_timer_expiry_t
* @brief Timer expiry function type.
*
* A timer's expiry function is executed by the system clock interrupt handler
* each time the timer expires. The expiry function is optional, and is only
* invoked if the timer has been initialized with one.
*
* @param timer Address of timer.
*/
typedef void (*k_timer_expiry_t)(struct k_timer *timer);
/**
* @typedef k_timer_stop_t
* @brief Timer stop function type.
*
* A timer's stop function is executed if the timer is stopped prematurely.
* The function runs in the context of call that stops the timer. As
* k_timer_stop() can be invoked from an ISR, the stop function must be
* callable from interrupt context (isr-ok).
*
* The stop function is optional, and is only invoked if the timer has been
* initialized with one.
*
* @param timer Address of timer.
*/
typedef void (*k_timer_stop_t)(struct k_timer *timer);
/**
* @brief Statically define and initialize a timer.
*
* The timer can be accessed outside the module where it is defined using:
*
* @code extern struct k_timer <name>; @endcode
*
* @param name Name of the timer variable.
* @param expiry_fn Function to invoke each time the timer expires.
* @param stop_fn Function to invoke if the timer is stopped while running.
*/
#define K_TIMER_DEFINE(name, expiry_fn, stop_fn) \
STRUCT_SECTION_ITERABLE(k_timer, name) = \
Z_TIMER_INITIALIZER(name, expiry_fn, stop_fn)
/**
* @brief Initialize a timer.
*
* This routine initializes a timer, prior to its first use.
*
* @param timer Address of timer.
* @param expiry_fn Function to invoke each time the timer expires.
* @param stop_fn Function to invoke if the timer is stopped while running.
*/
void k_timer_init(struct k_timer *timer,
k_timer_expiry_t expiry_fn,
k_timer_stop_t stop_fn);
/**
* @brief Start a timer.
*
* This routine starts a timer, and resets its status to zero. The timer
* begins counting down using the specified duration and period values.
*
* Attempting to start a timer that is already running is permitted.
* The timer's status is reset to zero and the timer begins counting down
* using the new duration and period values.
*
* @param timer Address of timer.
* @param duration Initial timer duration.
* @param period Timer period.
*/
__syscall void k_timer_start(struct k_timer *timer,
k_timeout_t duration, k_timeout_t period);
/**
* @brief Stop a timer.
*
* This routine stops a running timer prematurely. The timer's stop function,
* if one exists, is invoked by the caller.
*
* Attempting to stop a timer that is not running is permitted, but has no
* effect on the timer.
*
* @note The stop handler has to be callable from ISRs if @a k_timer_stop is to
* be called from ISRs.
*
* @funcprops \isr_ok
*
* @param timer Address of timer.
*/
__syscall void k_timer_stop(struct k_timer *timer);
/**
* @brief Read timer status.
*
* This routine reads the timer's status, which indicates the number of times
* it has expired since its status was last read.
*
* Calling this routine resets the timer's status to zero.
*
* @param timer Address of timer.
*
* @return Timer status.
*/
__syscall uint32_t k_timer_status_get(struct k_timer *timer);
/**
* @brief Synchronize thread to timer expiration.
*
* This routine blocks the calling thread until the timer's status is non-zero
* (indicating that it has expired at least once since it was last examined)
* or the timer is stopped. If the timer status is already non-zero,
* or the timer is already stopped, the caller continues without waiting.
*
* Calling this routine resets the timer's status to zero.
*
* This routine must not be used by interrupt handlers, since they are not
* allowed to block.
*
* @param timer Address of timer.
*
* @return Timer status.
*/
__syscall uint32_t k_timer_status_sync(struct k_timer *timer);
#ifdef CONFIG_SYS_CLOCK_EXISTS
/**
* @brief Get next expiration time of a timer, in system ticks
*
* This routine returns the future system uptime reached at the next
* time of expiration of the timer, in units of system ticks. If the
* timer is not running, current system time is returned.
*
* @param timer The timer object
* @return Uptime of expiration, in ticks
*/
__syscall k_ticks_t k_timer_expires_ticks(const struct k_timer *timer);
static inline k_ticks_t z_impl_k_timer_expires_ticks(
const struct k_timer *timer)
{
return z_timeout_expires(&timer->timeout);
}
/**
* @brief Get time remaining before a timer next expires, in system ticks
*
* This routine computes the time remaining before a running timer
* next expires, in units of system ticks. If the timer is not
* running, it returns zero.
*
* @param timer The timer object
* @return Remaining time until expiration, in ticks
*/
__syscall k_ticks_t k_timer_remaining_ticks(const struct k_timer *timer);
static inline k_ticks_t z_impl_k_timer_remaining_ticks(
const struct k_timer *timer)
{
return z_timeout_remaining(&timer->timeout);
}
/**
* @brief Get time remaining before a timer next expires.
*
* This routine computes the (approximate) time remaining before a running
* timer next expires. If the timer is not running, it returns zero.
*
* @param timer Address of timer.
*
* @return Remaining time (in milliseconds).
*/
static inline uint32_t k_timer_remaining_get(struct k_timer *timer)
{
return k_ticks_to_ms_floor32(k_timer_remaining_ticks(timer));
}
#endif /* CONFIG_SYS_CLOCK_EXISTS */
/**
* @brief Associate user-specific data with a timer.
*
* This routine records the @a user_data with the @a timer, to be retrieved
* later.
*
* It can be used e.g. in a timer handler shared across multiple subsystems to
* retrieve data specific to the subsystem this timer is associated with.
*
* @param timer Address of timer.
* @param user_data User data to associate with the timer.
*/
__syscall void k_timer_user_data_set(struct k_timer *timer, void *user_data);
/**
* @internal
*/
static inline void z_impl_k_timer_user_data_set(struct k_timer *timer,
void *user_data)
{
timer->user_data = user_data;
}
/**
* @brief Retrieve the user-specific data from a timer.
*
* @param timer Address of timer.
*
* @return The user data.
*/
__syscall void *k_timer_user_data_get(const struct k_timer *timer);
static inline void *z_impl_k_timer_user_data_get(const struct k_timer *timer)
{
return timer->user_data;
}
/** @} */
/**
* @addtogroup clock_apis
* @ingroup kernel_apis
* @{
*/
/**
* @brief Get system uptime, in system ticks.
*
* This routine returns the elapsed time since the system booted, in
* ticks (c.f. @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC}), which is the
* fundamental unit of resolution of kernel timekeeping.
*
* @return Current uptime in ticks.
*/
__syscall int64_t k_uptime_ticks(void);
/**
* @brief Get system uptime.
*
* This routine returns the elapsed time since the system booted,
* in milliseconds.
*
* @note
* While this function returns time in milliseconds, it does
* not mean it has millisecond resolution. The actual resolution depends on
* @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option.
*
* @return Current uptime in milliseconds.
*/
static inline int64_t k_uptime_get(void)
{
return k_ticks_to_ms_floor64(k_uptime_ticks());
}
/**
* @brief Get system uptime (32-bit version).
*
* This routine returns the lower 32 bits of the system uptime in
* milliseconds.
*
* Because correct conversion requires full precision of the system
* clock there is no benefit to using this over k_uptime_get() unless
* you know the application will never run long enough for the system
* clock to approach 2^32 ticks. Calls to this function may involve
* interrupt blocking and 64-bit math.
*
* @note
* While this function returns time in milliseconds, it does
* not mean it has millisecond resolution. The actual resolution depends on
* @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option
*
* @return The low 32 bits of the current uptime, in milliseconds.
*/
static inline uint32_t k_uptime_get_32(void)
{
return (uint32_t)k_uptime_get();
}
/**
* @brief Get system uptime in seconds.
*
* This routine returns the elapsed time since the system booted,
* in seconds.
*
* @return Current uptime in seconds.
*/
static inline uint32_t k_uptime_seconds(void)
{
return k_ticks_to_sec_floor32(k_uptime_ticks());
}
/**
* @brief Get elapsed time.
*
* This routine computes the elapsed time between the current system uptime
* and an earlier reference time, in milliseconds.
*
* @param reftime Pointer to a reference time, which is updated to the current
* uptime upon return.
*
* @return Elapsed time.
*/
static inline int64_t k_uptime_delta(int64_t *reftime)
{
int64_t uptime, delta;
uptime = k_uptime_get();
delta = uptime - *reftime;
*reftime = uptime;
return delta;
}
/**
* @brief Read the hardware clock.
*
* This routine returns the current time, as measured by the system's hardware
* clock.
*
* @return Current hardware clock up-counter (in cycles).
*/
static inline uint32_t k_cycle_get_32(void)
{
return arch_k_cycle_get_32();
}
/**
* @brief Read the 64-bit hardware clock.
*
* This routine returns the current time in 64-bits, as measured by the
* system's hardware clock, if available.
*
* @see CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER
*
* @return Current hardware clock up-counter (in cycles).
*/
static inline uint64_t k_cycle_get_64(void)
{
if (!IS_ENABLED(CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER)) {
__ASSERT(0, "64-bit cycle counter not enabled on this platform. "
"See CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER");
return 0;
}
return arch_k_cycle_get_64();
}
/**
* @}
*/
struct k_queue {
sys_sflist_t data_q;
struct k_spinlock lock;
_wait_q_t wait_q;
Z_DECL_POLL_EVENT
SYS_PORT_TRACING_TRACKING_FIELD(k_queue)
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_QUEUE_INITIALIZER(obj) \
{ \
.data_q = SYS_SFLIST_STATIC_INIT(&obj.data_q), \
.lock = { }, \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
Z_POLL_EVENT_OBJ_INIT(obj) \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup queue_apis Queue APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize a queue.
*
* This routine initializes a queue object, prior to its first use.
*
* @param queue Address of the queue.
*/
__syscall void k_queue_init(struct k_queue *queue);
/**
* @brief Cancel waiting on a queue.
*
* This routine causes first thread pending on @a queue, if any, to
* return from k_queue_get() call with NULL value (as if timeout expired).
* If the queue is being waited on by k_poll(), it will return with
* -EINTR and K_POLL_STATE_CANCELLED state (and per above, subsequent
* k_queue_get() will return NULL).
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
*/
__syscall void k_queue_cancel_wait(struct k_queue *queue);
/**
* @brief Append an element to the end of a queue.
*
* This routine appends a data item to @a queue. A queue data item must be
* aligned on a word boundary, and the first word of the item is reserved
* for the kernel's use.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*/
void k_queue_append(struct k_queue *queue, void *data);
/**
* @brief Append an element to a queue.
*
* This routine appends a data item to @a queue. There is an implicit memory
* allocation to create an additional temporary bookkeeping data structure from
* the calling thread's resource pool, which is automatically freed when the
* item is removed. The data itself is not copied.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*
* @retval 0 on success
* @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool
*/
__syscall int32_t k_queue_alloc_append(struct k_queue *queue, void *data);
/**
* @brief Prepend an element to a queue.
*
* This routine prepends a data item to @a queue. A queue data item must be
* aligned on a word boundary, and the first word of the item is reserved
* for the kernel's use.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*/
void k_queue_prepend(struct k_queue *queue, void *data);
/**
* @brief Prepend an element to a queue.
*
* This routine prepends a data item to @a queue. There is an implicit memory
* allocation to create an additional temporary bookkeeping data structure from
* the calling thread's resource pool, which is automatically freed when the
* item is removed. The data itself is not copied.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*
* @retval 0 on success
* @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool
*/
__syscall int32_t k_queue_alloc_prepend(struct k_queue *queue, void *data);
/**
* @brief Inserts an element to a queue.
*
* This routine inserts a data item to @a queue after previous item. A queue
* data item must be aligned on a word boundary, and the first word of
* the item is reserved for the kernel's use.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param prev Address of the previous data item.
* @param data Address of the data item.
*/
void k_queue_insert(struct k_queue *queue, void *prev, void *data);
/**
* @brief Atomically append a list of elements to a queue.
*
* This routine adds a list of data items to @a queue in one operation.
* The data items must be in a singly-linked list, with the first word
* in each data item pointing to the next data item; the list must be
* NULL-terminated.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param head Pointer to first node in singly-linked list.
* @param tail Pointer to last node in singly-linked list.
*
* @retval 0 on success
* @retval -EINVAL on invalid supplied data
*
*/
int k_queue_append_list(struct k_queue *queue, void *head, void *tail);
/**
* @brief Atomically add a list of elements to a queue.
*
* This routine adds a list of data items to @a queue in one operation.
* The data items must be in a singly-linked list implemented using a
* sys_slist_t object. Upon completion, the original list is empty.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param list Pointer to sys_slist_t object.
*
* @retval 0 on success
* @retval -EINVAL on invalid data
*/
int k_queue_merge_slist(struct k_queue *queue, sys_slist_t *list);
/**
* @brief Get an element from a queue.
*
* This routine removes first data item from @a queue. The first word of the
* data item is reserved for the kernel's use.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param timeout Waiting period to obtain a data item, or one of the special
* values K_NO_WAIT and K_FOREVER.
*
* @return Address of the data item if successful; NULL if returned
* without waiting, or waiting period timed out.
*/
__syscall void *k_queue_get(struct k_queue *queue, k_timeout_t timeout);
/**
* @brief Remove an element from a queue.
*
* This routine removes data item from @a queue. The first word of the
* data item is reserved for the kernel's use. Removing elements from k_queue
* rely on sys_slist_find_and_remove which is not a constant time operation.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*
* @return true if data item was removed
*/
bool k_queue_remove(struct k_queue *queue, void *data);
/**
* @brief Append an element to a queue only if it's not present already.
*
* This routine appends data item to @a queue. The first word of the data
* item is reserved for the kernel's use. Appending elements to k_queue
* relies on sys_slist_is_node_in_list which is not a constant time operation.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
* @param data Address of the data item.
*
* @return true if data item was added, false if not
*/
bool k_queue_unique_append(struct k_queue *queue, void *data);
/**
* @brief Query a queue to see if it has data available.
*
* Note that the data might be already gone by the time this function returns
* if other threads are also trying to read from the queue.
*
* @funcprops \isr_ok
*
* @param queue Address of the queue.
*
* @return Non-zero if the queue is empty.
* @return 0 if data is available.
*/
__syscall int k_queue_is_empty(struct k_queue *queue);
static inline int z_impl_k_queue_is_empty(struct k_queue *queue)
{
return sys_sflist_is_empty(&queue->data_q) ? 1 : 0;
}
/**
* @brief Peek element at the head of queue.
*
* Return element from the head of queue without removing it.
*
* @param queue Address of the queue.
*
* @return Head element, or NULL if queue is empty.
*/
__syscall void *k_queue_peek_head(struct k_queue *queue);
/**
* @brief Peek element at the tail of queue.
*
* Return element from the tail of queue without removing it.
*
* @param queue Address of the queue.
*
* @return Tail element, or NULL if queue is empty.
*/
__syscall void *k_queue_peek_tail(struct k_queue *queue);
/**
* @brief Statically define and initialize a queue.
*
* The queue can be accessed outside the module where it is defined using:
*
* @code extern struct k_queue <name>; @endcode
*
* @param name Name of the queue.
*/
#define K_QUEUE_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_queue, name) = \
Z_QUEUE_INITIALIZER(name)
/** @} */
#ifdef CONFIG_USERSPACE
/**
* @brief futex structure
*
* A k_futex is a lightweight mutual exclusion primitive designed
* to minimize kernel involvement. Uncontended operation relies
* only on atomic access to shared memory. k_futex are tracked as
* kernel objects and can live in user memory so that any access
* bypasses the kernel object permission management mechanism.
*/
struct k_futex {
atomic_t val;
};
/**
* @brief futex kernel data structure
*
* z_futex_data are the helper data structure for k_futex to complete
* futex contended operation on kernel side, structure z_futex_data
* of every futex object is invisible in user mode.
*/
struct z_futex_data {
_wait_q_t wait_q;
struct k_spinlock lock;
};
#define Z_FUTEX_DATA_INITIALIZER(obj) \
{ \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q) \
}
/**
* @defgroup futex_apis FUTEX APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Pend the current thread on a futex
*
* Tests that the supplied futex contains the expected value, and if so,
* goes to sleep until some other thread calls k_futex_wake() on it.
*
* @param futex Address of the futex.
* @param expected Expected value of the futex, if it is different the caller
* will not wait on it.
* @param timeout Waiting period on the futex, or one of the special values
* K_NO_WAIT or K_FOREVER.
* @retval -EACCES Caller does not have read access to futex address.
* @retval -EAGAIN If the futex value did not match the expected parameter.
* @retval -EINVAL Futex parameter address not recognized by the kernel.
* @retval -ETIMEDOUT Thread woke up due to timeout and not a futex wakeup.
* @retval 0 if the caller went to sleep and was woken up. The caller
* should check the futex's value on wakeup to determine if it needs
* to block again.
*/
__syscall int k_futex_wait(struct k_futex *futex, int expected,
k_timeout_t timeout);
/**
* @brief Wake one/all threads pending on a futex
*
* Wake up the highest priority thread pending on the supplied futex, or
* wakeup all the threads pending on the supplied futex, and the behavior
* depends on wake_all.
*
* @param futex Futex to wake up pending threads.
* @param wake_all If true, wake up all pending threads; If false,
* wakeup the highest priority thread.
* @retval -EACCES Caller does not have access to the futex address.
* @retval -EINVAL Futex parameter address not recognized by the kernel.
* @retval Number of threads that were woken up.
*/
__syscall int k_futex_wake(struct k_futex *futex, bool wake_all);
/** @} */
#endif
/**
* @defgroup event_apis Event APIs
* @ingroup kernel_apis
* @{
*/
/**
* Event Structure
* @ingroup event_apis
*/
struct k_event {
_wait_q_t wait_q;
uint32_t events;
struct k_spinlock lock;
SYS_PORT_TRACING_TRACKING_FIELD(k_event)
#ifdef CONFIG_OBJ_CORE_EVENT
struct k_obj_core obj_core;
#endif
};
#define Z_EVENT_INITIALIZER(obj) \
{ \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
.events = 0 \
}
/**
* @brief Initialize an event object
*
* This routine initializes an event object, prior to its first use.
*
* @param event Address of the event object.
*/
__syscall void k_event_init(struct k_event *event);
/**
* @brief Post one or more events to an event object
*
* This routine posts one or more events to an event object. All tasks waiting
* on the event object @a event whose waiting conditions become met by this
* posting immediately unpend.
*
* Posting differs from setting in that posted events are merged together with
* the current set of events tracked by the event object.
*
* @param event Address of the event object
* @param events Set of events to post to @a event
*
* @retval Previous value of the events in @a event
*/
__syscall uint32_t k_event_post(struct k_event *event, uint32_t events);
/**
* @brief Set the events in an event object
*
* This routine sets the events stored in event object to the specified value.
* All tasks waiting on the event object @a event whose waiting conditions
* become met by this immediately unpend.
*
* Setting differs from posting in that set events replace the current set of
* events tracked by the event object.
*
* @param event Address of the event object
* @param events Set of events to set in @a event
*
* @retval Previous value of the events in @a event
*/
__syscall uint32_t k_event_set(struct k_event *event, uint32_t events);
/**
* @brief Set or clear the events in an event object
*
* This routine sets the events stored in event object to the specified value.
* All tasks waiting on the event object @a event whose waiting conditions
* become met by this immediately unpend. Unlike @ref k_event_set, this routine
* allows specific event bits to be set and cleared as determined by the mask.
*
* @param event Address of the event object
* @param events Set of events to set/clear in @a event
* @param events_mask Mask to be applied to @a events
*
* @retval Previous value of the events in @a events_mask
*/
__syscall uint32_t k_event_set_masked(struct k_event *event, uint32_t events,
uint32_t events_mask);
/**
* @brief Clear the events in an event object
*
* This routine clears (resets) the specified events stored in an event object.
*
* @param event Address of the event object
* @param events Set of events to clear in @a event
*
* @retval Previous value of the events in @a event
*/
__syscall uint32_t k_event_clear(struct k_event *event, uint32_t events);
/**
* @brief Wait for any of the specified events
*
* This routine waits on event object @a event until any of the specified
* events have been delivered to the event object, or the maximum wait time
* @a timeout has expired. A thread may wait on up to 32 distinctly numbered
* events that are expressed as bits in a single 32-bit word.
*
* @note The caller must be careful when resetting if there are multiple threads
* waiting for the event object @a event.
*
* @param event Address of the event object
* @param events Set of desired events on which to wait
* @param reset If true, clear the set of events tracked by the event object
* before waiting. If false, do not clear the events.
* @param timeout Waiting period for the desired set of events or one of the
* special values K_NO_WAIT and K_FOREVER.
*
* @retval set of matching events upon success
* @retval 0 if matching events were not received within the specified time
*/
__syscall uint32_t k_event_wait(struct k_event *event, uint32_t events,
bool reset, k_timeout_t timeout);
/**
* @brief Wait for all of the specified events
*
* This routine waits on event object @a event until all of the specified
* events have been delivered to the event object, or the maximum wait time
* @a timeout has expired. A thread may wait on up to 32 distinctly numbered
* events that are expressed as bits in a single 32-bit word.
*
* @note The caller must be careful when resetting if there are multiple threads
* waiting for the event object @a event.
*
* @param event Address of the event object
* @param events Set of desired events on which to wait
* @param reset If true, clear the set of events tracked by the event object
* before waiting. If false, do not clear the events.
* @param timeout Waiting period for the desired set of events or one of the
* special values K_NO_WAIT and K_FOREVER.
*
* @retval set of matching events upon success
* @retval 0 if matching events were not received within the specified time
*/
__syscall uint32_t k_event_wait_all(struct k_event *event, uint32_t events,
bool reset, k_timeout_t timeout);
/**
* @brief Test the events currently tracked in the event object
*
* @param event Address of the event object
* @param events_mask Set of desired events to test
*
* @retval Current value of events in @a events_mask
*/
static inline uint32_t k_event_test(struct k_event *event, uint32_t events_mask)
{
return k_event_wait(event, events_mask, false, K_NO_WAIT);
}
/**
* @brief Statically define and initialize an event object
*
* The event can be accessed outside the module where it is defined using:
*
* @code extern struct k_event <name>; @endcode
*
* @param name Name of the event object.
*/
#define K_EVENT_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_event, name) = \
Z_EVENT_INITIALIZER(name);
/** @} */
struct k_fifo {
struct k_queue _queue;
#ifdef CONFIG_OBJ_CORE_FIFO
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_FIFO_INITIALIZER(obj) \
{ \
._queue = Z_QUEUE_INITIALIZER(obj._queue) \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup fifo_apis FIFO APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize a FIFO queue.
*
* This routine initializes a FIFO queue, prior to its first use.
*
* @param fifo Address of the FIFO queue.
*/
#define k_fifo_init(fifo) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, init, fifo); \
k_queue_init(&(fifo)->_queue); \
K_OBJ_CORE_INIT(K_OBJ_CORE(fifo), _obj_type_fifo); \
K_OBJ_CORE_LINK(K_OBJ_CORE(fifo)); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, init, fifo); \
})
/**
* @brief Cancel waiting on a FIFO queue.
*
* This routine causes first thread pending on @a fifo, if any, to
* return from k_fifo_get() call with NULL value (as if timeout
* expired).
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO queue.
*/
#define k_fifo_cancel_wait(fifo) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, cancel_wait, fifo); \
k_queue_cancel_wait(&(fifo)->_queue); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, cancel_wait, fifo); \
})
/**
* @brief Add an element to a FIFO queue.
*
* This routine adds a data item to @a fifo. A FIFO data item must be
* aligned on a word boundary, and the first word of the item is reserved
* for the kernel's use.
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO.
* @param data Address of the data item.
*/
#define k_fifo_put(fifo, data) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put, fifo, data); \
k_queue_append(&(fifo)->_queue, data); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put, fifo, data); \
})
/**
* @brief Add an element to a FIFO queue.
*
* This routine adds a data item to @a fifo. There is an implicit memory
* allocation to create an additional temporary bookkeeping data structure from
* the calling thread's resource pool, which is automatically freed when the
* item is removed. The data itself is not copied.
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO.
* @param data Address of the data item.
*
* @retval 0 on success
* @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool
*/
#define k_fifo_alloc_put(fifo, data) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, alloc_put, fifo, data); \
int fap_ret = k_queue_alloc_append(&(fifo)->_queue, data); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, alloc_put, fifo, data, fap_ret); \
fap_ret; \
})
/**
* @brief Atomically add a list of elements to a FIFO.
*
* This routine adds a list of data items to @a fifo in one operation.
* The data items must be in a singly-linked list, with the first word of
* each data item pointing to the next data item; the list must be
* NULL-terminated.
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO queue.
* @param head Pointer to first node in singly-linked list.
* @param tail Pointer to last node in singly-linked list.
*/
#define k_fifo_put_list(fifo, head, tail) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put_list, fifo, head, tail); \
k_queue_append_list(&(fifo)->_queue, head, tail); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put_list, fifo, head, tail); \
})
/**
* @brief Atomically add a list of elements to a FIFO queue.
*
* This routine adds a list of data items to @a fifo in one operation.
* The data items must be in a singly-linked list implemented using a
* sys_slist_t object. Upon completion, the sys_slist_t object is invalid
* and must be re-initialized via sys_slist_init().
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO queue.
* @param list Pointer to sys_slist_t object.
*/
#define k_fifo_put_slist(fifo, list) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put_slist, fifo, list); \
k_queue_merge_slist(&(fifo)->_queue, list); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put_slist, fifo, list); \
})
/**
* @brief Get an element from a FIFO queue.
*
* This routine removes a data item from @a fifo in a "first in, first out"
* manner. The first word of the data item is reserved for the kernel's use.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO queue.
* @param timeout Waiting period to obtain a data item,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @return Address of the data item if successful; NULL if returned
* without waiting, or waiting period timed out.
*/
#define k_fifo_get(fifo, timeout) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, get, fifo, timeout); \
void *fg_ret = k_queue_get(&(fifo)->_queue, timeout); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, get, fifo, timeout, fg_ret); \
fg_ret; \
})
/**
* @brief Query a FIFO queue to see if it has data available.
*
* Note that the data might be already gone by the time this function returns
* if other threads is also trying to read from the FIFO.
*
* @funcprops \isr_ok
*
* @param fifo Address of the FIFO queue.
*
* @return Non-zero if the FIFO queue is empty.
* @return 0 if data is available.
*/
#define k_fifo_is_empty(fifo) \
k_queue_is_empty(&(fifo)->_queue)
/**
* @brief Peek element at the head of a FIFO queue.
*
* Return element from the head of FIFO queue without removing it. A usecase
* for this is if elements of the FIFO object are themselves containers. Then
* on each iteration of processing, a head container will be peeked,
* and some data processed out of it, and only if the container is empty,
* it will be completely remove from the FIFO queue.
*
* @param fifo Address of the FIFO queue.
*
* @return Head element, or NULL if the FIFO queue is empty.
*/
#define k_fifo_peek_head(fifo) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, peek_head, fifo); \
void *fph_ret = k_queue_peek_head(&(fifo)->_queue); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, peek_head, fifo, fph_ret); \
fph_ret; \
})
/**
* @brief Peek element at the tail of FIFO queue.
*
* Return element from the tail of FIFO queue (without removing it). A usecase
* for this is if elements of the FIFO queue are themselves containers. Then
* it may be useful to add more data to the last container in a FIFO queue.
*
* @param fifo Address of the FIFO queue.
*
* @return Tail element, or NULL if a FIFO queue is empty.
*/
#define k_fifo_peek_tail(fifo) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, peek_tail, fifo); \
void *fpt_ret = k_queue_peek_tail(&(fifo)->_queue); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, peek_tail, fifo, fpt_ret); \
fpt_ret; \
})
/**
* @brief Statically define and initialize a FIFO queue.
*
* The FIFO queue can be accessed outside the module where it is defined using:
*
* @code extern struct k_fifo <name>; @endcode
*
* @param name Name of the FIFO queue.
*/
#define K_FIFO_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_fifo, name) = \
Z_FIFO_INITIALIZER(name)
/** @} */
struct k_lifo {
struct k_queue _queue;
#ifdef CONFIG_OBJ_CORE_LIFO
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_LIFO_INITIALIZER(obj) \
{ \
._queue = Z_QUEUE_INITIALIZER(obj._queue) \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup lifo_apis LIFO APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize a LIFO queue.
*
* This routine initializes a LIFO queue object, prior to its first use.
*
* @param lifo Address of the LIFO queue.
*/
#define k_lifo_init(lifo) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, init, lifo); \
k_queue_init(&(lifo)->_queue); \
K_OBJ_CORE_INIT(K_OBJ_CORE(lifo), _obj_type_lifo); \
K_OBJ_CORE_LINK(K_OBJ_CORE(lifo)); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, init, lifo); \
})
/**
* @brief Add an element to a LIFO queue.
*
* This routine adds a data item to @a lifo. A LIFO queue data item must be
* aligned on a word boundary, and the first word of the item is
* reserved for the kernel's use.
*
* @funcprops \isr_ok
*
* @param lifo Address of the LIFO queue.
* @param data Address of the data item.
*/
#define k_lifo_put(lifo, data) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, put, lifo, data); \
k_queue_prepend(&(lifo)->_queue, data); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, put, lifo, data); \
})
/**
* @brief Add an element to a LIFO queue.
*
* This routine adds a data item to @a lifo. There is an implicit memory
* allocation to create an additional temporary bookkeeping data structure from
* the calling thread's resource pool, which is automatically freed when the
* item is removed. The data itself is not copied.
*
* @funcprops \isr_ok
*
* @param lifo Address of the LIFO.
* @param data Address of the data item.
*
* @retval 0 on success
* @retval -ENOMEM if there isn't sufficient RAM in the caller's resource pool
*/
#define k_lifo_alloc_put(lifo, data) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, alloc_put, lifo, data); \
int lap_ret = k_queue_alloc_prepend(&(lifo)->_queue, data); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, alloc_put, lifo, data, lap_ret); \
lap_ret; \
})
/**
* @brief Get an element from a LIFO queue.
*
* This routine removes a data item from @a LIFO in a "last in, first out"
* manner. The first word of the data item is reserved for the kernel's use.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param lifo Address of the LIFO queue.
* @param timeout Waiting period to obtain a data item,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @return Address of the data item if successful; NULL if returned
* without waiting, or waiting period timed out.
*/
#define k_lifo_get(lifo, timeout) \
({ \
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_lifo, get, lifo, timeout); \
void *lg_ret = k_queue_get(&(lifo)->_queue, timeout); \
SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_lifo, get, lifo, timeout, lg_ret); \
lg_ret; \
})
/**
* @brief Statically define and initialize a LIFO queue.
*
* The LIFO queue can be accessed outside the module where it is defined using:
*
* @code extern struct k_lifo <name>; @endcode
*
* @param name Name of the fifo.
*/
#define K_LIFO_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_lifo, name) = \
Z_LIFO_INITIALIZER(name)
/** @} */
/**
* @cond INTERNAL_HIDDEN
*/
#define K_STACK_FLAG_ALLOC ((uint8_t)1) /* Buffer was allocated */
typedef uintptr_t stack_data_t;
struct k_stack {
_wait_q_t wait_q;
struct k_spinlock lock;
stack_data_t *base, *next, *top;
uint8_t flags;
SYS_PORT_TRACING_TRACKING_FIELD(k_stack)
#ifdef CONFIG_OBJ_CORE_STACK
struct k_obj_core obj_core;
#endif
};
#define Z_STACK_INITIALIZER(obj, stack_buffer, stack_num_entries) \
{ \
.wait_q = Z_WAIT_Q_INIT(&(obj).wait_q), \
.base = (stack_buffer), \
.next = (stack_buffer), \
.top = (stack_buffer) + (stack_num_entries), \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup stack_apis Stack APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize a stack.
*
* This routine initializes a stack object, prior to its first use.
*
* @param stack Address of the stack.
* @param buffer Address of array used to hold stacked values.
* @param num_entries Maximum number of values that can be stacked.
*/
void k_stack_init(struct k_stack *stack,
stack_data_t *buffer, uint32_t num_entries);
/**
* @brief Initialize a stack.
*
* This routine initializes a stack object, prior to its first use. Internal
* buffers will be allocated from the calling thread's resource pool.
* This memory will be released if k_stack_cleanup() is called, or
* userspace is enabled and the stack object loses all references to it.
*
* @param stack Address of the stack.
* @param num_entries Maximum number of values that can be stacked.
*
* @return -ENOMEM if memory couldn't be allocated
*/
__syscall int32_t k_stack_alloc_init(struct k_stack *stack,
uint32_t num_entries);
/**
* @brief Release a stack's allocated buffer
*
* If a stack object was given a dynamically allocated buffer via
* k_stack_alloc_init(), this will free it. This function does nothing
* if the buffer wasn't dynamically allocated.
*
* @param stack Address of the stack.
* @retval 0 on success
* @retval -EAGAIN when object is still in use
*/
int k_stack_cleanup(struct k_stack *stack);
/**
* @brief Push an element onto a stack.
*
* This routine adds a stack_data_t value @a data to @a stack.
*
* @funcprops \isr_ok
*
* @param stack Address of the stack.
* @param data Value to push onto the stack.
*
* @retval 0 on success
* @retval -ENOMEM if stack is full
*/
__syscall int k_stack_push(struct k_stack *stack, stack_data_t data);
/**
* @brief Pop an element from a stack.
*
* This routine removes a stack_data_t value from @a stack in a "last in,
* first out" manner and stores the value in @a data.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param stack Address of the stack.
* @param data Address of area to hold the value popped from the stack.
* @param timeout Waiting period to obtain a value,
* or one of the special values K_NO_WAIT and
* K_FOREVER.
*
* @retval 0 Element popped from stack.
* @retval -EBUSY Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
*/
__syscall int k_stack_pop(struct k_stack *stack, stack_data_t *data,
k_timeout_t timeout);
/**
* @brief Statically define and initialize a stack
*
* The stack can be accessed outside the module where it is defined using:
*
* @code extern struct k_stack <name>; @endcode
*
* @param name Name of the stack.
* @param stack_num_entries Maximum number of values that can be stacked.
*/
#define K_STACK_DEFINE(name, stack_num_entries) \
stack_data_t __noinit \
_k_stack_buf_##name[stack_num_entries]; \
STRUCT_SECTION_ITERABLE(k_stack, name) = \
Z_STACK_INITIALIZER(name, _k_stack_buf_##name, \
stack_num_entries)
/** @} */
/**
* @cond INTERNAL_HIDDEN
*/
struct k_work;
struct k_work_q;
struct k_work_queue_config;
extern struct k_work_q k_sys_work_q;
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup mutex_apis Mutex APIs
* @ingroup kernel_apis
* @{
*/
/**
* Mutex Structure
* @ingroup mutex_apis
*/
struct k_mutex {
/** Mutex wait queue */
_wait_q_t wait_q;
/** Mutex owner */
struct k_thread *owner;
/** Current lock count */
uint32_t lock_count;
/** Original thread priority */
int owner_orig_prio;
SYS_PORT_TRACING_TRACKING_FIELD(k_mutex)
#ifdef CONFIG_OBJ_CORE_MUTEX
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_MUTEX_INITIALIZER(obj) \
{ \
.wait_q = Z_WAIT_Q_INIT(&(obj).wait_q), \
.owner = NULL, \
.lock_count = 0, \
.owner_orig_prio = K_LOWEST_APPLICATION_THREAD_PRIO, \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Statically define and initialize a mutex.
*
* The mutex can be accessed outside the module where it is defined using:
*
* @code extern struct k_mutex <name>; @endcode
*
* @param name Name of the mutex.
*/
#define K_MUTEX_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_mutex, name) = \
Z_MUTEX_INITIALIZER(name)
/**
* @brief Initialize a mutex.
*
* This routine initializes a mutex object, prior to its first use.
*
* Upon completion, the mutex is available and does not have an owner.
*
* @param mutex Address of the mutex.
*
* @retval 0 Mutex object created
*
*/
__syscall int k_mutex_init(struct k_mutex *mutex);
/**
* @brief Lock a mutex.
*
* This routine locks @a mutex. If the mutex is locked by another thread,
* the calling thread waits until the mutex becomes available or until
* a timeout occurs.
*
* A thread is permitted to lock a mutex it has already locked. The operation
* completes immediately and the lock count is increased by 1.
*
* Mutexes may not be locked in ISRs.
*
* @param mutex Address of the mutex.
* @param timeout Waiting period to lock the mutex,
* or one of the special values K_NO_WAIT and
* K_FOREVER.
*
* @retval 0 Mutex locked.
* @retval -EBUSY Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
*/
__syscall int k_mutex_lock(struct k_mutex *mutex, k_timeout_t timeout);
/**
* @brief Unlock a mutex.
*
* This routine unlocks @a mutex. The mutex must already be locked by the
* calling thread.
*
* The mutex cannot be claimed by another thread until it has been unlocked by
* the calling thread as many times as it was previously locked by that
* thread.
*
* Mutexes may not be unlocked in ISRs, as mutexes must only be manipulated
* in thread context due to ownership and priority inheritance semantics.
*
* @param mutex Address of the mutex.
*
* @retval 0 Mutex unlocked.
* @retval -EPERM The current thread does not own the mutex
* @retval -EINVAL The mutex is not locked
*
*/
__syscall int k_mutex_unlock(struct k_mutex *mutex);
/**
* @}
*/
struct k_condvar {
_wait_q_t wait_q;
#ifdef CONFIG_OBJ_CORE_CONDVAR
struct k_obj_core obj_core;
#endif
};
#define Z_CONDVAR_INITIALIZER(obj) \
{ \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
}
/**
* @defgroup condvar_apis Condition Variables APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize a condition variable
*
* @param condvar pointer to a @p k_condvar structure
* @retval 0 Condition variable created successfully
*/
__syscall int k_condvar_init(struct k_condvar *condvar);
/**
* @brief Signals one thread that is pending on the condition variable
*
* @param condvar pointer to a @p k_condvar structure
* @retval 0 On success
*/
__syscall int k_condvar_signal(struct k_condvar *condvar);
/**
* @brief Unblock all threads that are pending on the condition
* variable
*
* @param condvar pointer to a @p k_condvar structure
* @return An integer with number of woken threads on success
*/
__syscall int k_condvar_broadcast(struct k_condvar *condvar);
/**
* @brief Waits on the condition variable releasing the mutex lock
*
* Atomically releases the currently owned mutex, blocks the current thread
* waiting on the condition variable specified by @a condvar,
* and finally acquires the mutex again.
*
* The waiting thread unblocks only after another thread calls
* k_condvar_signal, or k_condvar_broadcast with the same condition variable.
*
* @param condvar pointer to a @p k_condvar structure
* @param mutex Address of the mutex.
* @param timeout Waiting period for the condition variable
* or one of the special values K_NO_WAIT and K_FOREVER.
* @retval 0 On success
* @retval -EAGAIN Waiting period timed out.
*/
__syscall int k_condvar_wait(struct k_condvar *condvar, struct k_mutex *mutex,
k_timeout_t timeout);
/**
* @brief Statically define and initialize a condition variable.
*
* The condition variable can be accessed outside the module where it is
* defined using:
*
* @code extern struct k_condvar <name>; @endcode
*
* @param name Name of the condition variable.
*/
#define K_CONDVAR_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_condvar, name) = \
Z_CONDVAR_INITIALIZER(name)
/**
* @}
*/
/**
* @cond INTERNAL_HIDDEN
*/
struct k_sem {
_wait_q_t wait_q;
unsigned int count;
unsigned int limit;
Z_DECL_POLL_EVENT
SYS_PORT_TRACING_TRACKING_FIELD(k_sem)
#ifdef CONFIG_OBJ_CORE_SEM
struct k_obj_core obj_core;
#endif
};
#define Z_SEM_INITIALIZER(obj, initial_count, count_limit) \
{ \
.wait_q = Z_WAIT_Q_INIT(&(obj).wait_q), \
.count = (initial_count), \
.limit = (count_limit), \
Z_POLL_EVENT_OBJ_INIT(obj) \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup semaphore_apis Semaphore APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Maximum limit value allowed for a semaphore.
*
* This is intended for use when a semaphore does not have
* an explicit maximum limit, and instead is just used for
* counting purposes.
*
*/
#define K_SEM_MAX_LIMIT UINT_MAX
/**
* @brief Initialize a semaphore.
*
* This routine initializes a semaphore object, prior to its first use.
*
* @param sem Address of the semaphore.
* @param initial_count Initial semaphore count.
* @param limit Maximum permitted semaphore count.
*
* @see K_SEM_MAX_LIMIT
*
* @retval 0 Semaphore created successfully
* @retval -EINVAL Invalid values
*
*/
__syscall int k_sem_init(struct k_sem *sem, unsigned int initial_count,
unsigned int limit);
/**
* @brief Take a semaphore.
*
* This routine takes @a sem.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param sem Address of the semaphore.
* @param timeout Waiting period to take the semaphore,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 Semaphore taken.
* @retval -EBUSY Returned without waiting.
* @retval -EAGAIN Waiting period timed out,
* or the semaphore was reset during the waiting period.
*/
__syscall int k_sem_take(struct k_sem *sem, k_timeout_t timeout);
/**
* @brief Give a semaphore.
*
* This routine gives @a sem, unless the semaphore is already at its maximum
* permitted count.
*
* @funcprops \isr_ok
*
* @param sem Address of the semaphore.
*/
__syscall void k_sem_give(struct k_sem *sem);
/**
* @brief Resets a semaphore's count to zero.
*
* This routine sets the count of @a sem to zero.
* Any outstanding semaphore takes will be aborted
* with -EAGAIN.
*
* @param sem Address of the semaphore.
*/
__syscall void k_sem_reset(struct k_sem *sem);
/**
* @brief Get a semaphore's count.
*
* This routine returns the current count of @a sem.
*
* @param sem Address of the semaphore.
*
* @return Current semaphore count.
*/
__syscall unsigned int k_sem_count_get(struct k_sem *sem);
/**
* @internal
*/
static inline unsigned int z_impl_k_sem_count_get(struct k_sem *sem)
{
return sem->count;
}
/**
* @brief Statically define and initialize a semaphore.
*
* The semaphore can be accessed outside the module where it is defined using:
*
* @code extern struct k_sem <name>; @endcode
*
* @param name Name of the semaphore.
* @param initial_count Initial semaphore count.
* @param count_limit Maximum permitted semaphore count.
*/
#define K_SEM_DEFINE(name, initial_count, count_limit) \
STRUCT_SECTION_ITERABLE(k_sem, name) = \
Z_SEM_INITIALIZER(name, initial_count, count_limit); \
BUILD_ASSERT(((count_limit) != 0) && \
((initial_count) <= (count_limit)) && \
((count_limit) <= K_SEM_MAX_LIMIT));
/** @} */
/**
* @cond INTERNAL_HIDDEN
*/
struct k_work_delayable;
struct k_work_sync;
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup workqueue_apis Work Queue APIs
* @ingroup kernel_apis
* @{
*/
/** @brief The signature for a work item handler function.
*
* The function will be invoked by the thread animating a work queue.
*
* @param work the work item that provided the handler.
*/
typedef void (*k_work_handler_t)(struct k_work *work);
/** @brief Initialize a (non-delayable) work structure.
*
* This must be invoked before submitting a work structure for the first time.
* It need not be invoked again on the same work structure. It can be
* re-invoked to change the associated handler, but this must be done when the
* work item is idle.
*
* @funcprops \isr_ok
*
* @param work the work structure to be initialized.
*
* @param handler the handler to be invoked by the work item.
*/
void k_work_init(struct k_work *work,
k_work_handler_t handler);
/** @brief Busy state flags from the work item.
*
* A zero return value indicates the work item appears to be idle.
*
* @note This is a live snapshot of state, which may change before the result
* is checked. Use locks where appropriate.
*
* @funcprops \isr_ok
*
* @param work pointer to the work item.
*
* @return a mask of flags K_WORK_DELAYED, K_WORK_QUEUED,
* K_WORK_RUNNING, K_WORK_CANCELING, and K_WORK_FLUSHING.
*/
int k_work_busy_get(const struct k_work *work);
/** @brief Test whether a work item is currently pending.
*
* Wrapper to determine whether a work item is in a non-idle dstate.
*
* @note This is a live snapshot of state, which may change before the result
* is checked. Use locks where appropriate.
*
* @funcprops \isr_ok
*
* @param work pointer to the work item.
*
* @return true if and only if k_work_busy_get() returns a non-zero value.
*/
static inline bool k_work_is_pending(const struct k_work *work);
/** @brief Submit a work item to a queue.
*
* @param queue pointer to the work queue on which the item should run. If
* NULL the queue from the most recent submission will be used.
*
* @funcprops \isr_ok
*
* @param work pointer to the work item.
*
* @retval 0 if work was already submitted to a queue
* @retval 1 if work was not submitted and has been queued to @p queue
* @retval 2 if work was running and has been queued to the queue that was
* running it
* @retval -EBUSY
* * if work submission was rejected because the work item is cancelling; or
* * @p queue is draining; or
* * @p queue is plugged.
* @retval -EINVAL if @p queue is null and the work item has never been run.
* @retval -ENODEV if @p queue has not been started.
*/
int k_work_submit_to_queue(struct k_work_q *queue,
struct k_work *work);
/** @brief Submit a work item to the system queue.
*
* @funcprops \isr_ok
*
* @param work pointer to the work item.
*
* @return as with k_work_submit_to_queue().
*/
int k_work_submit(struct k_work *work);
/** @brief Wait for last-submitted instance to complete.
*
* Resubmissions may occur while waiting, including chained submissions (from
* within the handler).
*
* @note Be careful of caller and work queue thread relative priority. If
* this function sleeps it will not return until the work queue thread
* completes the tasks that allow this thread to resume.
*
* @note Behavior is undefined if this function is invoked on @p work from a
* work queue running @p work.
*
* @param work pointer to the work item.
*
* @param sync pointer to an opaque item containing state related to the
* pending cancellation. The object must persist until the call returns, and
* be accessible from both the caller thread and the work queue thread. The
* object must not be used for any other flush or cancel operation until this
* one completes. On architectures with CONFIG_KERNEL_COHERENCE the object
* must be allocated in coherent memory.
*
* @retval true if call had to wait for completion
* @retval false if work was already idle
*/
bool k_work_flush(struct k_work *work,
struct k_work_sync *sync);
/** @brief Cancel a work item.
*
* This attempts to prevent a pending (non-delayable) work item from being
* processed by removing it from the work queue. If the item is being
* processed, the work item will continue to be processed, but resubmissions
* are rejected until cancellation completes.
*
* If this returns zero cancellation is complete, otherwise something
* (probably a work queue thread) is still referencing the item.
*
* See also k_work_cancel_sync().
*
* @funcprops \isr_ok
*
* @param work pointer to the work item.
*
* @return the k_work_busy_get() status indicating the state of the item after all
* cancellation steps performed by this call are completed.
*/
int k_work_cancel(struct k_work *work);
/** @brief Cancel a work item and wait for it to complete.
*
* Same as k_work_cancel() but does not return until cancellation is complete.
* This can be invoked by a thread after k_work_cancel() to synchronize with a
* previous cancellation.
*
* On return the work structure will be idle unless something submits it after
* the cancellation was complete.
*
* @note Be careful of caller and work queue thread relative priority. If
* this function sleeps it will not return until the work queue thread
* completes the tasks that allow this thread to resume.
*
* @note Behavior is undefined if this function is invoked on @p work from a
* work queue running @p work.
*
* @param work pointer to the work item.
*
* @param sync pointer to an opaque item containing state related to the
* pending cancellation. The object must persist until the call returns, and
* be accessible from both the caller thread and the work queue thread. The
* object must not be used for any other flush or cancel operation until this
* one completes. On architectures with CONFIG_KERNEL_COHERENCE the object
* must be allocated in coherent memory.
*
* @retval true if work was pending (call had to wait for cancellation of a
* running handler to complete, or scheduled or submitted operations were
* cancelled);
* @retval false otherwise
*/
bool k_work_cancel_sync(struct k_work *work, struct k_work_sync *sync);
/** @brief Initialize a work queue structure.
*
* This must be invoked before starting a work queue structure for the first time.
* It need not be invoked again on the same work queue structure.
*
* @funcprops \isr_ok
*
* @param queue the queue structure to be initialized.
*/
void k_work_queue_init(struct k_work_q *queue);
/** @brief Initialize a work queue.
*
* This configures the work queue thread and starts it running. The function
* should not be re-invoked on a queue.
*
* @param queue pointer to the queue structure. It must be initialized
* in zeroed/bss memory or with @ref k_work_queue_init before
* use.
*
* @param stack pointer to the work thread stack area.
*
* @param stack_size size of the work thread stack area, in bytes.
*
* @param prio initial thread priority
*
* @param cfg optional additional configuration parameters. Pass @c
* NULL if not required, to use the defaults documented in
* k_work_queue_config.
*/
void k_work_queue_start(struct k_work_q *queue,
k_thread_stack_t *stack, size_t stack_size,
int prio, const struct k_work_queue_config *cfg);
/** @brief Access the thread that animates a work queue.
*
* This is necessary to grant a work queue thread access to things the work
* items it will process are expected to use.
*
* @param queue pointer to the queue structure.
*
* @return the thread associated with the work queue.
*/
static inline k_tid_t k_work_queue_thread_get(struct k_work_q *queue);
/** @brief Wait until the work queue has drained, optionally plugging it.
*
* This blocks submission to the work queue except when coming from queue
* thread, and blocks the caller until no more work items are available in the
* queue.
*
* If @p plug is true then submission will continue to be blocked after the
* drain operation completes until k_work_queue_unplug() is invoked.
*
* Note that work items that are delayed are not yet associated with their
* work queue. They must be cancelled externally if a goal is to ensure the
* work queue remains empty. The @p plug feature can be used to prevent
* delayed items from being submitted after the drain completes.
*
* @param queue pointer to the queue structure.
*
* @param plug if true the work queue will continue to block new submissions
* after all items have drained.
*
* @retval 1 if call had to wait for the drain to complete
* @retval 0 if call did not have to wait
* @retval negative if wait was interrupted or failed
*/
int k_work_queue_drain(struct k_work_q *queue, bool plug);
/** @brief Release a work queue to accept new submissions.
*
* This releases the block on new submissions placed when k_work_queue_drain()
* is invoked with the @p plug option enabled. If this is invoked before the
* drain completes new items may be submitted as soon as the drain completes.
*
* @funcprops \isr_ok
*
* @param queue pointer to the queue structure.
*
* @retval 0 if successfully unplugged
* @retval -EALREADY if the work queue was not plugged.
*/
int k_work_queue_unplug(struct k_work_q *queue);
/** @brief Initialize a delayable work structure.
*
* This must be invoked before scheduling a delayable work structure for the
* first time. It need not be invoked again on the same work structure. It
* can be re-invoked to change the associated handler, but this must be done
* when the work item is idle.
*
* @funcprops \isr_ok
*
* @param dwork the delayable work structure to be initialized.
*
* @param handler the handler to be invoked by the work item.
*/
void k_work_init_delayable(struct k_work_delayable *dwork,
k_work_handler_t handler);
/**
* @brief Get the parent delayable work structure from a work pointer.
*
* This function is necessary when a @c k_work_handler_t function is passed to
* k_work_schedule_for_queue() and the handler needs to access data from the
* container of the containing `k_work_delayable`.
*
* @param work Address passed to the work handler
*
* @return Address of the containing @c k_work_delayable structure.
*/
static inline struct k_work_delayable *
k_work_delayable_from_work(struct k_work *work);
/** @brief Busy state flags from the delayable work item.
*
* @funcprops \isr_ok
*
* @note This is a live snapshot of state, which may change before the result
* can be inspected. Use locks where appropriate.
*
* @param dwork pointer to the delayable work item.
*
* @return a mask of flags K_WORK_DELAYED, K_WORK_QUEUED, K_WORK_RUNNING,
* K_WORK_CANCELING, and K_WORK_FLUSHING. A zero return value indicates the
* work item appears to be idle.
*/
int k_work_delayable_busy_get(const struct k_work_delayable *dwork);
/** @brief Test whether a delayed work item is currently pending.
*
* Wrapper to determine whether a delayed work item is in a non-idle state.
*
* @note This is a live snapshot of state, which may change before the result
* can be inspected. Use locks where appropriate.
*
* @funcprops \isr_ok
*
* @param dwork pointer to the delayable work item.
*
* @return true if and only if k_work_delayable_busy_get() returns a non-zero
* value.
*/
static inline bool k_work_delayable_is_pending(
const struct k_work_delayable *dwork);
/** @brief Get the absolute tick count at which a scheduled delayable work
* will be submitted.
*
* @note This is a live snapshot of state, which may change before the result
* can be inspected. Use locks where appropriate.
*
* @funcprops \isr_ok
*
* @param dwork pointer to the delayable work item.
*
* @return the tick count when the timer that will schedule the work item will
* expire, or the current tick count if the work is not scheduled.
*/
static inline k_ticks_t k_work_delayable_expires_get(
const struct k_work_delayable *dwork);
/** @brief Get the number of ticks until a scheduled delayable work will be
* submitted.
*
* @note This is a live snapshot of state, which may change before the result
* can be inspected. Use locks where appropriate.
*
* @funcprops \isr_ok
*
* @param dwork pointer to the delayable work item.
*
* @return the number of ticks until the timer that will schedule the work
* item will expire, or zero if the item is not scheduled.
*/
static inline k_ticks_t k_work_delayable_remaining_get(
const struct k_work_delayable *dwork);
/** @brief Submit an idle work item to a queue after a delay.
*
* Unlike k_work_reschedule_for_queue() this is a no-op if the work item is
* already scheduled or submitted, even if @p delay is @c K_NO_WAIT.
*
* @funcprops \isr_ok
*
* @param queue the queue on which the work item should be submitted after the
* delay.
*
* @param dwork pointer to the delayable work item.
*
* @param delay the time to wait before submitting the work item. If @c
* K_NO_WAIT and the work is not pending this is equivalent to
* k_work_submit_to_queue().
*
* @retval 0 if work was already scheduled or submitted.
* @retval 1 if work has been scheduled.
* @retval 2 if @p delay is @c K_NO_WAIT and work
* was running and has been queued to the queue that was running it.
* @retval -EBUSY if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
* @retval -EINVAL if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
* @retval -ENODEV if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
*/
int k_work_schedule_for_queue(struct k_work_q *queue,
struct k_work_delayable *dwork,
k_timeout_t delay);
/** @brief Submit an idle work item to the system work queue after a
* delay.
*
* This is a thin wrapper around k_work_schedule_for_queue(), with all the API
* characteristics of that function.
*
* @param dwork pointer to the delayable work item.
*
* @param delay the time to wait before submitting the work item. If @c
* K_NO_WAIT this is equivalent to k_work_submit_to_queue().
*
* @return as with k_work_schedule_for_queue().
*/
int k_work_schedule(struct k_work_delayable *dwork,
k_timeout_t delay);
/** @brief Reschedule a work item to a queue after a delay.
*
* Unlike k_work_schedule_for_queue() this function can change the deadline of
* a scheduled work item, and will schedule a work item that is in any state
* (e.g. is idle, submitted, or running). This function does not affect
* ("unsubmit") a work item that has been submitted to a queue.
*
* @funcprops \isr_ok
*
* @param queue the queue on which the work item should be submitted after the
* delay.
*
* @param dwork pointer to the delayable work item.
*
* @param delay the time to wait before submitting the work item. If @c
* K_NO_WAIT this is equivalent to k_work_submit_to_queue() after canceling
* any previous scheduled submission.
*
* @note If delay is @c K_NO_WAIT ("no delay") the return values are as with
* k_work_submit_to_queue().
*
* @retval 0 if delay is @c K_NO_WAIT and work was already on a queue
* @retval 1 if
* * delay is @c K_NO_WAIT and work was not submitted but has now been queued
* to @p queue; or
* * delay not @c K_NO_WAIT and work has been scheduled
* @retval 2 if delay is @c K_NO_WAIT and work was running and has been queued
* to the queue that was running it
* @retval -EBUSY if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
* @retval -EINVAL if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
* @retval -ENODEV if @p delay is @c K_NO_WAIT and
* k_work_submit_to_queue() fails with this code.
*/
int k_work_reschedule_for_queue(struct k_work_q *queue,
struct k_work_delayable *dwork,
k_timeout_t delay);
/** @brief Reschedule a work item to the system work queue after a
* delay.
*
* This is a thin wrapper around k_work_reschedule_for_queue(), with all the
* API characteristics of that function.
*
* @param dwork pointer to the delayable work item.
*
* @param delay the time to wait before submitting the work item.
*
* @return as with k_work_reschedule_for_queue().
*/
int k_work_reschedule(struct k_work_delayable *dwork,
k_timeout_t delay);
/** @brief Flush delayable work.
*
* If the work is scheduled, it is immediately submitted. Then the caller
* blocks until the work completes, as with k_work_flush().
*
* @note Be careful of caller and work queue thread relative priority. If
* this function sleeps it will not return until the work queue thread
* completes the tasks that allow this thread to resume.
*
* @note Behavior is undefined if this function is invoked on @p dwork from a
* work queue running @p dwork.
*
* @param dwork pointer to the delayable work item.
*
* @param sync pointer to an opaque item containing state related to the
* pending cancellation. The object must persist until the call returns, and
* be accessible from both the caller thread and the work queue thread. The
* object must not be used for any other flush or cancel operation until this
* one completes. On architectures with CONFIG_KERNEL_COHERENCE the object
* must be allocated in coherent memory.
*
* @retval true if call had to wait for completion
* @retval false if work was already idle
*/
bool k_work_flush_delayable(struct k_work_delayable *dwork,
struct k_work_sync *sync);
/** @brief Cancel delayable work.
*
* Similar to k_work_cancel() but for delayable work. If the work is
* scheduled or submitted it is canceled. This function does not wait for the
* cancellation to complete.
*
* @note The work may still be running when this returns. Use
* k_work_flush_delayable() or k_work_cancel_delayable_sync() to ensure it is
* not running.
*
* @note Canceling delayable work does not prevent rescheduling it. It does
* prevent submitting it until the cancellation completes.
*
* @funcprops \isr_ok
*
* @param dwork pointer to the delayable work item.
*
* @return the k_work_delayable_busy_get() status indicating the state of the
* item after all cancellation steps performed by this call are completed.
*/
int k_work_cancel_delayable(struct k_work_delayable *dwork);
/** @brief Cancel delayable work and wait.
*
* Like k_work_cancel_delayable() but waits until the work becomes idle.
*
* @note Canceling delayable work does not prevent rescheduling it. It does
* prevent submitting it until the cancellation completes.
*
* @note Be careful of caller and work queue thread relative priority. If
* this function sleeps it will not return until the work queue thread
* completes the tasks that allow this thread to resume.
*
* @note Behavior is undefined if this function is invoked on @p dwork from a
* work queue running @p dwork.
*
* @param dwork pointer to the delayable work item.
*
* @param sync pointer to an opaque item containing state related to the
* pending cancellation. The object must persist until the call returns, and
* be accessible from both the caller thread and the work queue thread. The
* object must not be used for any other flush or cancel operation until this
* one completes. On architectures with CONFIG_KERNEL_COHERENCE the object
* must be allocated in coherent memory.
*
* @retval true if work was not idle (call had to wait for cancellation of a
* running handler to complete, or scheduled or submitted operations were
* cancelled);
* @retval false otherwise
*/
bool k_work_cancel_delayable_sync(struct k_work_delayable *dwork,
struct k_work_sync *sync);
enum {
/**
* @cond INTERNAL_HIDDEN
*/
/* The atomic API is used for all work and queue flags fields to
* enforce sequential consistency in SMP environments.
*/
/* Bits that represent the work item states. At least nine of the
* combinations are distinct valid stable states.
*/
K_WORK_RUNNING_BIT = 0,
K_WORK_CANCELING_BIT = 1,
K_WORK_QUEUED_BIT = 2,
K_WORK_DELAYED_BIT = 3,
K_WORK_FLUSHING_BIT = 4,
K_WORK_MASK = BIT(K_WORK_DELAYED_BIT) | BIT(K_WORK_QUEUED_BIT)
| BIT(K_WORK_RUNNING_BIT) | BIT(K_WORK_CANCELING_BIT) | BIT(K_WORK_FLUSHING_BIT),
/* Static work flags */
K_WORK_DELAYABLE_BIT = 8,
K_WORK_DELAYABLE = BIT(K_WORK_DELAYABLE_BIT),
/* Dynamic work queue flags */
K_WORK_QUEUE_STARTED_BIT = 0,
K_WORK_QUEUE_STARTED = BIT(K_WORK_QUEUE_STARTED_BIT),
K_WORK_QUEUE_BUSY_BIT = 1,
K_WORK_QUEUE_BUSY = BIT(K_WORK_QUEUE_BUSY_BIT),
K_WORK_QUEUE_DRAIN_BIT = 2,
K_WORK_QUEUE_DRAIN = BIT(K_WORK_QUEUE_DRAIN_BIT),
K_WORK_QUEUE_PLUGGED_BIT = 3,
K_WORK_QUEUE_PLUGGED = BIT(K_WORK_QUEUE_PLUGGED_BIT),
/* Static work queue flags */
K_WORK_QUEUE_NO_YIELD_BIT = 8,
K_WORK_QUEUE_NO_YIELD = BIT(K_WORK_QUEUE_NO_YIELD_BIT),
/**
* INTERNAL_HIDDEN @endcond
*/
/* Transient work flags */
/** @brief Flag indicating a work item that is running under a work
* queue thread.
*
* Accessed via k_work_busy_get(). May co-occur with other flags.
*/
K_WORK_RUNNING = BIT(K_WORK_RUNNING_BIT),
/** @brief Flag indicating a work item that is being canceled.
*
* Accessed via k_work_busy_get(). May co-occur with other flags.
*/
K_WORK_CANCELING = BIT(K_WORK_CANCELING_BIT),
/** @brief Flag indicating a work item that has been submitted to a
* queue but has not started running.
*
* Accessed via k_work_busy_get(). May co-occur with other flags.
*/
K_WORK_QUEUED = BIT(K_WORK_QUEUED_BIT),
/** @brief Flag indicating a delayed work item that is scheduled for
* submission to a queue.
*
* Accessed via k_work_busy_get(). May co-occur with other flags.
*/
K_WORK_DELAYED = BIT(K_WORK_DELAYED_BIT),
/** @brief Flag indicating a synced work item that is being flushed.
*
* Accessed via k_work_busy_get(). May co-occur with other flags.
*/
K_WORK_FLUSHING = BIT(K_WORK_FLUSHING_BIT),
};
/** @brief A structure used to submit work. */
struct k_work {
/* All fields are protected by the work module spinlock. No fields
* are to be accessed except through kernel API.
*/
/* Node to link into k_work_q pending list. */
sys_snode_t node;
/* The function to be invoked by the work queue thread. */
k_work_handler_t handler;
/* The queue on which the work item was last submitted. */
struct k_work_q *queue;
/* State of the work item.
*
* The item can be DELAYED, QUEUED, and RUNNING simultaneously.
*
* It can be RUNNING and CANCELING simultaneously.
*/
uint32_t flags;
};
#define Z_WORK_INITIALIZER(work_handler) { \
.handler = (work_handler), \
}
/** @brief A structure used to submit work after a delay. */
struct k_work_delayable {
/* The work item. */
struct k_work work;
/* Timeout used to submit work after a delay. */
struct _timeout timeout;
/* The queue to which the work should be submitted. */
struct k_work_q *queue;
};
#define Z_WORK_DELAYABLE_INITIALIZER(work_handler) { \
.work = { \
.handler = (work_handler), \
.flags = K_WORK_DELAYABLE, \
}, \
}
/**
* @brief Initialize a statically-defined delayable work item.
*
* This macro can be used to initialize a statically-defined delayable
* work item, prior to its first use. For example,
*
* @code static K_WORK_DELAYABLE_DEFINE(<dwork>, <work_handler>); @endcode
*
* Note that if the runtime dependencies support initialization with
* k_work_init_delayable() using that will eliminate the initialized
* object in ROM that is produced by this macro and copied in at
* system startup.
*
* @param work Symbol name for delayable work item object
* @param work_handler Function to invoke each time work item is processed.
*/
#define K_WORK_DELAYABLE_DEFINE(work, work_handler) \
struct k_work_delayable work \
= Z_WORK_DELAYABLE_INITIALIZER(work_handler)
/**
* @cond INTERNAL_HIDDEN
*/
/* Record used to wait for work to flush.
*
* The work item is inserted into the queue that will process (or is
* processing) the item, and will be processed as soon as the item
* completes. When the flusher is processed the semaphore will be
* signaled, releasing the thread waiting for the flush.
*/
struct z_work_flusher {
struct k_work work;
struct k_sem sem;
};
/* Record used to wait for work to complete a cancellation.
*
* The work item is inserted into a global queue of pending cancels.
* When a cancelling work item goes idle any matching waiters are
* removed from pending_cancels and are woken.
*/
struct z_work_canceller {
sys_snode_t node;
struct k_work *work;
struct k_sem sem;
};
/**
* INTERNAL_HIDDEN @endcond
*/
/** @brief A structure holding internal state for a pending synchronous
* operation on a work item or queue.
*
* Instances of this type are provided by the caller for invocation of
* k_work_flush(), k_work_cancel_sync() and sibling flush and cancel APIs. A
* referenced object must persist until the call returns, and be accessible
* from both the caller thread and the work queue thread.
*
* @note If CONFIG_KERNEL_COHERENCE is enabled the object must be allocated in
* coherent memory; see arch_mem_coherent(). The stack on these architectures
* is generally not coherent. be stack-allocated. Violations are detected by
* runtime assertion.
*/
struct k_work_sync {
union {
struct z_work_flusher flusher;
struct z_work_canceller canceller;
};
};
/** @brief A structure holding optional configuration items for a work
* queue.
*
* This structure, and values it references, are not retained by
* k_work_queue_start().
*/
struct k_work_queue_config {
/** The name to be given to the work queue thread.
*
* If left null the thread will not have a name.
*/
const char *name;
/** Control whether the work queue thread should yield between
* items.
*
* Yielding between items helps guarantee the work queue
* thread does not starve other threads, including cooperative
* ones released by a work item. This is the default behavior.
*
* Set this to @c true to prevent the work queue thread from
* yielding between items. This may be appropriate when a
* sequence of items should complete without yielding
* control.
*/
bool no_yield;
/** Control whether the work queue thread should be marked as
* essential thread.
*/
bool essential;
};
/** @brief A structure used to hold work until it can be processed. */
struct k_work_q {
/* The thread that animates the work. */
struct k_thread thread;
/* All the following fields must be accessed only while the
* work module spinlock is held.
*/
/* List of k_work items to be worked. */
sys_slist_t pending;
/* Wait queue for idle work thread. */
_wait_q_t notifyq;
/* Wait queue for threads waiting for the queue to drain. */
_wait_q_t drainq;
/* Flags describing queue state. */
uint32_t flags;
};
/* Provide the implementation for inline functions declared above */
static inline bool k_work_is_pending(const struct k_work *work)
{
return k_work_busy_get(work) != 0;
}
static inline struct k_work_delayable *
k_work_delayable_from_work(struct k_work *work)
{
return CONTAINER_OF(work, struct k_work_delayable, work);
}
static inline bool k_work_delayable_is_pending(
const struct k_work_delayable *dwork)
{
return k_work_delayable_busy_get(dwork) != 0;
}
static inline k_ticks_t k_work_delayable_expires_get(
const struct k_work_delayable *dwork)
{
return z_timeout_expires(&dwork->timeout);
}
static inline k_ticks_t k_work_delayable_remaining_get(
const struct k_work_delayable *dwork)
{
return z_timeout_remaining(&dwork->timeout);
}
static inline k_tid_t k_work_queue_thread_get(struct k_work_q *queue)
{
return &queue->thread;
}
/** @} */
struct k_work_user;
/**
* @addtogroup workqueue_apis
* @{
*/
/**
* @typedef k_work_user_handler_t
* @brief Work item handler function type for user work queues.
*
* A work item's handler function is executed by a user workqueue's thread
* when the work item is processed by the workqueue.
*
* @param work Address of the work item.
*/
typedef void (*k_work_user_handler_t)(struct k_work_user *work);
/**
* @cond INTERNAL_HIDDEN
*/
struct k_work_user_q {
struct k_queue queue;
struct k_thread thread;
};
enum {
K_WORK_USER_STATE_PENDING, /* Work item pending state */
};
struct k_work_user {
void *_reserved; /* Used by k_queue implementation. */
k_work_user_handler_t handler;
atomic_t flags;
};
/**
* INTERNAL_HIDDEN @endcond
*/
#if defined(__cplusplus) && ((__cplusplus - 0) < 202002L)
#define Z_WORK_USER_INITIALIZER(work_handler) { NULL, work_handler, 0 }
#else
#define Z_WORK_USER_INITIALIZER(work_handler) \
{ \
._reserved = NULL, \
.handler = (work_handler), \
.flags = 0 \
}
#endif
/**
* @brief Initialize a statically-defined user work item.
*
* This macro can be used to initialize a statically-defined user work
* item, prior to its first use. For example,
*
* @code static K_WORK_USER_DEFINE(<work>, <work_handler>); @endcode
*
* @param work Symbol name for work item object
* @param work_handler Function to invoke each time work item is processed.
*/
#define K_WORK_USER_DEFINE(work, work_handler) \
struct k_work_user work = Z_WORK_USER_INITIALIZER(work_handler)
/**
* @brief Initialize a userspace work item.
*
* This routine initializes a user workqueue work item, prior to its
* first use.
*
* @param work Address of work item.
* @param handler Function to invoke each time work item is processed.
*/
static inline void k_work_user_init(struct k_work_user *work,
k_work_user_handler_t handler)
{
*work = (struct k_work_user)Z_WORK_USER_INITIALIZER(handler);
}
/**
* @brief Check if a userspace work item is pending.
*
* This routine indicates if user work item @a work is pending in a workqueue's
* queue.
*
* @note Checking if the work is pending gives no guarantee that the
* work will still be pending when this information is used. It is up to
* the caller to make sure that this information is used in a safe manner.
*
* @funcprops \isr_ok
*
* @param work Address of work item.
*
* @return true if work item is pending, or false if it is not pending.
*/
static inline bool k_work_user_is_pending(struct k_work_user *work)
{
return atomic_test_bit(&work->flags, K_WORK_USER_STATE_PENDING);
}
/**
* @brief Submit a work item to a user mode workqueue
*
* Submits a work item to a workqueue that runs in user mode. A temporary
* memory allocation is made from the caller's resource pool which is freed
* once the worker thread consumes the k_work item. The workqueue
* thread must have memory access to the k_work item being submitted. The caller
* must have permission granted on the work_q parameter's queue object.
*
* @funcprops \isr_ok
*
* @param work_q Address of workqueue.
* @param work Address of work item.
*
* @retval -EBUSY if the work item was already in some workqueue
* @retval -ENOMEM if no memory for thread resource pool allocation
* @retval 0 Success
*/
static inline int k_work_user_submit_to_queue(struct k_work_user_q *work_q,
struct k_work_user *work)
{
int ret = -EBUSY;
if (!atomic_test_and_set_bit(&work->flags,
K_WORK_USER_STATE_PENDING)) {
ret = k_queue_alloc_append(&work_q->queue, work);
/* Couldn't insert into the queue. Clear the pending bit
* so the work item can be submitted again
*/
if (ret != 0) {
atomic_clear_bit(&work->flags,
K_WORK_USER_STATE_PENDING);
}
}
return ret;
}
/**
* @brief Start a workqueue in user mode
*
* This works identically to k_work_queue_start() except it is callable from
* user mode, and the worker thread created will run in user mode. The caller
* must have permissions granted on both the work_q parameter's thread and
* queue objects, and the same restrictions on priority apply as
* k_thread_create().
*
* @param work_q Address of workqueue.
* @param stack Pointer to work queue thread's stack space, as defined by
* K_THREAD_STACK_DEFINE()
* @param stack_size Size of the work queue thread's stack (in bytes), which
* should either be the same constant passed to
* K_THREAD_STACK_DEFINE() or the value of K_THREAD_STACK_SIZEOF().
* @param prio Priority of the work queue's thread.
* @param name optional thread name. If not null a copy is made into the
* thread's name buffer.
*/
void k_work_user_queue_start(struct k_work_user_q *work_q,
k_thread_stack_t *stack,
size_t stack_size, int prio,
const char *name);
/**
* @brief Access the user mode thread that animates a work queue.
*
* This is necessary to grant a user mode work queue thread access to things
* the work items it will process are expected to use.
*
* @param work_q pointer to the user mode queue structure.
*
* @return the user mode thread associated with the work queue.
*/
static inline k_tid_t k_work_user_queue_thread_get(struct k_work_user_q *work_q)
{
return &work_q->thread;
}
/** @} */
/**
* @cond INTERNAL_HIDDEN
*/
struct k_work_poll {
struct k_work work;
struct k_work_q *workq;
struct z_poller poller;
struct k_poll_event *events;
int num_events;
k_work_handler_t real_handler;
struct _timeout timeout;
int poll_result;
};
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @addtogroup workqueue_apis
* @{
*/
/**
* @brief Initialize a statically-defined work item.
*
* This macro can be used to initialize a statically-defined workqueue work
* item, prior to its first use. For example,
*
* @code static K_WORK_DEFINE(<work>, <work_handler>); @endcode
*
* @param work Symbol name for work item object
* @param work_handler Function to invoke each time work item is processed.
*/
#define K_WORK_DEFINE(work, work_handler) \
struct k_work work = Z_WORK_INITIALIZER(work_handler)
/**
* @brief Initialize a triggered work item.
*
* This routine initializes a workqueue triggered work item, prior to
* its first use.
*
* @param work Address of triggered work item.
* @param handler Function to invoke each time work item is processed.
*/
void k_work_poll_init(struct k_work_poll *work,
k_work_handler_t handler);
/**
* @brief Submit a triggered work item.
*
* This routine schedules work item @a work to be processed by workqueue
* @a work_q when one of the given @a events is signaled. The routine
* initiates internal poller for the work item and then returns to the caller.
* Only when one of the watched events happen the work item is actually
* submitted to the workqueue and becomes pending.
*
* Submitting a previously submitted triggered work item that is still
* waiting for the event cancels the existing submission and reschedules it
* the using the new event list. Note that this behavior is inherently subject
* to race conditions with the pre-existing triggered work item and work queue,
* so care must be taken to synchronize such resubmissions externally.
*
* @funcprops \isr_ok
*
* @warning
* Provided array of events as well as a triggered work item must be placed
* in persistent memory (valid until work handler execution or work
* cancellation) and cannot be modified after submission.
*
* @param work_q Address of workqueue.
* @param work Address of delayed work item.
* @param events An array of events which trigger the work.
* @param num_events The number of events in the array.
* @param timeout Timeout after which the work will be scheduled
* for execution even if not triggered.
*
*
* @retval 0 Work item started watching for events.
* @retval -EINVAL Work item is being processed or has completed its work.
* @retval -EADDRINUSE Work item is pending on a different workqueue.
*/
int k_work_poll_submit_to_queue(struct k_work_q *work_q,
struct k_work_poll *work,
struct k_poll_event *events,
int num_events,
k_timeout_t timeout);
/**
* @brief Submit a triggered work item to the system workqueue.
*
* This routine schedules work item @a work to be processed by system
* workqueue when one of the given @a events is signaled. The routine
* initiates internal poller for the work item and then returns to the caller.
* Only when one of the watched events happen the work item is actually
* submitted to the workqueue and becomes pending.
*
* Submitting a previously submitted triggered work item that is still
* waiting for the event cancels the existing submission and reschedules it
* the using the new event list. Note that this behavior is inherently subject
* to race conditions with the pre-existing triggered work item and work queue,
* so care must be taken to synchronize such resubmissions externally.
*
* @funcprops \isr_ok
*
* @warning
* Provided array of events as well as a triggered work item must not be
* modified until the item has been processed by the workqueue.
*
* @param work Address of delayed work item.
* @param events An array of events which trigger the work.
* @param num_events The number of events in the array.
* @param timeout Timeout after which the work will be scheduled
* for execution even if not triggered.
*
* @retval 0 Work item started watching for events.
* @retval -EINVAL Work item is being processed or has completed its work.
* @retval -EADDRINUSE Work item is pending on a different workqueue.
*/
int k_work_poll_submit(struct k_work_poll *work,
struct k_poll_event *events,
int num_events,
k_timeout_t timeout);
/**
* @brief Cancel a triggered work item.
*
* This routine cancels the submission of triggered work item @a work.
* A triggered work item can only be canceled if no event triggered work
* submission.
*
* @funcprops \isr_ok
*
* @param work Address of delayed work item.
*
* @retval 0 Work item canceled.
* @retval -EINVAL Work item is being processed or has completed its work.
*/
int k_work_poll_cancel(struct k_work_poll *work);
/** @} */
/**
* @defgroup msgq_apis Message Queue APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Message Queue Structure
*/
struct k_msgq {
/** Message queue wait queue */
_wait_q_t wait_q;
/** Lock */
struct k_spinlock lock;
/** Message size */
size_t msg_size;
/** Maximal number of messages */
uint32_t max_msgs;
/** Start of message buffer */
char *buffer_start;
/** End of message buffer */
char *buffer_end;
/** Read pointer */
char *read_ptr;
/** Write pointer */
char *write_ptr;
/** Number of used messages */
uint32_t used_msgs;
Z_DECL_POLL_EVENT
/** Message queue */
uint8_t flags;
SYS_PORT_TRACING_TRACKING_FIELD(k_msgq)
#ifdef CONFIG_OBJ_CORE_MSGQ
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_MSGQ_INITIALIZER(obj, q_buffer, q_msg_size, q_max_msgs) \
{ \
.wait_q = Z_WAIT_Q_INIT(&obj.wait_q), \
.msg_size = q_msg_size, \
.max_msgs = q_max_msgs, \
.buffer_start = q_buffer, \
.buffer_end = q_buffer + (q_max_msgs * q_msg_size), \
.read_ptr = q_buffer, \
.write_ptr = q_buffer, \
.used_msgs = 0, \
Z_POLL_EVENT_OBJ_INIT(obj) \
}
/**
* INTERNAL_HIDDEN @endcond
*/
#define K_MSGQ_FLAG_ALLOC BIT(0)
/**
* @brief Message Queue Attributes
*/
struct k_msgq_attrs {
/** Message Size */
size_t msg_size;
/** Maximal number of messages */
uint32_t max_msgs;
/** Used messages */
uint32_t used_msgs;
};
/**
* @brief Statically define and initialize a message queue.
*
* The message queue's ring buffer contains space for @a q_max_msgs messages,
* each of which is @a q_msg_size bytes long. Alignment of the message queue's
* ring buffer is not necessary, setting @a q_align to 1 is sufficient.
*
* The message queue can be accessed outside the module where it is defined
* using:
*
* @code extern struct k_msgq <name>; @endcode
*
* @param q_name Name of the message queue.
* @param q_msg_size Message size (in bytes).
* @param q_max_msgs Maximum number of messages that can be queued.
* @param q_align Alignment of the message queue's ring buffer (power of 2).
*
*/
#define K_MSGQ_DEFINE(q_name, q_msg_size, q_max_msgs, q_align) \
static char __noinit __aligned(q_align) \
_k_fifo_buf_##q_name[(q_max_msgs) * (q_msg_size)]; \
STRUCT_SECTION_ITERABLE(k_msgq, q_name) = \
Z_MSGQ_INITIALIZER(q_name, _k_fifo_buf_##q_name, \
(q_msg_size), (q_max_msgs))
/**
* @brief Initialize a message queue.
*
* This routine initializes a message queue object, prior to its first use.
*
* The message queue's ring buffer must contain space for @a max_msgs messages,
* each of which is @a msg_size bytes long. Alignment of the message queue's
* ring buffer is not necessary.
*
* @param msgq Address of the message queue.
* @param buffer Pointer to ring buffer that holds queued messages.
* @param msg_size Message size (in bytes).
* @param max_msgs Maximum number of messages that can be queued.
*/
void k_msgq_init(struct k_msgq *msgq, char *buffer, size_t msg_size,
uint32_t max_msgs);
/**
* @brief Initialize a message queue.
*
* This routine initializes a message queue object, prior to its first use,
* allocating its internal ring buffer from the calling thread's resource
* pool.
*
* Memory allocated for the ring buffer can be released by calling
* k_msgq_cleanup(), or if userspace is enabled and the msgq object loses
* all of its references.
*
* @param msgq Address of the message queue.
* @param msg_size Message size (in bytes).
* @param max_msgs Maximum number of messages that can be queued.
*
* @return 0 on success, -ENOMEM if there was insufficient memory in the
* thread's resource pool, or -EINVAL if the size parameters cause
* an integer overflow.
*/
__syscall int k_msgq_alloc_init(struct k_msgq *msgq, size_t msg_size,
uint32_t max_msgs);
/**
* @brief Release allocated buffer for a queue
*
* Releases memory allocated for the ring buffer.
*
* @param msgq message queue to cleanup
*
* @retval 0 on success
* @retval -EBUSY Queue not empty
*/
int k_msgq_cleanup(struct k_msgq *msgq);
/**
* @brief Send a message to a message queue.
*
* This routine sends a message to message queue @a q.
*
* @note The message content is copied from @a data into @a msgq and the @a data
* pointer is not retained, so the message content will not be modified
* by this function.
*
* @funcprops \isr_ok
*
* @param msgq Address of the message queue.
* @param data Pointer to the message.
* @param timeout Waiting period to add the message, or one of the special
* values K_NO_WAIT and K_FOREVER.
*
* @retval 0 Message sent.
* @retval -ENOMSG Returned without waiting or queue purged.
* @retval -EAGAIN Waiting period timed out.
*/
__syscall int k_msgq_put(struct k_msgq *msgq, const void *data, k_timeout_t timeout);
/**
* @brief Receive a message from a message queue.
*
* This routine receives a message from message queue @a q in a "first in,
* first out" manner.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
*
* @funcprops \isr_ok
*
* @param msgq Address of the message queue.
* @param data Address of area to hold the received message.
* @param timeout Waiting period to receive the message,
* or one of the special values K_NO_WAIT and
* K_FOREVER.
*
* @retval 0 Message received.
* @retval -ENOMSG Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
*/
__syscall int k_msgq_get(struct k_msgq *msgq, void *data, k_timeout_t timeout);
/**
* @brief Peek/read a message from a message queue.
*
* This routine reads a message from message queue @a q in a "first in,
* first out" manner and leaves the message in the queue.
*
* @funcprops \isr_ok
*
* @param msgq Address of the message queue.
* @param data Address of area to hold the message read from the queue.
*
* @retval 0 Message read.
* @retval -ENOMSG Returned when the queue has no message.
*/
__syscall int k_msgq_peek(struct k_msgq *msgq, void *data);
/**
* @brief Peek/read a message from a message queue at the specified index
*
* This routine reads a message from message queue at the specified index
* and leaves the message in the queue.
* k_msgq_peek_at(msgq, data, 0) is equivalent to k_msgq_peek(msgq, data)
*
* @funcprops \isr_ok
*
* @param msgq Address of the message queue.
* @param data Address of area to hold the message read from the queue.
* @param idx Message queue index at which to peek
*
* @retval 0 Message read.
* @retval -ENOMSG Returned when the queue has no message at index.
*/
__syscall int k_msgq_peek_at(struct k_msgq *msgq, void *data, uint32_t idx);
/**
* @brief Purge a message queue.
*
* This routine discards all unreceived messages in a message queue's ring
* buffer. Any threads that are blocked waiting to send a message to the
* message queue are unblocked and see an -ENOMSG error code.
*
* @param msgq Address of the message queue.
*/
__syscall void k_msgq_purge(struct k_msgq *msgq);
/**
* @brief Get the amount of free space in a message queue.
*
* This routine returns the number of unused entries in a message queue's
* ring buffer.
*
* @param msgq Address of the message queue.
*
* @return Number of unused ring buffer entries.
*/
__syscall uint32_t k_msgq_num_free_get(struct k_msgq *msgq);
/**
* @brief Get basic attributes of a message queue.
*
* This routine fetches basic attributes of message queue into attr argument.
*
* @param msgq Address of the message queue.
* @param attrs pointer to message queue attribute structure.
*/
__syscall void k_msgq_get_attrs(struct k_msgq *msgq,
struct k_msgq_attrs *attrs);
static inline uint32_t z_impl_k_msgq_num_free_get(struct k_msgq *msgq)
{
return msgq->max_msgs - msgq->used_msgs;
}
/**
* @brief Get the number of messages in a message queue.
*
* This routine returns the number of messages in a message queue's ring buffer.
*
* @param msgq Address of the message queue.
*
* @return Number of messages.
*/
__syscall uint32_t k_msgq_num_used_get(struct k_msgq *msgq);
static inline uint32_t z_impl_k_msgq_num_used_get(struct k_msgq *msgq)
{
return msgq->used_msgs;
}
/** @} */
/**
* @defgroup mailbox_apis Mailbox APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Mailbox Message Structure
*
*/
struct k_mbox_msg {
/** size of message (in bytes) */
size_t size;
/** application-defined information value */
uint32_t info;
/** sender's message data buffer */
void *tx_data;
/** source thread id */
k_tid_t rx_source_thread;
/** target thread id */
k_tid_t tx_target_thread;
/** internal use only - thread waiting on send (may be a dummy) */
k_tid_t _syncing_thread;
#if (CONFIG_NUM_MBOX_ASYNC_MSGS > 0)
/** internal use only - semaphore used during asynchronous send */
struct k_sem *_async_sem;
#endif
};
/**
* @brief Mailbox Structure
*
*/
struct k_mbox {
/** Transmit messages queue */
_wait_q_t tx_msg_queue;
/** Receive message queue */
_wait_q_t rx_msg_queue;
struct k_spinlock lock;
SYS_PORT_TRACING_TRACKING_FIELD(k_mbox)
#ifdef CONFIG_OBJ_CORE_MAILBOX
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define Z_MBOX_INITIALIZER(obj) \
{ \
.tx_msg_queue = Z_WAIT_Q_INIT(&obj.tx_msg_queue), \
.rx_msg_queue = Z_WAIT_Q_INIT(&obj.rx_msg_queue), \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Statically define and initialize a mailbox.
*
* The mailbox is to be accessed outside the module where it is defined using:
*
* @code extern struct k_mbox <name>; @endcode
*
* @param name Name of the mailbox.
*/
#define K_MBOX_DEFINE(name) \
STRUCT_SECTION_ITERABLE(k_mbox, name) = \
Z_MBOX_INITIALIZER(name) \
/**
* @brief Initialize a mailbox.
*
* This routine initializes a mailbox object, prior to its first use.
*
* @param mbox Address of the mailbox.
*/
void k_mbox_init(struct k_mbox *mbox);
/**
* @brief Send a mailbox message in a synchronous manner.
*
* This routine sends a message to @a mbox and waits for a receiver to both
* receive and process it. The message data may be in a buffer or non-existent
* (i.e. an empty message).
*
* @param mbox Address of the mailbox.
* @param tx_msg Address of the transmit message descriptor.
* @param timeout Waiting period for the message to be received,
* or one of the special values K_NO_WAIT
* and K_FOREVER. Once the message has been received,
* this routine waits as long as necessary for the message
* to be completely processed.
*
* @retval 0 Message sent.
* @retval -ENOMSG Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
*/
int k_mbox_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
k_timeout_t timeout);
/**
* @brief Send a mailbox message in an asynchronous manner.
*
* This routine sends a message to @a mbox without waiting for a receiver
* to process it. The message data may be in a buffer or non-existent
* (i.e. an empty message). Optionally, the semaphore @a sem will be given
* when the message has been both received and completely processed by
* the receiver.
*
* @param mbox Address of the mailbox.
* @param tx_msg Address of the transmit message descriptor.
* @param sem Address of a semaphore, or NULL if none is needed.
*/
void k_mbox_async_put(struct k_mbox *mbox, struct k_mbox_msg *tx_msg,
struct k_sem *sem);
/**
* @brief Receive a mailbox message.
*
* This routine receives a message from @a mbox, then optionally retrieves
* its data and disposes of the message.
*
* @param mbox Address of the mailbox.
* @param rx_msg Address of the receive message descriptor.
* @param buffer Address of the buffer to receive data, or NULL to defer data
* retrieval and message disposal until later.
* @param timeout Waiting period for a message to be received,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 Message received.
* @retval -ENOMSG Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
*/
int k_mbox_get(struct k_mbox *mbox, struct k_mbox_msg *rx_msg,
void *buffer, k_timeout_t timeout);
/**
* @brief Retrieve mailbox message data into a buffer.
*
* This routine completes the processing of a received message by retrieving
* its data into a buffer, then disposing of the message.
*
* Alternatively, this routine can be used to dispose of a received message
* without retrieving its data.
*
* @param rx_msg Address of the receive message descriptor.
* @param buffer Address of the buffer to receive data, or NULL to discard
* the data.
*/
void k_mbox_data_get(struct k_mbox_msg *rx_msg, void *buffer);
/** @} */
/**
* @defgroup pipe_apis Pipe APIs
* @ingroup kernel_apis
* @{
*/
/** Pipe Structure */
struct k_pipe {
unsigned char *buffer; /**< Pipe buffer: may be NULL */
size_t size; /**< Buffer size */
size_t bytes_used; /**< Number of bytes used in buffer */
size_t read_index; /**< Where in buffer to read from */
size_t write_index; /**< Where in buffer to write */
struct k_spinlock lock; /**< Synchronization lock */
struct {
_wait_q_t readers; /**< Reader wait queue */
_wait_q_t writers; /**< Writer wait queue */
} wait_q; /** Wait queue */
Z_DECL_POLL_EVENT
uint8_t flags; /**< Flags */
SYS_PORT_TRACING_TRACKING_FIELD(k_pipe)
#ifdef CONFIG_OBJ_CORE_PIPE
struct k_obj_core obj_core;
#endif
};
/**
* @cond INTERNAL_HIDDEN
*/
#define K_PIPE_FLAG_ALLOC BIT(0) /** Buffer was allocated */
#define Z_PIPE_INITIALIZER(obj, pipe_buffer, pipe_buffer_size) \
{ \
.buffer = pipe_buffer, \
.size = pipe_buffer_size, \
.bytes_used = 0, \
.read_index = 0, \
.write_index = 0, \
.lock = {}, \
.wait_q = { \
.readers = Z_WAIT_Q_INIT(&obj.wait_q.readers), \
.writers = Z_WAIT_Q_INIT(&obj.wait_q.writers) \
}, \
Z_POLL_EVENT_OBJ_INIT(obj) \
.flags = 0, \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Statically define and initialize a pipe.
*
* The pipe can be accessed outside the module where it is defined using:
*
* @code extern struct k_pipe <name>; @endcode
*
* @param name Name of the pipe.
* @param pipe_buffer_size Size of the pipe's ring buffer (in bytes),
* or zero if no ring buffer is used.
* @param pipe_align Alignment of the pipe's ring buffer (power of 2).
*
*/
#define K_PIPE_DEFINE(name, pipe_buffer_size, pipe_align) \
static unsigned char __noinit __aligned(pipe_align) \
_k_pipe_buf_##name[pipe_buffer_size]; \
STRUCT_SECTION_ITERABLE(k_pipe, name) = \
Z_PIPE_INITIALIZER(name, _k_pipe_buf_##name, pipe_buffer_size)
/**
* @brief Initialize a pipe.
*
* This routine initializes a pipe object, prior to its first use.
*
* @param pipe Address of the pipe.
* @param buffer Address of the pipe's ring buffer, or NULL if no ring buffer
* is used.
* @param size Size of the pipe's ring buffer (in bytes), or zero if no ring
* buffer is used.
*/
void k_pipe_init(struct k_pipe *pipe, unsigned char *buffer, size_t size);
/**
* @brief Release a pipe's allocated buffer
*
* If a pipe object was given a dynamically allocated buffer via
* k_pipe_alloc_init(), this will free it. This function does nothing
* if the buffer wasn't dynamically allocated.
*
* @param pipe Address of the pipe.
* @retval 0 on success
* @retval -EAGAIN nothing to cleanup
*/
int k_pipe_cleanup(struct k_pipe *pipe);
/**
* @brief Initialize a pipe and allocate a buffer for it
*
* Storage for the buffer region will be allocated from the calling thread's
* resource pool. This memory will be released if k_pipe_cleanup() is called,
* or userspace is enabled and the pipe object loses all references to it.
*
* This function should only be called on uninitialized pipe objects.
*
* @param pipe Address of the pipe.
* @param size Size of the pipe's ring buffer (in bytes), or zero if no ring
* buffer is used.
* @retval 0 on success
* @retval -ENOMEM if memory couldn't be allocated
*/
__syscall int k_pipe_alloc_init(struct k_pipe *pipe, size_t size);
/**
* @brief Write data to a pipe.
*
* This routine writes up to @a bytes_to_write bytes of data to @a pipe.
*
* @param pipe Address of the pipe.
* @param data Address of data to write.
* @param bytes_to_write Size of data (in bytes).
* @param bytes_written Address of area to hold the number of bytes written.
* @param min_xfer Minimum number of bytes to write.
* @param timeout Waiting period to wait for the data to be written,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 At least @a min_xfer bytes of data were written.
* @retval -EIO Returned without waiting; zero data bytes were written.
* @retval -EAGAIN Waiting period timed out; between zero and @a min_xfer
* minus one data bytes were written.
*/
__syscall int k_pipe_put(struct k_pipe *pipe, const void *data,
size_t bytes_to_write, size_t *bytes_written,
size_t min_xfer, k_timeout_t timeout);
/**
* @brief Read data from a pipe.
*
* This routine reads up to @a bytes_to_read bytes of data from @a pipe.
*
* @param pipe Address of the pipe.
* @param data Address to place the data read from pipe.
* @param bytes_to_read Maximum number of data bytes to read.
* @param bytes_read Address of area to hold the number of bytes read.
* @param min_xfer Minimum number of data bytes to read.
* @param timeout Waiting period to wait for the data to be read,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 At least @a min_xfer bytes of data were read.
* @retval -EINVAL invalid parameters supplied
* @retval -EIO Returned without waiting; zero data bytes were read.
* @retval -EAGAIN Waiting period timed out; between zero and @a min_xfer
* minus one data bytes were read.
*/
__syscall int k_pipe_get(struct k_pipe *pipe, void *data,
size_t bytes_to_read, size_t *bytes_read,
size_t min_xfer, k_timeout_t timeout);
/**
* @brief Query the number of bytes that may be read from @a pipe.
*
* @param pipe Address of the pipe.
*
* @retval a number n such that 0 <= n <= @ref k_pipe.size; the
* result is zero for unbuffered pipes.
*/
__syscall size_t k_pipe_read_avail(struct k_pipe *pipe);
/**
* @brief Query the number of bytes that may be written to @a pipe
*
* @param pipe Address of the pipe.
*
* @retval a number n such that 0 <= n <= @ref k_pipe.size; the
* result is zero for unbuffered pipes.
*/
__syscall size_t k_pipe_write_avail(struct k_pipe *pipe);
/**
* @brief Flush the pipe of write data
*
* This routine flushes the pipe. Flushing the pipe is equivalent to reading
* both all the data in the pipe's buffer and all the data waiting to go into
* that pipe into a large temporary buffer and discarding the buffer. Any
* writers that were previously pended become unpended.
*
* @param pipe Address of the pipe.
*/
__syscall void k_pipe_flush(struct k_pipe *pipe);
/**
* @brief Flush the pipe's internal buffer
*
* This routine flushes the pipe's internal buffer. This is equivalent to
* reading up to N bytes from the pipe (where N is the size of the pipe's
* buffer) into a temporary buffer and then discarding that buffer. If there
* were writers previously pending, then some may unpend as they try to fill
* up the pipe's emptied buffer.
*
* @param pipe Address of the pipe.
*/
__syscall void k_pipe_buffer_flush(struct k_pipe *pipe);
/** @} */
/**
* @cond INTERNAL_HIDDEN
*/
struct k_mem_slab_info {
uint32_t num_blocks;
size_t block_size;
uint32_t num_used;
#ifdef CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATION
uint32_t max_used;
#endif
};
struct k_mem_slab {
_wait_q_t wait_q;
struct k_spinlock lock;
char *buffer;
char *free_list;
struct k_mem_slab_info info;
SYS_PORT_TRACING_TRACKING_FIELD(k_mem_slab)
#ifdef CONFIG_OBJ_CORE_MEM_SLAB
struct k_obj_core obj_core;
#endif
};
#define Z_MEM_SLAB_INITIALIZER(_slab, _slab_buffer, _slab_block_size, \
_slab_num_blocks) \
{ \
.wait_q = Z_WAIT_Q_INIT(&(_slab).wait_q), \
.lock = {}, \
.buffer = _slab_buffer, \
.free_list = NULL, \
.info = {_slab_num_blocks, _slab_block_size, 0} \
}
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @defgroup mem_slab_apis Memory Slab APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Statically define and initialize a memory slab in a public (non-static) scope.
*
* The memory slab's buffer contains @a slab_num_blocks memory blocks
* that are @a slab_block_size bytes long. The buffer is aligned to a
* @a slab_align -byte boundary. To ensure that each memory block is similarly
* aligned to this boundary, @a slab_block_size must also be a multiple of
* @a slab_align.
*
* The memory slab can be accessed outside the module where it is defined
* using:
*
* @code extern struct k_mem_slab <name>; @endcode
*
* @note This macro cannot be used together with a static keyword.
* If such a use-case is desired, use @ref K_MEM_SLAB_DEFINE_STATIC
* instead.
*
* @param name Name of the memory slab.
* @param slab_block_size Size of each memory block (in bytes).
* @param slab_num_blocks Number memory blocks.
* @param slab_align Alignment of the memory slab's buffer (power of 2).
*/
#define K_MEM_SLAB_DEFINE(name, slab_block_size, slab_num_blocks, slab_align) \
char __noinit_named(k_mem_slab_buf_##name) \
__aligned(WB_UP(slab_align)) \
_k_mem_slab_buf_##name[(slab_num_blocks) * WB_UP(slab_block_size)]; \
STRUCT_SECTION_ITERABLE(k_mem_slab, name) = \
Z_MEM_SLAB_INITIALIZER(name, _k_mem_slab_buf_##name, \
WB_UP(slab_block_size), slab_num_blocks)
/**
* @brief Statically define and initialize a memory slab in a private (static) scope.
*
* The memory slab's buffer contains @a slab_num_blocks memory blocks
* that are @a slab_block_size bytes long. The buffer is aligned to a
* @a slab_align -byte boundary. To ensure that each memory block is similarly
* aligned to this boundary, @a slab_block_size must also be a multiple of
* @a slab_align.
*
* @param name Name of the memory slab.
* @param slab_block_size Size of each memory block (in bytes).
* @param slab_num_blocks Number memory blocks.
* @param slab_align Alignment of the memory slab's buffer (power of 2).
*/
#define K_MEM_SLAB_DEFINE_STATIC(name, slab_block_size, slab_num_blocks, slab_align) \
static char __noinit_named(k_mem_slab_buf_##name) \
__aligned(WB_UP(slab_align)) \
_k_mem_slab_buf_##name[(slab_num_blocks) * WB_UP(slab_block_size)]; \
static STRUCT_SECTION_ITERABLE(k_mem_slab, name) = \
Z_MEM_SLAB_INITIALIZER(name, _k_mem_slab_buf_##name, \
WB_UP(slab_block_size), slab_num_blocks)
/**
* @brief Initialize a memory slab.
*
* Initializes a memory slab, prior to its first use.
*
* The memory slab's buffer contains @a slab_num_blocks memory blocks
* that are @a slab_block_size bytes long. The buffer must be aligned to an
* N-byte boundary matching a word boundary, where N is a power of 2
* (i.e. 4 on 32-bit systems, 8, 16, ...).
* To ensure that each memory block is similarly aligned to this boundary,
* @a slab_block_size must also be a multiple of N.
*
* @param slab Address of the memory slab.
* @param buffer Pointer to buffer used for the memory blocks.
* @param block_size Size of each memory block (in bytes).
* @param num_blocks Number of memory blocks.
*
* @retval 0 on success
* @retval -EINVAL invalid data supplied
*
*/
int k_mem_slab_init(struct k_mem_slab *slab, void *buffer,
size_t block_size, uint32_t num_blocks);
/**
* @brief Allocate memory from a memory slab.
*
* This routine allocates a memory block from a memory slab.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
* @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT.
*
* @funcprops \isr_ok
*
* @param slab Address of the memory slab.
* @param mem Pointer to block address area.
* @param timeout Waiting period to wait for operation to complete.
* Use K_NO_WAIT to return without waiting,
* or K_FOREVER to wait as long as necessary.
*
* @retval 0 Memory allocated. The block address area pointed at by @a mem
* is set to the starting address of the memory block.
* @retval -ENOMEM Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
* @retval -EINVAL Invalid data supplied
*/
int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem,
k_timeout_t timeout);
/**
* @brief Free memory allocated from a memory slab.
*
* This routine releases a previously allocated memory block back to its
* associated memory slab.
*
* @param slab Address of the memory slab.
* @param mem Pointer to the memory block (as returned by k_mem_slab_alloc()).
*/
void k_mem_slab_free(struct k_mem_slab *slab, void *mem);
/**
* @brief Get the number of used blocks in a memory slab.
*
* This routine gets the number of memory blocks that are currently
* allocated in @a slab.
*
* @param slab Address of the memory slab.
*
* @return Number of allocated memory blocks.
*/
static inline uint32_t k_mem_slab_num_used_get(struct k_mem_slab *slab)
{
return slab->info.num_used;
}
/**
* @brief Get the number of maximum used blocks so far in a memory slab.
*
* This routine gets the maximum number of memory blocks that were
* allocated in @a slab.
*
* @param slab Address of the memory slab.
*
* @return Maximum number of allocated memory blocks.
*/
static inline uint32_t k_mem_slab_max_used_get(struct k_mem_slab *slab)
{
#ifdef CONFIG_MEM_SLAB_TRACE_MAX_UTILIZATION
return slab->info.max_used;
#else
ARG_UNUSED(slab);
return 0;
#endif
}
/**
* @brief Get the number of unused blocks in a memory slab.
*
* This routine gets the number of memory blocks that are currently
* unallocated in @a slab.
*
* @param slab Address of the memory slab.
*
* @return Number of unallocated memory blocks.
*/
static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab)
{
return slab->info.num_blocks - slab->info.num_used;
}
/**
* @brief Get the memory stats for a memory slab
*
* This routine gets the runtime memory usage stats for the slab @a slab.
*
* @param slab Address of the memory slab
* @param stats Pointer to memory into which to copy memory usage statistics
*
* @retval 0 Success
* @retval -EINVAL Any parameter points to NULL
*/
int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stats *stats);
/**
* @brief Reset the maximum memory usage for a slab
*
* This routine resets the maximum memory usage for the slab @a slab to its
* current usage.
*
* @param slab Address of the memory slab
*
* @retval 0 Success
* @retval -EINVAL Memory slab is NULL
*/
int k_mem_slab_runtime_stats_reset_max(struct k_mem_slab *slab);
/** @} */
/**
* @addtogroup heap_apis
* @{
*/
/* kernel synchronized heap struct */
struct k_heap {
struct sys_heap heap;
_wait_q_t wait_q;
struct k_spinlock lock;
};
/**
* @brief Initialize a k_heap
*
* This constructs a synchronized k_heap object over a memory region
* specified by the user. Note that while any alignment and size can
* be passed as valid parameters, internal alignment restrictions
* inside the inner sys_heap mean that not all bytes may be usable as
* allocated memory.
*
* @param h Heap struct to initialize
* @param mem Pointer to memory.
* @param bytes Size of memory region, in bytes
*/
void k_heap_init(struct k_heap *h, void *mem,
size_t bytes) __attribute_nonnull(1);
/**
* @brief Allocate aligned memory from a k_heap
*
* Behaves in all ways like k_heap_alloc(), except that the returned
* memory (if available) will have a starting address in memory which
* is a multiple of the specified power-of-two alignment value in
* bytes. The resulting memory can be returned to the heap using
* k_heap_free().
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
* @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT.
*
* @funcprops \isr_ok
*
* @param h Heap from which to allocate
* @param align Alignment in bytes, must be a power of two
* @param bytes Number of bytes requested
* @param timeout How long to wait, or K_NO_WAIT
* @return Pointer to memory the caller can now use
*/
void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes,
k_timeout_t timeout) __attribute_nonnull(1);
/**
* @brief Allocate memory from a k_heap
*
* Allocates and returns a memory buffer from the memory region owned
* by the heap. If no memory is available immediately, the call will
* block for the specified timeout (constructed via the standard
* timeout API, or K_NO_WAIT or K_FOREVER) waiting for memory to be
* freed. If the allocation cannot be performed by the expiration of
* the timeout, NULL will be returned.
* Allocated memory is aligned on a multiple of pointer sizes.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
* @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT.
*
* @funcprops \isr_ok
*
* @param h Heap from which to allocate
* @param bytes Desired size of block to allocate
* @param timeout How long to wait, or K_NO_WAIT
* @return A pointer to valid heap memory, or NULL
*/
void *k_heap_alloc(struct k_heap *h, size_t bytes,
k_timeout_t timeout) __attribute_nonnull(1);
/**
* @brief Reallocate memory from a k_heap
*
* Reallocates and returns a memory buffer from the memory region owned
* by the heap. If no memory is available immediately, the call will
* block for the specified timeout (constructed via the standard
* timeout API, or K_NO_WAIT or K_FOREVER) waiting for memory to be
* freed. If the allocation cannot be performed by the expiration of
* the timeout, NULL will be returned.
* Reallocated memory is aligned on a multiple of pointer sizes.
*
* @note @a timeout must be set to K_NO_WAIT if called from ISR.
* @note When CONFIG_MULTITHREADING=n any @a timeout is treated as K_NO_WAIT.
*
* @funcprops \isr_ok
*
* @param h Heap from which to allocate
* @param ptr Original pointer returned from a previous allocation
* @param bytes Desired size of block to allocate
* @param timeout How long to wait, or K_NO_WAIT
*
* @return Pointer to memory the caller can now use, or NULL
*/
void *k_heap_realloc(struct k_heap *h, void *ptr, size_t bytes, k_timeout_t timeout)
__attribute_nonnull(1);
/**
* @brief Free memory allocated by k_heap_alloc()
*
* Returns the specified memory block, which must have been returned
* from k_heap_alloc(), to the heap for use by other callers. Passing
* a NULL block is legal, and has no effect.
*
* @param h Heap to which to return the memory
* @param mem A valid memory block, or NULL
*/
void k_heap_free(struct k_heap *h, void *mem) __attribute_nonnull(1);
/* Hand-calculated minimum heap sizes needed to return a successful
* 1-byte allocation. See details in lib/os/heap.[ch]
*/
#define Z_HEAP_MIN_SIZE ((sizeof(void *) > 4) ? 56 : 44)
/**
* @brief Define a static k_heap in the specified linker section
*
* This macro defines and initializes a static memory region and
* k_heap of the requested size in the specified linker section.
* After kernel start, &name can be used as if k_heap_init() had
* been called.
*
* Note that this macro enforces a minimum size on the memory region
* to accommodate metadata requirements. Very small heaps will be
* padded to fit.
*
* @param name Symbol name for the struct k_heap object
* @param bytes Size of memory region, in bytes
* @param in_section __attribute__((section(name))
*/
#define Z_HEAP_DEFINE_IN_SECT(name, bytes, in_section) \
char in_section \
__aligned(8) /* CHUNK_UNIT */ \
kheap_##name[MAX(bytes, Z_HEAP_MIN_SIZE)]; \
STRUCT_SECTION_ITERABLE(k_heap, name) = { \
.heap = { \
.init_mem = kheap_##name, \
.init_bytes = MAX(bytes, Z_HEAP_MIN_SIZE), \
}, \
}
/**
* @brief Define a static k_heap
*
* This macro defines and initializes a static memory region and
* k_heap of the requested size. After kernel start, &name can be
* used as if k_heap_init() had been called.
*
* Note that this macro enforces a minimum size on the memory region
* to accommodate metadata requirements. Very small heaps will be
* padded to fit.
*
* @param name Symbol name for the struct k_heap object
* @param bytes Size of memory region, in bytes
*/
#define K_HEAP_DEFINE(name, bytes) \
Z_HEAP_DEFINE_IN_SECT(name, bytes, \
__noinit_named(kheap_buf_##name))
/**
* @brief Define a static k_heap in uncached memory
*
* This macro defines and initializes a static memory region and
* k_heap of the requested size in uncached memory. After kernel
* start, &name can be used as if k_heap_init() had been called.
*
* Note that this macro enforces a minimum size on the memory region
* to accommodate metadata requirements. Very small heaps will be
* padded to fit.
*
* @param name Symbol name for the struct k_heap object
* @param bytes Size of memory region, in bytes
*/
#define K_HEAP_DEFINE_NOCACHE(name, bytes) \
Z_HEAP_DEFINE_IN_SECT(name, bytes, __nocache)
/**
* @}
*/
/**
* @defgroup heap_apis Heap APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Allocate memory from the heap with a specified alignment.
*
* This routine provides semantics similar to aligned_alloc(); memory is
* allocated from the heap with a specified alignment. However, one minor
* difference is that k_aligned_alloc() accepts any non-zero @p size,
* whereas aligned_alloc() only accepts a @p size that is an integral
* multiple of @p align.
*
* Above, aligned_alloc() refers to:
* C11 standard (ISO/IEC 9899:2011): 7.22.3.1
* The aligned_alloc function (p: 347-348)
*
* @param align Alignment of memory requested (in bytes).
* @param size Amount of memory requested (in bytes).
*
* @return Address of the allocated memory if successful; otherwise NULL.
*/
void *k_aligned_alloc(size_t align, size_t size);
/**
* @brief Allocate memory from the heap.
*
* This routine provides traditional malloc() semantics. Memory is
* allocated from the heap memory pool.
* Allocated memory is aligned on a multiple of pointer sizes.
*
* @param size Amount of memory requested (in bytes).
*
* @return Address of the allocated memory if successful; otherwise NULL.
*/
void *k_malloc(size_t size);
/**
* @brief Free memory allocated from heap.
*
* This routine provides traditional free() semantics. The memory being
* returned must have been allocated from the heap memory pool.
*
* If @a ptr is NULL, no operation is performed.
*
* @param ptr Pointer to previously allocated memory.
*/
void k_free(void *ptr);
/**
* @brief Allocate memory from heap, array style
*
* This routine provides traditional calloc() semantics. Memory is
* allocated from the heap memory pool and zeroed.
*
* @param nmemb Number of elements in the requested array
* @param size Size of each array element (in bytes).
*
* @return Address of the allocated memory if successful; otherwise NULL.
*/
void *k_calloc(size_t nmemb, size_t size);
/** @brief Expand the size of an existing allocation
*
* Returns a pointer to a new memory region with the same contents,
* but a different allocated size. If the new allocation can be
* expanded in place, the pointer returned will be identical.
* Otherwise the data will be copies to a new block and the old one
* will be freed as per sys_heap_free(). If the specified size is
* smaller than the original, the block will be truncated in place and
* the remaining memory returned to the heap. If the allocation of a
* new block fails, then NULL will be returned and the old block will
* not be freed or modified.
*
* @param ptr Original pointer returned from a previous allocation
* @param size Amount of memory requested (in bytes).
*
* @return Pointer to memory the caller can now use, or NULL.
*/
void *k_realloc(void *ptr, size_t size);
/** @} */
/* polling API - PRIVATE */
#ifdef CONFIG_POLL
#define _INIT_OBJ_POLL_EVENT(obj) do { (obj)->poll_event = NULL; } while (false)
#else
#define _INIT_OBJ_POLL_EVENT(obj) do { } while (false)
#endif
/* private - types bit positions */
enum _poll_types_bits {
/* can be used to ignore an event */
_POLL_TYPE_IGNORE,
/* to be signaled by k_poll_signal_raise() */
_POLL_TYPE_SIGNAL,
/* semaphore availability */
_POLL_TYPE_SEM_AVAILABLE,
/* queue/FIFO/LIFO data availability */
_POLL_TYPE_DATA_AVAILABLE,
/* msgq data availability */
_POLL_TYPE_MSGQ_DATA_AVAILABLE,
/* pipe data availability */
_POLL_TYPE_PIPE_DATA_AVAILABLE,
_POLL_NUM_TYPES
};
#define Z_POLL_TYPE_BIT(type) (1U << ((type) - 1U))
/* private - states bit positions */
enum _poll_states_bits {
/* default state when creating event */
_POLL_STATE_NOT_READY,
/* signaled by k_poll_signal_raise() */
_POLL_STATE_SIGNALED,
/* semaphore is available */
_POLL_STATE_SEM_AVAILABLE,
/* data is available to read on queue/FIFO/LIFO */
_POLL_STATE_DATA_AVAILABLE,
/* queue/FIFO/LIFO wait was cancelled */
_POLL_STATE_CANCELLED,
/* data is available to read on a message queue */
_POLL_STATE_MSGQ_DATA_AVAILABLE,
/* data is available to read from a pipe */
_POLL_STATE_PIPE_DATA_AVAILABLE,
_POLL_NUM_STATES
};
#define Z_POLL_STATE_BIT(state) (1U << ((state) - 1U))
#define _POLL_EVENT_NUM_UNUSED_BITS \
(32 - (0 \
+ 8 /* tag */ \
+ _POLL_NUM_TYPES \
+ _POLL_NUM_STATES \
+ 1 /* modes */ \
))
/* end of polling API - PRIVATE */
/**
* @defgroup poll_apis Async polling APIs
* @ingroup kernel_apis
* @{
*/
/* Public polling API */
/* public - values for k_poll_event.type bitfield */
#define K_POLL_TYPE_IGNORE 0
#define K_POLL_TYPE_SIGNAL Z_POLL_TYPE_BIT(_POLL_TYPE_SIGNAL)
#define K_POLL_TYPE_SEM_AVAILABLE Z_POLL_TYPE_BIT(_POLL_TYPE_SEM_AVAILABLE)
#define K_POLL_TYPE_DATA_AVAILABLE Z_POLL_TYPE_BIT(_POLL_TYPE_DATA_AVAILABLE)
#define K_POLL_TYPE_FIFO_DATA_AVAILABLE K_POLL_TYPE_DATA_AVAILABLE
#define K_POLL_TYPE_MSGQ_DATA_AVAILABLE Z_POLL_TYPE_BIT(_POLL_TYPE_MSGQ_DATA_AVAILABLE)
#define K_POLL_TYPE_PIPE_DATA_AVAILABLE Z_POLL_TYPE_BIT(_POLL_TYPE_PIPE_DATA_AVAILABLE)
/* public - polling modes */
enum k_poll_modes {
/* polling thread does not take ownership of objects when available */
K_POLL_MODE_NOTIFY_ONLY = 0,
K_POLL_NUM_MODES
};
/* public - values for k_poll_event.state bitfield */
#define K_POLL_STATE_NOT_READY 0
#define K_POLL_STATE_SIGNALED Z_POLL_STATE_BIT(_POLL_STATE_SIGNALED)
#define K_POLL_STATE_SEM_AVAILABLE Z_POLL_STATE_BIT(_POLL_STATE_SEM_AVAILABLE)
#define K_POLL_STATE_DATA_AVAILABLE Z_POLL_STATE_BIT(_POLL_STATE_DATA_AVAILABLE)
#define K_POLL_STATE_FIFO_DATA_AVAILABLE K_POLL_STATE_DATA_AVAILABLE
#define K_POLL_STATE_MSGQ_DATA_AVAILABLE Z_POLL_STATE_BIT(_POLL_STATE_MSGQ_DATA_AVAILABLE)
#define K_POLL_STATE_PIPE_DATA_AVAILABLE Z_POLL_STATE_BIT(_POLL_STATE_PIPE_DATA_AVAILABLE)
#define K_POLL_STATE_CANCELLED Z_POLL_STATE_BIT(_POLL_STATE_CANCELLED)
/* public - poll signal object */
struct k_poll_signal {
/** PRIVATE - DO NOT TOUCH */
sys_dlist_t poll_events;
/**
* 1 if the event has been signaled, 0 otherwise. Stays set to 1 until
* user resets it to 0.
*/
unsigned int signaled;
/** custom result value passed to k_poll_signal_raise() if needed */
int result;
};
#define K_POLL_SIGNAL_INITIALIZER(obj) \
{ \
.poll_events = SYS_DLIST_STATIC_INIT(&obj.poll_events), \
.signaled = 0, \
.result = 0, \
}
/**
* @brief Poll Event
*
*/
struct k_poll_event {
/** PRIVATE - DO NOT TOUCH */
sys_dnode_t _node;
/** PRIVATE - DO NOT TOUCH */
struct z_poller *poller;
/** optional user-specified tag, opaque, untouched by the API */
uint32_t tag:8;
/** bitfield of event types (bitwise-ORed K_POLL_TYPE_xxx values) */
uint32_t type:_POLL_NUM_TYPES;
/** bitfield of event states (bitwise-ORed K_POLL_STATE_xxx values) */
uint32_t state:_POLL_NUM_STATES;
/** mode of operation, from enum k_poll_modes */
uint32_t mode:1;
/** unused bits in 32-bit word */
uint32_t unused:_POLL_EVENT_NUM_UNUSED_BITS;
/** per-type data */
union {
/* The typed_* fields below are used by K_POLL_EVENT_*INITIALIZER() macros to ensure
* type safety of polled objects.
*/
void *obj, *typed_K_POLL_TYPE_IGNORE;
struct k_poll_signal *signal, *typed_K_POLL_TYPE_SIGNAL;
struct k_sem *sem, *typed_K_POLL_TYPE_SEM_AVAILABLE;
struct k_fifo *fifo, *typed_K_POLL_TYPE_FIFO_DATA_AVAILABLE;
struct k_queue *queue, *typed_K_POLL_TYPE_DATA_AVAILABLE;
struct k_msgq *msgq, *typed_K_POLL_TYPE_MSGQ_DATA_AVAILABLE;
#ifdef CONFIG_PIPES
struct k_pipe *pipe, *typed_K_POLL_TYPE_PIPE_DATA_AVAILABLE;
#endif
};
};
#define K_POLL_EVENT_INITIALIZER(_event_type, _event_mode, _event_obj) \
{ \
.poller = NULL, \
.type = _event_type, \
.state = K_POLL_STATE_NOT_READY, \
.mode = _event_mode, \
.unused = 0, \
{ \
.typed_##_event_type = _event_obj, \
}, \
}
#define K_POLL_EVENT_STATIC_INITIALIZER(_event_type, _event_mode, _event_obj, \
event_tag) \
{ \
.tag = event_tag, \
.type = _event_type, \
.state = K_POLL_STATE_NOT_READY, \
.mode = _event_mode, \
.unused = 0, \
{ \
.typed_##_event_type = _event_obj, \
}, \
}
/**
* @brief Initialize one struct k_poll_event instance
*
* After this routine is called on a poll event, the event it ready to be
* placed in an event array to be passed to k_poll().
*
* @param event The event to initialize.
* @param type A bitfield of the types of event, from the K_POLL_TYPE_xxx
* values. Only values that apply to the same object being polled
* can be used together. Choosing K_POLL_TYPE_IGNORE disables the
* event.
* @param mode Future. Use K_POLL_MODE_NOTIFY_ONLY.
* @param obj Kernel object or poll signal.
*/
void k_poll_event_init(struct k_poll_event *event, uint32_t type,
int mode, void *obj);
/**
* @brief Wait for one or many of multiple poll events to occur
*
* This routine allows a thread to wait concurrently for one or many of
* multiple poll events to have occurred. Such events can be a kernel object
* being available, like a semaphore, or a poll signal event.
*
* When an event notifies that a kernel object is available, the kernel object
* is not "given" to the thread calling k_poll(): it merely signals the fact
* that the object was available when the k_poll() call was in effect. Also,
* all threads trying to acquire an object the regular way, i.e. by pending on
* the object, have precedence over the thread polling on the object. This
* means that the polling thread will never get the poll event on an object
* until the object becomes available and its pend queue is empty. For this
* reason, the k_poll() call is more effective when the objects being polled
* only have one thread, the polling thread, trying to acquire them.
*
* When k_poll() returns 0, the caller should loop on all the events that were
* passed to k_poll() and check the state field for the values that were
* expected and take the associated actions.
*
* Before being reused for another call to k_poll(), the user has to reset the
* state field to K_POLL_STATE_NOT_READY.
*
* When called from user mode, a temporary memory allocation is required from
* the caller's resource pool.
*
* @param events An array of events to be polled for.
* @param num_events The number of events in the array.
* @param timeout Waiting period for an event to be ready,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 One or more events are ready.
* @retval -EAGAIN Waiting period timed out.
* @retval -EINTR Polling has been interrupted, e.g. with
* k_queue_cancel_wait(). All output events are still set and valid,
* cancelled event(s) will be set to K_POLL_STATE_CANCELLED. In other
* words, -EINTR status means that at least one of output events is
* K_POLL_STATE_CANCELLED.
* @retval -ENOMEM Thread resource pool insufficient memory (user mode only)
* @retval -EINVAL Bad parameters (user mode only)
*/
__syscall int k_poll(struct k_poll_event *events, int num_events,
k_timeout_t timeout);
/**
* @brief Initialize a poll signal object.
*
* Ready a poll signal object to be signaled via k_poll_signal_raise().
*
* @param sig A poll signal.
*/
__syscall void k_poll_signal_init(struct k_poll_signal *sig);
/**
* @brief Reset a poll signal object's state to unsignaled.
*
* @param sig A poll signal object
*/
__syscall void k_poll_signal_reset(struct k_poll_signal *sig);
/**
* @brief Fetch the signaled state and result value of a poll signal
*
* @param sig A poll signal object
* @param signaled An integer buffer which will be written nonzero if the
* object was signaled
* @param result An integer destination buffer which will be written with the
* result value if the object was signaled, or an undefined
* value if it was not.
*/
__syscall void k_poll_signal_check(struct k_poll_signal *sig,
unsigned int *signaled, int *result);
/**
* @brief Signal a poll signal object.
*
* This routine makes ready a poll signal, which is basically a poll event of
* type K_POLL_TYPE_SIGNAL. If a thread was polling on that event, it will be
* made ready to run. A @a result value can be specified.
*
* The poll signal contains a 'signaled' field that, when set by
* k_poll_signal_raise(), stays set until the user sets it back to 0 with
* k_poll_signal_reset(). It thus has to be reset by the user before being
* passed again to k_poll() or k_poll() will consider it being signaled, and
* will return immediately.
*
* @note The result is stored and the 'signaled' field is set even if
* this function returns an error indicating that an expiring poll was
* not notified. The next k_poll() will detect the missed raise.
*
* @param sig A poll signal.
* @param result The value to store in the result field of the signal.
*
* @retval 0 The signal was delivered successfully.
* @retval -EAGAIN The polling thread's timeout is in the process of expiring.
*/
__syscall int k_poll_signal_raise(struct k_poll_signal *sig, int result);
/** @} */
/**
* @defgroup cpu_idle_apis CPU Idling APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Make the CPU idle.
*
* This function makes the CPU idle until an event wakes it up.
*
* In a regular system, the idle thread should be the only thread responsible
* for making the CPU idle and triggering any type of power management.
* However, in some more constrained systems, such as a single-threaded system,
* the only thread would be responsible for this if needed.
*
* @note In some architectures, before returning, the function unmasks interrupts
* unconditionally.
*/
static inline void k_cpu_idle(void)
{
arch_cpu_idle();
}
/**
* @brief Make the CPU idle in an atomic fashion.
*
* Similar to k_cpu_idle(), but must be called with interrupts locked.
*
* Enabling interrupts and entering a low-power mode will be atomic,
* i.e. there will be no period of time where interrupts are enabled before
* the processor enters a low-power mode.
*
* After waking up from the low-power mode, the interrupt lockout state will
* be restored as if by irq_unlock(key).
*
* @param key Interrupt locking key obtained from irq_lock().
*/
static inline void k_cpu_atomic_idle(unsigned int key)
{
arch_cpu_atomic_idle(key);
}
/**
* @}
*/
/**
* @cond INTERNAL_HIDDEN
* @internal
*/
#ifdef ARCH_EXCEPT
/* This architecture has direct support for triggering a CPU exception */
#define z_except_reason(reason) ARCH_EXCEPT(reason)
#else
#if !defined(CONFIG_ASSERT_NO_FILE_INFO)
#define __EXCEPT_LOC() __ASSERT_PRINT("@ %s:%d\n", __FILE__, __LINE__)
#else
#define __EXCEPT_LOC()
#endif
/* NOTE: This is the implementation for arches that do not implement
* ARCH_EXCEPT() to generate a real CPU exception.
*
* We won't have a real exception frame to determine the PC value when
* the oops occurred, so print file and line number before we jump into
* the fatal error handler.
*/
#define z_except_reason(reason) do { \
__EXCEPT_LOC(); \
z_fatal_error(reason, NULL); \
} while (false)
#endif /* _ARCH__EXCEPT */
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Fatally terminate a thread
*
* This should be called when a thread has encountered an unrecoverable
* runtime condition and needs to terminate. What this ultimately
* means is determined by the _fatal_error_handler() implementation, which
* will be called will reason code K_ERR_KERNEL_OOPS.
*
* If this is called from ISR context, the default system fatal error handler
* will treat it as an unrecoverable system error, just like k_panic().
*/
#define k_oops() z_except_reason(K_ERR_KERNEL_OOPS)
/**
* @brief Fatally terminate the system
*
* This should be called when the Zephyr kernel has encountered an
* unrecoverable runtime condition and needs to terminate. What this ultimately
* means is determined by the _fatal_error_handler() implementation, which
* will be called will reason code K_ERR_KERNEL_PANIC.
*/
#define k_panic() z_except_reason(K_ERR_KERNEL_PANIC)
/**
* @cond INTERNAL_HIDDEN
*/
/*
* private APIs that are utilized by one or more public APIs
*/
/**
* @internal
*/
void z_timer_expiration_handler(struct _timeout *timeout);
/**
* INTERNAL_HIDDEN @endcond
*/
#ifdef CONFIG_PRINTK
/**
* @brief Emit a character buffer to the console device
*
* @param c String of characters to print
* @param n The length of the string
*
*/
__syscall void k_str_out(char *c, size_t n);
#endif
/**
* @defgroup float_apis Floating Point APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Disable preservation of floating point context information.
*
* This routine informs the kernel that the specified thread
* will no longer be using the floating point registers.
*
* @warning
* Some architectures apply restrictions on how the disabling of floating
* point preservation may be requested, see arch_float_disable.
*
* @warning
* This routine should only be used to disable floating point support for
* a thread that currently has such support enabled.
*
* @param thread ID of thread.
*
* @retval 0 On success.
* @retval -ENOTSUP If the floating point disabling is not implemented.
* -EINVAL If the floating point disabling could not be performed.
*/
__syscall int k_float_disable(struct k_thread *thread);
/**
* @brief Enable preservation of floating point context information.
*
* This routine informs the kernel that the specified thread
* will use the floating point registers.
* Invoking this routine initializes the thread's floating point context info
* to that of an FPU that has been reset. The next time the thread is scheduled
* by z_swap() it will either inherit an FPU that is guaranteed to be in a
* "sane" state (if the most recent user of the FPU was cooperatively swapped
* out) or the thread's own floating point context will be loaded (if the most
* recent user of the FPU was preempted, or if this thread is the first user
* of the FPU). Thereafter, the kernel will protect the thread's FP context
* so that it is not altered during a preemptive context switch.
*
* The @a options parameter indicates which floating point register sets will
* be used by the specified thread.
*
* For x86 options:
*
* - K_FP_REGS indicates x87 FPU and MMX registers only
* - K_SSE_REGS indicates SSE registers (and also x87 FPU and MMX registers)
*
* @warning
* Some architectures apply restrictions on how the enabling of floating
* point preservation may be requested, see arch_float_enable.
*
* @warning
* This routine should only be used to enable floating point support for
* a thread that currently has such support enabled.
*
* @param thread ID of thread.
* @param options architecture dependent options
*
* @retval 0 On success.
* @retval -ENOTSUP If the floating point enabling is not implemented.
* -EINVAL If the floating point enabling could not be performed.
*/
__syscall int k_float_enable(struct k_thread *thread, unsigned int options);
/**
* @}
*/
/**
* @brief Get the runtime statistics of a thread
*
* @param thread ID of thread.
* @param stats Pointer to struct to copy statistics into.
* @return -EINVAL if null pointers, otherwise 0
*/
int k_thread_runtime_stats_get(k_tid_t thread,
k_thread_runtime_stats_t *stats);
/**
* @brief Get the runtime statistics of all threads
*
* @param stats Pointer to struct to copy statistics into.
* @return -EINVAL if null pointers, otherwise 0
*/
int k_thread_runtime_stats_all_get(k_thread_runtime_stats_t *stats);
/**
* @brief Get the runtime statistics of all threads on specified cpu
*
* @param cpu The cpu number
* @param stats Pointer to struct to copy statistics into.
* @return -EINVAL if null pointers, otherwise 0
*/
int k_thread_runtime_stats_cpu_get(int cpu, k_thread_runtime_stats_t *stats);
/**
* @brief Enable gathering of runtime statistics for specified thread
*
* This routine enables the gathering of runtime statistics for the specified
* thread.
*
* @param thread ID of thread
* @return -EINVAL if invalid thread ID, otherwise 0
*/
int k_thread_runtime_stats_enable(k_tid_t thread);
/**
* @brief Disable gathering of runtime statistics for specified thread
*
* This routine disables the gathering of runtime statistics for the specified
* thread.
*
* @param thread ID of thread
* @return -EINVAL if invalid thread ID, otherwise 0
*/
int k_thread_runtime_stats_disable(k_tid_t thread);
/**
* @brief Enable gathering of system runtime statistics
*
* This routine enables the gathering of system runtime statistics. Note that
* it does not affect the gathering of similar statistics for individual
* threads.
*/
void k_sys_runtime_stats_enable(void);
/**
* @brief Disable gathering of system runtime statistics
*
* This routine disables the gathering of system runtime statistics. Note that
* it does not affect the gathering of similar statistics for individual
* threads.
*/
void k_sys_runtime_stats_disable(void);
#ifdef __cplusplus
}
#endif
#include <zephyr/tracing/tracing.h>
#include <zephyr/syscalls/kernel.h>
#endif /* !_ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_KERNEL_H_ */
``` | /content/code_sandbox/include/zephyr/kernel.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 46,337 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_ZEPHYR_TYPES_H_
#define ZEPHYR_INCLUDE_ZEPHYR_TYPES_H_
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* A type with strong alignment requirements, similar to C11 max_align_t. It can
* be used to force alignment of data structures allocated on the stack or as
* return * type for heap allocators.
*/
typedef union {
long long thelonglong;
long double thelongdouble;
uintmax_t theuintmax_t;
size_t thesize_t;
uintptr_t theuintptr_t;
void *thepvoid;
void (*thepfunc)(void);
} z_max_align_t;
#ifdef __cplusplus
/* Zephyr requires an int main(void) signature with C linkage for the application main if present */
extern int main(void);
#endif
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_ZEPHYR_TYPES_H_ */
``` | /content/code_sandbox/include/zephyr/types.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 214 |
```objective-c
/*
*
*/
/**
* @file
* @brief Software-managed ISR table
*
* Data types for a software-managed ISR table, with a parameter per-ISR.
*/
#ifndef ZEPHYR_INCLUDE_SW_ISR_TABLE_H_
#define ZEPHYR_INCLUDE_SW_ISR_TABLE_H_
#if !defined(_ASMLANGUAGE)
#include <zephyr/device.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/types.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Default vector for the IRQ vector table */
void _isr_wrapper(void);
/* Spurious interrupt handler. Throws an error if called */
void z_irq_spurious(const void *unused);
/*
* Note the order: arg first, then ISR. This allows a table entry to be
* loaded arg -> r0, isr -> r3 in _isr_wrapper with one ldmia instruction,
* on ARM Cortex-M (Thumb2).
*/
struct _isr_table_entry {
const void *arg;
void (*isr)(const void *);
};
/* The software ISR table itself, an array of these structures indexed by the
* irq line
*/
extern struct _isr_table_entry _sw_isr_table[];
struct _irq_parent_entry {
const struct device *dev;
unsigned int level;
unsigned int irq;
unsigned int offset;
};
/**
* @cond INTERNAL_HIDDEN
*/
/* Mapping between aggregator level to order */
#define Z_STR_L2 2ND
#define Z_STR_L3 3RD
/**
* @brief Get the Software ISR table offset Kconfig for the given aggregator level
*
* @param l Aggregator level, must be 2 or 3
*
* @return `CONFIG_2ND_LVL_ISR_TBL_OFFSET` if second level aggregator,
* `CONFIG_3RD_LVL_ISR_TBL_OFFSET` if third level aggregator
*/
#define Z_SW_ISR_TBL_KCONFIG_BY_ALVL(l) CONCAT(CONFIG_, CONCAT(Z_STR_L, l), _LVL_ISR_TBL_OFFSET)
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Get an interrupt controller node's level base ISR table offset.
*
* @param node_id node identifier of the interrupt controller
*
* @return `CONFIG_2ND_LVL_ISR_TBL_OFFSET` if node_id is a second level aggregator,
* `CONFIG_3RD_LVL_ISR_TBL_OFFSET` if it is a third level aggregator
*/
#define INTC_BASE_ISR_TBL_OFFSET(node_id) \
Z_SW_ISR_TBL_KCONFIG_BY_ALVL(DT_INTC_GET_AGGREGATOR_LEVEL(node_id))
/**
* @brief Get the SW ISR table offset for an instance of interrupt controller
*
* @param inst DT_DRV_COMPAT interrupt controller driver instance number
*
* @return Software ISR table offset of the interrupt controller
*/
#define INTC_INST_ISR_TBL_OFFSET(inst) \
(INTC_BASE_ISR_TBL_OFFSET(DT_DRV_INST(inst)) + (inst * CONFIG_MAX_IRQ_PER_AGGREGATOR))
/**
* @brief Get the SW ISR table offset for a child interrupt controller
*
* @details This macro is a alternative form of the `INTC_INST_ISR_TBL_OFFSET`. This is used by
* pseudo interrupt controller devices that are child of a main interrupt controller device.
*
* @param node_id node identifier of the child interrupt controller
*
* @return Software ISR table offset of the child
*/
#define INTC_CHILD_ISR_TBL_OFFSET(node_id) \
(INTC_BASE_ISR_TBL_OFFSET(node_id) + \
(DT_NODE_CHILD_IDX(node_id) * CONFIG_MAX_IRQ_PER_AGGREGATOR))
/**
* @brief Register an interrupt controller with the software ISR table
*
* @param _name Name of the interrupt controller (must be unique)
* @param _dev Pointer to the interrupt controller device instance
* @param _irq Interrupt controller IRQ number
* @param _offset Software ISR table offset of the interrupt controller
* @param _level Interrupt controller aggregator level
*/
#define IRQ_PARENT_ENTRY_DEFINE(_name, _dev, _irq, _offset, _level) \
static const STRUCT_SECTION_ITERABLE_ALTERNATE(intc_table, _irq_parent_entry, _name) = { \
.dev = _dev, \
.level = _level, \
.irq = _irq, \
.offset = _offset, \
}
/*
* Data structure created in a special binary .intlist section for each
* configured interrupt. gen_irq_tables.py pulls this out of the binary and
* uses it to create the IRQ vector table and the _sw_isr_table.
*
* More discussion in include/linker/intlist.ld
*
* This is a version used when CONFIG_ISR_TABLES_LOCAL_DECLARATION is disabled.
* See _isr_list_sname used otherwise.
*/
struct _isr_list {
/** IRQ line number */
int32_t irq;
/** Flags for this IRQ, see ISR_FLAG_* definitions */
int32_t flags;
/** ISR to call */
void *func;
/** Parameter for non-direct IRQs */
const void *param;
};
/*
* Data structure created in a special binary .intlist section for each
* configured interrupt. gen_isr_tables.py pulls this out of the binary and
* uses it to create linker script chunks that would place interrupt table entries
* in the right place in the memory.
*
* This is a version used when CONFIG_ISR_TABLES_LOCAL_DECLARATION is enabled.
* See _isr_list used otherwise.
*/
struct _isr_list_sname {
/** IRQ line number */
int32_t irq;
/** Flags for this IRQ, see ISR_FLAG_* definitions */
int32_t flags;
/** The section name */
const char sname[];
};
#ifdef CONFIG_SHARED_INTERRUPTS
struct z_shared_isr_table_entry {
struct _isr_table_entry clients[CONFIG_SHARED_IRQ_MAX_NUM_CLIENTS];
size_t client_num;
};
void z_shared_isr(const void *data);
extern struct z_shared_isr_table_entry z_shared_sw_isr_table[];
#endif /* CONFIG_SHARED_INTERRUPTS */
/** This interrupt gets put directly in the vector table */
#define ISR_FLAG_DIRECT BIT(0)
#define _MK_ISR_NAME(x, y) __MK_ISR_NAME(x, y)
#define __MK_ISR_NAME(x, y) __isr_ ## x ## _irq_ ## y
#if defined(CONFIG_ISR_TABLES_LOCAL_DECLARATION)
#define _MK_ISR_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id)
#define __MK_ISR_ELEMENT_NAME(func, id) __isr_table_entry_ ## func ## _irq_ ## id
#define _MK_IRQ_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id)
#define __MK_IRQ_ELEMENT_NAME(func, id) __irq_table_entry_ ## func ## _irq_ ## id
#define _MK_ISR_SECTION_NAME(prefix, file, counter) \
"." Z_STRINGIFY(prefix)"."file"." Z_STRINGIFY(counter)
#define _MK_ISR_ELEMENT_SECTION(counter) _MK_ISR_SECTION_NAME(irq, __FILE__, counter)
#define _MK_IRQ_ELEMENT_SECTION(counter) _MK_ISR_SECTION_NAME(isr, __FILE__, counter)
/* Separated macro to create ISR table entry only.
* Used by Z_ISR_DECLARE and ISR tables generation script.
*/
#define _Z_ISR_TABLE_ENTRY(irq, func, param, sect) \
static Z_DECL_ALIGN(struct _isr_table_entry) \
__attribute__((section(sect))) \
__used _MK_ISR_ELEMENT_NAME(func, __COUNTER__) = { \
.arg = (const void *)(param), \
.isr = (void (*)(const void *))(void *)(func) \
}
#define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \
_Z_ISR_DECLARE_C(irq, flags, func, param, counter)
#define _Z_ISR_DECLARE_C(irq, flags, func, param, counter) \
_Z_ISR_TABLE_ENTRY(irq, func, param, _MK_ISR_ELEMENT_SECTION(counter)); \
static struct _isr_list_sname Z_GENERIC_SECTION(.intList) \
__used _MK_ISR_NAME(func, counter) = \
{irq, flags, _MK_ISR_ELEMENT_SECTION(counter)}
/* Create an entry for _isr_table to be then placed by the linker.
* An instance of struct _isr_list which gets put in the .intList
* section is created with the name of the section where _isr_table entry is placed to be then
* used by isr generation script to create linker script chunk.
*/
#define Z_ISR_DECLARE(irq, flags, func, param) \
BUILD_ASSERT(((flags) & ISR_FLAG_DIRECT) == 0, "Use Z_ISR_DECLARE_DIRECT macro"); \
Z_ISR_DECLARE_C(irq, flags, func, param, __COUNTER__)
/* Separated macro to create ISR Direct table entry only.
* Used by Z_ISR_DECLARE_DIRECT and ISR tables generation script.
*/
#define _Z_ISR_DIRECT_TABLE_ENTRY(irq, func, sect) \
COND_CODE_1(CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS, ( \
static Z_DECL_ALIGN(uintptr_t) \
__attribute__((section(sect))) \
__used _MK_IRQ_ELEMENT_NAME(func, __COUNTER__) = ((uintptr_t)(func)); \
), ( \
static void __attribute__((section(sect))) __attribute__((naked)) \
__used _MK_IRQ_ELEMENT_NAME(func, __COUNTER__)(void) { \
__asm(ARCH_IRQ_VECTOR_JUMP_CODE(func)); \
} \
))
#define Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \
_Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter)
#define _Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \
_Z_ISR_DIRECT_TABLE_ENTRY(irq, func, _MK_IRQ_ELEMENT_SECTION(counter)); \
static struct _isr_list_sname Z_GENERIC_SECTION(.intList) \
__used _MK_ISR_NAME(func, counter) = { \
irq, \
ISR_FLAG_DIRECT | (flags), \
_MK_IRQ_ELEMENT_SECTION(counter)}
/* Create an entry to irq table and place it in specific section which name is then placed
* in an instance of struct _isr_list to be then used by the isr generation script to create
* the linker script chunks.
*/
#define Z_ISR_DECLARE_DIRECT(irq, flags, func) \
BUILD_ASSERT(IS_ENABLED(CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_ADDRESS) || \
IS_ENABLED(CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE), \
"CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_{ADDRESS,CODE} not set"); \
Z_ISR_DECLARE_DIRECT_C(irq, flags, func, __COUNTER__)
#else /* defined(CONFIG_ISR_TABLES_LOCAL_DECLARATION) */
/* Create an instance of struct _isr_list which gets put in the .intList
* section. This gets consumed by gen_isr_tables.py which creates the vector
* and/or SW ISR tables.
*/
#define Z_ISR_DECLARE(irq, flags, func, param) \
static Z_DECL_ALIGN(struct _isr_list) Z_GENERIC_SECTION(.intList) \
__used _MK_ISR_NAME(func, __COUNTER__) = \
{irq, flags, (void *)&func, (const void *)param}
/* The version of the Z_ISR_DECLARE that should be used for direct ISR declaration.
* It is here for the API match the version with CONFIG_ISR_TABLES_LOCAL_DECLARATION enabled.
*/
#define Z_ISR_DECLARE_DIRECT(irq, flags, func) \
Z_ISR_DECLARE(irq, ISR_FLAG_DIRECT | (flags), func, NULL)
#endif
#define IRQ_TABLE_SIZE (CONFIG_NUM_IRQS - CONFIG_GEN_IRQ_START_VECTOR)
#ifdef CONFIG_DYNAMIC_INTERRUPTS
void z_isr_install(unsigned int irq, void (*routine)(const void *),
const void *param);
#ifdef CONFIG_SHARED_INTERRUPTS
int z_isr_uninstall(unsigned int irq, void (*routine)(const void *),
const void *param);
#endif /* CONFIG_SHARED_INTERRUPTS */
#endif
#ifdef __cplusplus
}
#endif
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_SW_ISR_TABLE_H_ */
``` | /content/code_sandbox/include/zephyr/sw_isr_table.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,576 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_DEVICE_H_
#define ZEPHYR_INCLUDE_DEVICE_H_
#include <stdint.h>
#include <zephyr/devicetree.h>
#include <zephyr/init.h>
#include <zephyr/linker/sections.h>
#include <zephyr/pm/state.h>
#include <zephyr/sys/device_mmio.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/sys/util.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Device Model
* @defgroup device_model Device Model
* @since 1.0
* @version 1.1.0
* @{
*/
/** @cond INTERNAL_HIDDEN */
/**
* @brief Flag value used in lists of device dependencies to separate distinct
* groups.
*/
#define Z_DEVICE_DEPS_SEP INT16_MIN
/**
* @brief Flag value used in lists of device dependencies to indicate the end of
* the list.
*/
#define Z_DEVICE_DEPS_ENDS INT16_MAX
/** @brief Determine if a DT node is mutable */
#define Z_DEVICE_IS_MUTABLE(node_id) \
COND_CODE_1(IS_ENABLED(CONFIG_DEVICE_MUTABLE), (DT_PROP(node_id, zephyr_mutable)), (0))
/** @endcond */
/**
* @brief Type used to represent a "handle" for a device.
*
* Every @ref device has an associated handle. You can get a pointer to a
* @ref device from its handle and vice versa, but the handle uses less space
* than a pointer. The device.h API mainly uses handles to store lists of
* multiple devices in a compact way.
*
* The extreme values and zero have special significance. Negative values
* identify functionality that does not correspond to a Zephyr device, such as
* the system clock or a SYS_INIT() function.
*
* @see device_handle_get()
* @see device_from_handle()
*/
typedef int16_t device_handle_t;
/** @brief Flag value used to identify an unknown device. */
#define DEVICE_HANDLE_NULL 0
/**
* @brief Expands to the name of a global device object.
*
* Return the full name of a device object symbol created by DEVICE_DEFINE(),
* using the `dev_id` provided to DEVICE_DEFINE(). This is the name of the
* global variable storing the device structure, not a pointer to the string in
* the @ref device.name field.
*
* It is meant to be used for declaring extern symbols pointing to device
* objects before using the DEVICE_GET macro to get the device object.
*
* This macro is normally only useful within device driver source code. In other
* situations, you are probably looking for device_get_binding().
*
* @param dev_id Device identifier.
*
* @return The full name of the device object defined by device definition
* macros.
*/
#define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
/* Node paths can exceed the maximum size supported by
* device_get_binding() in user mode; this macro synthesizes a unique
* dev_id from a devicetree node while staying within this maximum
* size.
*
* The ordinal used in this name can be mapped to the path by
* examining zephyr/include/generated/zephyr/devicetree_generated.h.
*/
#define Z_DEVICE_DT_DEV_ID(node_id) _CONCAT(dts_ord_, DT_DEP_ORD(node_id))
/**
* @brief Create a device object and set it up for boot time initialization.
*
* This macro defines a @ref device that is automatically configured by the
* kernel during system initialization. This macro should only be used when the
* device is not being allocated from a devicetree node. If you are allocating a
* device from a devicetree node, use DEVICE_DT_DEFINE() or
* DEVICE_DT_INST_DEFINE() instead.
*
* @param dev_id A unique token which is used in the name of the global device
* structure as a C identifier.
* @param name A string name for the device, which will be stored in
* @ref device.name. This name can be used to look up the device with
* device_get_binding(). This must be less than Z_DEVICE_MAX_NAME_LEN characters
* (including terminating `NULL`) in order to be looked up from user mode.
* @param init_fn Pointer to the device's initialization function, which will be
* run by the kernel during system initialization. Can be `NULL`.
* @param pm Pointer to the device's power management resources, a
* @ref pm_device, which will be stored in @ref device.pm field. Use `NULL` if
* the device does not use PM.
* @param data Pointer to the device's private mutable data, which will be
* stored in @ref device.data.
* @param config Pointer to the device's private constant data, which will be
* stored in @ref device.config.
* @param level The device's initialization level (PRE_KERNEL_1, PRE_KERNEL_2 or
* POST_KERNEL).
* @param prio The device's priority within its initialization level. See
* SYS_INIT() for details.
* @param api Pointer to the device's API structure. Can be `NULL`.
*/
#define DEVICE_DEFINE(dev_id, name, init_fn, pm, data, config, level, prio, \
api) \
Z_DEVICE_STATE_DEFINE(dev_id); \
Z_DEVICE_DEFINE(DT_INVALID_NODE, dev_id, name, init_fn, pm, data, \
config, level, prio, api, \
&Z_DEVICE_STATE_NAME(dev_id))
/**
* @brief Return a string name for a devicetree node.
*
* This macro returns a string literal usable as a device's name from a
* devicetree node identifier.
*
* @param node_id The devicetree node identifier.
*
* @return The value of the node's `label` property, if it has one.
* Otherwise, the node's full name in `node-name@unit-address` form.
*/
#define DEVICE_DT_NAME(node_id) \
DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id))
/**
* @brief Determine if a devicetree node initialization should be deferred.
*
* @param node_id The devicetree node identifier.
*
* @return Boolean stating if node initialization should be deferred.
*/
#define DEVICE_DT_DEFER(node_id) \
DT_PROP(node_id, zephyr_deferred_init)
/**
* @brief Create a device object from a devicetree node identifier and set it up
* for boot time initialization.
*
* This macro defines a @ref device that is automatically configured by the
* kernel during system initialization. The global device object's name as a C
* identifier is derived from the node's dependency ordinal. @ref device.name is
* set to `DEVICE_DT_NAME(node_id)`.
*
* The device is declared with extern visibility, so a pointer to a global
* device object can be obtained with `DEVICE_DT_GET(node_id)` from any source
* file that includes `<zephyr/device.h>`. Before using the pointer, the
* referenced object should be checked using device_is_ready().
*
* @param node_id The devicetree node identifier.
* @param init_fn Pointer to the device's initialization function, which will be
* run by the kernel during system initialization. Can be `NULL`.
* @param pm Pointer to the device's power management resources, a
* @ref pm_device, which will be stored in @ref device.pm. Use `NULL` if the
* device does not use PM.
* @param data Pointer to the device's private mutable data, which will be
* stored in @ref device.data.
* @param config Pointer to the device's private constant data, which will be
* stored in @ref device.config field.
* @param level The device's initialization level (PRE_KERNEL_1, PRE_KERNEL_2 or
* POST_KERNEL).
* @param prio The device's priority within its initialization level. See
* SYS_INIT() for details.
* @param api Pointer to the device's API structure. Can be `NULL`.
*/
#define DEVICE_DT_DEFINE(node_id, init_fn, pm, data, config, level, prio, api, \
...) \
Z_DEVICE_STATE_DEFINE(Z_DEVICE_DT_DEV_ID(node_id)); \
Z_DEVICE_DEFINE(node_id, Z_DEVICE_DT_DEV_ID(node_id), \
DEVICE_DT_NAME(node_id), init_fn, pm, data, config, \
level, prio, api, \
&Z_DEVICE_STATE_NAME(Z_DEVICE_DT_DEV_ID(node_id)), \
__VA_ARGS__)
/**
* @brief Like DEVICE_DT_DEFINE(), but uses an instance of a `DT_DRV_COMPAT`
* compatible instead of a node identifier.
*
* @param inst Instance number. The `node_id` argument to DEVICE_DT_DEFINE() is
* set to `DT_DRV_INST(inst)`.
* @param ... Other parameters as expected by DEVICE_DT_DEFINE().
*/
#define DEVICE_DT_INST_DEFINE(inst, ...) \
DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
/**
* @brief The name of the global device object for @p node_id
*
* Returns the name of the global device structure as a C identifier. The device
* must be allocated using DEVICE_DT_DEFINE() or DEVICE_DT_INST_DEFINE() for
* this to work.
*
* This macro is normally only useful within device driver source code. In other
* situations, you are probably looking for DEVICE_DT_GET().
*
* @param node_id Devicetree node identifier
*
* @return The name of the device object as a C identifier
*/
#define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
/**
* @brief Get a @ref device reference from a devicetree node identifier.
*
* Returns a pointer to a device object created from a devicetree node, if any
* device was allocated by a driver.
*
* If no such device was allocated, this will fail at linker time. If you get an
* error that looks like `undefined reference to __device_dts_ord_<N>`, that is
* what happened. Check to make sure your device driver is being compiled,
* usually by enabling the Kconfig options it requires.
*
* @param node_id A devicetree node identifier
*
* @return A pointer to the device object created for that node
*/
#define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
/**
* @brief Get a @ref device reference for an instance of a `DT_DRV_COMPAT`
* compatible.
*
* This is equivalent to `DEVICE_DT_GET(DT_DRV_INST(inst))`.
*
* @param inst `DT_DRV_COMPAT` instance number
* @return A pointer to the device object created for that instance
*/
#define DEVICE_DT_INST_GET(inst) DEVICE_DT_GET(DT_DRV_INST(inst))
/**
* @brief Get a @ref device reference from a devicetree compatible.
*
* If an enabled devicetree node has the given compatible and a device
* object was created from it, this returns a pointer to that device.
*
* If there no such devices, this returns NULL.
*
* If there are multiple, this returns an arbitrary one.
*
* If this returns non-NULL, the device must be checked for readiness
* before use, e.g. with device_is_ready().
*
* @param compat lowercase-and-underscores devicetree compatible
* @return a pointer to a device, or NULL
*/
#define DEVICE_DT_GET_ANY(compat) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
(DEVICE_DT_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(compat))), \
(NULL))
/**
* @brief Get a @ref device reference from a devicetree compatible.
*
* If an enabled devicetree node has the given compatible and a device object
* was created from it, this returns a pointer to that device.
*
* If there are no such devices, this will fail at compile time.
*
* If there are multiple, this returns an arbitrary one.
*
* If this returns non-NULL, the device must be checked for readiness before
* use, e.g. with device_is_ready().
*
* @param compat lowercase-and-underscores devicetree compatible
* @return a pointer to a device
*/
#define DEVICE_DT_GET_ONE(compat) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
(DEVICE_DT_GET(DT_COMPAT_GET_ANY_STATUS_OKAY(compat))), \
(ZERO_OR_COMPILE_ERROR(0)))
/**
* @brief Utility macro to obtain an optional reference to a device.
*
* If the node identifier refers to a node with status `okay`, this returns
* `DEVICE_DT_GET(node_id)`. Otherwise, it returns `NULL`.
*
* @param node_id devicetree node identifier
*
* @return a @ref device reference for the node identifier, which may be `NULL`.
*/
#define DEVICE_DT_GET_OR_NULL(node_id) \
COND_CODE_1(DT_NODE_HAS_STATUS(node_id, okay), \
(DEVICE_DT_GET(node_id)), (NULL))
/**
* @brief Obtain a pointer to a device object by name
*
* @details Return the address of a device object created by
* DEVICE_DEFINE(), using the dev_id provided to DEVICE_DEFINE().
*
* @param dev_id Device identifier.
*
* @return A pointer to the device object created by DEVICE_DEFINE()
*/
#define DEVICE_GET(dev_id) (&DEVICE_NAME_GET(dev_id))
/**
* @brief Declare a static device object
*
* This macro can be used at the top-level to declare a device, such
* that DEVICE_GET() may be used before the full declaration in
* DEVICE_DEFINE().
*
* This is often useful when configuring interrupts statically in a
* device's init or per-instance config function, as the init function
* itself is required by DEVICE_DEFINE() and use of DEVICE_GET()
* inside it creates a circular dependency.
*
* @param dev_id Device identifier.
*/
#define DEVICE_DECLARE(dev_id) \
static const struct device DEVICE_NAME_GET(dev_id)
/**
* @brief Get a @ref init_entry reference from a devicetree node.
*
* @param node_id A devicetree node identifier
*
* @return A pointer to the @ref init_entry object created for that node
*/
#define DEVICE_INIT_DT_GET(node_id) \
(&Z_INIT_ENTRY_NAME(DEVICE_DT_NAME_GET(node_id)))
/**
* @brief Get a @ref init_entry reference from a device identifier.
*
* @param dev_id Device identifier.
*
* @return A pointer to the init_entry object created for that device
*/
#define DEVICE_INIT_GET(dev_id) (&Z_INIT_ENTRY_NAME(DEVICE_NAME_GET(dev_id)))
/**
* @brief Runtime device dynamic structure (in RAM) per driver instance
*
* Fields in this are expected to be default-initialized to zero. The
* kernel driver infrastructure and driver access functions are
* responsible for ensuring that any non-zero initialization is done
* before they are accessed.
*/
struct device_state {
/**
* Device initialization return code (positive errno value).
*
* Device initialization functions return a negative errno code if they
* fail. In Zephyr, errno values do not exceed 255, so we can store the
* positive result value in a uint8_t type.
*/
uint8_t init_res;
/** Indicates the device initialization function has been
* invoked.
*/
bool initialized : 1;
};
struct pm_device_base;
struct pm_device;
struct pm_device_isr;
#if defined(CONFIG_DEVICE_DT_METADATA) || defined(__DOXYGEN__)
struct device_dt_metadata;
#endif
#ifdef CONFIG_DEVICE_DEPS_DYNAMIC
#define Z_DEVICE_DEPS_CONST
#else
#define Z_DEVICE_DEPS_CONST const
#endif
/**
* @brief Runtime device structure (in ROM) per driver instance
*/
struct device {
/** Name of the device instance */
const char *name;
/** Address of device instance config information */
const void *config;
/** Address of the API structure exposed by the device instance */
const void *api;
/** Address of the common device state */
struct device_state *state;
/** Address of the device instance private data */
void *data;
#if defined(CONFIG_DEVICE_DEPS) || defined(__DOXYGEN__)
/**
* Optional pointer to dependencies associated with the device.
*
* This encodes a sequence of sets of device handles that have some
* relationship to this node. The individual sets are extracted with
* dedicated API, such as device_required_handles_get(). Only available
* if @kconfig{CONFIG_DEVICE_DEPS} is enabled.
*/
Z_DEVICE_DEPS_CONST device_handle_t *deps;
#endif /* CONFIG_DEVICE_DEPS */
#if defined(CONFIG_PM_DEVICE) || defined(__DOXYGEN__)
/**
* Reference to the device PM resources (only available if
* @kconfig{CONFIG_PM_DEVICE} is enabled).
*/
union {
struct pm_device_base *pm_base;
struct pm_device *pm;
struct pm_device_isr *pm_isr;
};
#endif
#if defined(CONFIG_DEVICE_DT_METADATA) || defined(__DOXYGEN__)
const struct device_dt_metadata *dt_meta;
#endif /* CONFIG_DEVICE_DT_METADATA */
};
/**
* @brief Get the handle for a given device
*
* @param dev the device for which a handle is desired.
*
* @return the handle for the device, or DEVICE_HANDLE_NULL if the device does
* not have an associated handle.
*/
static inline device_handle_t device_handle_get(const struct device *dev)
{
device_handle_t ret = DEVICE_HANDLE_NULL;
STRUCT_SECTION_START_EXTERN(device);
/* TODO: If/when devices can be constructed that are not part of the
* fixed sequence we'll need another solution.
*/
if (dev != NULL) {
ret = 1 + (device_handle_t)(dev - STRUCT_SECTION_START(device));
}
return ret;
}
/**
* @brief Get the device corresponding to a handle.
*
* @param dev_handle the device handle
*
* @return the device that has that handle, or a null pointer if @p dev_handle
* does not identify a device.
*/
static inline const struct device *
device_from_handle(device_handle_t dev_handle)
{
STRUCT_SECTION_START_EXTERN(device);
const struct device *dev = NULL;
size_t numdev;
STRUCT_SECTION_COUNT(device, &numdev);
if ((dev_handle > 0) && ((size_t)dev_handle <= numdev)) {
dev = &STRUCT_SECTION_START(device)[dev_handle - 1];
}
return dev;
}
#if defined(CONFIG_DEVICE_DEPS) || defined(__DOXYGEN__)
/**
* @brief Prototype for functions used when iterating over a set of devices.
*
* Such a function may be used in API that identifies a set of devices and
* provides a visitor API supporting caller-specific interaction with each
* device in the set.
*
* The visit is said to succeed if the visitor returns a non-negative value.
*
* @param dev a device in the set being iterated
* @param context state used to support the visitor function
*
* @return A non-negative number to allow walking to continue, and a negative
* error code to case the iteration to stop.
*
* @see device_required_foreach()
* @see device_supported_foreach()
*/
typedef int (*device_visitor_callback_t)(const struct device *dev,
void *context);
/**
* @brief Get the device handles for devicetree dependencies of this device.
*
* This function returns a pointer to an array of device handles. The length of
* the array is stored in the @p count parameter.
*
* The array contains a handle for each device that @p dev requires directly, as
* determined from the devicetree. This does not include transitive
* dependencies; you must recursively determine those.
*
* @param dev the device for which dependencies are desired.
* @param count pointer to where this function should store the length of the
* returned array. No value is stored if the call returns a null pointer. The
* value may be set to zero if the device has no devicetree dependencies.
*
* @return a pointer to a sequence of @p count device handles, or a null pointer
* if @p dev does not have any dependency data.
*/
static inline const device_handle_t *
device_required_handles_get(const struct device *dev, size_t *count)
{
const device_handle_t *rv = dev->deps;
if (rv != NULL) {
size_t i = 0;
while ((rv[i] != Z_DEVICE_DEPS_ENDS) &&
(rv[i] != Z_DEVICE_DEPS_SEP)) {
++i;
}
*count = i;
}
return rv;
}
/**
* @brief Get the device handles for injected dependencies of this device.
*
* This function returns a pointer to an array of device handles. The length of
* the array is stored in the @p count parameter.
*
* The array contains a handle for each device that @p dev manually injected as
* a dependency, via providing extra arguments to Z_DEVICE_DEFINE. This does not
* include transitive dependencies; you must recursively determine those.
*
* @param dev the device for which injected dependencies are desired.
* @param count pointer to where this function should store the length of the
* returned array. No value is stored if the call returns a null pointer. The
* value may be set to zero if the device has no devicetree dependencies.
*
* @return a pointer to a sequence of @p *count device handles, or a null
* pointer if @p dev does not have any dependency data.
*/
static inline const device_handle_t *
device_injected_handles_get(const struct device *dev, size_t *count)
{
const device_handle_t *rv = dev->deps;
size_t region = 0;
size_t i = 0;
if (rv != NULL) {
/* Fast forward to injected devices */
while (region != 1) {
if (*rv == Z_DEVICE_DEPS_SEP) {
region++;
}
rv++;
}
while ((rv[i] != Z_DEVICE_DEPS_ENDS) &&
(rv[i] != Z_DEVICE_DEPS_SEP)) {
++i;
}
*count = i;
}
return rv;
}
/**
* @brief Get the set of handles that this device supports.
*
* This function returns a pointer to an array of device handles. The length of
* the array is stored in the @p count parameter.
*
* The array contains a handle for each device that @p dev "supports" -- that
* is, devices that require @p dev directly -- as determined from the
* devicetree. This does not include transitive dependencies; you must
* recursively determine those.
*
* @param dev the device for which supports are desired.
* @param count pointer to where this function should store the length of the
* returned array. No value is stored if the call returns a null pointer. The
* value may be set to zero if nothing in the devicetree depends on @p dev.
*
* @return a pointer to a sequence of @p *count device handles, or a null
* pointer if @p dev does not have any dependency data.
*/
static inline const device_handle_t *
device_supported_handles_get(const struct device *dev, size_t *count)
{
const device_handle_t *rv = dev->deps;
size_t region = 0;
size_t i = 0;
if (rv != NULL) {
/* Fast forward to supporting devices */
while (region != 2) {
if (*rv == Z_DEVICE_DEPS_SEP) {
region++;
}
rv++;
}
/* Count supporting devices.
* Trailing NULL's can be injected by gen_device_deps.py due to
* CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC_NUM
*/
while ((rv[i] != Z_DEVICE_DEPS_ENDS) &&
(rv[i] != DEVICE_HANDLE_NULL)) {
++i;
}
*count = i;
}
return rv;
}
/**
* @brief Visit every device that @p dev directly requires.
*
* Zephyr maintains information about which devices are directly required by
* another device; for example an I2C-based sensor driver will require an I2C
* controller for communication. Required devices can derive from
* statically-defined devicetree relationships or dependencies registered at
* runtime.
*
* This API supports operating on the set of required devices. Example uses
* include making sure required devices are ready before the requiring device is
* used, and releasing them when the requiring device is no longer needed.
*
* There is no guarantee on the order in which required devices are visited.
*
* If the @p visitor_cb function returns a negative value iteration is halted,
* and the returned value from the visitor is returned from this function.
*
* @note This API is not available to unprivileged threads.
*
* @param dev a device of interest. The devices that this device depends on will
* be used as the set of devices to visit. This parameter must not be null.
* @param visitor_cb the function that should be invoked on each device in the
* dependency set. This parameter must not be null.
* @param context state that is passed through to the visitor function. This
* parameter may be null if @p visitor_cb tolerates a null @p context.
*
* @return The number of devices that were visited if all visits succeed, or
* the negative value returned from the first visit that did not succeed.
*/
int device_required_foreach(const struct device *dev,
device_visitor_callback_t visitor_cb,
void *context);
/**
* @brief Visit every device that @p dev directly supports.
*
* Zephyr maintains information about which devices are directly supported by
* another device; for example an I2C controller will support an I2C-based
* sensor driver. Supported devices can derive from statically-defined
* devicetree relationships.
*
* This API supports operating on the set of supported devices. Example uses
* include iterating over the devices connected to a regulator when it is
* powered on.
*
* There is no guarantee on the order in which required devices are visited.
*
* If the @p visitor_cb function returns a negative value iteration is halted,
* and the returned value from the visitor is returned from this function.
*
* @note This API is not available to unprivileged threads.
*
* @param dev a device of interest. The devices that this device supports
* will be used as the set of devices to visit. This parameter must not be null.
* @param visitor_cb the function that should be invoked on each device in the
* support set. This parameter must not be null.
* @param context state that is passed through to the visitor function. This
* parameter may be null if @p visitor_cb tolerates a null @p context.
*
* @return The number of devices that were visited if all visits succeed, or the
* negative value returned from the first visit that did not succeed.
*/
int device_supported_foreach(const struct device *dev,
device_visitor_callback_t visitor_cb,
void *context);
#endif /* CONFIG_DEVICE_DEPS */
/**
* @brief Get a @ref device reference from its @ref device.name field.
*
* This function iterates through the devices on the system. If a device with
* the given @p name field is found, and that device initialized successfully at
* boot time, this function returns a pointer to the device.
*
* If no device has the given @p name, this function returns `NULL`.
*
* This function also returns NULL when a device is found, but it failed to
* initialize successfully at boot time. (To troubleshoot this case, set a
* breakpoint on your device driver's initialization function.)
*
* @param name device name to search for. A null pointer, or a pointer to an
* empty string, will cause NULL to be returned.
*
* @return pointer to device structure with the given name; `NULL` if the device
* is not found or if the device with that name's initialization function
* failed.
*/
__syscall const struct device *device_get_binding(const char *name);
/**
* @brief Get access to the static array of static devices.
*
* @param devices where to store the pointer to the array of statically
* allocated devices. The array must not be mutated through this pointer.
*
* @return the number of statically allocated devices.
*/
size_t z_device_get_all_static(const struct device **devices);
/**
* @brief Verify that a device is ready for use.
*
* Indicates whether the provided device pointer is for a device known to be
* in a state where it can be used with its standard API.
*
* This can be used with device pointers captured from DEVICE_DT_GET(), which
* does not include the readiness checks of device_get_binding(). At minimum
* this means that the device has been successfully initialized.
*
* @param dev pointer to the device in question.
*
* @retval true If the device is ready for use.
* @retval false If the device is not ready for use or if a NULL device pointer
* is passed as argument.
*/
__syscall bool device_is_ready(const struct device *dev);
/**
* @brief Initialize a device.
*
* A device whose initialization was deferred (by marking it as
* ``zephyr,deferred-init`` on devicetree) needs to be initialized manually via
* this call. Note that only devices whose initialization was deferred can be
* initialized via this call - one can not try to initialize a non
* initialization deferred device that failed initialization with this call.
*
* @param dev device to be initialized.
*
* @retval -ENOENT If device was not found - or isn't a deferred one.
* @retval -errno For other errors.
*/
__syscall int device_init(const struct device *dev);
/**
* @}
*/
/** @cond INTERNAL_HIDDEN */
/**
* @brief Synthesize a unique name for the device state associated with
* @p dev_id.
*/
#define Z_DEVICE_STATE_NAME(dev_id) _CONCAT(__devstate_, dev_id)
/**
* @brief Utility macro to define and initialize the device state.
*
* @param dev_id Device identifier.
*/
#define Z_DEVICE_STATE_DEFINE(dev_id) \
static Z_DECL_ALIGN(struct device_state) Z_DEVICE_STATE_NAME(dev_id) \
__attribute__((__section__(".z_devstate")))
#if defined(CONFIG_DEVICE_DEPS) || defined(__DOXYGEN__)
/**
* @brief Synthesize the name of the object that holds device ordinal and
* dependency data.
*
* @param dev_id Device identifier.
*/
#define Z_DEVICE_DEPS_NAME(dev_id) _CONCAT(__devicedeps_, dev_id)
/**
* @brief Expand extra dependencies with a comma in between.
*
* @param ... Extra dependencies.
*/
#define Z_DEVICE_EXTRA_DEPS(...) \
FOR_EACH_NONEMPTY_TERM(IDENTITY, (,), __VA_ARGS__)
/** @brief Linker section were device dependencies are placed. */
#define Z_DEVICE_DEPS_SECTION \
__attribute__((__section__(".__device_deps_pass1")))
#ifdef __cplusplus
#define Z_DEVICE_DEPS_EXTERN extern
#else
#define Z_DEVICE_DEPS_EXTERN
#endif
/**
* @brief Define device dependencies.
*
* Initial build provides a record that associates the device object with its
* devicetree ordinal, and provides the dependency ordinals. These are provided
* as weak definitions (to prevent the reference from being captured when the
* original object file is compiled), and in a distinct pass1 section (which
* will be replaced by postprocessing).
*
* Before processing in gen_device_deps.py, the array format is:
* {
* DEVICE_ORDINAL (or DEVICE_HANDLE_NULL if not a devicetree node),
* List of devicetree dependency ordinals (if any),
* Z_DEVICE_DEPS_SEP,
* List of injected dependency ordinals (if any),
* Z_DEVICE_DEPS_SEP,
* List of devicetree supporting ordinals (if any),
* }
*
* After processing in gen_device_deps.py, the format is updated to:
* {
* List of existing devicetree dependency handles (if any),
* Z_DEVICE_DEPS_SEP,
* List of injected devicetree dependency handles (if any),
* Z_DEVICE_DEPS_SEP,
* List of existing devicetree support handles (if any),
* DEVICE_HANDLE_NULL
* }
*
* It is also (experimentally) necessary to provide explicit alignment on each
* object. Otherwise x86-64 builds will introduce padding between objects in the
* same input section in individual object files, which will be retained in
* subsequent links both wasting space and resulting in aggregate size changes
* relative to pass2 when all objects will be in the same input section.
*/
#define Z_DEVICE_DEPS_DEFINE(node_id, dev_id, ...) \
extern Z_DEVICE_DEPS_CONST device_handle_t Z_DEVICE_DEPS_NAME( \
dev_id)[]; \
Z_DEVICE_DEPS_CONST Z_DECL_ALIGN(device_handle_t) \
Z_DEVICE_DEPS_SECTION Z_DEVICE_DEPS_EXTERN __weak \
Z_DEVICE_DEPS_NAME(dev_id)[] = { \
COND_CODE_1( \
DT_NODE_EXISTS(node_id), \
(DT_DEP_ORD(node_id), DT_REQUIRES_DEP_ORDS(node_id)), \
(DEVICE_HANDLE_NULL,)) /**/ \
Z_DEVICE_DEPS_SEP, \
Z_DEVICE_EXTRA_DEPS(__VA_ARGS__) /**/ \
Z_DEVICE_DEPS_SEP, \
COND_CODE_1(DT_NODE_EXISTS(node_id), \
(DT_SUPPORTS_DEP_ORDS(node_id)), ()) /**/ \
}
#endif /* CONFIG_DEVICE_DEPS */
#if defined(CONFIG_DEVICE_DT_METADATA) || defined(__DOXYGEN__)
/**
* @brief Devicetree node labels associated with a device
*/
struct device_dt_nodelabels {
/* @brief number of elements in the nodelabels array */
size_t num_nodelabels;
/* @brief array of node labels as strings, exactly as they
* appear in the final devicetree
*/
const char *nodelabels[];
};
/**
* @brief Devicetree metadata associated with a device
*
* This is currently limited to node labels, but the structure is
* generic enough to be extended later without requiring breaking
* changes.
*/
struct device_dt_metadata {
/**
* @brief Node labels associated with the device
* @see device_get_dt_nodelabels()
*/
const struct device_dt_nodelabels *nl;
};
/**
* @brief Get a @ref device reference from a devicetree node label.
*
* If:
*
* 1. a device was defined from a devicetree node, for example
* with DEVICE_DT_DEFINE() or another similar macro, and
* 2. that devicetree node has @p nodelabel as one of its node labels, and
* 3. the device initialized successfully at boot time,
*
* then this function returns a pointer to the device. Otherwise, it
* returns NULL.
*
* @param nodelabel a devicetree node label
* @return a device reference for a device created from a node with that
* node label, or NULL if either no such device exists or the device
* failed to initialize
*/
__syscall const struct device *device_get_by_dt_nodelabel(const char *nodelabel);
/**
* @brief Get the devicetree node labels associated with a device
* @param dev device whose metadata to look up
* @return information about the devicetree node labels or NULL if not available
*/
static inline const struct device_dt_nodelabels *
device_get_dt_nodelabels(const struct device *dev)
{
if (dev->dt_meta == NULL) {
return NULL;
}
return dev->dt_meta->nl;
}
/**
* @brief Maximum devicetree node label length.
*
* The maximum length is set so that device_get_by_dt_nodelabel() can
* be used from userspace.
*/
#define Z_DEVICE_MAX_NODELABEL_LEN Z_DEVICE_MAX_NAME_LEN
/**
* @brief Name of the identifier for a device's DT metadata structure
* @param dev_id device identifier
*/
#define Z_DEVICE_DT_METADATA_NAME_GET(dev_id) UTIL_CAT(__dev_dt_meta_, dev_id)
/**
* @brief Name of the identifier for the array of node label strings
* saved for a device.
*/
#define Z_DEVICE_DT_NODELABELS_NAME_GET(dev_id) UTIL_CAT(__dev_dt_nodelabels_, dev_id)
/**
* @brief Initialize an entry in the device DT node label lookup table
*
* Allocates and initializes a struct device_dt_metadata in the
* appropriate iterable section for use finding devices.
*/
#define Z_DEVICE_DT_METADATA_DEFINE(node_id, dev_id) \
static const struct device_dt_nodelabels \
Z_DEVICE_DT_NODELABELS_NAME_GET(dev_id) = { \
.num_nodelabels = DT_NUM_NODELABELS(node_id), \
.nodelabels = DT_NODELABEL_STRING_ARRAY(node_id), \
}; \
\
static const struct device_dt_metadata \
Z_DEVICE_DT_METADATA_NAME_GET(dev_id) = { \
.nl = &Z_DEVICE_DT_NODELABELS_NAME_GET(dev_id), \
};
#endif /* CONFIG_DEVICE_DT_METADATA */
/**
* @brief Init sub-priority of the device
*
* The sub-priority is defined by the devicetree ordinal, which ensures that
* multiple drivers running at the same priority level run in an order that
* respects the devicetree dependencies.
*/
#define Z_DEVICE_INIT_SUB_PRIO(node_id) \
COND_CODE_1(DT_NODE_EXISTS(node_id), \
(DT_DEP_ORD_STR_SORTABLE(node_id)), (0))
/**
* @brief Maximum device name length.
*
* The maximum length is set so that device_get_binding() can be used from
* userspace.
*/
#define Z_DEVICE_MAX_NAME_LEN 48U
/**
* @brief Compile time check for device name length
*
* @param name Device name.
*/
#define Z_DEVICE_NAME_CHECK(name) \
BUILD_ASSERT(sizeof(Z_STRINGIFY(name)) <= Z_DEVICE_MAX_NAME_LEN, \
Z_STRINGIFY(DEVICE_NAME_GET(name)) " too long")
/**
* @brief Initializer for @ref device.
*
* @param name_ Name of the device.
* @param pm_ Reference to @ref pm_device_base (optional).
* @param data_ Reference to device data.
* @param config_ Reference to device config.
* @param api_ Reference to device API ops.
* @param state_ Reference to device state.
* @param deps_ Reference to device dependencies.
* @param node_id_ Devicetree node identifier
* @param dev_id_ Device identifier token, as passed to Z_DEVICE_BASE_DEFINE
*/
#define Z_DEVICE_INIT(name_, pm_, data_, config_, api_, state_, deps_, node_id_, \
dev_id_) \
{ \
.name = name_, \
.config = (config_), \
.api = (api_), \
.state = (state_), \
.data = (data_), \
IF_ENABLED(CONFIG_DEVICE_DEPS, (.deps = (deps_),)) /**/ \
IF_ENABLED(CONFIG_PM_DEVICE, Z_DEVICE_INIT_PM_BASE(pm_)) /**/ \
IF_ENABLED(CONFIG_DEVICE_DT_METADATA, \
(IF_ENABLED(DT_NODE_EXISTS(node_id_), \
(.dt_meta = &Z_DEVICE_DT_METADATA_NAME_GET( \
dev_id_),)))) \
}
/*
* Anonymous unions require C11. Some pre-C11 gcc versions have early support for anonymous
* unions but they require these braces when combined with C99 designated initializers. For
* more details see path_to_url
*/
#if defined(__STDC_VERSION__) && (__STDC_VERSION__) < 201100
# define Z_DEVICE_INIT_PM_BASE(pm_) ({ .pm_base = (pm_),},)
#else
# define Z_DEVICE_INIT_PM_BASE(pm_) (.pm_base = (pm_),)
#endif
/**
* @brief Device section name (used for sorting purposes).
*
* @param level Initialization level
* @param prio Initialization priority
*/
#define Z_DEVICE_SECTION_NAME(level, prio) \
_CONCAT(INIT_LEVEL_ORD(level), _##prio)
/**
* @brief Define a @ref device
*
* @param node_id Devicetree node id for the device (DT_INVALID_NODE if a
* software device).
* @param dev_id Device identifier (used to name the defined @ref device).
* @param name Name of the device.
* @param pm Reference to @ref pm_device_base associated with the device.
* (optional).
* @param data Reference to device data.
* @param config Reference to device config.
* @param level Initialization level.
* @param prio Initialization priority.
* @param api Reference to device API.
* @param ... Optional dependencies, manually specified.
*/
#define Z_DEVICE_BASE_DEFINE(node_id, dev_id, name, pm, data, config, level, prio, api, state, \
deps) \
COND_CODE_1(DT_NODE_EXISTS(node_id), (), (static)) \
COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (), (const)) \
STRUCT_SECTION_ITERABLE_NAMED_ALTERNATE( \
device, COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (device_mutable), (device)), \
Z_DEVICE_SECTION_NAME(level, prio), DEVICE_NAME_GET(dev_id)) = \
Z_DEVICE_INIT(name, pm, data, config, api, state, deps, node_id, dev_id)
/**
* @brief Issue an error if the given init level is not supported.
*
* @param level Init level
*/
#define Z_DEVICE_CHECK_INIT_LEVEL(level) \
COND_CODE_1(Z_INIT_PRE_KERNEL_1_##level, (), \
(COND_CODE_1(Z_INIT_PRE_KERNEL_2_##level, (), \
(COND_CODE_1(Z_INIT_POST_KERNEL_##level, (), \
(ZERO_OR_COMPILE_ERROR(0)))))))
/**
* @brief Define the init entry for a device.
*
* @param node_id Devicetree node id for the device (DT_INVALID_NODE if a
* software device).
* @param dev_id Device identifier.
* @param init_fn_ Device init function.
* @param level Initialization level.
* @param prio Initialization priority.
*/
#define Z_DEVICE_INIT_ENTRY_DEFINE(node_id, dev_id, init_fn_, level, prio) \
Z_DEVICE_CHECK_INIT_LEVEL(level) \
\
static const Z_DECL_ALIGN(struct init_entry) __used __noasan Z_INIT_ENTRY_SECTION( \
level, prio, Z_DEVICE_INIT_SUB_PRIO(node_id)) \
Z_INIT_ENTRY_NAME(DEVICE_NAME_GET(dev_id)) = { \
.init_fn = {COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (.dev_rw), (.dev)) = \
(init_fn_)}, \
Z_DEVICE_INIT_ENTRY_DEV(node_id, dev_id), \
}
#define Z_DEFER_DEVICE_INIT_ENTRY_DEFINE(node_id, dev_id, init_fn_) \
static const Z_DECL_ALIGN(struct init_entry) __used __noasan \
__attribute__((__section__(".z_deferred_init"))) \
Z_INIT_ENTRY_NAME(DEVICE_NAME_GET(dev_id)) = { \
.init_fn = {COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (.dev_rw), (.dev)) = \
(init_fn_)}, \
Z_DEVICE_INIT_ENTRY_DEV(node_id, dev_id), \
}
/*
* Anonymous unions require C11. Some pre-C11 gcc versions have early support for anonymous
* unions but they require these braces when combined with C99 designated initializers. For
* more details see path_to_url
*/
#if defined(__STDC_VERSION__) && (__STDC_VERSION__) < 201100
# define Z_DEVICE_INIT_ENTRY_DEV(node_id, dev_id) { Z_DEV_ENTRY_DEV(node_id, dev_id) }
#else
# define Z_DEVICE_INIT_ENTRY_DEV(node_id, dev_id) Z_DEV_ENTRY_DEV(node_id, dev_id)
#endif
#define Z_DEV_ENTRY_DEV(node_id, dev_id) \
COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (.dev_rw), (.dev)) = &DEVICE_NAME_GET(dev_id)
/**
* @brief Define a @ref device and all other required objects.
*
* This is the common macro used to define @ref device objects. It can be used
* to define both Devicetree and software devices.
*
* @param node_id Devicetree node id for the device (DT_INVALID_NODE if a
* software device).
* @param dev_id Device identifier (used to name the defined @ref device).
* @param name Name of the device.
* @param init_fn Device init function.
* @param pm Reference to @ref pm_device_base associated with the device.
* (optional).
* @param data Reference to device data.
* @param config Reference to device config.
* @param level Initialization level.
* @param prio Initialization priority.
* @param api Reference to device API.
* @param state Reference to device state.
* @param ... Optional dependencies, manually specified.
*/
#define Z_DEVICE_DEFINE(node_id, dev_id, name, init_fn, pm, data, config, \
level, prio, api, state, ...) \
Z_DEVICE_NAME_CHECK(name); \
\
IF_ENABLED(CONFIG_DEVICE_DEPS, \
(Z_DEVICE_DEPS_DEFINE(node_id, dev_id, __VA_ARGS__);)) \
\
IF_ENABLED(CONFIG_DEVICE_DT_METADATA, \
(IF_ENABLED(DT_NODE_EXISTS(node_id), \
(Z_DEVICE_DT_METADATA_DEFINE(node_id, dev_id);))))\
\
Z_DEVICE_BASE_DEFINE(node_id, dev_id, name, pm, data, config, level, \
prio, api, state, Z_DEVICE_DEPS_NAME(dev_id)); \
COND_CODE_1(DEVICE_DT_DEFER(node_id), \
(Z_DEFER_DEVICE_INIT_ENTRY_DEFINE(node_id, dev_id, \
init_fn)), \
(Z_DEVICE_INIT_ENTRY_DEFINE(node_id, dev_id, init_fn, \
level, prio)));
/**
* @brief Declare a device for each status "okay" devicetree node.
*
* @note Disabled nodes should not result in devices, so not predeclaring these
* keeps drivers honest.
*
* This is only "maybe" a device because some nodes have status "okay", but
* don't have a corresponding @ref device allocated. There's no way to figure
* that out until after we've built the zephyr image, though.
*/
#define Z_MAYBE_DEVICE_DECLARE_INTERNAL(node_id) \
extern COND_CODE_1(Z_DEVICE_IS_MUTABLE(node_id), (), \
(const)) struct device DEVICE_DT_NAME_GET(node_id);
DT_FOREACH_STATUS_OKAY_NODE(Z_MAYBE_DEVICE_DECLARE_INTERNAL)
/** @endcond */
#ifdef __cplusplus
}
#endif
#include <zephyr/syscalls/device.h>
#endif /* ZEPHYR_INCLUDE_DEVICE_H_ */
``` | /content/code_sandbox/include/zephyr/device.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 10,140 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYSCALL_H_
#define ZEPHYR_INCLUDE_SYSCALL_H_
#include <zephyr/syscall_list.h>
#include <zephyr/arch/syscall.h>
#include <stdbool.h>
#ifndef _ASMLANGUAGE
#include <zephyr/types.h>
#include <zephyr/linker/sections.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* System Call Declaration macros
*
* These macros are used in public header files to declare system calls.
* They generate inline functions which have different implementations
* depending on the current compilation context:
*
* - Kernel-only code, or CONFIG_USERSPACE disabled, these inlines will
* directly call the implementation
* - User-only code, these inlines will marshal parameters and elevate
* privileges
* - Mixed or indeterminate code, these inlines will do a runtime check
* to determine what course of action is needed.
*
* All system calls require a verifier function and an implementation
* function. These must follow a naming convention. For a system call
* named k_foo():
*
* - The handler function will be named z_vrfy_k_foo(). Handler
* functions have the same type signature as the wrapped call,
* verify arguments passed up from userspace, and call the
* implementation function. See documentation for that typedef for
* more information. - The implementation function will be named
* z_impl_k_foo(). This is the actual implementation of the system
* call.
*/
/**
* @typedef _k_syscall_handler_t
* @brief System call handler function type
*
* These are kernel-side skeleton functions for system calls. They are
* necessary to sanitize the arguments passed into the system call:
*
* - Any kernel object or device pointers are validated with _SYSCALL_IS_OBJ()
* - Any memory buffers passed in are checked to ensure that the calling thread
* actually has access to them
* - Many kernel calls do no sanity checking of parameters other than
* assertions. The handler must check all of these conditions using
* _SYSCALL_ASSERT()
* - If the system call has more than 6 arguments, then arg6 will be a pointer
* to some struct containing arguments 6+. The struct itself needs to be
* validated like any other buffer passed in from userspace, and its members
* individually validated (if necessary) and then passed to the real
* implementation like normal arguments
*
* Even if the system call implementation has no return value, these always
* return something, even 0, to prevent register leakage to userspace.
*
* Once everything has been validated, the real implementation will be executed.
*
* @param arg1 system call argument 1
* @param arg2 system call argument 2
* @param arg3 system call argument 3
* @param arg4 system call argument 4
* @param arg5 system call argument 5
* @param arg6 system call argument 6
* @param ssf System call stack frame pointer. Used to generate kernel oops
* via _arch_syscall_oops_at(). Contents are arch-specific.
* @return system call return value, or 0 if the system call implementation
* return void
*
*/
typedef uintptr_t (*_k_syscall_handler_t)(uintptr_t arg1, uintptr_t arg2,
uintptr_t arg3, uintptr_t arg4,
uintptr_t arg5, uintptr_t arg6,
void *ssf);
/* True if a syscall function must trap to the kernel, usually a
* compile-time decision.
*/
static ALWAYS_INLINE bool z_syscall_trap(void)
{
bool ret = false;
#ifdef CONFIG_USERSPACE
#if defined(__ZEPHYR_SUPERVISOR__)
ret = false;
#elif defined(__ZEPHYR_USER__)
ret = true;
#else
ret = arch_is_user_context();
#endif
#endif
return ret;
}
/**
* Indicate whether the CPU is currently in user mode
*
* @return true if the CPU is currently running with user permissions
*/
__pinned_func
static inline bool k_is_user_context(void)
{
#ifdef CONFIG_USERSPACE
return arch_is_user_context();
#else
return false;
#endif
}
#ifdef __cplusplus
}
#endif
#endif /* _ASMLANGUAGE */
#endif
``` | /content/code_sandbox/include/zephyr/syscall.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 913 |
```objective-c
/*
*
* Not a generated file. Feel free to modify.
*/
/**
* @file
* @brief Devicetree main header
*
* API for accessing the current application's devicetree macros.
*/
#ifndef DEVICETREE_H
#define DEVICETREE_H
#include <zephyr/devicetree_generated.h>
#include <zephyr/irq_multilevel.h>
#if !defined(_LINKER) && !defined(_ASMLANGUAGE)
#include <stdint.h>
#endif
#include <zephyr/sys/util.h>
/**
* @brief devicetree.h API
* @defgroup devicetree Devicetree
* @since 2.2
* @version 1.1.0
* @{
* @}
*/
/*
* Property suffixes
* -----------------
*
* These are the optional parts that come after the _P_<property>
* part in DT_N_<path-id>_P_<property-id> macros, or the "prop-suf"
* nonterminal in the DT guide's macros.bnf file.
*
* Before adding new ones, check this list to avoid conflicts. If any
* are missing from this list, please add them. It should be complete.
*
* _ENUM_IDX: property's value as an index into bindings enum
* _ENUM_VAL_<val>_EXISTS property's value as a token exists
* _ENUM_TOKEN: property's value as a token into bindings enum (string
* enum values are identifiers) [deprecated, use _STRING_TOKEN]
* _ENUM_UPPER_TOKEN: like _ENUM_TOKEN, but uppercased [deprecated, use
* _STRING_UPPER_TOKEN]
* _EXISTS: property is defined
* _FOREACH_PROP_ELEM: helper for "iterating" over values in the property
* _FOREACH_PROP_ELEM_VARGS: foreach functions with variable number of arguments
* _IDX_<i>: logical index into property
* _IDX_<i>_EXISTS: logical index into property is defined
* _IDX_<i>_PH: phandle array's phandle by index (or phandle, phandles)
* _IDX_<i>_STRING_TOKEN: string array element value as a token
* _IDX_<i>_STRING_UPPER_TOKEN: string array element value as a uppercased token
* _IDX <i>_STRING_UNQUOTED: string array element value as a sequence of tokens, with no quotes
* _IDX_<i>_VAL_<val>: phandle array's specifier value by index
* _IDX_<i>_VAL_<val>_EXISTS: cell value exists, by index
* _LEN: property logical length
* _NAME_<name>_PH: phandle array's phandle by name
* _NAME_<name>_VAL_<val>: phandle array's property specifier by name
* _NAME_<name>_VAL_<val>_EXISTS: cell value exists, by name
* _STRING_TOKEN: string property's value as a token
* _STRING_UPPER_TOKEN: like _STRING_TOKEN, but uppercased
* _STRING_UNQUOTED: string property's value as a sequence of tokens, with no quotes
*/
/**
* @defgroup devicetree-generic-id Node identifiers and helpers
* @ingroup devicetree
* @{
*/
/**
* @brief Name for an invalid node identifier
*
* This supports cases where factored macros can be invoked from paths where
* devicetree data may or may not be available. It is a preprocessor identifier
* that does not match any valid devicetree node identifier.
*/
#define DT_INVALID_NODE _
/**
* @brief Node identifier for the root node in the devicetree
*/
#define DT_ROOT DT_N
/**
* @brief Get a node identifier for a devicetree path
*
* @note This macro returns a node identifier from path components. To get
* a path string from a node identifier, use DT_NODE_PATH() instead.
*
* The arguments to this macro are the names of non-root nodes in the
* tree required to reach the desired node, starting from the root.
* Non-alphanumeric characters in each name must be converted to
* underscores to form valid C tokens, and letters must be lowercased.
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* soc {
* serial1: serial@40001000 {
* status = "okay";
* current-speed = <115200>;
* ...
* };
* };
* };
* @endcode
*
* You can use `DT_PATH(soc, serial_40001000)` to get a node identifier
* for the `serial@40001000` node. Node labels like `serial1` cannot be
* used as DT_PATH() arguments; use DT_NODELABEL() for those instead.
*
* Example usage with DT_PROP() to get the `current-speed` property:
*
* @code{.c}
* DT_PROP(DT_PATH(soc, serial_40001000), current_speed) // 115200
* @endcode
*
* (The `current-speed` property is also in `lowercase-and-underscores`
* form when used with this API.)
*
* When determining arguments to DT_PATH():
*
* - the first argument corresponds to a child node of the root (`soc` above)
* - a second argument corresponds to a child of the first argument
* (`serial_40001000` above, from the node name `serial@40001000`
* after lowercasing and changing `@` to `_`)
* - and so on for deeper nodes in the desired node's path
*
* @param ... lowercase-and-underscores node names along the node's path,
* with each name given as a separate argument
* @return node identifier for the node with that path
*/
#define DT_PATH(...) DT_PATH_INTERNAL(__VA_ARGS__)
/**
* @brief Get a node identifier for a node label
*
* Convert non-alphanumeric characters in the node label to
* underscores to form valid C tokens, and lowercase all letters. Note
* that node labels are not the same thing as label properties.
*
* Example devicetree fragment:
*
* @code{.dts}
* serial1: serial@40001000 {
* label = "UART_0";
* status = "okay";
* current-speed = <115200>;
* ...
* };
* @endcode
*
* The only node label in this example is `serial1`.
*
* The string `UART_0` is *not* a node label; it's the value of a
* property named label.
*
* You can use `DT_NODELABEL(serial1)` to get a node identifier for the
* `serial@40001000` node. Example usage with DT_PROP() to get the
* current-speed property:
*
* @code{.c}
* DT_PROP(DT_NODELABEL(serial1), current_speed) // 115200
* @endcode
*
* Another example devicetree fragment:
*
* @code{.dts}
* cpu@0 {
* L2_0: l2-cache {
* cache-level = <2>;
* ...
* };
* };
* @endcode
*
* Example usage to get the cache-level property:
*
* @code{.c}
* DT_PROP(DT_NODELABEL(l2_0), cache_level) // 2
* @endcode
*
* Notice how `L2_0` in the devicetree is lowercased to `l2_0` in the
* DT_NODELABEL() argument.
*
* @param label lowercase-and-underscores node label name
* @return node identifier for the node with that label
*/
#define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
/**
* @brief Get a node identifier from /aliases
*
* This macro's argument is a property of the `/aliases` node. It
* returns a node identifier for the node which is aliased. Convert
* non-alphanumeric characters in the alias property to underscores to
* form valid C tokens, and lowercase all letters.
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* aliases {
* my-serial = &serial1;
* };
*
* soc {
* serial1: serial@40001000 {
* status = "okay";
* current-speed = <115200>;
* ...
* };
* };
* };
* @endcode
*
* You can use DT_ALIAS(my_serial) to get a node identifier for the
* `serial@40001000` node. Notice how `my-serial` in the devicetree
* becomes `my_serial` in the DT_ALIAS() argument. Example usage with
* DT_PROP() to get the current-speed property:
*
* @code{.c}
* DT_PROP(DT_ALIAS(my_serial), current_speed) // 115200
* @endcode
*
* @param alias lowercase-and-underscores alias name.
* @return node identifier for the node with that alias
*/
#define DT_ALIAS(alias) DT_CAT(DT_N_ALIAS_, alias)
/**
* @brief Get a node identifier for an instance of a compatible
*
* All nodes with a particular compatible property value are assigned
* instance numbers, which are zero-based indexes specific to that
* compatible. You can get a node identifier for these nodes by
* passing DT_INST() an instance number, @p inst, along with the
* lowercase-and-underscores version of the compatible, @p compat.
*
* Instance numbers have the following properties:
*
* - for each compatible, instance numbers start at 0 and are contiguous
* - exactly one instance number is assigned for each node with a compatible,
* **including disabled nodes**
* - enabled nodes (status property is `okay` or missing) are assigned the
* instance numbers starting from 0, and disabled nodes have instance
* numbers which are greater than those of any enabled node
*
* No other guarantees are made. In particular:
*
* - instance numbers **in no way reflect** any numbering scheme that
* might exist in SoC documentation, node labels or unit addresses,
* or properties of the /aliases node (use DT_NODELABEL() or DT_ALIAS()
* for those)
* - there **is no general guarantee** that the same node will have
* the same instance number between builds, even if you are building
* the same application again in the same build directory
*
* Example devicetree fragment:
*
* @code{.dts}
* serial1: serial@40001000 {
* compatible = "vnd,soc-serial";
* status = "disabled";
* current-speed = <9600>;
* ...
* };
*
* serial2: serial@40002000 {
* compatible = "vnd,soc-serial";
* status = "okay";
* current-speed = <57600>;
* ...
* };
*
* serial3: serial@40003000 {
* compatible = "vnd,soc-serial";
* current-speed = <115200>;
* ...
* };
* @endcode
*
* Assuming no other nodes in the devicetree have compatible
* `"vnd,soc-serial"`, that compatible has nodes with instance numbers
* 0, 1, and 2.
*
* The nodes `serial@40002000` and `serial@40003000` are both enabled, so
* their instance numbers are 0 and 1, but no guarantees are made
* regarding which node has which instance number.
*
* Since `serial@40001000` is the only disabled node, it has instance
* number 2, since disabled nodes are assigned the largest instance
* numbers. Therefore:
*
* @code{.c}
* // Could be 57600 or 115200. There is no way to be sure:
* // either serial@40002000 or serial@40003000 could
* // have instance number 0, so this could be the current-speed
* // property of either of those nodes.
* DT_PROP(DT_INST(0, vnd_soc_serial), current_speed)
*
* // Could be 57600 or 115200, for the same reason.
* // If the above expression expands to 57600, then
* // this expands to 115200, and vice-versa.
* DT_PROP(DT_INST(1, vnd_soc_serial), current_speed)
*
* // 9600, because there is only one disabled node, and
* // disabled nodes are "at the end" of the instance
* // number "list".
* DT_PROP(DT_INST(2, vnd_soc_serial), current_speed)
* @endcode
*
* Notice how `"vnd,soc-serial"` in the devicetree becomes `vnd_soc_serial`
* (without quotes) in the DT_INST() arguments. (As usual, `current-speed`
* in the devicetree becomes `current_speed` as well.)
*
* Nodes whose `compatible` property has multiple values are assigned
* independent instance numbers for each compatible.
*
* @param inst instance number for compatible @p compat
* @param compat lowercase-and-underscores compatible, without quotes
* @return node identifier for the node with that instance number and
* compatible
*/
#define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat))
/**
* @brief Get a node identifier for a parent node
*
* Example devicetree fragment:
*
* @code{.dts}
* parent: parent-node {
* child: child-node {
* ...
* };
* };
* @endcode
*
* The following are equivalent ways to get the same node identifier:
*
* @code{.c}
* DT_NODELABEL(parent)
* DT_PARENT(DT_NODELABEL(child))
* @endcode
*
* @param node_id node identifier
* @return a node identifier for the node's parent
*/
#define DT_PARENT(node_id) DT_CAT(node_id, _PARENT)
/**
* @brief Get a node identifier for a grandparent node
*
* Example devicetree fragment:
*
* @code{.dts}
* gparent: grandparent-node {
* parent: parent-node {
* child: child-node { ... }
* };
* };
* @endcode
*
* The following are equivalent ways to get the same node identifier:
*
* @code{.c}
* DT_GPARENT(DT_NODELABEL(child))
* DT_PARENT(DT_PARENT(DT_NODELABEL(child))
* @endcode
*
* @param node_id node identifier
* @return a node identifier for the node's parent's parent
*/
#define DT_GPARENT(node_id) DT_PARENT(DT_PARENT(node_id))
/**
* @brief Get a node identifier for a child node
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* soc-label: soc {
* serial1: serial@40001000 {
* status = "okay";
* current-speed = <115200>;
* ...
* };
* };
* };
* @endcode
*
* Example usage with DT_PROP() to get the status of the
* `serial@40001000` node:
*
* @code{.c}
* #define SOC_NODE DT_NODELABEL(soc_label)
* DT_PROP(DT_CHILD(SOC_NODE, serial_40001000), status) // "okay"
* @endcode
*
* Node labels like `serial1` cannot be used as the @p child argument
* to this macro. Use DT_NODELABEL() for that instead.
*
* You can also use DT_FOREACH_CHILD() to iterate over node
* identifiers for all of a node's children.
*
* @param node_id node identifier
* @param child lowercase-and-underscores child node name
* @return node identifier for the node with the name referred to by 'child'
*/
#define DT_CHILD(node_id, child) UTIL_CAT(node_id, DT_S_PREFIX(child))
/**
* @brief Get a node identifier for a status `okay` node with a compatible
*
* Use this if you want to get an arbitrary enabled node with a given
* compatible, and you do not care which one you get. If any enabled
* nodes with the given compatible exist, a node identifier for one
* of them is returned. Otherwise, @ref DT_INVALID_NODE is returned.
*
* Example devicetree fragment:
*
* @code{.dts}
* node-a {
* compatible = "vnd,device";
* status = "okay";
* };
*
* node-b {
* compatible = "vnd,device";
* status = "okay";
* };
*
* node-c {
* compatible = "vnd,device";
* status = "disabled";
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_COMPAT_GET_ANY_STATUS_OKAY(vnd_device)
* @endcode
*
* This expands to a node identifier for either `node-a` or `node-b`.
* It will not expand to a node identifier for `node-c`, because that
* node does not have status `okay`.
*
* @param compat lowercase-and-underscores compatible, without quotes
* @return node identifier for a node with that compatible, or
* @ref DT_INVALID_NODE
*/
#define DT_COMPAT_GET_ANY_STATUS_OKAY(compat) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
(DT_INST(0, compat)), \
(DT_INVALID_NODE))
/**
* @brief Get a devicetree node's full path as a string literal
*
* This returns the path to a node from a node identifier. To get a
* node identifier from path components instead, use DT_PATH().
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* soc {
* node: my-node@12345678 { ... };
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NODE_PATH(DT_NODELABEL(node)) // "/soc/my-node@12345678"
* DT_NODE_PATH(DT_PATH(soc)) // "/soc"
* DT_NODE_PATH(DT_ROOT) // "/"
* @endcode
*
* @param node_id node identifier
* @return the node's full path in the devicetree
*/
#define DT_NODE_PATH(node_id) DT_CAT(node_id, _PATH)
/**
* @brief Get a devicetree node's name with unit-address as a string literal
*
* This returns the node name and unit-address from a node identifier.
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* soc {
* node: my-node@12345678 { ... };
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NODE_FULL_NAME(DT_NODELABEL(node)) // "my-node@12345678"
* @endcode
*
* @param node_id node identifier
* @return the node's name with unit-address as a string in the devicetree
*/
#define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME)
/**
* @brief Get a devicetree node's index into its parent's list of children
*
* Indexes are zero-based.
*
* It is an error to use this macro with the root node.
*
* Example devicetree fragment:
*
* @code{.dts}
* parent {
* c1: child-1 {};
* c2: child-2 {};
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NODE_CHILD_IDX(DT_NODELABEL(c1)) // 0
* DT_NODE_CHILD_IDX(DT_NODELABEL(c2)) // 1
* @endcode
*
* @param node_id node identifier
* @return the node's index in its parent node's list of children
*/
#define DT_NODE_CHILD_IDX(node_id) DT_CAT(node_id, _CHILD_IDX)
/**
* @brief Get the number of child nodes of a given node
*
* @param node_id a node identifier
* @return Number of child nodes
*/
#define DT_CHILD_NUM(node_id) DT_CAT(node_id, _CHILD_NUM)
/**
* @brief Get the number of child nodes of a given node
* which child nodes' status are okay
*
* @param node_id a node identifier
* @return Number of child nodes which status are okay
*/
#define DT_CHILD_NUM_STATUS_OKAY(node_id) \
DT_CAT(node_id, _CHILD_NUM_STATUS_OKAY)
/**
* @brief Do @p node_id1 and @p node_id2 refer to the same node?
*
* Both @p node_id1 and @p node_id2 must be node identifiers for nodes
* that exist in the devicetree (if unsure, you can check with
* DT_NODE_EXISTS()).
*
* The expansion evaluates to 0 or 1, but may not be a literal integer
* 0 or 1.
*
* @internal
* Implementation note: distinct nodes have distinct node identifiers.
* See include/zephyr/devicetree/ordinals.h.
* @endinternal
*
* @param node_id1 first node identifier
* @param node_id2 second node identifier
* @return an expression that evaluates to 1 if the node identifiers
* refer to the same node, and evaluates to 0 otherwise
*/
#define DT_SAME_NODE(node_id1, node_id2) \
(DT_DEP_ORD(node_id1) == (DT_DEP_ORD(node_id2)))
/**
* @brief Get a devicetree node's node labels as an array of strings
*
* Example devicetree fragment:
*
* @code{.dts}
* foo: bar: node@deadbeef {};
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NODELABEL_STRING_ARRAY(DT_NODELABEL(foo))
* @endcode
*
* This expands to:
*
* @code{.c}
* { "foo", "bar", }
* @endcode
*
* @param node_id node identifier
* @return an array initializer for an array of the node's node labels as strings
*/
#define DT_NODELABEL_STRING_ARRAY(node_id) \
{ DT_FOREACH_NODELABEL(node_id, DT_NODELABEL_STRING_ARRAY_ENTRY_INTERNAL) }
/**
* @}
*/
/**
* @defgroup devicetree-generic-prop Property accessors
* @ingroup devicetree
* @{
*/
/**
* @brief Get a devicetree property value
*
* For properties whose bindings have the following types, this macro
* expands to:
*
* - string: a string literal
* - boolean: `0` if the property is false, or `1` if it is true
* - int: the property's value as an integer literal
* - array, uint8-array, string-array: an initializer expression in braces,
* whose elements are integer or string literals (like `{0, 1, 2}`,
* `{"hello", "world"}`, etc.)
* - phandle: a node identifier for the node with that phandle
*
* A property's type is usually defined by its binding. In some
* special cases, it has an assumed type defined by the devicetree
* specification even when no binding is available: `compatible` has
* type string-array, `status` has type string, and
* `interrupt-controller` has type boolean.
*
* For other properties or properties with unknown type due to a
* missing binding, behavior is undefined.
*
* For usage examples, see DT_PATH(), DT_ALIAS(), DT_NODELABEL(),
* and DT_INST() above.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return a representation of the property's value
*/
#define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
/**
* @brief Get a property's logical length
*
* Here, "length" is a number of elements, which may differ from the
* property's size in bytes.
*
* The return value depends on the property's type:
*
* - for types array, string-array, and uint8-array, this expands
* to the number of elements in the array
* - for type phandles, this expands to the number of phandles
* - for type phandle-array, this expands to the number of
* phandle and specifier blocks in the property
* - for type phandle, this expands to 1 (so that a phandle
* can be treated as a degenerate case of phandles with length 1)
* - for type string, this expands to 1 (so that a string can be
* treated as a degenerate case of string-array with length 1)
*
* These properties are handled as special cases:
*
* - reg property: use `DT_NUM_REGS(node_id)` instead
* - interrupts property: use `DT_NUM_IRQS(node_id)` instead
*
* It is an error to use this macro with the `ranges`, `dma-ranges`, `reg`
* or `interrupts` properties.
*
* For other properties, behavior is undefined.
*
* @param node_id node identifier
* @param prop a lowercase-and-underscores property with a logical length
* @return the property's length
*/
#define DT_PROP_LEN(node_id, prop) DT_CAT4(node_id, _P_, prop, _LEN)
/**
* @brief Like DT_PROP_LEN(), but with a fallback to @p default_value
*
* If the property is defined (as determined by DT_NODE_HAS_PROP()),
* this expands to DT_PROP_LEN(node_id, prop). The @p default_value
* parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param prop a lowercase-and-underscores property with a logical length
* @param default_value a fallback value to expand to
* @return the property's length or the given default value
*/
#define DT_PROP_LEN_OR(node_id, prop, default_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_PROP_LEN(node_id, prop)), (default_value))
/**
* @brief Is index @p idx valid for an array type property?
*
* If this returns 1, then DT_PROP_BY_IDX(node_id, prop, idx) or
* DT_PHA_BY_IDX(node_id, prop, idx, ...) are valid at index @p idx.
* If it returns 0, it is an error to use those macros with that index.
*
* These properties are handled as special cases:
*
* - `reg` property: use DT_REG_HAS_IDX(node_id, idx) instead
* - `interrupts` property: use DT_IRQ_HAS_IDX(node_id, idx) instead
*
* It is an error to use this macro with the `reg` or `interrupts` properties.
*
* @param node_id node identifier
* @param prop a lowercase-and-underscores property with a logical length
* @param idx index to check
* @return An expression which evaluates to 1 if @p idx is a valid index
* into the given property, and 0 otherwise.
*/
#define DT_PROP_HAS_IDX(node_id, prop, idx) \
IS_ENABLED(DT_CAT6(node_id, _P_, prop, _IDX_, idx, _EXISTS))
/**
* @brief Is name @p name available in a `foo-names` property?
*
* This property is handled as special case:
*
* - `interrupts` property: use DT_IRQ_HAS_NAME(node_id, idx) instead
*
* It is an error to use this macro with the `interrupts` property.
*
* Example devicetree fragment:
*
* @code{.dts}
* nx: node-x {
* foos = <&bar xx yy>, <&baz xx zz>;
* foo-names = "event", "error";
* status = "okay";
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_PROP_HAS_NAME(DT_NODELABEL(nx), foos, event) // 1
* DT_PROP_HAS_NAME(DT_NODELABEL(nx), foos, failure) // 0
* @endcode
*
* @param node_id node identifier
* @param prop a lowercase-and-underscores `prop-names` type property
* @param name a lowercase-and-underscores name to check
* @return An expression which evaluates to 1 if "name" is an available
* name into the given property, and 0 otherwise.
*/
#define DT_PROP_HAS_NAME(node_id, prop, name) \
IS_ENABLED(DT_CAT6(node_id, _P_, prop, _NAME_, name, _EXISTS))
/**
* @brief Get the value at index @p idx in an array type property
*
* It might help to read the argument order as being similar to
* `node->property[index]`.
*
* The return value depends on the property's type:
*
* - for types array, string-array, uint8-array, and phandles,
* this expands to the idx-th array element as an
* integer, string literal, integer, and node identifier
* respectively
*
* - for type phandle, idx must be 0 and the expansion is a node
* identifier (this treats phandle like a phandles of length 1)
*
* - for type string, idx must be 0 and the expansion is the
* entire string (this treats string like string-array of length 1)
*
* These properties are handled as special cases:
*
* - `reg`: use DT_REG_ADDR_BY_IDX() or DT_REG_SIZE_BY_IDX() instead
* - `interrupts`: use DT_IRQ_BY_IDX()
* - `ranges`: use DT_NUM_RANGES()
* - `dma-ranges`: it is an error to use this property with
* DT_PROP_BY_IDX()
*
* For properties of other types, behavior is undefined.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return a representation of the idx-th element of the property
*/
#define DT_PROP_BY_IDX(node_id, prop, idx) \
DT_CAT5(node_id, _P_, prop, _IDX_, idx)
/**
* @brief Like DT_PROP(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_PROP(node_id, prop).
* The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value or @p default_value
*/
#define DT_PROP_OR(node_id, prop, default_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_PROP(node_id, prop)), (default_value))
/**
* @brief Get a property value's index into its enumeration values
*
* The return values start at zero.
*
* Example devicetree fragment:
*
* @code{.dts}
* usb1: usb@12340000 {
* maximum-speed = "full-speed";
* };
* usb2: usb@12341000 {
* maximum-speed = "super-speed";
* };
* @endcode
*
* Example bindings fragment:
*
* @code{.yaml}
* properties:
* maximum-speed:
* type: string
* enum:
* - "low-speed"
* - "full-speed"
* - "high-speed"
* - "super-speed"
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_ENUM_IDX(DT_NODELABEL(usb1), maximum_speed) // 1
* DT_ENUM_IDX(DT_NODELABEL(usb2), maximum_speed) // 3
* @endcode
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return zero-based index of the property's value in its enum: list
*/
#define DT_ENUM_IDX(node_id, prop) DT_CAT4(node_id, _P_, prop, _ENUM_IDX)
/**
* @brief Like DT_ENUM_IDX(), but with a fallback to a default enum index
*
* If the value exists, this expands to its zero based index value thanks to
* DT_ENUM_IDX(node_id, prop).
*
* Otherwise, this expands to provided default index enum value.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param default_idx_value a fallback index value to expand to
* @return zero-based index of the property's value in its enum if present,
* default_idx_value otherwise
*/
#define DT_ENUM_IDX_OR(node_id, prop, default_idx_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_ENUM_IDX(node_id, prop)), (default_idx_value))
/**
* @brief Does a node enumeration property have a given value?
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param value lowercase-and-underscores enumeration value
* @return 1 if the node property has the value @a value, 0 otherwise.
*/
#define DT_ENUM_HAS_VALUE(node_id, prop, value) \
IS_ENABLED(DT_CAT6(node_id, _P_, prop, _ENUM_VAL_, value, _EXISTS))
/**
* @brief Get a string property's value as a token.
*
* This removes "the quotes" from a string property's value,
* converting any non-alphanumeric characters to underscores. This can
* be useful, for example, when programmatically using the value to
* form a C variable or code.
*
* DT_STRING_TOKEN() can only be used for properties with string type.
*
* It is an error to use DT_STRING_TOKEN() in other circumstances.
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* prop = "foo";
* };
* n2: node-2 {
* prop = "FOO";
* }
* n3: node-3 {
* prop = "123 foo";
* };
* @endcode
*
* Example bindings fragment:
*
* @code{.yaml}
* properties:
* prop:
* type: string
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_STRING_TOKEN(DT_NODELABEL(n1), prop) // foo
* DT_STRING_TOKEN(DT_NODELABEL(n2), prop) // FOO
* DT_STRING_TOKEN(DT_NODELABEL(n3), prop) // 123_foo
* @endcode
*
* Notice how:
*
* - Unlike C identifiers, the property values may begin with a
* number. It's the user's responsibility not to use such values as
* the name of a C identifier.
*
* - The uppercased `"FOO"` in the DTS remains `FOO` as a token. It is
* *not* converted to `foo`.
*
* - The whitespace in the DTS `"123 foo"` string is converted to
* `123_foo` as a token.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return the value of @p prop as a token, i.e. without any quotes
* and with special characters converted to underscores
*/
#define DT_STRING_TOKEN(node_id, prop) \
DT_CAT4(node_id, _P_, prop, _STRING_TOKEN)
/**
* @brief Like DT_STRING_TOKEN(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_STRING_TOKEN(node_id, prop).
* The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value as a token, or @p default_value
*/
#define DT_STRING_TOKEN_OR(node_id, prop, default_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_STRING_TOKEN(node_id, prop)), (default_value))
/**
* @brief Like DT_STRING_TOKEN(), but uppercased.
*
* This removes "the quotes" from a string property's value,
* converting any non-alphanumeric characters to underscores, and
* capitalizing the result. This can be useful, for example, when
* programmatically using the value to form a C variable or code.
*
* DT_STRING_UPPER_TOKEN() can only be used for properties with string type.
*
* It is an error to use DT_STRING_UPPER_TOKEN() in other circumstances.
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* prop = "foo";
* };
* n2: node-2 {
* prop = "123 foo";
* };
* @endcode
*
* Example bindings fragment:
*
* @code{.yaml}
* properties:
* prop:
* type: string
*
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_STRING_UPPER_TOKEN(DT_NODELABEL(n1), prop) // FOO
* DT_STRING_UPPER_TOKEN(DT_NODELABEL(n2), prop) // 123_FOO
* @endcode
*
* Notice how:
*
* - Unlike C identifiers, the property values may begin with a
* number. It's the user's responsibility not to use such values as
* the name of a C identifier.
*
* - The lowercased `"foo"` in the DTS becomes `FOO` as a token, i.e.
* it is uppercased.
*
* - The whitespace in the DTS `"123 foo"` string is converted to
* `123_FOO` as a token, i.e. it is uppercased and whitespace becomes
* an underscore.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return the value of @p prop as an uppercased token, i.e. without
* any quotes and with special characters converted to underscores
*/
#define DT_STRING_UPPER_TOKEN(node_id, prop) \
DT_CAT4(node_id, _P_, prop, _STRING_UPPER_TOKEN)
/**
* @brief Like DT_STRING_UPPER_TOKEN(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_STRING_UPPER_TOKEN(node_id, prop).
* The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value as an uppercased token,
* or @p default_value
*/
#define DT_STRING_UPPER_TOKEN_OR(node_id, prop, default_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_STRING_UPPER_TOKEN(node_id, prop)), (default_value))
/**
* @brief Get a string property's value as an unquoted sequence of tokens
*
* This removes "the quotes" from string-valued properties.
* That can be useful, for example,
* when defining floating point values as a string in devicetree
* that you would like to use to initialize a float or double variable in C.
*
* DT_STRING_UNQUOTED() can only be used for properties with string type.
*
* It is an error to use DT_STRING_UNQUOTED() in other circumstances.
*
* Example devicetree fragment:
*
* n1: node-1 {
* prop = "12.7";
* };
* n2: node-2 {
* prop = "0.5";
* }
* n3: node-3 {
* prop = "A B C";
* };
*
* Example bindings fragment:
*
* properties:
* prop:
* type: string
*
* Example usage:
*
* DT_STRING_UNQUOTED(DT_NODELABEL(n1), prop) // 12.7
* DT_STRING_UNQUOTED(DT_NODELABEL(n2), prop) // 0.5
* DT_STRING_UNQUOTED(DT_NODELABEL(n3), prop) // A B C
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return the property's value as a sequence of tokens, with no quotes
*/
#define DT_STRING_UNQUOTED(node_id, prop) \
DT_CAT4(node_id, _P_, prop, _STRING_UNQUOTED)
/**
* @brief Like DT_STRING_UNQUOTED(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_STRING_UNQUOTED(node_id, prop).
* The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value as a sequence of tokens, with no quotes,
* or @p default_value
*/
#define DT_STRING_UNQUOTED_OR(node_id, prop, default_value) \
COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \
(DT_STRING_UNQUOTED(node_id, prop)), (default_value))
/**
* @brief Get an element out of a string-array property as a token.
*
* This removes "the quotes" from an element in the array, and converts
* non-alphanumeric characters to underscores. That can be useful, for example,
* when programmatically using the value to form a C variable or code.
*
* DT_STRING_TOKEN_BY_IDX() can only be used for properties with
* string-array type.
*
* It is an error to use DT_STRING_TOKEN_BY_IDX() in other circumstances.
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* prop = "f1", "F2";
* };
* n2: node-2 {
* prop = "123 foo", "456 FOO";
* };
* @endcode
*
* Example bindings fragment:
*
* @code{.yaml}
* properties:
* prop:
* type: string-array
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 0) // f1
* DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 1) // F2
* DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 0) // 123_foo
* DT_STRING_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 1) // 456_FOO
* @endcode
*
* For more information, see @ref DT_STRING_TOKEN.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the element in @p prop at index @p idx as a token
*/
#define DT_STRING_TOKEN_BY_IDX(node_id, prop, idx) \
DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_TOKEN)
/**
* @brief Like DT_STRING_TOKEN_BY_IDX(), but uppercased.
*
* This removes "the quotes" and capitalizes an element in the array, and
* converts non-alphanumeric characters to underscores. That can be useful, for
* example, when programmatically using the value to form a C variable or code.
*
* DT_STRING_UPPER_TOKEN_BY_IDX() can only be used for properties with
* string-array type.
*
* It is an error to use DT_STRING_UPPER_TOKEN_BY_IDX() in other circumstances.
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* prop = "f1", "F2";
* };
* n2: node-2 {
* prop = "123 foo", "456 FOO";
* };
* @endcode
*
* Example bindings fragment:
*
* @code{.yaml}
* properties:
* prop:
* type: string-array
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 0) // F1
* DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n1), prop, 1) // F2
* DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 0) // 123_FOO
* DT_STRING_UPPER_TOKEN_BY_IDX(DT_NODELABEL(n2), prop, 1) // 456_FOO
* @endcode
*
* For more information, see @ref DT_STRING_UPPER_TOKEN.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the element in @p prop at index @p idx as an uppercased token
*/
#define DT_STRING_UPPER_TOKEN_BY_IDX(node_id, prop, idx) \
DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_UPPER_TOKEN)
/**
* @brief Get a string array item value as an unquoted sequence of tokens.
*
* This removes "the quotes" from string-valued item.
* That can be useful, for example,
* when defining floating point values as a string in devicetree
* that you would like to use to initialize a float or double variable in C.
*
* DT_STRING_UNQUOTED_BY_IDX() can only be used for properties with
* string-array type.
*
* It is an error to use DT_STRING_UNQUOTED_BY_IDX() in other circumstances.
*
* Example devicetree fragment:
*
* n1: node-1 {
* prop = "12.7", "34.1";
* };
* n2: node-2 {
* prop = "A B", "C D";
* }
*
* Example bindings fragment:
*
* properties:
* prop:
* type: string-array
*
* Example usage:
*
* DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n1), prop, 0) // 12.7
* DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n1), prop, 1) // 34.1
* DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n2), prop, 0) // A B
* DT_STRING_UNQUOTED_BY_IDX(DT_NODELABEL(n2), prop, 1) // C D
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the property's value as a sequence of tokens, with no quotes
*/
#define DT_STRING_UNQUOTED_BY_IDX(node_id, prop, idx) \
DT_CAT6(node_id, _P_, prop, _IDX_, idx, _STRING_UNQUOTED)
/*
* phandle properties
*
* These are special-cased to manage the impedance mismatch between
* phandles, which are just uint32_t node properties that only make sense
* within the tree itself, and C values.
*/
/**
* @brief Get a property value from a phandle in a property.
*
* This is a shorthand for:
*
* @code{.c}
* DT_PROP(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop)
* @endcode
*
* That is, @p prop is a property of the phandle's node, not a
* property of @p node_id.
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* foo = <&n2 &n3>;
* };
*
* n2: node-2 {
* bar = <42>;
* };
*
* n3: node-3 {
* baz = <43>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define N1 DT_NODELABEL(n1)
*
* DT_PROP_BY_PHANDLE_IDX(N1, foo, 0, bar) // 42
* DT_PROP_BY_PHANDLE_IDX(N1, foo, 1, baz) // 43
* @endcode
*
* @param node_id node identifier
* @param phs lowercase-and-underscores property with type `phandle`,
* `phandles`, or `phandle-array`
* @param idx logical index into @p phs, which must be zero if @p phs
* has type `phandle`
* @param prop lowercase-and-underscores property of the phandle's node
* @return the property's value
*/
#define DT_PROP_BY_PHANDLE_IDX(node_id, phs, idx, prop) \
DT_PROP(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop)
/**
* @brief Like DT_PROP_BY_PHANDLE_IDX(), but with a fallback to
* @p default_value.
*
* If the value exists, this expands to DT_PROP_BY_PHANDLE_IDX(node_id, phs,
* idx, prop). The @p default_value parameter is not expanded in this
* case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param phs lowercase-and-underscores property with type `phandle`,
* `phandles`, or `phandle-array`
* @param idx logical index into @p phs, which must be zero if @p phs
* has type `phandle`
* @param prop lowercase-and-underscores property of the phandle's node
* @param default_value a fallback value to expand to
* @return the property's value
*/
#define DT_PROP_BY_PHANDLE_IDX_OR(node_id, phs, idx, prop, default_value) \
DT_PROP_OR(DT_PHANDLE_BY_IDX(node_id, phs, idx), prop, default_value)
/**
* @brief Get a property value from a phandle's node
*
* This is equivalent to DT_PROP_BY_PHANDLE_IDX(node_id, ph, 0, prop).
*
* @param node_id node identifier
* @param ph lowercase-and-underscores property of @p node_id
* with type `phandle`
* @param prop lowercase-and-underscores property of the phandle's node
* @return the property's value
*/
#define DT_PROP_BY_PHANDLE(node_id, ph, prop) \
DT_PROP_BY_PHANDLE_IDX(node_id, ph, 0, prop)
/**
* @brief Get a phandle-array specifier cell value at an index
*
* It might help to read the argument order as being similar to
* `node->phandle_array[index].cell`. That is, the cell value is in
* the @p pha property of @p node_id, inside the specifier at index
* @p idx.
*
* Example devicetree fragment:
*
* @code{.dts}
* gpio0: gpio@abcd1234 {
* #gpio-cells = <2>;
* };
*
* gpio1: gpio@1234abcd {
* #gpio-cells = <2>;
* };
*
* led: led_0 {
* gpios = <&gpio0 17 0x1>, <&gpio1 5 0x3>;
* };
* @endcode
*
* Bindings fragment for the `gpio0` and `gpio1` nodes:
*
* @code{.yaml}
* gpio-cells:
* - pin
* - flags
* @endcode
*
* Above, `gpios` has two elements:
*
* - index 0 has specifier <17 0x1>, so its `pin` cell is 17, and its
* `flags` cell is 0x1
* - index 1 has specifier <5 0x3>, so `pin` is 5 and `flags` is 0x3
*
* Example usage:
*
* @code{.c}
* #define LED DT_NODELABEL(led)
*
* DT_PHA_BY_IDX(LED, gpios, 0, pin) // 17
* DT_PHA_BY_IDX(LED, gpios, 1, flags) // 0x3
* @endcode
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx logical index into @p pha
* @param cell lowercase-and-underscores cell name within the specifier
* at @p pha index @p idx
* @return the cell's value
*/
#define DT_PHA_BY_IDX(node_id, pha, idx, cell) \
DT_CAT7(node_id, _P_, pha, _IDX_, idx, _VAL_, cell)
/**
* @brief Like DT_PHA_BY_IDX(), but with a fallback to @p default_value.
*
* If the value exists, this expands to DT_PHA_BY_IDX(node_id, pha,
* idx, cell). The @p default_value parameter is not expanded in this
* case.
*
* Otherwise, this expands to @p default_value.
*
* @internal
* Implementation note: the _IDX_##idx##_VAL_##cell##_EXISTS macros are
* defined, so it's safe to use DT_PROP_OR() here, because that uses an
* IS_ENABLED() on the _EXISTS macro.
* @endinternal
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx logical index into @p pha
* @param cell lowercase-and-underscores cell name within the specifier
* at @p pha index @p idx
* @param default_value a fallback value to expand to
* @return the cell's value or @p default_value
*/
#define DT_PHA_BY_IDX_OR(node_id, pha, idx, cell, default_value) \
DT_PROP_OR(node_id, DT_CAT5(pha, _IDX_, idx, _VAL_, cell), default_value)
/**
* @brief Equivalent to DT_PHA_BY_IDX(node_id, pha, 0, cell)
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell lowercase-and-underscores cell name
* @return the cell's value
*/
#define DT_PHA(node_id, pha, cell) DT_PHA_BY_IDX(node_id, pha, 0, cell)
/**
* @brief Like DT_PHA(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_PHA(node_id, pha, cell).
* The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell lowercase-and-underscores cell name
* @param default_value a fallback value to expand to
* @return the cell's value or @p default_value
*/
#define DT_PHA_OR(node_id, pha, cell, default_value) \
DT_PHA_BY_IDX_OR(node_id, pha, 0, cell, default_value)
/**
* @brief Get a value within a phandle-array specifier by name
*
* This is like DT_PHA_BY_IDX(), except it treats @p pha as a structure
* where each array element has a name.
*
* It might help to read the argument order as being similar to
* `node->phandle_struct.name.cell`. That is, the cell value is in the
* @p pha property of @p node_id, treated as a data structure where
* each array element has a name.
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* io-channels = <&adc1 10>, <&adc2 20>;
* io-channel-names = "SENSOR", "BANDGAP";
* };
* @endcode
*
* Bindings fragment for the "adc1" and "adc2" nodes:
*
* @code{.yaml}
* io-channel-cells:
* - input
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_PHA_BY_NAME(DT_NODELABEL(n), io_channels, sensor, input) // 10
* DT_PHA_BY_NAME(DT_NODELABEL(n), io_channels, bandgap, input) // 20
* @endcode
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of a specifier in @p pha
* @param cell lowercase-and-underscores cell name in the named specifier
* @return the cell's value
*/
#define DT_PHA_BY_NAME(node_id, pha, name, cell) \
DT_CAT7(node_id, _P_, pha, _NAME_, name, _VAL_, cell)
/**
* @brief Like DT_PHA_BY_NAME(), but with a fallback to @p default_value
*
* If the value exists, this expands to DT_PHA_BY_NAME(node_id, pha,
* name, cell). The @p default_value parameter is not expanded in this case.
*
* Otherwise, this expands to @p default_value.
*
* @internal
* Implementation note: the `_NAME_##name##_VAL_##cell##_EXISTS` macros are
* defined, so it's safe to use DT_PROP_OR() here, because that uses an
* IS_ENABLED() on the `_EXISTS` macro.
* @endinternal
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of a specifier in @p pha
* @param cell lowercase-and-underscores cell name in the named specifier
* @param default_value a fallback value to expand to
* @return the cell's value or @p default_value
*/
#define DT_PHA_BY_NAME_OR(node_id, pha, name, cell, default_value) \
DT_PROP_OR(node_id, DT_CAT5(pha, _NAME_, name, _VAL_, cell), default_value)
/**
* @brief Get a phandle's node identifier from a phandle array by @p name
*
* It might help to read the argument order as being similar to
* `node->phandle_struct.name.phandle`. That is, the phandle array is
* treated as a structure with named elements. The return value is
* the node identifier for a phandle inside the structure.
*
* Example devicetree fragment:
*
* @code{.dts}
* adc1: adc@abcd1234 {
* foobar = "ADC_1";
* };
*
* adc2: adc@1234abcd {
* foobar = "ADC_2";
* };
*
* n: node {
* io-channels = <&adc1 10>, <&adc2 20>;
* io-channel-names = "SENSOR", "BANDGAP";
* };
* @endcode
*
* Above, "io-channels" has two elements:
*
* - the element named `"SENSOR"` has phandle `&adc1`
* - the element named `"BANDGAP"` has phandle `&adc2`
*
* Example usage:
*
* @code{.c}
* #define NODE DT_NODELABEL(n)
*
* DT_PROP(DT_PHANDLE_BY_NAME(NODE, io_channels, sensor), foobar) // "ADC_1"
* DT_PROP(DT_PHANDLE_BY_NAME(NODE, io_channels, bandgap), foobar) // "ADC_2"
* @endcode
*
* Notice how devicetree properties and names are lowercased, and
* non-alphanumeric characters are converted to underscores.
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of an element in @p pha
* @return a node identifier for the node with that phandle
*/
#define DT_PHANDLE_BY_NAME(node_id, pha, name) \
DT_CAT6(node_id, _P_, pha, _NAME_, name, _PH)
/**
* @brief Get a node identifier for a phandle in a property.
*
* When a node's value at a logical index contains a phandle, this
* macro returns a node identifier for the node with that phandle.
*
* Therefore, if @p prop has type `phandle`, @p idx must be zero. (A
* `phandle` type is treated as a `phandles` with a fixed length of
* 1).
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* foo = <&n2 &n3>;
* };
*
* n2: node-2 { ... };
* n3: node-3 { ... };
* @endcode
*
* Above, `foo` has type phandles and has two elements:
*
* - index 0 has phandle `&n2`, which is `node-2`'s phandle
* - index 1 has phandle `&n3`, which is `node-3`'s phandle
*
* Example usage:
*
* @code{.c}
* #define N1 DT_NODELABEL(n1)
*
* DT_PHANDLE_BY_IDX(N1, foo, 0) // node identifier for node-2
* DT_PHANDLE_BY_IDX(N1, foo, 1) // node identifier for node-3
* @endcode
*
* Behavior is analogous for phandle-arrays.
*
* @internal
* Implementation note: using DT_CAT6 above defers concatenation until
* after expansion of each parameter. This is important when 'idx' is
* expandable to a number, but it isn't one "yet".
* @endinternal
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name in @p node_id
* with type `phandle`, `phandles` or `phandle-array`
* @param idx index into @p prop
* @return node identifier for the node with the phandle at that index
*/
#define DT_PHANDLE_BY_IDX(node_id, prop, idx) \
DT_CAT6(node_id, _P_, prop, _IDX_, idx, _PH)
/**
* @brief Get a node identifier for a phandle property's value
*
* This is equivalent to DT_PHANDLE_BY_IDX(node_id, prop, 0). Its primary
* benefit is readability when @p prop has type `phandle`.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property of @p node_id
* with type `phandle`
* @return a node identifier for the node pointed to by "ph"
*/
#define DT_PHANDLE(node_id, prop) DT_PHANDLE_BY_IDX(node_id, prop, 0)
/**
* @}
*/
/**
* @defgroup devicetree-ranges-prop ranges property
* @ingroup devicetree
* @{
*/
/**
* @brief Get the number of range blocks in the ranges property
*
* Use this instead of DT_PROP_LEN(node_id, ranges).
*
* Example devicetree fragment:
*
* @code{.dts}
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NUM_RANGES(DT_NODELABEL(pcie0)) // 3
* DT_NUM_RANGES(DT_NODELABEL(other)) // 2
* @endcode
*
* @param node_id node identifier
*/
#define DT_NUM_RANGES(node_id) DT_CAT(node_id, _RANGES_NUM)
/**
* @brief Is @p idx a valid range block index?
*
* If this returns 1, then DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(node_id, idx),
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(node_id, idx) or
* DT_RANGES_LENGTH_BY_IDX(node_id, idx) are valid.
* For DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx) the return value
* of DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(node_id, idx) will indicate
* validity.
* If it returns 0, it is an error to use those macros with index @p idx,
* including DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx).
*
* Example devicetree fragment:
*
* @code{.dts}
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 0) // 1
* DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 1) // 1
* DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 2) // 1
* DT_RANGES_HAS_IDX(DT_NODELABEL(pcie0), 3) // 0
* DT_RANGES_HAS_IDX(DT_NODELABEL(other), 0) // 1
* DT_RANGES_HAS_IDX(DT_NODELABEL(other), 1) // 1
* DT_RANGES_HAS_IDX(DT_NODELABEL(other), 2) // 0
* DT_RANGES_HAS_IDX(DT_NODELABEL(other), 3) // 0
* @endcode
*
* @param node_id node identifier
* @param idx index to check
* @return 1 if @p idx is a valid register block index,
* 0 otherwise.
*/
#define DT_RANGES_HAS_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _RANGES_IDX_, idx, _EXISTS))
/**
* @brief Does a ranges property have child bus flags at index?
*
* If this returns 1, then DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx) is valid.
* If it returns 0, it is an error to use this macro with index @p idx.
* This macro only returns 1 for PCIe buses (i.e. nodes whose bindings specify they
* are "pcie" bus nodes.)
*
* Example devicetree fragment:
*
* @code{.dts}
* parent {
* #address-cells = <2>;
*
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <0 1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 0) // 1
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 1) // 1
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 2) // 1
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(pcie0), 3) // 0
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 0) // 0
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 1) // 0
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 2) // 0
* DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(DT_NODELABEL(other), 3) // 0
* @endcode
*
* @param node_id node identifier
* @param idx logical index into the ranges array
* @return 1 if @p idx is a valid child bus flags index,
* 0 otherwise.
*/
#define DT_RANGES_HAS_CHILD_BUS_FLAGS_AT_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _RANGES_IDX_, idx, _VAL_CHILD_BUS_FLAGS_EXISTS))
/**
* @brief Get the ranges property child bus flags at index
*
* When the node is a PCIe bus, the Child Bus Address has an extra cell used to store some
* flags, thus this cell is extracted from the Child Bus Address as Child Bus Flags field.
*
* Example devicetree fragments:
*
* @code{.dts}
* parent {
* #address-cells = <2>;
*
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x1000000
* DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x2000000
* DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x3000000
* @endcode
*
* @param node_id node identifier
* @param idx logical index into the ranges array
* @returns range child bus flags field at idx
*/
#define DT_RANGES_CHILD_BUS_FLAGS_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _RANGES_IDX_, idx, _VAL_CHILD_BUS_FLAGS)
/**
* @brief Get the ranges property child bus address at index
*
* When the node is a PCIe bus, the Child Bus Address has an extra cell used to store some
* flags, thus this cell is removed from the Child Bus Address.
*
* Example devicetree fragments:
*
* @code{.dts}
* parent {
* #address-cells = <2>;
*
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <0 1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0
* DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x10000000
* DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000
* DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 0) // 0
* DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 1) // 0x10000000
* @endcode
*
* @param node_id node identifier
* @param idx logical index into the ranges array
* @returns range child bus address field at idx
*/
#define DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _RANGES_IDX_, idx, _VAL_CHILD_BUS_ADDRESS)
/**
* @brief Get the ranges property parent bus address at index
*
* Similarly to DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(), this properly accounts
* for child bus flags cells when the node is a PCIe bus.
*
* Example devicetree fragment:
*
* @code{.dts}
* parent {
* #address-cells = <2>;
*
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <0 1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x3eff0000
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x10000000
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 0) // 0x3eff0000
* DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(DT_NODELABEL(other), 1) // 0x10000000
* @endcode
*
* @param node_id node identifier
* @param idx logical index into the ranges array
* @returns range parent bus address field at idx
*/
#define DT_RANGES_PARENT_BUS_ADDRESS_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _RANGES_IDX_, idx, _VAL_PARENT_BUS_ADDRESS)
/**
* @brief Get the ranges property length at index
*
* Similarly to DT_RANGES_CHILD_BUS_ADDRESS_BY_IDX(), this properly accounts
* for child bus flags cells when the node is a PCIe bus.
*
* Example devicetree fragment:
*
* @code{.dts}
* parent {
* #address-cells = <2>;
*
* pcie0: pcie@0 {
* compatible = "pcie-controller";
* reg = <0 0 1>;
* #address-cells = <3>;
* #size-cells = <2>;
*
* ranges = <0x1000000 0 0 0 0x3eff0000 0 0x10000>,
* <0x2000000 0 0x10000000 0 0x10000000 0 0x2eff0000>,
* <0x3000000 0x80 0 0x80 0 0x80 0>;
* };
*
* other: other@1 {
* reg = <0 1 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 0) // 0x10000
* DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 1) // 0x2eff0000
* DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(pcie0), 2) // 0x8000000000
* DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(other), 0) // 0x10000
* DT_RANGES_LENGTH_BY_IDX(DT_NODELABEL(other), 1) // 0x2eff0000
* @endcode
*
* @param node_id node identifier
* @param idx logical index into the ranges array
* @returns range length field at idx
*/
#define DT_RANGES_LENGTH_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _RANGES_IDX_, idx, _VAL_LENGTH)
/**
* @brief Invokes @p fn for each entry of @p node_id ranges property
*
* The macro @p fn must take two parameters, @p node_id which will be the node
* identifier of the node with the ranges property and @p idx the index of
* the ranges block.
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node@0 {
* reg = <0 0 1>;
*
* ranges = <0x0 0x0 0x0 0x3eff0000 0x10000>,
* <0x0 0x10000000 0x0 0x10000000 0x2eff0000>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define RANGE_LENGTH(node_id, idx) DT_RANGES_LENGTH_BY_IDX(node_id, idx),
*
* const uint64_t *ranges_length[] = {
* DT_FOREACH_RANGE(DT_NODELABEL(n), RANGE_LENGTH)
* };
* @endcode
*
* This expands to:
*
* @code{.c}
* const char *ranges_length[] = {
* 0x10000, 0x2eff0000,
* };
* @endcode
*
* @param node_id node identifier
* @param fn macro to invoke
*/
#define DT_FOREACH_RANGE(node_id, fn) \
DT_CAT(node_id, _FOREACH_RANGE)(fn)
/**
* @}
*/
/**
* @defgroup devicetree-generic-vendor Vendor and model name helpers
* @ingroup devicetree
* @{
*/
/**
* @brief Get the vendor at index @p idx as a string literal
*
* The vendor is a string extracted from vendor prefixes if an entry exists
* that matches the node's compatible prefix. There may be as many as one
* vendor prefixes file per directory in DTS_ROOT.
*
* Example vendor-prefixes.txt:
*
* vnd A stand-in for a real vendor
* zephyr Zephyr-specific binding
*
* Example devicetree fragment:
*
* @code{.dts}
* n1: node-1 {
* compatible = "vnd,model1", "gpio", "zephyr,model2";
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NODE_VENDOR_BY_IDX(DT_NODELABEL(n1), 0) // "A stand-in for a real vendor"
* DT_NODE_VENDOR_BY_IDX(DT_NODELABEL(n1), 2) // "Zephyr-specific binding"
* @endcode
*
* Notice that the compatible at index 1 doesn't match any entries in the
* vendor prefix file and therefore index 1 is not a valid vendor index. Use
* DT_NODE_VENDOR_HAS_IDX(node_id, idx) to determine if an index is valid.
*
* @param node_id node identifier
* @param idx index of the vendor to return
* @return string literal of the idx-th vendor
*/
#define DT_NODE_VENDOR_BY_IDX(node_id, idx) \
DT_CAT3(node_id, _COMPAT_VENDOR_IDX_, idx)
/**
* @brief Does a node's compatible property have a vendor at an index?
*
* If this returns 1, then DT_NODE_VENDOR_BY_IDX(node_id, idx) is valid. If it
* returns 0, it is an error to use DT_NODE_VENDOR_BY_IDX(node_id, idx) with
* index @p idx.
*
* @param node_id node identifier
* @param idx index of the vendor to check
* @return 1 if @p idx is a valid vendor index,
* 0 otherwise.
*/
#define DT_NODE_VENDOR_HAS_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _COMPAT_VENDOR_IDX_, idx, _EXISTS))
/**
* @brief Like DT_NODE_VENDOR_BY_IDX(), but with a fallback to default_value.
*
* If the value exists, this expands to DT_NODE_VENDOR_BY_IDX(node_id, idx).
* The default_value parameter is not expanded in this case.
*
* Otherwise, this expands to default_value.
*
* @param node_id node identifier
* @param idx index of the vendor to return
* @return string literal of the idx-th vendor
* @param default_value a fallback value to expand to
* @return string literal of the idx-th vendor or "default_value"
*/
#define DT_NODE_VENDOR_BY_IDX_OR(node_id, idx, default_value) \
COND_CODE_1(DT_NODE_VENDOR_HAS_IDX(node_id, idx), \
(DT_NODE_VENDOR_BY_IDX(node_id, idx)), (default_value))
/**
* @brief Get the node's (only) vendor as a string literal
*
* Equivalent to DT_NODE_VENDOR_BY_IDX_OR(node_id, 0, default_value).
*
* @param node_id node identifier
* @param default_value a fallback value to expand to
*/
#define DT_NODE_VENDOR_OR(node_id, default_value) \
DT_NODE_VENDOR_BY_IDX_OR(node_id, 0, default_value)
/**
* @brief Get the model at index "idx" as a string literal
*
* The model is a string extracted from the compatible after the vendor prefix.
*
* Example vendor-prefixes.txt:
*
* vnd A stand-in for a real vendor
* zephyr Zephyr-specific binding
*
* Example devicetree fragment:
*
* n1: node-1 {
* compatible = "vnd,model1", "gpio", "zephyr,model2";
* };
*
* Example usage:
*
* DT_NODE_MODEL_BY_IDX(DT_NODELABEL(n1), 0) // "model1"
* DT_NODE_MODEL_BY_IDX(DT_NODELABEL(n1), 2) // "model2"
*
* Notice that the compatible at index 1 doesn't match any entries in the
* vendor prefix file and therefore index 1 is not a valid model index. Use
* DT_NODE_MODEL_HAS_IDX(node_id, idx) to determine if an index is valid.
*
* @param node_id node identifier
* @param idx index of the model to return
* @return string literal of the idx-th model
*/
#define DT_NODE_MODEL_BY_IDX(node_id, idx) \
DT_CAT3(node_id, _COMPAT_MODEL_IDX_, idx)
/**
* @brief Does a node's compatible property have a model at an index?
*
* If this returns 1, then DT_NODE_MODEL_BY_IDX(node_id, idx) is valid. If it
* returns 0, it is an error to use DT_NODE_MODEL_BY_IDX(node_id, idx) with
* index "idx".
*
* @param node_id node identifier
* @param idx index of the model to check
* @return 1 if "idx" is a valid model index,
* 0 otherwise.
*/
#define DT_NODE_MODEL_HAS_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _COMPAT_MODEL_IDX_, idx, _EXISTS))
/**
* @brief Like DT_NODE_MODEL_BY_IDX(), but with a fallback to default_value.
*
* If the value exists, this expands to DT_NODE_MODEL_BY_IDX(node_id, idx).
* The default_value parameter is not expanded in this case.
*
* Otherwise, this expands to default_value.
*
* @param node_id node identifier
* @param idx index of the model to return
* @return string literal of the idx-th model
* @param default_value a fallback value to expand to
* @return string literal of the idx-th model or "default_value"
*/
#define DT_NODE_MODEL_BY_IDX_OR(node_id, idx, default_value) \
COND_CODE_1(DT_NODE_MODEL_HAS_IDX(node_id, idx), \
(DT_NODE_MODEL_BY_IDX(node_id, idx)), (default_value))
/**
* @brief Get the node's (only) model as a string literal
*
* Equivalent to DT_NODE_MODEL_BY_IDX_OR(node_id, 0, default_value).
*
* @param node_id node identifier
* @param default_value a fallback value to expand to
*/
#define DT_NODE_MODEL_OR(node_id, default_value) \
DT_NODE_MODEL_BY_IDX_OR(node_id, 0, default_value)
/**
* @}
*/
/**
* @defgroup devicetree-reg-prop reg property
* @ingroup devicetree
* @{
*/
/**
* @brief Get the number of register blocks in the reg property
*
* Use this instead of DT_PROP_LEN(node_id, reg).
* @param node_id node identifier
* @return Number of register blocks in the node's "reg" property.
*/
#define DT_NUM_REGS(node_id) DT_CAT(node_id, _REG_NUM)
/**
* @brief Is @p idx a valid register block index?
*
* If this returns 1, then DT_REG_ADDR_BY_IDX(node_id, idx) or
* DT_REG_SIZE_BY_IDX(node_id, idx) are valid.
* If it returns 0, it is an error to use those macros with index @p idx.
* @param node_id node identifier
* @param idx index to check
* @return 1 if @p idx is a valid register block index,
* 0 otherwise.
*/
#define DT_REG_HAS_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _REG_IDX_, idx, _EXISTS))
/**
* @brief Is @p name a valid register block name?
*
* If this returns 1, then DT_REG_ADDR_BY_NAME(node_id, name) or
* DT_REG_SIZE_BY_NAME(node_id, name) are valid.
* If it returns 0, it is an error to use those macros with name @p name.
* @param node_id node identifier
* @param name name to check
* @return 1 if @p name is a valid register block name,
* 0 otherwise.
*/
#define DT_REG_HAS_NAME(node_id, name) \
IS_ENABLED(DT_CAT4(node_id, _REG_NAME_, name, _EXISTS))
/**
* @brief Get the base address of the register block at index @p idx
* @param node_id node identifier
* @param idx index of the register whose address to return
* @return address of the idx-th register block
*/
#define DT_REG_ADDR_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _REG_IDX_, idx, _VAL_ADDRESS)
/**
* @brief Get the size of the register block at index @p idx
*
* This is the size of an individual register block, not the total
* number of register blocks in the property; use DT_NUM_REGS() for
* that.
*
* @param node_id node identifier
* @param idx index of the register whose size to return
* @return size of the idx-th register block
*/
#define DT_REG_SIZE_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _REG_IDX_, idx, _VAL_SIZE)
/**
* @brief Get a node's (only) register block address
*
* Equivalent to DT_REG_ADDR_BY_IDX(node_id, 0).
* @param node_id node identifier
* @return node's register block address
*/
#define DT_REG_ADDR(node_id) DT_REG_ADDR_BY_IDX(node_id, 0)
/**
* @brief 64-bit version of DT_REG_ADDR()
*
* This macro version adds the appropriate suffix for 64-bit unsigned
* integer literals.
* Note that this macro is equivalent to DT_REG_ADDR() in linker/ASM context.
*
* @param node_id node identifier
* @return node's register block address
*/
#define DT_REG_ADDR_U64(node_id) DT_U64_C(DT_REG_ADDR(node_id))
/**
* @brief Get a node's (only) register block size
*
* Equivalent to DT_REG_SIZE_BY_IDX(node_id, 0).
* @param node_id node identifier
* @return node's only register block's size
*/
#define DT_REG_SIZE(node_id) DT_REG_SIZE_BY_IDX(node_id, 0)
/**
* @brief Get a register block's base address by name
* @param node_id node identifier
* @param name lowercase-and-underscores register specifier name
* @return address of the register block specified by name
*/
#define DT_REG_ADDR_BY_NAME(node_id, name) \
DT_CAT4(node_id, _REG_NAME_, name, _VAL_ADDRESS)
/**
* @brief Like DT_REG_ADDR_BY_NAME(), but with a fallback to @p default_value
* @param node_id node identifier
* @param name lowercase-and-underscores register specifier name
* @param default_value a fallback value to expand to
* @return address of the register block specified by name if present,
* @p default_value otherwise
*/
#define DT_REG_ADDR_BY_NAME_OR(node_id, name, default_value) \
COND_CODE_1(DT_REG_HAS_NAME(node_id, name), \
(DT_REG_ADDR_BY_NAME(node_id, name)), (default_value))
/**
* @brief 64-bit version of DT_REG_ADDR_BY_NAME()
*
* This macro version adds the appropriate suffix for 64-bit unsigned
* integer literals.
* Note that this macro is equivalent to DT_REG_ADDR_BY_NAME() in
* linker/ASM context.
*
* @param node_id node identifier
* @param name lowercase-and-underscores register specifier name
* @return address of the register block specified by name
*/
#define DT_REG_ADDR_BY_NAME_U64(node_id, name) \
DT_U64_C(DT_REG_ADDR_BY_NAME(node_id, name))
/**
* @brief Get a register block's size by name
* @param node_id node identifier
* @param name lowercase-and-underscores register specifier name
* @return size of the register block specified by name
*/
#define DT_REG_SIZE_BY_NAME(node_id, name) \
DT_CAT4(node_id, _REG_NAME_, name, _VAL_SIZE)
/**
* @brief Like DT_REG_SIZE_BY_NAME(), but with a fallback to @p default_value
* @param node_id node identifier
* @param name lowercase-and-underscores register specifier name
* @param default_value a fallback value to expand to
* @return size of the register block specified by name if present,
* @p default_value otherwise
*/
#define DT_REG_SIZE_BY_NAME_OR(node_id, name, default_value) \
COND_CODE_1(DT_REG_HAS_NAME(node_id, name), \
(DT_REG_SIZE_BY_NAME(node_id, name)), (default_value))
/**
* @}
*/
/**
* @defgroup devicetree-interrupts-prop interrupts property
* @ingroup devicetree
* @{
*/
/**
* @brief Get the number of interrupt sources for the node
*
* Use this instead of DT_PROP_LEN(node_id, interrupts).
*
* @param node_id node identifier
* @return Number of interrupt specifiers in the node's "interrupts" property.
*/
#define DT_NUM_IRQS(node_id) DT_CAT(node_id, _IRQ_NUM)
/**
* @brief Get the number of node labels that a node has
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* foo {};
* bar: bar@1000 {};
* baz: baz2: baz@2000 {};
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_NUM_NODELABELS(DT_PATH(foo)) // 0
* DT_NUM_NODELABELS(DT_NODELABEL(bar)) // 1
* DT_NUM_NODELABELS(DT_NODELABEL(baz)) // 2
* @endcode
*
* @param node_id node identifier
* @return number of node labels that the node has
*/
#define DT_NUM_NODELABELS(node_id) DT_CAT(node_id, _NODELABEL_NUM)
/**
* @brief Get the interrupt level for the node
*
* @param node_id node identifier
* @return interrupt level
*/
#define DT_IRQ_LEVEL(node_id) DT_CAT(node_id, _IRQ_LEVEL)
/**
* @brief Is @p idx a valid interrupt index?
*
* If this returns 1, then DT_IRQ_BY_IDX(node_id, idx) is valid.
* If it returns 0, it is an error to use that macro with this index.
* @param node_id node identifier
* @param idx index to check
* @return 1 if the idx is valid for the interrupt property
* 0 otherwise.
*/
#define DT_IRQ_HAS_IDX(node_id, idx) \
IS_ENABLED(DT_CAT4(node_id, _IRQ_IDX_, idx, _EXISTS))
/**
* @brief Does an interrupts property have a named cell specifier at an index?
* If this returns 1, then DT_IRQ_BY_IDX(node_id, idx, cell) is valid.
* If it returns 0, it is an error to use that macro.
* @param node_id node identifier
* @param idx index to check
* @param cell named cell value whose existence to check
* @return 1 if the named cell exists in the interrupt specifier at index idx
* 0 otherwise.
*/
#define DT_IRQ_HAS_CELL_AT_IDX(node_id, idx, cell) \
IS_ENABLED(DT_CAT6(node_id, _IRQ_IDX_, idx, _VAL_, cell, _EXISTS))
/**
* @brief Equivalent to DT_IRQ_HAS_CELL_AT_IDX(node_id, 0, cell)
* @param node_id node identifier
* @param cell named cell value whose existence to check
* @return 1 if the named cell exists in the interrupt specifier at index 0
* 0 otherwise.
*/
#define DT_IRQ_HAS_CELL(node_id, cell) DT_IRQ_HAS_CELL_AT_IDX(node_id, 0, cell)
/**
* @brief Does an interrupts property have a named specifier value at an index?
* If this returns 1, then DT_IRQ_BY_NAME(node_id, name, cell) is valid.
* If it returns 0, it is an error to use that macro.
* @param node_id node identifier
* @param name lowercase-and-underscores interrupt specifier name
* @return 1 if "name" is a valid named specifier
* 0 otherwise.
*/
#define DT_IRQ_HAS_NAME(node_id, name) \
IS_ENABLED(DT_CAT4(node_id, _IRQ_NAME_, name, _VAL_irq_EXISTS))
/**
* @brief Get a value within an interrupt specifier at an index
*
* It might help to read the argument order as being similar to
* "node->interrupts[index].cell".
*
* This can be used to get information about an individual interrupt
* when a device generates more than one.
*
* Example devicetree fragment:
*
* @code{.dts}
* my-serial: serial@abcd1234 {
* interrupts = < 33 0 >, < 34 1 >;
* };
* @endcode
*
* Assuming the node's interrupt domain has "#interrupt-cells = <2>;" and
* the individual cells in each interrupt specifier are named "irq" and
* "priority" by the node's binding, here are some examples:
*
* #define SERIAL DT_NODELABEL(my_serial)
*
* Example usage Value
* ------------- -----
* DT_IRQ_BY_IDX(SERIAL, 0, irq) 33
* DT_IRQ_BY_IDX(SERIAL, 0, priority) 0
* DT_IRQ_BY_IDX(SERIAL, 1, irq, 34
* DT_IRQ_BY_IDX(SERIAL, 1, priority) 1
*
* @param node_id node identifier
* @param idx logical index into the interrupt specifier array
* @param cell cell name specifier
* @return the named value at the specifier given by the index
*/
#define DT_IRQ_BY_IDX(node_id, idx, cell) \
DT_CAT5(node_id, _IRQ_IDX_, idx, _VAL_, cell)
/**
* @brief Get a value within an interrupt specifier by name
*
* It might help to read the argument order as being similar to
* `node->interrupts.name.cell`.
*
* This can be used to get information about an individual interrupt
* when a device generates more than one, if the bindings give each
* interrupt specifier a name.
*
* @param node_id node identifier
* @param name lowercase-and-underscores interrupt specifier name
* @param cell cell name specifier
* @return the named value at the specifier given by the index
*/
#define DT_IRQ_BY_NAME(node_id, name, cell) \
DT_CAT5(node_id, _IRQ_NAME_, name, _VAL_, cell)
/**
* @brief Get an interrupt specifier's value
* Equivalent to DT_IRQ_BY_IDX(node_id, 0, cell).
* @param node_id node identifier
* @param cell cell name specifier
* @return the named value at that index
*/
#define DT_IRQ(node_id, cell) DT_IRQ_BY_IDX(node_id, 0, cell)
/**
* @brief Get an interrupt specifier's interrupt controller by index
*
* @code{.dts}
* gpio0: gpio0 {
* interrupt-controller;
* #interrupt-cells = <2>;
* };
*
* foo: foo {
* interrupt-parent = <&gpio0>;
* interrupts = <1 1>, <2 2>;
* };
*
* bar: bar {
* interrupts-extended = <&gpio0 3 3>, <&pic0 4>;
* };
*
* pic0: pic0 {
* interrupt-controller;
* #interrupt-cells = <1>;
*
* qux: qux {
* interrupts = <5>, <6>;
* interrupt-names = "int1", "int2";
* };
* };
* @endcode
*
* Example usage:
*
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(foo), 0) // &gpio0
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(foo), 1) // &gpio0
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(bar), 0) // &gpio0
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(bar), 1) // &pic0
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(qux), 0) // &pic0
* DT_IRQ_INTC_BY_IDX(DT_NODELABEL(qux), 1) // &pic0
*
* @param node_id node identifier
* @param idx interrupt specifier's index
* @return node_id of interrupt specifier's interrupt controller
*/
#define DT_IRQ_INTC_BY_IDX(node_id, idx) \
DT_CAT4(node_id, _IRQ_IDX_, idx, _CONTROLLER)
/**
* @brief Get an interrupt specifier's interrupt controller by name
*
* @code{.dts}
* gpio0: gpio0 {
* interrupt-controller;
* #interrupt-cells = <2>;
* };
*
* foo: foo {
* interrupt-parent = <&gpio0>;
* interrupts = <1 1>, <2 2>;
* interrupt-names = "int1", "int2";
* };
*
* bar: bar {
* interrupts-extended = <&gpio0 3 3>, <&pic0 4>;
* interrupt-names = "int1", "int2";
* };
*
* pic0: pic0 {
* interrupt-controller;
* #interrupt-cells = <1>;
*
* qux: qux {
* interrupts = <5>, <6>;
* interrupt-names = "int1", "int2";
* };
* };
* @endcode
*
* Example usage:
*
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(foo), int1) // &gpio0
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(foo), int2) // &gpio0
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(bar), int1) // &gpio0
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(bar), int2) // &pic0
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(qux), int1) // &pic0
* DT_IRQ_INTC_BY_NAME(DT_NODELABEL(qux), int2) // &pic0
*
* @param node_id node identifier
* @param name interrupt specifier's name
* @return node_id of interrupt specifier's interrupt controller
*/
#define DT_IRQ_INTC_BY_NAME(node_id, name) \
DT_CAT4(node_id, _IRQ_NAME_, name, _CONTROLLER)
/**
* @brief Get an interrupt specifier's interrupt controller
* @note Equivalent to DT_IRQ_INTC_BY_IDX(node_id, 0)
*
* @code{.dts}
* gpio0: gpio0 {
* interrupt-controller;
* #interrupt-cells = <2>;
* };
*
* foo: foo {
* interrupt-parent = <&gpio0>;
* interrupts = <1 1>;
* };
*
* bar: bar {
* interrupts-extended = <&gpio0 3 3>;
* };
*
* pic0: pic0 {
* interrupt-controller;
* #interrupt-cells = <1>;
*
* qux: qux {
* interrupts = <5>;
* };
* };
* @endcode
*
* Example usage:
*
* DT_IRQ_INTC(DT_NODELABEL(foo)) // &gpio0
* DT_IRQ_INTC(DT_NODELABEL(bar)) // &gpio0
* DT_IRQ_INTC(DT_NODELABEL(qux)) // &pic0
*
* @param node_id node identifier
* @return node_id of interrupt specifier's interrupt controller
* @see DT_IRQ_INTC_BY_IDX()
*/
#define DT_IRQ_INTC(node_id) \
DT_IRQ_INTC_BY_IDX(node_id, 0)
/**
* @cond INTERNAL_HIDDEN
*/
/* DT helper macro to encode a node's IRQN to level 1 according to the multi-level scheme */
#define DT_IRQN_L1_INTERNAL(node_id, idx) DT_IRQ_BY_IDX(node_id, idx, irq)
/* DT helper macro to encode a node's IRQN to level 2 according to the multi-level scheme */
#define DT_IRQN_L2_INTERNAL(node_id, idx) \
(IRQ_TO_L2(DT_IRQN_L1_INTERNAL(node_id, idx)) | \
DT_IRQ(DT_IRQ_INTC_BY_IDX(node_id, idx), irq))
/* DT helper macro to encode a node's IRQN to level 3 according to the multi-level scheme */
#define DT_IRQN_L3_INTERNAL(node_id, idx) \
(IRQ_TO_L3(DT_IRQN_L1_INTERNAL(node_id, idx)) | \
IRQ_TO_L2(DT_IRQ(DT_IRQ_INTC_BY_IDX(node_id, idx), irq)) | \
DT_IRQ(DT_IRQ_INTC(DT_IRQ_INTC_BY_IDX(node_id, idx)), irq))
/* DT helper macro for the macros above */
#define DT_IRQN_LVL_INTERNAL(node_id, idx, level) DT_CAT3(DT_IRQN_L, level, _INTERNAL)(node_id, idx)
/**
* DT helper macro to encode a node's interrupt number according to the Zephyr's multi-level scheme
* See doc/kernel/services/interrupts.rst for details
*/
#define DT_MULTI_LEVEL_IRQN_INTERNAL(node_id, idx) \
DT_IRQN_LVL_INTERNAL(node_id, idx, DT_IRQ_LEVEL(node_id))
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Get the node's Zephyr interrupt number at index
* If @kconfig{CONFIG_MULTI_LEVEL_INTERRUPTS} is enabled, the interrupt number at index will be
* multi-level encoded
* @param node_id node identifier
* @param idx logical index into the interrupt specifier array
* @return the Zephyr interrupt number
*/
#define DT_IRQN_BY_IDX(node_id, idx) \
COND_CODE_1(IS_ENABLED(CONFIG_MULTI_LEVEL_INTERRUPTS), \
(DT_MULTI_LEVEL_IRQN_INTERNAL(node_id, idx)), \
(DT_IRQ_BY_IDX(node_id, idx, irq)))
/**
* @brief Get a node's (only) irq number
*
* Equivalent to DT_IRQ(node_id, irq). This is provided as a convenience
* for the common case where a node generates exactly one interrupt,
* and the IRQ number is in a cell named `irq`.
*
* @param node_id node identifier
* @return the interrupt number for the node's only interrupt
*/
#define DT_IRQN(node_id) DT_IRQN_BY_IDX(node_id, 0)
/**
* @}
*/
/**
* @defgroup devicetree-generic-chosen Chosen nodes
* @ingroup devicetree
* @{
*/
/**
* @brief Get a node identifier for a `/chosen` node property
*
* This is only valid to call if `DT_HAS_CHOSEN(prop)` is 1.
* @param prop lowercase-and-underscores property name for
* the /chosen node
* @return a node identifier for the chosen node property
*/
#define DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop)
/**
* @brief Test if the devicetree has a `/chosen` node
* @param prop lowercase-and-underscores devicetree property
* @return 1 if the chosen property exists and refers to a node,
* 0 otherwise
*/
#define DT_HAS_CHOSEN(prop) IS_ENABLED(DT_CAT3(DT_CHOSEN_, prop, _EXISTS))
/**
* @}
*/
/**
* @defgroup devicetree-generic-foreach "For-each" macros
* @ingroup devicetree
* @{
*/
/**
* @brief Invokes @p fn for every node in the tree.
*
* The macro @p fn must take one parameter, which will be a node
* identifier. The macro is expanded once for each node in the tree.
* The order that nodes are visited in is not specified.
*
* @param fn macro to invoke
*/
#define DT_FOREACH_NODE(fn) DT_FOREACH_HELPER(fn)
/**
* @brief Invokes @p fn for every node in the tree with multiple arguments.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the node. The remaining are passed-in by the caller.
*
* The macro is expanded once for each node in the tree. The order that nodes
* are visited in is not specified.
*
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*/
#define DT_FOREACH_NODE_VARGS(fn, ...) DT_FOREACH_VARGS_HELPER(fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for every status `okay` node in the tree.
*
* The macro @p fn must take one parameter, which will be a node
* identifier. The macro is expanded once for each node in the tree
* with status `okay` (as usual, a missing status property is treated
* as status `okay`). The order that nodes are visited in is not
* specified.
*
* @param fn macro to invoke
*/
#define DT_FOREACH_STATUS_OKAY_NODE(fn) DT_FOREACH_OKAY_HELPER(fn)
/**
* @brief Invokes @p fn for every status `okay` node in the tree with multiple
* arguments.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the node. The remaining are passed-in by the caller.
*
* The macro is expanded once for each node in the tree with status `okay` (as
* usual, a missing status property is treated as status `okay`). The order
* that nodes are visited in is not specified.
*
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*/
#define DT_FOREACH_STATUS_OKAY_NODE_VARGS(fn, ...) DT_FOREACH_OKAY_VARGS_HELPER(fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for each child of @p node_id
*
* The macro @p fn must take one parameter, which will be the node
* identifier of a child node of @p node_id.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* child-1 {
* foobar = "foo";
* };
* child-2 {
* foobar = "bar";
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define FOOBAR_AND_COMMA(node_id) DT_PROP(node_id, foobar),
*
* const char *child_foobars[] = {
* DT_FOREACH_CHILD(DT_NODELABEL(n), FOOBAR_AND_COMMA)
* };
* @endcode
*
* This expands to:
*
* @code{.c}
* const char *child_foobars[] = {
* "foo", "bar",
* };
* @endcode
*
* @param node_id node identifier
* @param fn macro to invoke
*/
#define DT_FOREACH_CHILD(node_id, fn) \
DT_CAT(node_id, _FOREACH_CHILD)(fn)
/**
* @brief Invokes @p fn for each child of @p node_id with a separator
*
* The macro @p fn must take one parameter, which will be the node
* identifier of a child node of @p node_id.
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* child-1 {
* ...
* };
* child-2 {
* ...
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* const char *child_names[] = {
* DT_FOREACH_CHILD_SEP(DT_NODELABEL(n), DT_NODE_FULL_NAME, (,))
* };
* @endcode
*
* This expands to:
*
* @code{.c}
* const char *child_names[] = {
* "child-1", "child-2"
* };
* @endcode
*
* @param node_id node identifier
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*/
#define DT_FOREACH_CHILD_SEP(node_id, fn, sep) \
DT_CAT(node_id, _FOREACH_CHILD_SEP)(fn, sep)
/**
* @brief Invokes @p fn for each child of @p node_id with multiple arguments
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* @param node_id node identifier
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD
*/
#define DT_FOREACH_CHILD_VARGS(node_id, fn, ...) \
DT_CAT(node_id, _FOREACH_CHILD_VARGS)(fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for each child of @p node_id with separator and multiple
* arguments.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* @param node_id node identifier
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_VARGS
*/
#define DT_FOREACH_CHILD_SEP_VARGS(node_id, fn, sep, ...) \
DT_CAT(node_id, _FOREACH_CHILD_SEP_VARGS)(fn, sep, __VA_ARGS__)
/**
* @brief Call @p fn on the child nodes with status `okay`
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* As usual, both a missing status and an `ok` status are
* treated as `okay`.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* @param node_id node identifier
* @param fn macro to invoke
*/
#define DT_FOREACH_CHILD_STATUS_OKAY(node_id, fn) \
DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY)(fn)
/**
* @brief Call @p fn on the child nodes with status `okay` with separator
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* As usual, both a missing status and an `ok` status are
* treated as `okay`.
*
* @param node_id node identifier
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*
* @see DT_FOREACH_CHILD_STATUS_OKAY
*/
#define DT_FOREACH_CHILD_STATUS_OKAY_SEP(node_id, fn, sep) \
DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY_SEP)(fn, sep)
/**
* @brief Call @p fn on the child nodes with status `okay` with multiple
* arguments
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* As usual, both a missing status and an `ok` status are
* treated as `okay`.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* @param node_id node identifier
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_STATUS_OKAY
*/
#define DT_FOREACH_CHILD_STATUS_OKAY_VARGS(node_id, fn, ...) \
DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY_VARGS)(fn, __VA_ARGS__)
/**
* @brief Call @p fn on the child nodes with status `okay` with separator and
* multiple arguments
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* As usual, both a missing status and an `ok` status are
* treated as `okay`.
*
* @param node_id node identifier
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_SEP_STATUS_OKAY
*/
#define DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(node_id, fn, sep, ...) \
DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY_SEP_VARGS)(fn, sep, __VA_ARGS__)
/**
* @brief Invokes @p fn for each element in the value of property @p prop.
*
* The macro @p fn must take three parameters: fn(node_id, prop, idx).
* @p node_id and @p prop are the same as what is passed to
* DT_FOREACH_PROP_ELEM(), and @p idx is the current index into the array.
* The @p idx values are integer literals starting from 0.
*
* The @p prop argument must refer to a property that can be passed to
* DT_PROP_LEN().
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* my-ints = <1 2 3>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define TIMES_TWO(node_id, prop, idx) \
* (2 * DT_PROP_BY_IDX(node_id, prop, idx)),
*
* int array[] = {
* DT_FOREACH_PROP_ELEM(DT_NODELABEL(n), my_ints, TIMES_TWO)
* };
* @endcode
*
* This expands to:
*
* @code{.c}
* int array[] = {
* (2 * 1), (2 * 2), (2 * 3),
* };
* @endcode
*
* In general, this macro expands to:
*
* fn(node_id, prop, 0) fn(node_id, prop, 1) [...] fn(node_id, prop, n-1)
*
* where `n` is the number of elements in @p prop, as it would be
* returned by `DT_PROP_LEN(node_id, prop)`.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @see DT_PROP_LEN
*/
#define DT_FOREACH_PROP_ELEM(node_id, prop, fn) \
DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM)(fn)
/**
* @brief Invokes @p fn for each element in the value of property @p prop with
* separator.
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* my-gpios = <&gpioa 0 GPIO_ACTICE_HIGH>,
* <&gpiob 1 GPIO_ACTIVE_HIGH>;
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* struct gpio_dt_spec specs[] = {
* DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(n), my_gpios,
* GPIO_DT_SPEC_GET_BY_IDX, (,))
* };
* @endcode
*
* This expands as a first step to:
*
* @code{.c}
* struct gpio_dt_spec specs[] = {
* GPIO_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), my_gpios, 0),
* GPIO_DT_SPEC_GET_BY_IDX(DT_NODELABEL(n), my_gpios, 1)
* };
* @endcode
*
* The @p prop parameter has the same restrictions as the same parameter
* given to DT_FOREACH_PROP_ELEM().
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*
* @see DT_FOREACH_PROP_ELEM
*/
#define DT_FOREACH_PROP_ELEM_SEP(node_id, prop, fn, sep) \
DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_SEP)(fn, sep)
/**
* @brief Invokes @p fn for each element in the value of property @p prop with
* multiple arguments.
*
* The macro @p fn must take multiple parameters:
* `fn(node_id, prop, idx, ...)`. @p node_id and @p prop are the same as what
* is passed to DT_FOREACH_PROP_ELEM(), and @p idx is the current index into
* the array. The @p idx values are integer literals starting from 0. The
* remaining arguments are passed-in by the caller.
*
* The @p prop parameter has the same restrictions as the same parameter
* given to DT_FOREACH_PROP_ELEM().
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_PROP_ELEM
*/
#define DT_FOREACH_PROP_ELEM_VARGS(node_id, prop, fn, ...) \
DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_VARGS)(fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for each element in the value of property @p prop with
* multiple arguments and a separator.
*
* The @p prop parameter has the same restrictions as the same parameter
* given to DT_FOREACH_PROP_ELEM().
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to fn
*
* @see DT_FOREACH_PROP_ELEM_VARGS
*/
#define DT_FOREACH_PROP_ELEM_SEP_VARGS(node_id, prop, fn, sep, ...) \
DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_SEP_VARGS)( \
fn, sep, __VA_ARGS__)
/**
* @brief Invokes @p fn for each status `okay` node of a compatible.
*
* This macro expands to:
*
* fn(node_id_1) fn(node_id_2) ... fn(node_id_n)
*
* where each `node_id_<i>` is a node identifier for some node with
* compatible @p compat and status `okay`. Whitespace is added between
* expansions as shown above.
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* a {
* compatible = "foo";
* status = "okay";
* };
* b {
* compatible = "foo";
* status = "disabled";
* };
* c {
* compatible = "foo";
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_FOREACH_STATUS_OKAY(foo, DT_NODE_PATH)
* @endcode
*
* This expands to one of the following:
*
* "/a" "/c"
* "/c" "/a"
*
* "One of the following" is because no guarantees are made about the
* order that node identifiers are passed to @p fn in the expansion.
*
* (The `/c` string literal is present because a missing status
* property is always treated as if the status were set to `okay`.)
*
* Note also that @p fn is responsible for adding commas, semicolons,
* or other terminators as needed.
*
* @param compat lowercase-and-underscores devicetree compatible
* @param fn Macro to call for each enabled node. Must accept a
* node_id as its only parameter.
*/
#define DT_FOREACH_STATUS_OKAY(compat, fn) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
(DT_CAT(DT_FOREACH_OKAY_, compat)(fn)), \
())
/**
* @brief Invokes @p fn for each status `okay` node of a compatible
* with multiple arguments.
*
* This is like DT_FOREACH_STATUS_OKAY() except you can also pass
* additional arguments to @p fn.
*
* Example devicetree fragment:
*
* @code{.dts}
* / {
* a {
* compatible = "foo";
* val = <3>;
* };
* b {
* compatible = "foo";
* val = <4>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define MY_FN(node_id, operator) DT_PROP(node_id, val) operator
* x = DT_FOREACH_STATUS_OKAY_VARGS(foo, MY_FN, +) 0;
* @endcode
*
* This expands to one of the following:
*
* @code{.c}
* x = 3 + 4 + 0;
* x = 4 + 3 + 0;
* @endcode
*
* i.e. it sets `x` to 7. As with DT_FOREACH_STATUS_OKAY(), there are no
* guarantees about the order nodes appear in the expansion.
*
* @param compat lowercase-and-underscores devicetree compatible
* @param fn Macro to call for each enabled node. Must accept a
* node_id as its only parameter.
* @param ... Additional arguments to pass to @p fn
*/
#define DT_FOREACH_STATUS_OKAY_VARGS(compat, fn, ...) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(compat), \
(DT_CAT(DT_FOREACH_OKAY_VARGS_, \
compat)(fn, __VA_ARGS__)), \
())
/**
* @brief Invokes @p fn for each node label of a given node
*
* The order of the node labels in this macro's expansion matches
* the order in the final devicetree, with duplicates removed.
*
* Node labels are passed to @p fn as tokens. Note that devicetree
* node labels are always valid C tokens (see "6.2 Labels" in
* Devicetree Specification v0.4 for details). The node labels are
* passed as tokens to @p fn as-is, without any lowercasing or
* conversion of special characters to underscores.
*
* Example devicetree fragment:
*
* @code{.dts}
* foo: bar: FOO: node@deadbeef {};
* @endcode
*
* Example usage:
*
* @code{.c}
* int foo = 1;
* int bar = 2;
* int FOO = 3;
*
* #define FN(nodelabel) + nodelabel
* int sum = 0 DT_FOREACH_NODELABEL(DT_NODELABEL(foo), FN)
* @endcode
*
* This expands to:
*
* @code{.c}
* int sum = 0 + 1 + 2 + 3;
* @endcode
*
* @param node_id node identifier whose node labels to use
* @param fn macro which will be passed each node label in order
*/
#define DT_FOREACH_NODELABEL(node_id, fn) DT_CAT(node_id, _FOREACH_NODELABEL)(fn)
/**
* @brief Invokes @p fn for each node label of a given node with
* multiple arguments.
*
* This is like DT_FOREACH_NODELABEL() except you can also pass
* additional arguments to @p fn.
*
* Example devicetree fragment:
*
* @code{.dts}
* foo: bar: node@deadbeef {};
* @endcode
*
* Example usage:
*
* @code{.c}
* int foo = 0;
* int bar = 1;
*
* #define VAR_PLUS(nodelabel, to_add) int nodelabel ## _added = nodelabel + to_add;
*
* DT_FOREACH_NODELABEL_VARGS(DT_NODELABEL(foo), VAR_PLUS, 1)
* @endcode
*
* This expands to:
*
* @code{.c}
* int foo = 0;
* int bar = 1;
* int foo_added = foo + 1;
* int bar_added = bar + 1;
* @endcode
*
* @param node_id node identifier whose node labels to use
* @param fn macro which will be passed each node label in order
* @param ... additional arguments to pass to @p fn
*/
#define DT_FOREACH_NODELABEL_VARGS(node_id, fn, ...) \
DT_CAT(node_id, _FOREACH_NODELABEL_VARGS)(fn, __VA_ARGS__)
/**
* @}
*/
/**
* @defgroup devicetree-generic-exist Existence checks
* @ingroup devicetree
* @{
*/
/**
* @brief Does a node identifier refer to a node?
*
* Tests whether a node identifier refers to a node which exists, i.e.
* is defined in the devicetree.
*
* It doesn't matter whether or not the node has a matching binding,
* or what the node's status value is. This is purely a check of
* whether the node exists at all.
*
* @param node_id a node identifier
* @return 1 if the node identifier refers to a node,
* 0 otherwise.
*/
#define DT_NODE_EXISTS(node_id) IS_ENABLED(DT_CAT(node_id, _EXISTS))
/**
* @brief Does a node identifier refer to a node with a status?
*
* Example uses:
*
* @code{.c}
* DT_NODE_HAS_STATUS(DT_PATH(soc, i2c_12340000), okay)
* DT_NODE_HAS_STATUS(DT_PATH(soc, i2c_12340000), disabled)
* @endcode
*
* Tests whether a node identifier refers to a node which:
*
* - exists in the devicetree, and
* - has a status property matching the second argument
* (except that either a missing status or an `ok` status
* in the devicetree is treated as if it were `okay` instead)
*
* @param node_id a node identifier
* @param status a status as one of the tokens okay or disabled, not a string
* @return 1 if the node has the given status, 0 otherwise.
*/
#define DT_NODE_HAS_STATUS(node_id, status) \
DT_NODE_HAS_STATUS_INTERNAL(node_id, status)
/**
* @brief Does the devicetree have a status `okay` node with a compatible?
*
* Test for whether the devicetree has any nodes with status `okay`
* and the given compatible. That is, this returns 1 if and only if
* there is at least one @p node_id for which both of these
* expressions return 1:
*
* @code{.c}
* DT_NODE_HAS_STATUS(node_id, okay)
* DT_NODE_HAS_COMPAT(node_id, compat)
* @endcode
*
* As usual, both a missing status and an `ok` status are treated as
* `okay`.
*
* @param compat lowercase-and-underscores compatible, without quotes
* @return 1 if both of the above conditions are met, 0 otherwise
*/
#define DT_HAS_COMPAT_STATUS_OKAY(compat) \
IS_ENABLED(DT_CAT(DT_COMPAT_HAS_OKAY_, compat))
/**
* @brief Get the number of instances of a given compatible with
* status `okay`
* @param compat lowercase-and-underscores compatible, without quotes
* @return Number of instances with status `okay`
*/
#define DT_NUM_INST_STATUS_OKAY(compat) \
UTIL_AND(DT_HAS_COMPAT_STATUS_OKAY(compat), \
UTIL_CAT(DT_N_INST, DT_DASH(compat, NUM_OKAY)))
/**
* @brief Does a devicetree node match a compatible?
*
* Example devicetree fragment:
*
* @code{.dts}
* n: node {
* compatible = "vnd,specific-device", "generic-device";
* }
* @endcode
*
* Example usages which evaluate to 1:
*
* @code{.c}
* DT_NODE_HAS_COMPAT(DT_NODELABEL(n), vnd_specific_device)
* DT_NODE_HAS_COMPAT(DT_NODELABEL(n), generic_device)
* @endcode
*
* This macro only uses the value of the compatible property. Whether
* or not a particular compatible has a matching binding has no effect
* on its value, nor does the node's status.
*
* @param node_id node identifier
* @param compat lowercase-and-underscores compatible, without quotes
* @return 1 if the node's compatible property contains @p compat,
* 0 otherwise.
*/
#define DT_NODE_HAS_COMPAT(node_id, compat) \
IS_ENABLED(DT_CAT3(node_id, _COMPAT_MATCHES_, compat))
/**
* @brief Does a devicetree node have a compatible and status?
*
* This is equivalent to:
*
* @code{.c}
* (DT_NODE_HAS_COMPAT(node_id, compat) &&
* DT_NODE_HAS_STATUS(node_id, status))
* @endcode
*
* @param node_id node identifier
* @param compat lowercase-and-underscores compatible, without quotes
* @param status okay or disabled as a token, not a string
*/
#define DT_NODE_HAS_COMPAT_STATUS(node_id, compat, status) \
UTIL_AND(DT_NODE_HAS_COMPAT(node_id, compat), DT_NODE_HAS_STATUS(node_id, status))
/**
* @brief Does a devicetree node have a property?
*
* Tests whether a devicetree node has a property defined.
*
* This tests whether the property is defined at all, not whether a
* boolean property is true or false. To get a boolean property's
* truth value, use DT_PROP(node_id, prop) instead.
*
* @param node_id node identifier
* @param prop lowercase-and-underscores property name
* @return 1 if the node has the property, 0 otherwise.
*/
#define DT_NODE_HAS_PROP(node_id, prop) \
IS_ENABLED(DT_CAT4(node_id, _P_, prop, _EXISTS))
/**
* @brief Does a phandle array have a named cell specifier at an index?
*
* If this returns 1, then the phandle-array property @p pha has a cell
* named @p cell at index @p idx, and therefore DT_PHA_BY_IDX(node_id,
* pha, idx, cell) is valid. If it returns 0, it's an error to use
* DT_PHA_BY_IDX() with the same arguments.
*
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx index to check within @p pha
* @param cell lowercase-and-underscores cell name whose existence to check
* at index @p idx
* @return 1 if the named cell exists in the specifier at index idx,
* 0 otherwise.
*/
#define DT_PHA_HAS_CELL_AT_IDX(node_id, pha, idx, cell) \
IS_ENABLED(DT_CAT8(node_id, _P_, pha, \
_IDX_, idx, _VAL_, cell, _EXISTS))
/**
* @brief Equivalent to DT_PHA_HAS_CELL_AT_IDX(node_id, pha, 0, cell)
* @param node_id node identifier
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell lowercase-and-underscores cell name whose existence to check
* at index @p idx
* @return 1 if the named cell exists in the specifier at index 0,
* 0 otherwise.
*/
#define DT_PHA_HAS_CELL(node_id, pha, cell) \
DT_PHA_HAS_CELL_AT_IDX(node_id, pha, 0, cell)
/**
* @}
*/
/**
* @defgroup devicetree-generic-bus Bus helpers
* @ingroup devicetree
* @{
*/
/**
* @brief Node's bus controller
*
* Get the node identifier of the node's bus controller. This can be
* used with DT_PROP() to get properties of the bus controller.
*
* It is an error to use this with nodes which do not have bus
* controllers.
*
* Example devicetree fragment:
*
* @code{.dts}
* i2c@deadbeef {
* status = "okay";
* clock-frequency = < 100000 >;
*
* i2c_device: accelerometer@12 {
* ...
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* DT_PROP(DT_BUS(DT_NODELABEL(i2c_device)), clock_frequency) // 100000
* @endcode
*
* @param node_id node identifier
* @return a node identifier for the node's bus controller
*/
#define DT_BUS(node_id) DT_CAT(node_id, _BUS)
/**
* @brief Is a node on a bus of a given type?
*
* Example devicetree overlay:
*
* @code{.dts}
* &i2c0 {
* temp: temperature-sensor@76 {
* compatible = "vnd,some-sensor";
* reg = <0x76>;
* };
* };
* @endcode
*
* Example usage, assuming `i2c0` is an I2C bus controller node, and
* therefore `temp` is on an I2C bus:
*
* @code{.c}
* DT_ON_BUS(DT_NODELABEL(temp), i2c) // 1
* DT_ON_BUS(DT_NODELABEL(temp), spi) // 0
* @endcode
*
* @param node_id node identifier
* @param bus lowercase-and-underscores bus type as a C token (i.e.
* without quotes)
* @return 1 if the node is on a bus of the given type,
* 0 otherwise
*/
#define DT_ON_BUS(node_id, bus) IS_ENABLED(DT_CAT3(node_id, _BUS_, bus))
/**
* @}
*/
/**
* @defgroup devicetree-inst Instance-based devicetree APIs
* @ingroup devicetree
* @{
*/
/**
* @brief Node identifier for an instance of a `DT_DRV_COMPAT` compatible
* @param inst instance number
* @return a node identifier for the node with `DT_DRV_COMPAT` compatible and
* instance number @p inst
*/
#define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT)
/**
* @brief Get a `DT_DRV_COMPAT` parent's node identifier
* @param inst instance number
* @return a node identifier for the instance's parent
*
* @see DT_PARENT
*/
#define DT_INST_PARENT(inst) DT_PARENT(DT_DRV_INST(inst))
/**
* @brief Get a `DT_DRV_COMPAT` grandparent's node identifier
* @param inst instance number
* @return a node identifier for the instance's grandparent
*
* @see DT_GPARENT
*/
#define DT_INST_GPARENT(inst) DT_GPARENT(DT_DRV_INST(inst))
/**
* @brief Get a node identifier for a child node of DT_DRV_INST(inst)
*
* @param inst instance number
* @param child lowercase-and-underscores child node name
* @return node identifier for the node with the name referred to by 'child'
*
* @see DT_CHILD
*/
#define DT_INST_CHILD(inst, child) \
DT_CHILD(DT_DRV_INST(inst), child)
/**
* @brief Get the number of child nodes of a given node
*
* This is equivalent to @see
* <tt>DT_CHILD_NUM(DT_DRV_INST(inst))</tt>.
*
* @param inst Devicetree instance number
* @return Number of child nodes
*/
#define DT_INST_CHILD_NUM(inst) DT_CHILD_NUM(DT_DRV_INST(inst))
/**
* @brief Get the number of child nodes of a given node
*
* This is equivalent to @see
* <tt>DT_CHILD_NUM_STATUS_OKAY(DT_DRV_INST(inst))</tt>.
*
* @param inst Devicetree instance number
* @return Number of child nodes which status are okay
*/
#define DT_INST_CHILD_NUM_STATUS_OKAY(inst) \
DT_CHILD_NUM_STATUS_OKAY(DT_DRV_INST(inst))
/**
* @brief Get a string array of DT_DRV_INST(inst)'s node labels
*
* Equivalent to DT_NODELABEL_STRING_ARRAY(DT_DRV_INST(inst)).
*
* @param inst instance number
* @return an array initializer for an array of the instance's node labels as strings
*/
#define DT_INST_NODELABEL_STRING_ARRAY(inst) DT_NODELABEL_STRING_ARRAY(DT_DRV_INST(inst))
/**
* @brief Get the number of node labels by instance number
*
* Equivalent to DT_NUM_NODELABELS(DT_DRV_INST(inst)).
*
* @param inst instance number
* @return the number of node labels that the node with that instance number has
*/
#define DT_INST_NUM_NODELABELS(inst) DT_NUM_NODELABELS(DT_DRV_INST(inst))
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst).
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
*
* @see DT_FOREACH_CHILD
*/
#define DT_INST_FOREACH_CHILD(inst, fn) \
DT_FOREACH_CHILD(DT_DRV_INST(inst), fn)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with a separator
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*
* @see DT_FOREACH_CHILD_SEP
*/
#define DT_INST_FOREACH_CHILD_SEP(inst, fn, sep) \
DT_FOREACH_CHILD_SEP(DT_DRV_INST(inst), fn, sep)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst).
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* The children will be iterated over in the same order as they
* appear in the final devicetree.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD
*/
#define DT_INST_FOREACH_CHILD_VARGS(inst, fn, ...) \
DT_FOREACH_CHILD_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with separator.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_SEP_VARGS
*/
#define DT_INST_FOREACH_CHILD_SEP_VARGS(inst, fn, sep, ...) \
DT_FOREACH_CHILD_SEP_VARGS(DT_DRV_INST(inst), fn, sep, __VA_ARGS__)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay`.
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
*
* @see DT_FOREACH_CHILD_STATUS_OKAY
*/
#define DT_INST_FOREACH_CHILD_STATUS_OKAY(inst, fn) \
DT_FOREACH_CHILD_STATUS_OKAY(DT_DRV_INST(inst), fn)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay`
* and with separator.
*
* The macro @p fn should take one argument, which is the node
* identifier for the child node.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*
* @see DT_FOREACH_CHILD_STATUS_OKAY_SEP
*/
#define DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP(inst, fn, sep) \
DT_FOREACH_CHILD_STATUS_OKAY_SEP(DT_DRV_INST(inst), fn, sep)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay`
* and multiple arguments.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_STATUS_OKAY_VARGS
*/
#define DT_INST_FOREACH_CHILD_STATUS_OKAY_VARGS(inst, fn, ...) \
DT_FOREACH_CHILD_STATUS_OKAY_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
/**
* @brief Call @p fn on all child nodes of DT_DRV_INST(inst) with status `okay`
* and with separator and multiple arguments.
*
* The macro @p fn takes multiple arguments. The first should be the node
* identifier for the child node. The remaining are passed-in by the caller.
*
* @param inst instance number
* @param fn macro to invoke on each child node identifier
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS
*/
#define DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(inst, fn, sep, ...) \
DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(DT_DRV_INST(inst), fn, sep, __VA_ARGS__)
/**
* @brief Get a `DT_DRV_COMPAT` value's index into its enumeration values
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return zero-based index of the property's value in its enum: list
*/
#define DT_INST_ENUM_IDX(inst, prop) \
DT_ENUM_IDX(DT_DRV_INST(inst), prop)
/**
* @brief Like DT_INST_ENUM_IDX(), but with a fallback to a default enum index
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param default_idx_value a fallback index value to expand to
* @return zero-based index of the property's value in its enum if present,
* default_idx_value otherwise
*/
#define DT_INST_ENUM_IDX_OR(inst, prop, default_idx_value) \
DT_ENUM_IDX_OR(DT_DRV_INST(inst), prop, default_idx_value)
/**
* @brief Does a `DT_DRV_COMPAT` enumeration property have a given value?
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param value lowercase-and-underscores enumeration value
* @return 1 if the node property has the value @a value, 0 otherwise.
*/
#define DT_INST_ENUM_HAS_VALUE(inst, prop, value) \
DT_ENUM_HAS_VALUE(DT_DRV_INST(inst), prop, value)
/**
* @brief Get a `DT_DRV_COMPAT` instance property
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return a representation of the property's value
*/
#define DT_INST_PROP(inst, prop) DT_PROP(DT_DRV_INST(inst), prop)
/**
* @brief Get a `DT_DRV_COMPAT` property length
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return logical length of the property
*/
#define DT_INST_PROP_LEN(inst, prop) DT_PROP_LEN(DT_DRV_INST(inst), prop)
/**
* @brief Is index @p idx valid for an array type property
* on a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param idx index to check
* @return 1 if @p idx is a valid index into the given property,
* 0 otherwise.
*/
#define DT_INST_PROP_HAS_IDX(inst, prop, idx) \
DT_PROP_HAS_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Is name @p name available in a `foo-names` property?
* @param inst instance number
* @param prop a lowercase-and-underscores `prop-names` type property
* @param name a lowercase-and-underscores name to check
* @return An expression which evaluates to 1 if @p name is an available
* name into the given property, and 0 otherwise.
*/
#define DT_INST_PROP_HAS_NAME(inst, prop, name) \
DT_PROP_HAS_NAME(DT_DRV_INST(inst), prop, name)
/**
* @brief Get a `DT_DRV_COMPAT` element value in an array property
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return a representation of the idx-th element of the property
*/
#define DT_INST_PROP_BY_IDX(inst, prop, idx) \
DT_PROP_BY_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Like DT_INST_PROP(), but with a fallback to @p default_value
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return DT_INST_PROP(inst, prop) or @p default_value
*/
#define DT_INST_PROP_OR(inst, prop, default_value) \
DT_PROP_OR(DT_DRV_INST(inst), prop, default_value)
/**
* @brief Like DT_INST_PROP_LEN(), but with a fallback to @p default_value
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return DT_INST_PROP_LEN(inst, prop) or @p default_value
*/
#define DT_INST_PROP_LEN_OR(inst, prop, default_value) \
DT_PROP_LEN_OR(DT_DRV_INST(inst), prop, default_value)
/**
* @brief Get a `DT_DRV_COMPAT` instance's string property's value as a
* token.
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return the value of @p prop as a token, i.e. without any quotes
* and with special characters converted to underscores
*/
#define DT_INST_STRING_TOKEN(inst, prop) \
DT_STRING_TOKEN(DT_DRV_INST(inst), prop)
/**
* @brief Like DT_INST_STRING_TOKEN(), but uppercased.
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return the value of @p prop as an uppercased token, i.e. without
* any quotes and with special characters converted to underscores
*/
#define DT_INST_STRING_UPPER_TOKEN(inst, prop) \
DT_STRING_UPPER_TOKEN(DT_DRV_INST(inst), prop)
/**
* @brief Get a `DT_DRV_COMPAT` instance's string property's value as
* an unquoted sequence of tokens.
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return the value of @p prop as a sequence of tokens, with no quotes
*/
#define DT_INST_STRING_UNQUOTED(inst, prop) \
DT_STRING_UNQUOTED(DT_DRV_INST(inst), prop)
/**
* @brief Get an element out of string-array property as a token.
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the element in @p prop at index @p idx as a token
*/
#define DT_INST_STRING_TOKEN_BY_IDX(inst, prop, idx) \
DT_STRING_TOKEN_BY_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Like DT_INST_STRING_TOKEN_BY_IDX(), but uppercased.
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the element in @p prop at index @p idx as an uppercased token
*/
#define DT_INST_STRING_UPPER_TOKEN_BY_IDX(inst, prop, idx) \
DT_STRING_UPPER_TOKEN_BY_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Get an element out of string-array property as an unquoted sequence of tokens.
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param idx the index to get
* @return the value of @p prop at index @p idx as a sequence of tokens, with no quotes
*/
#define DT_INST_STRING_UNQUOTED_BY_IDX(inst, prop, idx) \
DT_STRING_UNQUOTED_BY_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Get a `DT_DRV_COMPAT` instance's property value from a phandle's node
* @param inst instance number
* @param ph lowercase-and-underscores property of @p inst
* with type `phandle`
* @param prop lowercase-and-underscores property of the phandle's node
* @return the value of @p prop as described in the DT_PROP() documentation
*/
#define DT_INST_PROP_BY_PHANDLE(inst, ph, prop) \
DT_INST_PROP_BY_PHANDLE_IDX(inst, ph, 0, prop)
/**
* @brief Get a `DT_DRV_COMPAT` instance's property value from a phandle in a
* property.
* @param inst instance number
* @param phs lowercase-and-underscores property with type `phandle`,
* `phandles`, or `phandle-array`
* @param idx logical index into "phs", which must be zero if "phs"
* has type `phandle`
* @param prop lowercase-and-underscores property of the phandle's node
* @return the value of @p prop as described in the DT_PROP() documentation
*/
#define DT_INST_PROP_BY_PHANDLE_IDX(inst, phs, idx, prop) \
DT_PROP_BY_PHANDLE_IDX(DT_DRV_INST(inst), phs, idx, prop)
/**
* @brief Get a `DT_DRV_COMPAT` instance's phandle-array specifier value at an index
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx logical index into the property @p pha
* @param cell binding's cell name within the specifier at index @p idx
* @return the value of the cell inside the specifier at index @p idx
*/
#define DT_INST_PHA_BY_IDX(inst, pha, idx, cell) \
DT_PHA_BY_IDX(DT_DRV_INST(inst), pha, idx, cell)
/**
* @brief Like DT_INST_PHA_BY_IDX(), but with a fallback to default_value
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx logical index into the property @p pha
* @param cell binding's cell name within the specifier at index @p idx
* @param default_value a fallback value to expand to
* @return DT_INST_PHA_BY_IDX(inst, pha, idx, cell) or default_value
*/
#define DT_INST_PHA_BY_IDX_OR(inst, pha, idx, cell, default_value) \
DT_PHA_BY_IDX_OR(DT_DRV_INST(inst), pha, idx, cell, default_value)
/**
* @brief Get a `DT_DRV_COMPAT` instance's phandle-array specifier value
* Equivalent to DT_INST_PHA_BY_IDX(inst, pha, 0, cell)
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell binding's cell name for the specifier at @p pha index 0
* @return the cell value
*/
#define DT_INST_PHA(inst, pha, cell) DT_INST_PHA_BY_IDX(inst, pha, 0, cell)
/**
* @brief Like DT_INST_PHA(), but with a fallback to default_value
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell binding's cell name for the specifier at @p pha index 0
* @param default_value a fallback value to expand to
* @return DT_INST_PHA(inst, pha, cell) or default_value
*/
#define DT_INST_PHA_OR(inst, pha, cell, default_value) \
DT_INST_PHA_BY_IDX_OR(inst, pha, 0, cell, default_value)
/**
* @brief Get a `DT_DRV_COMPAT` instance's value within a phandle-array
* specifier by name
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of a specifier in @p pha
* @param cell binding's cell name for the named specifier
* @return the cell value
*/
#define DT_INST_PHA_BY_NAME(inst, pha, name, cell) \
DT_PHA_BY_NAME(DT_DRV_INST(inst), pha, name, cell)
/**
* @brief Like DT_INST_PHA_BY_NAME(), but with a fallback to default_value
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of a specifier in @p pha
* @param cell binding's cell name for the named specifier
* @param default_value a fallback value to expand to
* @return DT_INST_PHA_BY_NAME(inst, pha, name, cell) or default_value
*/
#define DT_INST_PHA_BY_NAME_OR(inst, pha, name, cell, default_value) \
DT_PHA_BY_NAME_OR(DT_DRV_INST(inst), pha, name, cell, default_value)
/**
* @brief Get a `DT_DRV_COMPAT` instance's phandle node identifier from a
* phandle array by name
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param name lowercase-and-underscores name of an element in @p pha
* @return node identifier for the phandle at the element named "name"
*/
#define DT_INST_PHANDLE_BY_NAME(inst, pha, name) \
DT_PHANDLE_BY_NAME(DT_DRV_INST(inst), pha, name) \
/**
* @brief Get a `DT_DRV_COMPAT` instance's node identifier for a phandle in
* a property.
* @param inst instance number
* @param prop lowercase-and-underscores property name in @p inst
* with type `phandle`, `phandles` or `phandle-array`
* @param idx index into @p prop
* @return a node identifier for the phandle at index @p idx in @p prop
*/
#define DT_INST_PHANDLE_BY_IDX(inst, prop, idx) \
DT_PHANDLE_BY_IDX(DT_DRV_INST(inst), prop, idx)
/**
* @brief Get a `DT_DRV_COMPAT` instance's node identifier for a phandle
* property's value
* @param inst instance number
* @param prop lowercase-and-underscores property of @p inst
* with type `phandle`
* @return a node identifier for the node pointed to by "ph"
*/
#define DT_INST_PHANDLE(inst, prop) DT_INST_PHANDLE_BY_IDX(inst, prop, 0)
/**
* @brief is @p idx a valid register block index on a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param idx index to check
* @return 1 if @p idx is a valid register block index,
* 0 otherwise.
*/
#define DT_INST_REG_HAS_IDX(inst, idx) DT_REG_HAS_IDX(DT_DRV_INST(inst), idx)
/**
* @brief is @p name a valid register block name on a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param name name to check
* @return 1 if @p name is a valid register block name,
* 0 otherwise.
*/
#define DT_INST_REG_HAS_NAME(inst, name) DT_REG_HAS_NAME(DT_DRV_INST(inst), name)
/**
* @brief Get a `DT_DRV_COMPAT` instance's idx-th register block's address
* @param inst instance number
* @param idx index of the register whose address to return
* @return address of the instance's idx-th register block
*/
#define DT_INST_REG_ADDR_BY_IDX(inst, idx) DT_REG_ADDR_BY_IDX(DT_DRV_INST(inst), idx)
/**
* @brief Get a `DT_DRV_COMPAT` instance's idx-th register block's size
* @param inst instance number
* @param idx index of the register whose size to return
* @return size of the instance's idx-th register block
*/
#define DT_INST_REG_SIZE_BY_IDX(inst, idx) \
DT_REG_SIZE_BY_IDX(DT_DRV_INST(inst), idx)
/**
* @brief Get a `DT_DRV_COMPAT`'s register block address by name
* @param inst instance number
* @param name lowercase-and-underscores register specifier name
* @return address of the register block with the given @p name
*/
#define DT_INST_REG_ADDR_BY_NAME(inst, name) \
DT_REG_ADDR_BY_NAME(DT_DRV_INST(inst), name)
/**
* @brief Like DT_INST_REG_ADDR_BY_NAME(), but with a fallback to @p default_value
* @param inst instance number
* @param name lowercase-and-underscores register specifier name
* @param default_value a fallback value to expand to
* @return address of the register block specified by name if present,
* @p default_value otherwise
*/
#define DT_INST_REG_ADDR_BY_NAME_OR(inst, name, default_value) \
DT_REG_ADDR_BY_NAME_OR(DT_DRV_INST(inst), name, default_value)
/**
* @brief 64-bit version of DT_INST_REG_ADDR_BY_NAME()
*
* This macro version adds the appropriate suffix for 64-bit unsigned
* integer literals.
* Note that this macro is equivalent to DT_INST_REG_ADDR_BY_NAME() in
* linker/ASM context.
*
* @param inst instance number
* @param name lowercase-and-underscores register specifier name
* @return address of the register block with the given @p name
*/
#define DT_INST_REG_ADDR_BY_NAME_U64(inst, name) \
DT_U64_C(DT_INST_REG_ADDR_BY_NAME(inst, name))
/**
* @brief Get a `DT_DRV_COMPAT`'s register block size by name
* @param inst instance number
* @param name lowercase-and-underscores register specifier name
* @return size of the register block with the given @p name
*/
#define DT_INST_REG_SIZE_BY_NAME(inst, name) \
DT_REG_SIZE_BY_NAME(DT_DRV_INST(inst), name)
/**
* @brief Like DT_INST_REG_SIZE_BY_NAME(), but with a fallback to @p default_value
* @param inst instance number
* @param name lowercase-and-underscores register specifier name
* @param default_value a fallback value to expand to
* @return size of the register block specified by name if present,
* @p default_value otherwise
*/
#define DT_INST_REG_SIZE_BY_NAME_OR(inst, name, default_value) \
DT_REG_SIZE_BY_NAME_OR(DT_DRV_INST(inst), name, default_value)
/**
* @brief Get a `DT_DRV_COMPAT`'s (only) register block address
* @param inst instance number
* @return instance's register block address
*/
#define DT_INST_REG_ADDR(inst) DT_INST_REG_ADDR_BY_IDX(inst, 0)
/**
* @brief 64-bit version of DT_INST_REG_ADDR()
*
* This macro version adds the appropriate suffix for 64-bit unsigned
* integer literals.
* Note that this macro is equivalent to DT_INST_REG_ADDR() in
* linker/ASM context.
*
* @param inst instance number
* @return instance's register block address
*/
#define DT_INST_REG_ADDR_U64(inst) DT_U64_C(DT_INST_REG_ADDR(inst))
/**
* @brief Get a `DT_DRV_COMPAT`'s (only) register block size
* @param inst instance number
* @return instance's register block size
*/
#define DT_INST_REG_SIZE(inst) DT_INST_REG_SIZE_BY_IDX(inst, 0)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt level
*
* @param inst instance number
* @return interrupt level
*/
#define DT_INST_IRQ_LEVEL(inst) DT_IRQ_LEVEL(DT_DRV_INST(inst))
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier value at an index
* @param inst instance number
* @param idx logical index into the interrupt specifier array
* @param cell cell name specifier
* @return the named value at the specifier given by the index
*/
#define DT_INST_IRQ_BY_IDX(inst, idx, cell) \
DT_IRQ_BY_IDX(DT_DRV_INST(inst), idx, cell)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller by index
* @param inst instance number
* @param idx interrupt specifier's index
* @return node_id of interrupt specifier's interrupt controller
*/
#define DT_INST_IRQ_INTC_BY_IDX(inst, idx) \
DT_IRQ_INTC_BY_IDX(DT_DRV_INST(inst), idx)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller by name
* @param inst instance number
* @param name interrupt specifier's name
* @return node_id of interrupt specifier's interrupt controller
*/
#define DT_INST_IRQ_INTC_BY_NAME(inst, name) \
DT_IRQ_INTC_BY_NAME(DT_DRV_INST(inst), name)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier's interrupt controller
* @note Equivalent to DT_INST_IRQ_INTC_BY_IDX(node_id, 0)
* @param inst instance number
* @return node_id of interrupt specifier's interrupt controller
* @see DT_INST_IRQ_INTC_BY_IDX()
*/
#define DT_INST_IRQ_INTC(inst) \
DT_INST_IRQ_INTC_BY_IDX(inst, 0)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier value by name
* @param inst instance number
* @param name lowercase-and-underscores interrupt specifier name
* @param cell cell name specifier
* @return the named value at the specifier given by the index
*/
#define DT_INST_IRQ_BY_NAME(inst, name, cell) \
DT_IRQ_BY_NAME(DT_DRV_INST(inst), name, cell)
/**
* @brief Get a `DT_DRV_COMPAT` interrupt specifier's value
* @param inst instance number
* @param cell cell name specifier
* @return the named value at that index
*/
#define DT_INST_IRQ(inst, cell) DT_INST_IRQ_BY_IDX(inst, 0, cell)
/**
* @brief Get a `DT_DRV_COMPAT`'s (only) irq number
* @param inst instance number
* @return the interrupt number for the node's only interrupt
*/
#define DT_INST_IRQN(inst) DT_IRQN(DT_DRV_INST(inst))
/**
* @brief Get a `DT_DRV_COMPAT`'s irq number at index
* @param inst instance number
* @param idx logical index into the interrupt specifier array
* @return the interrupt number for the node's idx-th interrupt
*/
#define DT_INST_IRQN_BY_IDX(inst, idx) DT_IRQN_BY_IDX(DT_DRV_INST(inst), idx)
/**
* @brief Get a `DT_DRV_COMPAT`'s bus node identifier
* @param inst instance number
* @return node identifier for the instance's bus node
*/
#define DT_INST_BUS(inst) DT_BUS(DT_DRV_INST(inst))
/**
* @brief Test if a `DT_DRV_COMPAT`'s bus type is a given type
* @param inst instance number
* @param bus a binding's bus type as a C token, lowercased and without quotes
* @return 1 if the given instance is on a bus of the given type,
* 0 otherwise
*/
#define DT_INST_ON_BUS(inst, bus) DT_ON_BUS(DT_DRV_INST(inst), bus)
/**
* @brief Like DT_INST_STRING_TOKEN(), but with a fallback to @p default_value
* @param inst instance number
* @param name lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return if @p prop exists, its value as a token, i.e. without any quotes and
* with special characters converted to underscores. Otherwise
* @p default_value
*/
#define DT_INST_STRING_TOKEN_OR(inst, name, default_value) \
DT_STRING_TOKEN_OR(DT_DRV_INST(inst), name, default_value)
/**
* @brief Like DT_INST_STRING_UPPER_TOKEN(), but with a fallback to
* @p default_value
* @param inst instance number
* @param name lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value as an uppercased token, or @p default_value
*/
#define DT_INST_STRING_UPPER_TOKEN_OR(inst, name, default_value) \
DT_STRING_UPPER_TOKEN_OR(DT_DRV_INST(inst), name, default_value)
/**
* @brief Like DT_INST_STRING_UNQUOTED(), but with a fallback to
* @p default_value
* @param inst instance number
* @param name lowercase-and-underscores property name
* @param default_value a fallback value to expand to
* @return the property's value as a sequence of tokens, with no quotes, or @p default_value
*/
#define DT_INST_STRING_UNQUOTED_OR(inst, name, default_value) \
DT_STRING_UNQUOTED_OR(DT_DRV_INST(inst), name, default_value)
/*
* @brief Test if any enabled node with the given compatible is on
* the given bus type
*
* This is like DT_ANY_INST_ON_BUS_STATUS_OKAY(), except it can also
* be useful for handling multiple compatibles in single source file.
*
* Example devicetree overlay:
*
* @code{.dts}
* &i2c0 {
* temp: temperature-sensor@76 {
* compatible = "vnd,some-sensor";
* reg = <0x76>;
* };
* };
* @endcode
*
* Example usage, assuming `i2c0` is an I2C bus controller node, and
* therefore `temp` is on an I2C bus:
*
* @code{.c}
* DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(vnd_some_sensor, i2c) // 1
* @endcode
*
* @param compat lowercase-and-underscores compatible, without quotes
* @param bus a binding's bus type as a C token, lowercased and without quotes
* @return 1 if any enabled node with that compatible is on that bus type,
* 0 otherwise
*/
#define DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(compat, bus) \
IS_ENABLED(DT_CAT4(DT_COMPAT_, compat, _BUS_, bus))
/**
* @brief Test if any `DT_DRV_COMPAT` node is on a bus of a given type
* and has status okay
*
* This is a special-purpose macro which can be useful when writing
* drivers for devices which can appear on multiple buses. One example
* is a sensor device which may be wired on an I2C or SPI bus.
*
* Example devicetree overlay:
*
* @code{.dts}
* &i2c0 {
* temp: temperature-sensor@76 {
* compatible = "vnd,some-sensor";
* reg = <0x76>;
* };
* };
* @endcode
*
* Example usage, assuming `i2c0` is an I2C bus controller node, and
* therefore `temp` is on an I2C bus:
*
* @code{.c}
* #define DT_DRV_COMPAT vnd_some_sensor
*
* DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c) // 1
* @endcode
*
* @param bus a binding's bus type as a C token, lowercased and without quotes
* @return 1 if any enabled node with that compatible is on that bus type,
* 0 otherwise
*/
#define DT_ANY_INST_ON_BUS_STATUS_OKAY(bus) \
DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(DT_DRV_COMPAT, bus)
/**
* @brief Check if any `DT_DRV_COMPAT` node with status `okay` has a given
* property.
*
* @param prop lowercase-and-underscores property name
*
* Example devicetree overlay:
*
* @code{.dts}
* &i2c0 {
* sensor0: sensor@0 {
* compatible = "vnd,some-sensor";
* status = "okay";
* reg = <0>;
* foo = <1>;
* bar = <2>;
* };
*
* sensor1: sensor@1 {
* compatible = "vnd,some-sensor";
* status = "okay";
* reg = <1>;
* foo = <2>;
* };
*
* sensor2: sensor@2 {
* compatible = "vnd,some-sensor";
* status = "disabled";
* reg = <2>;
* baz = <1>;
* };
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define DT_DRV_COMPAT vnd_some_sensor
*
* DT_ANY_INST_HAS_PROP_STATUS_OKAY(foo) // 1
* DT_ANY_INST_HAS_PROP_STATUS_OKAY(bar) // 1
* DT_ANY_INST_HAS_PROP_STATUS_OKAY(baz) // 0
* @endcode
*/
#define DT_ANY_INST_HAS_PROP_STATUS_OKAY(prop) \
COND_CODE_1(IS_EMPTY(DT_ANY_INST_HAS_PROP_STATUS_OKAY_(prop)), (0), (1))
/**
* @brief Call @p fn on all nodes with compatible `DT_DRV_COMPAT`
* and status `okay`
*
* This macro calls `fn(inst)` on each `inst` number that refers to a
* node with status `okay`. Whitespace is added between invocations.
*
* Example devicetree fragment:
*
* @code{.dts}
* a {
* compatible = "vnd,device";
* status = "okay";
* foobar = "DEV_A";
* };
*
* b {
* compatible = "vnd,device";
* status = "okay";
* foobar = "DEV_B";
* };
*
* c {
* compatible = "vnd,device";
* status = "disabled";
* foobar = "DEV_C";
* };
* @endcode
*
* Example usage:
*
* @code{.c}
* #define DT_DRV_COMPAT vnd_device
* #define MY_FN(inst) DT_INST_PROP(inst, foobar),
*
* DT_INST_FOREACH_STATUS_OKAY(MY_FN)
* @endcode
*
* This expands to:
*
* @code{.c}
* MY_FN(0) MY_FN(1)
* @endcode
*
* and from there, to either this:
*
* "DEV_A", "DEV_B",
*
* or this:
*
* "DEV_B", "DEV_A",
*
* No guarantees are made about the order that a and b appear in the
* expansion.
*
* Note that @p fn is responsible for adding commas, semicolons, or
* other separators or terminators.
*
* Device drivers should use this macro whenever possible to
* instantiate a struct device for each enabled node in the devicetree
* of the driver's compatible `DT_DRV_COMPAT`.
*
* @param fn Macro to call for each enabled node. Must accept an
* instance number as its only parameter.
*/
#define DT_INST_FOREACH_STATUS_OKAY(fn) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT), \
(UTIL_CAT(DT_FOREACH_OKAY_INST_, \
DT_DRV_COMPAT)(fn)), \
())
/**
* @brief Call @p fn on all nodes with compatible `DT_DRV_COMPAT`
* and status `okay` with multiple arguments
*
*
* @param fn Macro to call for each enabled node. Must accept an
* instance number as its only parameter.
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_INST_FOREACH_STATUS_OKAY
*/
#define DT_INST_FOREACH_STATUS_OKAY_VARGS(fn, ...) \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT), \
(UTIL_CAT(DT_FOREACH_OKAY_INST_VARGS_, \
DT_DRV_COMPAT)(fn, __VA_ARGS__)), \
())
/**
* @brief Call @p fn on all node labels for a given `DT_DRV_COMPAT` instance
*
* Equivalent to DT_FOREACH_NODELABEL(DT_DRV_INST(inst), fn).
*
* @param inst instance number
* @param fn macro which will be passed each node label for the node
* with that instance number
*/
#define DT_INST_FOREACH_NODELABEL(inst, fn) \
DT_FOREACH_NODELABEL(DT_DRV_INST(inst), fn)
/**
* @brief Call @p fn on all node labels for a given `DT_DRV_COMPAT` instance
* with multiple arguments
*
* Equivalent to DT_FOREACH_NODELABEL_VARGS(DT_DRV_INST(inst), fn, ...).
*
* @param inst instance number
* @param fn macro which will be passed each node label for the node
* with that instance number
* @param ... additional arguments to pass to @p fn
*/
#define DT_INST_FOREACH_NODELABEL_VARGS(inst, fn, ...) \
DT_FOREACH_NODELABEL_VARGS(DT_DRV_INST(inst), fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for each element of property @p prop for
* a `DT_DRV_COMPAT` instance.
*
* Equivalent to DT_FOREACH_PROP_ELEM(DT_DRV_INST(inst), prop, fn).
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
*/
#define DT_INST_FOREACH_PROP_ELEM(inst, prop, fn) \
DT_FOREACH_PROP_ELEM(DT_DRV_INST(inst), prop, fn)
/**
* @brief Invokes @p fn for each element of property @p prop for
* a `DT_DRV_COMPAT` instance with a separator.
*
* Equivalent to DT_FOREACH_PROP_ELEM_SEP(DT_DRV_INST(inst), prop, fn, sep).
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*/
#define DT_INST_FOREACH_PROP_ELEM_SEP(inst, prop, fn, sep) \
DT_FOREACH_PROP_ELEM_SEP(DT_DRV_INST(inst), prop, fn, sep)
/**
* @brief Invokes @p fn for each element of property @p prop for
* a `DT_DRV_COMPAT` instance with multiple arguments.
*
* Equivalent to
* DT_FOREACH_PROP_ELEM_VARGS(DT_DRV_INST(inst), prop, fn, __VA_ARGS__)
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param ... variable number of arguments to pass to @p fn
*
* @see DT_INST_FOREACH_PROP_ELEM
*/
#define DT_INST_FOREACH_PROP_ELEM_VARGS(inst, prop, fn, ...) \
DT_FOREACH_PROP_ELEM_VARGS(DT_DRV_INST(inst), prop, fn, __VA_ARGS__)
/**
* @brief Invokes @p fn for each element of property @p prop for
* a `DT_DRV_COMPAT` instance with multiple arguments and a separator.
*
* Equivalent to
* DT_FOREACH_PROP_ELEM_SEP_VARGS(DT_DRV_INST(inst), prop, fn, sep,
* __VA_ARGS__)
*
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @param fn macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... variable number of arguments to pass to fn
*
* @see DT_INST_FOREACH_PROP_ELEM
*/
#define DT_INST_FOREACH_PROP_ELEM_SEP_VARGS(inst, prop, fn, sep, ...) \
DT_FOREACH_PROP_ELEM_SEP_VARGS(DT_DRV_INST(inst), prop, fn, sep, \
__VA_ARGS__)
/**
* @brief Does a DT_DRV_COMPAT instance have a property?
* @param inst instance number
* @param prop lowercase-and-underscores property name
* @return 1 if the instance has the property, 0 otherwise.
*/
#define DT_INST_NODE_HAS_PROP(inst, prop) \
DT_NODE_HAS_PROP(DT_DRV_INST(inst), prop)
/**
* @brief Does a DT_DRV_COMPAT instance have the compatible?
* @param inst instance number
* @param compat lowercase-and-underscores compatible, without quotes
* @return 1 if the instance matches the compatible, 0 otherwise.
*/
#define DT_INST_NODE_HAS_COMPAT(inst, compat) \
DT_NODE_HAS_COMPAT(DT_DRV_INST(inst), compat)
/**
* @brief Does a phandle array have a named cell specifier at an index
* for a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param idx index to check
* @param cell named cell value whose existence to check
* @return 1 if the named @p cell exists in the specifier at index @p idx,
* 0 otherwise.
*/
#define DT_INST_PHA_HAS_CELL_AT_IDX(inst, pha, idx, cell) \
DT_PHA_HAS_CELL_AT_IDX(DT_DRV_INST(inst), pha, idx, cell)
/**
* @brief Does a phandle array have a named cell specifier at index 0
* for a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param pha lowercase-and-underscores property with type `phandle-array`
* @param cell named cell value whose existence to check
* @return 1 if the named @p cell exists in the specifier at index 0,
* 0 otherwise.
*/
#define DT_INST_PHA_HAS_CELL(inst, pha, cell) \
DT_INST_PHA_HAS_CELL_AT_IDX(inst, pha, 0, cell)
/**
* @brief is index valid for interrupt property on a `DT_DRV_COMPAT` instance?
* @param inst instance number
* @param idx logical index into the interrupt specifier array
* @return 1 if the @p idx is valid for the interrupt property
* 0 otherwise.
*/
#define DT_INST_IRQ_HAS_IDX(inst, idx) DT_IRQ_HAS_IDX(DT_DRV_INST(inst), idx)
/**
* @brief Does a `DT_DRV_COMPAT` instance have an interrupt named cell specifier?
* @param inst instance number
* @param idx index to check
* @param cell named cell value whose existence to check
* @return 1 if the named @p cell exists in the interrupt specifier at index
* @p idx 0 otherwise.
*/
#define DT_INST_IRQ_HAS_CELL_AT_IDX(inst, idx, cell) \
DT_IRQ_HAS_CELL_AT_IDX(DT_DRV_INST(inst), idx, cell)
/**
* @brief Does a `DT_DRV_COMPAT` instance have an interrupt value?
* @param inst instance number
* @param cell named cell value whose existence to check
* @return 1 if the named @p cell exists in the interrupt specifier at index 0
* 0 otherwise.
*/
#define DT_INST_IRQ_HAS_CELL(inst, cell) \
DT_INST_IRQ_HAS_CELL_AT_IDX(inst, 0, cell)
/**
* @brief Does a `DT_DRV_COMPAT` instance have an interrupt value?
* @param inst instance number
* @param name lowercase-and-underscores interrupt specifier name
* @return 1 if @p name is a valid named specifier
*/
#define DT_INST_IRQ_HAS_NAME(inst, name) \
DT_IRQ_HAS_NAME(DT_DRV_INST(inst), name)
/**
* @}
*/
/** @cond INTERNAL_HIDDEN */
/** @brief Helper for DT_ANY_INST_HAS_PROP_STATUS_OKAY_
*
* This macro generates token "1," for instance of a device,
* identified by index @p idx, if instance has property @p prop.
*
* @param idx instance number
* @param prop property to check for
*
* @return Macro evaluates to `1,` if instance has the property,
* otherwise it evaluates to literal nothing.
*/
#define DT_ANY_INST_HAS_PROP_STATUS_OKAY__(idx, prop) \
COND_CODE_1(DT_INST_NODE_HAS_PROP(idx, prop), (1,), ())
/** @brief Helper for DT_ANY_INST_HAS_PROP_STATUS_OKAY
*
* This macro uses DT_ANY_INST_HAS_PROP_STATUS_OKAY_ with
* DT_INST_FOREACH_STATUS_OKAY_VARG to generate comma separated list of 1,
* where each 1 on the list represents instance that has a property
* @p prop; the list may be empty, and the upper bound on number of
* list elements is number of device instances.
*
* @param prop property to check
*
* @return Evaluates to list of 1s (e.g: 1,1,1,) or nothing.
*/
#define DT_ANY_INST_HAS_PROP_STATUS_OKAY_(prop) \
DT_INST_FOREACH_STATUS_OKAY_VARGS(DT_ANY_INST_HAS_PROP_STATUS_OKAY__, prop)
#define DT_PATH_INTERNAL(...) \
UTIL_CAT(DT_ROOT, MACRO_MAP_CAT(DT_S_PREFIX, __VA_ARGS__))
/** @brief DT_PATH_INTERNAL() helper: prepends _S_ to a node name
* We don't want to expand 'name' recursively before expansion
* in this case. The MACRO_MAP_CAT above is giving us the exact
* tokens it wants prefixed with _S_.
*/
#define DT_S_PREFIX(name) _S_##name
/**
* @brief Concatenation helper, 2 arguments
*
* This and the following macros are used to paste things together
* with "##" *after* forcing expansion on each argument.
*
* We could try to use something like UTIL_CAT(), but the compiler
* error messages from the util macros can be extremely long when they
* are misused. This unfortunately happens often with devicetree.h,
* since its macro-based API is fiddly and can be hard to get right.
*
* Keeping things brutally simple here hopefully makes some errors
* easier to read.
*/
#define DT_CAT(a1, a2) a1 ## a2
/** @brief Concatenation helper, 3 arguments */
#define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
/** @brief Concatenation helper, 4 arguments */
#define DT_CAT4(a1, a2, a3, a4) a1 ## a2 ## a3 ## a4
/** @brief Internal concatenation helper, 5 arguments */
#define DT_CAT5(a1, a2, a3, a4, a5) a1 ## a2 ## a3 ## a4 ## a5
/** @brief Concatenation helper, 6 arguments */
#define DT_CAT6(a1, a2, a3, a4, a5, a6) a1 ## a2 ## a3 ## a4 ## a5 ## a6
/** @brief concatenation helper, 7 arguments */
#define DT_CAT7(a1, a2, a3, a4, a5, a6, a7) \
a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
/** @brief concatenation helper, 8 arguments */
#define DT_CAT8(a1, a2, a3, a4, a5, a6, a7, a8) \
a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7 ## a8
/*
* If you need to define a bigger DT_CATN(), do so here. Don't leave
* any "holes" of undefined macros, please.
*/
/** @brief Helper for node identifier macros to expand args */
#define DT_DASH(...) MACRO_MAP_CAT(DT_DASH_PREFIX, __VA_ARGS__)
/** @brief Helper for DT_DASH(): prepends _ to a name */
#define DT_DASH_PREFIX(name) _##name
/** @brief Helper for DT_NODE_HAS_STATUS */
#define DT_NODE_HAS_STATUS_INTERNAL(node_id, status) \
IS_ENABLED(DT_CAT3(node_id, _STATUS_, status))
/**
* @def DT_U64_C
* @brief Macro to add ULL postfix to the devicetree address constants
*/
#if defined(_LINKER) || defined(_ASMLANGUAGE)
#define DT_U64_C(_v) (_v)
#else
#define DT_U64_C(_v) UINT64_C(_v)
#endif
/* Helpers for DT_NODELABEL_STRING_ARRAY. We define our own stringify
* in order to avoid adding a dependency on toolchain.h..
*/
#define DT_NODELABEL_STRING_ARRAY_ENTRY_INTERNAL(nodelabel) DT_STRINGIFY_INTERNAL(nodelabel),
#define DT_STRINGIFY_INTERNAL(arg) DT_STRINGIFY_INTERNAL_HELPER(arg)
#define DT_STRINGIFY_INTERNAL_HELPER(arg) #arg
/** @endcond */
/* have these last so they have access to all previously defined macros */
#include <zephyr/devicetree/io-channels.h>
#include <zephyr/devicetree/clocks.h>
#include <zephyr/devicetree/gpio.h>
#include <zephyr/devicetree/spi.h>
#include <zephyr/devicetree/dma.h>
#include <zephyr/devicetree/pwms.h>
#include <zephyr/devicetree/fixed-partitions.h>
#include <zephyr/devicetree/ordinals.h>
#include <zephyr/devicetree/pinctrl.h>
#include <zephyr/devicetree/can.h>
#include <zephyr/devicetree/reset.h>
#include <zephyr/devicetree/mbox.h>
#endif /* DEVICETREE_H */
``` | /content/code_sandbox/include/zephyr/devicetree.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41,970 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_INIT_H_
#define ZEPHYR_INCLUDE_INIT_H_
#include <stdint.h>
#include <stddef.h>
#include <zephyr/sys/util.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup sys_init System Initialization
* @ingroup os_services
*
* Zephyr offers an infrastructure to call initialization code before `main`.
* Such initialization calls can be registered using SYS_INIT() or
* SYS_INIT_NAMED() macros. By using a combination of initialization levels and
* priorities init sequence can be adjusted as needed. The available
* initialization levels are described, in order, below:
*
* - `EARLY`: Used very early in the boot process, right after entering the C
* domain (``z_cstart()``). This can be used in architectures and SoCs that
* extend or implement architecture code and use drivers or system services
* that have to be initialized before the Kernel calls any architecture
* specific initialization code.
* - `PRE_KERNEL_1`: Executed in Kernel's initialization context, which uses
* the interrupt stack. At this point Kernel services are not yet available.
* - `PRE_KERNEL_2`: Same as `PRE_KERNEL_1`.
* - `POST_KERNEL`: Executed after Kernel is alive. From this point on, Kernel
* primitives can be used.
* - `APPLICATION`: Executed just before application code (`main`).
* - `SMP`: Only available if @kconfig{CONFIG_SMP} is enabled, specific for
* SMP.
*
* Initialization priority can take a value in the range of 0 to 99.
*
* @note The same infrastructure is used by devices.
* @{
*/
struct device;
/**
* @brief Initialization function for init entries.
*
* Init entries support both the system initialization and the device
* APIs. Each API has its own init function signature; hence, we have a
* union to cover both.
*/
union init_function {
/**
* System initialization function.
*
* @retval 0 On success
* @retval -errno If init fails.
*/
int (*sys)(void);
/**
* Device initialization function.
*
* @param dev Device instance.
*
* @retval 0 On success
* @retval -errno If device initialization fails.
*/
int (*dev)(const struct device *dev);
#ifdef CONFIG_DEVICE_MUTABLE
/**
* Device initialization function (rw).
*
* @param dev Device instance.
*
* @retval 0 On success
* @retval -errno If device initialization fails.
*/
int (*dev_rw)(struct device *dev);
#endif
};
/**
* @brief Structure to store initialization entry information.
*
* @internal
* Init entries need to be defined following these rules:
*
* - Their name must be set using Z_INIT_ENTRY_NAME().
* - They must be placed in a special init section, given by
* Z_INIT_ENTRY_SECTION().
* - They must be aligned, e.g. using Z_DECL_ALIGN().
*
* See SYS_INIT_NAMED() for an example.
* @endinternal
*/
struct init_entry {
/** Initialization function. */
union init_function init_fn;
/**
* If the init entry belongs to a device, this fields stores a
* reference to it, otherwise it is set to NULL.
*/
union {
const struct device *dev;
#ifdef CONFIG_DEVICE_MUTABLE
struct device *dev_rw;
#endif
};
};
/** @cond INTERNAL_HIDDEN */
/* Helper definitions to evaluate level equality */
#define Z_INIT_EARLY_EARLY 1
#define Z_INIT_PRE_KERNEL_1_PRE_KERNEL_1 1
#define Z_INIT_PRE_KERNEL_2_PRE_KERNEL_2 1
#define Z_INIT_POST_KERNEL_POST_KERNEL 1
#define Z_INIT_APPLICATION_APPLICATION 1
#define Z_INIT_SMP_SMP 1
/* Init level ordinals */
#define Z_INIT_ORD_EARLY 0
#define Z_INIT_ORD_PRE_KERNEL_1 1
#define Z_INIT_ORD_PRE_KERNEL_2 2
#define Z_INIT_ORD_POST_KERNEL 3
#define Z_INIT_ORD_APPLICATION 4
#define Z_INIT_ORD_SMP 5
/**
* @brief Obtain init entry name.
*
* @param init_id Init entry unique identifier.
*/
#define Z_INIT_ENTRY_NAME(init_id) _CONCAT(__init_, init_id)
/**
* @brief Init entry section.
*
* Each init entry is placed in a section with a name crafted so that it allows
* linker scripts to sort them according to the specified
* level/priority/sub-priority.
*/
#define Z_INIT_ENTRY_SECTION(level, prio, sub_prio) \
__attribute__((__section__( \
".z_init_" #level STRINGIFY(prio)"_" STRINGIFY(sub_prio)"_")))
/* Designated initializers where added to C in C99. There were added to
* C++ 20 years later in a much more restricted form. C99 allows many
* variations: out of order, mix of designated and not, overlap,
* override,... but C++ allows none of these. See differences detailed
* in the P0329R0.pdf C++ proposal.
* Note __STDC_VERSION__ is undefined when compiling C++.
*/
#if defined(__STDC_VERSION__) && (__STDC_VERSION__) < 201100
/* Anonymous unions require C11. Some pre-C11 gcc versions have early
* support for anonymous unions but they require these braces when
* combined with C99 designated initializers, see longer discussion in
* #69411.
* These braces are compatible with any C version but not with C++20.
*/
# define Z_INIT_SYS_INIT_DEV_NULL { .dev = NULL }
#else
/* When using -std=c++20 or higher, g++ (v12.2.0) reject braces for
* initializing anonymous unions because it is technically a mix of
* designated and not designated initializers which is not allowed in
* C++. Interestingly, the _same_ g++ version does accept the braces above
* when using -std=c++17 or lower!
* The tests/lib/cpp/cxx/ added by commit 3d9c428d57bf invoke the C++
* compiler with a range of different `-std=...` parameters without needing
* any manual configuration.
*/
# define Z_INIT_SYS_INIT_DEV_NULL .dev = NULL
#endif
/** @endcond */
/**
* @brief Obtain the ordinal for an init level.
*
* @param level Init level (EARLY, PRE_KERNEL_1, PRE_KERNEL_2, POST_KERNEL,
* APPLICATION, SMP).
*
* @return Init level ordinal.
*/
#define INIT_LEVEL_ORD(level) \
COND_CODE_1(Z_INIT_EARLY_##level, (Z_INIT_ORD_EARLY), \
(COND_CODE_1(Z_INIT_PRE_KERNEL_1_##level, (Z_INIT_ORD_PRE_KERNEL_1), \
(COND_CODE_1(Z_INIT_PRE_KERNEL_2_##level, (Z_INIT_ORD_PRE_KERNEL_2), \
(COND_CODE_1(Z_INIT_POST_KERNEL_##level, (Z_INIT_ORD_POST_KERNEL), \
(COND_CODE_1(Z_INIT_APPLICATION_##level, (Z_INIT_ORD_APPLICATION), \
(COND_CODE_1(Z_INIT_SMP_##level, (Z_INIT_ORD_SMP), \
(ZERO_OR_COMPILE_ERROR(0)))))))))))))
/**
* @brief Register an initialization function.
*
* The function will be called during system initialization according to the
* given level and priority.
*
* @param init_fn Initialization function.
* @param level Initialization level. Allowed tokens: `EARLY`, `PRE_KERNEL_1`,
* `PRE_KERNEL_2`, `POST_KERNEL`, `APPLICATION` and `SMP` if
* @kconfig{CONFIG_SMP} is enabled.
* @param prio Initialization priority within @p _level. Note that it must be a
* decimal integer literal without leading zeroes or sign (e.g. `32`), or an
* equivalent symbolic name (e.g. `#define MY_INIT_PRIO 32`); symbolic
* expressions are **not** permitted (e.g.
* `CONFIG_KERNEL_INIT_PRIORITY_DEFAULT + 5`).
*/
#define SYS_INIT(init_fn, level, prio) \
SYS_INIT_NAMED(init_fn, init_fn, level, prio)
/**
* @brief Register an initialization function (named).
*
* @note This macro can be used for cases where the multiple init calls use the
* same init function.
*
* @param name Unique name for SYS_INIT entry.
* @param init_fn_ See SYS_INIT().
* @param level See SYS_INIT().
* @param prio See SYS_INIT().
*
* @see SYS_INIT()
*/
#define SYS_INIT_NAMED(name, init_fn_, level, prio) \
static const Z_DECL_ALIGN(struct init_entry) \
Z_INIT_ENTRY_SECTION(level, prio, 0) __used __noasan \
Z_INIT_ENTRY_NAME(name) = {.init_fn = {.sys = (init_fn_)}, \
Z_INIT_SYS_INIT_DEV_NULL}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_INIT_H_ */
``` | /content/code_sandbox/include/zephyr/init.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,969 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public interface for configuring interrupts
*/
#ifndef ZEPHYR_INCLUDE_IRQ_NEXTLEVEL_H_
#define ZEPHYR_INCLUDE_IRQ_NEXTLEVEL_H_
#ifdef __cplusplus
extern "C" {
#endif
#if defined(CONFIG_MULTI_LEVEL_INTERRUPTS) || defined(__DOXYGEN__)
/**
* @cond INTERNAL_HIDDEN
*
* These are for internal use only, so skip these in
* public documentation.
*/
typedef void (*irq_next_level_func_t)(const struct device *dev,
unsigned int irq);
typedef unsigned int (*irq_next_level_get_state_t)(const struct device *dev);
typedef void (*irq_next_level_priority_t)(const struct device *dev,
unsigned int irq, unsigned int prio,
uint32_t flags);
typedef int (*irq_next_level_get_line_state_t)(const struct device *dev,
unsigned int irq);
struct irq_next_level_api {
irq_next_level_func_t intr_enable;
irq_next_level_func_t intr_disable;
irq_next_level_get_state_t intr_get_state;
irq_next_level_priority_t intr_set_priority;
irq_next_level_get_line_state_t intr_get_line_state;
};
/**
* @endcond
*/
/**
* @brief Enable an IRQ in the next level.
*
* This routine enables interrupts present in the interrupt controller.
*
* @param dev Pointer to the device structure for the driver instance.
* @param irq IRQ to be enabled.
*/
static inline void irq_enable_next_level(const struct device *dev,
uint32_t irq)
{
const struct irq_next_level_api *api =
(const struct irq_next_level_api *)dev->api;
api->intr_enable(dev, irq);
}
/**
* @brief Disable an IRQ in the next level.
*
* This routine disables interrupts present in the interrupt controller.
*
* @param dev Pointer to the device structure for the driver instance.
* @param irq IRQ to be disabled.
*/
static inline void irq_disable_next_level(const struct device *dev,
uint32_t irq)
{
const struct irq_next_level_api *api =
(const struct irq_next_level_api *)dev->api;
api->intr_disable(dev, irq);
}
/**
* @brief Get IRQ enable state.
*
* This routine indicates if any interrupts are enabled in the interrupt
* controller.
*
* @param dev Pointer to the device structure for the driver instance.
*
* @return interrupt enable state, true or false
*/
static inline unsigned int irq_is_enabled_next_level(const struct device *dev)
{
const struct irq_next_level_api *api =
(const struct irq_next_level_api *)dev->api;
return api->intr_get_state(dev);
}
/**
* @brief Set IRQ priority.
*
* This routine indicates if any interrupts are enabled in the interrupt
* controller.
*
* @param dev Pointer to the device structure for the driver instance.
* @param irq IRQ to be disabled.
* @param prio priority for irq in the interrupt controller.
* @param flags controller specific flags.
*/
static inline void irq_set_priority_next_level(const struct device *dev,
uint32_t irq,
uint32_t prio, uint32_t flags)
{
const struct irq_next_level_api *api =
(const struct irq_next_level_api *)dev->api;
if (api->intr_set_priority)
api->intr_set_priority(dev, irq, prio, flags);
}
/**
* @brief Get IRQ line enable state.
*
* Query if a particular IRQ line is enabled.
*
* @param dev Pointer to the device structure for the driver instance.
* @param irq IRQ line to be queried.
*
* @return interrupt enable state, true or false
*/
static inline unsigned int irq_line_is_enabled_next_level(const struct device *dev,
unsigned int irq)
{
const struct irq_next_level_api *api =
(const struct irq_next_level_api *)dev->api;
return api->intr_get_line_state(dev, irq);
}
#endif /* CONFIG_MULTI_LEVEL_INTERRUPTS */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_IRQ_NEXTLEVEL_H_ */
``` | /content/code_sandbox/include/zephyr/irq_nextlevel.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 841 |
```objective-c
/*
*
*/
/**
* @file
* @brief IRQ Offload interface
*/
#ifndef ZEPHYR_INCLUDE_IRQ_OFFLOAD_H_
#define ZEPHYR_INCLUDE_IRQ_OFFLOAD_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*irq_offload_routine_t)(const void *parameter);
/**
* @brief Run a function in interrupt context
*
* This function synchronously runs the provided function in interrupt
* context, passing in the supplied device. Useful for test code
* which needs to show that kernel objects work correctly in interrupt
* context.
*
* Additionally, when CONFIG_IRQ_OFFLOAD_NESTED is set by the
* architecture, this routine works to synchronously invoke a nested
* interrupt when called from an ISR context (i.e. when k_is_in_isr()
* is true). Note that not all platforms will have hardware support
* for this capability, and even on those some interrupts may be
* running at unpreemptible priorities.
*
* @param routine The function to run
* @param parameter Argument to pass to the function when it is run as an
* interrupt
*/
void irq_offload(irq_offload_routine_t routine, const void *parameter);
#ifdef __cplusplus
}
#endif
#endif /* _SW_IRQ_H_ */
``` | /content/code_sandbox/include/zephyr/irq_offload.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 270 |
```objective-c
/*
*
*/
/** @file
* @brief Fatal base type definitions
*/
#ifndef ZEPHYR_INCLUDE_FATAL_TYPES_H
#define ZEPHYR_INCLUDE_FATAL_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup fatal_types Fatal error base types
* @ingroup fatal_apis
* @{
*/
enum k_fatal_error_reason {
/** Generic CPU exception, not covered by other codes */
K_ERR_CPU_EXCEPTION,
/** Unhandled hardware interrupt */
K_ERR_SPURIOUS_IRQ,
/** Faulting context overflowed its stack buffer */
K_ERR_STACK_CHK_FAIL,
/** Moderate severity software error */
K_ERR_KERNEL_OOPS,
/** High severity software error */
K_ERR_KERNEL_PANIC,
/** Arch specific fatal errors */
K_ERR_ARCH_START = 16
};
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_FATAL_TYPES_H */
``` | /content/code_sandbox/include/zephyr/fatal_types.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 188 |
```objective-c
/*
*
*/
/**
* @file
* @brief Public interface for multi-level interrupts
*/
#ifndef ZEPHYR_INCLUDE_IRQ_MULTILEVEL_H_
#define ZEPHYR_INCLUDE_IRQ_MULTILEVEL_H_
#ifndef _ASMLANGUAGE
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/util_macro.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(CONFIG_MULTI_LEVEL_INTERRUPTS) || defined(__DOXYGEN__)
/**
* @brief Return IRQ level
* This routine returns the interrupt level number of the provided interrupt.
*
* @param irq IRQ number in its zephyr format
*
* @return 1 if IRQ level 1, 2 if IRQ level 2, 3 if IRQ level 3
*/
static inline unsigned int irq_get_level(unsigned int irq)
{
const uint32_t mask2 = BIT_MASK(CONFIG_2ND_LEVEL_INTERRUPT_BITS) <<
CONFIG_1ST_LEVEL_INTERRUPT_BITS;
const uint32_t mask3 = BIT_MASK(CONFIG_3RD_LEVEL_INTERRUPT_BITS) <<
(CONFIG_1ST_LEVEL_INTERRUPT_BITS + CONFIG_2ND_LEVEL_INTERRUPT_BITS);
if (IS_ENABLED(CONFIG_3RD_LEVEL_INTERRUPTS) && (irq & mask3) != 0) {
return 3;
}
if (IS_ENABLED(CONFIG_2ND_LEVEL_INTERRUPTS) && (irq & mask2) != 0) {
return 2;
}
return 1;
}
/**
* @brief Return the 2nd level interrupt number
*
* This routine returns the second level irq number of the zephyr irq
* number passed in
*
* @param irq IRQ number in its zephyr format
*
* @return 2nd level IRQ number
*/
static inline unsigned int irq_from_level_2(unsigned int irq)
{
if (IS_ENABLED(CONFIG_3RD_LEVEL_INTERRUPTS)) {
return ((irq >> CONFIG_1ST_LEVEL_INTERRUPT_BITS) &
BIT_MASK(CONFIG_2ND_LEVEL_INTERRUPT_BITS)) - 1;
} else {
return (irq >> CONFIG_1ST_LEVEL_INTERRUPT_BITS) - 1;
}
}
/**
* @brief Preprocessor macro to convert `irq` from level 1 to level 2 format
*
* @param irq IRQ number in its zephyr format
*
* @return 2nd level IRQ number
*/
#define IRQ_TO_L2(irq) ((irq + 1) << CONFIG_1ST_LEVEL_INTERRUPT_BITS)
/**
* @brief Converts irq from level 1 to level 2 format
*
*
* This routine converts the input into the level 2 irq number format
*
* @note Values >= 0xFF are invalid
*
* @param irq IRQ number in its zephyr format
*
* @return 2nd level IRQ number
*/
static inline unsigned int irq_to_level_2(unsigned int irq)
{
return IRQ_TO_L2(irq);
}
/**
* @brief Returns the parent IRQ of the level 2 raw IRQ number
*
*
* The parent of a 2nd level interrupt is in the 1st byte
*
* @param irq IRQ number in its zephyr format
*
* @return 2nd level IRQ parent
*/
static inline unsigned int irq_parent_level_2(unsigned int irq)
{
return irq & BIT_MASK(CONFIG_1ST_LEVEL_INTERRUPT_BITS);
}
/**
* @brief Return the 3rd level interrupt number
*
*
* This routine returns the third level irq number of the zephyr irq
* number passed in
*
* @param irq IRQ number in its zephyr format
*
* @return 3rd level IRQ number
*/
static inline unsigned int irq_from_level_3(unsigned int irq)
{
return (irq >> (CONFIG_1ST_LEVEL_INTERRUPT_BITS + CONFIG_2ND_LEVEL_INTERRUPT_BITS)) - 1;
}
/**
* @brief Preprocessor macro to convert `irq` from level 1 to level 3 format
*
* @param irq IRQ number in its zephyr format
*
* @return 3rd level IRQ number
*/
#define IRQ_TO_L3(irq) \
((irq + 1) << (CONFIG_1ST_LEVEL_INTERRUPT_BITS + CONFIG_2ND_LEVEL_INTERRUPT_BITS))
/**
* @brief Converts irq from level 1 to level 3 format
*
*
* This routine converts the input into the level 3 irq number format
*
* @note Values >= 0xFF are invalid
*
* @param irq IRQ number in its zephyr format
*
* @return 3rd level IRQ number
*/
static inline unsigned int irq_to_level_3(unsigned int irq)
{
return IRQ_TO_L3(irq);
}
/**
* @brief Returns the parent IRQ of the level 3 raw IRQ number
*
*
* The parent of a 3rd level interrupt is in the 2nd byte
*
* @param irq IRQ number in its zephyr format
*
* @return 3rd level IRQ parent
*/
static inline unsigned int irq_parent_level_3(unsigned int irq)
{
return (irq >> CONFIG_1ST_LEVEL_INTERRUPT_BITS) &
BIT_MASK(CONFIG_2ND_LEVEL_INTERRUPT_BITS);
}
/**
* @brief Return the interrupt number for a given level
*
* @param irq IRQ number in its zephyr format
* @param level IRQ level
*
* @return IRQ number in the level
*/
static inline unsigned int irq_from_level(unsigned int irq, unsigned int level)
{
if (level == 1) {
return irq;
} else if (level == 2) {
return irq_from_level_2(irq);
} else if (level == 3) {
return irq_from_level_3(irq);
}
/* level is higher than 3 */
__ASSERT_NO_MSG(false);
return irq;
}
/**
* @brief Converts irq from level 1 to a given level
*
* @param irq IRQ number in its zephyr format
* @param level IRQ level
*
* @return Converted IRQ number in the level
*/
static inline unsigned int irq_to_level(unsigned int irq, unsigned int level)
{
if (level == 1) {
return irq;
} else if (level == 2) {
return irq_to_level_2(irq);
} else if (level == 3) {
return irq_to_level_3(irq);
}
/* level is higher than 3 */
__ASSERT_NO_MSG(false);
return irq;
}
/**
* @brief Returns the parent IRQ of the given level raw IRQ number
*
* @param irq IRQ number in its zephyr format
* @param level IRQ level
*
* @return IRQ parent of the given level
*/
static inline unsigned int irq_parent_level(unsigned int irq, unsigned int level)
{
if (level == 1) {
/* doesn't really make sense, but return anyway */
return irq;
} else if (level == 2) {
return irq_parent_level_2(irq);
} else if (level == 3) {
return irq_parent_level_3(irq);
}
/* level is higher than 3 */
__ASSERT_NO_MSG(false);
return irq;
}
/**
* @brief Returns the parent interrupt controller IRQ of the given IRQ number
*
* @param irq IRQ number in its zephyr format
*
* @return IRQ of the interrupt controller
*/
static inline unsigned int irq_get_intc_irq(unsigned int irq)
{
const unsigned int level = irq_get_level(irq);
__ASSERT_NO_MSG(level > 1 && level <= 3);
return irq & BIT_MASK(CONFIG_1ST_LEVEL_INTERRUPT_BITS +
(level == 3 ? CONFIG_2ND_LEVEL_INTERRUPT_BITS : 0));
}
#endif /* CONFIG_MULTI_LEVEL_INTERRUPTS */
#ifdef __cplusplus
}
#endif
#endif /* _ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_IRQ_MULTILEVEL_H_ */
``` | /content/code_sandbox/include/zephyr/irq_multilevel.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,669 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief State Machine Framework header file
*/
#ifndef ZEPHYR_INCLUDE_SMF_H_
#define ZEPHYR_INCLUDE_SMF_H_
#include <zephyr/sys/util.h>
/**
* @brief State Machine Framework API
* @defgroup smf State Machine Framework API
* @version 0.1.0
* @ingroup os_services
* @{
*/
/**
* @brief Macro to create a hierarchical state with initial transitions.
*
* @param _entry State entry function or NULL
* @param _run State run function or NULL
* @param _exit State exit function or NULL
* @param _parent State parent object or NULL
* @param _initial State initial transition object or NULL
*/
#define SMF_CREATE_STATE(_entry, _run, _exit, _parent, _initial) \
{ \
.entry = _entry, \
.run = _run, \
.exit = _exit, \
IF_ENABLED(CONFIG_SMF_ANCESTOR_SUPPORT, (.parent = _parent,)) \
IF_ENABLED(CONFIG_SMF_INITIAL_TRANSITION, (.initial = _initial,)) \
}
/**
* @brief Macro to cast user defined object to state machine
* context.
*
* @param o A pointer to the user defined object
*/
#define SMF_CTX(o) ((struct smf_ctx *)o)
#ifdef __cplusplus
extern "C" {
#endif
#include <zephyr/kernel.h>
/**
* @brief Function pointer that implements a portion of a state
*
* @param obj pointer user defined object
*/
typedef void (*state_execution)(void *obj);
/** General state that can be used in multiple state machines. */
struct smf_state {
/** Optional method that will be run when this state is entered */
const state_execution entry;
/**
* Optional method that will be run repeatedly during state machine
* loop.
*/
const state_execution run;
/** Optional method that will be run when this state exists */
const state_execution exit;
#ifdef CONFIG_SMF_ANCESTOR_SUPPORT
/**
* Optional parent state that contains common entry/run/exit
* implementation among various child states.
* entry: Parent function executes BEFORE child function.
* run: Parent function executes AFTER child function.
* exit: Parent function executes AFTER child function.
*
* Note: When transitioning between two child states with a shared
* parent, that parent's exit and entry functions do not execute.
*/
const struct smf_state *parent;
#ifdef CONFIG_SMF_INITIAL_TRANSITION
/**
* Optional initial transition state. NULL for leaf states.
*/
const struct smf_state *initial;
#endif /* CONFIG_SMF_INITIAL_TRANSITION */
#endif /* CONFIG_SMF_ANCESTOR_SUPPORT */
};
/** Defines the current context of the state machine. */
struct smf_ctx {
/** Current state the state machine is executing. */
const struct smf_state *current;
/** Previous state the state machine executed */
const struct smf_state *previous;
#ifdef CONFIG_SMF_ANCESTOR_SUPPORT
/** Currently executing state (which may be a parent) */
const struct smf_state *executing;
#endif /* CONFIG_SMF_ANCESTOR_SUPPORT */
/**
* This value is set by the set_terminate function and
* should terminate the state machine when its set to a
* value other than zero when it's returned by the
* run_state function.
*/
int32_t terminate_val;
/**
* The state machine casts this to a "struct internal_ctx" and it's
* used to track state machine context
*/
uint32_t internal;
};
/**
* @brief Initializes the state machine and sets its initial state.
*
* @param ctx State machine context
* @param init_state Initial state the state machine starts in.
*/
void smf_set_initial(struct smf_ctx *ctx, const struct smf_state *init_state);
/**
* @brief Changes a state machines state. This handles exiting the previous
* state and entering the target state. For HSMs the entry and exit
* actions of the Least Common Ancestor will not be run.
*
* @param ctx State machine context
* @param new_state State to transition to (NULL is valid and exits all states)
*/
void smf_set_state(struct smf_ctx *ctx, const struct smf_state *new_state);
/**
* @brief Terminate a state machine
*
* @param ctx State machine context
* @param val Non-Zero termination value that's returned by the smf_run_state
* function.
*/
void smf_set_terminate(struct smf_ctx *ctx, int32_t val);
/**
* @brief Tell the SMF to stop propagating the event to ancestors. This allows
* HSMs to implement 'programming by difference' where substates can
* handle events on their own or propagate up to a common handler.
*
* @param ctx State machine context
*/
void smf_set_handled(struct smf_ctx *ctx);
/**
* @brief Runs one iteration of a state machine (including any parent states)
*
* @param ctx State machine context
* @return A non-zero value should terminate the state machine. This
* non-zero value could represent a terminal state being reached
* or the detection of an error that should result in the
* termination of the state machine.
*/
int32_t smf_run_state(struct smf_ctx *ctx);
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_SMF_H_ */
``` | /content/code_sandbox/include/zephyr/smf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,203 |
```objective-c
/*
*/
#ifndef INCLUDE_ZEPHYR_SYS_LINEAR_RANGE_H_
#define INCLUDE_ZEPHYR_SYS_LINEAR_RANGE_H_
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup linear_range Linear Range
* @ingroup utilities
*
* The linear range API maps values in a linear range to a range index. A linear
* range can be fully defined by four parameters:
*
* - Minimum value
* - Step value
* - Minimum index value
* - Maximum index value
*
* For example, in a voltage regulator, supported voltages typically map to a
* register index value like this:
*
* - 1000uV: 0x00
* - 1250uV: 0x01
* - 1500uV: 0x02
* - ...
* - 3000uV: 0x08
*
* In this case, we have:
*
* - Minimum value: 1000uV
* - Step value: 250uV
* - Minimum index value: 0x00
* - Maximum index value: 0x08
*
* A linear range may also be constant, that is, step set to zero.
*
* It is often the case where the same device has discontinuous linear ranges.
* The API offers utility functions to deal with groups of linear ranges as
* well.
*
* Implementation uses fixed-width integers. Range is limited to [INT32_MIN,
* INT32_MAX], while number of indices is limited to UINT16_MAX.
*
* Original idea borrowed from Linux.
* @{
*/
/** @brief Linear range. */
struct linear_range {
/** Minimum value. */
int32_t min;
/** Step value. */
uint32_t step;
/** Minimum index (must be <= maximum index). */
uint16_t min_idx;
/** Maximum index (must be >= minimum index). */
uint16_t max_idx;
};
/**
* @brief Initializer for @ref linear_range.
*
* @param _min Minimum value in range.
* @param _step Step value.
* @param _min_idx Minimum index.
* @param _max_idx Maximum index.
*/
#define LINEAR_RANGE_INIT(_min, _step, _min_idx, _max_idx) \
{ \
.min = (_min), \
.step = (_step), \
.min_idx = (_min_idx), \
.max_idx = (_max_idx), \
}
/**
* @brief Obtain the number of values representable in a linear range.
*
* @param[in] r Linear range instance.
*
* @return Number of ranges representable by @p r.
*/
static inline uint32_t linear_range_values_count(const struct linear_range *r)
{
return r->max_idx - r->min_idx + 1U;
}
/**
* @brief Obtain the number of values representable by a group of linear ranges.
*
* @param[in] r Array of linear range instances.
* @param r_cnt Number of linear range instances.
*
* @return Number of ranges representable by the @p r group.
*/
static inline uint32_t linear_range_group_values_count(
const struct linear_range *r, size_t r_cnt)
{
uint32_t values = 0U;
for (size_t i = 0U; i < r_cnt; i++) {
values += linear_range_values_count(&r[i]);
}
return values;
}
/**
* @brief Obtain the maximum value representable by a linear range.
*
* @param[in] r Linear range instance.
*
* @return Maximum value representable by @p r.
*/
static inline int32_t linear_range_get_max_value(const struct linear_range *r)
{
return r->min + (int32_t)(r->step * (r->max_idx - r->min_idx));
}
/**
* @brief Obtain value given a linear range index.
*
* @param[in] r Linear range instance.
* @param idx Range index.
* @param[out] val Where value will be stored.
*
* @retval 0 If successful
* @retval -EINVAL If index is out of range.
*/
static inline int linear_range_get_value(const struct linear_range *r,
uint16_t idx, int32_t *val)
{
if ((idx < r->min_idx) || (idx > r->max_idx)) {
return -EINVAL;
}
*val = r->min + (int32_t)(r->step * (idx - r->min_idx));
return 0;
}
/**
* @brief Obtain value in a group given a linear range index.
*
* @param[in] r Array of linear range instances.
* @param r_cnt Number of linear range instances.
* @param idx Range index.
* @param[out] val Where value will be stored.
*
* @retval 0 If successful
* @retval -EINVAL If index is out of range.
*/
static inline int linear_range_group_get_value(const struct linear_range *r,
size_t r_cnt, uint16_t idx,
int32_t *val)
{
int ret = -EINVAL;
for (size_t i = 0U; (ret != 0) && (i < r_cnt); i++) {
ret = linear_range_get_value(&r[i], idx, val);
}
return ret;
}
/**
* @brief Obtain index given a value.
*
* If the value falls outside the range, the nearest index will be stored and
* -ERANGE returned. That is, if the value falls below or above the range, the
* index will take the minimum or maximum value, respectively. For constant
* ranges, the minimum index will be returned.
*
* @param[in] r Linear range instance.
* @param val Value.
* @param[out] idx Where index will be stored.
*
* @retval 0 If value falls within the range.
* @retval -ERANGE If the value falls out of the range.
*/
static inline int linear_range_get_index(const struct linear_range *r,
int32_t val, uint16_t *idx)
{
if (val < r->min) {
*idx = r->min_idx;
return -ERANGE;
}
if (val > linear_range_get_max_value(r)) {
*idx = r->max_idx;
return -ERANGE;
}
if (r->step == 0U) {
*idx = r->min_idx;
} else {
*idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val - r->min),
r->step);
}
return 0;
}
/**
* @brief Obtain index in a group given a value.
*
* This function works the same way as linear_range_get_index(), but considering
* all ranges in the group.
*
* @param[in] r Linear range instances.
* @param r_cnt Number of linear range instances.
* @param val Value.
* @param[out] idx Where index will be stored.
*
* @retval 0 If value falls within the range group.
* @retval -ERANGE If the value falls out of the range group.
* @retval -EINVAL If input is not valid (i.e. zero groups).
*/
static inline int linear_range_group_get_index(const struct linear_range *r,
size_t r_cnt, int32_t val,
uint16_t *idx)
{
for (size_t i = 0U; i < r_cnt; i++) {
if ((val > linear_range_get_max_value(&r[i])) &&
(i < (r_cnt - 1U))) {
continue;
}
return linear_range_get_index(&r[i], val, idx);
}
return -EINVAL;
}
/**
* @brief Obtain index given a window of values.
*
* If the window of values does not intersect with the range, -EINVAL will be
* returned. If intersection is partial (any of the window edges does not
* intersect), the nearest index will be stored and -ERANGE returned.
*
* @param[in] r Linear range instance.
* @param val_min Minimum window value.
* @param val_max Maximum window value.
* @param[out] idx Where index will be stored.
*
* @retval 0 If a valid index is found within linear range.
* @retval -ERANGE If the given window of values falls partially out of the
* linear range.
* @retval -EINVAL If the given window of values does not intersect with the
* linear range or if they are too narrow.
*/
static inline int linear_range_get_win_index(const struct linear_range *r,
int32_t val_min, int32_t val_max,
uint16_t *idx)
{
int32_t r_max = linear_range_get_max_value(r);
if ((val_max < r->min) || (val_min > r_max)) {
return -EINVAL;
}
if (val_min < r->min) {
*idx = r->min_idx;
return -ERANGE;
}
if (val_max > r_max) {
*idx = r->max_idx;
return -ERANGE;
}
if (r->step == 0U) {
*idx = r->min_idx;
return 0;
}
*idx = r->min_idx + DIV_ROUND_UP((uint32_t)(val_min - r->min), r->step);
if ((r->min + r->step * (*idx - r->min_idx)) > val_max) {
return -EINVAL;
}
return 0;
}
/**
* @brief Obtain index in a group given a value that must be within a window of
* values.
*
* This function works the same way as linear_range_get_win_index(), but
* considering all ranges in the group.
*
* @param[in] r Linear range instances.
* @param r_cnt Number of linear range instances.
* @param val_min Minimum window value.
* @param val_max Maximum window value.
* @param[out] idx Where index will be stored.
*
* @retval 0 If a valid index is found within linear range group.
* @retval -ERANGE If the given window of values falls partially out of the
* linear range group.
* @retval -EINVAL If the given window of values does not intersect with the
* linear range group, if they are too narrow, or if input is invalid (i.e.
* zero groups).
*/
static inline int linear_range_group_get_win_index(const struct linear_range *r,
size_t r_cnt,
int32_t val_min,
int32_t val_max,
uint16_t *idx)
{
for (size_t i = 0U; i < r_cnt; i++) {
if (val_min > linear_range_get_max_value(&r[i])) {
continue;
}
return linear_range_get_win_index(&r[i], val_min, val_max, idx);
}
return -EINVAL;
}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* INCLUDE_ZEPHYR_SYS_LINEAR_RANGE_H_ */
``` | /content/code_sandbox/include/zephyr/sys/linear_range.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,357 |
```objective-c
/*
*
*/
/** @file
* @brief CRC computation function
*/
#ifndef ZEPHYR_INCLUDE_SYS_CRC_H_
#define ZEPHYR_INCLUDE_SYS_CRC_H_
#include <zephyr/types.h>
#include <stdbool.h>
#include <stddef.h>
#include <zephyr/sys/__assert.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Initial value expected to be used at the beginning of the crc8_ccitt
* computation.
*/
#define CRC8_CCITT_INITIAL_VALUE 0xFF
/* Initial value expected to be used at the beginning of the OpenPGP CRC-24 computation. */
#define CRC24_PGP_INITIAL_VALUE 0x00B704CEU
/*
* The CRC-24 value is stored on a 32-bit value, only the 3 least significant bytes
* are meaningful. Use the following mask to only keep the CRC-24 value.
*/
#define CRC24_FINAL_VALUE_MASK 0x00FFFFFFU
/**
* @defgroup checksum Checksum
* @ingroup os_services
*/
/**
* @defgroup crc CRC
* @ingroup checksum
* @{
*/
/**
* @brief CRC algorithm enumeration
*
* These values should be used with the @ref crc dispatch function.
*/
enum crc_type {
CRC4, /**< Use @ref crc4 */
CRC4_TI, /**< Use @ref crc4_ti */
CRC7_BE, /**< Use @ref crc7_be */
CRC8, /**< Use @ref crc8 */
CRC8_CCITT, /**< Use @ref crc8_ccitt */
CRC16, /**< Use @ref crc16 */
CRC16_ANSI, /**< Use @ref crc16_ansi */
CRC16_CCITT, /**< Use @ref crc16_ccitt */
CRC16_ITU_T, /**< Use @ref crc16_itu_t */
CRC24_PGP, /**< Use @ref crc24_pgp */
CRC32_C, /**< Use @ref crc32_c */
CRC32_IEEE, /**< Use @ref crc32_ieee */
};
/**
* @brief Generic function for computing a CRC-16 without input or output
* reflection.
*
* Compute CRC-16 by passing in the address of the input, the input length
* and polynomial used in addition to the initial value. This is O(n*8) where n
* is the length of the buffer provided. No reflection is performed.
*
* @note If you are planning to use a CRC based on poly 0x1012 the functions
* crc16_itu_t() is faster and thus recommended over this one.
*
* @param poly The polynomial to use omitting the leading x^16
* coefficient
* @param seed Initial value for the CRC computation
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC16 value (without any XOR applied to it)
*/
uint16_t crc16(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len);
/**
* @brief Generic function for computing a CRC-16 with input and output
* reflection.
*
* Compute CRC-16 by passing in the address of the input, the input length
* and polynomial used in addition to the initial value. This is O(n*8) where n
* is the length of the buffer provided. Both input and output are reflected.
*
* @note If you are planning to use a CRC based on poly 0x1012 the function
* crc16_ccitt() is faster and thus recommended over this one.
*
* The following checksums can, among others, be calculated by this function,
* depending on the value provided for the initial seed and the value the final
* calculated CRC is XORed with:
*
* - CRC-16/ANSI, CRC-16/MODBUS, CRC-16/USB, CRC-16/IBM
* path_to_url#crc.cat.crc-16-modbus
* poly: 0x8005 (0xA001) initial seed: 0xffff, xor output: 0x0000
*
* @param poly The polynomial to use omitting the leading x^16
* coefficient. Important: please reflect the poly. For example,
* use 0xA001 instead of 0x8005 for CRC-16-MODBUS.
* @param seed Initial value for the CRC computation
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC16 value (without any XOR applied to it)
*/
uint16_t crc16_reflect(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len);
/**
* @brief Generic function for computing CRC 8
*
* Compute CRC 8 by passing in the address of the input, the input length
* and polynomial used in addition to the initial value.
*
* @param src Input bytes for the computation
* @param len Length of the input in bytes
* @param polynomial The polynomial to use omitting the leading x^8
* coefficient
* @param initial_value Initial value for the CRC computation
* @param reversed Should we use reflected/reversed values or not
*
* @return The computed CRC8 value
*/
uint8_t crc8(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value,
bool reversed);
/**
* @brief Compute the checksum of a buffer with polynomial 0x1021, reflecting
* input and output.
*
* This function is able to calculate any CRC that uses 0x1021 as it polynomial
* and requires reflecting both the input and the output. It is a fast variant
* that runs in O(n) time, where n is the length of the input buffer.
*
* The following checksums can, among others, be calculated by this function,
* depending on the value provided for the initial seed and the value the final
* calculated CRC is XORed with:
*
* - CRC-16/CCITT, CRC-16/CCITT-TRUE, CRC-16/KERMIT
* path_to_url#crc.cat.crc-16-kermit
* initial seed: 0x0000, xor output: 0x0000
*
* - CRC-16/X-25, CRC-16/IBM-SDLC, CRC-16/ISO-HDLC
* path_to_url#crc.cat.crc-16-ibm-sdlc
* initial seed: 0xffff, xor output: 0xffff
*
* @note To calculate the CRC across non-contiguous blocks use the return
* value from block N-1 as the seed for block N.
*
* See ITU-T Recommendation V.41 (November 1988).
*
* @param seed Value to seed the CRC with
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC16 value (without any XOR applied to it)
*/
uint16_t crc16_ccitt(uint16_t seed, const uint8_t *src, size_t len);
/**
* @brief Compute the checksum of a buffer with polynomial 0x1021, no
* reflection of input or output.
*
* This function is able to calculate any CRC that uses 0x1021 as it polynomial
* and requires no reflection on both the input and the output. It is a fast
* variant that runs in O(n) time, where n is the length of the input buffer.
*
* The following checksums can, among others, be calculated by this function,
* depending on the value provided for the initial seed and the value the final
* calculated CRC is XORed with:
*
* - CRC-16/XMODEM, CRC-16/ACORN, CRC-16/LTE
* path_to_url#crc.cat.crc-16-xmodem
* initial seed: 0x0000, xor output: 0x0000
*
* - CRC16/CCITT-FALSE, CRC-16/IBM-3740, CRC-16/AUTOSAR
* path_to_url#crc.cat.crc-16-ibm-3740
* initial seed: 0xffff, xor output: 0x0000
*
* - CRC-16/GSM
* path_to_url#crc.cat.crc-16-gsm
* initial seed: 0x0000, xor output: 0xffff
*
* @note To calculate the CRC across non-contiguous blocks use the return
* value from block N-1 as the seed for block N.
*
* See ITU-T Recommendation V.41 (November 1988) (MSB first).
*
* @param seed Value to seed the CRC with
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC16 value (without any XOR applied to it)
*/
uint16_t crc16_itu_t(uint16_t seed, const uint8_t *src, size_t len);
/**
* @brief Compute the ANSI (or Modbus) variant of CRC-16
*
* The ANSI variant of CRC-16 uses 0x8005 (0xA001 reflected) as its polynomial
* with the initial * value set to 0xffff.
*
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC16 value
*/
static inline uint16_t crc16_ansi(const uint8_t *src, size_t len)
{
return crc16_reflect(0xA001, 0xffff, src, len);
}
/**
* @brief Generate IEEE conform CRC32 checksum.
*
* @param data Pointer to data on which the CRC should be calculated.
* @param len Data length.
*
* @return CRC32 value.
*
*/
uint32_t crc32_ieee(const uint8_t *data, size_t len);
/**
* @brief Update an IEEE conforming CRC32 checksum.
*
* @param crc CRC32 checksum that needs to be updated.
* @param data Pointer to data on which the CRC should be calculated.
* @param len Data length.
*
* @return CRC32 value.
*
*/
uint32_t crc32_ieee_update(uint32_t crc, const uint8_t *data, size_t len);
/**
* @brief Calculate CRC32C (Castagnoli) checksum.
*
* @param crc CRC32C checksum that needs to be updated.
* @param data Pointer to data on which the CRC should be calculated.
* @param len Data length.
* @param first_pkt Whether this is the first packet in the stream.
* @param last_pkt Whether this is the last packet in the stream.
*
* @return CRC32 value.
*
*/
uint32_t crc32_c(uint32_t crc, const uint8_t *data,
size_t len, bool first_pkt, bool last_pkt);
/**
* @brief Compute CCITT variant of CRC 8
*
* Normal CCITT variant of CRC 8 is using 0x07.
*
* @param initial_value Initial value for the CRC computation
* @param buf Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC8 value
*/
uint8_t crc8_ccitt(uint8_t initial_value, const void *buf, size_t len);
/**
* @brief Compute the CRC-7 checksum of a buffer.
*
* See JESD84-A441. Used by the MMC protocol. Uses 0x09 as the
* polynomial with no reflection. The CRC is left
* justified, so bit 7 of the result is bit 6 of the CRC.
*
* @param seed Value to seed the CRC with
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC7 value
*/
uint8_t crc7_be(uint8_t seed, const uint8_t *src, size_t len);
/**
* @brief Compute the CRC-4 checksum of a buffer.
*
* Used by the TMAG5170 sensor. Uses 0x03 as the
* polynomial with no reflection. 4 most significant
* bits of the CRC result will be set to zero.
*
* @param seed Value to seed the CRC with
* @param src Input bytes for the computation
* @param len Length of the input in bytes
*
* @return The computed CRC4 value
*/
uint8_t crc4_ti(uint8_t seed, const uint8_t *src, size_t len);
/**
* @brief Generic function for computing CRC 4
*
* Compute CRC 4 by passing in the address of the input, the input length
* and polynomial used in addition to the initial value. The input buffer
* must be aligned to a whole byte. It is guaranteed that 4 most significant
* bits of the result will be set to zero.
*
* @param src Input bytes for the computation
* @param len Length of the input in bytes
* @param polynomial The polynomial to use omitting the leading x^4
* coefficient
* @param initial_value Initial value for the CRC computation
* @param reversed Should we use reflected/reversed values or not
*
* @return The computed CRC4 value
*/
uint8_t crc4(const uint8_t *src, size_t len, uint8_t polynomial, uint8_t initial_value,
bool reversed);
/**
* @brief Generate an OpenPGP CRC-24 checksum as defined in RFC 4880 section 6.1.
*
* @param data A pointer to the data on which the CRC will be calculated.
* @param len Data length in bytes.
*
* @return The CRC-24 value.
*/
uint32_t crc24_pgp(const uint8_t *data, size_t len);
/**
* @brief Update an OpenPGP CRC-24 checksum.
*
* @param crc The CRC-24 checksum that needs to be updated. The full 32-bit value of the CRC needs
* to be used between calls, do not mask the value to keep only the last 24 bits.
* @param data A pointer to the data on which the CRC will be calculated.
* @param len Data length in bytes.
*
* @return The CRC-24 value. When the last buffer of data has been processed, mask the value
* with CRC24_FINAL_VALUE_MASK to keep only the meaningful 24 bits of the CRC result.
*/
uint32_t crc24_pgp_update(uint32_t crc, const uint8_t *data, size_t len);
/**
* @brief Compute a CRC checksum, in a generic way.
*
* This is a dispatch function that calls the individual CRC routine
* determined by @p type.
*
* For 7, 8, 16 and 24-bit CRCs, the relevant @p seed and @p poly values should
* be passed in via the least-significant byte(s).
*
* Similarly, for 7, 8, 16 and 24-bit CRCs, the relevant result is stored in the
* least-significant byte(s) of the returned value.
*
* @param type CRC algorithm to use.
* @param src Input bytes for the computation
* @param len Length of the input in bytes
* @param seed Value to seed the CRC with
* @param poly The polynomial to use omitting the leading coefficient
* @param reflect Should we use reflected/reversed values or not
* @param first Whether this is the first packet in the stream.
* @param last Whether this is the last packet in the stream.
* @return uint32_t the computed CRC value
*/
static inline uint32_t crc_by_type(enum crc_type type, const uint8_t *src, size_t len,
uint32_t seed, uint32_t poly, bool reflect, bool first,
bool last)
{
switch (type) {
case CRC4:
return crc4(src, len, poly, seed, reflect);
case CRC4_TI:
return crc4_ti(seed, src, len);
case CRC7_BE:
return crc7_be(seed, src, len);
case CRC8:
return crc8(src, len, poly, seed, reflect);
case CRC8_CCITT:
return crc8_ccitt(seed, src, len);
case CRC16:
if (reflect) {
return crc16_reflect(poly, seed, src, len);
} else {
return crc16(poly, seed, src, len);
}
case CRC16_ANSI:
return crc16_ansi(src, len);
case CRC16_CCITT:
return crc16_ccitt(seed, src, len);
case CRC16_ITU_T:
return crc16_itu_t(seed, src, len);
case CRC24_PGP: {
uint32_t crc = crc24_pgp_update(seed, src, len);
if (last)
crc &= CRC24_FINAL_VALUE_MASK;
return crc;
}
case CRC32_C:
return crc32_c(seed, src, len, first, last);
case CRC32_IEEE:
return crc32_ieee_update(seed, src, len);
default:
break;
}
__ASSERT_NO_MSG(false);
return -1;
}
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/include/zephyr/sys/crc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,718 |
```objective-c
/*
*
*/
/**
* @file
* @brief Common target reboot functionality
*
* @details See subsys/os/Kconfig and the reboot help for details.
*/
#ifndef ZEPHYR_INCLUDE_SYS_REBOOT_H_
#define ZEPHYR_INCLUDE_SYS_REBOOT_H_
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SYS_REBOOT_WARM 0
#define SYS_REBOOT_COLD 1
/**
* @brief Reboot the system
*
* Reboot the system in the manner specified by @a type. Not all architectures
* or platforms support the various reboot types (SYS_REBOOT_COLD,
* SYS_REBOOT_WARM).
*
* When successful, this routine does not return.
*/
FUNC_NORETURN void sys_reboot(int type);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_REBOOT_H_ */
``` | /content/code_sandbox/include/zephyr/sys/reboot.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```objective-c
/*
*
*/
/**
* @file
* @brief Misc utilities
*
* Misc utilities usable by the kernel and application code.
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_H_
#include <zephyr/sys/util_macro.h>
#include <zephyr/toolchain.h>
/* needs to be outside _ASMLANGUAGE so 'true' and 'false' can turn
* into '1' and '0' for asm or linker scripts
*/
#include <stdbool.h>
#ifndef _ASMLANGUAGE
#include <zephyr/sys/__assert.h>
#include <zephyr/types.h>
#include <stddef.h>
#include <stdint.h>
/** @brief Number of bits that make up a type */
#define NUM_BITS(t) (sizeof(t) * 8)
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup sys-util Utility Functions
* @since 2.4
* @version 0.1.0
* @ingroup utilities
* @{
*/
/** @brief Cast @p x, a pointer, to an unsigned integer. */
#define POINTER_TO_UINT(x) ((uintptr_t) (x))
/** @brief Cast @p x, an unsigned integer, to a <tt>void*</tt>. */
#define UINT_TO_POINTER(x) ((void *) (uintptr_t) (x))
/** @brief Cast @p x, a pointer, to a signed integer. */
#define POINTER_TO_INT(x) ((intptr_t) (x))
/** @brief Cast @p x, a signed integer, to a <tt>void*</tt>. */
#define INT_TO_POINTER(x) ((void *) (intptr_t) (x))
#if !(defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__) && defined(__SIZEOF_LONG_LONG__))
# error Missing required predefined macros for BITS_PER_LONG calculation
#endif
/** Number of bits in a long int. */
#define BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__)
/** Number of bits in a long long int. */
#define BITS_PER_LONG_LONG (__CHAR_BIT__ * __SIZEOF_LONG_LONG__)
/**
* @brief Create a contiguous bitmask starting at bit position @p l
* and ending at position @p h.
*/
#define GENMASK(h, l) \
(((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
/**
* @brief Create a contiguous 64-bit bitmask starting at bit position @p l
* and ending at position @p h.
*/
#define GENMASK64(h, l) \
(((~0ULL) - (1ULL << (l)) + 1) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h))))
/** @brief Extract the Least Significant Bit from @p value. */
#define LSB_GET(value) ((value) & -(value))
/**
* @brief Extract a bitfield element from @p value corresponding to
* the field mask @p mask.
*/
#define FIELD_GET(mask, value) (((value) & (mask)) / LSB_GET(mask))
/**
* @brief Prepare a bitfield element using @p value with @p mask representing
* its field position and width. The result should be combined
* with other fields using a logical OR.
*/
#define FIELD_PREP(mask, value) (((value) * LSB_GET(mask)) & (mask))
/** @brief 0 if @p cond is true-ish; causes a compile error otherwise. */
#define ZERO_OR_COMPILE_ERROR(cond) ((int) sizeof(char[1 - 2 * !(cond)]) - 1)
#if defined(__cplusplus)
/* The built-in function used below for type checking in C is not
* supported by GNU C++.
*/
#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0]))
#else /* __cplusplus */
/**
* @brief Zero if @p array has an array type, a compile error otherwise
*
* This macro is available only from C, not C++.
*/
#define IS_ARRAY(array) \
ZERO_OR_COMPILE_ERROR( \
!__builtin_types_compatible_p(__typeof__(array), \
__typeof__(&(array)[0])))
/**
* @brief Number of elements in the given @p array
*
* In C++, due to language limitations, this will accept as @p array
* any type that implements <tt>operator[]</tt>. The results may not be
* particularly meaningful in this case.
*
* In C, passing a pointer as @p array causes a compile error.
*/
#define ARRAY_SIZE(array) \
((size_t) (IS_ARRAY(array) + (sizeof(array) / sizeof((array)[0]))))
#endif /* __cplusplus */
/**
* @brief Declare a flexible array member.
*
* This macro declares a flexible array member in a struct. The member
* is named @p name and has type @p type.
*
* Since C99, flexible arrays are part of the C standard, but for historical
* reasons many places still use an older GNU extension that is declare
* zero length arrays.
*
* Although zero length arrays are flexible arrays, we can't blindly
* replace [0] with [] because of some syntax limitations. This macro
* workaround these limitations.
*
* It is specially useful for cases where flexible arrays are
* used in unions or are not the last element in the struct.
*/
#define FLEXIBLE_ARRAY_DECLARE(type, name) \
struct { \
struct { } __unused_##name; \
type name[]; \
}
/**
* @brief Whether @p ptr is an element of @p array
*
* This macro can be seen as a slightly stricter version of @ref PART_OF_ARRAY
* in that it also ensures that @p ptr is aligned to an array-element boundary
* of @p array.
*
* In C, passing a pointer as @p array causes a compile error.
*
* @param array the array in question
* @param ptr the pointer to check
*
* @return 1 if @p ptr is part of @p array, 0 otherwise
*/
#define IS_ARRAY_ELEMENT(array, ptr) \
((ptr) && POINTER_TO_UINT(array) <= POINTER_TO_UINT(ptr) && \
POINTER_TO_UINT(ptr) < POINTER_TO_UINT(&(array)[ARRAY_SIZE(array)]) && \
(POINTER_TO_UINT(ptr) - POINTER_TO_UINT(array)) % sizeof((array)[0]) == 0)
/**
* @brief Index of @p ptr within @p array
*
* With `CONFIG_ASSERT=y`, this macro will trigger a runtime assertion
* when @p ptr does not fall into the range of @p array or when @p ptr
* is not aligned to an array-element boundary of @p array.
*
* In C, passing a pointer as @p array causes a compile error.
*
* @param array the array in question
* @param ptr pointer to an element of @p array
*
* @return the array index of @p ptr within @p array, on success
*/
#define ARRAY_INDEX(array, ptr) \
({ \
__ASSERT_NO_MSG(IS_ARRAY_ELEMENT(array, ptr)); \
(__typeof__((array)[0]) *)(ptr) - (array); \
})
/**
* @brief Check if a pointer @p ptr lies within @p array.
*
* In C but not C++, this causes a compile error if @p array is not an array
* (e.g. if @p ptr and @p array are mixed up).
*
* @param array an array
* @param ptr a pointer
* @return 1 if @p ptr is part of @p array, 0 otherwise
*/
#define PART_OF_ARRAY(array, ptr) \
((ptr) && POINTER_TO_UINT(array) <= POINTER_TO_UINT(ptr) && \
POINTER_TO_UINT(ptr) < POINTER_TO_UINT(&(array)[ARRAY_SIZE(array)]))
/**
* @brief Array-index of @p ptr within @p array, rounded down
*
* This macro behaves much like @ref ARRAY_INDEX with the notable
* difference that it accepts any @p ptr in the range of @p array rather than
* exclusively a @p ptr aligned to an array-element boundary of @p array.
*
* With `CONFIG_ASSERT=y`, this macro will trigger a runtime assertion
* when @p ptr does not fall into the range of @p array.
*
* In C, passing a pointer as @p array causes a compile error.
*
* @param array the array in question
* @param ptr pointer to an element of @p array
*
* @return the array index of @p ptr within @p array, on success
*/
#define ARRAY_INDEX_FLOOR(array, ptr) \
({ \
__ASSERT_NO_MSG(PART_OF_ARRAY(array, ptr)); \
(POINTER_TO_UINT(ptr) - POINTER_TO_UINT(array)) / sizeof((array)[0]); \
})
/**
* @brief Iterate over members of an array using an index variable
*
* @param array the array in question
* @param idx name of array index variable
*/
#define ARRAY_FOR_EACH(array, idx) for (size_t idx = 0; (idx) < ARRAY_SIZE(array); ++(idx))
/**
* @brief Iterate over members of an array using a pointer
*
* @param array the array in question
* @param ptr pointer to an element of @p array
*/
#define ARRAY_FOR_EACH_PTR(array, ptr) \
for (__typeof__(*(array)) *ptr = (array); (size_t)((ptr) - (array)) < ARRAY_SIZE(array); \
++(ptr))
/**
* @brief Validate if two entities have a compatible type
*
* @param a the first entity to be compared
* @param b the second entity to be compared
* @return 1 if the two elements are compatible, 0 if they are not
*/
#define SAME_TYPE(a, b) __builtin_types_compatible_p(__typeof__(a), __typeof__(b))
/**
* @brief Validate CONTAINER_OF parameters, only applies to C mode.
*/
#ifndef __cplusplus
#define CONTAINER_OF_VALIDATE(ptr, type, field) \
BUILD_ASSERT(SAME_TYPE(*(ptr), ((type *)0)->field) || \
SAME_TYPE(*(ptr), void), \
"pointer type mismatch in CONTAINER_OF");
#else
#define CONTAINER_OF_VALIDATE(ptr, type, field)
#endif
/**
* @brief Get a pointer to a structure containing the element
*
* Example:
*
* struct foo {
* int bar;
* };
*
* struct foo my_foo;
* int *ptr = &my_foo.bar;
*
* struct foo *container = CONTAINER_OF(ptr, struct foo, bar);
*
* Above, @p container points at @p my_foo.
*
* @param ptr pointer to a structure element
* @param type name of the type that @p ptr is an element of
* @param field the name of the field within the struct @p ptr points to
* @return a pointer to the structure that contains @p ptr
*/
#define CONTAINER_OF(ptr, type, field) \
({ \
CONTAINER_OF_VALIDATE(ptr, type, field) \
((type *)(((char *)(ptr)) - offsetof(type, field))); \
})
/**
* @brief Report the size of a struct field in bytes.
*
* @param type The structure containing the field of interest.
* @param member The field to return the size of.
*
* @return The field size.
*/
#define SIZEOF_FIELD(type, member) sizeof((((type *)0)->member))
/**
* @brief Concatenate input arguments
*
* Concatenate provided tokens into a combined token during the preprocessor pass.
* This can be used to, for ex., build an identifier out of multiple parts,
* where one of those parts may be, for ex, a number, another macro, or a macro argument.
*
* @param ... Tokens to concatencate
*
* @return Concatenated token.
*/
#define CONCAT(...) \
UTIL_CAT(_CONCAT_, NUM_VA_ARGS_LESS_1(__VA_ARGS__))(__VA_ARGS__)
/**
* @brief Check if @p ptr is aligned to @p align alignment
*/
#define IS_ALIGNED(ptr, align) (((uintptr_t)(ptr)) % (align) == 0)
/**
* @brief Value of @p x rounded up to the next multiple of @p align.
*/
#define ROUND_UP(x, align) \
((((unsigned long)(x) + ((unsigned long)(align) - 1)) / \
(unsigned long)(align)) * (unsigned long)(align))
/**
* @brief Value of @p x rounded down to the previous multiple of @p align.
*/
#define ROUND_DOWN(x, align) \
(((unsigned long)(x) / (unsigned long)(align)) * (unsigned long)(align))
/** @brief Value of @p x rounded up to the next word boundary. */
#define WB_UP(x) ROUND_UP(x, sizeof(void *))
/** @brief Value of @p x rounded down to the previous word boundary. */
#define WB_DN(x) ROUND_DOWN(x, sizeof(void *))
/**
* @brief Divide and round up.
*
* Example:
* @code{.c}
* DIV_ROUND_UP(1, 2); // 1
* DIV_ROUND_UP(3, 2); // 2
* @endcode
*
* @param n Numerator.
* @param d Denominator.
*
* @return The result of @p n / @p d, rounded up.
*/
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
/**
* @brief Divide and round to the nearest integer.
*
* Example:
* @code{.c}
* DIV_ROUND_CLOSEST(5, 2); // 3
* DIV_ROUND_CLOSEST(5, -2); // -3
* DIV_ROUND_CLOSEST(5, 3); // 2
* @endcode
*
* @param n Numerator.
* @param d Denominator.
*
* @return The result of @p n / @p d, rounded to the nearest integer.
*/
#define DIV_ROUND_CLOSEST(n, d) \
((((n) < 0) ^ ((d) < 0)) ? ((n) - ((d) / 2)) / (d) : \
((n) + ((d) / 2)) / (d))
#ifndef MAX
/**
* @brief Obtain the maximum of two values.
*
* @note Arguments are evaluated twice. Use Z_MAX for a GCC-only, single
* evaluation version
*
* @param a First value.
* @param b Second value.
*
* @returns Maximum value of @p a and @p b.
*/
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
#ifndef MIN
/**
* @brief Obtain the minimum of two values.
*
* @note Arguments are evaluated twice. Use Z_MIN for a GCC-only, single
* evaluation version
*
* @param a First value.
* @param b Second value.
*
* @returns Minimum value of @p a and @p b.
*/
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef CLAMP
/**
* @brief Clamp a value to a given range.
*
* @note Arguments are evaluated multiple times. Use Z_CLAMP for a GCC-only,
* single evaluation version.
*
* @param val Value to be clamped.
* @param low Lowest allowed value (inclusive).
* @param high Highest allowed value (inclusive).
*
* @returns Clamped value.
*/
#define CLAMP(val, low, high) (((val) <= (low)) ? (low) : MIN(val, high))
#endif
/**
* @brief Checks if a value is within range.
*
* @note @p val is evaluated twice.
*
* @param val Value to be checked.
* @param min Lower bound (inclusive).
* @param max Upper bound (inclusive).
*
* @retval true If value is within range
* @retval false If the value is not within range
*/
#define IN_RANGE(val, min, max) ((val) >= (min) && (val) <= (max))
/**
* @brief Is @p x a power of two?
* @param x value to check
* @return true if @p x is a power of two, false otherwise
*/
static inline bool is_power_of_two(unsigned int x)
{
return IS_POWER_OF_TWO(x);
}
/**
* @brief Is @p p equal to ``NULL``?
*
* Some macros may need to check their arguments against NULL to support
* multiple use-cases, but NULL checks can generate warnings if such a macro
* is used in contexts where that particular argument can never be NULL.
*
* The warnings can be triggered if:
* a) all macros are expanded (e.g. when using CONFIG_COMPILER_SAVE_TEMPS=y)
* or
* b) tracking of macro expansions are turned off (-ftrack-macro-expansion=0)
*
* The warnings can be circumvented by using this inline function for doing
* the NULL check within the macro. The compiler is still able to optimize the
* NULL check out at a later stage.
*
* @param p Pointer to check
* @return true if @p p is equal to ``NULL``, false otherwise
*/
static ALWAYS_INLINE bool is_null_no_warn(void *p)
{
return p == NULL;
}
/**
* @brief Arithmetic shift right
* @param value value to shift
* @param shift number of bits to shift
* @return @p value shifted right by @p shift; opened bit positions are
* filled with the sign bit
*/
static inline int64_t arithmetic_shift_right(int64_t value, uint8_t shift)
{
int64_t sign_ext;
if (shift == 0U) {
return value;
}
/* extract sign bit */
sign_ext = (value >> 63) & 1;
/* make all bits of sign_ext be the same as the value's sign bit */
sign_ext = -sign_ext;
/* shift value and fill opened bit positions with sign bit */
return (value >> shift) | (sign_ext << (64 - shift));
}
/**
* @brief byte by byte memcpy.
*
* Copy `size` bytes of `src` into `dest`. This is guaranteed to be done byte by byte.
*
* @param dst Pointer to the destination memory.
* @param src Pointer to the source of the data.
* @param size The number of bytes to copy.
*/
static inline void bytecpy(void *dst, const void *src, size_t size)
{
size_t i;
for (i = 0; i < size; ++i) {
((volatile uint8_t *)dst)[i] = ((volatile const uint8_t *)src)[i];
}
}
/**
* @brief byte by byte swap.
*
* Swap @a size bytes between memory regions @a a and @a b. This is
* guaranteed to be done byte by byte.
*
* @param a Pointer to the first memory region.
* @param b Pointer to the second memory region.
* @param size The number of bytes to swap.
*/
static inline void byteswp(void *a, void *b, size_t size)
{
uint8_t t;
uint8_t *aa = (uint8_t *)a;
uint8_t *bb = (uint8_t *)b;
for (; size > 0; --size) {
t = *aa;
*aa++ = *bb;
*bb++ = t;
}
}
/**
* @brief Convert a single character into a hexadecimal nibble.
*
* @param c The character to convert
* @param x The address of storage for the converted number.
*
* @return Zero on success or (negative) error code otherwise.
*/
int char2hex(char c, uint8_t *x);
/**
* @brief Convert a single hexadecimal nibble into a character.
*
* @param c The number to convert
* @param x The address of storage for the converted character.
*
* @return Zero on success or (negative) error code otherwise.
*/
int hex2char(uint8_t x, char *c);
/**
* @brief Convert a binary array into string representation.
*
* @param buf The binary array to convert
* @param buflen The length of the binary array to convert
* @param hex Address of where to store the string representation.
* @param hexlen Size of the storage area for string representation.
*
* @return The length of the converted string, or 0 if an error occurred.
*/
size_t bin2hex(const uint8_t *buf, size_t buflen, char *hex, size_t hexlen);
/**
* @brief Convert a hexadecimal string into a binary array.
*
* @param hex The hexadecimal string to convert
* @param hexlen The length of the hexadecimal string to convert.
* @param buf Address of where to store the binary data
* @param buflen Size of the storage area for binary data
*
* @return The length of the binary array, or 0 if an error occurred.
*/
size_t hex2bin(const char *hex, size_t hexlen, uint8_t *buf, size_t buflen);
/**
* @brief Convert a binary coded decimal (BCD 8421) value to binary.
*
* @param bcd BCD 8421 value to convert.
*
* @return Binary representation of input value.
*/
static inline uint8_t bcd2bin(uint8_t bcd)
{
return ((10 * (bcd >> 4)) + (bcd & 0x0F));
}
/**
* @brief Convert a binary value to binary coded decimal (BCD 8421).
*
* @param bin Binary value to convert.
*
* @return BCD 8421 representation of input value.
*/
static inline uint8_t bin2bcd(uint8_t bin)
{
return (((bin / 10) << 4) | (bin % 10));
}
/**
* @brief Convert a uint8_t into a decimal string representation.
*
* Convert a uint8_t value into its ASCII decimal string representation.
* The string is terminated if there is enough space in buf.
*
* @param buf Address of where to store the string representation.
* @param buflen Size of the storage area for string representation.
* @param value The value to convert to decimal string
*
* @return The length of the converted string (excluding terminator if
* any), or 0 if an error occurred.
*/
uint8_t u8_to_dec(char *buf, uint8_t buflen, uint8_t value);
/**
* @brief Sign extend an 8, 16 or 32 bit value using the index bit as sign bit.
*
* @param value The value to sign expand.
* @param index 0 based bit index to sign bit (0 to 31)
*/
static inline int32_t sign_extend(uint32_t value, uint8_t index)
{
__ASSERT_NO_MSG(index <= 31);
uint8_t shift = 31 - index;
return (int32_t)(value << shift) >> shift;
}
/**
* @brief Sign extend a 64 bit value using the index bit as sign bit.
*
* @param value The value to sign expand.
* @param index 0 based bit index to sign bit (0 to 63)
*/
static inline int64_t sign_extend_64(uint64_t value, uint8_t index)
{
__ASSERT_NO_MSG(index <= 63);
uint8_t shift = 63 - index;
return (int64_t)(value << shift) >> shift;
}
/**
* @brief Properly truncate a NULL-terminated UTF-8 string
*
* Take a NULL-terminated UTF-8 string and ensure that if the string has been
* truncated (by setting the NULL terminator) earlier by other means, that
* the string ends with a properly formatted UTF-8 character (1-4 bytes).
*
* @htmlonly
* Example:
* char test_str[] = "";
* char trunc_utf8[8];
*
* printf("Original : %s\n", test_str); //
* strncpy(trunc_utf8, test_str, sizeof(trunc_utf8));
* trunc_utf8[sizeof(trunc_utf8) - 1] = '\0';
* printf("Bad : %s\n", trunc_utf8); //
* utf8_trunc(trunc_utf8);
* printf("Truncated: %s\n", trunc_utf8); //
* @endhtmlonly
*
* @param utf8_str NULL-terminated string
*
* @return Pointer to the @p utf8_str
*/
char *utf8_trunc(char *utf8_str);
/**
* @brief Copies a UTF-8 encoded string from @p src to @p dst
*
* The resulting @p dst will always be NULL terminated if @p n is larger than 0,
* and the @p dst string will always be properly UTF-8 truncated.
*
* @param dst The destination of the UTF-8 string.
* @param src The source string
* @param n The size of the @p dst buffer. Maximum number of characters copied
* is @p n - 1. If 0 nothing will be done, and the @p dst will not be
* NULL terminated.
*
* @return Pointer to the @p dst
*/
char *utf8_lcpy(char *dst, const char *src, size_t n);
#define __z_log2d(x) (32 - __builtin_clz(x) - 1)
#define __z_log2q(x) (64 - __builtin_clzll(x) - 1)
#define __z_log2(x) (sizeof(__typeof__(x)) > 4 ? __z_log2q(x) : __z_log2d(x))
/**
* @brief Compute log2(x)
*
* @note This macro expands its argument multiple times (to permit use
* in constant expressions), which must not have side effects.
*
* @param x An unsigned integral value to compute logarithm of (positive only)
*
* @return log2(x) when 1 <= x <= max(x), -1 when x < 1
*/
#define LOG2(x) ((x) < 1 ? -1 : __z_log2(x))
/**
* @brief Compute ceil(log2(x))
*
* @note This macro expands its argument multiple times (to permit use
* in constant expressions), which must not have side effects.
*
* @param x An unsigned integral value
*
* @return ceil(log2(x)) when 1 <= x <= max(type(x)), 0 when x < 1
*/
#define LOG2CEIL(x) ((x) < 1 ? 0 : __z_log2((x)-1) + 1)
/**
* @brief Compute next highest power of two
*
* Equivalent to 2^ceil(log2(x))
*
* @note This macro expands its argument multiple times (to permit use
* in constant expressions), which must not have side effects.
*
* @param x An unsigned integral value
*
* @return 2^ceil(log2(x)) or 0 if 2^ceil(log2(x)) would saturate 64-bits
*/
#define NHPOT(x) ((x) < 1 ? 1 : ((x) > (1ULL<<63) ? 0 : 1ULL << LOG2CEIL(x)))
/**
* @brief Determine if a buffer exceeds highest address
*
* This macro determines if a buffer identified by a starting address @a addr
* and length @a buflen spans a region of memory that goes beyond the highest
* possible address (thereby resulting in a pointer overflow).
*
* @param addr Buffer starting address
* @param buflen Length of the buffer
*
* @return true if pointer overflow detected, false otherwise
*/
#define Z_DETECT_POINTER_OVERFLOW(addr, buflen) \
(((buflen) != 0) && \
((UINTPTR_MAX - (uintptr_t)(addr)) <= ((uintptr_t)((buflen) - 1))))
/**
* @brief XOR n bytes
*
* @param dst Destination of where to store result. Shall be @p len bytes.
* @param src1 First source. Shall be @p len bytes.
* @param src2 Second source. Shall be @p len bytes.
* @param len Number of bytes to XOR.
*/
static inline void mem_xor_n(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, size_t len)
{
while (len--) {
*dst++ = *src1++ ^ *src2++;
}
}
/**
* @brief XOR 32 bits
*
* @param dst Destination of where to store result. Shall be 32 bits.
* @param src1 First source. Shall be 32 bits.
* @param src2 Second source. Shall be 32 bits.
*/
static inline void mem_xor_32(uint8_t dst[4], const uint8_t src1[4], const uint8_t src2[4])
{
mem_xor_n(dst, src1, src2, 4U);
}
/**
* @brief XOR 128 bits
*
* @param dst Destination of where to store result. Shall be 128 bits.
* @param src1 First source. Shall be 128 bits.
* @param src2 Second source. Shall be 128 bits.
*/
static inline void mem_xor_128(uint8_t dst[16], const uint8_t src1[16], const uint8_t src2[16])
{
mem_xor_n(dst, src1, src2, 16);
}
#ifdef __cplusplus
}
#endif
/* This file must be included at the end of the !_ASMLANGUAGE guard.
* It depends on macros defined in this file above which cannot be forward declared.
*/
#include <zephyr/sys/time_units.h>
#endif /* !_ASMLANGUAGE */
/** @brief Number of bytes in @p x kibibytes */
#ifdef _LINKER
/* This is used in linker scripts so need to avoid type casting there */
#define KB(x) ((x) << 10)
#else
#define KB(x) (((size_t)(x)) << 10)
#endif
/** @brief Number of bytes in @p x mebibytes */
#define MB(x) (KB(x) << 10)
/** @brief Number of bytes in @p x gibibytes */
#define GB(x) (MB(x) << 10)
/** @brief Number of Hz in @p x kHz */
#define KHZ(x) ((x) * 1000)
/** @brief Number of Hz in @p x MHz */
#define MHZ(x) (KHZ(x) * 1000)
/**
* @brief For the POSIX architecture add a minimal delay in a busy wait loop.
* For other architectures this is a no-op.
*
* In the POSIX ARCH, code takes zero simulated time to execute,
* so busy wait loops become infinite loops, unless we
* force the loop to take a bit of time.
* Include this macro in all busy wait/spin loops
* so they will also work when building for the POSIX architecture.
*
* @param t Time in microseconds we will busy wait
*/
#if defined(CONFIG_ARCH_POSIX)
#define Z_SPIN_DELAY(t) k_busy_wait(t)
#else
#define Z_SPIN_DELAY(t)
#endif
/**
* @brief Wait for an expression to return true with a timeout
*
* Spin on an expression with a timeout and optional delay between iterations
*
* Commonly needed when waiting on hardware to complete an asynchronous
* request to read/write/initialize/reset, but useful for any expression.
*
* @param expr Truth expression upon which to poll, e.g.: XYZREG & XYZREG_EN
* @param timeout Timeout to wait for in microseconds, e.g.: 1000 (1ms)
* @param delay_stmt Delay statement to perform each poll iteration
* e.g.: NULL, k_yield(), k_msleep(1) or k_busy_wait(1)
*
* @retval expr As a boolean return, if false then it has timed out.
*/
#define WAIT_FOR(expr, timeout, delay_stmt) \
({ \
uint32_t _wf_cycle_count = k_us_to_cyc_ceil32(timeout); \
uint32_t _wf_start = k_cycle_get_32(); \
while (!(expr) && (_wf_cycle_count > (k_cycle_get_32() - _wf_start))) { \
delay_stmt; \
Z_SPIN_DELAY(10); \
} \
(expr); \
})
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,998 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_CBPRINTF_INTERNAL_H_
#define ZEPHYR_INCLUDE_SYS_CBPRINTF_INTERNAL_H_
#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/arch/cpu.h>
/*
* Special alignment cases
*/
#if defined(__i386__)
/* there are no gaps on the stack */
#define VA_STACK_ALIGN(type) 1
#elif defined(__sparc__)
/* there are no gaps on the stack */
#define VA_STACK_ALIGN(type) 1
#elif defined(__x86_64__)
#define VA_STACK_MIN_ALIGN 8
#elif defined(__aarch64__)
#define VA_STACK_MIN_ALIGN 8
#elif defined(CONFIG_ARC)
#define VA_STACK_MIN_ALIGN ARCH_STACK_PTR_ALIGN
#elif defined(__riscv)
#ifdef CONFIG_RISCV_ISA_RV32E
#define VA_STACK_ALIGN(type) 4
#else
#define VA_STACK_MIN_ALIGN (__riscv_xlen / 8)
#endif /* CONFIG_RISCV_ISA_RV32E */
#endif
/*
* Default alignment values if not specified by architecture config
*/
#ifndef VA_STACK_MIN_ALIGN
#define VA_STACK_MIN_ALIGN 1
#endif
#ifndef VA_STACK_ALIGN
#define VA_STACK_ALIGN(type) MAX(VA_STACK_MIN_ALIGN, __alignof__(type))
#endif
static inline void z_cbprintf_wcpy(int *dst, int *src, size_t len)
{
for (size_t i = 0; i < len; i++) {
dst[i] = src[i];
}
}
#include <zephyr/sys/cbprintf_cxx.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__sparc__)
/* The SPARC V8 ABI guarantees that the arguments of a variable argument
* list function are stored on the stack at addresses which are 32-bit
* aligned. It means that variables of type unit64_t and double may not
* be properly aligned on the stack.
*
* The compiler is aware of the ABI and takes care of this. However,
* as we are directly accessing the variable argument list here, we need
* to take the alignment into consideration and copy 64-bit arguments
* as 32-bit words.
*/
#define Z_CBPRINTF_VA_STACK_LL_DBL_MEMCPY 1
#else
#define Z_CBPRINTF_VA_STACK_LL_DBL_MEMCPY 0
#endif
/** @brief Return 1 if argument is a pointer to char or wchar_t
*
* @param x argument.
*
* @return 1 if char * or wchar_t *, 0 otherwise.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_IS_PCHAR(x, flags) \
z_cbprintf_cxx_is_pchar(x, (flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO)
#else
/* NOLINTBEGIN(misc-redundant-expression) */
#define Z_CBPRINTF_IS_PCHAR(x, flags) \
_Generic((x) + 0, \
/* char * */ \
char * : 1, \
const char * : ((flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO) ? 0 : 1, \
volatile char * : 1, \
const volatile char * : 1, \
/* unsigned char * */ \
unsigned char * : 1, \
const unsigned char * : ((flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO) ? 0 : 1, \
volatile unsigned char * : 1, \
const volatile unsigned char * : 1,\
/* wchar_t * */ \
wchar_t * : 1, \
const wchar_t * : ((flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO) ? 0 : 1, \
volatile wchar_t * : 1, \
const volatile wchar_t * : 1, \
default : \
0)
/* NOLINTEND(misc-redundant-expression) */
#endif
/** @brief Check if argument fits in 32 bit word.
*
* @param x Input argument.
*
* @retval 1 if variable is of type that fits in 32 bit word.
* @retval 0 if variable is of different type.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_IS_WORD_NUM(x) \
z_cbprintf_cxx_is_word_num(x)
#else
#define Z_CBPRINTF_IS_WORD_NUM(x) \
_Generic(x, \
char : 1, \
unsigned char : 1, \
short : 1, \
unsigned short : 1, \
int : 1, \
unsigned int : 1, \
long : sizeof(long) <= 4, \
unsigned long : sizeof(long) <= 4, \
default : \
0)
#endif
/** @brief Check if argument is a none character pointer.
*
* @note Macro triggers a pointer arithmetic warning and usage shall be wrapped in
* the pragma that suppresses this warning.
*
* @param x Input argument.
*
* @retval 1 if variable is a none character pointer.
* @retval 0 if variable is of different type.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_IS_NONE_CHAR_PTR(x) z_cbprintf_cxx_is_none_char_ptr(x)
#else
#define Z_CBPRINTF_IS_NONE_CHAR_PTR(x) \
_Generic((x) + 0, \
char * : 0, \
volatile char * : 0, \
const char * : 0, \
const volatile char * : 0, \
unsigned char * : 0, \
volatile unsigned char * : 0, \
const unsigned char * : 0, \
const volatile unsigned char * : 0, \
char: 0, \
unsigned char: 0, \
short: 0, \
unsigned short: 0, \
int: 0, \
unsigned int: 0,\
long: 0, \
unsigned long: 0,\
long long: 0, \
unsigned long long: 0, \
float: 0, \
double: 0, \
default : \
1)
#endif
/** @brief Get number of none character pointers in the string with at least 1 argument.
*
* @param ... String with at least 1 argument.
*
* @return Number of none character pointer arguments.
*/
#define Z_CBPRINTF_NONE_CHAR_PTR_ARGS(...) \
(FOR_EACH(Z_CBPRINTF_IS_NONE_CHAR_PTR, (+), __VA_ARGS__)) \
/** @brief Get number of none character pointers in the string argument list.
*
* @param ... Format string with arguments.
*
* @return Number of none character pointer arguments.
*/
#define Z_CBPRINTF_NONE_CHAR_PTR_COUNT(...) \
COND_CODE_0(NUM_VA_ARGS_LESS_1(__VA_ARGS__), \
(0), \
(Z_CBPRINTF_NONE_CHAR_PTR_ARGS(GET_ARGS_LESS_N(1, __VA_ARGS__))))
/** @brief Calculate number of pointer format specifiers in the string.
*
* If constant string is provided then result is calculated at compile time
* however for it is not consider constant by the compiler, e.g. can not be
* used in the static assert.
*
* String length is limited to 256.
*
* @param fmt Format string.
* @param ... String arguments.
*
* @return Number of %p format specifiers in the string.
*/
#define Z_CBPRINTF_P_COUNT(fmt, ...) \
((sizeof(fmt) >= 2 && fmt[0] == '%' && fmt[1] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 3 && fmt[0] != '%' && fmt[1] == '%' && fmt[2] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 4 && fmt[1] != '%' && fmt[2] == '%' && fmt[3] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 5 && fmt[2] != '%' && fmt[3] == '%' && fmt[4] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 6 && fmt[3] != '%' && fmt[4] == '%' && fmt[5] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 7 && fmt[4] != '%' && fmt[5] == '%' && fmt[6] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 8 && fmt[5] != '%' && fmt[6] == '%' && fmt[7] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 9 && fmt[6] != '%' && fmt[7] == '%' && fmt[8] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 10 && fmt[7] != '%' && fmt[8] == '%' && fmt[9] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 11 && fmt[8] != '%' && fmt[9] == '%' && fmt[10] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 12 && fmt[9] != '%' && fmt[10] == '%' && fmt[11] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 13 && fmt[10] != '%' && fmt[11] == '%' && fmt[12] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 14 && fmt[11] != '%' && fmt[12] == '%' && fmt[13] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 15 && fmt[12] != '%' && fmt[13] == '%' && fmt[14] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 16 && fmt[13] != '%' && fmt[14] == '%' && fmt[15] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 17 && fmt[14] != '%' && fmt[15] == '%' && fmt[16] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 18 && fmt[15] != '%' && fmt[16] == '%' && fmt[17] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 19 && fmt[16] != '%' && fmt[17] == '%' && fmt[18] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 20 && fmt[17] != '%' && fmt[18] == '%' && fmt[19] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 21 && fmt[18] != '%' && fmt[19] == '%' && fmt[20] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 22 && fmt[19] != '%' && fmt[20] == '%' && fmt[21] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 23 && fmt[20] != '%' && fmt[21] == '%' && fmt[22] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 24 && fmt[21] != '%' && fmt[22] == '%' && fmt[23] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 25 && fmt[22] != '%' && fmt[23] == '%' && fmt[24] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 26 && fmt[23] != '%' && fmt[24] == '%' && fmt[25] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 27 && fmt[24] != '%' && fmt[25] == '%' && fmt[26] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 28 && fmt[25] != '%' && fmt[26] == '%' && fmt[27] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 29 && fmt[26] != '%' && fmt[27] == '%' && fmt[28] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 30 && fmt[27] != '%' && fmt[28] == '%' && fmt[29] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 31 && fmt[28] != '%' && fmt[29] == '%' && fmt[30] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 32 && fmt[29] != '%' && fmt[30] == '%' && fmt[31] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 33 && fmt[30] != '%' && fmt[31] == '%' && fmt[32] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 34 && fmt[31] != '%' && fmt[32] == '%' && fmt[33] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 35 && fmt[32] != '%' && fmt[33] == '%' && fmt[34] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 36 && fmt[33] != '%' && fmt[34] == '%' && fmt[35] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 37 && fmt[34] != '%' && fmt[35] == '%' && fmt[36] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 38 && fmt[35] != '%' && fmt[36] == '%' && fmt[37] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 39 && fmt[36] != '%' && fmt[37] == '%' && fmt[38] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 40 && fmt[37] != '%' && fmt[38] == '%' && fmt[39] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 41 && fmt[38] != '%' && fmt[39] == '%' && fmt[40] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 42 && fmt[39] != '%' && fmt[40] == '%' && fmt[41] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 43 && fmt[40] != '%' && fmt[41] == '%' && fmt[42] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 44 && fmt[41] != '%' && fmt[42] == '%' && fmt[43] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 45 && fmt[42] != '%' && fmt[43] == '%' && fmt[44] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 46 && fmt[43] != '%' && fmt[44] == '%' && fmt[45] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 47 && fmt[44] != '%' && fmt[45] == '%' && fmt[46] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 48 && fmt[45] != '%' && fmt[46] == '%' && fmt[47] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 49 && fmt[46] != '%' && fmt[47] == '%' && fmt[48] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 50 && fmt[47] != '%' && fmt[48] == '%' && fmt[49] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 51 && fmt[48] != '%' && fmt[49] == '%' && fmt[50] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 52 && fmt[49] != '%' && fmt[50] == '%' && fmt[51] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 53 && fmt[50] != '%' && fmt[51] == '%' && fmt[52] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 54 && fmt[51] != '%' && fmt[52] == '%' && fmt[53] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 55 && fmt[52] != '%' && fmt[53] == '%' && fmt[54] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 56 && fmt[53] != '%' && fmt[54] == '%' && fmt[55] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 57 && fmt[54] != '%' && fmt[55] == '%' && fmt[56] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 58 && fmt[55] != '%' && fmt[56] == '%' && fmt[57] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 59 && fmt[56] != '%' && fmt[57] == '%' && fmt[58] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 60 && fmt[57] != '%' && fmt[58] == '%' && fmt[59] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 61 && fmt[58] != '%' && fmt[59] == '%' && fmt[60] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 62 && fmt[59] != '%' && fmt[60] == '%' && fmt[61] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 63 && fmt[60] != '%' && fmt[61] == '%' && fmt[62] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 64 && fmt[61] != '%' && fmt[62] == '%' && fmt[63] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 65 && fmt[62] != '%' && fmt[63] == '%' && fmt[64] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 66 && fmt[63] != '%' && fmt[64] == '%' && fmt[65] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 67 && fmt[64] != '%' && fmt[65] == '%' && fmt[66] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 68 && fmt[65] != '%' && fmt[66] == '%' && fmt[67] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 69 && fmt[66] != '%' && fmt[67] == '%' && fmt[68] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 70 && fmt[67] != '%' && fmt[68] == '%' && fmt[69] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 71 && fmt[68] != '%' && fmt[69] == '%' && fmt[70] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 72 && fmt[69] != '%' && fmt[70] == '%' && fmt[71] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 73 && fmt[70] != '%' && fmt[71] == '%' && fmt[72] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 74 && fmt[71] != '%' && fmt[72] == '%' && fmt[73] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 75 && fmt[72] != '%' && fmt[73] == '%' && fmt[74] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 76 && fmt[73] != '%' && fmt[74] == '%' && fmt[75] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 77 && fmt[74] != '%' && fmt[75] == '%' && fmt[76] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 78 && fmt[75] != '%' && fmt[76] == '%' && fmt[77] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 79 && fmt[76] != '%' && fmt[77] == '%' && fmt[78] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 80 && fmt[77] != '%' && fmt[78] == '%' && fmt[79] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 81 && fmt[78] != '%' && fmt[79] == '%' && fmt[80] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 82 && fmt[79] != '%' && fmt[80] == '%' && fmt[81] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 83 && fmt[80] != '%' && fmt[81] == '%' && fmt[82] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 84 && fmt[81] != '%' && fmt[82] == '%' && fmt[83] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 85 && fmt[82] != '%' && fmt[83] == '%' && fmt[84] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 86 && fmt[83] != '%' && fmt[84] == '%' && fmt[85] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 87 && fmt[84] != '%' && fmt[85] == '%' && fmt[86] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 88 && fmt[85] != '%' && fmt[86] == '%' && fmt[87] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 89 && fmt[86] != '%' && fmt[87] == '%' && fmt[88] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 90 && fmt[87] != '%' && fmt[88] == '%' && fmt[89] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 91 && fmt[88] != '%' && fmt[89] == '%' && fmt[90] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 92 && fmt[89] != '%' && fmt[90] == '%' && fmt[91] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 93 && fmt[90] != '%' && fmt[91] == '%' && fmt[92] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 94 && fmt[91] != '%' && fmt[92] == '%' && fmt[93] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 95 && fmt[92] != '%' && fmt[93] == '%' && fmt[94] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 96 && fmt[93] != '%' && fmt[94] == '%' && fmt[95] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 97 && fmt[94] != '%' && fmt[95] == '%' && fmt[96] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 98 && fmt[95] != '%' && fmt[96] == '%' && fmt[97] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 99 && fmt[96] != '%' && fmt[97] == '%' && fmt[98] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 100 && fmt[97] != '%' && fmt[98] == '%' && fmt[99] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 101 && fmt[98] != '%' && fmt[99] == '%' && fmt[100] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 102 && fmt[99] != '%' && fmt[100] == '%' && fmt[101] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 103 && fmt[100] != '%' && fmt[101] == '%' && fmt[102] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 104 && fmt[101] != '%' && fmt[102] == '%' && fmt[103] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 105 && fmt[102] != '%' && fmt[103] == '%' && fmt[104] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 106 && fmt[103] != '%' && fmt[104] == '%' && fmt[105] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 107 && fmt[104] != '%' && fmt[105] == '%' && fmt[106] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 108 && fmt[105] != '%' && fmt[106] == '%' && fmt[107] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 109 && fmt[106] != '%' && fmt[107] == '%' && fmt[108] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 110 && fmt[107] != '%' && fmt[108] == '%' && fmt[109] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 111 && fmt[108] != '%' && fmt[109] == '%' && fmt[110] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 112 && fmt[109] != '%' && fmt[110] == '%' && fmt[111] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 113 && fmt[110] != '%' && fmt[111] == '%' && fmt[112] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 114 && fmt[111] != '%' && fmt[112] == '%' && fmt[113] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 115 && fmt[112] != '%' && fmt[113] == '%' && fmt[114] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 116 && fmt[113] != '%' && fmt[114] == '%' && fmt[115] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 117 && fmt[114] != '%' && fmt[115] == '%' && fmt[116] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 118 && fmt[115] != '%' && fmt[116] == '%' && fmt[117] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 119 && fmt[116] != '%' && fmt[117] == '%' && fmt[118] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 120 && fmt[117] != '%' && fmt[118] == '%' && fmt[119] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 121 && fmt[118] != '%' && fmt[119] == '%' && fmt[120] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 122 && fmt[119] != '%' && fmt[120] == '%' && fmt[121] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 123 && fmt[120] != '%' && fmt[121] == '%' && fmt[122] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 124 && fmt[121] != '%' && fmt[122] == '%' && fmt[123] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 125 && fmt[122] != '%' && fmt[123] == '%' && fmt[124] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 126 && fmt[123] != '%' && fmt[124] == '%' && fmt[125] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 127 && fmt[124] != '%' && fmt[125] == '%' && fmt[126] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 128 && fmt[125] != '%' && fmt[126] == '%' && fmt[127] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 129 && fmt[126] != '%' && fmt[127] == '%' && fmt[128] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 130 && fmt[127] != '%' && fmt[128] == '%' && fmt[129] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 131 && fmt[128] != '%' && fmt[129] == '%' && fmt[130] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 132 && fmt[129] != '%' && fmt[130] == '%' && fmt[131] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 133 && fmt[130] != '%' && fmt[131] == '%' && fmt[132] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 134 && fmt[131] != '%' && fmt[132] == '%' && fmt[133] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 135 && fmt[132] != '%' && fmt[133] == '%' && fmt[134] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 136 && fmt[133] != '%' && fmt[134] == '%' && fmt[135] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 137 && fmt[134] != '%' && fmt[135] == '%' && fmt[136] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 138 && fmt[135] != '%' && fmt[136] == '%' && fmt[137] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 139 && fmt[136] != '%' && fmt[137] == '%' && fmt[138] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 140 && fmt[137] != '%' && fmt[138] == '%' && fmt[139] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 141 && fmt[138] != '%' && fmt[139] == '%' && fmt[140] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 142 && fmt[139] != '%' && fmt[140] == '%' && fmt[141] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 143 && fmt[140] != '%' && fmt[141] == '%' && fmt[142] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 144 && fmt[141] != '%' && fmt[142] == '%' && fmt[143] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 145 && fmt[142] != '%' && fmt[143] == '%' && fmt[144] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 146 && fmt[143] != '%' && fmt[144] == '%' && fmt[145] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 147 && fmt[144] != '%' && fmt[145] == '%' && fmt[146] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 148 && fmt[145] != '%' && fmt[146] == '%' && fmt[147] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 149 && fmt[146] != '%' && fmt[147] == '%' && fmt[148] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 150 && fmt[147] != '%' && fmt[148] == '%' && fmt[149] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 151 && fmt[148] != '%' && fmt[149] == '%' && fmt[150] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 152 && fmt[149] != '%' && fmt[150] == '%' && fmt[151] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 153 && fmt[150] != '%' && fmt[151] == '%' && fmt[152] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 154 && fmt[151] != '%' && fmt[152] == '%' && fmt[153] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 155 && fmt[152] != '%' && fmt[153] == '%' && fmt[154] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 156 && fmt[153] != '%' && fmt[154] == '%' && fmt[155] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 157 && fmt[154] != '%' && fmt[155] == '%' && fmt[156] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 158 && fmt[155] != '%' && fmt[156] == '%' && fmt[157] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 159 && fmt[156] != '%' && fmt[157] == '%' && fmt[158] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 160 && fmt[157] != '%' && fmt[158] == '%' && fmt[159] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 161 && fmt[158] != '%' && fmt[159] == '%' && fmt[160] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 162 && fmt[159] != '%' && fmt[160] == '%' && fmt[161] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 163 && fmt[160] != '%' && fmt[161] == '%' && fmt[162] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 164 && fmt[161] != '%' && fmt[162] == '%' && fmt[163] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 165 && fmt[162] != '%' && fmt[163] == '%' && fmt[164] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 166 && fmt[163] != '%' && fmt[164] == '%' && fmt[165] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 167 && fmt[164] != '%' && fmt[165] == '%' && fmt[166] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 168 && fmt[165] != '%' && fmt[166] == '%' && fmt[167] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 169 && fmt[166] != '%' && fmt[167] == '%' && fmt[168] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 170 && fmt[167] != '%' && fmt[168] == '%' && fmt[169] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 171 && fmt[168] != '%' && fmt[169] == '%' && fmt[170] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 172 && fmt[169] != '%' && fmt[170] == '%' && fmt[171] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 173 && fmt[170] != '%' && fmt[171] == '%' && fmt[172] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 174 && fmt[171] != '%' && fmt[172] == '%' && fmt[173] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 175 && fmt[172] != '%' && fmt[173] == '%' && fmt[174] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 176 && fmt[173] != '%' && fmt[174] == '%' && fmt[175] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 177 && fmt[174] != '%' && fmt[175] == '%' && fmt[176] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 178 && fmt[175] != '%' && fmt[176] == '%' && fmt[177] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 179 && fmt[176] != '%' && fmt[177] == '%' && fmt[178] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 180 && fmt[177] != '%' && fmt[178] == '%' && fmt[179] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 181 && fmt[178] != '%' && fmt[179] == '%' && fmt[180] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 182 && fmt[179] != '%' && fmt[180] == '%' && fmt[181] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 183 && fmt[180] != '%' && fmt[181] == '%' && fmt[182] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 184 && fmt[181] != '%' && fmt[182] == '%' && fmt[183] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 185 && fmt[182] != '%' && fmt[183] == '%' && fmt[184] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 186 && fmt[183] != '%' && fmt[184] == '%' && fmt[185] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 187 && fmt[184] != '%' && fmt[185] == '%' && fmt[186] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 188 && fmt[185] != '%' && fmt[186] == '%' && fmt[187] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 189 && fmt[186] != '%' && fmt[187] == '%' && fmt[188] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 190 && fmt[187] != '%' && fmt[188] == '%' && fmt[189] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 191 && fmt[188] != '%' && fmt[189] == '%' && fmt[190] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 192 && fmt[189] != '%' && fmt[190] == '%' && fmt[191] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 193 && fmt[190] != '%' && fmt[191] == '%' && fmt[192] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 194 && fmt[191] != '%' && fmt[192] == '%' && fmt[193] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 195 && fmt[192] != '%' && fmt[193] == '%' && fmt[194] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 196 && fmt[193] != '%' && fmt[194] == '%' && fmt[195] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 197 && fmt[194] != '%' && fmt[195] == '%' && fmt[196] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 198 && fmt[195] != '%' && fmt[196] == '%' && fmt[197] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 199 && fmt[196] != '%' && fmt[197] == '%' && fmt[198] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 200 && fmt[197] != '%' && fmt[198] == '%' && fmt[199] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 201 && fmt[198] != '%' && fmt[199] == '%' && fmt[200] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 202 && fmt[199] != '%' && fmt[200] == '%' && fmt[201] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 203 && fmt[200] != '%' && fmt[201] == '%' && fmt[202] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 204 && fmt[201] != '%' && fmt[202] == '%' && fmt[203] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 205 && fmt[202] != '%' && fmt[203] == '%' && fmt[204] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 206 && fmt[203] != '%' && fmt[204] == '%' && fmt[205] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 207 && fmt[204] != '%' && fmt[205] == '%' && fmt[206] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 208 && fmt[205] != '%' && fmt[206] == '%' && fmt[207] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 209 && fmt[206] != '%' && fmt[207] == '%' && fmt[208] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 210 && fmt[207] != '%' && fmt[208] == '%' && fmt[209] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 211 && fmt[208] != '%' && fmt[209] == '%' && fmt[210] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 212 && fmt[209] != '%' && fmt[210] == '%' && fmt[211] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 213 && fmt[210] != '%' && fmt[211] == '%' && fmt[212] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 214 && fmt[211] != '%' && fmt[212] == '%' && fmt[213] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 215 && fmt[212] != '%' && fmt[213] == '%' && fmt[214] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 216 && fmt[213] != '%' && fmt[214] == '%' && fmt[215] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 217 && fmt[214] != '%' && fmt[215] == '%' && fmt[216] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 218 && fmt[215] != '%' && fmt[216] == '%' && fmt[217] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 219 && fmt[216] != '%' && fmt[217] == '%' && fmt[218] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 220 && fmt[217] != '%' && fmt[218] == '%' && fmt[219] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 221 && fmt[218] != '%' && fmt[219] == '%' && fmt[220] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 222 && fmt[219] != '%' && fmt[220] == '%' && fmt[221] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 223 && fmt[220] != '%' && fmt[221] == '%' && fmt[222] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 224 && fmt[221] != '%' && fmt[222] == '%' && fmt[223] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 225 && fmt[222] != '%' && fmt[223] == '%' && fmt[224] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 226 && fmt[223] != '%' && fmt[224] == '%' && fmt[225] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 227 && fmt[224] != '%' && fmt[225] == '%' && fmt[226] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 228 && fmt[225] != '%' && fmt[226] == '%' && fmt[227] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 229 && fmt[226] != '%' && fmt[227] == '%' && fmt[228] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 230 && fmt[227] != '%' && fmt[228] == '%' && fmt[229] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 231 && fmt[228] != '%' && fmt[229] == '%' && fmt[230] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 232 && fmt[229] != '%' && fmt[230] == '%' && fmt[231] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 233 && fmt[230] != '%' && fmt[231] == '%' && fmt[232] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 234 && fmt[231] != '%' && fmt[232] == '%' && fmt[233] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 235 && fmt[232] != '%' && fmt[233] == '%' && fmt[234] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 236 && fmt[233] != '%' && fmt[234] == '%' && fmt[235] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 237 && fmt[234] != '%' && fmt[235] == '%' && fmt[236] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 238 && fmt[235] != '%' && fmt[236] == '%' && fmt[237] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 239 && fmt[236] != '%' && fmt[237] == '%' && fmt[238] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 240 && fmt[237] != '%' && fmt[238] == '%' && fmt[239] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 241 && fmt[238] != '%' && fmt[239] == '%' && fmt[240] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 242 && fmt[239] != '%' && fmt[240] == '%' && fmt[241] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 243 && fmt[240] != '%' && fmt[241] == '%' && fmt[242] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 244 && fmt[241] != '%' && fmt[242] == '%' && fmt[243] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 245 && fmt[242] != '%' && fmt[243] == '%' && fmt[244] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 246 && fmt[243] != '%' && fmt[244] == '%' && fmt[245] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 247 && fmt[244] != '%' && fmt[245] == '%' && fmt[246] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 248 && fmt[245] != '%' && fmt[246] == '%' && fmt[247] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 249 && fmt[246] != '%' && fmt[247] == '%' && fmt[248] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 250 && fmt[247] != '%' && fmt[248] == '%' && fmt[249] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 251 && fmt[248] != '%' && fmt[249] == '%' && fmt[250] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 252 && fmt[249] != '%' && fmt[250] == '%' && fmt[251] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 253 && fmt[250] != '%' && fmt[251] == '%' && fmt[252] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 254 && fmt[251] != '%' && fmt[252] == '%' && fmt[253] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 255 && fmt[252] != '%' && fmt[253] == '%' && fmt[254] == 'p') ? 1 : 0) + \
((sizeof(fmt) >= 256 && fmt[253] != '%' && fmt[254] == '%' && fmt[255] == 'p') ? 1 : 0)
/** @brief Determine if all %p arguments are none character pointer arguments.
*
* Static package creation relies on the assumption that character pointers are
* only using %s arguments. To not confuse it with %p, any character pointer
* that is used with %p should be casted to a pointer of a different type, e.g.
* void *. This macro can be used to determine, at compile time, if such casting
* is missing. It is determined at compile time but cannot be used for static
* assertion so only runtime error reporting can be added.
*
* @note Macro triggers a pointer arithmetic warning and usage shall be wrapped in
* the pragma that suppresses this warning.
*
* @param ... Format string with arguments.
*
* @retval True if string is okay.
* @retval False if casting is missing.
*/
#define Z_CBPRINTF_POINTERS_VALIDATE(...) \
(Z_CBPRINTF_NONE_CHAR_PTR_COUNT(__VA_ARGS__) == \
Z_CBPRINTF_P_COUNT(GET_ARG_N(1, __VA_ARGS__)))
/* @brief Check if argument is a certain type of char pointer. What exactly is checked
* depends on @p flags. If flags is 0 then 1 is returned if @p x is a char pointer.
*
* @param idx Argument index.
* @param x Argument.
* @param flags Flags. See @p CBPRINTF_PACKAGE_FLAGS.
*
* @retval 1 if @p x is char pointer meeting criteria identified by @p flags.
* @retval 0 otherwise.
*/
#define Z_CBPRINTF_IS_X_PCHAR(idx, x, flags) \
(idx < Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(flags) ? \
0 : Z_CBPRINTF_IS_PCHAR(x, flags))
/** @brief Calculate number of char * or wchar_t * arguments in the arguments.
*
* @param fmt string.
*
* @param ... string arguments.
*
* @return number of arguments which are char * or wchar_t *.
*/
#define Z_CBPRINTF_HAS_PCHAR_ARGS(flags, fmt, ...) \
(FOR_EACH_IDX_FIXED_ARG(Z_CBPRINTF_IS_X_PCHAR, (+), flags, __VA_ARGS__))
#define Z_CBPRINTF_PCHAR_COUNT(flags, ...) \
COND_CODE_0(NUM_VA_ARGS_LESS_1(__VA_ARGS__), \
(0), \
(Z_CBPRINTF_HAS_PCHAR_ARGS(flags, __VA_ARGS__)))
/**
* @brief Check if formatted string must be packaged in runtime.
*
* @param ... String with arguments (fmt, ...).
*
* @retval 1 if string must be packaged at runtime.
* @retval 0 if string can be statically packaged.
*/
#if Z_C_GENERIC
#define Z_CBPRINTF_MUST_RUNTIME_PACKAGE(flags, ...) ({\
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wpointer-arith\"") \
int _rv; \
if ((flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS) { \
_rv = 0; \
} else { \
_rv = Z_CBPRINTF_PCHAR_COUNT(flags, __VA_ARGS__) > 0 ? 1 : 0; \
} \
_Pragma("GCC diagnostic pop")\
_rv; \
})
#else
#define Z_CBPRINTF_MUST_RUNTIME_PACKAGE(flags, ...) 1
#endif
/** @brief Get storage size for given argument.
*
* Floats are promoted to double so they use size of double, others int storage
* or it's own storage size if it is bigger than int.
*
* @param v argument.
*
* @return Number of bytes used for storing the argument.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_ARG_SIZE(v) z_cbprintf_cxx_arg_size(v)
#else
#define Z_CONSTIFY(v) (_Generic((v), char * : (const char *)(uintptr_t)(v), default : (v)))
#define Z_CBPRINTF_ARG_SIZE(v) ({\
__auto_type __v = (Z_CONSTIFY(v)) + 0; \
/* Static code analysis may complain about unused variable. */ \
(void)__v; \
size_t __arg_size = _Generic((v), \
float : sizeof(double), \
default : \
sizeof((__v)) \
); \
__arg_size; \
})
#endif
/** @brief Promote and store argument in the buffer.
*
* @param buf Buffer.
*
* @param arg Argument.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_STORE_ARG(buf, arg) z_cbprintf_cxx_store_arg(buf, arg)
#else
#define Z_CBPRINTF_STORE_ARG(buf, arg) do { \
if (Z_CBPRINTF_VA_STACK_LL_DBL_MEMCPY) { \
/* If required, copy arguments by word to avoid unaligned access.*/ \
__auto_type _v = (Z_CONSTIFY(arg)) + 0; \
double _d = _Generic((arg) + 0, \
float : (arg) + 0, \
default : \
0.0); \
/* Static code analysis may complain about unused variable. */ \
(void)_v; \
(void)_d; \
size_t arg_size = Z_CBPRINTF_ARG_SIZE(arg); \
size_t _wsize = arg_size / sizeof(int); \
z_cbprintf_wcpy((int *)(buf), \
(int *) _Generic((arg) + 0, float : &_d, default : &_v), \
_wsize); \
} else { \
*_Generic((arg) + 0, \
char : (int *)(buf), \
unsigned char: (int *)(buf), \
short : (int *)(buf), \
unsigned short : (int *)(buf), \
int : (int *)(buf), \
unsigned int : (unsigned int *)(buf), \
long : (long *)(buf), \
unsigned long : (unsigned long *)(buf), \
long long : (long long *)(buf), \
unsigned long long : (unsigned long long *)(buf), \
float : (double *)(buf), \
double : (double *)(buf), \
long double : (long double *)(buf), \
default : \
(const void **)(buf)) = (arg); \
} \
} while (false)
#endif
/** @brief Return alignment needed for given argument.
*
* @param _arg Argument
*
* @return Alignment in bytes.
*/
#ifdef __cplusplus
#define Z_CBPRINTF_ALIGNMENT(_arg) z_cbprintf_cxx_alignment(_arg)
#else
#define Z_CBPRINTF_ALIGNMENT(_arg) \
MAX(_Generic((_arg) + 0, \
float : VA_STACK_ALIGN(double), \
double : VA_STACK_ALIGN(double), \
long double : VA_STACK_ALIGN(long double), \
long long : VA_STACK_ALIGN(long long), \
unsigned long long : VA_STACK_ALIGN(long long), \
default : \
__alignof__((_arg) + 0)), VA_STACK_MIN_ALIGN)
#endif
/** @brief Detect long double variable as a constant expression.
*
* Macro is used in static assertion. On some platforms C++ static inline
* template function is not a constant expression and cannot be used. In that
* case long double usage will not be detected.
*
* @param x Argument.
*
* @return 1 if @p x is a long double, 0 otherwise.
*/
#ifdef __cplusplus
#if defined(__x86_64__) || defined(__riscv) || defined(__aarch64__)
#define Z_CBPRINTF_IS_LONGDOUBLE(x) 0
#else
#define Z_CBPRINTF_IS_LONGDOUBLE(x) z_cbprintf_cxx_is_longdouble(x)
#endif
#else
#define Z_CBPRINTF_IS_LONGDOUBLE(x) \
_Generic((x) + 0, long double : 1, default : 0)
#endif
/** @brief Safely package arguments to a buffer.
*
* Argument is put into the buffer if capable buffer is provided. Length is
* incremented even if data is not packaged.
*
* @param _buf buffer.
*
* @param _idx index. Index is postincremented.
*
* @param _align_offset Current index with alignment offset.
*
* @param _max maximum index (buffer capacity).
*
* @param _arg argument.
*/
#define Z_CBPRINTF_PACK_ARG2(arg_idx, _buf, _idx, _align_offset, _max, _arg) \
do { \
BUILD_ASSERT(!((sizeof(double) < VA_STACK_ALIGN(long double)) && \
Z_CBPRINTF_IS_LONGDOUBLE(_arg) && \
!IS_ENABLED(CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE)),\
"Packaging of long double not enabled in Kconfig."); \
while (((_align_offset) % Z_CBPRINTF_ALIGNMENT(_arg)) != 0UL) { \
(_idx) += sizeof(int); \
(_align_offset) += sizeof(int); \
} \
uint32_t _arg_size = Z_CBPRINTF_ARG_SIZE(_arg); \
uint8_t _loc = (uint8_t)(_idx / sizeof(int)); \
if (arg_idx < 1 + _fros_cnt) { \
if (_ros_pos_en) { \
_ros_pos_buf[_ros_pos_idx++] = _loc; \
} \
} else if (Z_CBPRINTF_IS_PCHAR(_arg, 0)) { \
if (_cros_en) { \
if (Z_CBPRINTF_IS_X_PCHAR(arg_idx, _arg, _flags)) { \
if (_rws_pos_en) { \
_rws_buffer[_rws_pos_idx++] = arg_idx - 1; \
_rws_buffer[_rws_pos_idx++] = _loc; \
} \
} else { \
if (_ros_pos_en) { \
_ros_pos_buf[_ros_pos_idx++] = _loc; \
} \
} \
} else if (_rws_pos_en) { \
_rws_buffer[_rws_pos_idx++] = arg_idx - 1; \
_rws_buffer[_rws_pos_idx++] = (uint8_t)(_idx / sizeof(int)); \
} \
} \
if ((_buf) && (_idx) < (int)(_max)) { \
Z_CBPRINTF_STORE_ARG(&(_buf)[(_idx)], _arg); \
} \
(_idx) += (_arg_size); \
(_align_offset) += (_arg_size); \
} while (false)
/** @brief Package single argument.
*
* Macro is called in a loop for each argument in the string.
*
* @param arg argument.
*/
#define Z_CBPRINTF_PACK_ARG(arg_idx, arg) \
Z_CBPRINTF_PACK_ARG2(arg_idx, _pbuf, _pkg_len, _pkg_offset, _pmax, arg)
/* When using clang additional warning needs to be suppressed since each
* argument of fmt string is used for sizeof() which results in the warning
* if argument is a string literal. Suppression is added here instead of
* the macro which generates the warning to not slow down the compiler.
*/
#ifdef __clang__
#define Z_CBPRINTF_SUPPRESS_SIZEOF_ARRAY_DECAY \
_Pragma("GCC diagnostic ignored \"-Wsizeof-array-decay\"")
#else
#define Z_CBPRINTF_SUPPRESS_SIZEOF_ARRAY_DECAY
#endif
/* Allocation to avoid using VLA and alloca. Alloc frees space when leaving
* a function which can lead to increased stack usage if logging is used
* multiple times. VLA is not always available.
*
* Use large array when optimization is off to avoid increased stack usage.
*/
#ifdef CONFIG_NO_OPTIMIZATIONS
#define Z_CBPRINTF_ON_STACK_ALLOC(_name, _len) \
__ASSERT(_len <= 32, "Too many string arguments."); \
uint8_t _name##_buf32[32]; \
_name = _name##_buf32
#else
#define Z_CBPRINTF_ON_STACK_ALLOC(_name, _len) \
__ASSERT(_len <= 32, "Too many string arguments."); \
uint8_t _name##_buf4[4]; \
uint8_t _name##_buf8[8]; \
uint8_t _name##_buf12[12]; \
uint8_t _name##_buf16[16]; \
uint8_t _name##_buf32[32]; \
_name = (_len) <= 4 ? _name##_buf4 : \
((_len) <= 8 ? _name##_buf8 : \
((_len) <= 12 ? _name##_buf12 : \
((_len) <= 16 ? _name##_buf16 : \
_name##_buf32)))
#endif
/** @brief Statically package a formatted string with arguments.
*
* @param buf buffer. If null then only length is calculated.
*
* @param _inlen buffer capacity on input. Ignored when @p buf is null.
*
* @param _outlen number of bytes required to store the package.
*
* @param _align_offset Input buffer alignment offset in words. Where offset 0
* means that buffer is aligned to CBPRINTF_PACKAGE_ALIGNMENT.
*
* @param flags Option flags. See @ref CBPRINTF_PACKAGE_FLAGS.
*
* @param ... String with variable list of arguments.
*/
#define Z_CBPRINTF_STATIC_PACKAGE_GENERIC(buf, _inlen, _outlen, _align_offset, \
flags, ... /* fmt, ... */) \
do { \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wpointer-arith\"") \
Z_CBPRINTF_SUPPRESS_SIZEOF_ARRAY_DECAY \
BUILD_ASSERT(!IS_ENABLED(CONFIG_XTENSA) || \
(IS_ENABLED(CONFIG_XTENSA) && \
!((_align_offset) % CBPRINTF_PACKAGE_ALIGNMENT)), \
"Xtensa requires aligned package."); \
BUILD_ASSERT(((_align_offset) % sizeof(int)) == 0, \
"Alignment offset must be multiply of a word."); \
IF_ENABLED(CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT, \
(__ASSERT(!((uintptr_t)buf & (CBPRINTF_PACKAGE_ALIGNMENT - 1)), \
"Buffer must be aligned.");)) \
uint32_t _flags = flags; \
bool _ros_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RO_STR_POS; \
bool _rws_pos_en = (_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS; \
bool _cros_en = (_flags) & CBPRINTF_PACKAGE_CONST_CHAR_RO; \
uint8_t *_pbuf = (buf); \
uint8_t _rws_pos_idx = 0; \
uint8_t _ros_pos_idx = 0; \
/* Variable holds count of all string pointer arguments. */ \
uint8_t _alls_cnt = Z_CBPRINTF_PCHAR_COUNT(0, __VA_ARGS__); \
uint8_t _fros_cnt = Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(_flags); \
/* Variable holds count of non const string pointers. */ \
uint8_t _rws_cnt = _cros_en ? \
Z_CBPRINTF_PCHAR_COUNT(_flags, __VA_ARGS__) : _alls_cnt - _fros_cnt; \
uint8_t _ros_cnt = _ros_pos_en ? (1 + _alls_cnt - _rws_cnt) : 0; \
uint8_t *_ros_pos_buf; \
Z_CBPRINTF_ON_STACK_ALLOC(_ros_pos_buf, _ros_cnt); \
uint8_t *_rws_buffer; \
Z_CBPRINTF_ON_STACK_ALLOC(_rws_buffer, 2 * _rws_cnt); \
size_t _pmax = !is_null_no_warn(buf) ? _inlen : INT32_MAX; \
int _pkg_len = 0; \
int _total_len = 0; \
int _pkg_offset = (_align_offset); \
union cbprintf_package_hdr *_len_loc; \
/* If string has rw string arguments CBPRINTF_PACKAGE_ADD_RW_STR_POS is a must. */ \
if (_rws_cnt && !((_flags) & CBPRINTF_PACKAGE_ADD_RW_STR_POS)) { \
_outlen = -EINVAL; \
break; \
} \
/* package starts with string address and field with length */ \
if (_pmax < sizeof(*_len_loc)) { \
(_outlen) = -ENOSPC; \
break; \
} \
_len_loc = (union cbprintf_package_hdr *)_pbuf; \
_pkg_len += sizeof(*_len_loc); \
_pkg_offset += sizeof(*_len_loc); \
/* Pack remaining arguments */\
FOR_EACH_IDX(Z_CBPRINTF_PACK_ARG, (;), __VA_ARGS__);\
_total_len = _pkg_len; \
/* Append string indexes to the package. */ \
_total_len += _ros_cnt; \
_total_len += 2 * _rws_cnt; \
if (_pbuf != NULL) { \
/* Append string locations. */ \
uint8_t *_pbuf_loc = &_pbuf[_pkg_len]; \
for (size_t _ros_idx = 0; _ros_idx < _ros_cnt; _ros_idx++) { \
*_pbuf_loc++ = _ros_pos_buf[_ros_idx]; \
} \
for (size_t _rws_idx = 0; _rws_idx < (2 * _rws_cnt); _rws_idx++) { \
*_pbuf_loc++ = _rws_buffer[_rws_idx]; \
} \
} \
/* Store length */ \
(_outlen) = (_total_len > (int)_pmax) ? -ENOSPC : _total_len; \
/* Store length in the header, set number of dumped strings to 0 */ \
if (_pbuf != NULL) { \
union cbprintf_package_hdr pkg_hdr = { \
.desc = { \
.len = (uint8_t)(_pkg_len / sizeof(int)), \
.str_cnt = 0, \
.ro_str_cnt = _ros_cnt, \
.rw_str_cnt = _rws_cnt, \
} \
}; \
IF_ENABLED(CONFIG_CBPRINTF_PACKAGE_HEADER_STORE_CREATION_FLAGS, \
(pkg_hdr.desc.pkg_flags = flags)); \
*_len_loc = pkg_hdr; \
} \
_Pragma("GCC diagnostic pop") \
} while (false)
#if Z_C_GENERIC
#define Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, align_offset, flags, \
... /* fmt, ... */) \
Z_CBPRINTF_STATIC_PACKAGE_GENERIC(packaged, inlen, outlen, \
align_offset, flags, __VA_ARGS__)
#else
#define Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, align_offset, flags, \
... /* fmt, ... */) \
do { \
/* Small trick needed to avoid warning on always true */ \
if (((uintptr_t)packaged + 1) != 1) { \
outlen = cbprintf_package(packaged, inlen, flags, __VA_ARGS__); \
} else { \
outlen = cbprintf_package(NULL, align_offset, flags, __VA_ARGS__); \
} \
} while (false)
#endif /* Z_C_GENERIC */
#ifdef __cplusplus
}
#endif
#ifdef CONFIG_CBPRINTF_PACKAGE_SUPPORT_TAGGED_ARGUMENTS
#ifdef __cplusplus
/*
* Remove qualifiers like const, volatile. And also transform
* C++ argument reference back to its basic type.
*/
#define Z_CBPRINTF_ARG_REMOVE_QUAL(arg) \
z_cbprintf_cxx_remove_cv < \
z_cbprintf_cxx_remove_reference < decltype(arg) > ::type \
> ::type
/*
* Get the type of elements in an array.
*/
#define Z_CBPRINTF_CXX_ARG_ARRAY_TYPE(arg) \
z_cbprintf_cxx_remove_cv < \
z_cbprintf_cxx_remove_extent < decltype(arg) > ::type \
> ::type
/*
* Determine if incoming type is char.
*/
#define Z_CBPRINTF_CXX_ARG_IS_TYPE_CHAR(type) \
(z_cbprintf_cxx_is_same_type < type, \
char > :: value ? \
true : \
(z_cbprintf_cxx_is_same_type < type, \
const char > :: value ? \
true : \
(z_cbprintf_cxx_is_same_type < type, \
volatile char > :: value ? \
true : \
(z_cbprintf_cxx_is_same_type < type, \
const volatile char > :: value ? \
true : \
false))))
/*
* Figure out if this is a char array since (char *) and (char[])
* are of different types in C++.
*/
#define Z_CBPRINTF_CXX_ARG_IS_CHAR_ARRAY(arg) \
(z_cbprintf_cxx_is_array < decltype(arg) > :: value ? \
(Z_CBPRINTF_CXX_ARG_IS_TYPE_CHAR(Z_CBPRINTF_CXX_ARG_ARRAY_TYPE(arg)) ? \
true : \
false) : \
false)
/*
* Note that qualifiers of char * must be explicitly matched
* due to type matching in C++, where remove_cv() does not work.
*/
#define Z_CBPRINTF_ARG_TYPE(arg) \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
char > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_CHAR : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
unsigned char > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_CHAR : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
short > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_SHORT : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
unsigned short > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_SHORT : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
int > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_INT : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
unsigned int > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_INT : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
long > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_LONG : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
unsigned long > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
long long > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_LONG_LONG : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
unsigned long long > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG_LONG : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
float > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_FLOAT : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
double > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_DOUBLE : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
long double > ::value ? \
CBPRINTF_PACKAGE_ARG_TYPE_LONG_DOUBLE : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
char * > :: value ? \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
const char * > :: value ? \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
volatile char * > :: value ? \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR : \
(z_cbprintf_cxx_is_same_type < Z_CBPRINTF_ARG_REMOVE_QUAL(arg), \
const volatile char * > :: value ? \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR : \
(Z_CBPRINTF_CXX_ARG_IS_CHAR_ARRAY(arg) ? \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR : \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_VOID))))))))))))))))))
#else
#define Z_CBPRINTF_ARG_TYPE(arg) \
_Generic(arg, \
char : CBPRINTF_PACKAGE_ARG_TYPE_CHAR, \
unsigned char : CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_CHAR, \
short : CBPRINTF_PACKAGE_ARG_TYPE_SHORT, \
unsigned short : CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_SHORT, \
int : CBPRINTF_PACKAGE_ARG_TYPE_INT, \
unsigned int : CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_INT, \
long : CBPRINTF_PACKAGE_ARG_TYPE_LONG, \
unsigned long : CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG, \
long long : CBPRINTF_PACKAGE_ARG_TYPE_LONG_LONG, \
unsigned long long : CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG_LONG, \
float : CBPRINTF_PACKAGE_ARG_TYPE_FLOAT, \
double : CBPRINTF_PACKAGE_ARG_TYPE_DOUBLE, \
long double : CBPRINTF_PACKAGE_ARG_TYPE_LONG_DOUBLE, \
char * : CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR, \
const char * : CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR, \
void * : CBPRINTF_PACKAGE_ARG_TYPE_PTR_VOID, \
default : \
CBPRINTF_PACKAGE_ARG_TYPE_PTR_VOID \
)
#endif /* _cplusplus */
#define Z_CBPRINTF_TAGGED_EMPTY_ARGS(...) \
CBPRINTF_PACKAGE_ARG_TYPE_END
#define Z_CBPRINTF_TAGGED_ARGS_3(arg) \
Z_CBPRINTF_ARG_TYPE(arg), arg
#define Z_CBPRINTF_TAGGED_ARGS_2(...) \
FOR_EACH(Z_CBPRINTF_TAGGED_ARGS_3, (,), __VA_ARGS__), \
CBPRINTF_PACKAGE_ARG_TYPE_END
#define Z_CBPRINTF_TAGGED_ARGS(_num_args, ...) \
COND_CODE_0(_num_args, \
(CBPRINTF_PACKAGE_ARG_TYPE_END), \
(Z_CBPRINTF_TAGGED_ARGS_2(__VA_ARGS__)))
#endif /* CONFIG_CBPRINTF_PACKAGE_SUPPORT_TAGGED_ARGUMENTS */
#endif /* ZEPHYR_INCLUDE_SYS_CBPRINTF_INTERNAL_H_ */
``` | /content/code_sandbox/include/zephyr/sys/cbprintf_internal.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17,322 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_KOBJECT_H
#define ZEPHYR_INCLUDE_SYS_KOBJECT_H
#include <stdint.h>
#include <stddef.h>
#include <zephyr/sys/iterable_sections.h>
#include <zephyr/sys/internal/kobject_internal.h>
#ifdef __cplusplus
extern "C" {
#endif
struct k_thread;
struct k_mutex;
struct z_futex_data;
/**
* @brief Kernel Object Types
*
* This enumeration needs to be kept in sync with the lists of kernel objects
* and subsystems in scripts/build/gen_kobject_list.py, as well as the otype_to_str()
* function in kernel/userspace.c
*/
enum k_objects {
K_OBJ_ANY,
/** @cond
* Doxygen should ignore this build-time generated include file
* when generating API documentation. Enumeration values are
* generated during build by gen_kobject_list.py. It includes
* basic kernel objects (e.g. pipes and mutexes) and driver types.
*/
#include <zephyr/kobj-types-enum.h>
/** @endcond
*/
K_OBJ_LAST
};
/**
* @defgroup usermode_apis User Mode APIs
* @ingroup kernel_apis
* @{
*/
#ifdef CONFIG_USERSPACE
/**
* @brief Grant a static thread access to a list of kernel objects
*
* For threads declared with K_THREAD_DEFINE(), grant the thread access to
* a set of kernel objects. These objects do not need to be in an initialized
* state. The permissions will be granted when the threads are initialized
* in the early boot sequence.
*
* All arguments beyond the first must be pointers to kernel objects.
*
* @param name_ Name of the thread, as passed to K_THREAD_DEFINE()
*/
#define K_THREAD_ACCESS_GRANT(name_, ...) \
static void * const _CONCAT(_object_list_, name_)[] = \
{ __VA_ARGS__, NULL }; \
static const STRUCT_SECTION_ITERABLE(k_object_assignment, \
_CONCAT(_object_access_, name_)) = \
{ (&_k_thread_obj_ ## name_), \
(_CONCAT(_object_list_, name_)) }
/** Object initialized */
#define K_OBJ_FLAG_INITIALIZED BIT(0)
/** Object is Public */
#define K_OBJ_FLAG_PUBLIC BIT(1)
/** Object allocated */
#define K_OBJ_FLAG_ALLOC BIT(2)
/** Driver Object */
#define K_OBJ_FLAG_DRIVER BIT(3)
/**
* Grant a thread access to a kernel object
*
* The thread will be granted access to the object if the caller is from
* supervisor mode, or the caller is from user mode AND has permissions
* on both the object and the thread whose access is being granted.
*
* @param object Address of kernel object
* @param thread Thread to grant access to the object
*/
__syscall void k_object_access_grant(const void *object,
struct k_thread *thread);
/**
* Revoke a thread's access to a kernel object
*
* The thread will lose access to the object if the caller is from
* supervisor mode, or the caller is from user mode AND has permissions
* on both the object and the thread whose access is being revoked.
*
* @param object Address of kernel object
* @param thread Thread to remove access to the object
*/
void k_object_access_revoke(const void *object, struct k_thread *thread);
/**
* @brief Release an object
*
* Allows user threads to drop their own permission on an object
* Their permissions are automatically cleared when a thread terminates.
*
* @param object The object to be released
*
*/
__syscall void k_object_release(const void *object);
/**
* Grant all present and future threads access to an object
*
* If the caller is from supervisor mode, or the caller is from user mode and
* have sufficient permissions on the object, then that object will have
* permissions granted to it for *all* current and future threads running in
* the system, effectively becoming a public kernel object.
*
* Use of this API should be avoided on systems that are running untrusted code
* as it is possible for such code to derive the addresses of kernel objects
* and perform unwanted operations on them.
*
* It is not possible to revoke permissions on public objects; once public,
* any thread may use it.
*
* @param object Address of kernel object
*/
void k_object_access_all_grant(const void *object);
/**
* Check if a kernel object is of certain type and is valid.
*
* This checks if the kernel object exists, of certain type,
* and has been initialized.
*
* @param obj Address of the kernel object
* @param otype Object type (use K_OBJ_ANY for ignoring type checking)
* @return True if kernel object (@a obj) exists, of certain type, and
* has been initialized. False otherwise.
*/
bool k_object_is_valid(const void *obj, enum k_objects otype);
#else
/* LCOV_EXCL_START */
#define K_THREAD_ACCESS_GRANT(thread, ...)
/**
* @internal
*/
static inline void z_impl_k_object_access_grant(const void *object,
struct k_thread *thread)
{
ARG_UNUSED(object);
ARG_UNUSED(thread);
}
/**
* @internal
*/
static inline void k_object_access_revoke(const void *object,
struct k_thread *thread)
{
ARG_UNUSED(object);
ARG_UNUSED(thread);
}
/**
* @internal
*/
static inline void z_impl_k_object_release(const void *object)
{
ARG_UNUSED(object);
}
static inline void k_object_access_all_grant(const void *object)
{
ARG_UNUSED(object);
}
static inline bool k_object_is_valid(const void *obj, enum k_objects otype)
{
ARG_UNUSED(obj);
ARG_UNUSED(otype);
return true;
}
/* LCOV_EXCL_STOP */
#endif /* !CONFIG_USERSPACE */
#if defined(CONFIG_DYNAMIC_OBJECTS) || defined(__DOXYGEN__)
/**
* Allocate a kernel object of a designated type
*
* This will instantiate at runtime a kernel object of the specified type,
* returning a pointer to it. The object will be returned in an uninitialized
* state, with the calling thread being granted permission on it. The memory
* for the object will be allocated out of the calling thread's resource pool.
*
* @note This function is available only if @kconfig{CONFIG_DYNAMIC_OBJECTS}
* is selected.
*
* @note Thread stack object has to use k_object_alloc_size() since stacks may
* have different sizes.
*
* @param otype Requested kernel object type
* @return A pointer to the allocated kernel object, or NULL if memory wasn't
* available
*/
__syscall void *k_object_alloc(enum k_objects otype);
/**
* Allocate a kernel object of a designated type and a given size
*
* This will instantiate at runtime a kernel object of the specified type,
* returning a pointer to it. The object will be returned in an uninitialized
* state, with the calling thread being granted permission on it. The memory
* for the object will be allocated out of the calling thread's resource pool.
*
* This function is specially helpful for thread stack objects because
* their sizes can vary. Other objects should probably look k_object_alloc().
*
* @note This function is available only if @kconfig{CONFIG_DYNAMIC_OBJECTS}
* is selected.
*
* @param otype Requested kernel object type
* @param size Requested kernel object size
* @return A pointer to the allocated kernel object, or NULL if memory wasn't
* available
*/
__syscall void *k_object_alloc_size(enum k_objects otype, size_t size);
/**
* Free a kernel object previously allocated with k_object_alloc()
*
* This will return memory for a kernel object back to resource pool it was
* allocated from. Care must be exercised that the object will not be used
* during or after when this call is made.
*
* @note This function is available only if @kconfig{CONFIG_DYNAMIC_OBJECTS}
* is selected.
*
* @param obj Pointer to the kernel object memory address.
*/
void k_object_free(void *obj);
#else
/* LCOV_EXCL_START */
static inline void *z_impl_k_object_alloc(enum k_objects otype)
{
ARG_UNUSED(otype);
return NULL;
}
static inline void *z_impl_k_object_alloc_size(enum k_objects otype,
size_t size)
{
ARG_UNUSED(otype);
ARG_UNUSED(size);
return NULL;
}
/**
* @brief Free an object
*
* @param obj
*/
static inline void k_object_free(void *obj)
{
ARG_UNUSED(obj);
}
/* LCOV_EXCL_STOP */
#endif /* CONFIG_DYNAMIC_OBJECTS */
/** @} */
#include <zephyr/syscalls/kobject.h>
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/include/zephyr/sys/kobject.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,851 |
```objective-c
*/
#ifndef ZEPHYR_INCLUDE_SYS_MULTI_HEAP_H_
#define ZEPHYR_INCLUDE_SYS_MULTI_HEAP_H_
#include <zephyr/types.h>
#define MAX_MULTI_HEAPS 8
/**
* @defgroup multi_heap_wrapper Multi-Heap Wrapper
* @ingroup heaps
* @{
*/
/**
* @brief Multi-heap allocator
*
* A sys_multi_heap represents a single allocator made from multiple,
* separately managed pools of memory that must be accessed via a
* unified API. They can be discontiguous, and in many cases will be
* expected to have different capabilities (for example: latency,
* cacheability, cpu affinity, etc...)
*
* Allocation from the multiheap provides an opaque "configuration"
* value to specify requirements and heuristics to assist the choice
* in backend, which is then provided to a user-specified "choice"
* function whose job it is to select a heap based on information in
* the config specifier and runtime state (heap full state, etc...)
*/
struct sys_multi_heap;
/**
* @brief Multi-heap choice function
*
* This is a user-provided functions whose responsibility is selecting
* a specific sys_heap backend based on the opaque cfg value, which is
* specified by the user as an argument to sys_multi_heap_alloc(), and
* performing the allocation on behalf of the caller. The callback is
* free to choose any registered heap backend to perform the
* allocation, and may choose to pad the user-provided values as
* needed, and to use an aligned allocation where required by the
* specified configuration.
*
* NULL may be returned, which will cause the
* allocation to fail and a NULL reported to the calling code.
*
* @param mheap Multi-heap structure.
* @param cfg An opaque user-provided value. It may be interpreted in
* any way by the application
* @param align Alignment of requested memory (or zero for no alignment)
* @param size The user-specified allocation size in bytes
* @return A pointer to the allocated memory
*/
typedef void *(*sys_multi_heap_fn_t)(struct sys_multi_heap *mheap, void *cfg,
size_t align, size_t size);
struct sys_multi_heap_rec {
struct sys_heap *heap;
void *user_data;
};
struct sys_multi_heap {
unsigned int nheaps;
sys_multi_heap_fn_t choice;
struct sys_multi_heap_rec heaps[MAX_MULTI_HEAPS];
};
/**
* @brief Initialize multi-heap
*
* Initialize a sys_multi_heap struct with the specified choice
* function. Note that individual heaps must be added later with
* sys_multi_heap_add_heap so that the heap bounds can be tracked by
* the multi heap code.
*
* @note In general a multiheap is likely to be instantiated
* semi-statically from system configuration (for example, via
* linker-provided bounds on available memory in different regions, or
* from devicetree definitions of hardware-provided addressable
* memory, etc...). The general expectation is that a soc- or
* board-level platform device will be initialized at system boot from
* these upstream configuration sources and not that an application
* will assemble a multi-heap on its own.
*
* @param heap A sys_multi_heap to initialize
* @param choice_fn A sys_multi_heap_fn_t callback used to select
* heaps at allocation time
*/
void sys_multi_heap_init(struct sys_multi_heap *heap,
sys_multi_heap_fn_t choice_fn);
/**
* @brief Add sys_heap to multi heap
*
* This adds a known sys_heap backend to an existing multi heap,
* allowing the multi heap internals to track the bounds of the heap
* and determine which heap (if any) from which a freed block was
* allocated.
*
* @param mheap A sys_multi_heap to which to add a heap
* @param heap The heap to add
* @param user_data pointer to any data for the heap
*/
void sys_multi_heap_add_heap(struct sys_multi_heap *mheap, struct sys_heap *heap, void *user_data);
/**
* @brief Allocate memory from multi heap
*
* Just as for sys_heap_alloc(), allocates a block of memory of the
* specified size in bytes. Takes an opaque configuration pointer
* passed to the multi heap choice function, which is used by
* integration code to choose a heap backend.
*
* @param mheap Multi heap pointer
* @param cfg Opaque configuration parameter, as for sys_multi_heap_fn_t
* @param bytes Requested size of the allocation, in bytes
* @return A valid pointer to heap memory, or NULL if no memory is available
*/
void *sys_multi_heap_alloc(struct sys_multi_heap *mheap, void *cfg, size_t bytes);
/**
* @brief Allocate aligned memory from multi heap
*
* Just as for sys_multi_heap_alloc(), allocates a block of memory of
* the specified size in bytes. Takes an additional parameter
* specifying a power of two alignment, in bytes.
*
* @param mheap Multi heap pointer
* @param cfg Opaque configuration parameter, as for sys_multi_heap_fn_t
* @param align Power of two alignment for the returned pointer, in bytes
* @param bytes Requested size of the allocation, in bytes
* @return A valid pointer to heap memory, or NULL if no memory is available
*/
void *sys_multi_heap_aligned_alloc(struct sys_multi_heap *mheap,
void *cfg, size_t align, size_t bytes);
/**
* @brief Get a specific heap for provided address
*
* Finds a single system heap (with user_data)
* controlling the provided pointer
*
* @param mheap Multi heap pointer
* @param addr address to be found, must be a pointer to a block allocated by sys_multi_heap_alloc
* @return 0 multi_heap_rec pointer to a structure to be filled with return data
* or NULL if the heap has not been found
*/
const struct sys_multi_heap_rec *sys_multi_heap_get_heap(const struct sys_multi_heap *mheap,
void *addr);
/**
* @brief Free memory allocated from multi heap
*
* Returns the specified block, which must be the return value of a
* previously successful sys_multi_heap_alloc() or
* sys_multi_heap_aligned_alloc() call, to the heap backend from which
* it was allocated.
*
* Accepts NULL as a block parameter, which is specified to have no
* effect.
*
* @param mheap Multi heap pointer
* @param block Block to free, must be a pointer to a block allocated by sys_multi_heap_alloc
*/
void sys_multi_heap_free(struct sys_multi_heap *mheap, void *block);
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_SYS_MULTI_HEAP_H_ */
``` | /content/code_sandbox/include/zephyr/sys/multi_heap.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,426 |
```objective-c
/** @file
* @brief Byte order helpers.
*/
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_BYTEORDER_H_
#define ZEPHYR_INCLUDE_SYS_BYTEORDER_H_
#include <zephyr/types.h>
#include <stddef.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/toolchain.h>
#define BSWAP_16(x) ((uint16_t) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)))
#define BSWAP_24(x) ((uint32_t) ((((x) >> 16) & 0xff) | \
(((x)) & 0xff00) | \
(((x) & 0xff) << 16)))
#define BSWAP_32(x) ((uint32_t) ((((x) >> 24) & 0xff) | \
(((x) >> 8) & 0xff00) | \
(((x) & 0xff00) << 8) | \
(((x) & 0xff) << 24)))
#define BSWAP_40(x) ((uint64_t) ((((x) >> 32) & 0xff) | \
(((x) >> 16) & 0xff00) | \
(((x)) & 0xff0000) | \
(((x) & 0xff00) << 16) | \
(((x) & 0xff) << 32)))
#define BSWAP_48(x) ((uint64_t) ((((x) >> 40) & 0xff) | \
(((x) >> 24) & 0xff00) | \
(((x) >> 8) & 0xff0000) | \
(((x) & 0xff0000) << 8) | \
(((x) & 0xff00) << 24) | \
(((x) & 0xff) << 40)))
#define BSWAP_64(x) ((uint64_t) ((((x) >> 56) & 0xff) | \
(((x) >> 40) & 0xff00) | \
(((x) >> 24) & 0xff0000) | \
(((x) >> 8) & 0xff000000) | \
(((x) & 0xff000000) << 8) | \
(((x) & 0xff0000) << 24) | \
(((x) & 0xff00) << 40) | \
(((x) & 0xff) << 56)))
/** @def sys_le16_to_cpu
* @brief Convert 16-bit integer from little-endian to host endianness.
*
* @param val 16-bit integer in little-endian format.
*
* @return 16-bit integer in host endianness.
*/
/** @def sys_cpu_to_le16
* @brief Convert 16-bit integer from host endianness to little-endian.
*
* @param val 16-bit integer in host endianness.
*
* @return 16-bit integer in little-endian format.
*/
/** @def sys_le24_to_cpu
* @brief Convert 24-bit integer from little-endian to host endianness.
*
* @param val 24-bit integer in little-endian format.
*
* @return 24-bit integer in host endianness.
*/
/** @def sys_cpu_to_le24
* @brief Convert 24-bit integer from host endianness to little-endian.
*
* @param val 24-bit integer in host endianness.
*
* @return 24-bit integer in little-endian format.
*/
/** @def sys_le32_to_cpu
* @brief Convert 32-bit integer from little-endian to host endianness.
*
* @param val 32-bit integer in little-endian format.
*
* @return 32-bit integer in host endianness.
*/
/** @def sys_cpu_to_le32
* @brief Convert 32-bit integer from host endianness to little-endian.
*
* @param val 32-bit integer in host endianness.
*
* @return 32-bit integer in little-endian format.
*/
/** @def sys_le48_to_cpu
* @brief Convert 48-bit integer from little-endian to host endianness.
*
* @param val 48-bit integer in little-endian format.
*
* @return 48-bit integer in host endianness.
*/
/** @def sys_cpu_to_le48
* @brief Convert 48-bit integer from host endianness to little-endian.
*
* @param val 48-bit integer in host endianness.
*
* @return 48-bit integer in little-endian format.
*/
/** @def sys_be16_to_cpu
* @brief Convert 16-bit integer from big-endian to host endianness.
*
* @param val 16-bit integer in big-endian format.
*
* @return 16-bit integer in host endianness.
*/
/** @def sys_cpu_to_be16
* @brief Convert 16-bit integer from host endianness to big-endian.
*
* @param val 16-bit integer in host endianness.
*
* @return 16-bit integer in big-endian format.
*/
/** @def sys_be24_to_cpu
* @brief Convert 24-bit integer from big-endian to host endianness.
*
* @param val 24-bit integer in big-endian format.
*
* @return 24-bit integer in host endianness.
*/
/** @def sys_cpu_to_be24
* @brief Convert 24-bit integer from host endianness to big-endian.
*
* @param val 24-bit integer in host endianness.
*
* @return 24-bit integer in big-endian format.
*/
/** @def sys_be32_to_cpu
* @brief Convert 32-bit integer from big-endian to host endianness.
*
* @param val 32-bit integer in big-endian format.
*
* @return 32-bit integer in host endianness.
*/
/** @def sys_cpu_to_be32
* @brief Convert 32-bit integer from host endianness to big-endian.
*
* @param val 32-bit integer in host endianness.
*
* @return 32-bit integer in big-endian format.
*/
/** @def sys_be48_to_cpu
* @brief Convert 48-bit integer from big-endian to host endianness.
*
* @param val 48-bit integer in big-endian format.
*
* @return 48-bit integer in host endianness.
*/
/** @def sys_cpu_to_be48
* @brief Convert 48-bit integer from host endianness to big-endian.
*
* @param val 48-bit integer in host endianness.
*
* @return 48-bit integer in big-endian format.
*/
/** @def sys_uint16_to_array
* @brief Convert 16-bit unsigned integer to byte array.
*
* @details Byte order aware macro to treat an unsigned integer
* as an array, rather than an integer literal. For example,
* `0x0123` would be converted to `{0x01, 0x23}` for big endian
* machines, and `{0x23, 0x01}` for little endian machines.
*
* @param val 16-bit unsigned integer.
*
* @return 16-bit unsigned integer as byte array.
*/
/** @def sys_uint32_to_array
* @brief Convert 32-bit unsigned integer to byte array.
*
* @details Byte order aware macro to treat an unsigned integer
* as an array, rather than an integer literal. For example,
* `0x01234567` would be converted to `{0x01, 0x23, 0x45, 0x67}`
* for big endian machines, and `{0x67, 0x45, 0x23, 0x01}` for
* little endian machines.
*
* @param val 32-bit unsigned integer.
*
* @return 32-bit unsigned integer as byte array.
*/
/** @def sys_uint64_to_array
* @brief Convert 64-bit unsigned integer to byte array.
*
* @details Byte order aware macro to treat an unsigned integer
* as an array, rather than an integer literal. For example,
* `0x0123456789abcdef` would be converted to
* `{0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef}`
* for big endian machines, and
* `{0xef, 0xcd, 0xab, 0x89, 0x67, 0x45, 0x23, 0x01}` for
* little endian machines.
*
* @param val 64-bit unsigned integer.
*
* @return 64-bit unsigned integer as byte array.
*/
#ifdef CONFIG_LITTLE_ENDIAN
#define sys_le16_to_cpu(val) (val)
#define sys_cpu_to_le16(val) (val)
#define sys_le24_to_cpu(val) (val)
#define sys_cpu_to_le24(val) (val)
#define sys_le32_to_cpu(val) (val)
#define sys_cpu_to_le32(val) (val)
#define sys_le40_to_cpu(val) (val)
#define sys_cpu_to_le40(val) (val)
#define sys_le48_to_cpu(val) (val)
#define sys_cpu_to_le48(val) (val)
#define sys_le64_to_cpu(val) (val)
#define sys_cpu_to_le64(val) (val)
#define sys_be16_to_cpu(val) BSWAP_16(val)
#define sys_cpu_to_be16(val) BSWAP_16(val)
#define sys_be24_to_cpu(val) BSWAP_24(val)
#define sys_cpu_to_be24(val) BSWAP_24(val)
#define sys_be32_to_cpu(val) BSWAP_32(val)
#define sys_cpu_to_be32(val) BSWAP_32(val)
#define sys_be40_to_cpu(val) BSWAP_40(val)
#define sys_cpu_to_be40(val) BSWAP_40(val)
#define sys_be48_to_cpu(val) BSWAP_48(val)
#define sys_cpu_to_be48(val) BSWAP_48(val)
#define sys_be64_to_cpu(val) BSWAP_64(val)
#define sys_cpu_to_be64(val) BSWAP_64(val)
#define sys_uint16_to_array(val) { \
((val) & 0xff), \
(((val) >> 8) & 0xff)}
#define sys_uint32_to_array(val) { \
((val) & 0xff), \
(((val) >> 8) & 0xff), \
(((val) >> 16) & 0xff), \
(((val) >> 24) & 0xff)}
#define sys_uint64_to_array(val) { \
((val) & 0xff), \
(((val) >> 8) & 0xff), \
(((val) >> 16) & 0xff), \
(((val) >> 24) & 0xff), \
(((val) >> 32) & 0xff), \
(((val) >> 40) & 0xff), \
(((val) >> 48) & 0xff), \
(((val) >> 56) & 0xff)}
#else
#define sys_le16_to_cpu(val) BSWAP_16(val)
#define sys_cpu_to_le16(val) BSWAP_16(val)
#define sys_le24_to_cpu(val) BSWAP_24(val)
#define sys_cpu_to_le24(val) BSWAP_24(val)
#define sys_le32_to_cpu(val) BSWAP_32(val)
#define sys_cpu_to_le32(val) BSWAP_32(val)
#define sys_le40_to_cpu(val) BSWAP_40(val)
#define sys_cpu_to_le40(val) BSWAP_40(val)
#define sys_le48_to_cpu(val) BSWAP_48(val)
#define sys_cpu_to_le48(val) BSWAP_48(val)
#define sys_le64_to_cpu(val) BSWAP_64(val)
#define sys_cpu_to_le64(val) BSWAP_64(val)
#define sys_be16_to_cpu(val) (val)
#define sys_cpu_to_be16(val) (val)
#define sys_be24_to_cpu(val) (val)
#define sys_cpu_to_be24(val) (val)
#define sys_be32_to_cpu(val) (val)
#define sys_cpu_to_be32(val) (val)
#define sys_be40_to_cpu(val) (val)
#define sys_cpu_to_be40(val) (val)
#define sys_be48_to_cpu(val) (val)
#define sys_cpu_to_be48(val) (val)
#define sys_be64_to_cpu(val) (val)
#define sys_cpu_to_be64(val) (val)
#define sys_uint16_to_array(val) { \
(((val) >> 8) & 0xff), \
((val) & 0xff)}
#define sys_uint32_to_array(val) { \
(((val) >> 24) & 0xff), \
(((val) >> 16) & 0xff), \
(((val) >> 8) & 0xff), \
((val) & 0xff)}
#define sys_uint64_to_array(val) { \
(((val) >> 56) & 0xff), \
(((val) >> 48) & 0xff), \
(((val) >> 40) & 0xff), \
(((val) >> 32) & 0xff), \
(((val) >> 24) & 0xff), \
(((val) >> 16) & 0xff), \
(((val) >> 8) & 0xff), \
((val) & 0xff)}
#endif
/**
* @brief Put a 16-bit integer as big-endian to arbitrary location.
*
* Put a 16-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 16-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be16(uint16_t val, uint8_t dst[2])
{
dst[0] = val >> 8;
dst[1] = val;
}
/**
* @brief Put a 24-bit integer as big-endian to arbitrary location.
*
* Put a 24-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 24-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be24(uint32_t val, uint8_t dst[3])
{
dst[0] = val >> 16;
sys_put_be16(val, &dst[1]);
}
/**
* @brief Put a 32-bit integer as big-endian to arbitrary location.
*
* Put a 32-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 32-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be32(uint32_t val, uint8_t dst[4])
{
sys_put_be16(val >> 16, dst);
sys_put_be16(val, &dst[2]);
}
/**
* @brief Put a 40-bit integer as big-endian to arbitrary location.
*
* Put a 40-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 40-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be40(uint64_t val, uint8_t dst[5])
{
dst[0] = val >> 32;
sys_put_be32(val, &dst[1]);
}
/**
* @brief Put a 48-bit integer as big-endian to arbitrary location.
*
* Put a 48-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 48-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be48(uint64_t val, uint8_t dst[6])
{
sys_put_be16(val >> 32, dst);
sys_put_be32(val, &dst[2]);
}
/**
* @brief Put a 64-bit integer as big-endian to arbitrary location.
*
* Put a 64-bit integer, originally in host endianness, to a
* potentially unaligned memory location in big-endian format.
*
* @param val 64-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_be64(uint64_t val, uint8_t dst[8])
{
sys_put_be32(val >> 32, dst);
sys_put_be32(val, &dst[4]);
}
/**
* @brief Put a 16-bit integer as little-endian to arbitrary location.
*
* Put a 16-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 16-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le16(uint16_t val, uint8_t dst[2])
{
dst[0] = val;
dst[1] = val >> 8;
}
/**
* @brief Put a 24-bit integer as little-endian to arbitrary location.
*
* Put a 24-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 24-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le24(uint32_t val, uint8_t dst[3])
{
sys_put_le16(val, dst);
dst[2] = val >> 16;
}
/**
* @brief Put a 32-bit integer as little-endian to arbitrary location.
*
* Put a 32-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 32-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le32(uint32_t val, uint8_t dst[4])
{
sys_put_le16(val, dst);
sys_put_le16(val >> 16, &dst[2]);
}
/**
* @brief Put a 40-bit integer as little-endian to arbitrary location.
*
* Put a 40-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 40-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le40(uint64_t val, uint8_t dst[5])
{
sys_put_le32(val, dst);
dst[4] = val >> 32;
}
/**
* @brief Put a 48-bit integer as little-endian to arbitrary location.
*
* Put a 48-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 48-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le48(uint64_t val, uint8_t dst[6])
{
sys_put_le32(val, dst);
sys_put_le16(val >> 32, &dst[4]);
}
/**
* @brief Put a 64-bit integer as little-endian to arbitrary location.
*
* Put a 64-bit integer, originally in host endianness, to a
* potentially unaligned memory location in little-endian format.
*
* @param val 64-bit integer in host endianness.
* @param dst Destination memory address to store the result.
*/
static inline void sys_put_le64(uint64_t val, uint8_t dst[8])
{
sys_put_le32(val, dst);
sys_put_le32(val >> 32, &dst[4]);
}
/**
* @brief Get a 16-bit integer stored in big-endian format.
*
* Get a 16-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 16-bit integer to get.
*
* @return 16-bit integer in host endianness.
*/
static inline uint16_t sys_get_be16(const uint8_t src[2])
{
return ((uint16_t)src[0] << 8) | src[1];
}
/**
* @brief Get a 24-bit integer stored in big-endian format.
*
* Get a 24-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 24-bit integer to get.
*
* @return 24-bit integer in host endianness.
*/
static inline uint32_t sys_get_be24(const uint8_t src[3])
{
return ((uint32_t)src[0] << 16) | sys_get_be16(&src[1]);
}
/**
* @brief Get a 32-bit integer stored in big-endian format.
*
* Get a 32-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 32-bit integer to get.
*
* @return 32-bit integer in host endianness.
*/
static inline uint32_t sys_get_be32(const uint8_t src[4])
{
return ((uint32_t)sys_get_be16(&src[0]) << 16) | sys_get_be16(&src[2]);
}
/**
* @brief Get a 40-bit integer stored in big-endian format.
*
* Get a 40-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 40-bit integer to get.
*
* @return 40-bit integer in host endianness.
*/
static inline uint64_t sys_get_be40(const uint8_t src[5])
{
return ((uint64_t)sys_get_be32(&src[0]) << 8) | src[4];
}
/**
* @brief Get a 48-bit integer stored in big-endian format.
*
* Get a 48-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 48-bit integer to get.
*
* @return 48-bit integer in host endianness.
*/
static inline uint64_t sys_get_be48(const uint8_t src[6])
{
return ((uint64_t)sys_get_be32(&src[0]) << 16) | sys_get_be16(&src[4]);
}
/**
* @brief Get a 64-bit integer stored in big-endian format.
*
* Get a 64-bit integer, stored in big-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the big-endian 64-bit integer to get.
*
* @return 64-bit integer in host endianness.
*/
static inline uint64_t sys_get_be64(const uint8_t src[8])
{
return ((uint64_t)sys_get_be32(&src[0]) << 32) | sys_get_be32(&src[4]);
}
/**
* @brief Get a 16-bit integer stored in little-endian format.
*
* Get a 16-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 16-bit integer to get.
*
* @return 16-bit integer in host endianness.
*/
static inline uint16_t sys_get_le16(const uint8_t src[2])
{
return ((uint16_t)src[1] << 8) | src[0];
}
/**
* @brief Get a 24-bit integer stored in little-endian format.
*
* Get a 24-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 24-bit integer to get.
*
* @return 24-bit integer in host endianness.
*/
static inline uint32_t sys_get_le24(const uint8_t src[3])
{
return ((uint32_t)src[2] << 16) | sys_get_le16(&src[0]);
}
/**
* @brief Get a 32-bit integer stored in little-endian format.
*
* Get a 32-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 32-bit integer to get.
*
* @return 32-bit integer in host endianness.
*/
static inline uint32_t sys_get_le32(const uint8_t src[4])
{
return ((uint32_t)sys_get_le16(&src[2]) << 16) | sys_get_le16(&src[0]);
}
/**
* @brief Get a 40-bit integer stored in little-endian format.
*
* Get a 40-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 40-bit integer to get.
*
* @return 40-bit integer in host endianness.
*/
static inline uint64_t sys_get_le40(const uint8_t src[5])
{
return ((uint64_t)sys_get_le32(&src[1]) << 8) | src[0];
}
/**
* @brief Get a 48-bit integer stored in little-endian format.
*
* Get a 48-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 48-bit integer to get.
*
* @return 48-bit integer in host endianness.
*/
static inline uint64_t sys_get_le48(const uint8_t src[6])
{
return ((uint64_t)sys_get_le32(&src[2]) << 16) | sys_get_le16(&src[0]);
}
/**
* @brief Get a 64-bit integer stored in little-endian format.
*
* Get a 64-bit integer, stored in little-endian format in a potentially
* unaligned memory location, and convert it to the host endianness.
*
* @param src Location of the little-endian 64-bit integer to get.
*
* @return 64-bit integer in host endianness.
*/
static inline uint64_t sys_get_le64(const uint8_t src[8])
{
return ((uint64_t)sys_get_le32(&src[4]) << 32) | sys_get_le32(&src[0]);
}
/**
* @brief Swap one buffer content into another
*
* Copy the content of src buffer into dst buffer in reversed order,
* i.e.: src[n] will be put in dst[end-n]
* Where n is an index and 'end' the last index in both arrays.
* The 2 memory pointers must be pointing to different areas, and have
* a minimum size of given length.
*
* @param dst A valid pointer on a memory area where to copy the data in
* @param src A valid pointer on a memory area where to copy the data from
* @param length Size of both dst and src memory areas
*/
static inline void sys_memcpy_swap(void *dst, const void *src, size_t length)
{
uint8_t *pdst = (uint8_t *)dst;
const uint8_t *psrc = (const uint8_t *)src;
__ASSERT(((psrc < pdst && (psrc + length) <= pdst) ||
(psrc > pdst && (pdst + length) <= psrc)),
"Source and destination buffers must not overlap");
psrc += length - 1;
for (; length > 0; length--) {
*pdst++ = *psrc--;
}
}
/**
* @brief Swap buffer content
*
* In-place memory swap, where final content will be reversed.
* I.e.: buf[n] will be put in buf[end-n]
* Where n is an index and 'end' the last index of buf.
*
* @param buf A valid pointer on a memory area to swap
* @param length Size of buf memory area
*/
static inline void sys_mem_swap(void *buf, size_t length)
{
size_t i;
for (i = 0; i < (length/2); i++) {
uint8_t tmp = ((uint8_t *)buf)[i];
((uint8_t *)buf)[i] = ((uint8_t *)buf)[length - 1 - i];
((uint8_t *)buf)[length - 1 - i] = tmp;
}
}
#endif /* ZEPHYR_INCLUDE_SYS_BYTEORDER_H_ */
``` | /content/code_sandbox/include/zephyr/sys/byteorder.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,653 |
```objective-c
/*
*
*/
/**
* @file
* @defgroup flagged-single-linked-list_apis Flagged Single-linked list
* @ingroup datastructure_apis
*
* @brief Flagged single-linked list implementation.
*
* Similar to @ref single-linked-list_apis with the added ability to define
* user "flags" bits for each node. They can be accessed and modified
* using the sys_sfnode_flags_get() and sys_sfnode_flags_set() APIs.
*
* Flagged single-linked list implementation using inline macros/functions.
* This API is not thread safe, and thus if a list is used across threads,
* calls to functions must be protected with synchronization primitives.
*
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_SFLIST_H_
#define ZEPHYR_INCLUDE_SYS_SFLIST_H_
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/sys/__assert.h>
#include "list_gen.h"
#ifdef __cplusplus
extern "C" {
#endif
/** @cond INTERNAL_HIDDEN */
struct _sfnode {
uintptr_t next_and_flags;
};
/** @endcond */
/** Flagged single-linked list node structure. */
typedef struct _sfnode sys_sfnode_t;
/** @cond INTERNAL_HIDDEN */
struct _sflist {
sys_sfnode_t *head;
sys_sfnode_t *tail;
};
/** @endcond */
/** Flagged single-linked list structure. */
typedef struct _sflist sys_sflist_t;
/**
* @brief Provide the primitive to iterate on a list
* Note: the loop is unsafe and thus __sn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SFLIST_FOR_EACH_NODE(l, n) {
* <user code>
* }
*
* This and other SYS_SFLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_sflist_t to iterate on
* @param __sn A sys_sfnode_t pointer to peek each node of the list
*/
#define SYS_SFLIST_FOR_EACH_NODE(__sl, __sn) \
Z_GENLIST_FOR_EACH_NODE(sflist, __sl, __sn)
/**
* @brief Provide the primitive to iterate on a list, from a node in the list
* Note: the loop is unsafe and thus __sn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SFLIST_ITERATE_FROM_NODE(l, n) {
* <user code>
* }
*
* Like SYS_SFLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
* where to start searching for the next entry from. If NULL, it starts from
* the head.
*
* This and other SYS_SFLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_sflist_t to iterate on
* @param __sn A sys_sfnode_t pointer to peek each node of the list
* it contains the starting node, or NULL to start from the head
*/
#define SYS_SFLIST_ITERATE_FROM_NODE(__sl, __sn) \
Z_GENLIST_ITERATE_FROM_NODE(sflist, __sl, __sn)
/**
* @brief Provide the primitive to safely iterate on a list
* Note: __sn can be removed, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SFLIST_FOR_EACH_NODE_SAFE(l, n, s) {
* <user code>
* }
*
* This and other SYS_SFLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_sflist_t to iterate on
* @param __sn A sys_sfnode_t pointer to peek each node of the list
* @param __sns A sys_sfnode_t pointer for the loop to run safely
*/
#define SYS_SFLIST_FOR_EACH_NODE_SAFE(__sl, __sn, __sns) \
Z_GENLIST_FOR_EACH_NODE_SAFE(sflist, __sl, __sn, __sns)
/**
* @brief Provide the primitive to resolve the container of a list node
* Note: it is safe to use with NULL pointer nodes
*
* @param __ln A pointer on a sys_sfnode_t to get its container
* @param __cn Container struct type pointer
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_CONTAINER(__ln, __cn, __n) \
Z_GENLIST_CONTAINER(__ln, __cn, __n)
/**
* @brief Provide the primitive to peek container of the list head
*
* @param __sl A pointer on a sys_sflist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_PEEK_HEAD_CONTAINER(sflist, __sl, __cn, __n)
/**
* @brief Provide the primitive to peek container of the list tail
*
* @param __sl A pointer on a sys_sflist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_PEEK_TAIL_CONTAINER(sflist, __sl, __cn, __n)
/**
* @brief Provide the primitive to peek the next container
*
* @param __cn Container struct type pointer
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_PEEK_NEXT_CONTAINER(__cn, __n) \
Z_GENLIST_PEEK_NEXT_CONTAINER(sflist, __cn, __n)
/**
* @brief Provide the primitive to iterate on a list under a container
* Note: the loop is unsafe and thus __cn should not be detached
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SFLIST_FOR_EACH_CONTAINER(l, c, n) {
* <user code>
* }
*
* @param __sl A pointer on a sys_sflist_t to iterate on
* @param __cn A pointer to peek each entry of the list
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_FOR_EACH_CONTAINER(sflist, __sl, __cn, __n)
/**
* @brief Provide the primitive to safely iterate on a list under a container
* Note: __cn can be detached, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SFLIST_FOR_EACH_NODE_SAFE(l, c, cn, n) {
* <user code>
* }
*
* @param __sl A pointer on a sys_sflist_t to iterate on
* @param __cn A pointer to peek each entry of the list
* @param __cns A pointer for the loop to run safely
* @param __n The field name of sys_sfnode_t within the container struct
*/
#define SYS_SFLIST_FOR_EACH_CONTAINER_SAFE(__sl, __cn, __cns, __n) \
Z_GENLIST_FOR_EACH_CONTAINER_SAFE(sflist, __sl, __cn, __cns, __n)
/*
* Required function definitions for the list_gen.h interface
*
* These are the only functions that do not treat the list/node pointers
* as completely opaque types.
*/
/**
* @brief Initialize a list
*
* @param list A pointer on the list to initialize
*/
static inline void sys_sflist_init(sys_sflist_t *list)
{
list->head = NULL;
list->tail = NULL;
}
/**
* @brief Statically initialize a flagged single-linked list
* @param ptr_to_list A pointer on the list to initialize
*/
#define SYS_SFLIST_STATIC_INIT(ptr_to_list) {NULL, NULL}
/* Flag bits are stored in unused LSB of the sys_sfnode_t pointer */
#define SYS_SFLIST_FLAGS_MASK ((uintptr_t)(__alignof__(sys_sfnode_t) - 1))
/* At least 2 available flag bits are expected */
BUILD_ASSERT(SYS_SFLIST_FLAGS_MASK >= 0x3);
static inline sys_sfnode_t *z_sfnode_next_peek(sys_sfnode_t *node)
{
return (sys_sfnode_t *)(node->next_and_flags & ~SYS_SFLIST_FLAGS_MASK);
}
static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node);
static inline void z_sfnode_next_set(sys_sfnode_t *parent,
sys_sfnode_t *child)
{
uint8_t cur_flags = sys_sfnode_flags_get(parent);
parent->next_and_flags = cur_flags | (uintptr_t)child;
}
static inline void z_sflist_head_set(sys_sflist_t *list, sys_sfnode_t *node)
{
list->head = node;
}
static inline void z_sflist_tail_set(sys_sflist_t *list, sys_sfnode_t *node)
{
list->tail = node;
}
/**
* @brief Peek the first node from the list
*
* @param list A point on the list to peek the first node from
*
* @return A pointer on the first node of the list (or NULL if none)
*/
static inline sys_sfnode_t *sys_sflist_peek_head(sys_sflist_t *list)
{
return list->head;
}
/**
* @brief Peek the last node from the list
*
* @param list A point on the list to peek the last node from
*
* @return A pointer on the last node of the list (or NULL if none)
*/
static inline sys_sfnode_t *sys_sflist_peek_tail(sys_sflist_t *list)
{
return list->tail;
}
/*
* APIs specific to sflist type
*/
/**
* @brief Fetch flags value for a particular sfnode
*
* @param node A pointer to the node to fetch flags from
* @return The value of flags, which will be between 0 and 3 on 32-bit
* architectures, or between 0 and 7 on 64-bit architectures
*/
static inline uint8_t sys_sfnode_flags_get(sys_sfnode_t *node)
{
return node->next_and_flags & SYS_SFLIST_FLAGS_MASK;
}
/**
* @brief Initialize an sflist node
*
* Set an initial flags value for this slist node, which can be a value between
* 0 and 3 on 32-bit architectures, or between 0 and 7 on 64-bit architectures.
* These flags will persist even if the node is moved around within a list,
* removed, or transplanted to a different slist.
*
* This is ever so slightly faster than sys_sfnode_flags_set() and should
* only be used on a node that hasn't been added to any list.
*
* @param node A pointer to the node to set the flags on
* @param flags The flags value to set
*/
static inline void sys_sfnode_init(sys_sfnode_t *node, uint8_t flags)
{
__ASSERT((flags & ~SYS_SFLIST_FLAGS_MASK) == 0UL, "flags too large");
node->next_and_flags = flags;
}
/**
* @brief Set flags value for an sflist node
*
* Set a flags value for this slist node, which can be a value between
* 0 and 3 on 32-bit architectures, or between 0 and 7 on 64-bit architectures.
* These flags will persist even if the node is moved around within a list,
* removed, or transplanted to a different slist.
*
* @param node A pointer to the node to set the flags on
* @param flags The flags value to set
*/
static inline void sys_sfnode_flags_set(sys_sfnode_t *node, uint8_t flags)
{
__ASSERT((flags & ~SYS_SFLIST_FLAGS_MASK) == 0UL, "flags too large");
node->next_and_flags = (uintptr_t)(z_sfnode_next_peek(node)) | flags;
}
/*
* Derived, generated APIs
*/
/**
* @brief Test if the given list is empty
*
* @param list A pointer on the list to test
*
* @return a boolean, true if it's empty, false otherwise
*/
static inline bool sys_sflist_is_empty(sys_sflist_t *list);
Z_GENLIST_IS_EMPTY(sflist)
/**
* @brief Peek the next node from current node, node is not NULL
*
* Faster then sys_sflist_peek_next() if node is known not to be NULL.
*
* @param node A pointer on the node where to peek the next node
*
* @return a pointer on the next node (or NULL if none)
*/
static inline sys_sfnode_t *sys_sflist_peek_next_no_check(sys_sfnode_t *node);
Z_GENLIST_PEEK_NEXT_NO_CHECK(sflist, sfnode)
/**
* @brief Peek the next node from current node
*
* @param node A pointer on the node where to peek the next node
*
* @return a pointer on the next node (or NULL if none)
*/
static inline sys_sfnode_t *sys_sflist_peek_next(sys_sfnode_t *node);
Z_GENLIST_PEEK_NEXT(sflist, sfnode)
/**
* @brief Prepend a node to the given list
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to prepend
*/
static inline void sys_sflist_prepend(sys_sflist_t *list,
sys_sfnode_t *node);
Z_GENLIST_PREPEND(sflist, sfnode)
/**
* @brief Append a node to the given list
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to append
*/
static inline void sys_sflist_append(sys_sflist_t *list,
sys_sfnode_t *node);
Z_GENLIST_APPEND(sflist, sfnode)
/**
* @brief Append a list to the given list
*
* Append a singly-linked, NULL-terminated list consisting of nodes containing
* the pointer to the next node as the first element of a node, to @a list.
* This and other sys_sflist_*() functions are not thread safe.
*
* FIXME: Why are the element parameters void *?
*
* @param list A pointer on the list to affect
* @param head A pointer to the first element of the list to append
* @param tail A pointer to the last element of the list to append
*/
static inline void sys_sflist_append_list(sys_sflist_t *list,
void *head, void *tail);
Z_GENLIST_APPEND_LIST(sflist, sfnode)
/**
* @brief merge two sflists, appending the second one to the first
*
* When the operation is completed, the appending list is empty.
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param list_to_append A pointer to the list to append.
*/
static inline void sys_sflist_merge_sflist(sys_sflist_t *list,
sys_sflist_t *list_to_append);
Z_GENLIST_MERGE_LIST(sflist, sfnode)
/**
* @brief Insert a node to the given list
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param prev A pointer on the previous node
* @param node A pointer on the node to insert
*/
static inline void sys_sflist_insert(sys_sflist_t *list,
sys_sfnode_t *prev,
sys_sfnode_t *node);
Z_GENLIST_INSERT(sflist, sfnode)
/**
* @brief Fetch and remove the first node of the given list
*
* List must be known to be non-empty.
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
*
* @return A pointer to the first node of the list
*/
static inline sys_sfnode_t *sys_sflist_get_not_empty(sys_sflist_t *list);
Z_GENLIST_GET_NOT_EMPTY(sflist, sfnode)
/**
* @brief Fetch and remove the first node of the given list
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
*
* @return A pointer to the first node of the list (or NULL if empty)
*/
static inline sys_sfnode_t *sys_sflist_get(sys_sflist_t *list);
Z_GENLIST_GET(sflist, sfnode)
/**
* @brief Remove a node
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param prev_node A pointer on the previous node
* (can be NULL, which means the node is the list's head)
* @param node A pointer on the node to remove
*/
static inline void sys_sflist_remove(sys_sflist_t *list,
sys_sfnode_t *prev_node,
sys_sfnode_t *node);
Z_GENLIST_REMOVE(sflist, sfnode)
/**
* @brief Find and remove a node from a list
*
* This and other sys_sflist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to remove from the list
*
* @return true if node was removed
*/
static inline bool sys_sflist_find_and_remove(sys_sflist_t *list,
sys_sfnode_t *node);
Z_GENLIST_FIND_AND_REMOVE(sflist, sfnode)
/**
* @brief Compute the size of the given list in O(n) time
*
* @param list A pointer on the list
*
* @return an integer equal to the size of the list, or 0 if empty
*/
static inline size_t sys_sflist_len(sys_sflist_t *list);
Z_GENLIST_LEN(sflist, sfnode)
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_SFLIST_H_ */
``` | /content/code_sandbox/include/zephyr/sys/sflist.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,051 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_P4WQ_H_
#define ZEPHYR_INCLUDE_SYS_P4WQ_H_
#include <zephyr/kernel.h>
#include <zephyr/sys/iterable_sections.h>
/* Zephyr Pooled Parallel Preemptible Priority-based Work Queues */
struct k_p4wq_work;
/**
* P4 Queue handler callback
*/
typedef void (*k_p4wq_handler_t)(struct k_p4wq_work *work);
/**
* @brief P4 Queue Work Item
*
* User-populated struct representing a single work item. The
* priority and deadline fields are interpreted as thread scheduling
* priorities, exactly as per k_thread_priority_set() and
* k_thread_deadline_set().
*/
struct k_p4wq_work {
/* Filled out by submitting code */
int32_t priority;
int32_t deadline;
k_p4wq_handler_t handler;
bool sync;
struct k_sem done_sem;
/* reserved for implementation */
union {
struct rbnode rbnode;
sys_dlist_t dlnode;
};
struct k_thread *thread;
struct k_p4wq *queue;
};
#define K_P4WQ_QUEUE_PER_THREAD BIT(0)
#define K_P4WQ_DELAYED_START BIT(1)
#define K_P4WQ_USER_CPU_MASK BIT(2)
/**
* @brief P4 Queue
*
* Kernel pooled parallel preemptible priority-based work queue
*/
struct k_p4wq {
struct k_spinlock lock;
/* Pending threads waiting for work items
*
* FIXME: a waitq isn't really the right data structure here.
* Wait queues are priority-sorted, but we don't want that
* sorting overhead since we're effectively doing it ourselves
* by directly mutating the priority when a thread is
* unpended. We just want "blocked threads on a list", but
* there's no clean scheduler API for that.
*/
_wait_q_t waitq;
/* Work items waiting for processing */
struct rbtree queue;
/* Work items in progress */
sys_dlist_t active;
/* K_P4WQ_* flags above */
uint32_t flags;
};
struct k_p4wq_initparam {
uint32_t num;
uintptr_t stack_size;
struct k_p4wq *queue;
struct k_thread *threads;
struct z_thread_stack_element *stacks;
uint32_t flags;
};
/**
* @brief Statically initialize a P4 Work Queue
*
* Statically defines a struct k_p4wq object with the specified number
* of threads which will be initialized at boot and ready for use on
* entry to main().
*
* @param name Symbol name of the struct k_p4wq that will be defined
* @param n_threads Number of threads in the work queue pool
* @param stack_sz Requested stack size of each thread, in bytes
*/
#define K_P4WQ_DEFINE(name, n_threads, stack_sz) \
static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
n_threads, stack_sz); \
static struct k_thread _p4threads_##name[n_threads]; \
static struct k_p4wq name; \
static const STRUCT_SECTION_ITERABLE(k_p4wq_initparam, \
_init_##name) = { \
.num = n_threads, \
.stack_size = stack_sz, \
.threads = _p4threads_##name, \
.stacks = &(_p4stacks_##name[0][0]), \
.queue = &name, \
.flags = 0, \
}
/**
* @brief Statically initialize an array of P4 Work Queues
*
* Statically defines an array of struct k_p4wq objects with the specified
* number of threads which will be initialized at boot and ready for use on
* entry to main().
*
* @param name Symbol name of the struct k_p4wq array that will be defined
* @param n_threads Number of threads and work queues
* @param stack_sz Requested stack size of each thread, in bytes
* @param flg Flags
*/
#define K_P4WQ_ARRAY_DEFINE(name, n_threads, stack_sz, flg) \
static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
n_threads, stack_sz); \
static struct k_thread _p4threads_##name[n_threads]; \
static struct k_p4wq name[n_threads]; \
static const STRUCT_SECTION_ITERABLE(k_p4wq_initparam, \
_init_##name) = { \
.num = n_threads, \
.stack_size = stack_sz, \
.threads = _p4threads_##name, \
.stacks = &(_p4stacks_##name[0][0]), \
.queue = name, \
.flags = K_P4WQ_QUEUE_PER_THREAD | flg, \
}
/**
* @brief Initialize P4 Queue
*
* Initializes a P4 Queue object. These objects must be initialized
* via this function (or statically using K_P4WQ_DEFINE) before any
* other API calls are made on it.
*
* @param queue P4 Queue to initialize
*/
void k_p4wq_init(struct k_p4wq *queue);
/**
* @brief Dynamically add a thread object to a P4 Queue pool
*
* Adds a thread to the pool managed by a P4 queue. The thread object
* must not be in use. If k_thread_create() has previously been
* called on it, it must be aborted before being given to the queue.
*
* @param queue P4 Queue to which to add the thread
* @param thread Uninitialized/aborted thread object to add
* @param stack Thread stack memory
* @param stack_size Thread stack size
*/
void k_p4wq_add_thread(struct k_p4wq *queue, struct k_thread *thread,
k_thread_stack_t *stack,
size_t stack_size);
/**
* @brief Submit work item to a P4 queue
*
* Submits the specified work item to the queue. The caller must have
* already initialized the relevant fields of the struct. The queue
* will execute the handler when CPU time is available and when no
* higher-priority work items are available. The handler may be
* invoked on any CPU.
*
* The caller must not mutate the struct while it is stored in the
* queue. The memory should remain unchanged until k_p4wq_cancel() is
* called or until the entry to the handler function.
*
* @note This call is a scheduling point, so if the submitted item (or
* any other ready thread) has a higher priority than the current
* thread and the current thread has a preemptible priority then the
* caller will yield.
*
* @param queue P4 Queue to which to submit
* @param item P4 work item to be submitted
*/
void k_p4wq_submit(struct k_p4wq *queue, struct k_p4wq_work *item);
/**
* @brief Cancel submitted P4 work item
*
* Cancels a previously-submitted work item and removes it from the
* queue. Returns true if the item was found in the queue and
* removed. If the function returns false, either the item was never
* submitted, has already been executed, or is still running.
*
* @return true if the item was successfully removed, otherwise false
*/
bool k_p4wq_cancel(struct k_p4wq *queue, struct k_p4wq_work *item);
/**
* @brief Regain ownership of the work item, wait for completion if it's synchronous
*/
int k_p4wq_wait(struct k_p4wq_work *work, k_timeout_t timeout);
void k_p4wq_enable_static_thread(struct k_p4wq *queue, struct k_thread *thread,
uint32_t cpu_mask);
#endif /* ZEPHYR_INCLUDE_SYS_P4WQ_H_ */
``` | /content/code_sandbox/include/zephyr/sys/p4wq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,776 |
```objective-c
/*
*
*/
/**
* @file
* @defgroup doubly-linked-list_apis Doubly-linked list
* @ingroup datastructure_apis
*
* @brief Doubly-linked list implementation
*
* Doubly-linked list implementation using inline macros/functions.
* This API is not thread safe, and thus if a list is used across threads,
* calls to functions must be protected with synchronization primitives.
*
* The lists are expected to be initialized such that both the head and tail
* pointers point to the list itself. Initializing the lists in such a fashion
* simplifies the adding and removing of nodes to/from the list.
*
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_DLIST_H_
#define ZEPHYR_INCLUDE_SYS_DLIST_H_
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
struct _dnode {
union {
struct _dnode *head; /* ptr to head of list (sys_dlist_t) */
struct _dnode *next; /* ptr to next node (sys_dnode_t) */
};
union {
struct _dnode *tail; /* ptr to tail of list (sys_dlist_t) */
struct _dnode *prev; /* ptr to previous node (sys_dnode_t) */
};
};
/**
* @brief Doubly-linked list structure.
*/
typedef struct _dnode sys_dlist_t;
/**
* @brief Doubly-linked list node structure.
*/
typedef struct _dnode sys_dnode_t;
/**
* @brief Provide the primitive to iterate on a list
* Note: the loop is unsafe and thus __dn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_DLIST_FOR_EACH_NODE(l, n) {
* <user code>
* }
*
* This and other SYS_DLIST_*() macros are not thread safe.
*
* @param __dl A pointer on a sys_dlist_t to iterate on
* @param __dn A sys_dnode_t pointer to peek each node of the list
*/
#define SYS_DLIST_FOR_EACH_NODE(__dl, __dn) \
for (__dn = sys_dlist_peek_head(__dl); __dn != NULL; \
__dn = sys_dlist_peek_next(__dl, __dn))
/**
* @brief Provide the primitive to iterate on a list, from a node in the list
* Note: the loop is unsafe and thus __dn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_DLIST_ITERATE_FROM_NODE(l, n) {
* <user code>
* }
*
* Like SYS_DLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
* where to start searching for the next entry from. If NULL, it starts from
* the head.
*
* This and other SYS_DLIST_*() macros are not thread safe.
*
* @param __dl A pointer on a sys_dlist_t to iterate on
* @param __dn A sys_dnode_t pointer to peek each node of the list;
* it contains the starting node, or NULL to start from the head
*/
#define SYS_DLIST_ITERATE_FROM_NODE(__dl, __dn) \
for (__dn = __dn ? sys_dlist_peek_next_no_check(__dl, __dn) \
: sys_dlist_peek_head(__dl); \
__dn != NULL; \
__dn = sys_dlist_peek_next(__dl, __dn))
/**
* @brief Provide the primitive to safely iterate on a list
* Note: __dn can be removed, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_DLIST_FOR_EACH_NODE_SAFE(l, n, s) {
* <user code>
* }
*
* This and other SYS_DLIST_*() macros are not thread safe.
*
* @param __dl A pointer on a sys_dlist_t to iterate on
* @param __dn A sys_dnode_t pointer to peek each node of the list
* @param __dns A sys_dnode_t pointer for the loop to run safely
*/
#define SYS_DLIST_FOR_EACH_NODE_SAFE(__dl, __dn, __dns) \
for ((__dn) = sys_dlist_peek_head(__dl), \
(__dns) = sys_dlist_peek_next((__dl), (__dn)); \
(__dn) != NULL; (__dn) = (__dns), \
(__dns) = sys_dlist_peek_next(__dl, __dn))
/**
* @brief Provide the primitive to resolve the container of a list node
* Note: it is safe to use with NULL pointer nodes
*
* @param __dn A pointer on a sys_dnode_t to get its container
* @param __cn Container struct type pointer
* @param __n The field name of sys_dnode_t within the container struct
*/
#define SYS_DLIST_CONTAINER(__dn, __cn, __n) \
(((__dn) != NULL) ? CONTAINER_OF(__dn, __typeof__(*(__cn)), __n) : NULL)
/**
* @brief Provide the primitive to peek container of the list head
*
* @param __dl A pointer on a sys_dlist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_dnode_t within the container struct
*/
#define SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n) \
SYS_DLIST_CONTAINER(sys_dlist_peek_head(__dl), __cn, __n)
/**
* @brief Provide the primitive to peek the next container
*
* @param __dl A pointer on a sys_dlist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_dnode_t within the container struct
*/
#define SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n) \
(((__cn) != NULL) ? \
SYS_DLIST_CONTAINER(sys_dlist_peek_next((__dl), &((__cn)->__n)), \
__cn, __n) : NULL)
/**
* @brief Provide the primitive to iterate on a list under a container
* Note: the loop is unsafe and thus __cn should not be detached
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_DLIST_FOR_EACH_CONTAINER(l, c, n) {
* <user code>
* }
*
* @param __dl A pointer on a sys_dlist_t to iterate on
* @param __cn A container struct type pointer to peek each entry of the list
* @param __n The field name of sys_dnode_t within the container struct
*/
#define SYS_DLIST_FOR_EACH_CONTAINER(__dl, __cn, __n) \
for ((__cn) = SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n); \
(__cn) != NULL; \
(__cn) = SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n))
/**
* @brief Provide the primitive to safely iterate on a list under a container
* Note: __cn can be detached, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_DLIST_FOR_EACH_CONTAINER_SAFE(l, c, cn, n) {
* <user code>
* }
*
* @param __dl A pointer on a sys_dlist_t to iterate on
* @param __cn A container struct type pointer to peek each entry of the list
* @param __cns A container struct type pointer for the loop to run safely
* @param __n The field name of sys_dnode_t within the container struct
*/
#define SYS_DLIST_FOR_EACH_CONTAINER_SAFE(__dl, __cn, __cns, __n) \
for ((__cn) = SYS_DLIST_PEEK_HEAD_CONTAINER(__dl, __cn, __n), \
(__cns) = SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n); \
(__cn) != NULL; (__cn) = (__cns), \
(__cns) = SYS_DLIST_PEEK_NEXT_CONTAINER(__dl, __cn, __n))
/**
* @brief initialize list to its empty state
*
* @param list the doubly-linked list
*/
static inline void sys_dlist_init(sys_dlist_t *list)
{
list->head = (sys_dnode_t *)list;
list->tail = (sys_dnode_t *)list;
}
/**
* @brief Static initializer for a doubly-linked list
*/
#define SYS_DLIST_STATIC_INIT(ptr_to_list) { {(ptr_to_list)}, {(ptr_to_list)} }
/**
* @brief initialize node to its state when not in a list
*
* @param node the node
*/
static inline void sys_dnode_init(sys_dnode_t *node)
{
node->next = NULL;
node->prev = NULL;
}
/**
* @brief check if a node is a member of any list
*
* @param node the node
*
* @return true if node is linked into a list, false if it is not
*/
static inline bool sys_dnode_is_linked(const sys_dnode_t *node)
{
return node->next != NULL;
}
/**
* @brief check if a node is the list's head
*
* @param list the doubly-linked list to operate on
* @param node the node to check
*
* @return true if node is the head, false otherwise
*/
static inline bool sys_dlist_is_head(sys_dlist_t *list, sys_dnode_t *node)
{
return list->head == node;
}
/**
* @brief check if a node is the list's tail
*
* @param list the doubly-linked list to operate on
* @param node the node to check
*
* @return true if node is the tail, false otherwise
*/
static inline bool sys_dlist_is_tail(sys_dlist_t *list, sys_dnode_t *node)
{
return list->tail == node;
}
/**
* @brief check if the list is empty
*
* @param list the doubly-linked list to operate on
*
* @return true if empty, false otherwise
*/
static inline bool sys_dlist_is_empty(sys_dlist_t *list)
{
return list->head == list;
}
/**
* @brief check if more than one node present
*
* This and other sys_dlist_*() functions are not thread safe.
*
* @param list the doubly-linked list to operate on
*
* @return true if multiple nodes, false otherwise
*/
static inline bool sys_dlist_has_multiple_nodes(sys_dlist_t *list)
{
return list->head != list->tail;
}
/**
* @brief get a reference to the head item in the list
*
* @param list the doubly-linked list to operate on
*
* @return a pointer to the head element, NULL if list is empty
*/
static inline sys_dnode_t *sys_dlist_peek_head(sys_dlist_t *list)
{
return sys_dlist_is_empty(list) ? NULL : list->head;
}
/**
* @brief get a reference to the head item in the list
*
* The list must be known to be non-empty.
*
* @param list the doubly-linked list to operate on
*
* @return a pointer to the head element
*/
static inline sys_dnode_t *sys_dlist_peek_head_not_empty(sys_dlist_t *list)
{
return list->head;
}
/**
* @brief get a reference to the next item in the list, node is not NULL
*
* Faster than sys_dlist_peek_next() if node is known not to be NULL.
*
* @param list the doubly-linked list to operate on
* @param node the node from which to get the next element in the list
*
* @return a pointer to the next element from a node, NULL if node is the tail
*/
static inline sys_dnode_t *sys_dlist_peek_next_no_check(sys_dlist_t *list,
sys_dnode_t *node)
{
return (node == list->tail) ? NULL : node->next;
}
/**
* @brief get a reference to the next item in the list
*
* @param list the doubly-linked list to operate on
* @param node the node from which to get the next element in the list
*
* @return a pointer to the next element from a node, NULL if node is the tail
* or NULL (when node comes from reading the head of an empty list).
*/
static inline sys_dnode_t *sys_dlist_peek_next(sys_dlist_t *list,
sys_dnode_t *node)
{
return (node != NULL) ? sys_dlist_peek_next_no_check(list, node) : NULL;
}
/**
* @brief get a reference to the previous item in the list, node is not NULL
*
* Faster than sys_dlist_peek_prev() if node is known not to be NULL.
*
* @param list the doubly-linked list to operate on
* @param node the node from which to get the previous element in the list
*
* @return a pointer to the previous element from a node, NULL if node is the
* tail
*/
static inline sys_dnode_t *sys_dlist_peek_prev_no_check(sys_dlist_t *list,
sys_dnode_t *node)
{
return (node == list->head) ? NULL : node->prev;
}
/**
* @brief get a reference to the previous item in the list
*
* @param list the doubly-linked list to operate on
* @param node the node from which to get the previous element in the list
*
* @return a pointer to the previous element from a node, NULL if node is the
* tail or NULL (when node comes from reading the head of an empty
* list).
*/
static inline sys_dnode_t *sys_dlist_peek_prev(sys_dlist_t *list,
sys_dnode_t *node)
{
return (node != NULL) ? sys_dlist_peek_prev_no_check(list, node) : NULL;
}
/**
* @brief get a reference to the tail item in the list
*
* @param list the doubly-linked list to operate on
*
* @return a pointer to the tail element, NULL if list is empty
*/
static inline sys_dnode_t *sys_dlist_peek_tail(sys_dlist_t *list)
{
return sys_dlist_is_empty(list) ? NULL : list->tail;
}
/**
* @brief add node to tail of list
*
* This and other sys_dlist_*() functions are not thread safe.
*
* @param list the doubly-linked list to operate on
* @param node the element to append
*/
static inline void sys_dlist_append(sys_dlist_t *list, sys_dnode_t *node)
{
sys_dnode_t *const tail = list->tail;
node->next = list;
node->prev = tail;
tail->next = node;
list->tail = node;
}
/**
* @brief add node to head of list
*
* This and other sys_dlist_*() functions are not thread safe.
*
* @param list the doubly-linked list to operate on
* @param node the element to append
*/
static inline void sys_dlist_prepend(sys_dlist_t *list, sys_dnode_t *node)
{
sys_dnode_t *const head = list->head;
node->next = head;
node->prev = list;
head->prev = node;
list->head = node;
}
/**
* @brief Insert a node into a list
*
* Insert a node before a specified node in a dlist.
*
* @param successor the position before which "node" will be inserted
* @param node the element to insert
*/
static inline void sys_dlist_insert(sys_dnode_t *successor, sys_dnode_t *node)
{
sys_dnode_t *const prev = successor->prev;
node->prev = prev;
node->next = successor;
prev->next = node;
successor->prev = node;
}
/**
* @brief insert node at position
*
* Insert a node in a location depending on a external condition. The cond()
* function checks if the node is to be inserted _before_ the current node
* against which it is checked.
* This and other sys_dlist_*() functions are not thread safe.
*
* @param list the doubly-linked list to operate on
* @param node the element to insert
* @param cond a function that determines if the current node is the correct
* insert point
* @param data parameter to cond()
*/
static inline void sys_dlist_insert_at(sys_dlist_t *list, sys_dnode_t *node,
int (*cond)(sys_dnode_t *node, void *data), void *data)
{
if (sys_dlist_is_empty(list)) {
sys_dlist_append(list, node);
} else {
sys_dnode_t *pos = sys_dlist_peek_head(list);
while ((pos != NULL) && (cond(pos, data) == 0)) {
pos = sys_dlist_peek_next(list, pos);
}
if (pos != NULL) {
sys_dlist_insert(pos, node);
} else {
sys_dlist_append(list, node);
}
}
}
/**
* @brief remove a specific node from a list
*
* The list is implicit from the node. The node must be part of a list.
* This and other sys_dlist_*() functions are not thread safe.
*
* @param node the node to remove
*/
static inline void sys_dlist_remove(sys_dnode_t *node)
{
sys_dnode_t *const prev = node->prev;
sys_dnode_t *const next = node->next;
prev->next = next;
next->prev = prev;
sys_dnode_init(node);
}
/**
* @brief get the first node in a list
*
* This and other sys_dlist_*() functions are not thread safe.
*
* @param list the doubly-linked list to operate on
*
* @return the first node in the list, NULL if list is empty
*/
static inline sys_dnode_t *sys_dlist_get(sys_dlist_t *list)
{
sys_dnode_t *node = NULL;
if (!sys_dlist_is_empty(list)) {
node = list->head;
sys_dlist_remove(node);
}
return node;
}
/**
* @brief Compute the size of the given list in O(n) time
*
* @param list A pointer on the list
*
* @return an integer equal to the size of the list, or 0 if empty
*/
static inline size_t sys_dlist_len(sys_dlist_t *list)
{
size_t len = 0;
sys_dnode_t *node = NULL;
SYS_DLIST_FOR_EACH_NODE(list, node) {
len++;
}
return len;
}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_DLIST_H_ */
``` | /content/code_sandbox/include/zephyr/sys/dlist.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,089 |
```objective-c
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
#define ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef long atomic_t;
typedef atomic_t atomic_val_t;
typedef void *atomic_ptr_t;
typedef atomic_ptr_t atomic_ptr_val_t;
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_TYPES_H_ */
``` | /content/code_sandbox/include/zephyr/sys/atomic_types.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_MEM_MANAGE_H
#define ZEPHYR_INCLUDE_SYS_MEM_MANAGE_H
/**
* @brief Memory Management
* @defgroup memory_management Memory Management
* @ingroup os_services
* @{
*/
#ifndef _ASMLANGUAGE
#include <stdbool.h>
#include <stdint.h>
/**
* @brief Check if a physical address is within range of physical memory.
*
* This checks if the physical address (@p virt) is within
* permissible range, e.g. between
* :kconfig:option:`CONFIG_SRAM_BASE_ADDRESS` and
* (:kconfig:option:`CONFIG_SRAM_BASE_ADDRESS` +
* :kconfig:option:`CONFIG_SRAM_SIZE`).
*
* @note Only used if
* :kconfig:option:`CONFIG_KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK`
* is enabled.
*
* @param phys Physical address to be checked.
*
* @return True if physical address is within range, false if not.
*/
bool sys_mm_is_phys_addr_in_range(uintptr_t phys);
/**
* @brief Check if a virtual address is within range of virtual memory.
*
* This checks if the virtual address (@p virt) is within
* permissible range, e.g. between
* :kconfig:option:`CONFIG_KERNEL_VM_BASE` and
* (:kconfig:option:`CONFIG_KERNEL_VM_BASE` +
* :kconfig:option:`CONFIG_KERNEL_VM_SIZE`).
*
* @note Only used if
* :kconfig:option:`CONFIG_KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK`
* is enabled.
*
* @param virt Virtual address to be checked.
*
* @return True if virtual address is within range, false if not.
*/
bool sys_mm_is_virt_addr_in_range(void *virt);
/** @} */
#endif /* !_ASMLANGUAGE */
#endif /* ZEPHYR_INCLUDE_SYS_MEM_MANAGE_H */
``` | /content/code_sandbox/include/zephyr/sys/mem_manage.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 393 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_ARCH_H_
#define ZEPHYR_INCLUDE_SYS_ATOMIC_ARCH_H_
#include <stdbool.h>
#include <zephyr/sys/atomic_types.h>
/* Included from <atomic.h> */
/* Arch specific atomic primitives */
bool atomic_cas(atomic_t *target, atomic_val_t old_value,
atomic_val_t new_value);
bool atomic_ptr_cas(atomic_ptr_t *target, void *old_value,
void *new_value);
atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
atomic_val_t atomic_inc(atomic_t *target);
atomic_val_t atomic_dec(atomic_t *target);
atomic_val_t atomic_get(const atomic_t *target);
void *atomic_ptr_get(const atomic_ptr_t *target);
atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
void *atomic_ptr_set(atomic_ptr_t *target, void *value);
atomic_val_t atomic_clear(atomic_t *target);
void *atomic_ptr_clear(atomic_ptr_t *target);
atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_ARCH_H_ */
``` | /content/code_sandbox/include/zephyr/sys/atomic_arch.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 312 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_C_H_
#define ZEPHYR_INCLUDE_SYS_ATOMIC_C_H_
/* Included from <atomic.h> */
#ifdef __cplusplus
extern "C" {
#endif
/* Simple and correct (but very slow) implementation of atomic
* primitives that require nothing more than kernel interrupt locking.
*/
__syscall bool atomic_cas(atomic_t *target, atomic_val_t old_value,
atomic_val_t new_value);
__syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
atomic_ptr_val_t new_value);
__syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
__syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
static inline atomic_val_t atomic_inc(atomic_t *target)
{
return atomic_add(target, 1);
}
static inline atomic_val_t atomic_dec(atomic_t *target)
{
return atomic_sub(target, 1);
}
atomic_val_t atomic_get(const atomic_t *target);
atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target);
__syscall atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
__syscall atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value);
static inline atomic_val_t atomic_clear(atomic_t *target)
{
return atomic_set(target, 0);
}
static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target)
{
return atomic_ptr_set(target, NULL);
}
__syscall atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
__syscall atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
__syscall atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
__syscall atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);
#ifdef __cplusplus
}
#endif
#ifdef CONFIG_ATOMIC_OPERATIONS_C
#ifndef DISABLE_SYSCALL_TRACING
/* Skip defining macros of atomic_*() for syscall tracing.
* Compiler does not like "({ ... tracing code ... })" and complains
*
* error: expected identifier or '(' before '{' token
*
* ... even though there is a '(' before '{'.
*/
#define DISABLE_SYSCALL_TRACING
#define _REMOVE_DISABLE_SYSCALL_TRACING
#endif
#include <zephyr/syscalls/atomic_c.h>
#ifdef _REMOVE_DISABLE_SYSCALL_TRACING
#undef DISABLE_SYSCALL_TRACING
#undef _REMOVE_DISABLE_SYSCALL_TRACING
#endif
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_C_H_ */
``` | /content/code_sandbox/include/zephyr/sys/atomic_c.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 541 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
#define ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_
/**
* @brief printk function handler
*
* @param c Character to output
*
* @returns The character passed as input.
*/
typedef int (*printk_hook_fn_t)(int c);
/**
* @brief Install the character output routine for printk
*
* To be called by the platform's console driver at init time. Installs a
* routine that outputs one ASCII character at a time.
* @param fn putc routine to install
*/
void __printk_hook_install(printk_hook_fn_t fn);
/**
* @brief Get the current character output routine for printk
*
* To be called by any console driver that would like to save
* current hook - if any - for later re-installation.
*
* @return a function pointer or NULL if no hook is set
*/
printk_hook_fn_t __printk_get_hook(void);
#endif /* ZEPHYR_INCLUDE_SYS_PRINTK_HOOKS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/printk-hooks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 220 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_BUILTIN_H_
#define ZEPHYR_INCLUDE_SYS_BARRIER_BUILTIN_H_
#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
#error Please include <zephyr/sys/barrier.h>
#endif
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
static ALWAYS_INLINE void z_barrier_dmem_fence_full(void)
{
#if defined(__GNUC__)
/* GCC-ism */
__atomic_thread_fence(__ATOMIC_SEQ_CST);
#else
atomic_thread_fence(memory_order_seq_cst);
#endif
}
static ALWAYS_INLINE void z_barrier_dsync_fence_full(void)
{
#if defined(__GNUC__)
/* GCC-ism */
__atomic_thread_fence(__ATOMIC_SEQ_CST);
#else
atomic_thread_fence(memory_order_seq_cst);
#endif
}
static ALWAYS_INLINE void z_barrier_isync_fence_full(void)
{
__asm__ volatile("" : : : "memory");
}
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_BARRIER_BUILTIN_H_ */
``` | /content/code_sandbox/include/zephyr/sys/barrier_builtin.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 223 |
```objective-c
/*
* RFC 1521 base64 encoding/decoding
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* Adapted for Zephyr by Carles Cufi (carles.cufi@nordicsemi.no)
* - Removed mbedtls_ prefixes
* - Reworked coding style
*/
#ifndef ZEPHYR_INCLUDE_SYS_BASE64_H_
#define ZEPHYR_INCLUDE_SYS_BASE64_H_
#include <stddef.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file
*
* @defgroup base64 Base64
* @brief Base64 encoding/decoding functions
* @ingroup utilities
* @{
*/
/**
* @brief Encode a buffer into base64 format
*
* @param dst destination buffer
* @param dlen size of the destination buffer
* @param olen number of bytes written
* @param src source buffer
* @param slen amount of data to be encoded
*
* @return 0 if successful, or -ENOMEM if the buffer is too small.
* *olen is always updated to reflect the amount
* of data that has (or would have) been written.
* If that length cannot be represented, then no data is
* written to the buffer and *olen is set to the maximum
* length representable as a size_t.
*
* @note Call this function with dlen = 0 to obtain the
* required buffer size in *olen
*/
int base64_encode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src,
size_t slen);
/**
* @brief Decode a base64-formatted buffer
*
* @param dst destination buffer (can be NULL for checking size)
* @param dlen size of the destination buffer
* @param olen number of bytes written
* @param src source buffer
* @param slen amount of data to be decoded
*
* @return 0 if successful, -ENOMEM, or -EINVAL if the input data is
* not correct. *olen is always updated to reflect the amount
* of data that has (or would have) been written.
*
* @note Call this function with *dst = NULL or dlen = 0 to obtain
* the required buffer size in *olen
*/
int base64_decode(uint8_t *dst, size_t dlen, size_t *olen, const uint8_t *src,
size_t slen);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_BASE64_H_ */
``` | /content/code_sandbox/include/zephyr/sys/base64.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 600 |
```objective-c
/*
*
*/
/**
* @brief Extra arithmetic and bit manipulation functions.
* @defgroup math_extras Math extras
* @ingroup utilities
*
* Portable wrapper functions for a number of arithmetic and bit-counting functions that are often
* provided by compiler builtins. If the compiler does not have an appropriate builtin, a portable C
* implementation is used instead.
*
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_MATH_EXTRAS_H_
#define ZEPHYR_INCLUDE_SYS_MATH_EXTRAS_H_
#include <zephyr/types.h>
#include <stdbool.h>
#include <stddef.h>
/**
* @name Unsigned integer addition with overflow detection.
*
* These functions compute `a + b` and store the result in `*result`, returning
* true if the operation overflowed.
*/
/**@{*/
/**
* @brief Add two unsigned 16-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result);
/**
* @brief Add two unsigned 32-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result);
/**
* @brief Add two unsigned 64-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result);
/**
* @brief Add two size_t integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool size_add_overflow(size_t a, size_t b, size_t *result);
/**@}*/
/**
* @name Unsigned integer multiplication with overflow detection.
*
* These functions compute `a * b` and store the result in `*result`, returning
* true if the operation overflowed.
*/
/**@{*/
/**
* @brief Multiply two unsigned 16-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result);
/**
* @brief Multiply two unsigned 32-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result);
/**
* @brief Multiply two unsigned 64-bit integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result);
/**
* @brief Multiply two size_t integers.
* @param a First operand.
* @param b Second operand.
* @param result Pointer to the result.
* @return true if the operation overflowed.
*/
static bool size_mul_overflow(size_t a, size_t b, size_t *result);
/**@}*/
/**
* @name Count leading zeros.
*
* Count the number of leading zero bits in the bitwise representation of `x`.
* When `x = 0`, this is the size of `x` in bits.
*/
/**@{*/
/**
* @brief Count the number of leading zero bits in a 32-bit integer.
* @param x Integer to count leading zeros in.
* @return Number of leading zero bits in `x`.
*/
static int u32_count_leading_zeros(uint32_t x);
/**
* @brief Count the number of leading zero bits in a 64-bit integer.
* @param x Integer to count leading zeros in.
* @return Number of leading zero bits in `x`.
*/
static int u64_count_leading_zeros(uint64_t x);
/**@}*/
/**
* @name Count trailing zeros.
*
* Count the number of trailing zero bits in the bitwise representation of `x`.
* When `x = 0`, this is the size of `x` in bits.
*/
/**@{*/
/**
* @brief Count the number of trailing zero bits in a 32-bit integer.
* @param x Integer to count trailing zeros in.
* @return Number of trailing zero bits in `x`.
*/
static int u32_count_trailing_zeros(uint32_t x);
/**
* @brief Count the number of trailing zero bits in a 64-bit integer.
* @param x Integer to count trailing zeros in.
* @return Number of trailing zero bits in `x`.
*/
static int u64_count_trailing_zeros(uint64_t x);
/**@}*/
/**@}*/
#include <zephyr/sys/math_extras_impl.h>
#endif /* ZEPHYR_INCLUDE_SYS_MATH_EXTRAS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/math_extras.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,105 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_RING_BUFFER_H_
#define ZEPHYR_INCLUDE_SYS_RING_BUFFER_H_
#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
#include <errno.h>
#ifdef __cplusplus
extern "C" {
#endif
/** @cond INTERNAL_HIDDEN */
/* The limit is used by algorithm for distinguishing between empty and full
* state.
*/
#define RING_BUFFER_MAX_SIZE 0x80000000U
#define RING_BUFFER_SIZE_ASSERT_MSG \
"Size too big"
/** @endcond */
/**
* @file
* @defgroup ring_buffer_apis Ring Buffer APIs
* @ingroup datastructure_apis
*
* @brief Simple ring buffer implementation.
*
* @{
*/
/**
* @brief A structure to represent a ring buffer
*/
struct ring_buf {
/** @cond INTERNAL_HIDDEN */
uint8_t *buffer;
int32_t put_head;
int32_t put_tail;
int32_t put_base;
int32_t get_head;
int32_t get_tail;
int32_t get_base;
uint32_t size;
/** @endcond */
};
/**
* @brief Function to force ring_buf internal states to given value
*
* Any value other than 0 makes sense only in validation testing context.
*/
static inline void ring_buf_internal_reset(struct ring_buf *buf, int32_t value)
{
buf->put_head = buf->put_tail = buf->put_base = value;
buf->get_head = buf->get_tail = buf->get_base = value;
}
/**
* @brief Define and initialize a ring buffer for byte data.
*
* This macro establishes a ring buffer of an arbitrary size.
* The basic storage unit is a byte.
*
* The ring buffer can be accessed outside the module where it is defined
* using:
*
* @code extern struct ring_buf <name>; @endcode
*
* @param name Name of the ring buffer.
* @param size8 Size of ring buffer (in bytes).
*/
#define RING_BUF_DECLARE(name, size8) \
BUILD_ASSERT(size8 < RING_BUFFER_MAX_SIZE,\
RING_BUFFER_SIZE_ASSERT_MSG); \
static uint8_t __noinit _ring_buffer_data_##name[size8]; \
struct ring_buf name = { \
.buffer = _ring_buffer_data_##name, \
.size = size8 \
}
/**
* @brief Define and initialize an "item based" ring buffer.
*
* This macro establishes an "item based" ring buffer. Each data item is
* an array of 32-bit words (from zero to 1020 bytes in length), coupled
* with a 16-bit type identifier and an 8-bit integer value.
*
* The ring buffer can be accessed outside the module where it is defined
* using:
*
* @code extern struct ring_buf <name>; @endcode
*
* @param name Name of the ring buffer.
* @param size32 Size of ring buffer (in 32-bit words).
*/
#define RING_BUF_ITEM_DECLARE(name, size32) \
BUILD_ASSERT((size32) < RING_BUFFER_MAX_SIZE / 4,\
RING_BUFFER_SIZE_ASSERT_MSG); \
static uint32_t __noinit _ring_buffer_data_##name[size32]; \
struct ring_buf name = { \
.buffer = (uint8_t *) _ring_buffer_data_##name, \
.size = 4 * (size32) \
}
/**
* @brief Define and initialize an "item based" ring buffer.
*
* This exists for backward compatibility reasons. @ref RING_BUF_ITEM_DECLARE
* should be used instead.
*
* @param name Name of the ring buffer.
* @param size32 Size of ring buffer (in 32-bit words).
*/
#define RING_BUF_ITEM_DECLARE_SIZE(name, size32) \
RING_BUF_ITEM_DECLARE(name, size32)
/**
* @brief Define and initialize a power-of-2 sized "item based" ring buffer.
*
* This macro establishes an "item based" ring buffer by specifying its
* size using a power of 2. This exists mainly for backward compatibility
* reasons. @ref RING_BUF_ITEM_DECLARE should be used instead.
*
* @param name Name of the ring buffer.
* @param pow Ring buffer size exponent.
*/
#define RING_BUF_ITEM_DECLARE_POW2(name, pow) \
RING_BUF_ITEM_DECLARE(name, BIT(pow))
/**
* @brief Compute the ring buffer size in 32-bit needed to store an element
*
* The argument can be a type or an expression.
* Note: rounds up if the size is not a multiple of 32 bits.
*
* @param expr Expression or type to compute the size of
*/
#define RING_BUF_ITEM_SIZEOF(expr) DIV_ROUND_UP(sizeof(expr), sizeof(uint32_t))
/**
* @brief Initialize a ring buffer for byte data.
*
* This routine initializes a ring buffer, prior to its first use. It is only
* used for ring buffers not defined using RING_BUF_DECLARE.
*
* @param buf Address of ring buffer.
* @param size Ring buffer size (in bytes).
* @param data Ring buffer data area (uint8_t data[size]).
*/
static inline void ring_buf_init(struct ring_buf *buf,
uint32_t size,
uint8_t *data)
{
__ASSERT(size < RING_BUFFER_MAX_SIZE, RING_BUFFER_SIZE_ASSERT_MSG);
buf->size = size;
buf->buffer = data;
ring_buf_internal_reset(buf, 0);
}
/**
* @brief Initialize an "item based" ring buffer.
*
* This routine initializes a ring buffer, prior to its first use. It is only
* used for ring buffers not defined using RING_BUF_ITEM_DECLARE.
*
* Each data item is an array of 32-bit words (from zero to 1020 bytes in
* length), coupled with a 16-bit type identifier and an 8-bit integer value.
*
* @param buf Address of ring buffer.
* @param size Ring buffer size (in 32-bit words)
* @param data Ring buffer data area (uint32_t data[size]).
*/
static inline void ring_buf_item_init(struct ring_buf *buf,
uint32_t size,
uint32_t *data)
{
__ASSERT(size < RING_BUFFER_MAX_SIZE / 4, RING_BUFFER_SIZE_ASSERT_MSG);
ring_buf_init(buf, 4 * size, (uint8_t *)data);
}
/**
* @brief Determine if a ring buffer is empty.
*
* @param buf Address of ring buffer.
*
* @return true if the ring buffer is empty, or false if not.
*/
static inline bool ring_buf_is_empty(struct ring_buf *buf)
{
return buf->get_head == buf->put_tail;
}
/**
* @brief Reset ring buffer state.
*
* @param buf Address of ring buffer.
*/
static inline void ring_buf_reset(struct ring_buf *buf)
{
ring_buf_internal_reset(buf, 0);
}
/**
* @brief Determine free space in a ring buffer.
*
* @param buf Address of ring buffer.
*
* @return Ring buffer free space (in bytes).
*/
static inline uint32_t ring_buf_space_get(struct ring_buf *buf)
{
return buf->size - (buf->put_head - buf->get_tail);
}
/**
* @brief Determine free space in an "item based" ring buffer.
*
* @param buf Address of ring buffer.
*
* @return Ring buffer free space (in 32-bit words).
*/
static inline uint32_t ring_buf_item_space_get(struct ring_buf *buf)
{
return ring_buf_space_get(buf) / 4;
}
/**
* @brief Return ring buffer capacity.
*
* @param buf Address of ring buffer.
*
* @return Ring buffer capacity (in bytes).
*/
static inline uint32_t ring_buf_capacity_get(struct ring_buf *buf)
{
return buf->size;
}
/**
* @brief Determine used space in a ring buffer.
*
* @param buf Address of ring buffer.
*
* @return Ring buffer space used (in bytes).
*/
static inline uint32_t ring_buf_size_get(struct ring_buf *buf)
{
return buf->put_tail - buf->get_head;
}
/**
* @brief Allocate buffer for writing data to a ring buffer.
*
* With this routine, memory copying can be reduced since internal ring buffer
* can be used directly by the user. Once data is written to allocated area
* number of bytes written must be confirmed (see @ref ring_buf_put_finish).
*
* @warning
* Use cases involving multiple writers to the ring buffer must prevent
* concurrent write operations, either by preventing all writers from
* being preempted or by using a mutex to govern writes to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item access
* (calls prefixed with ring_buf_item_).
*
* @param[in] buf Address of ring buffer.
* @param[out] data Pointer to the address. It is set to a location within
* ring buffer.
* @param[in] size Requested allocation size (in bytes).
*
* @return Size of allocated buffer which can be smaller than requested if
* there is not enough free space or buffer wraps.
*/
uint32_t ring_buf_put_claim(struct ring_buf *buf,
uint8_t **data,
uint32_t size);
/**
* @brief Indicate number of bytes written to allocated buffers.
*
* The number of bytes must be equal to or lower than the sum corresponding
* to all preceding @ref ring_buf_put_claim invocations (or even 0). Surplus
* bytes will be returned to the available free buffer space.
*
* @warning
* Use cases involving multiple writers to the ring buffer must prevent
* concurrent write operations, either by preventing all writers from
* being preempted or by using a mutex to govern writes to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item access
* (calls prefixed with ring_buf_item_).
*
* @param buf Address of ring buffer.
* @param size Number of valid bytes in the allocated buffers.
*
* @retval 0 Successful operation.
* @retval -EINVAL Provided @a size exceeds free space in the ring buffer.
*/
int ring_buf_put_finish(struct ring_buf *buf, uint32_t size);
/**
* @brief Write (copy) data to a ring buffer.
*
* This routine writes data to a ring buffer @a buf.
*
* @warning
* Use cases involving multiple writers to the ring buffer must prevent
* concurrent write operations, either by preventing all writers from
* being preempted or by using a mutex to govern writes to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item access
* (calls prefixed with ring_buf_item_).
*
* @param buf Address of ring buffer.
* @param data Address of data.
* @param size Data size (in bytes).
*
* @retval Number of bytes written.
*/
uint32_t ring_buf_put(struct ring_buf *buf, const uint8_t *data, uint32_t size);
/**
* @brief Get address of a valid data in a ring buffer.
*
* With this routine, memory copying can be reduced since internal ring buffer
* can be used directly by the user. Once data is processed it must be freed
* using @ref ring_buf_get_finish.
*
* @warning
* Use cases involving multiple reads of the ring buffer must prevent
* concurrent read operations, either by preventing all readers from
* being preempted or by using a mutex to govern reads to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item access
* (calls prefixed with ring_buf_item_).
*
* @param[in] buf Address of ring buffer.
* @param[out] data Pointer to the address. It is set to a location within
* ring buffer.
* @param[in] size Requested size (in bytes).
*
* @return Number of valid bytes in the provided buffer which can be smaller
* than requested if there is not enough free space or buffer wraps.
*/
uint32_t ring_buf_get_claim(struct ring_buf *buf,
uint8_t **data,
uint32_t size);
/**
* @brief Indicate number of bytes read from claimed buffer.
*
* The number of bytes must be equal or lower than the sum corresponding to
* all preceding @ref ring_buf_get_claim invocations (or even 0). Surplus
* bytes will remain available in the buffer.
*
* @warning
* Use cases involving multiple reads of the ring buffer must prevent
* concurrent read operations, either by preventing all readers from
* being preempted or by using a mutex to govern reads to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item mode
* (calls prefixed with ring_buf_item_).
*
* @param buf Address of ring buffer.
* @param size Number of bytes that can be freed.
*
* @retval 0 Successful operation.
* @retval -EINVAL Provided @a size exceeds valid bytes in the ring buffer.
*/
int ring_buf_get_finish(struct ring_buf *buf, uint32_t size);
/**
* @brief Read data from a ring buffer.
*
* This routine reads data from a ring buffer @a buf.
*
* @warning
* Use cases involving multiple reads of the ring buffer must prevent
* concurrent read operations, either by preventing all readers from
* being preempted or by using a mutex to govern reads to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item mode
* (calls prefixed with ring_buf_item_).
*
* @param buf Address of ring buffer.
* @param data Address of the output buffer. Can be NULL to discard data.
* @param size Data size (in bytes).
*
* @retval Number of bytes written to the output buffer.
*/
uint32_t ring_buf_get(struct ring_buf *buf, uint8_t *data, uint32_t size);
/**
* @brief Peek at data from a ring buffer.
*
* This routine reads data from a ring buffer @a buf without removal.
*
* @warning
* Use cases involving multiple reads of the ring buffer must prevent
* concurrent read operations, either by preventing all readers from
* being preempted or by using a mutex to govern reads to the ring buffer.
*
* @warning
* Ring buffer instance should not mix byte access and item mode
* (calls prefixed with ring_buf_item_).
*
* @warning
* Multiple calls to peek will result in the same data being 'peeked'
* multiple times. To remove data, use either @ref ring_buf_get or
* @ref ring_buf_get_claim followed by @ref ring_buf_get_finish with a
* non-zero `size`.
*
* @param buf Address of ring buffer.
* @param data Address of the output buffer. Cannot be NULL.
* @param size Data size (in bytes).
*
* @retval Number of bytes written to the output buffer.
*/
uint32_t ring_buf_peek(struct ring_buf *buf, uint8_t *data, uint32_t size);
/**
* @brief Write a data item to a ring buffer.
*
* This routine writes a data item to ring buffer @a buf. The data item
* is an array of 32-bit words (from zero to 1020 bytes in length),
* coupled with a 16-bit type identifier and an 8-bit integer value.
*
* @warning
* Use cases involving multiple writers to the ring buffer must prevent
* concurrent write operations, either by preventing all writers from
* being preempted or by using a mutex to govern writes to the ring buffer.
*
* @param buf Address of ring buffer.
* @param type Data item's type identifier (application specific).
* @param value Data item's integer value (application specific).
* @param data Address of data item.
* @param size32 Data item size (number of 32-bit words).
*
* @retval 0 Data item was written.
* @retval -EMSGSIZE Ring buffer has insufficient free space.
*/
int ring_buf_item_put(struct ring_buf *buf, uint16_t type, uint8_t value,
uint32_t *data, uint8_t size32);
/**
* @brief Read a data item from a ring buffer.
*
* This routine reads a data item from ring buffer @a buf. The data item
* is an array of 32-bit words (up to 1020 bytes in length),
* coupled with a 16-bit type identifier and an 8-bit integer value.
*
* @warning
* Use cases involving multiple reads of the ring buffer must prevent
* concurrent read operations, either by preventing all readers from
* being preempted or by using a mutex to govern reads to the ring buffer.
*
* @param buf Address of ring buffer.
* @param type Area to store the data item's type identifier.
* @param value Area to store the data item's integer value.
* @param data Area to store the data item. Can be NULL to discard data.
* @param size32 Size of the data item storage area (number of 32-bit chunks).
*
* @retval 0 Data item was fetched; @a size32 now contains the number of
* 32-bit words read into data area @a data.
* @retval -EAGAIN Ring buffer is empty.
* @retval -EMSGSIZE Data area @a data is too small; @a size32 now contains
* the number of 32-bit words needed.
*/
int ring_buf_item_get(struct ring_buf *buf, uint16_t *type, uint8_t *value,
uint32_t *data, uint8_t *size32);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_RING_BUFFER_H_ */
``` | /content/code_sandbox/include/zephyr/sys/ring_buffer.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,761 |
```objective-c
/*
*
*/
/**
* @file
* @brief Macro utilities
*
* Macro utilities are the public interface for C/C++ code and device tree
* related implementation. In general, C/C++ will include <sys/util.h>
* instead this file directly. For device tree implementation, this file
* should be include instead <sys/util_internal.h>
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_MACROS_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_MACROS_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup sys-util
* @{
*/
/*
* Most of the eldritch implementation details for all the macrobatics
* below (APIs like IS_ENABLED(), COND_CODE_1(), etc.) are hidden away
* in this file.
*/
#include <zephyr/sys/util_internal.h>
#ifndef BIT
#if defined(_ASMLANGUAGE)
#define BIT(n) (1 << (n))
#else
/**
* @brief Unsigned integer with bit position @p n set (signed in
* assembly language).
*/
#define BIT(n) (1UL << (n))
#endif
#endif
/** @brief 64-bit unsigned integer with bit position @p _n set. */
#define BIT64(_n) (1ULL << (_n))
/**
* @brief Set or clear a bit depending on a boolean value
*
* The argument @p var is a variable whose value is written to as a
* side effect.
*
* @param var Variable to be altered
* @param bit Bit number
* @param set if 0, clears @p bit in @p var; any other value sets @p bit
*/
#define WRITE_BIT(var, bit, set) \
((var) = (set) ? ((var) | BIT(bit)) : ((var) & ~BIT(bit)))
/**
* @brief Bit mask with bits 0 through <tt>n-1</tt> (inclusive) set,
* or 0 if @p n is 0.
*/
#define BIT_MASK(n) (BIT(n) - 1UL)
/**
* @brief 64-bit bit mask with bits 0 through <tt>n-1</tt> (inclusive) set,
* or 0 if @p n is 0.
*/
#define BIT64_MASK(n) (BIT64(n) - 1ULL)
/** @brief Check if a @p x is a power of two */
#define IS_POWER_OF_TWO(x) (((x) != 0U) && (((x) & ((x) - 1U)) == 0U))
/**
* @brief Check if bits are set continuously from the specified bit
*
* The macro is not dependent on the bit-width.
*
* @param m Check whether the bits are set continuously or not.
* @param s Specify the lowest bit for that is continuously set bits.
*/
#define IS_SHIFTED_BIT_MASK(m, s) (!(((m) >> (s)) & (((m) >> (s)) + 1U)))
/**
* @brief Check if bits are set continuously from the LSB.
*
* @param m Check whether the bits are set continuously from LSB.
*/
#define IS_BIT_MASK(m) IS_SHIFTED_BIT_MASK(m, 0)
/**
* @brief Check for macro definition in compiler-visible expressions
*
* This trick was pioneered in Linux as the config_enabled() macro. It
* has the effect of taking a macro value that may be defined to "1"
* or may not be defined at all and turning it into a literal
* expression that can be handled by the C compiler instead of just
* the preprocessor. It is often used with a @p CONFIG_FOO macro which
* may be defined to 1 via Kconfig, or left undefined.
*
* That is, it works similarly to <tt>\#if defined(CONFIG_FOO)</tt>
* except that its expansion is a C expression. Thus, much <tt>\#ifdef</tt>
* usage can be replaced with equivalents like:
*
* if (IS_ENABLED(CONFIG_FOO)) {
* do_something_with_foo
* }
*
* This is cleaner since the compiler can generate errors and warnings
* for @p do_something_with_foo even when @p CONFIG_FOO is undefined.
*
* Note: Use of IS_ENABLED in a <tt>\#if</tt> statement is discouraged
* as it doesn't provide any benefit vs plain <tt>\#if defined()</tt>
*
* @param config_macro Macro to check
* @return 1 if @p config_macro is defined to 1, 0 otherwise (including
* if @p config_macro is not defined)
*/
#define IS_ENABLED(config_macro) Z_IS_ENABLED1(config_macro)
/* INTERNAL: the first pass above is just to expand any existing
* macros, we need the macro value to be e.g. a literal "1" at
* expansion time in the next macro, not "(1)", etc... Standard
* recursive expansion does not work.
*/
/**
* @brief Insert code depending on whether @p _flag expands to 1 or not.
*
* This relies on similar tricks as IS_ENABLED(), but as the result of
* @p _flag expansion, results in either @p _if_1_code or @p
* _else_code is expanded.
*
* To prevent the preprocessor from treating commas as argument
* separators, the @p _if_1_code and @p _else_code expressions must be
* inside brackets/parentheses: <tt>()</tt>. These are stripped away
* during macro expansion.
*
* Example:
*
* COND_CODE_1(CONFIG_FLAG, (uint32_t x;), (there_is_no_flag();))
*
* If @p CONFIG_FLAG is defined to 1, this expands to:
*
* uint32_t x;
*
* It expands to <tt>there_is_no_flag();</tt> otherwise.
*
* This could be used as an alternative to:
*
* #if defined(CONFIG_FLAG) && (CONFIG_FLAG == 1)
* #define MAYBE_DECLARE(x) uint32_t x
* #else
* #define MAYBE_DECLARE(x) there_is_no_flag()
* #endif
*
* MAYBE_DECLARE(x);
*
* However, the advantage of COND_CODE_1() is that code is resolved in
* place where it is used, while the @p \#if method defines @p
* MAYBE_DECLARE on two lines and requires it to be invoked again on a
* separate line. This makes COND_CODE_1() more concise and also
* sometimes more useful when used within another macro's expansion.
*
* @note @p _flag can be the result of preprocessor expansion, e.g.
* an expression involving <tt>NUM_VA_ARGS_LESS_1(...)</tt>.
* However, @p _if_1_code is only expanded if @p _flag expands
* to the integer literal 1. Integer expressions that evaluate
* to 1, e.g. after doing some arithmetic, will not work.
*
* @param _flag evaluated flag
* @param _if_1_code result if @p _flag expands to 1; must be in parentheses
* @param _else_code result otherwise; must be in parentheses
*/
#define COND_CODE_1(_flag, _if_1_code, _else_code) \
Z_COND_CODE_1(_flag, _if_1_code, _else_code)
/**
* @brief Like COND_CODE_1() except tests if @p _flag is 0.
*
* This is like COND_CODE_1(), except that it tests whether @p _flag
* expands to the integer literal 0. It expands to @p _if_0_code if
* so, and @p _else_code otherwise; both of these must be enclosed in
* parentheses.
*
* @param _flag evaluated flag
* @param _if_0_code result if @p _flag expands to 0; must be in parentheses
* @param _else_code result otherwise; must be in parentheses
* @see COND_CODE_1()
*/
#define COND_CODE_0(_flag, _if_0_code, _else_code) \
Z_COND_CODE_0(_flag, _if_0_code, _else_code)
/**
* @brief Insert code if @p _flag is defined and equals 1.
*
* Like COND_CODE_1(), this expands to @p _code if @p _flag is defined to 1;
* it expands to nothing otherwise.
*
* Example:
*
* IF_ENABLED(CONFIG_FLAG, (uint32_t foo;))
*
* If @p CONFIG_FLAG is defined to 1, this expands to:
*
* uint32_t foo;
*
* and to nothing otherwise.
*
* It can be considered as a more compact alternative to:
*
* #if defined(CONFIG_FLAG) && (CONFIG_FLAG == 1)
* uint32_t foo;
* #endif
*
* @param _flag evaluated flag
* @param _code result if @p _flag expands to 1; must be in parentheses
*/
#define IF_ENABLED(_flag, _code) \
COND_CODE_1(_flag, _code, ())
/**
* @brief Insert code if @p _flag is not defined as 1.
*
* This expands to nothing if @p _flag is defined and equal to 1;
* it expands to @p _code otherwise.
*
* Example:
*
* IF_DISABLED(CONFIG_FLAG, (uint32_t foo;))
*
* If @p CONFIG_FLAG isn't defined or different than 1, this expands to:
*
* uint32_t foo;
*
* and to nothing otherwise.
*
* IF_DISABLED does the opposite of IF_ENABLED.
*
* @param _flag evaluated flag
* @param _code result if @p _flag does not expand to 1; must be in parentheses
*/
#define IF_DISABLED(_flag, _code) \
COND_CODE_1(_flag, (), _code)
/**
* @brief Check if a macro has a replacement expression
*
* If @p a is a macro defined to a nonempty value, this will return
* true, otherwise it will return false. It only works with defined
* macros, so an additional @p \#ifdef test may be needed in some cases.
*
* This macro may be used with COND_CODE_1() and COND_CODE_0() while
* processing `__VA_ARGS__` to avoid processing empty arguments.
*
* Example:
*
* #define EMPTY
* #define NON_EMPTY 1
* #undef UNDEFINED
* IS_EMPTY(EMPTY)
* IS_EMPTY(NON_EMPTY)
* IS_EMPTY(UNDEFINED)
* #if defined(EMPTY) && IS_EMPTY(EMPTY) == true
* some_conditional_code
* #endif
*
* In above examples, the invocations of IS_EMPTY(...) return @p true,
* @p false, and @p true; @p some_conditional_code is included.
*
* @param ... macro to check for emptiness (may be `__VA_ARGS__`)
*/
#define IS_EMPTY(...) Z_IS_EMPTY_(__VA_ARGS__)
/**
* @brief Like <tt>a == b</tt>, but does evaluation and
* short-circuiting at C preprocessor time.
*
* This however only works for integer literal from 0 to 4095.
*
*/
#define IS_EQ(a, b) Z_IS_EQ(a, b)
/**
* @brief Remove empty arguments from list.
*
* During macro expansion, `__VA_ARGS__` and other preprocessor
* generated lists may contain empty elements, e.g.:
*
* #define LIST ,a,b,,d,
*
* Using EMPTY to show each empty element, LIST contains:
*
* EMPTY, a, b, EMPTY, d
*
* When processing such lists, e.g. using FOR_EACH(), all empty elements
* will be processed, and may require filtering out.
* To make that process easier, it is enough to invoke LIST_DROP_EMPTY
* which will remove all empty elements.
*
* Example:
*
* LIST_DROP_EMPTY(LIST)
*
* expands to:
*
* a, b, d
*
* @param ... list to be processed
*/
#define LIST_DROP_EMPTY(...) \
Z_LIST_DROP_FIRST(FOR_EACH(Z_LIST_NO_EMPTIES, (), __VA_ARGS__))
/**
* @brief Macro with an empty expansion
*
* This trivial definition is provided for readability when a macro
* should expand to an empty result, which e.g. is sometimes needed to
* silence checkpatch.
*
* Example:
*
* #define LIST_ITEM(n) , item##n
*
* The above would cause checkpatch to complain, but:
*
* #define LIST_ITEM(n) EMPTY, item##n
*
* would not.
*/
#define EMPTY
/**
* @brief Macro that expands to its argument
*
* This is useful in macros like @c FOR_EACH() when there is no
* transformation required on the list elements.
*
* @param V any value
*/
#define IDENTITY(V) V
/**
* @brief Get nth argument from argument list.
*
* @param N Argument index to fetch. Counter from 1.
* @param ... Variable list of arguments from which one argument is returned.
*
* @return Nth argument.
*/
#define GET_ARG_N(N, ...) Z_GET_ARG_##N(__VA_ARGS__)
/**
* @brief Strips n first arguments from the argument list.
*
* @param N Number of arguments to discard.
* @param ... Variable list of arguments.
*
* @return argument list without N first arguments.
*/
#define GET_ARGS_LESS_N(N, ...) Z_GET_ARGS_LESS_##N(__VA_ARGS__)
/**
* @brief Like <tt>a || b</tt>, but does evaluation and
* short-circuiting at C preprocessor time.
*
* This is not the same as the binary @p || operator; in particular,
* @p a should expand to an integer literal 0 or 1. However, @p b
* can be any value.
*
* This can be useful when @p b is an expression that would cause a
* build error when @p a is 1.
*/
#define UTIL_OR(a, b) COND_CODE_1(UTIL_BOOL(a), (a), (b))
/**
* @brief Like <tt>a && b</tt>, but does evaluation and
* short-circuiting at C preprocessor time.
*
* This is not the same as the binary @p &&, however; in particular,
* @p a should expand to an integer literal 0 or 1. However, @p b
* can be any value.
*
* This can be useful when @p b is an expression that would cause a
* build error when @p a is 0.
*/
#define UTIL_AND(a, b) COND_CODE_1(UTIL_BOOL(a), (b), (0))
/**
* @brief UTIL_INC(x) for an integer literal x from 0 to 4095 expands to an
* integer literal whose value is x+1.
*
* @see UTIL_DEC(x)
*/
#define UTIL_INC(x) UTIL_PRIMITIVE_CAT(Z_UTIL_INC_, x)
/**
* @brief UTIL_DEC(x) for an integer literal x from 0 to 4095 expands to an
* integer literal whose value is x-1.
*
* @see UTIL_INC(x)
*/
#define UTIL_DEC(x) UTIL_PRIMITIVE_CAT(Z_UTIL_DEC_, x)
/**
* @brief UTIL_X2(y) for an integer literal y from 0 to 4095 expands to an
* integer literal whose value is 2y.
*/
#define UTIL_X2(y) UTIL_PRIMITIVE_CAT(Z_UTIL_X2_, y)
/**
* @brief Generates a sequence of code with configurable separator.
*
* Example:
*
* #define FOO(i, _) MY_PWM ## i
* { LISTIFY(PWM_COUNT, FOO, (,)) }
*
* The above two lines expand to:
*
* { MY_PWM0 , MY_PWM1 }
*
* @param LEN The length of the sequence. Must be an integer literal less
* than 4095.
* @param F A macro function that accepts at least two arguments:
* <tt>F(i, ...)</tt>. @p F is called repeatedly in the expansion.
* Its first argument @p i is the index in the sequence, and
* the variable list of arguments passed to LISTIFY are passed
* through to @p F.
*
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
*
* @note Calling LISTIFY with undefined arguments has undefined
* behavior.
*/
#define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__)
/**
* @brief Call a macro @p F on each provided argument with a given
* separator between each call.
*
* Example:
*
* #define F(x) int a##x
* FOR_EACH(F, (;), 4, 5, 6);
*
* This expands to:
*
* int a4;
* int a5;
* int a6;
*
* @param F Macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... Variable argument list. The macro @p F is invoked as
* <tt>F(element)</tt> for each element in the list.
*/
#define FOR_EACH(F, sep, ...) \
Z_FOR_EACH(F, sep, REVERSE_ARGS(__VA_ARGS__))
/**
* @brief Like FOR_EACH(), but with a terminator instead of a separator,
* and drops empty elements from the argument list
*
* The @p sep argument to <tt>FOR_EACH(F, (sep), a, b)</tt> is a
* separator which is placed between calls to @p F, like this:
*
* FOR_EACH(F, (sep), a, b) // F(a) sep F(b)
* // ^^^ no sep here!
*
* By contrast, the @p term argument to <tt>FOR_EACH_NONEMPTY_TERM(F, (term),
* a, b)</tt> is added after each time @p F appears in the expansion:
*
* FOR_EACH_NONEMPTY_TERM(F, (term), a, b) // F(a) term F(b) term
* // ^^^^
*
* Further, any empty elements are dropped:
*
* FOR_EACH_NONEMPTY_TERM(F, (term), a, EMPTY, b) // F(a) term F(b) term
*
* This is more convenient in some cases, because FOR_EACH_NONEMPTY_TERM()
* expands to nothing when given an empty argument list, and it's
* often cumbersome to write a macro @p F that does the right thing
* even when given an empty argument.
*
* One example is when `__VA_ARGS__` may or may not be empty,
* and the results are embedded in a larger initializer:
*
* #define SQUARE(x) ((x)*(x))
*
* int my_array[] = {
* FOR_EACH_NONEMPTY_TERM(SQUARE, (,), FOO(...))
* FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAR(...))
* FOR_EACH_NONEMPTY_TERM(SQUARE, (,), BAZ(...))
* };
*
* This is more convenient than:
*
* 1. figuring out whether the @p FOO, @p BAR, and @p BAZ expansions
* are empty and adding a comma manually (or not) between FOR_EACH()
* calls
* 2. rewriting SQUARE so it reacts appropriately when "x" is empty
* (which would be necessary if e.g. @p FOO expands to nothing)
*
* @param F Macro to invoke on each nonempty element of the variable
* arguments
* @param term Terminator (e.g. comma or semicolon) placed after each
* invocation of F. Must be in parentheses; this is required
* to enable providing a comma as separator.
* @param ... Variable argument list. The macro @p F is invoked as
* <tt>F(element)</tt> for each nonempty element in the list.
*/
#define FOR_EACH_NONEMPTY_TERM(F, term, ...) \
COND_CODE_0( \
/* are there zero non-empty arguments ? */ \
NUM_VA_ARGS_LESS_1(LIST_DROP_EMPTY(__VA_ARGS__, _)), \
/* if so, expand to nothing */ \
(), \
/* otherwise, expand to: */ \
(/* FOR_EACH() on nonempty elements, */ \
FOR_EACH(F, term, LIST_DROP_EMPTY(__VA_ARGS__)) \
/* plus a final terminator */ \
__DEBRACKET term \
))
/**
* @brief Call macro @p F on each provided argument, with the argument's index
* as an additional parameter.
*
* This is like FOR_EACH(), except @p F should be a macro which takes two
* arguments: <tt>F(index, variable_arg)</tt>.
*
* Example:
*
* #define F(idx, x) int a##idx = x
* FOR_EACH_IDX(F, (;), 4, 5, 6);
*
* This expands to:
*
* int a0 = 4;
* int a1 = 5;
* int a2 = 6;
*
* @param F Macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param ... Variable argument list. The macro @p F is invoked as
* <tt>F(index, element)</tt> for each element in the list.
*/
#define FOR_EACH_IDX(F, sep, ...) \
Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__))
/**
* @brief Call macro @p F on each provided argument, with an additional fixed
* argument as a parameter.
*
* This is like FOR_EACH(), except @p F should be a macro which takes two
* arguments: <tt>F(variable_arg, fixed_arg)</tt>.
*
* Example:
*
* static void func(int val, void *dev);
* FOR_EACH_FIXED_ARG(func, (;), dev, 4, 5, 6);
*
* This expands to:
*
* func(4, dev);
* func(5, dev);
* func(6, dev);
*
* @param F Macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* this is required to enable providing a comma as separator.
* @param fixed_arg Fixed argument passed to @p F as the second macro parameter.
* @param ... Variable argument list. The macro @p F is invoked as
* <tt>F(element, fixed_arg)</tt> for each element in the list.
*/
#define FOR_EACH_FIXED_ARG(F, sep, fixed_arg, ...) \
Z_FOR_EACH_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__))
/**
* @brief Calls macro @p F for each variable argument with an index and fixed
* argument
*
* This is like the combination of FOR_EACH_IDX() with FOR_EACH_FIXED_ARG().
*
* Example:
*
* #define F(idx, x, fixed_arg) int fixed_arg##idx = x
* FOR_EACH_IDX_FIXED_ARG(F, (;), a, 4, 5, 6);
*
* This expands to:
*
* int a0 = 4;
* int a1 = 5;
* int a2 = 6;
*
* @param F Macro to invoke
* @param sep Separator (e.g. comma or semicolon). Must be in parentheses;
* This is required to enable providing a comma as separator.
* @param fixed_arg Fixed argument passed to @p F as the third macro parameter.
* @param ... Variable list of arguments. The macro @p F is invoked as
* <tt>F(index, element, fixed_arg)</tt> for each element in
* the list.
*/
#define FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, ...) \
Z_FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__))
/** @brief Reverse arguments order.
*
* @param ... Variable argument list.
*/
#define REVERSE_ARGS(...) \
Z_FOR_EACH_ENGINE(Z_FOR_EACH_EXEC, (,), Z_BYPASS, _, __VA_ARGS__)
/**
* @brief Number of arguments in the variable arguments list minus one.
*
* @note Supports up to 64 arguments.
*
* @param ... List of arguments
* @return Number of variadic arguments in the argument list, minus one
*/
#define NUM_VA_ARGS_LESS_1(...) \
NUM_VA_ARGS_LESS_1_IMPL(__VA_ARGS__, 63, 62, 61, \
60, 59, 58, 57, 56, 55, 54, 53, 52, 51, \
50, 49, 48, 47, 46, 45, 44, 43, 42, 41, \
40, 39, 38, 37, 36, 35, 34, 33, 32, 31, \
30, 29, 28, 27, 26, 25, 24, 23, 22, 21, \
20, 19, 18, 17, 16, 15, 14, 13, 12, 11, \
10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, ~)
/**
* @brief Number of arguments in the variable arguments list.
*
* @note Supports up to 63 arguments.
*
* @param ... List of arguments
* @return Number of variadic arguments in the argument list
*/
#define NUM_VA_ARGS(...) \
COND_CODE_1(IS_EMPTY(__VA_ARGS__), (0), (UTIL_INC(NUM_VA_ARGS_LESS_1(__VA_ARGS__))))
/**
* @brief Mapping macro that pastes results together
*
* This is similar to FOR_EACH() in that it invokes a macro repeatedly
* on each element of `__VA_ARGS__`. However, unlike FOR_EACH(),
* MACRO_MAP_CAT() pastes the results together into a single token.
*
* For example, with this macro FOO:
*
* #define FOO(x) item_##x##_
*
* <tt>MACRO_MAP_CAT(FOO, a, b, c),</tt> expands to the token:
*
* item_a_item_b_item_c_
*
* @param ... Macro to expand on each argument, followed by its
* arguments. (The macro should take exactly one argument.)
* @return The results of expanding the macro on each argument, all pasted
* together
*/
#define MACRO_MAP_CAT(...) MACRO_MAP_CAT_(__VA_ARGS__)
/**
* @brief Mapping macro that pastes a fixed number of results together
*
* Similar to @ref MACRO_MAP_CAT(), but expects a fixed number of
* arguments. If more arguments are given than are expected, the rest
* are ignored.
*
* @param N Number of arguments to map
* @param ... Macro to expand on each argument, followed by its
* arguments. (The macro should take exactly one argument.)
* @return The results of expanding the macro on each argument, all pasted
* together
*/
#define MACRO_MAP_CAT_N(N, ...) MACRO_MAP_CAT_N_(N, __VA_ARGS__)
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_MACROS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util_macro.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,032 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_DEVICE_MMIO_H
#define ZEPHYR_INCLUDE_SYS_DEVICE_MMIO_H
#include <zephyr/toolchain.h>
#include <zephyr/linker/sections.h>
/**
* @defgroup device-mmio Device memory-mapped IO management
* @ingroup device_model
*
* Definitions and helper macros for managing driver memory-mapped
* input/output (MMIO) regions appropriately in either RAM or ROM.
*
* In most cases drivers will just want to include device.h, but
* including this separately may be needed for arch-level driver code
* which uses the DEVICE_MMIO_TOPLEVEL variants and including the
* main device.h would introduce header dependency loops due to that
* header's reliance on kernel.h.
*
* @{
*/
/* Storing MMIO addresses in RAM is a system-wide decision based on
* configuration. This is just used to simplify some other definitions.
*
* If we have an MMU enabled, all physical MMIO regions must be mapped into
* the kernel's virtual address space at runtime, this is a hard requirement.
*
* If we have PCIE enabled, this does mean that non-PCIE drivers may waste
* a bit of RAM, but systems with PCI express are not RAM constrained.
*/
#if defined(CONFIG_MMU) || defined(CONFIG_PCIE) || defined(CONFIG_EXTERNAL_ADDRESS_TRANSLATION)
#define DEVICE_MMIO_IS_IN_RAM
#endif
#if defined(CONFIG_EXTERNAL_ADDRESS_TRANSLATION)
#include <zephyr/drivers/mm/system_mm.h>
#endif
#ifndef _ASMLANGUAGE
#include <stdint.h>
#include <stddef.h>
#include <zephyr/kernel/mm.h>
#include <zephyr/sys/sys_io.h>
#ifdef DEVICE_MMIO_IS_IN_RAM
/* Store the physical address and size from DTS, we'll memory
* map into the virtual address space at runtime. This is not applicable
* to PCIe devices, which must query the bus for BAR information.
*/
struct z_device_mmio_rom {
/** MMIO physical address */
uintptr_t phys_addr;
/** MMIO region size */
size_t size;
};
#define Z_DEVICE_MMIO_ROM_INITIALIZER(node_id) \
{ \
.phys_addr = DT_REG_ADDR(node_id), \
.size = DT_REG_SIZE(node_id) \
}
#define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \
{ \
.phys_addr = DT_REG_ADDR_BY_NAME(node_id, name), \
.size = DT_REG_SIZE_BY_NAME(node_id, name) \
}
/**
* Set linear address for device MMIO access
*
* This function sets the `virt_addr` parameter to the correct linear
* address for the MMIO region.
*
* If the MMU is enabled, mappings may be created in the page tables.
*
* Normally, only a caching mode needs to be set for the 'flags' parameter.
* The mapped linear address will have read-write access to supervisor mode.
*
* @see k_map()
*
* @param[out] virt_addr Output linear address storage location, most
* users will want some DEVICE_MMIO_RAM_PTR() value
* @param[in] phys_addr Physical address base of the MMIO region
* @param[in] size Size of the MMIO region
* @param[in] flags Caching mode and access flags, see K_MEM_CACHE_* and
* K_MEM_PERM_* macros
*/
__boot_func
static inline void device_map(mm_reg_t *virt_addr, uintptr_t phys_addr,
size_t size, uint32_t flags)
{
#ifdef CONFIG_MMU
/* Pass along flags and add that we want supervisor mode
* read-write access.
*/
k_mem_map_phys_bare((uint8_t **)virt_addr, phys_addr, size,
flags | K_MEM_PERM_RW);
#else
ARG_UNUSED(size);
ARG_UNUSED(flags);
#ifdef CONFIG_EXTERNAL_ADDRESS_TRANSLATION
sys_mm_drv_page_phys_get((void *) phys_addr, virt_addr);
#else
*virt_addr = phys_addr;
#endif /* CONFIG_EXTERNAL_ADDRESS_TRANSLATION */
#endif /* CONFIG_MMU */
}
#else
/* No MMU or PCIe. Just store the address from DTS and treat as a linear
* address
*/
struct z_device_mmio_rom {
/** MMIO linear address */
mm_reg_t addr;
};
#define Z_DEVICE_MMIO_ROM_INITIALIZER(node_id) \
{ \
.addr = (mm_reg_t)DT_REG_ADDR_U64(node_id) \
}
#define Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id) \
{ \
.addr = (mm_reg_t)DT_REG_ADDR_BY_NAME_U64(node_id, name) \
}
#endif /* DEVICE_MMIO_IS_IN_RAM */
#endif /* !_ASMLANGUAGE */
/** @} */
/**
* @defgroup device-mmio-single Single MMIO region macros
* @ingroup device-mmio
*
* For drivers which need to manage just one MMIO region, the most common
* case.
*
* @{
*/
/**
* @def DEVICE_MMIO_RAM
*
* Declare storage for MMIO information within a device's dev_data struct.
*
* This gets accessed by the DEVICE_MMIO_MAP() and DEVICE_MMIO_GET() macros.
*
* Depending on configuration, no memory may be reserved at all.
* This must be the first member of the data struct.
*
* There must be a corresponding DEVICE_MMIO_ROM in config_info if the
* physical address is known at build time, but may be omitted if not (such
* as with PCIe)
*
* Example for a driver named "foo":
*
* @code{.c}
*
* struct foo_driver_data {
* DEVICE_MMIO_RAM;
* int wibble;
* ...
* }
*
* @endcode
*
* No build-time initialization of this memory is necessary; it
* will be set up in the init function by DEVICE_MMIO_MAP().
*
* A pointer to this memory may be obtained with DEVICE_MMIO_RAM_PTR().
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_RAM mm_reg_t _mmio
#else
#define DEVICE_MMIO_RAM
#endif
#ifdef DEVICE_MMIO_IS_IN_RAM
/**
* Return a pointer to the RAM-based storage area for a device's MMIO
* address.
*
* This is useful for the target MMIO address location when using
* device_map() directly.
*
* @param device device node_id object
* @retval mm_reg_t pointer to storage location
*/
#define DEVICE_MMIO_RAM_PTR(device) (mm_reg_t *)((device)->data)
#endif /* DEVICE_MMIO_IS_IN_RAM */
/**
* @brief Declare storage for MMIO data within a device's config struct
*
* This gets accessed by DEVICE_MMIO_MAP() and DEVICE_MMIO_GET() macros.
*
* What gets stored here varies considerably by configuration.
* This must be the first member of the config struct. There must be
* a corresponding DEVICE_MMIO_RAM in data.
*
* This storage is not used if the device is PCIe and may be omitted.
*
* This should be initialized at build time with information from DTS
* using DEVICE_MMIO_ROM_INIT().
*
* A pointer to this memory may be obtained with DEVICE_MMIO_ROM_PTR().
*
* Example for a driver named "foo":
*
* @code{.c}
*
* struct foo_config {
* DEVICE_MMIO_ROM;
* int baz;
* ...
* }
*
* @endcode
*
* @see DEVICE_MMIO_ROM_INIT()
*/
#define DEVICE_MMIO_ROM struct z_device_mmio_rom _mmio
/**
* Return a pointer to the ROM-based storage area for a device's MMIO
* information. This macro will not work properly if the ROM storage
* was omitted from the config struct declaration, and should not
* be used in this case.
*
* @param dev device instance object
* @retval struct device_mmio_rom * pointer to storage location
*/
#define DEVICE_MMIO_ROM_PTR(dev) \
((struct z_device_mmio_rom *)((dev)->config))
/**
* @brief Initialize a DEVICE_MMIO_ROM member
*
* Initialize MMIO-related information within a specific instance of
* a device config struct, using information from DTS.
*
* Example for a driver belonging to the "foo" subsystem:
*
* @code{.c}
*
* struct foo_config my_config = {
* DEVICE_MMIO_ROM_INIT(DT_DRV_INST(...)),
* .baz = 2;
* ...
* }
*
* @endcode
*
* @see DEVICE_MMIO_ROM()
*
* @param node_id DTS node_id
*/
#define DEVICE_MMIO_ROM_INIT(node_id) \
._mmio = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
/**
* @def DEVICE_MMIO_MAP(device, flags)
*
* @brief Map MMIO memory into the address space
*
* This is not intended for PCIe devices; these must be probed at runtime
* and you will want to make a device_map() call directly, using
* DEVICE_MMIO_RAM_PTR() as the target virtual address location.
*
* The flags argument is currently used for caching mode, which should be
* one of the DEVICE_CACHE_* macros. Unused bits are reserved for future
* expansion.
*
* @param dev Device object instance
* @param flags cache mode flags
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_MAP(dev, flags) \
device_map(DEVICE_MMIO_RAM_PTR(dev), \
DEVICE_MMIO_ROM_PTR(dev)->phys_addr, \
DEVICE_MMIO_ROM_PTR(dev)->size, \
(flags))
#else
#define DEVICE_MMIO_MAP(dev, flags) do { } while (false)
#endif
/**
* @def DEVICE_MMIO_GET(dev)
*
* @brief Obtain the MMIO address for a device
*
* For most microcontrollers MMIO addresses can be fixed values known at
* build time, and we can store this in device->config, residing in ROM.
*
* However, some devices can only know their MMIO addresses at runtime,
* because they need to be memory-mapped into the address space, enumerated
* from PCI, or both.
*
* This macro returns the linear address of the driver's MMIO region.
* This is for drivers which have exactly one MMIO region.
* A call must have been made to device_map() in the driver init function.
*
* @param dev Device object
* @return mm_reg_t linear address of the MMIO region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_GET(dev) (*DEVICE_MMIO_RAM_PTR(dev))
#else
#define DEVICE_MMIO_GET(dev) (DEVICE_MMIO_ROM_PTR(dev)->addr)
#endif
/** @} */
/**
* @defgroup device-mmio-named Named MMIO region macros
* @ingroup device-mmio
*
* For drivers which need to manage multiple MMIO regions, which will
* be referenced by name.
*
* @{
*/
/**
* @def DEVICE_MMIO_NAMED_RAM(name)
*
* @brief Declare storage for MMIO data within a device's dev_data struct
*
* This gets accessed by the DEVICE_MMIO_NAMED_MAP() and
* DEVICE_MMIO_NAMED_GET() macros.
*
* Depending on configuration, no memory may be reserved at all.
* Multiple named regions may be declared.
*
* There must be a corresponding DEVICE_MMIO_ROM in config if the
* physical address is known at build time, but may be omitted if not (such
* as with PCIe.
*
* Example for a driver named "foo":
*
* @code{.c}
*
* struct foo_driver_data {
* int blarg;
* DEVICE_MMIO_NAMED_RAM(corge);
* DEVICE_MMIO_NAMED_RAM(grault);
* int wibble;
* ...
* }
*
* @endcode
*
* No build-time initialization of this memory is necessary; it
* will be set up in the init function by DEVICE_MMIO_NAMED_MAP().
*
* @param name Member name to use to store within dev_data.
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_NAMED_RAM(name) mm_reg_t name
#else
#define DEVICE_MMIO_NAMED_RAM(name)
#endif /* DEVICE_MMIO_IS_IN_RAM */
#ifdef DEVICE_MMIO_IS_IN_RAM
/**
* @brief Return a pointer to the RAM storage for a device's named MMIO address
*
* This macro requires that the macro DEV_DATA is locally defined and returns
* a properly typed pointer to the particular dev_data struct for this driver.
*
* @param dev device instance object
* @param name Member name within dev_data
* @retval mm_reg_t pointer to storage location
*/
#define DEVICE_MMIO_NAMED_RAM_PTR(dev, name) \
(&(DEV_DATA(dev)->name))
#endif /* DEVICE_MMIO_IS_IN_RAM */
/**
* @brief Declare storage for MMIO data within a device's config struct.
*
* This gets accessed by DEVICE_MMIO_NAMED_MAP() and
* DEVICE_MMIO_NAMED_GET() macros.
*
* What gets stored here varies considerably by configuration. Multiple named
* regions may be declared. There must be corresponding entries in the dev_data
* struct.
*
* This storage is not used if the device is PCIe and may be omitted.
*
* If used, this must be initialized at build time with information from DTS
* using DEVICE_MMIO_NAMED_ROM_INIT()
*
* A pointer to this memory may be obtained with DEVICE_MMIO_NAMED_ROM_PTR().
*
* Example for a driver named "foo":
*
* @code{.c}
*
* struct foo_config {
* int bar;
* DEVICE_MMIO_NAMED_ROM(corge);
* DEVICE_MMIO_NAMED_ROM(grault);
* int baz;
* ...
* }
*
* @endcode
*
* @see DEVICE_MMIO_NAMED_ROM_INIT()
*
* @param name Member name to store within config
*/
#define DEVICE_MMIO_NAMED_ROM(name) struct z_device_mmio_rom name
/**
* Return a pointer to the ROM-based storage area for a device's MMIO
* information.
*
* This macro requires that the macro DEV_CFG is locally defined and returns
* a properly typed pointer to the particular config struct for this
* driver.
*
* @param dev device instance object
* @param name Member name within config
* @retval struct device_mmio_rom * pointer to storage location
*/
#define DEVICE_MMIO_NAMED_ROM_PTR(dev, name) (&(DEV_CFG(dev)->name))
/**
* @brief Initialize a named DEVICE_MMIO_NAMED_ROM member
*
* Initialize MMIO-related information within a specific instance of
* a device config struct, using information from DTS.
*
* Example for an instance of a driver belonging to the "foo" subsystem
* that will have two regions named 'corge' and 'grault':
*
* @code{.c}
*
* struct foo_config my_config = {
* bar = 7;
* DEVICE_MMIO_NAMED_ROM_INIT(corge, DT_DRV_INST(...));
* DEVICE_MMIO_NAMED_ROM_INIT(grault, DT_DRV_INST(...));
* baz = 2;
* ...
* }
*
* @endcode
*
* @see DEVICE_MMIO_NAMED_ROM()
*
* @param name Member name within config for the MMIO region
* @param node_id DTS node identifier
*/
#define DEVICE_MMIO_NAMED_ROM_INIT(name, node_id) \
.name = Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
/**
* @brief Initialize a named DEVICE_MMIO_NAMED_ROM member using a named DT
* reg property.
*
* Same as @ref DEVICE_MMIO_NAMED_ROM_INIT but the size and address are taken
* from a named DT reg property.
*
* Example for an instance of a driver belonging to the "foo" subsystem
* that will have two DT-defined regions named 'chip' and 'dale':
*
* @code{.dts}
*
* foo@E5000000 {
* reg = <0xE5000000 0x1000>, <0xE6000000 0x1000>;
* reg-names = "chip", "dale";
* ...
* };
*
* @endcode
*
* @code{.c}
*
* struct foo_config my_config = {
* bar = 7;
* DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(chip, DT_DRV_INST(...));
* DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(dale, DT_DRV_INST(...));
* baz = 2;
* ...
* }
*
* @endcode
*
* @see DEVICE_MMIO_NAMED_ROM_INIT()
*
* @param name Member name within config for the MMIO region and name of the
* reg property in the DT
* @param node_id DTS node identifier
*/
#define DEVICE_MMIO_NAMED_ROM_INIT_BY_NAME(name, node_id) \
.name = Z_DEVICE_MMIO_NAMED_ROM_INITIALIZER(name, node_id)
/**
* @brief Set up memory for a named MMIO region
*
* This performs the necessary PCI probing and/or MMU virtual memory mapping
* such that DEVICE_MMIO_GET(name) returns a suitable linear memory address
* for the MMIO region.
*
* If such operations are not required by the target hardware, this expands
* to nothing.
*
* This should be called from the driver's init function, once for each
* MMIO region that needs to be mapped.
*
* This macro requires that the macros DEV_DATA and DEV_CFG are locally
* defined and return properly typed pointers to the particular dev_data
* and config structs for this driver.
*
* The flags argument is currently used for caching mode, which should be
* one of the DEVICE_CACHE_* macros. Unused bits are reserved for future
* expansion.
*
* @param dev Device object
* @param name Member name for MMIO information, as declared with
* DEVICE_MMIO_NAMED_RAM/DEVICE_MMIO_NAMED_ROM
* @param flags One of the DEVICE_CACHE_* caching modes
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_NAMED_MAP(dev, name, flags) \
device_map(DEVICE_MMIO_NAMED_RAM_PTR((dev), name), \
(DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->phys_addr), \
(DEVICE_MMIO_NAMED_ROM_PTR((dev), name)->size), \
(flags))
#else
#define DEVICE_MMIO_NAMED_MAP(dev, name, flags) do { } while (false)
#endif
/**
* @def DEVICE_MMIO_NAMED_GET(dev, name)
*
* @brief Obtain a named MMIO address for a device
*
* This macro returns the MMIO base address for a named region from the
* appropriate place within the device object's linked data structures.
*
* This is for drivers which have multiple MMIO regions.
*
* This macro requires that the macros DEV_DATA and DEV_CFG are locally
* defined and return properly typed pointers to the particular dev_data
* and config structs for this driver.
*
* @see DEVICE_MMIO_GET
*
* @param dev Device object
* @param name Member name for MMIO information, as declared with
* DEVICE_MMIO_NAMED_RAM/DEVICE_MMIO_NAMED_ROM
* @return mm_reg_t linear address of the MMIO region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_NAMED_GET(dev, name) \
(*DEVICE_MMIO_NAMED_RAM_PTR((dev), name))
#else
#define DEVICE_MMIO_NAMED_GET(dev, name) \
((DEVICE_MMIO_NAMED_ROM_PTR((dev), name))->addr)
#endif /* DEVICE_MMIO_IS_IN_RAM */
/** @} */
/**
* @defgroup device-mmio-toplevel Top-level MMIO region macros
* @ingroup device-mmio
*
* For drivers which do not use Zephyr's driver model and do not
* associate struct device with a driver instance. Top-level storage
* is used instead, with either global or static scope.
*
* This is often useful for interrupt controller and timer drivers.
*
* Currently PCIe devices are not well-supported with this set of macros.
* Either use Zephyr's driver model for these kinds of devices, or
* manage memory manually with calls to device_map().
*
* @{
*/
#define Z_TOPLEVEL_ROM_NAME(name) _CONCAT(z_mmio_rom__, name)
#define Z_TOPLEVEL_RAM_NAME(name) _CONCAT(z_mmio_ram__, name)
/**
* @def DEVICE_MMIO_TOPLEVEL(name, node_id)
*
* @brief Declare top-level storage for MMIO information, global scope
*
* This is intended for drivers which do not use Zephyr's driver model
* of config/dev_data linked to a struct device.
*
* Instead, this is a top-level declaration for the driver's C file.
* The scope of this declaration is global and may be referenced by
* other C files, using DEVICE_MMIO_TOPLEVEL_DECLARE.
*
* @param name Base symbol name
* @param node_id Device-tree node identifier for this region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_TOPLEVEL(name, node_id) \
__pinned_bss \
mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
__pinned_rodata \
const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
#else
#define DEVICE_MMIO_TOPLEVEL(name, node_id) \
__pinned_rodata \
const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
#endif /* DEVICE_MMIO_IS_IN_RAM */
/**
* @def DEVICE_MMIO_TOPLEVEL_DECLARE(name)
*
* Provide an extern reference to a top-level MMIO region
*
* If a top-level MMIO region defined with DEVICE_MMIO_DEFINE needs to be
* referenced from other C files, this macro provides the necessary extern
* definitions.
*
* @see DEVICE_MMIO_TOPLEVEL
*
* @param name Name of the top-level MMIO region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \
extern mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
#else
#define DEVICE_MMIO_TOPLEVEL_DECLARE(name) \
extern const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name)
#endif /* DEVICE_MMIO_IS_IN_RAM */
/**
* @def DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id)
*
* @brief Declare top-level storage for MMIO information, static scope
*
* This is intended for drivers which do not use Zephyr's driver model
* of config/dev_data linked to a struct device.
*
* Instead, this is a top-level declaration for the driver's C file.
* The scope of this declaration is static.
*
* @param name Name of the top-level MMIO region
* @param node_id Device-tree node identifier for this region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \
__pinned_bss \
static mm_reg_t Z_TOPLEVEL_RAM_NAME(name); \
__pinned_rodata \
static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
#else
#define DEVICE_MMIO_TOPLEVEL_STATIC(name, node_id) \
__pinned_rodata \
static const struct z_device_mmio_rom Z_TOPLEVEL_ROM_NAME(name) = \
Z_DEVICE_MMIO_ROM_INITIALIZER(node_id)
#endif /* DEVICE_MMIO_IS_IN_RAM */
#ifdef DEVICE_MMIO_IS_IN_RAM
/**
* @brief Return a pointer to the RAM storage for a device's toplevel MMIO
* address.
*
* @param name Name of toplevel MMIO region
* @retval mm_reg_t pointer to storage location
*/
#define DEVICE_MMIO_TOPLEVEL_RAM_PTR(name) &Z_TOPLEVEL_RAM_NAME(name)
#endif /* DEVICE_MMIO_IS_IN_RAM */
/**
* Return a pointer to the ROM-based storage area for a toplevel MMIO region.
*
* @param name MMIO region name
* @retval struct device_mmio_rom * pointer to storage location
*/
#define DEVICE_MMIO_TOPLEVEL_ROM_PTR(name) &Z_TOPLEVEL_ROM_NAME(name)
/**
* @def DEVICE_MMIO_TOPLEVEL_MAP(name, flags)
*
* @brief Set up memory for a driver'sMMIO region
*
* This performs the necessary MMU virtual memory mapping
* such that DEVICE_MMIO_GET() returns a suitable linear memory address
* for the MMIO region.
*
* If such operations are not required by the target hardware, this expands
* to nothing.
*
* This should be called once from the driver's init function.
*
* The flags argument is currently used for caching mode, which should be
* one of the DEVICE_CACHE_* macros. Unused bits are reserved for future
* expansion.
*
* @param name Name of the top-level MMIO region
* @param flags One of the DEVICE_CACHE_* caching modes
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) \
device_map(&Z_TOPLEVEL_RAM_NAME(name), \
Z_TOPLEVEL_ROM_NAME(name).phys_addr, \
Z_TOPLEVEL_ROM_NAME(name).size, (flags))
#else
#define DEVICE_MMIO_TOPLEVEL_MAP(name, flags) do { } while (false)
#endif
/**
* @def DEVICE_MMIO_TOPLEVEL_GET(name)
*
* @brief Obtain the MMIO address for a device declared top-level
*
* @see DEVICE_MMIO_GET
*
* @param name Name of the top-level MMIO region
* @return mm_reg_t linear address of the MMIO region
*/
#ifdef DEVICE_MMIO_IS_IN_RAM
#define DEVICE_MMIO_TOPLEVEL_GET(name) \
((mm_reg_t)Z_TOPLEVEL_RAM_NAME(name))
#else
#define DEVICE_MMIO_TOPLEVEL_GET(name) \
((mm_reg_t)Z_TOPLEVEL_ROM_NAME(name).addr)
#endif
/** @} */
#endif /* ZEPHYR_INCLUDE_SYS_DEVICE_MMIO_H */
``` | /content/code_sandbox/include/zephyr/sys/device_mmio.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,503 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ERRNO_PRIVATE_H_
#define ZEPHYR_INCLUDE_SYS_ERRNO_PRIVATE_H_
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/* NOTE: located here to avoid include dependency loops between errno.h
* and kernel.h
*/
#ifdef CONFIG_LIBC_ERRNO
#include <errno.h>
static inline int *z_errno(void)
{
return &errno;
}
#elif defined(CONFIG_ERRNO_IN_TLS)
extern __thread int z_errno_var;
static inline int *z_errno(void)
{
return &z_errno_var;
}
#else
/**
* return a pointer to a memory location containing errno
*
* errno is thread-specific, and can't just be a global. This pointer
* is guaranteed to be read/writable from user mode.
*
* @return Memory location of errno data for current thread
*/
__syscall int *z_errno(void);
#endif /* CONFIG_ERRNO_IN_TLS */
#ifdef __cplusplus
}
#endif
#if !defined(CONFIG_ERRNO_IN_TLS) && !defined(CONFIG_LIBC_ERRNO)
#include <zephyr/syscalls/errno_private.h>
#endif /* CONFIG_ERRNO_IN_TLS */
#endif /* ZEPHYR_INCLUDE_SYS_ERRNO_PRIVATE_H_ */
``` | /content/code_sandbox/include/zephyr/sys/errno_private.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 259 |
```objective-c
/*
*
*/
/**
* @file
* @brief Misc utilities
*
* Repetitive or obscure helper macros needed by sys/util.h.
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#include "util_loops.h"
/* IS_ENABLED() helpers */
/* This is called from IS_ENABLED(), and sticks on a "_XXXX" prefix,
* it will now be "_XXXX1" if config_macro is "1", or just "_XXXX" if it's
* undefined.
* ENABLED: Z_IS_ENABLED2(_XXXX1)
* DISABLED Z_IS_ENABLED2(_XXXX)
*/
#define Z_IS_ENABLED1(config_macro) Z_IS_ENABLED2(_XXXX##config_macro)
/* Here's the core trick, we map "_XXXX1" to "_YYYY," (i.e. a string
* with a trailing comma), so it has the effect of making this a
* two-argument tuple to the preprocessor only in the case where the
* value is defined to "1"
* ENABLED: _YYYY, <--- note comma!
* DISABLED: _XXXX
*/
#define _XXXX1 _YYYY,
/* Then we append an extra argument to fool the gcc preprocessor into
* accepting it as a varargs macro.
* arg1 arg2 arg3
* ENABLED: Z_IS_ENABLED3(_YYYY, 1, 0)
* DISABLED Z_IS_ENABLED3(_XXXX 1, 0)
*/
#define Z_IS_ENABLED2(one_or_two_args) Z_IS_ENABLED3(one_or_two_args 1, 0)
/* And our second argument is thus now cooked to be 1 in the case
* where the value is defined to 1, and 0 if not:
*/
#define Z_IS_ENABLED3(ignore_this, val, ...) val
/* Implementation of IS_EQ(). Returns 1 if _0 and _1 are the same integer from
* 0 to 4095, 0 otherwise.
*/
#define Z_IS_EQ(_0, _1) Z_HAS_COMMA(Z_CAT4(Z_IS_, _0, _EQ_, _1)())
/* Used internally by COND_CODE_1 and COND_CODE_0. */
#define Z_COND_CODE_1(_flag, _if_1_code, _else_code) \
__COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
#define Z_COND_CODE_0(_flag, _if_0_code, _else_code) \
__COND_CODE(_ZZZZ##_flag, _if_0_code, _else_code)
#define _ZZZZ0 _YYYY,
#define __COND_CODE(one_or_two_args, _if_code, _else_code) \
__GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
/* Gets second argument and removes brackets around that argument. It
* is expected that the parameter is provided in brackets/parentheses.
*/
#define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
/* Used to remove brackets from around a single argument. */
#define __DEBRACKET(...) __VA_ARGS__
/* Used by IS_EMPTY() */
/* reference: path_to_url */
#define Z_HAS_COMMA(...) \
NUM_VA_ARGS_LESS_1_IMPL(__VA_ARGS__, 1, 1, 1, 1, 1, 1, 1, 1, \
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
#define Z_TRIGGER_PARENTHESIS_(...) ,
#define Z_IS_EMPTY_(...) \
Z_IS_EMPTY__( \
Z_HAS_COMMA(__VA_ARGS__), \
Z_HAS_COMMA(Z_TRIGGER_PARENTHESIS_ __VA_ARGS__), \
Z_HAS_COMMA(__VA_ARGS__ (/*empty*/)), \
Z_HAS_COMMA(Z_TRIGGER_PARENTHESIS_ __VA_ARGS__ (/*empty*/)))
#define Z_CAT4(_0, _1, _2, _3) _0 ## _1 ## _2 ## _3
#define Z_CAT5(_0, _1, _2, _3, _4) _0 ## _1 ## _2 ## _3 ## _4
#define Z_IS_EMPTY__(_0, _1, _2, _3) \
Z_HAS_COMMA(Z_CAT5(Z_IS_EMPTY_CASE_, _0, _1, _2, _3))
#define Z_IS_EMPTY_CASE_0001 ,
/* Used by LIST_DROP_EMPTY() */
/* Adding ',' after each element would add empty element at the end of
* list, which is hard to remove, so instead precede each element with ',',
* this way first element is empty, and this one is easy to drop.
*/
#define Z_LIST_ADD_ELEM(e) EMPTY, e
#define Z_LIST_DROP_FIRST(...) GET_ARGS_LESS_N(1, __VA_ARGS__)
#define Z_LIST_NO_EMPTIES(e) \
COND_CODE_1(IS_EMPTY(e), (), (Z_LIST_ADD_ELEM(e)))
#define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__)
#define UTIL_PRIMITIVE_CAT(a, ...) a##__VA_ARGS__
#define UTIL_CHECK_N(x, n, ...) n
#define UTIL_CHECK(...) UTIL_CHECK_N(__VA_ARGS__, 0,)
#define UTIL_NOT(x) UTIL_CHECK(UTIL_PRIMITIVE_CAT(UTIL_NOT_, x))
#define UTIL_NOT_0 ~, 1,
#define UTIL_COMPL(b) UTIL_PRIMITIVE_CAT(UTIL_COMPL_, b)
#define UTIL_COMPL_0 1
#define UTIL_COMPL_1 0
#define UTIL_BOOL(x) UTIL_COMPL(UTIL_NOT(x))
#define UTIL_EVAL(...) __VA_ARGS__
#define UTIL_EXPAND(...) __VA_ARGS__
#define UTIL_REPEAT(...) UTIL_LISTIFY(__VA_ARGS__)
#define _CONCAT_0(arg, ...) arg
#define _CONCAT_1(arg, ...) UTIL_CAT(arg, _CONCAT_0(__VA_ARGS__))
#define _CONCAT_2(arg, ...) UTIL_CAT(arg, _CONCAT_1(__VA_ARGS__))
#define _CONCAT_3(arg, ...) UTIL_CAT(arg, _CONCAT_2(__VA_ARGS__))
#define _CONCAT_4(arg, ...) UTIL_CAT(arg, _CONCAT_3(__VA_ARGS__))
#define _CONCAT_5(arg, ...) UTIL_CAT(arg, _CONCAT_4(__VA_ARGS__))
#define _CONCAT_6(arg, ...) UTIL_CAT(arg, _CONCAT_5(__VA_ARGS__))
#define _CONCAT_7(arg, ...) UTIL_CAT(arg, _CONCAT_6(__VA_ARGS__))
/* Implementation details for NUM_VA_ARGS_LESS_1 */
#define NUM_VA_ARGS_LESS_1_IMPL( \
_ignored, \
_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, _20, \
_21, _22, _23, _24, _25, _26, _27, _28, _29, _30, \
_31, _32, _33, _34, _35, _36, _37, _38, _39, _40, \
_41, _42, _43, _44, _45, _46, _47, _48, _49, _50, \
_51, _52, _53, _54, _55, _56, _57, _58, _59, _60, \
_61, _62, N, ...) N
/* Used by MACRO_MAP_CAT */
#define MACRO_MAP_CAT_(...) \
/* To make sure it works also for 2 arguments in total */ \
MACRO_MAP_CAT_N(NUM_VA_ARGS_LESS_1(__VA_ARGS__), __VA_ARGS__)
#define MACRO_MAP_CAT_N_(N, ...) UTIL_CAT(MACRO_MC_, N)(__VA_ARGS__,)
#define MACRO_MC_0(...)
#define MACRO_MC_1(m, a, ...) m(a)
#define MACRO_MC_2(m, a, ...) UTIL_CAT(m(a), MACRO_MC_1(m, __VA_ARGS__,))
#define MACRO_MC_3(m, a, ...) UTIL_CAT(m(a), MACRO_MC_2(m, __VA_ARGS__,))
#define MACRO_MC_4(m, a, ...) UTIL_CAT(m(a), MACRO_MC_3(m, __VA_ARGS__,))
#define MACRO_MC_5(m, a, ...) UTIL_CAT(m(a), MACRO_MC_4(m, __VA_ARGS__,))
#define MACRO_MC_6(m, a, ...) UTIL_CAT(m(a), MACRO_MC_5(m, __VA_ARGS__,))
#define MACRO_MC_7(m, a, ...) UTIL_CAT(m(a), MACRO_MC_6(m, __VA_ARGS__,))
#define MACRO_MC_8(m, a, ...) UTIL_CAT(m(a), MACRO_MC_7(m, __VA_ARGS__,))
#define MACRO_MC_9(m, a, ...) UTIL_CAT(m(a), MACRO_MC_8(m, __VA_ARGS__,))
#define MACRO_MC_10(m, a, ...) UTIL_CAT(m(a), MACRO_MC_9(m, __VA_ARGS__,))
#define MACRO_MC_11(m, a, ...) UTIL_CAT(m(a), MACRO_MC_10(m, __VA_ARGS__,))
#define MACRO_MC_12(m, a, ...) UTIL_CAT(m(a), MACRO_MC_11(m, __VA_ARGS__,))
#define MACRO_MC_13(m, a, ...) UTIL_CAT(m(a), MACRO_MC_12(m, __VA_ARGS__,))
#define MACRO_MC_14(m, a, ...) UTIL_CAT(m(a), MACRO_MC_13(m, __VA_ARGS__,))
#define MACRO_MC_15(m, a, ...) UTIL_CAT(m(a), MACRO_MC_14(m, __VA_ARGS__,))
/* Used by Z_IS_EQ */
#include "util_internal_is_eq.h"
/*
* Generic sparse list of odd numbers (check the implementation of
* GPIO_DT_RESERVED_RANGES_NGPIOS as a usage example)
*/
#define Z_SPARSE_LIST_ODD_NUMBERS \
EMPTY, 1, EMPTY, 3, EMPTY, 5, EMPTY, 7, \
EMPTY, 9, EMPTY, 11, EMPTY, 13, EMPTY, 15, \
EMPTY, 17, EMPTY, 19, EMPTY, 21, EMPTY, 23, \
EMPTY, 25, EMPTY, 27, EMPTY, 29, EMPTY, 31, \
EMPTY, 33, EMPTY, 35, EMPTY, 37, EMPTY, 39, \
EMPTY, 41, EMPTY, 43, EMPTY, 45, EMPTY, 47, \
EMPTY, 49, EMPTY, 51, EMPTY, 53, EMPTY, 55, \
EMPTY, 57, EMPTY, 59, EMPTY, 61, EMPTY, 63
/*
* Generic sparse list of even numbers (check the implementation of
* GPIO_DT_RESERVED_RANGES_NGPIOS as a usage example)
*/
#define Z_SPARSE_LIST_EVEN_NUMBERS \
0, EMPTY, 2, EMPTY, 4, EMPTY, 6, EMPTY, \
8, EMPTY, 10, EMPTY, 12, EMPTY, 14, EMPTY, \
16, EMPTY, 18, EMPTY, 20, EMPTY, 22, EMPTY, \
24, EMPTY, 26, EMPTY, 28, EMPTY, 30, EMPTY, \
32, EMPTY, 34, EMPTY, 36, EMPTY, 38, EMPTY, \
40, EMPTY, 42, EMPTY, 44, EMPTY, 46, EMPTY, \
48, EMPTY, 50, EMPTY, 52, EMPTY, 54, EMPTY, \
56, EMPTY, 58, EMPTY, 60, EMPTY, 62, EMPTY
/* Used by UTIL_INC */
#include "util_internal_util_inc.h"
/* Used by UTIL_DEC */
#include "util_internal_util_dec.h"
/* Used by UTIL_X2 */
#include "util_internal_util_x2.h"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util_internal.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,797 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_POWEROFF_H_
#define ZEPHYR_INCLUDE_SYS_POWEROFF_H_
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup sys_poweroff System power off
* @ingroup os_services
* @{
*/
/** @cond INTERNAL_HIDDEN */
/**
* @brief System power off hook.
*
* This function needs to be implemented in platform code. It must only
* perform an immediate power off of the system.
*/
FUNC_NORETURN void z_sys_poweroff(void);
/** @} */
/** @endcond */
/**
* @brief Perform a system power off.
*
* This function will perform an immediate power off of the system. It is the
* responsibility of the caller to ensure that the system is in a safe state to
* be powered off. Any required wake up sources must be enabled before calling
* this function.
*
* @kconfig{CONFIG_POWEROFF} needs to be enabled to use this API.
*/
FUNC_NORETURN void sys_poweroff(void);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_POWEROFF_H_ */
``` | /content/code_sandbox/include/zephyr/sys/poweroff.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 253 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASHMAP_API_H_
#define ZEPHYR_INCLUDE_SYS_HASHMAP_API_H_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/sys/hash_function.h>
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file
* @defgroup hashmap_apis Hashmap
* @ingroup datastructure_apis
*
* @brief Hashmap (Hash Table) API
*
* Hashmaps (a.k.a Hash Tables) sacrifice space for speed. All operations
* on a Hashmap (insert, delete, search) are O(1) complexity (on average).
*
* @defgroup hashmap_implementations Hashmap Implementations
* @ingroup hashmap_apis
*
* @addtogroup hashmap_apis
* @{
*/
/**
* @brief Generic Hashmap iterator interface
*
* @note @a next should not be used without first checking
* @ref sys_hashmap_iterator_has_next
*/
struct sys_hashmap_iterator {
/** Pointer to the associated Hashmap */
const struct sys_hashmap *map;
/** Modify the iterator in-place to point to the next Hashmap entry */
void (*next)(struct sys_hashmap_iterator *it);
/** Implementation-specific iterator state */
void *state;
/** Key associated with the current entry */
uint64_t key;
/** Value associated with the current entry */
uint64_t value;
/** Number of entries in the map */
const size_t size;
/** Number of entries already iterated */
size_t pos;
};
/**
* @brief Check if a Hashmap iterator has a next entry
*
* @param it Hashmap iterator
* @return true if there is a next entry
* @return false if there is no next entry
*/
static inline bool sys_hashmap_iterator_has_next(const struct sys_hashmap_iterator *it)
{
return it->pos < it->size;
}
/**
* @brief Allocator interface for @ref sys_hashmap
*
* The Hashmap allocator can be any allocator that behaves similarly to `realloc()` with the
* additional specification that the allocator behaves like `free()` when @p new_size is zero.
*
* @param ptr Previously allocated memory region or `NULL` to make a new vallocation.
* @param new_size the new size of the allocation, in bytes.
*
* @see <a href="path_to_url">realloc</a>
*/
typedef void *(*sys_hashmap_allocator_t)(void *ptr, size_t new_size);
/**
* @brief In-place iterator constructor for @ref sys_hashmap
*
* Construct an iterator, @p it, for @p map.
*
* @param map Hashmap to iterate over.
* @param it Iterator to initialize.
*/
typedef void (*sys_hashmap_iterator_t)(const struct sys_hashmap *map,
struct sys_hashmap_iterator *it);
/**
* @brief Callback interface for @ref sys_hashmap
*
* This callback is used by some Hashmap methods.
*
* @param key Key corresponding to @p value
* @param value Value corresponding to @p key
* @param cookie User-specified variable
*/
typedef void (*sys_hashmap_callback_t)(uint64_t key, uint64_t value, void *cookie);
/**
* @brief Clear all entries contained in a @ref sys_hashmap
*
* @note If the values in a particular Hashmap are
*
* @param map Hashmap to clear
* @param cb Callback to call for each entry
* @param cookie User-specified variable
*/
typedef void (*sys_hashmap_clear_t)(struct sys_hashmap *map, sys_hashmap_callback_t cb,
void *cookie);
/**
* @brief Insert a new entry into a @ref sys_hashmap
*
* Insert a new @p key - @p value pair into @p map.
*
* @param map Hashmap to insert into
* @param key Key to associate with @p value
* @param value Value to associate with @p key
* @param old_value Location to store the value previously associated with @p key or `NULL`
* @retval 0 if @p value was inserted for an existing key, in which case @p old_value will contain
* the previous value
* @retval 1 if a new entry was inserted for the @p key - @p value pair
* @retval -ENOMEM if memory allocation failed
*/
typedef int (*sys_hashmap_insert_t)(struct sys_hashmap *map, uint64_t key, uint64_t value,
uint64_t *old_value);
/**
* @brief Remove an entry from a @ref sys_hashmap
*
* Erase the entry associated with key @p key, if one exists.
*
* @param map Hashmap to remove from
* @param key Key to remove from @p map
* @param value Location to store a potential value associated with @p key or `NULL`
*
* @retval true if @p map was modified as a result of this operation.
* @retval false if @p map does not contain a value associated with @p key.
*/
typedef bool (*sys_hashmap_remove_t)(struct sys_hashmap *map, uint64_t key, uint64_t *value);
/**
* @brief Get a value from a @ref sys_hashmap
*
* Look-up the @ref uint64_t associated with @p key, if one exists.
*
* @param map Hashmap to search through
* @param key Key with which to search @p map
* @param value Location to store a potential value associated with @p key or `NULL`
*
* @retval true if @p map contains a value associated with @p key.
* @retval false if @p map does not contain a value associated with @p key.
*/
typedef bool (*sys_hashmap_get_t)(const struct sys_hashmap *map, uint64_t key, uint64_t *value);
/**
* @brief Generic Hashmap API
*/
struct sys_hashmap_api {
/** Iterator constructor (in-place) */
sys_hashmap_iterator_t iter;
/** Clear the hash table, freeing all resources */
sys_hashmap_clear_t clear;
/** Insert a key-value pair into the Hashmap */
sys_hashmap_insert_t insert;
/** Remove a key-value pair from the Hashmap */
sys_hashmap_remove_t remove;
/** Retrieve the value associated with a given key from the Hashmap */
sys_hashmap_get_t get;
};
/**
* @brief Generic Hashmap configuration
*
* When there is a known limit imposed on the number of entries in the Hashmap,
* users should specify that via @a max_size. When the Hashmap should have
* no artificial limitation in size (and be bounded only by the provided
* allocator), users should specify `SIZE_MAX` here.
*
* The @a load_factor is defined as the size of the Hashmap divided by the
* number of buckets. In this case, the size of the Hashmap is defined as
* the number of valid entries plus the number of invalidated entries.
*
* The @a initial_n_buckets is defined as the number of buckets to allocate
* when moving from size 0 to size 1 such that the maximum @a load_factor
* property is preserved.
*/
struct sys_hashmap_config {
/** Maximum number of entries */
size_t max_size;
/** Maximum load factor expressed in hundredths */
uint8_t load_factor;
/** Initial number of buckets to allocate */
uint8_t initial_n_buckets;
};
/**
* @brief Initializer for @p sys_hashmap_config
*
* This macro helps to initialize a structure of type @p sys_hashmap_config.
*
* @param _max_size Maximum number of entries
* @param _load_factor Maximum load factor of expressed in hundredths
*/
#define SYS_HASHMAP_CONFIG(_max_size, _load_factor) \
{ \
.max_size = (size_t)_max_size, .load_factor = (uint8_t)_load_factor, \
.initial_n_buckets = NHPOT(DIV_ROUND_UP(100, _load_factor)), \
}
/**
* @brief Generic Hashmap data
*
* @note When @a size is zero, @a buckets should be `NULL`.
*/
struct sys_hashmap_data {
/** Pointer for implementation-specific Hashmap storage */
void *buckets;
/** The number of buckets currently allocated */
size_t n_buckets;
/** The number of entries currently in the Hashmap */
size_t size;
};
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASHMAP_API_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_map_api.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,812 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_BITARRAY_H_
#define ZEPHYR_INCLUDE_SYS_BITARRAY_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
/**
* @file
*
* @defgroup bitarray_apis Bit array
* @ingroup datastructure_apis
*
* @brief Store and manipulate bits in a bit array.
*
* @{
*/
/** @cond INTERNAL_HIDDEN */
struct sys_bitarray {
/* Number of bits */
uint32_t num_bits;
/* Number of bundles */
uint32_t num_bundles;
/* Bundle of bits */
uint32_t *bundles;
/* Spinlock guarding access to this bit array */
struct k_spinlock lock;
};
/** @endcond */
/** Bitarray structure */
typedef struct sys_bitarray sys_bitarray_t;
/**
* @brief Create a bitarray object.
*
* @param name Name of the bitarray object.
* @param total_bits Total number of bits in this bitarray object.
* @param sba_mod Modifier to the bitarray variables.
*/
#define _SYS_BITARRAY_DEFINE(name, total_bits, sba_mod) \
sba_mod uint32_t _sys_bitarray_bundles_##name \
[DIV_ROUND_UP(DIV_ROUND_UP(total_bits, 8), \
sizeof(uint32_t))] = {0}; \
sba_mod sys_bitarray_t name = { \
.num_bits = (total_bits), \
.num_bundles = DIV_ROUND_UP( \
DIV_ROUND_UP(total_bits, 8), sizeof(uint32_t)), \
.bundles = _sys_bitarray_bundles_##name, \
}
/**
* @brief Create a bitarray object.
*
* @param name Name of the bitarray object.
* @param total_bits Total number of bits in this bitarray object.
*/
#define SYS_BITARRAY_DEFINE(name, total_bits) \
_SYS_BITARRAY_DEFINE(name, total_bits,)
/**
* @brief Create a static bitarray object.
*
* @param name Name of the bitarray object.
* @param total_bits Total number of bits in this bitarray object.
*/
#define SYS_BITARRAY_DEFINE_STATIC(name, total_bits) \
_SYS_BITARRAY_DEFINE(name, total_bits, static)
/**
* Set a bit in a bit array
*
* @param[in] bitarray Bitarray struct
* @param[in] bit The bit to be set
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to set exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_set_bit(sys_bitarray_t *bitarray, size_t bit);
/**
* Clear a bit in a bit array
*
* @param[in] bitarray Bitarray struct
* @param[in] bit The bit to be cleared
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to clear exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_clear_bit(sys_bitarray_t *bitarray, size_t bit);
/**
* Test whether a bit is set or not
*
* @param[in] bitarray Bitarray struct
* @param[in] bit The bit to be tested
* @param[out] val The value of the bit (0 or 1)
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to test exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_test_bit(sys_bitarray_t *bitarray, size_t bit, int *val);
/**
* Test the bit and set it
*
* @param[in] bitarray Bitarray struct
* @param[in] bit The bit to be tested and set
* @param[out] prev_val Previous value of the bit (0 or 1)
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to test exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val);
/**
* Test the bit and clear it
*
* @param[in] bitarray Bitarray struct
* @param[in] bit The bit to be tested and cleared
* @param[out] prev_val Previous value of the bit (0 or 1)
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to test exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val);
/**
* Allocate bits in a bit array
*
* This finds a number of bits (@p num_bits) in a contiguous of
* previously unallocated region. If such a region exists, the bits are
* marked as allocated and the offset to the start of this region is
* returned via @p offset.
*
* @param[in] bitarray Bitarray struct
* @param[in] num_bits Number of bits to allocate
* @param[out] offset Offset to the start of allocated region if
* successful
*
* @retval 0 Allocation successful
* @retval -EINVAL Invalid argument (e.g. allocating more bits than
* the bitarray has, trying to allocate 0 bits, etc.)
* @retval -ENOSPC No contiguous region big enough to accommodate
* the allocation
*/
int sys_bitarray_alloc(sys_bitarray_t *bitarray, size_t num_bits,
size_t *offset);
/**
* Calculates the bit-wise XOR of two bitarrays in a region.
* The result is stored in the first bitarray passed in (@p dst).
* Both bitarrays must be of the same size.
*
* @param dst Bitarray struct
* @param other Bitarray struct
* @param num_bits Number of bits in the region, must be larger than 0
* @param offset Starting bit location
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. out-of-bounds access, mismatching bitarrays, trying to xor
* 0 bits, etc.)
*/
int sys_bitarray_xor(sys_bitarray_t *dst, sys_bitarray_t *other, size_t num_bits, size_t offset);
/**
* Find nth bit set in region
*
* This counts the number of bits set (@p count) in a
* region (@p offset, @p num_bits) and returns the index (@p found_at)
* of the nth set bit, if it exists, as long with a zero return value.
*
* If it does not exist, @p found_at is not updated and the method returns
*
* @param[in] bitarray Bitarray struct
* @param[in] n Nth bit set to look for
* @param[in] num_bits Number of bits to check, must be larger than 0
* @param[in] offset Starting bit position
* @param[out] found_at Index of the nth bit set, if found
*
* @retval 0 Operation successful
* @retval 1 Nth bit set was not found in region
* @retval -EINVAL Invalid argument (e.g. out-of-bounds access, trying to count 0 bits, etc.)
*/
int sys_bitarray_find_nth_set(sys_bitarray_t *bitarray, size_t n, size_t num_bits, size_t offset,
size_t *found_at);
/**
* Count bits set in a bit array region
*
* This counts the number of bits set (@p count) in a
* region (@p offset, @p num_bits).
*
* @param[in] bitarray Bitarray struct
* @param[in] num_bits Number of bits to check, must be larger than 0
* @param[in] offset Starting bit position
* @param[out] count Number of bits set in the region if successful
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. out-of-bounds access, trying to count 0 bits, etc.)
*/
int sys_bitarray_popcount_region(sys_bitarray_t *bitarray, size_t num_bits, size_t offset,
size_t *count);
/**
* Free bits in a bit array
*
* This marks the number of bits (@p num_bits) starting from @p offset
* as no longer allocated.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to free
* @param offset Starting bit position to free
*
* @retval 0 Free is successful
* @retval -EINVAL Invalid argument (e.g. try to free more bits than
* the bitarray has, trying to free 0 bits, etc.)
* @retval -EFAULT The bits in the indicated region are not all allocated.
*/
int sys_bitarray_free(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset);
/**
* Test if bits in a region is all set.
*
* This tests if the number of bits (@p num_bits) in region starting
* from @p offset are all set.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to test
* @param offset Starting bit position to test
*
* @retval true All bits are set.
* @retval false Not all bits are set.
*/
bool sys_bitarray_is_region_set(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset);
/**
* Test if bits in a region is all cleared.
*
* This tests if the number of bits (@p num_bits) in region starting
* from @p offset are all cleared.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to test
* @param offset Starting bit position to test
*
* @retval true All bits are cleared.
* @retval false Not all bits are cleared.
*/
bool sys_bitarray_is_region_cleared(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset);
/**
* Set all bits in a region.
*
* This sets the number of bits (@p num_bits) in region starting
* from @p offset.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to test
* @param offset Starting bit position to test
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to set exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_set_region(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset);
/**
* Test if all bits in a region are cleared/set and set/clear them
* in a single atomic operation
*
* This checks if all the bits (@p num_bits) in region starting
* from @p offset are in required state. If even one bit is not,
* -EEXIST is returned. If the whole region is set/cleared
* it is set to opposite state. The check and set is performed as a single
* atomic operation.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to test and set
* @param offset Starting bit position to test and set
* @param to_set if true the region will be set if all bits are cleared
* if false the region will be cleard if all bits are set
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to set exceeds
* the number of bits in bit array, etc.)
* @retval -EEXIST at least one bit in the region is set/cleared,
* operation cancelled
*/
int sys_bitarray_test_and_set_region(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset, bool to_set);
/**
* Clear all bits in a region.
*
* This clears the number of bits (@p num_bits) in region starting
* from @p offset.
*
* @param bitarray Bitarray struct
* @param num_bits Number of bits to test
* @param offset Starting bit position to test
*
* @retval 0 Operation successful
* @retval -EINVAL Invalid argument (e.g. bit to set exceeds
* the number of bits in bit array, etc.)
*/
int sys_bitarray_clear_region(sys_bitarray_t *bitarray, size_t num_bits,
size_t offset);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_BITARRAY_H_ */
``` | /content/code_sandbox/include/zephyr/sys/bitarray.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,761 |
```objective-c
/*
*/
#ifndef ZEPHYR_INCLUDE_SYS_WINSTREAM_H_
#define ZEPHYR_INCLUDE_SYS_WINSTREAM_H_
#include <stdint.h>
/** @brief Lockless shared memory byte stream IPC
*
* The sys_winstream utility implements a unidirectional byte stream
* with simple read/write semantics on top of a memory region shared
* by the writer and reader. It requires no locking or
* synchronization mechanisms beyond reliable ordering of memory
* operations, and so is a good fit for use with heterogeneous shared
* memory environments (for example, where Zephyr needs to talk to
* other CPUs in the system running their own software).
*
* This object does not keep track of the last sequence number read: the
* reader must keep that state and provide it on every read
* operation. After reaching "steady state", 'end' and 'start' are one
* byte apart because the buffer is always full.
*/
struct sys_winstream {
uint32_t len; /* Length of data[] in bytes */
uint32_t start; /* Index of first valid byte in data[] */
uint32_t end; /* Index of next byte in data[] to write */
uint32_t seq; /* Mod-2^32 index of 'end' since stream init */
uint8_t data[];
};
/** @brief Construct a sys_winstream from a region of memory
*
* This function initializes a sys_winstream in an arbitrarily-sized
* region of memory, returning the resulting object (which is
* guaranteed to be at the same address as the buffer). The memory
* must (obviously) be shared between the reader and writer, and all
* operations to it must be coherent and consistently ordered.
*
* @param buf Pointer to a region of memory to contain the stream
* @param buflen Length of the buffer, must be large enough to contain
* the struct sys_winstream and at least one byte of
* data.
* @return A pointer to an initialized sys_winstream (same address as
* the buf parameter).
*/
static inline struct sys_winstream *sys_winstream_init(void *buf, int buflen)
{
struct sys_winstream *ws = buf, tmp = { .len = buflen - sizeof(*ws) };
*ws = tmp;
return ws;
}
/** @brief Write bytes to a sys_winstream
*
* This function writes the specified number of bytes into the stream.
* It will always return synchronously, it does not block or engage in
* any kind of synchronization beyond memory write ordering. Any
* bytes passed beyond what can be stored in the buffer will be
* silently dropped, but readers can detect their presence via the
* sequence number.
*
* @param ws A sys_winstream to which to write
* @param data Pointer to bytes to be written
* @param len Number of bytes to write
*/
void sys_winstream_write(struct sys_winstream *ws,
const char *data, uint32_t len);
/** @brief Read bytes from a sys_winstream
*
* This function will read bytes from a sys_winstream into a specified
* buffer. It will always return in constant time, it does not block
* or engage in any kind of synchronization beyond memory ordering.
* The number of bytes read into the buffer will be returned, but note
* that it is possible that an underflow can occur if the writer gets
* ahead of our context. That situation can be detected via the
* sequence number returned via a pointer (i.e. if "*seq != old_seq +
* return_value", an underflow occurred and bytes were dropped).
*
* @param ws A sys_winstream from which to read
* @param seq A pointer to an integer containing the last sequence
* number read from the stream, or zero to indicate "start
* of stream". It is updated in place and returned for
* future calls and for detecting underflows.
* @param buf A buffer into which to store the data read
* @param buflen The length of buf in bytes
* @return The number of bytes written into the buffer
*/
uint32_t sys_winstream_read(struct sys_winstream *ws,
uint32_t *seq, char *buf, uint32_t buflen);
#endif /* ZEPHYR_INCLUDE_SYS_WINSTREAM_H_ */
``` | /content/code_sandbox/include/zephyr/sys/winstream.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 908 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_CBPRINTF_CXX_H_
#define ZEPHYR_INCLUDE_SYS_CBPRINTF_CXX_H_
#ifdef __cplusplus
/* C++ version for detecting a pointer to a string. */
static inline int z_cbprintf_cxx_is_pchar(char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const char *, bool const_as_fixed)
{
return const_as_fixed ? 0 : 1;
}
static inline int z_cbprintf_cxx_is_pchar(volatile char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const volatile char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(unsigned char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const unsigned char *, bool const_as_fixed)
{
return const_as_fixed ? 0 : 1;
}
static inline int z_cbprintf_cxx_is_pchar(volatile unsigned char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const volatile unsigned char *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(wchar_t *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const wchar_t *, bool const_as_fixed)
{
return const_as_fixed ? 0 : 1;
}
static inline int z_cbprintf_cxx_is_pchar(volatile wchar_t *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
static inline int z_cbprintf_cxx_is_pchar(const volatile wchar_t *, bool const_as_fixed)
{
ARG_UNUSED(const_as_fixed);
return 1;
}
template < typename T >
static inline int z_cbprintf_cxx_is_pchar(T arg, bool const_as_fixed)
{
ARG_UNUSED(arg);
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wpointer-arith\"")
ARG_UNUSED(const_as_fixed);
return 0;
_Pragma("GCC diagnostic pop")
}
/* C++ version for determining if variable type is numeric and fits in 32 bit word. */
static inline int z_cbprintf_cxx_is_word_num(char)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(unsigned char)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(short)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(unsigned short)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(int)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(unsigned int)
{
return 1;
}
static inline int z_cbprintf_cxx_is_word_num(long)
{
return (sizeof(long) <= sizeof(uint32_t)) ? 1 : 0;
}
static inline int z_cbprintf_cxx_is_word_num(unsigned long)
{
return (sizeof(long) <= sizeof(uint32_t)) ? 1 : 0;
}
template < typename T >
static inline int z_cbprintf_cxx_is_word_num(T arg)
{
ARG_UNUSED(arg);
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wpointer-arith\"")
return 0;
_Pragma("GCC diagnostic pop")
}
/* C++ version for determining if argument is a none character pointer. */
static inline int z_cbprintf_cxx_is_none_char_ptr(char)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned char)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(short)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned short)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(int)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned int)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(long)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned long)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(long long)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned long long)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(float)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(double)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(volatile char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(const char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(const volatile char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(unsigned char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(volatile unsigned char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(const unsigned char *)
{
return 0;
}
static inline int z_cbprintf_cxx_is_none_char_ptr(const volatile unsigned char *)
{
return 0;
}
template < typename T >
static inline int z_cbprintf_cxx_is_none_char_ptr(T arg)
{
ARG_UNUSED(arg);
return 1;
}
/* C++ version for calculating argument size. */
static inline size_t z_cbprintf_cxx_arg_size(float f)
{
ARG_UNUSED(f);
return sizeof(double);
}
template < typename T >
static inline size_t z_cbprintf_cxx_arg_size(T arg)
{
ARG_UNUSED(arg);
return MAX(sizeof(T), sizeof(int));
}
/* C++ version for storing arguments. */
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, float arg)
{
double d = (double)arg;
void *p = &d;
z_cbprintf_wcpy((int *)dst, (int *)p, sizeof(d) / sizeof(int));
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, void *p)
{
z_cbprintf_wcpy((int *)dst, (int *)&p, sizeof(p) / sizeof(int));
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, char arg)
{
int tmp = arg + 0;
z_cbprintf_wcpy((int *)dst, &tmp, 1);
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, unsigned char arg)
{
int tmp = arg + 0;
z_cbprintf_wcpy((int *)dst, &tmp, 1);
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, signed char arg)
{
int tmp = arg + 0;
z_cbprintf_wcpy((int *)dst, &tmp, 1);
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, short arg)
{
int tmp = arg + 0;
z_cbprintf_wcpy((int *)dst, &tmp, 1);
}
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, unsigned short arg)
{
int tmp = arg + 0;
z_cbprintf_wcpy((int *)dst, &tmp, 1);
}
template < typename T >
static inline void z_cbprintf_cxx_store_arg(uint8_t *dst, T arg)
{
size_t wlen = z_cbprintf_cxx_arg_size(arg) / sizeof(int);
void *p = &arg;
z_cbprintf_wcpy((int *)dst, (int *)p, wlen);
}
/* C++ version for long double detection. */
static inline int z_cbprintf_cxx_is_longdouble(long double arg)
{
ARG_UNUSED(arg);
return 1;
}
template < typename T >
static inline int z_cbprintf_cxx_is_longdouble(T arg)
{
ARG_UNUSED(arg);
return 0;
}
/* C++ version for calculating argument alignment. */
static inline size_t z_cbprintf_cxx_alignment(float arg)
{
ARG_UNUSED(arg);
return VA_STACK_ALIGN(double);
}
static inline size_t z_cbprintf_cxx_alignment(double arg)
{
ARG_UNUSED(arg);
return VA_STACK_ALIGN(double);
}
static inline size_t z_cbprintf_cxx_alignment(long double arg)
{
ARG_UNUSED(arg);
return VA_STACK_ALIGN(long double);
}
static inline size_t z_cbprintf_cxx_alignment(long long arg)
{
ARG_UNUSED(arg);
return VA_STACK_ALIGN(long long);
}
static inline size_t z_cbprintf_cxx_alignment(unsigned long long arg)
{
ARG_UNUSED(arg);
return VA_STACK_ALIGN(long long);
}
template < typename T >
static inline size_t z_cbprintf_cxx_alignment(T arg)
{
return MAX(__alignof__(arg), VA_STACK_MIN_ALIGN);
}
/* C++ version for checking if two arguments are same type */
template < typename T1, typename T2 >
struct z_cbprintf_cxx_is_same_type {
enum {
value = false
};
};
template < typename T >
struct z_cbprintf_cxx_is_same_type < T, T > {
enum {
value = true
};
};
template < typename T >
struct z_cbprintf_cxx_remove_reference {
typedef T type;
};
template < typename T >
struct z_cbprintf_cxx_remove_reference < T & > {
typedef T type;
};
#if __cplusplus >= 201103L
template < typename T >
struct z_cbprintf_cxx_remove_reference < T && > {
typedef T type;
};
#endif
template < typename T >
struct z_cbprintf_cxx_remove_cv {
typedef T type;
};
template < typename T >
struct z_cbprintf_cxx_remove_cv < const T > {
typedef T type;
};
template < typename T >
struct z_cbprintf_cxx_remove_cv < volatile T > {
typedef T type;
};
template < typename T >
struct z_cbprintf_cxx_remove_cv < const volatile T > {
typedef T type;
};
/* Determine if a type is an array */
template < typename T >
struct z_cbprintf_cxx_is_array {
enum {
value = false
};
};
template < typename T >
struct z_cbprintf_cxx_is_array < T[] > {
enum {
value = true
};
};
template < typename T, size_t N >
struct z_cbprintf_cxx_is_array < T[N] > {
enum {
value = true
};
};
/* Determine the type of elements in an array */
template < typename T >
struct z_cbprintf_cxx_remove_extent {
typedef T type;
};
template < typename T >
struct z_cbprintf_cxx_remove_extent < T[] > {
typedef T type;
};
template < typename T, size_t N >
struct z_cbprintf_cxx_remove_extent < T[N] > {
typedef T type;
};
#endif /* __cplusplus */
#endif /* ZEPHYR_INCLUDE_SYS_CBPRINTF_CXX_H_ */
``` | /content/code_sandbox/include/zephyr/sys/cbprintf_cxx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,408 |
```objective-c
/*
*
*/
/**
* @file
* @brief Utilities supporting operation on time data structures.
*
* POSIX defines gmtime() to convert from time_t to struct tm, but all
* inverse transformations are non-standard or require access to time
* zone information. timeutil_timegm() implements the functionality
* of the GNU extension timegm() function, but changes the error value
* as @c EOVERFLOW is not a standard C error identifier.
*
* timeutil_timegm64() is provided to support full precision
* conversion on platforms where @c time_t is limited to 32 bits.
*/
#ifndef ZEPHYR_INCLUDE_SYS_TIMEUTIL_H_
#define ZEPHYR_INCLUDE_SYS_TIMEUTIL_H_
#include <time.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup timeutil_apis Time Utility APIs
* @ingroup utilities
* @defgroup timeutil_repr_apis Time Representation APIs
* @ingroup timeutil_apis
* @{
*/
/**
* @brief Convert broken-down time to a POSIX epoch offset in seconds.
*
* @param tm pointer to broken down time.
*
* @return the corresponding time in the POSIX epoch time scale.
*
* @see path_to_url
*/
int64_t timeutil_timegm64(const struct tm *tm);
/**
* @brief Convert broken-down time to a POSIX epoch offset in seconds.
*
* @param tm pointer to broken down time.
*
* @return the corresponding time in the POSIX epoch time scale. If
* the time cannot be represented then @c (time_t)-1 is returned and
* @c errno is set to @c ERANGE`.
*
* @see path_to_url
*/
time_t timeutil_timegm(const struct tm *tm);
/**
* @}
* @defgroup timeutil_sync_apis Time Synchronization APIs
* @ingroup timeutil_apis
* @{
*/
/**
* @brief Immutable state for synchronizing two clocks.
*
* Values required to convert durations between two time scales.
*
* @note The accuracy of the translation and calculated skew between sources
* depends on the resolution of these frequencies. A reference frequency with
* microsecond or nanosecond resolution would produce the most accurate
* tracking when the local reference is the Zephyr tick counter. A reference
* source like an RTC chip with 1 Hz resolution requires a much larger
* interval between sampled instants to detect relative clock drift.
*/
struct timeutil_sync_config {
/** The nominal instance counter rate in Hz.
*
* This value is assumed to be precise, but may drift depending on
* the reference clock source.
*
* The value must be positive.
*/
uint32_t ref_Hz;
/** The nominal local counter rate in Hz.
*
* This value is assumed to be inaccurate but reasonably stable. For
* a local clock driven by a crystal oscillator an error of 25 ppm is
* common; for an RC oscillator larger errors should be expected. The
* timeutil_sync infrastructure can calculate the skew between the
* local and reference clocks and apply it when converting between
* time scales.
*
* The value must be positive.
*/
uint32_t local_Hz;
};
/**
* @brief Representation of an instant in two time scales.
*
* Capturing the same instant in two time scales provides a
* registration point that can be used to convert between those time
* scales.
*/
struct timeutil_sync_instant {
/** An instant in the reference time scale.
*
* This must never be zero in an initialized timeutil_sync_instant
* object.
*/
uint64_t ref;
/** The corresponding instance in the local time scale.
*
* This may be zero in a valid timeutil_sync_instant object.
*/
uint64_t local;
};
/**
* @brief State required to convert instants between time scales.
*
* This state in conjunction with functions that manipulate it capture
* the offset information necessary to convert between two timescales
* along with information that corrects for skew due to inaccuracies
* in clock rates.
*
* State objects should be zero-initialized before use.
*/
struct timeutil_sync_state {
/** Pointer to reference and local rate information. */
const struct timeutil_sync_config *cfg;
/** The base instant in both time scales. */
struct timeutil_sync_instant base;
/** The most recent instant in both time scales.
*
* This is captured here to provide data for skew calculation.
*/
struct timeutil_sync_instant latest;
/** The scale factor used to correct for clock skew.
*
* The nominal rate for the local counter is assumed to be
* inaccurate but stable, i.e. it will generally be some
* parts-per-million faster or slower than specified.
*
* A duration in observed local clock ticks must be multiplied by
* this value to produce a duration in ticks of a clock operating at
* the nominal local rate.
*
* A zero value indicates that the skew has not been initialized.
* If the value is zero when #base is initialized the skew will be
* set to 1. Otherwise the skew is assigned through
* timeutil_sync_state_set_skew().
*/
float skew;
};
/**
* @brief Record a new instant in the time synchronization state.
*
* Note that this updates only the latest persisted instant. The skew
* is not adjusted automatically.
*
* @param tsp pointer to a timeutil_sync_state object.
*
* @param inst the new instant to be recorded. This becomes the base
* instant if there is no base instant, otherwise the value must be
* strictly after the base instant in both the reference and local
* time scales.
*
* @retval 0 if installation succeeded in providing a new base
* @retval 1 if installation provided a new latest instant
* @retval -EINVAL if the new instant is not compatible with the base instant
*/
int timeutil_sync_state_update(struct timeutil_sync_state *tsp,
const struct timeutil_sync_instant *inst);
/**
* @brief Update the state with a new skew and possibly base value.
*
* Set the skew from a value retrieved from persistent storage, or
* calculated based on recent skew estimations including from
* timeutil_sync_estimate_skew().
*
* Optionally update the base timestamp. If the base is replaced the
* latest instant will be cleared until timeutil_sync_state_update() is
* invoked.
*
* @param tsp pointer to a time synchronization state.
*
* @param skew the skew to be used. The value must be positive and
* shouldn't be too far away from 1.
*
* @param base optional new base to be set. If provided this becomes
* the base timestamp that will be used along with skew to convert
* between reference and local timescale instants. Setting the base
* clears the captured latest value.
*
* @return 0 if skew was updated
* @return -EINVAL if skew was not valid
*/
int timeutil_sync_state_set_skew(struct timeutil_sync_state *tsp, float skew,
const struct timeutil_sync_instant *base);
/**
* @brief Estimate the skew based on current state.
*
* Using the base and latest syncpoints from the state determine the
* skew of the local clock relative to the reference clock. See
* timeutil_sync_state::skew.
*
* @param tsp pointer to a time synchronization state. The base and latest
* syncpoints must be present and the latest syncpoint must be after
* the base point in the local time scale.
*
* @return the estimated skew, or zero if skew could not be estimated.
*/
float timeutil_sync_estimate_skew(const struct timeutil_sync_state *tsp);
/**
* @brief Interpolate a reference timescale instant from a local
* instant.
*
* @param tsp pointer to a time synchronization state. This must have a base
* and a skew installed.
*
* @param local an instant measured in the local timescale. This may
* be before or after the base instant.
*
* @param refp where the corresponding instant in the reference
* timescale should be stored. A negative interpolated reference time
* produces an error. If interpolation fails the referenced object is
* not modified.
*
* @retval 0 if interpolated using a skew of 1
* @retval 1 if interpolated using a skew not equal to 1
* @retval -EINVAL
* * the times synchronization state is not adequately initialized
* * @p refp is null
* @retval -ERANGE the interpolated reference time would be negative
*/
int timeutil_sync_ref_from_local(const struct timeutil_sync_state *tsp,
uint64_t local, uint64_t *refp);
/**
* @brief Interpolate a local timescale instant from a reference
* instant.
*
* @param tsp pointer to a time synchronization state. This must have a base
* and a skew installed.
*
* @param ref an instant measured in the reference timescale. This
* may be before or after the base instant.
*
* @param localp where the corresponding instant in the local
* timescale should be stored. An interpolated value before local
* time 0 is provided without error. If interpolation fails the
* referenced object is not modified.
*
* @retval 0 if successful with a skew of 1
* @retval 1 if successful with a skew not equal to 1
* @retval -EINVAL
* * the time synchronization state is not adequately initialized
* * @p refp is null
*/
int timeutil_sync_local_from_ref(const struct timeutil_sync_state *tsp,
uint64_t ref, int64_t *localp);
/**
* @brief Convert from a skew to an error in parts-per-billion.
*
* A skew of 1.0 has zero error. A skew less than 1 has a positive
* error (clock is faster than it should be). A skew greater than one
* has a negative error (clock is slower than it should be).
*
* Note that due to the limited precision of @c float compared with @c
* double the smallest error that can be represented is about 120 ppb.
* A "precise" time source may have error on the order of 2000 ppb.
*
* A skew greater than 3.14748 may underflow the 32-bit
* representation; this represents a clock running at less than 1/3
* its nominal rate.
*
* @return skew error represented as parts-per-billion, or INT32_MIN
* if the skew cannot be represented in the return type.
*/
int32_t timeutil_sync_skew_to_ppb(float skew);
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#endif /* ZEPHYR_INCLUDE_SYS_TIMEUTIL_H_ */
``` | /content/code_sandbox/include/zephyr/sys/timeutil.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,326 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_
#define ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_
/** @brief cbprintf package argument type
*
* This is used to tag each argument in cbprintf in the variable
* length argument list.
*/
enum cbprintf_package_arg_type {
/** End of argument list */
CBPRINTF_PACKAGE_ARG_TYPE_END = 0,
CBPRINTF_PACKAGE_ARG_TYPE_CHAR,
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_CHAR,
CBPRINTF_PACKAGE_ARG_TYPE_SHORT,
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_SHORT,
CBPRINTF_PACKAGE_ARG_TYPE_INT,
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_INT,
CBPRINTF_PACKAGE_ARG_TYPE_LONG,
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG,
CBPRINTF_PACKAGE_ARG_TYPE_LONG_LONG,
CBPRINTF_PACKAGE_ARG_TYPE_UNSIGNED_LONG_LONG,
CBPRINTF_PACKAGE_ARG_TYPE_FLOAT,
CBPRINTF_PACKAGE_ARG_TYPE_DOUBLE,
CBPRINTF_PACKAGE_ARG_TYPE_LONG_DOUBLE,
CBPRINTF_PACKAGE_ARG_TYPE_PTR_CHAR,
CBPRINTF_PACKAGE_ARG_TYPE_PTR_VOID,
CBPRINTF_PACKAGE_ARG_TYPE_MAX,
CBPRINTF_PACKAGE_ARG_TYPE_COUNT = CBPRINTF_PACKAGE_ARG_TYPE_MAX
};
#endif /* ZEPHYR_INCLUDE_SYS_CBPRINTF_ENUMS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/cbprintf_enums.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 255 |
```objective-c
/*
*
*/
/**
* @file
* @addtogroup hashmap_apis
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASH_MAP_H_
#define ZEPHYR_INCLUDE_SYS_HASH_MAP_H_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/hash_map_api.h>
#include <zephyr/sys/hash_map_cxx.h>
#include <zephyr/sys/hash_map_oa_lp.h>
#include <zephyr/sys/hash_map_sc.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Declare a Hashmap (advanced)
*
* Declare a Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _api API pointer of type @ref sys_hashmap_api.
* @param _config_type Variant of @ref sys_hashmap_config.
* @param _data_type Variant of @ref sys_hashmap_data.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Variant-specific details for @p _config_type.
*/
#define SYS_HASHMAP_DEFINE_ADVANCED(_name, _api, _config_type, _data_type, _hash_func, \
_alloc_func, ...) \
const struct _config_type _name##_config = __VA_ARGS__; \
struct _data_type _name##_data; \
struct sys_hashmap _name = { \
.api = (const struct sys_hashmap_api *)(_api), \
.config = (const struct sys_hashmap_config *)&_name##_config, \
.data = (struct sys_hashmap_data *)&_name##_data, \
.hash_func = (_hash_func), \
.alloc_func = (_alloc_func), \
}
/**
* @brief Declare a Hashmap statically (advanced)
*
* Declare a Hashmap statically with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _api API pointer of type @ref sys_hashmap_api.
* @param _config_type Variant of @ref sys_hashmap_config.
* @param _data_type Variant of @ref sys_hashmap_data.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Variant-specific details for @p _config_type.
*/
#define SYS_HASHMAP_DEFINE_STATIC_ADVANCED(_name, _api, _config_type, _data_type, _hash_func, \
_alloc_func, ...) \
static const struct _config_type _name##_config = __VA_ARGS__; \
static struct _data_type _name##_data; \
static struct sys_hashmap _name = { \
.api = (const struct sys_hashmap_api *)(_api), \
.config = (const struct sys_hashmap_config *)&_name##_config, \
.data = (struct sys_hashmap_data *)&_name##_data, \
.hash_func = (_hash_func), \
.alloc_func = (_alloc_func), \
}
/**
* @brief Declare a Hashmap
*
* Declare a Hashmap with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_DEFINE(_name) SYS_HASHMAP_DEFAULT_DEFINE(_name)
/**
* @brief Declare a Hashmap statically
*
* Declare a Hashmap statically with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_DEFINE_STATIC(_name) SYS_HASHMAP_DEFAULT_DEFINE_STATIC(_name)
/*
* A safe wrapper for realloc(), invariant of which libc provides it.
*/
static inline void *sys_hashmap_default_allocator(void *ptr, size_t size)
{
if (size == 0) {
free(ptr);
return NULL;
}
return realloc(ptr, size);
}
/** @brief The default Hashmap allocator */
#define SYS_HASHMAP_DEFAULT_ALLOCATOR sys_hashmap_default_allocator
/** @brief The default Hashmap load factor (in hundredths) */
#define SYS_HASHMAP_DEFAULT_LOAD_FACTOR 75
/** @brief Generic Hashmap */
struct sys_hashmap {
/** Hashmap API */
const struct sys_hashmap_api *api;
/** Hashmap configuration */
const struct sys_hashmap_config *config;
/** Hashmap data */
struct sys_hashmap_data *data;
/** Hash function */
sys_hash_func32_t hash_func;
/** Allocator */
sys_hashmap_allocator_t alloc_func;
};
/**
* @brief Iterate over all values contained in a @ref sys_hashmap
*
* @param map Hashmap to iterate over
* @param cb Callback to call for each entry
* @param cookie User-specified variable
*/
static inline void sys_hashmap_foreach(const struct sys_hashmap *map, sys_hashmap_callback_t cb,
void *cookie)
{
struct sys_hashmap_iterator it = {0};
for (map->api->iter(map, &it); sys_hashmap_iterator_has_next(&it);) {
it.next(&it);
cb(it.key, it.value, cookie);
}
}
/**
* @brief Clear all entries contained in a @ref sys_hashmap
*
* @note If the values in a particular Hashmap are
*
* @param map Hashmap to clear
* @param cb Callback to call for each entry
* @param cookie User-specified variable
*/
static inline void sys_hashmap_clear(struct sys_hashmap *map, sys_hashmap_callback_t cb,
void *cookie)
{
map->api->clear(map, cb, cookie);
}
/**
* @brief Insert a new entry into a @ref sys_hashmap
*
* Insert a new @p key - @p value pair into @p map.
*
* @param map Hashmap to insert into
* @param key Key to associate with @p value
* @param value Value to associate with @p key
* @param old_value Location to store the value previously associated with @p key or `NULL`
* @retval 0 if @p value was inserted for an existing key, in which case @p old_value will contain
* the previous value
* @retval 1 if a new entry was inserted for the @p key - @p value pair
* @retval -ENOMEM if memory allocation failed
* @retval -ENOSPC if the size limit has been reached
*/
static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value,
uint64_t *old_value)
{
return map->api->insert(map, key, value, old_value);
}
/**
* @brief Remove an entry from a @ref sys_hashmap
*
* Erase the entry associated with key @p key, if one exists.
*
* @param map Hashmap to remove from
* @param key Key to remove from @p map
* @param value Location to store a potential value associated with @p key or `NULL`
*
* @retval true if @p map was modified as a result of this operation.
* @retval false if @p map does not contain a value associated with @p key.
*/
static inline bool sys_hashmap_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value)
{
return map->api->remove(map, key, value);
}
/**
* @brief Get a value from a @ref sys_hashmap
*
* Look-up the @ref uint64_t associated with @p key, if one exists.
*
* @param map Hashmap to search through
* @param key Key with which to search @p map
* @param value Location to store a potential value associated with @p key or `NULL`
*
* @retval true if @p map contains a value associated with @p key.
* @retval false if @p map does not contain a value associated with @p key.
*/
static inline bool sys_hashmap_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value)
{
return map->api->get(map, key, value);
}
/**
* @brief Check if @p map contains a value associated with @p key
*
* @param map Hashmap to search through
* @param key Key with which to search @p map
*
* @retval true if @p map contains a value associated with @p key.
* @retval false if @p map does not contain a value associated with @p key.
*/
static inline bool sys_hashmap_contains_key(const struct sys_hashmap *map, uint64_t key)
{
return sys_hashmap_get(map, key, NULL);
}
/**
* @brief Query the number of entries contained within @p map
*
* @param map Hashmap to search through
*
* @return the number of entries contained within @p map.
*/
static inline size_t sys_hashmap_size(const struct sys_hashmap *map)
{
return map->data->size;
}
/**
* @brief Check if @p map is empty
*
* @param map Hashmap to query
*
* @retval true if @p map is empty.
* @retval false if @p map is not empty.
*/
static inline bool sys_hashmap_is_empty(const struct sys_hashmap *map)
{
return map->data->size == 0;
}
/**
* @brief Query the load factor of @p map
*
* @note To convert the load factor to a floating-point value use
* `sys_hash_load_factor(map) / 100.0f`.
*
* @param map Hashmap to query
*
* @return Load factor of @p map expressed in hundredths.
*/
static inline uint8_t sys_hashmap_load_factor(const struct sys_hashmap *map)
{
if (map->data->n_buckets == 0) {
return 0;
}
return (map->data->size * 100) / map->data->n_buckets;
}
/**
* @brief Query the number of buckets used in @p map
*
* @param map Hashmap to query
* @return Number of buckets used in @p map
*/
static inline size_t sys_hashmap_num_buckets(const struct sys_hashmap *map)
{
return map->data->n_buckets;
}
/**
* @brief Decide whether the Hashmap should be resized
*
* This is a simple opportunistic method that implementations
* can choose to use. It will grow and shrink the Hashmap by a factor
* of 2 when insertion / removal would exceed / fall into the specified
* load factor.
*
* @note Users should call this prior to inserting a new key-value pair and after removing a
* key-value pair.
*
* @note The number of reserved entries is implementation-defined, but it is only considered
* as part of the load factor when growing the hash table.
*
* @param map Hashmap to examine
* @param grow true if an entry is to be added. false if an entry has been removed
* @param num_reserved the number of reserved entries
* @param[out] new_num_buckets variable Hashmap size
* @return true if the Hashmap should be rehashed
* @return false if the Hashmap should not be rehashed
*/
static inline bool sys_hashmap_should_rehash(const struct sys_hashmap *map, bool grow,
size_t num_reserved, size_t *new_num_buckets)
{
size_t size;
bool should_grow;
size_t n_buckets;
bool should_shrink;
const bool shrink = !grow;
struct sys_hashmap_oa_lp_data *const data = (struct sys_hashmap_oa_lp_data *)map->data;
const struct sys_hashmap_config *const config = map->config;
/* All branchless calculations, so very cache-friendly */
/* calculate new size */
size = data->size;
size += grow;
/* maximum size imposed by the implementation */
__ASSERT_NO_MSG(size < SIZE_MAX / 100);
/* calculate new number of buckets */
n_buckets = data->n_buckets;
/* initial number of buckets */
n_buckets += grow * (size == 1) * config->initial_n_buckets;
/* grow at a rate of 2x */
n_buckets <<= grow * (size != 1);
/* shrink at a rate of 2x */
n_buckets >>= shrink;
/* shrink to zero if empty */
n_buckets *= (size != 0);
__ASSERT_NO_MSG(new_num_buckets != NULL);
__ASSERT_NO_MSG(new_num_buckets != &data->n_buckets);
*new_num_buckets = n_buckets;
should_grow =
grow && (data->n_buckets == 0 ||
(size + num_reserved) * 100 / data->n_buckets > map->config->load_factor);
should_shrink =
shrink && (n_buckets == 0 || (size * 100) / n_buckets <= map->config->load_factor);
return should_grow || should_shrink;
}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASH_MAP_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_map.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,850 |
```objective-c
/*
*
*/
/**
* @cond INTERNAL_HIDDEN
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#error "This header should not be used directly, please include util_internal.h instead"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_
#define Z_UTIL_INC_0 1
#define Z_UTIL_INC_1 2
#define Z_UTIL_INC_2 3
#define Z_UTIL_INC_3 4
#define Z_UTIL_INC_4 5
#define Z_UTIL_INC_5 6
#define Z_UTIL_INC_6 7
#define Z_UTIL_INC_7 8
#define Z_UTIL_INC_8 9
#define Z_UTIL_INC_9 10
#define Z_UTIL_INC_10 11
#define Z_UTIL_INC_11 12
#define Z_UTIL_INC_12 13
#define Z_UTIL_INC_13 14
#define Z_UTIL_INC_14 15
#define Z_UTIL_INC_15 16
#define Z_UTIL_INC_16 17
#define Z_UTIL_INC_17 18
#define Z_UTIL_INC_18 19
#define Z_UTIL_INC_19 20
#define Z_UTIL_INC_20 21
#define Z_UTIL_INC_21 22
#define Z_UTIL_INC_22 23
#define Z_UTIL_INC_23 24
#define Z_UTIL_INC_24 25
#define Z_UTIL_INC_25 26
#define Z_UTIL_INC_26 27
#define Z_UTIL_INC_27 28
#define Z_UTIL_INC_28 29
#define Z_UTIL_INC_29 30
#define Z_UTIL_INC_30 31
#define Z_UTIL_INC_31 32
#define Z_UTIL_INC_32 33
#define Z_UTIL_INC_33 34
#define Z_UTIL_INC_34 35
#define Z_UTIL_INC_35 36
#define Z_UTIL_INC_36 37
#define Z_UTIL_INC_37 38
#define Z_UTIL_INC_38 39
#define Z_UTIL_INC_39 40
#define Z_UTIL_INC_40 41
#define Z_UTIL_INC_41 42
#define Z_UTIL_INC_42 43
#define Z_UTIL_INC_43 44
#define Z_UTIL_INC_44 45
#define Z_UTIL_INC_45 46
#define Z_UTIL_INC_46 47
#define Z_UTIL_INC_47 48
#define Z_UTIL_INC_48 49
#define Z_UTIL_INC_49 50
#define Z_UTIL_INC_50 51
#define Z_UTIL_INC_51 52
#define Z_UTIL_INC_52 53
#define Z_UTIL_INC_53 54
#define Z_UTIL_INC_54 55
#define Z_UTIL_INC_55 56
#define Z_UTIL_INC_56 57
#define Z_UTIL_INC_57 58
#define Z_UTIL_INC_58 59
#define Z_UTIL_INC_59 60
#define Z_UTIL_INC_60 61
#define Z_UTIL_INC_61 62
#define Z_UTIL_INC_62 63
#define Z_UTIL_INC_63 64
#define Z_UTIL_INC_64 65
#define Z_UTIL_INC_65 66
#define Z_UTIL_INC_66 67
#define Z_UTIL_INC_67 68
#define Z_UTIL_INC_68 69
#define Z_UTIL_INC_69 70
#define Z_UTIL_INC_70 71
#define Z_UTIL_INC_71 72
#define Z_UTIL_INC_72 73
#define Z_UTIL_INC_73 74
#define Z_UTIL_INC_74 75
#define Z_UTIL_INC_75 76
#define Z_UTIL_INC_76 77
#define Z_UTIL_INC_77 78
#define Z_UTIL_INC_78 79
#define Z_UTIL_INC_79 80
#define Z_UTIL_INC_80 81
#define Z_UTIL_INC_81 82
#define Z_UTIL_INC_82 83
#define Z_UTIL_INC_83 84
#define Z_UTIL_INC_84 85
#define Z_UTIL_INC_85 86
#define Z_UTIL_INC_86 87
#define Z_UTIL_INC_87 88
#define Z_UTIL_INC_88 89
#define Z_UTIL_INC_89 90
#define Z_UTIL_INC_90 91
#define Z_UTIL_INC_91 92
#define Z_UTIL_INC_92 93
#define Z_UTIL_INC_93 94
#define Z_UTIL_INC_94 95
#define Z_UTIL_INC_95 96
#define Z_UTIL_INC_96 97
#define Z_UTIL_INC_97 98
#define Z_UTIL_INC_98 99
#define Z_UTIL_INC_99 100
#define Z_UTIL_INC_100 101
#define Z_UTIL_INC_101 102
#define Z_UTIL_INC_102 103
#define Z_UTIL_INC_103 104
#define Z_UTIL_INC_104 105
#define Z_UTIL_INC_105 106
#define Z_UTIL_INC_106 107
#define Z_UTIL_INC_107 108
#define Z_UTIL_INC_108 109
#define Z_UTIL_INC_109 110
#define Z_UTIL_INC_110 111
#define Z_UTIL_INC_111 112
#define Z_UTIL_INC_112 113
#define Z_UTIL_INC_113 114
#define Z_UTIL_INC_114 115
#define Z_UTIL_INC_115 116
#define Z_UTIL_INC_116 117
#define Z_UTIL_INC_117 118
#define Z_UTIL_INC_118 119
#define Z_UTIL_INC_119 120
#define Z_UTIL_INC_120 121
#define Z_UTIL_INC_121 122
#define Z_UTIL_INC_122 123
#define Z_UTIL_INC_123 124
#define Z_UTIL_INC_124 125
#define Z_UTIL_INC_125 126
#define Z_UTIL_INC_126 127
#define Z_UTIL_INC_127 128
#define Z_UTIL_INC_128 129
#define Z_UTIL_INC_129 130
#define Z_UTIL_INC_130 131
#define Z_UTIL_INC_131 132
#define Z_UTIL_INC_132 133
#define Z_UTIL_INC_133 134
#define Z_UTIL_INC_134 135
#define Z_UTIL_INC_135 136
#define Z_UTIL_INC_136 137
#define Z_UTIL_INC_137 138
#define Z_UTIL_INC_138 139
#define Z_UTIL_INC_139 140
#define Z_UTIL_INC_140 141
#define Z_UTIL_INC_141 142
#define Z_UTIL_INC_142 143
#define Z_UTIL_INC_143 144
#define Z_UTIL_INC_144 145
#define Z_UTIL_INC_145 146
#define Z_UTIL_INC_146 147
#define Z_UTIL_INC_147 148
#define Z_UTIL_INC_148 149
#define Z_UTIL_INC_149 150
#define Z_UTIL_INC_150 151
#define Z_UTIL_INC_151 152
#define Z_UTIL_INC_152 153
#define Z_UTIL_INC_153 154
#define Z_UTIL_INC_154 155
#define Z_UTIL_INC_155 156
#define Z_UTIL_INC_156 157
#define Z_UTIL_INC_157 158
#define Z_UTIL_INC_158 159
#define Z_UTIL_INC_159 160
#define Z_UTIL_INC_160 161
#define Z_UTIL_INC_161 162
#define Z_UTIL_INC_162 163
#define Z_UTIL_INC_163 164
#define Z_UTIL_INC_164 165
#define Z_UTIL_INC_165 166
#define Z_UTIL_INC_166 167
#define Z_UTIL_INC_167 168
#define Z_UTIL_INC_168 169
#define Z_UTIL_INC_169 170
#define Z_UTIL_INC_170 171
#define Z_UTIL_INC_171 172
#define Z_UTIL_INC_172 173
#define Z_UTIL_INC_173 174
#define Z_UTIL_INC_174 175
#define Z_UTIL_INC_175 176
#define Z_UTIL_INC_176 177
#define Z_UTIL_INC_177 178
#define Z_UTIL_INC_178 179
#define Z_UTIL_INC_179 180
#define Z_UTIL_INC_180 181
#define Z_UTIL_INC_181 182
#define Z_UTIL_INC_182 183
#define Z_UTIL_INC_183 184
#define Z_UTIL_INC_184 185
#define Z_UTIL_INC_185 186
#define Z_UTIL_INC_186 187
#define Z_UTIL_INC_187 188
#define Z_UTIL_INC_188 189
#define Z_UTIL_INC_189 190
#define Z_UTIL_INC_190 191
#define Z_UTIL_INC_191 192
#define Z_UTIL_INC_192 193
#define Z_UTIL_INC_193 194
#define Z_UTIL_INC_194 195
#define Z_UTIL_INC_195 196
#define Z_UTIL_INC_196 197
#define Z_UTIL_INC_197 198
#define Z_UTIL_INC_198 199
#define Z_UTIL_INC_199 200
#define Z_UTIL_INC_200 201
#define Z_UTIL_INC_201 202
#define Z_UTIL_INC_202 203
#define Z_UTIL_INC_203 204
#define Z_UTIL_INC_204 205
#define Z_UTIL_INC_205 206
#define Z_UTIL_INC_206 207
#define Z_UTIL_INC_207 208
#define Z_UTIL_INC_208 209
#define Z_UTIL_INC_209 210
#define Z_UTIL_INC_210 211
#define Z_UTIL_INC_211 212
#define Z_UTIL_INC_212 213
#define Z_UTIL_INC_213 214
#define Z_UTIL_INC_214 215
#define Z_UTIL_INC_215 216
#define Z_UTIL_INC_216 217
#define Z_UTIL_INC_217 218
#define Z_UTIL_INC_218 219
#define Z_UTIL_INC_219 220
#define Z_UTIL_INC_220 221
#define Z_UTIL_INC_221 222
#define Z_UTIL_INC_222 223
#define Z_UTIL_INC_223 224
#define Z_UTIL_INC_224 225
#define Z_UTIL_INC_225 226
#define Z_UTIL_INC_226 227
#define Z_UTIL_INC_227 228
#define Z_UTIL_INC_228 229
#define Z_UTIL_INC_229 230
#define Z_UTIL_INC_230 231
#define Z_UTIL_INC_231 232
#define Z_UTIL_INC_232 233
#define Z_UTIL_INC_233 234
#define Z_UTIL_INC_234 235
#define Z_UTIL_INC_235 236
#define Z_UTIL_INC_236 237
#define Z_UTIL_INC_237 238
#define Z_UTIL_INC_238 239
#define Z_UTIL_INC_239 240
#define Z_UTIL_INC_240 241
#define Z_UTIL_INC_241 242
#define Z_UTIL_INC_242 243
#define Z_UTIL_INC_243 244
#define Z_UTIL_INC_244 245
#define Z_UTIL_INC_245 246
#define Z_UTIL_INC_246 247
#define Z_UTIL_INC_247 248
#define Z_UTIL_INC_248 249
#define Z_UTIL_INC_249 250
#define Z_UTIL_INC_250 251
#define Z_UTIL_INC_251 252
#define Z_UTIL_INC_252 253
#define Z_UTIL_INC_253 254
#define Z_UTIL_INC_254 255
#define Z_UTIL_INC_255 256
#define Z_UTIL_INC_256 257
#define Z_UTIL_INC_257 258
#define Z_UTIL_INC_258 259
#define Z_UTIL_INC_259 260
#define Z_UTIL_INC_260 261
#define Z_UTIL_INC_261 262
#define Z_UTIL_INC_262 263
#define Z_UTIL_INC_263 264
#define Z_UTIL_INC_264 265
#define Z_UTIL_INC_265 266
#define Z_UTIL_INC_266 267
#define Z_UTIL_INC_267 268
#define Z_UTIL_INC_268 269
#define Z_UTIL_INC_269 270
#define Z_UTIL_INC_270 271
#define Z_UTIL_INC_271 272
#define Z_UTIL_INC_272 273
#define Z_UTIL_INC_273 274
#define Z_UTIL_INC_274 275
#define Z_UTIL_INC_275 276
#define Z_UTIL_INC_276 277
#define Z_UTIL_INC_277 278
#define Z_UTIL_INC_278 279
#define Z_UTIL_INC_279 280
#define Z_UTIL_INC_280 281
#define Z_UTIL_INC_281 282
#define Z_UTIL_INC_282 283
#define Z_UTIL_INC_283 284
#define Z_UTIL_INC_284 285
#define Z_UTIL_INC_285 286
#define Z_UTIL_INC_286 287
#define Z_UTIL_INC_287 288
#define Z_UTIL_INC_288 289
#define Z_UTIL_INC_289 290
#define Z_UTIL_INC_290 291
#define Z_UTIL_INC_291 292
#define Z_UTIL_INC_292 293
#define Z_UTIL_INC_293 294
#define Z_UTIL_INC_294 295
#define Z_UTIL_INC_295 296
#define Z_UTIL_INC_296 297
#define Z_UTIL_INC_297 298
#define Z_UTIL_INC_298 299
#define Z_UTIL_INC_299 300
#define Z_UTIL_INC_300 301
#define Z_UTIL_INC_301 302
#define Z_UTIL_INC_302 303
#define Z_UTIL_INC_303 304
#define Z_UTIL_INC_304 305
#define Z_UTIL_INC_305 306
#define Z_UTIL_INC_306 307
#define Z_UTIL_INC_307 308
#define Z_UTIL_INC_308 309
#define Z_UTIL_INC_309 310
#define Z_UTIL_INC_310 311
#define Z_UTIL_INC_311 312
#define Z_UTIL_INC_312 313
#define Z_UTIL_INC_313 314
#define Z_UTIL_INC_314 315
#define Z_UTIL_INC_315 316
#define Z_UTIL_INC_316 317
#define Z_UTIL_INC_317 318
#define Z_UTIL_INC_318 319
#define Z_UTIL_INC_319 320
#define Z_UTIL_INC_320 321
#define Z_UTIL_INC_321 322
#define Z_UTIL_INC_322 323
#define Z_UTIL_INC_323 324
#define Z_UTIL_INC_324 325
#define Z_UTIL_INC_325 326
#define Z_UTIL_INC_326 327
#define Z_UTIL_INC_327 328
#define Z_UTIL_INC_328 329
#define Z_UTIL_INC_329 330
#define Z_UTIL_INC_330 331
#define Z_UTIL_INC_331 332
#define Z_UTIL_INC_332 333
#define Z_UTIL_INC_333 334
#define Z_UTIL_INC_334 335
#define Z_UTIL_INC_335 336
#define Z_UTIL_INC_336 337
#define Z_UTIL_INC_337 338
#define Z_UTIL_INC_338 339
#define Z_UTIL_INC_339 340
#define Z_UTIL_INC_340 341
#define Z_UTIL_INC_341 342
#define Z_UTIL_INC_342 343
#define Z_UTIL_INC_343 344
#define Z_UTIL_INC_344 345
#define Z_UTIL_INC_345 346
#define Z_UTIL_INC_346 347
#define Z_UTIL_INC_347 348
#define Z_UTIL_INC_348 349
#define Z_UTIL_INC_349 350
#define Z_UTIL_INC_350 351
#define Z_UTIL_INC_351 352
#define Z_UTIL_INC_352 353
#define Z_UTIL_INC_353 354
#define Z_UTIL_INC_354 355
#define Z_UTIL_INC_355 356
#define Z_UTIL_INC_356 357
#define Z_UTIL_INC_357 358
#define Z_UTIL_INC_358 359
#define Z_UTIL_INC_359 360
#define Z_UTIL_INC_360 361
#define Z_UTIL_INC_361 362
#define Z_UTIL_INC_362 363
#define Z_UTIL_INC_363 364
#define Z_UTIL_INC_364 365
#define Z_UTIL_INC_365 366
#define Z_UTIL_INC_366 367
#define Z_UTIL_INC_367 368
#define Z_UTIL_INC_368 369
#define Z_UTIL_INC_369 370
#define Z_UTIL_INC_370 371
#define Z_UTIL_INC_371 372
#define Z_UTIL_INC_372 373
#define Z_UTIL_INC_373 374
#define Z_UTIL_INC_374 375
#define Z_UTIL_INC_375 376
#define Z_UTIL_INC_376 377
#define Z_UTIL_INC_377 378
#define Z_UTIL_INC_378 379
#define Z_UTIL_INC_379 380
#define Z_UTIL_INC_380 381
#define Z_UTIL_INC_381 382
#define Z_UTIL_INC_382 383
#define Z_UTIL_INC_383 384
#define Z_UTIL_INC_384 385
#define Z_UTIL_INC_385 386
#define Z_UTIL_INC_386 387
#define Z_UTIL_INC_387 388
#define Z_UTIL_INC_388 389
#define Z_UTIL_INC_389 390
#define Z_UTIL_INC_390 391
#define Z_UTIL_INC_391 392
#define Z_UTIL_INC_392 393
#define Z_UTIL_INC_393 394
#define Z_UTIL_INC_394 395
#define Z_UTIL_INC_395 396
#define Z_UTIL_INC_396 397
#define Z_UTIL_INC_397 398
#define Z_UTIL_INC_398 399
#define Z_UTIL_INC_399 400
#define Z_UTIL_INC_400 401
#define Z_UTIL_INC_401 402
#define Z_UTIL_INC_402 403
#define Z_UTIL_INC_403 404
#define Z_UTIL_INC_404 405
#define Z_UTIL_INC_405 406
#define Z_UTIL_INC_406 407
#define Z_UTIL_INC_407 408
#define Z_UTIL_INC_408 409
#define Z_UTIL_INC_409 410
#define Z_UTIL_INC_410 411
#define Z_UTIL_INC_411 412
#define Z_UTIL_INC_412 413
#define Z_UTIL_INC_413 414
#define Z_UTIL_INC_414 415
#define Z_UTIL_INC_415 416
#define Z_UTIL_INC_416 417
#define Z_UTIL_INC_417 418
#define Z_UTIL_INC_418 419
#define Z_UTIL_INC_419 420
#define Z_UTIL_INC_420 421
#define Z_UTIL_INC_421 422
#define Z_UTIL_INC_422 423
#define Z_UTIL_INC_423 424
#define Z_UTIL_INC_424 425
#define Z_UTIL_INC_425 426
#define Z_UTIL_INC_426 427
#define Z_UTIL_INC_427 428
#define Z_UTIL_INC_428 429
#define Z_UTIL_INC_429 430
#define Z_UTIL_INC_430 431
#define Z_UTIL_INC_431 432
#define Z_UTIL_INC_432 433
#define Z_UTIL_INC_433 434
#define Z_UTIL_INC_434 435
#define Z_UTIL_INC_435 436
#define Z_UTIL_INC_436 437
#define Z_UTIL_INC_437 438
#define Z_UTIL_INC_438 439
#define Z_UTIL_INC_439 440
#define Z_UTIL_INC_440 441
#define Z_UTIL_INC_441 442
#define Z_UTIL_INC_442 443
#define Z_UTIL_INC_443 444
#define Z_UTIL_INC_444 445
#define Z_UTIL_INC_445 446
#define Z_UTIL_INC_446 447
#define Z_UTIL_INC_447 448
#define Z_UTIL_INC_448 449
#define Z_UTIL_INC_449 450
#define Z_UTIL_INC_450 451
#define Z_UTIL_INC_451 452
#define Z_UTIL_INC_452 453
#define Z_UTIL_INC_453 454
#define Z_UTIL_INC_454 455
#define Z_UTIL_INC_455 456
#define Z_UTIL_INC_456 457
#define Z_UTIL_INC_457 458
#define Z_UTIL_INC_458 459
#define Z_UTIL_INC_459 460
#define Z_UTIL_INC_460 461
#define Z_UTIL_INC_461 462
#define Z_UTIL_INC_462 463
#define Z_UTIL_INC_463 464
#define Z_UTIL_INC_464 465
#define Z_UTIL_INC_465 466
#define Z_UTIL_INC_466 467
#define Z_UTIL_INC_467 468
#define Z_UTIL_INC_468 469
#define Z_UTIL_INC_469 470
#define Z_UTIL_INC_470 471
#define Z_UTIL_INC_471 472
#define Z_UTIL_INC_472 473
#define Z_UTIL_INC_473 474
#define Z_UTIL_INC_474 475
#define Z_UTIL_INC_475 476
#define Z_UTIL_INC_476 477
#define Z_UTIL_INC_477 478
#define Z_UTIL_INC_478 479
#define Z_UTIL_INC_479 480
#define Z_UTIL_INC_480 481
#define Z_UTIL_INC_481 482
#define Z_UTIL_INC_482 483
#define Z_UTIL_INC_483 484
#define Z_UTIL_INC_484 485
#define Z_UTIL_INC_485 486
#define Z_UTIL_INC_486 487
#define Z_UTIL_INC_487 488
#define Z_UTIL_INC_488 489
#define Z_UTIL_INC_489 490
#define Z_UTIL_INC_490 491
#define Z_UTIL_INC_491 492
#define Z_UTIL_INC_492 493
#define Z_UTIL_INC_493 494
#define Z_UTIL_INC_494 495
#define Z_UTIL_INC_495 496
#define Z_UTIL_INC_496 497
#define Z_UTIL_INC_497 498
#define Z_UTIL_INC_498 499
#define Z_UTIL_INC_499 500
#define Z_UTIL_INC_500 501
#define Z_UTIL_INC_501 502
#define Z_UTIL_INC_502 503
#define Z_UTIL_INC_503 504
#define Z_UTIL_INC_504 505
#define Z_UTIL_INC_505 506
#define Z_UTIL_INC_506 507
#define Z_UTIL_INC_507 508
#define Z_UTIL_INC_508 509
#define Z_UTIL_INC_509 510
#define Z_UTIL_INC_510 511
#define Z_UTIL_INC_511 512
#define Z_UTIL_INC_512 513
#define Z_UTIL_INC_513 514
#define Z_UTIL_INC_514 515
#define Z_UTIL_INC_515 516
#define Z_UTIL_INC_516 517
#define Z_UTIL_INC_517 518
#define Z_UTIL_INC_518 519
#define Z_UTIL_INC_519 520
#define Z_UTIL_INC_520 521
#define Z_UTIL_INC_521 522
#define Z_UTIL_INC_522 523
#define Z_UTIL_INC_523 524
#define Z_UTIL_INC_524 525
#define Z_UTIL_INC_525 526
#define Z_UTIL_INC_526 527
#define Z_UTIL_INC_527 528
#define Z_UTIL_INC_528 529
#define Z_UTIL_INC_529 530
#define Z_UTIL_INC_530 531
#define Z_UTIL_INC_531 532
#define Z_UTIL_INC_532 533
#define Z_UTIL_INC_533 534
#define Z_UTIL_INC_534 535
#define Z_UTIL_INC_535 536
#define Z_UTIL_INC_536 537
#define Z_UTIL_INC_537 538
#define Z_UTIL_INC_538 539
#define Z_UTIL_INC_539 540
#define Z_UTIL_INC_540 541
#define Z_UTIL_INC_541 542
#define Z_UTIL_INC_542 543
#define Z_UTIL_INC_543 544
#define Z_UTIL_INC_544 545
#define Z_UTIL_INC_545 546
#define Z_UTIL_INC_546 547
#define Z_UTIL_INC_547 548
#define Z_UTIL_INC_548 549
#define Z_UTIL_INC_549 550
#define Z_UTIL_INC_550 551
#define Z_UTIL_INC_551 552
#define Z_UTIL_INC_552 553
#define Z_UTIL_INC_553 554
#define Z_UTIL_INC_554 555
#define Z_UTIL_INC_555 556
#define Z_UTIL_INC_556 557
#define Z_UTIL_INC_557 558
#define Z_UTIL_INC_558 559
#define Z_UTIL_INC_559 560
#define Z_UTIL_INC_560 561
#define Z_UTIL_INC_561 562
#define Z_UTIL_INC_562 563
#define Z_UTIL_INC_563 564
#define Z_UTIL_INC_564 565
#define Z_UTIL_INC_565 566
#define Z_UTIL_INC_566 567
#define Z_UTIL_INC_567 568
#define Z_UTIL_INC_568 569
#define Z_UTIL_INC_569 570
#define Z_UTIL_INC_570 571
#define Z_UTIL_INC_571 572
#define Z_UTIL_INC_572 573
#define Z_UTIL_INC_573 574
#define Z_UTIL_INC_574 575
#define Z_UTIL_INC_575 576
#define Z_UTIL_INC_576 577
#define Z_UTIL_INC_577 578
#define Z_UTIL_INC_578 579
#define Z_UTIL_INC_579 580
#define Z_UTIL_INC_580 581
#define Z_UTIL_INC_581 582
#define Z_UTIL_INC_582 583
#define Z_UTIL_INC_583 584
#define Z_UTIL_INC_584 585
#define Z_UTIL_INC_585 586
#define Z_UTIL_INC_586 587
#define Z_UTIL_INC_587 588
#define Z_UTIL_INC_588 589
#define Z_UTIL_INC_589 590
#define Z_UTIL_INC_590 591
#define Z_UTIL_INC_591 592
#define Z_UTIL_INC_592 593
#define Z_UTIL_INC_593 594
#define Z_UTIL_INC_594 595
#define Z_UTIL_INC_595 596
#define Z_UTIL_INC_596 597
#define Z_UTIL_INC_597 598
#define Z_UTIL_INC_598 599
#define Z_UTIL_INC_599 600
#define Z_UTIL_INC_600 601
#define Z_UTIL_INC_601 602
#define Z_UTIL_INC_602 603
#define Z_UTIL_INC_603 604
#define Z_UTIL_INC_604 605
#define Z_UTIL_INC_605 606
#define Z_UTIL_INC_606 607
#define Z_UTIL_INC_607 608
#define Z_UTIL_INC_608 609
#define Z_UTIL_INC_609 610
#define Z_UTIL_INC_610 611
#define Z_UTIL_INC_611 612
#define Z_UTIL_INC_612 613
#define Z_UTIL_INC_613 614
#define Z_UTIL_INC_614 615
#define Z_UTIL_INC_615 616
#define Z_UTIL_INC_616 617
#define Z_UTIL_INC_617 618
#define Z_UTIL_INC_618 619
#define Z_UTIL_INC_619 620
#define Z_UTIL_INC_620 621
#define Z_UTIL_INC_621 622
#define Z_UTIL_INC_622 623
#define Z_UTIL_INC_623 624
#define Z_UTIL_INC_624 625
#define Z_UTIL_INC_625 626
#define Z_UTIL_INC_626 627
#define Z_UTIL_INC_627 628
#define Z_UTIL_INC_628 629
#define Z_UTIL_INC_629 630
#define Z_UTIL_INC_630 631
#define Z_UTIL_INC_631 632
#define Z_UTIL_INC_632 633
#define Z_UTIL_INC_633 634
#define Z_UTIL_INC_634 635
#define Z_UTIL_INC_635 636
#define Z_UTIL_INC_636 637
#define Z_UTIL_INC_637 638
#define Z_UTIL_INC_638 639
#define Z_UTIL_INC_639 640
#define Z_UTIL_INC_640 641
#define Z_UTIL_INC_641 642
#define Z_UTIL_INC_642 643
#define Z_UTIL_INC_643 644
#define Z_UTIL_INC_644 645
#define Z_UTIL_INC_645 646
#define Z_UTIL_INC_646 647
#define Z_UTIL_INC_647 648
#define Z_UTIL_INC_648 649
#define Z_UTIL_INC_649 650
#define Z_UTIL_INC_650 651
#define Z_UTIL_INC_651 652
#define Z_UTIL_INC_652 653
#define Z_UTIL_INC_653 654
#define Z_UTIL_INC_654 655
#define Z_UTIL_INC_655 656
#define Z_UTIL_INC_656 657
#define Z_UTIL_INC_657 658
#define Z_UTIL_INC_658 659
#define Z_UTIL_INC_659 660
#define Z_UTIL_INC_660 661
#define Z_UTIL_INC_661 662
#define Z_UTIL_INC_662 663
#define Z_UTIL_INC_663 664
#define Z_UTIL_INC_664 665
#define Z_UTIL_INC_665 666
#define Z_UTIL_INC_666 667
#define Z_UTIL_INC_667 668
#define Z_UTIL_INC_668 669
#define Z_UTIL_INC_669 670
#define Z_UTIL_INC_670 671
#define Z_UTIL_INC_671 672
#define Z_UTIL_INC_672 673
#define Z_UTIL_INC_673 674
#define Z_UTIL_INC_674 675
#define Z_UTIL_INC_675 676
#define Z_UTIL_INC_676 677
#define Z_UTIL_INC_677 678
#define Z_UTIL_INC_678 679
#define Z_UTIL_INC_679 680
#define Z_UTIL_INC_680 681
#define Z_UTIL_INC_681 682
#define Z_UTIL_INC_682 683
#define Z_UTIL_INC_683 684
#define Z_UTIL_INC_684 685
#define Z_UTIL_INC_685 686
#define Z_UTIL_INC_686 687
#define Z_UTIL_INC_687 688
#define Z_UTIL_INC_688 689
#define Z_UTIL_INC_689 690
#define Z_UTIL_INC_690 691
#define Z_UTIL_INC_691 692
#define Z_UTIL_INC_692 693
#define Z_UTIL_INC_693 694
#define Z_UTIL_INC_694 695
#define Z_UTIL_INC_695 696
#define Z_UTIL_INC_696 697
#define Z_UTIL_INC_697 698
#define Z_UTIL_INC_698 699
#define Z_UTIL_INC_699 700
#define Z_UTIL_INC_700 701
#define Z_UTIL_INC_701 702
#define Z_UTIL_INC_702 703
#define Z_UTIL_INC_703 704
#define Z_UTIL_INC_704 705
#define Z_UTIL_INC_705 706
#define Z_UTIL_INC_706 707
#define Z_UTIL_INC_707 708
#define Z_UTIL_INC_708 709
#define Z_UTIL_INC_709 710
#define Z_UTIL_INC_710 711
#define Z_UTIL_INC_711 712
#define Z_UTIL_INC_712 713
#define Z_UTIL_INC_713 714
#define Z_UTIL_INC_714 715
#define Z_UTIL_INC_715 716
#define Z_UTIL_INC_716 717
#define Z_UTIL_INC_717 718
#define Z_UTIL_INC_718 719
#define Z_UTIL_INC_719 720
#define Z_UTIL_INC_720 721
#define Z_UTIL_INC_721 722
#define Z_UTIL_INC_722 723
#define Z_UTIL_INC_723 724
#define Z_UTIL_INC_724 725
#define Z_UTIL_INC_725 726
#define Z_UTIL_INC_726 727
#define Z_UTIL_INC_727 728
#define Z_UTIL_INC_728 729
#define Z_UTIL_INC_729 730
#define Z_UTIL_INC_730 731
#define Z_UTIL_INC_731 732
#define Z_UTIL_INC_732 733
#define Z_UTIL_INC_733 734
#define Z_UTIL_INC_734 735
#define Z_UTIL_INC_735 736
#define Z_UTIL_INC_736 737
#define Z_UTIL_INC_737 738
#define Z_UTIL_INC_738 739
#define Z_UTIL_INC_739 740
#define Z_UTIL_INC_740 741
#define Z_UTIL_INC_741 742
#define Z_UTIL_INC_742 743
#define Z_UTIL_INC_743 744
#define Z_UTIL_INC_744 745
#define Z_UTIL_INC_745 746
#define Z_UTIL_INC_746 747
#define Z_UTIL_INC_747 748
#define Z_UTIL_INC_748 749
#define Z_UTIL_INC_749 750
#define Z_UTIL_INC_750 751
#define Z_UTIL_INC_751 752
#define Z_UTIL_INC_752 753
#define Z_UTIL_INC_753 754
#define Z_UTIL_INC_754 755
#define Z_UTIL_INC_755 756
#define Z_UTIL_INC_756 757
#define Z_UTIL_INC_757 758
#define Z_UTIL_INC_758 759
#define Z_UTIL_INC_759 760
#define Z_UTIL_INC_760 761
#define Z_UTIL_INC_761 762
#define Z_UTIL_INC_762 763
#define Z_UTIL_INC_763 764
#define Z_UTIL_INC_764 765
#define Z_UTIL_INC_765 766
#define Z_UTIL_INC_766 767
#define Z_UTIL_INC_767 768
#define Z_UTIL_INC_768 769
#define Z_UTIL_INC_769 770
#define Z_UTIL_INC_770 771
#define Z_UTIL_INC_771 772
#define Z_UTIL_INC_772 773
#define Z_UTIL_INC_773 774
#define Z_UTIL_INC_774 775
#define Z_UTIL_INC_775 776
#define Z_UTIL_INC_776 777
#define Z_UTIL_INC_777 778
#define Z_UTIL_INC_778 779
#define Z_UTIL_INC_779 780
#define Z_UTIL_INC_780 781
#define Z_UTIL_INC_781 782
#define Z_UTIL_INC_782 783
#define Z_UTIL_INC_783 784
#define Z_UTIL_INC_784 785
#define Z_UTIL_INC_785 786
#define Z_UTIL_INC_786 787
#define Z_UTIL_INC_787 788
#define Z_UTIL_INC_788 789
#define Z_UTIL_INC_789 790
#define Z_UTIL_INC_790 791
#define Z_UTIL_INC_791 792
#define Z_UTIL_INC_792 793
#define Z_UTIL_INC_793 794
#define Z_UTIL_INC_794 795
#define Z_UTIL_INC_795 796
#define Z_UTIL_INC_796 797
#define Z_UTIL_INC_797 798
#define Z_UTIL_INC_798 799
#define Z_UTIL_INC_799 800
#define Z_UTIL_INC_800 801
#define Z_UTIL_INC_801 802
#define Z_UTIL_INC_802 803
#define Z_UTIL_INC_803 804
#define Z_UTIL_INC_804 805
#define Z_UTIL_INC_805 806
#define Z_UTIL_INC_806 807
#define Z_UTIL_INC_807 808
#define Z_UTIL_INC_808 809
#define Z_UTIL_INC_809 810
#define Z_UTIL_INC_810 811
#define Z_UTIL_INC_811 812
#define Z_UTIL_INC_812 813
#define Z_UTIL_INC_813 814
#define Z_UTIL_INC_814 815
#define Z_UTIL_INC_815 816
#define Z_UTIL_INC_816 817
#define Z_UTIL_INC_817 818
#define Z_UTIL_INC_818 819
#define Z_UTIL_INC_819 820
#define Z_UTIL_INC_820 821
#define Z_UTIL_INC_821 822
#define Z_UTIL_INC_822 823
#define Z_UTIL_INC_823 824
#define Z_UTIL_INC_824 825
#define Z_UTIL_INC_825 826
#define Z_UTIL_INC_826 827
#define Z_UTIL_INC_827 828
#define Z_UTIL_INC_828 829
#define Z_UTIL_INC_829 830
#define Z_UTIL_INC_830 831
#define Z_UTIL_INC_831 832
#define Z_UTIL_INC_832 833
#define Z_UTIL_INC_833 834
#define Z_UTIL_INC_834 835
#define Z_UTIL_INC_835 836
#define Z_UTIL_INC_836 837
#define Z_UTIL_INC_837 838
#define Z_UTIL_INC_838 839
#define Z_UTIL_INC_839 840
#define Z_UTIL_INC_840 841
#define Z_UTIL_INC_841 842
#define Z_UTIL_INC_842 843
#define Z_UTIL_INC_843 844
#define Z_UTIL_INC_844 845
#define Z_UTIL_INC_845 846
#define Z_UTIL_INC_846 847
#define Z_UTIL_INC_847 848
#define Z_UTIL_INC_848 849
#define Z_UTIL_INC_849 850
#define Z_UTIL_INC_850 851
#define Z_UTIL_INC_851 852
#define Z_UTIL_INC_852 853
#define Z_UTIL_INC_853 854
#define Z_UTIL_INC_854 855
#define Z_UTIL_INC_855 856
#define Z_UTIL_INC_856 857
#define Z_UTIL_INC_857 858
#define Z_UTIL_INC_858 859
#define Z_UTIL_INC_859 860
#define Z_UTIL_INC_860 861
#define Z_UTIL_INC_861 862
#define Z_UTIL_INC_862 863
#define Z_UTIL_INC_863 864
#define Z_UTIL_INC_864 865
#define Z_UTIL_INC_865 866
#define Z_UTIL_INC_866 867
#define Z_UTIL_INC_867 868
#define Z_UTIL_INC_868 869
#define Z_UTIL_INC_869 870
#define Z_UTIL_INC_870 871
#define Z_UTIL_INC_871 872
#define Z_UTIL_INC_872 873
#define Z_UTIL_INC_873 874
#define Z_UTIL_INC_874 875
#define Z_UTIL_INC_875 876
#define Z_UTIL_INC_876 877
#define Z_UTIL_INC_877 878
#define Z_UTIL_INC_878 879
#define Z_UTIL_INC_879 880
#define Z_UTIL_INC_880 881
#define Z_UTIL_INC_881 882
#define Z_UTIL_INC_882 883
#define Z_UTIL_INC_883 884
#define Z_UTIL_INC_884 885
#define Z_UTIL_INC_885 886
#define Z_UTIL_INC_886 887
#define Z_UTIL_INC_887 888
#define Z_UTIL_INC_888 889
#define Z_UTIL_INC_889 890
#define Z_UTIL_INC_890 891
#define Z_UTIL_INC_891 892
#define Z_UTIL_INC_892 893
#define Z_UTIL_INC_893 894
#define Z_UTIL_INC_894 895
#define Z_UTIL_INC_895 896
#define Z_UTIL_INC_896 897
#define Z_UTIL_INC_897 898
#define Z_UTIL_INC_898 899
#define Z_UTIL_INC_899 900
#define Z_UTIL_INC_900 901
#define Z_UTIL_INC_901 902
#define Z_UTIL_INC_902 903
#define Z_UTIL_INC_903 904
#define Z_UTIL_INC_904 905
#define Z_UTIL_INC_905 906
#define Z_UTIL_INC_906 907
#define Z_UTIL_INC_907 908
#define Z_UTIL_INC_908 909
#define Z_UTIL_INC_909 910
#define Z_UTIL_INC_910 911
#define Z_UTIL_INC_911 912
#define Z_UTIL_INC_912 913
#define Z_UTIL_INC_913 914
#define Z_UTIL_INC_914 915
#define Z_UTIL_INC_915 916
#define Z_UTIL_INC_916 917
#define Z_UTIL_INC_917 918
#define Z_UTIL_INC_918 919
#define Z_UTIL_INC_919 920
#define Z_UTIL_INC_920 921
#define Z_UTIL_INC_921 922
#define Z_UTIL_INC_922 923
#define Z_UTIL_INC_923 924
#define Z_UTIL_INC_924 925
#define Z_UTIL_INC_925 926
#define Z_UTIL_INC_926 927
#define Z_UTIL_INC_927 928
#define Z_UTIL_INC_928 929
#define Z_UTIL_INC_929 930
#define Z_UTIL_INC_930 931
#define Z_UTIL_INC_931 932
#define Z_UTIL_INC_932 933
#define Z_UTIL_INC_933 934
#define Z_UTIL_INC_934 935
#define Z_UTIL_INC_935 936
#define Z_UTIL_INC_936 937
#define Z_UTIL_INC_937 938
#define Z_UTIL_INC_938 939
#define Z_UTIL_INC_939 940
#define Z_UTIL_INC_940 941
#define Z_UTIL_INC_941 942
#define Z_UTIL_INC_942 943
#define Z_UTIL_INC_943 944
#define Z_UTIL_INC_944 945
#define Z_UTIL_INC_945 946
#define Z_UTIL_INC_946 947
#define Z_UTIL_INC_947 948
#define Z_UTIL_INC_948 949
#define Z_UTIL_INC_949 950
#define Z_UTIL_INC_950 951
#define Z_UTIL_INC_951 952
#define Z_UTIL_INC_952 953
#define Z_UTIL_INC_953 954
#define Z_UTIL_INC_954 955
#define Z_UTIL_INC_955 956
#define Z_UTIL_INC_956 957
#define Z_UTIL_INC_957 958
#define Z_UTIL_INC_958 959
#define Z_UTIL_INC_959 960
#define Z_UTIL_INC_960 961
#define Z_UTIL_INC_961 962
#define Z_UTIL_INC_962 963
#define Z_UTIL_INC_963 964
#define Z_UTIL_INC_964 965
#define Z_UTIL_INC_965 966
#define Z_UTIL_INC_966 967
#define Z_UTIL_INC_967 968
#define Z_UTIL_INC_968 969
#define Z_UTIL_INC_969 970
#define Z_UTIL_INC_970 971
#define Z_UTIL_INC_971 972
#define Z_UTIL_INC_972 973
#define Z_UTIL_INC_973 974
#define Z_UTIL_INC_974 975
#define Z_UTIL_INC_975 976
#define Z_UTIL_INC_976 977
#define Z_UTIL_INC_977 978
#define Z_UTIL_INC_978 979
#define Z_UTIL_INC_979 980
#define Z_UTIL_INC_980 981
#define Z_UTIL_INC_981 982
#define Z_UTIL_INC_982 983
#define Z_UTIL_INC_983 984
#define Z_UTIL_INC_984 985
#define Z_UTIL_INC_985 986
#define Z_UTIL_INC_986 987
#define Z_UTIL_INC_987 988
#define Z_UTIL_INC_988 989
#define Z_UTIL_INC_989 990
#define Z_UTIL_INC_990 991
#define Z_UTIL_INC_991 992
#define Z_UTIL_INC_992 993
#define Z_UTIL_INC_993 994
#define Z_UTIL_INC_994 995
#define Z_UTIL_INC_995 996
#define Z_UTIL_INC_996 997
#define Z_UTIL_INC_997 998
#define Z_UTIL_INC_998 999
#define Z_UTIL_INC_999 1000
#define Z_UTIL_INC_1000 1001
#define Z_UTIL_INC_1001 1002
#define Z_UTIL_INC_1002 1003
#define Z_UTIL_INC_1003 1004
#define Z_UTIL_INC_1004 1005
#define Z_UTIL_INC_1005 1006
#define Z_UTIL_INC_1006 1007
#define Z_UTIL_INC_1007 1008
#define Z_UTIL_INC_1008 1009
#define Z_UTIL_INC_1009 1010
#define Z_UTIL_INC_1010 1011
#define Z_UTIL_INC_1011 1012
#define Z_UTIL_INC_1012 1013
#define Z_UTIL_INC_1013 1014
#define Z_UTIL_INC_1014 1015
#define Z_UTIL_INC_1015 1016
#define Z_UTIL_INC_1016 1017
#define Z_UTIL_INC_1017 1018
#define Z_UTIL_INC_1018 1019
#define Z_UTIL_INC_1019 1020
#define Z_UTIL_INC_1020 1021
#define Z_UTIL_INC_1021 1022
#define Z_UTIL_INC_1022 1023
#define Z_UTIL_INC_1023 1024
#define Z_UTIL_INC_1024 1025
#define Z_UTIL_INC_1025 1026
#define Z_UTIL_INC_1026 1027
#define Z_UTIL_INC_1027 1028
#define Z_UTIL_INC_1028 1029
#define Z_UTIL_INC_1029 1030
#define Z_UTIL_INC_1030 1031
#define Z_UTIL_INC_1031 1032
#define Z_UTIL_INC_1032 1033
#define Z_UTIL_INC_1033 1034
#define Z_UTIL_INC_1034 1035
#define Z_UTIL_INC_1035 1036
#define Z_UTIL_INC_1036 1037
#define Z_UTIL_INC_1037 1038
#define Z_UTIL_INC_1038 1039
#define Z_UTIL_INC_1039 1040
#define Z_UTIL_INC_1040 1041
#define Z_UTIL_INC_1041 1042
#define Z_UTIL_INC_1042 1043
#define Z_UTIL_INC_1043 1044
#define Z_UTIL_INC_1044 1045
#define Z_UTIL_INC_1045 1046
#define Z_UTIL_INC_1046 1047
#define Z_UTIL_INC_1047 1048
#define Z_UTIL_INC_1048 1049
#define Z_UTIL_INC_1049 1050
#define Z_UTIL_INC_1050 1051
#define Z_UTIL_INC_1051 1052
#define Z_UTIL_INC_1052 1053
#define Z_UTIL_INC_1053 1054
#define Z_UTIL_INC_1054 1055
#define Z_UTIL_INC_1055 1056
#define Z_UTIL_INC_1056 1057
#define Z_UTIL_INC_1057 1058
#define Z_UTIL_INC_1058 1059
#define Z_UTIL_INC_1059 1060
#define Z_UTIL_INC_1060 1061
#define Z_UTIL_INC_1061 1062
#define Z_UTIL_INC_1062 1063
#define Z_UTIL_INC_1063 1064
#define Z_UTIL_INC_1064 1065
#define Z_UTIL_INC_1065 1066
#define Z_UTIL_INC_1066 1067
#define Z_UTIL_INC_1067 1068
#define Z_UTIL_INC_1068 1069
#define Z_UTIL_INC_1069 1070
#define Z_UTIL_INC_1070 1071
#define Z_UTIL_INC_1071 1072
#define Z_UTIL_INC_1072 1073
#define Z_UTIL_INC_1073 1074
#define Z_UTIL_INC_1074 1075
#define Z_UTIL_INC_1075 1076
#define Z_UTIL_INC_1076 1077
#define Z_UTIL_INC_1077 1078
#define Z_UTIL_INC_1078 1079
#define Z_UTIL_INC_1079 1080
#define Z_UTIL_INC_1080 1081
#define Z_UTIL_INC_1081 1082
#define Z_UTIL_INC_1082 1083
#define Z_UTIL_INC_1083 1084
#define Z_UTIL_INC_1084 1085
#define Z_UTIL_INC_1085 1086
#define Z_UTIL_INC_1086 1087
#define Z_UTIL_INC_1087 1088
#define Z_UTIL_INC_1088 1089
#define Z_UTIL_INC_1089 1090
#define Z_UTIL_INC_1090 1091
#define Z_UTIL_INC_1091 1092
#define Z_UTIL_INC_1092 1093
#define Z_UTIL_INC_1093 1094
#define Z_UTIL_INC_1094 1095
#define Z_UTIL_INC_1095 1096
#define Z_UTIL_INC_1096 1097
#define Z_UTIL_INC_1097 1098
#define Z_UTIL_INC_1098 1099
#define Z_UTIL_INC_1099 1100
#define Z_UTIL_INC_1100 1101
#define Z_UTIL_INC_1101 1102
#define Z_UTIL_INC_1102 1103
#define Z_UTIL_INC_1103 1104
#define Z_UTIL_INC_1104 1105
#define Z_UTIL_INC_1105 1106
#define Z_UTIL_INC_1106 1107
#define Z_UTIL_INC_1107 1108
#define Z_UTIL_INC_1108 1109
#define Z_UTIL_INC_1109 1110
#define Z_UTIL_INC_1110 1111
#define Z_UTIL_INC_1111 1112
#define Z_UTIL_INC_1112 1113
#define Z_UTIL_INC_1113 1114
#define Z_UTIL_INC_1114 1115
#define Z_UTIL_INC_1115 1116
#define Z_UTIL_INC_1116 1117
#define Z_UTIL_INC_1117 1118
#define Z_UTIL_INC_1118 1119
#define Z_UTIL_INC_1119 1120
#define Z_UTIL_INC_1120 1121
#define Z_UTIL_INC_1121 1122
#define Z_UTIL_INC_1122 1123
#define Z_UTIL_INC_1123 1124
#define Z_UTIL_INC_1124 1125
#define Z_UTIL_INC_1125 1126
#define Z_UTIL_INC_1126 1127
#define Z_UTIL_INC_1127 1128
#define Z_UTIL_INC_1128 1129
#define Z_UTIL_INC_1129 1130
#define Z_UTIL_INC_1130 1131
#define Z_UTIL_INC_1131 1132
#define Z_UTIL_INC_1132 1133
#define Z_UTIL_INC_1133 1134
#define Z_UTIL_INC_1134 1135
#define Z_UTIL_INC_1135 1136
#define Z_UTIL_INC_1136 1137
#define Z_UTIL_INC_1137 1138
#define Z_UTIL_INC_1138 1139
#define Z_UTIL_INC_1139 1140
#define Z_UTIL_INC_1140 1141
#define Z_UTIL_INC_1141 1142
#define Z_UTIL_INC_1142 1143
#define Z_UTIL_INC_1143 1144
#define Z_UTIL_INC_1144 1145
#define Z_UTIL_INC_1145 1146
#define Z_UTIL_INC_1146 1147
#define Z_UTIL_INC_1147 1148
#define Z_UTIL_INC_1148 1149
#define Z_UTIL_INC_1149 1150
#define Z_UTIL_INC_1150 1151
#define Z_UTIL_INC_1151 1152
#define Z_UTIL_INC_1152 1153
#define Z_UTIL_INC_1153 1154
#define Z_UTIL_INC_1154 1155
#define Z_UTIL_INC_1155 1156
#define Z_UTIL_INC_1156 1157
#define Z_UTIL_INC_1157 1158
#define Z_UTIL_INC_1158 1159
#define Z_UTIL_INC_1159 1160
#define Z_UTIL_INC_1160 1161
#define Z_UTIL_INC_1161 1162
#define Z_UTIL_INC_1162 1163
#define Z_UTIL_INC_1163 1164
#define Z_UTIL_INC_1164 1165
#define Z_UTIL_INC_1165 1166
#define Z_UTIL_INC_1166 1167
#define Z_UTIL_INC_1167 1168
#define Z_UTIL_INC_1168 1169
#define Z_UTIL_INC_1169 1170
#define Z_UTIL_INC_1170 1171
#define Z_UTIL_INC_1171 1172
#define Z_UTIL_INC_1172 1173
#define Z_UTIL_INC_1173 1174
#define Z_UTIL_INC_1174 1175
#define Z_UTIL_INC_1175 1176
#define Z_UTIL_INC_1176 1177
#define Z_UTIL_INC_1177 1178
#define Z_UTIL_INC_1178 1179
#define Z_UTIL_INC_1179 1180
#define Z_UTIL_INC_1180 1181
#define Z_UTIL_INC_1181 1182
#define Z_UTIL_INC_1182 1183
#define Z_UTIL_INC_1183 1184
#define Z_UTIL_INC_1184 1185
#define Z_UTIL_INC_1185 1186
#define Z_UTIL_INC_1186 1187
#define Z_UTIL_INC_1187 1188
#define Z_UTIL_INC_1188 1189
#define Z_UTIL_INC_1189 1190
#define Z_UTIL_INC_1190 1191
#define Z_UTIL_INC_1191 1192
#define Z_UTIL_INC_1192 1193
#define Z_UTIL_INC_1193 1194
#define Z_UTIL_INC_1194 1195
#define Z_UTIL_INC_1195 1196
#define Z_UTIL_INC_1196 1197
#define Z_UTIL_INC_1197 1198
#define Z_UTIL_INC_1198 1199
#define Z_UTIL_INC_1199 1200
#define Z_UTIL_INC_1200 1201
#define Z_UTIL_INC_1201 1202
#define Z_UTIL_INC_1202 1203
#define Z_UTIL_INC_1203 1204
#define Z_UTIL_INC_1204 1205
#define Z_UTIL_INC_1205 1206
#define Z_UTIL_INC_1206 1207
#define Z_UTIL_INC_1207 1208
#define Z_UTIL_INC_1208 1209
#define Z_UTIL_INC_1209 1210
#define Z_UTIL_INC_1210 1211
#define Z_UTIL_INC_1211 1212
#define Z_UTIL_INC_1212 1213
#define Z_UTIL_INC_1213 1214
#define Z_UTIL_INC_1214 1215
#define Z_UTIL_INC_1215 1216
#define Z_UTIL_INC_1216 1217
#define Z_UTIL_INC_1217 1218
#define Z_UTIL_INC_1218 1219
#define Z_UTIL_INC_1219 1220
#define Z_UTIL_INC_1220 1221
#define Z_UTIL_INC_1221 1222
#define Z_UTIL_INC_1222 1223
#define Z_UTIL_INC_1223 1224
#define Z_UTIL_INC_1224 1225
#define Z_UTIL_INC_1225 1226
#define Z_UTIL_INC_1226 1227
#define Z_UTIL_INC_1227 1228
#define Z_UTIL_INC_1228 1229
#define Z_UTIL_INC_1229 1230
#define Z_UTIL_INC_1230 1231
#define Z_UTIL_INC_1231 1232
#define Z_UTIL_INC_1232 1233
#define Z_UTIL_INC_1233 1234
#define Z_UTIL_INC_1234 1235
#define Z_UTIL_INC_1235 1236
#define Z_UTIL_INC_1236 1237
#define Z_UTIL_INC_1237 1238
#define Z_UTIL_INC_1238 1239
#define Z_UTIL_INC_1239 1240
#define Z_UTIL_INC_1240 1241
#define Z_UTIL_INC_1241 1242
#define Z_UTIL_INC_1242 1243
#define Z_UTIL_INC_1243 1244
#define Z_UTIL_INC_1244 1245
#define Z_UTIL_INC_1245 1246
#define Z_UTIL_INC_1246 1247
#define Z_UTIL_INC_1247 1248
#define Z_UTIL_INC_1248 1249
#define Z_UTIL_INC_1249 1250
#define Z_UTIL_INC_1250 1251
#define Z_UTIL_INC_1251 1252
#define Z_UTIL_INC_1252 1253
#define Z_UTIL_INC_1253 1254
#define Z_UTIL_INC_1254 1255
#define Z_UTIL_INC_1255 1256
#define Z_UTIL_INC_1256 1257
#define Z_UTIL_INC_1257 1258
#define Z_UTIL_INC_1258 1259
#define Z_UTIL_INC_1259 1260
#define Z_UTIL_INC_1260 1261
#define Z_UTIL_INC_1261 1262
#define Z_UTIL_INC_1262 1263
#define Z_UTIL_INC_1263 1264
#define Z_UTIL_INC_1264 1265
#define Z_UTIL_INC_1265 1266
#define Z_UTIL_INC_1266 1267
#define Z_UTIL_INC_1267 1268
#define Z_UTIL_INC_1268 1269
#define Z_UTIL_INC_1269 1270
#define Z_UTIL_INC_1270 1271
#define Z_UTIL_INC_1271 1272
#define Z_UTIL_INC_1272 1273
#define Z_UTIL_INC_1273 1274
#define Z_UTIL_INC_1274 1275
#define Z_UTIL_INC_1275 1276
#define Z_UTIL_INC_1276 1277
#define Z_UTIL_INC_1277 1278
#define Z_UTIL_INC_1278 1279
#define Z_UTIL_INC_1279 1280
#define Z_UTIL_INC_1280 1281
#define Z_UTIL_INC_1281 1282
#define Z_UTIL_INC_1282 1283
#define Z_UTIL_INC_1283 1284
#define Z_UTIL_INC_1284 1285
#define Z_UTIL_INC_1285 1286
#define Z_UTIL_INC_1286 1287
#define Z_UTIL_INC_1287 1288
#define Z_UTIL_INC_1288 1289
#define Z_UTIL_INC_1289 1290
#define Z_UTIL_INC_1290 1291
#define Z_UTIL_INC_1291 1292
#define Z_UTIL_INC_1292 1293
#define Z_UTIL_INC_1293 1294
#define Z_UTIL_INC_1294 1295
#define Z_UTIL_INC_1295 1296
#define Z_UTIL_INC_1296 1297
#define Z_UTIL_INC_1297 1298
#define Z_UTIL_INC_1298 1299
#define Z_UTIL_INC_1299 1300
#define Z_UTIL_INC_1300 1301
#define Z_UTIL_INC_1301 1302
#define Z_UTIL_INC_1302 1303
#define Z_UTIL_INC_1303 1304
#define Z_UTIL_INC_1304 1305
#define Z_UTIL_INC_1305 1306
#define Z_UTIL_INC_1306 1307
#define Z_UTIL_INC_1307 1308
#define Z_UTIL_INC_1308 1309
#define Z_UTIL_INC_1309 1310
#define Z_UTIL_INC_1310 1311
#define Z_UTIL_INC_1311 1312
#define Z_UTIL_INC_1312 1313
#define Z_UTIL_INC_1313 1314
#define Z_UTIL_INC_1314 1315
#define Z_UTIL_INC_1315 1316
#define Z_UTIL_INC_1316 1317
#define Z_UTIL_INC_1317 1318
#define Z_UTIL_INC_1318 1319
#define Z_UTIL_INC_1319 1320
#define Z_UTIL_INC_1320 1321
#define Z_UTIL_INC_1321 1322
#define Z_UTIL_INC_1322 1323
#define Z_UTIL_INC_1323 1324
#define Z_UTIL_INC_1324 1325
#define Z_UTIL_INC_1325 1326
#define Z_UTIL_INC_1326 1327
#define Z_UTIL_INC_1327 1328
#define Z_UTIL_INC_1328 1329
#define Z_UTIL_INC_1329 1330
#define Z_UTIL_INC_1330 1331
#define Z_UTIL_INC_1331 1332
#define Z_UTIL_INC_1332 1333
#define Z_UTIL_INC_1333 1334
#define Z_UTIL_INC_1334 1335
#define Z_UTIL_INC_1335 1336
#define Z_UTIL_INC_1336 1337
#define Z_UTIL_INC_1337 1338
#define Z_UTIL_INC_1338 1339
#define Z_UTIL_INC_1339 1340
#define Z_UTIL_INC_1340 1341
#define Z_UTIL_INC_1341 1342
#define Z_UTIL_INC_1342 1343
#define Z_UTIL_INC_1343 1344
#define Z_UTIL_INC_1344 1345
#define Z_UTIL_INC_1345 1346
#define Z_UTIL_INC_1346 1347
#define Z_UTIL_INC_1347 1348
#define Z_UTIL_INC_1348 1349
#define Z_UTIL_INC_1349 1350
#define Z_UTIL_INC_1350 1351
#define Z_UTIL_INC_1351 1352
#define Z_UTIL_INC_1352 1353
#define Z_UTIL_INC_1353 1354
#define Z_UTIL_INC_1354 1355
#define Z_UTIL_INC_1355 1356
#define Z_UTIL_INC_1356 1357
#define Z_UTIL_INC_1357 1358
#define Z_UTIL_INC_1358 1359
#define Z_UTIL_INC_1359 1360
#define Z_UTIL_INC_1360 1361
#define Z_UTIL_INC_1361 1362
#define Z_UTIL_INC_1362 1363
#define Z_UTIL_INC_1363 1364
#define Z_UTIL_INC_1364 1365
#define Z_UTIL_INC_1365 1366
#define Z_UTIL_INC_1366 1367
#define Z_UTIL_INC_1367 1368
#define Z_UTIL_INC_1368 1369
#define Z_UTIL_INC_1369 1370
#define Z_UTIL_INC_1370 1371
#define Z_UTIL_INC_1371 1372
#define Z_UTIL_INC_1372 1373
#define Z_UTIL_INC_1373 1374
#define Z_UTIL_INC_1374 1375
#define Z_UTIL_INC_1375 1376
#define Z_UTIL_INC_1376 1377
#define Z_UTIL_INC_1377 1378
#define Z_UTIL_INC_1378 1379
#define Z_UTIL_INC_1379 1380
#define Z_UTIL_INC_1380 1381
#define Z_UTIL_INC_1381 1382
#define Z_UTIL_INC_1382 1383
#define Z_UTIL_INC_1383 1384
#define Z_UTIL_INC_1384 1385
#define Z_UTIL_INC_1385 1386
#define Z_UTIL_INC_1386 1387
#define Z_UTIL_INC_1387 1388
#define Z_UTIL_INC_1388 1389
#define Z_UTIL_INC_1389 1390
#define Z_UTIL_INC_1390 1391
#define Z_UTIL_INC_1391 1392
#define Z_UTIL_INC_1392 1393
#define Z_UTIL_INC_1393 1394
#define Z_UTIL_INC_1394 1395
#define Z_UTIL_INC_1395 1396
#define Z_UTIL_INC_1396 1397
#define Z_UTIL_INC_1397 1398
#define Z_UTIL_INC_1398 1399
#define Z_UTIL_INC_1399 1400
#define Z_UTIL_INC_1400 1401
#define Z_UTIL_INC_1401 1402
#define Z_UTIL_INC_1402 1403
#define Z_UTIL_INC_1403 1404
#define Z_UTIL_INC_1404 1405
#define Z_UTIL_INC_1405 1406
#define Z_UTIL_INC_1406 1407
#define Z_UTIL_INC_1407 1408
#define Z_UTIL_INC_1408 1409
#define Z_UTIL_INC_1409 1410
#define Z_UTIL_INC_1410 1411
#define Z_UTIL_INC_1411 1412
#define Z_UTIL_INC_1412 1413
#define Z_UTIL_INC_1413 1414
#define Z_UTIL_INC_1414 1415
#define Z_UTIL_INC_1415 1416
#define Z_UTIL_INC_1416 1417
#define Z_UTIL_INC_1417 1418
#define Z_UTIL_INC_1418 1419
#define Z_UTIL_INC_1419 1420
#define Z_UTIL_INC_1420 1421
#define Z_UTIL_INC_1421 1422
#define Z_UTIL_INC_1422 1423
#define Z_UTIL_INC_1423 1424
#define Z_UTIL_INC_1424 1425
#define Z_UTIL_INC_1425 1426
#define Z_UTIL_INC_1426 1427
#define Z_UTIL_INC_1427 1428
#define Z_UTIL_INC_1428 1429
#define Z_UTIL_INC_1429 1430
#define Z_UTIL_INC_1430 1431
#define Z_UTIL_INC_1431 1432
#define Z_UTIL_INC_1432 1433
#define Z_UTIL_INC_1433 1434
#define Z_UTIL_INC_1434 1435
#define Z_UTIL_INC_1435 1436
#define Z_UTIL_INC_1436 1437
#define Z_UTIL_INC_1437 1438
#define Z_UTIL_INC_1438 1439
#define Z_UTIL_INC_1439 1440
#define Z_UTIL_INC_1440 1441
#define Z_UTIL_INC_1441 1442
#define Z_UTIL_INC_1442 1443
#define Z_UTIL_INC_1443 1444
#define Z_UTIL_INC_1444 1445
#define Z_UTIL_INC_1445 1446
#define Z_UTIL_INC_1446 1447
#define Z_UTIL_INC_1447 1448
#define Z_UTIL_INC_1448 1449
#define Z_UTIL_INC_1449 1450
#define Z_UTIL_INC_1450 1451
#define Z_UTIL_INC_1451 1452
#define Z_UTIL_INC_1452 1453
#define Z_UTIL_INC_1453 1454
#define Z_UTIL_INC_1454 1455
#define Z_UTIL_INC_1455 1456
#define Z_UTIL_INC_1456 1457
#define Z_UTIL_INC_1457 1458
#define Z_UTIL_INC_1458 1459
#define Z_UTIL_INC_1459 1460
#define Z_UTIL_INC_1460 1461
#define Z_UTIL_INC_1461 1462
#define Z_UTIL_INC_1462 1463
#define Z_UTIL_INC_1463 1464
#define Z_UTIL_INC_1464 1465
#define Z_UTIL_INC_1465 1466
#define Z_UTIL_INC_1466 1467
#define Z_UTIL_INC_1467 1468
#define Z_UTIL_INC_1468 1469
#define Z_UTIL_INC_1469 1470
#define Z_UTIL_INC_1470 1471
#define Z_UTIL_INC_1471 1472
#define Z_UTIL_INC_1472 1473
#define Z_UTIL_INC_1473 1474
#define Z_UTIL_INC_1474 1475
#define Z_UTIL_INC_1475 1476
#define Z_UTIL_INC_1476 1477
#define Z_UTIL_INC_1477 1478
#define Z_UTIL_INC_1478 1479
#define Z_UTIL_INC_1479 1480
#define Z_UTIL_INC_1480 1481
#define Z_UTIL_INC_1481 1482
#define Z_UTIL_INC_1482 1483
#define Z_UTIL_INC_1483 1484
#define Z_UTIL_INC_1484 1485
#define Z_UTIL_INC_1485 1486
#define Z_UTIL_INC_1486 1487
#define Z_UTIL_INC_1487 1488
#define Z_UTIL_INC_1488 1489
#define Z_UTIL_INC_1489 1490
#define Z_UTIL_INC_1490 1491
#define Z_UTIL_INC_1491 1492
#define Z_UTIL_INC_1492 1493
#define Z_UTIL_INC_1493 1494
#define Z_UTIL_INC_1494 1495
#define Z_UTIL_INC_1495 1496
#define Z_UTIL_INC_1496 1497
#define Z_UTIL_INC_1497 1498
#define Z_UTIL_INC_1498 1499
#define Z_UTIL_INC_1499 1500
#define Z_UTIL_INC_1500 1501
#define Z_UTIL_INC_1501 1502
#define Z_UTIL_INC_1502 1503
#define Z_UTIL_INC_1503 1504
#define Z_UTIL_INC_1504 1505
#define Z_UTIL_INC_1505 1506
#define Z_UTIL_INC_1506 1507
#define Z_UTIL_INC_1507 1508
#define Z_UTIL_INC_1508 1509
#define Z_UTIL_INC_1509 1510
#define Z_UTIL_INC_1510 1511
#define Z_UTIL_INC_1511 1512
#define Z_UTIL_INC_1512 1513
#define Z_UTIL_INC_1513 1514
#define Z_UTIL_INC_1514 1515
#define Z_UTIL_INC_1515 1516
#define Z_UTIL_INC_1516 1517
#define Z_UTIL_INC_1517 1518
#define Z_UTIL_INC_1518 1519
#define Z_UTIL_INC_1519 1520
#define Z_UTIL_INC_1520 1521
#define Z_UTIL_INC_1521 1522
#define Z_UTIL_INC_1522 1523
#define Z_UTIL_INC_1523 1524
#define Z_UTIL_INC_1524 1525
#define Z_UTIL_INC_1525 1526
#define Z_UTIL_INC_1526 1527
#define Z_UTIL_INC_1527 1528
#define Z_UTIL_INC_1528 1529
#define Z_UTIL_INC_1529 1530
#define Z_UTIL_INC_1530 1531
#define Z_UTIL_INC_1531 1532
#define Z_UTIL_INC_1532 1533
#define Z_UTIL_INC_1533 1534
#define Z_UTIL_INC_1534 1535
#define Z_UTIL_INC_1535 1536
#define Z_UTIL_INC_1536 1537
#define Z_UTIL_INC_1537 1538
#define Z_UTIL_INC_1538 1539
#define Z_UTIL_INC_1539 1540
#define Z_UTIL_INC_1540 1541
#define Z_UTIL_INC_1541 1542
#define Z_UTIL_INC_1542 1543
#define Z_UTIL_INC_1543 1544
#define Z_UTIL_INC_1544 1545
#define Z_UTIL_INC_1545 1546
#define Z_UTIL_INC_1546 1547
#define Z_UTIL_INC_1547 1548
#define Z_UTIL_INC_1548 1549
#define Z_UTIL_INC_1549 1550
#define Z_UTIL_INC_1550 1551
#define Z_UTIL_INC_1551 1552
#define Z_UTIL_INC_1552 1553
#define Z_UTIL_INC_1553 1554
#define Z_UTIL_INC_1554 1555
#define Z_UTIL_INC_1555 1556
#define Z_UTIL_INC_1556 1557
#define Z_UTIL_INC_1557 1558
#define Z_UTIL_INC_1558 1559
#define Z_UTIL_INC_1559 1560
#define Z_UTIL_INC_1560 1561
#define Z_UTIL_INC_1561 1562
#define Z_UTIL_INC_1562 1563
#define Z_UTIL_INC_1563 1564
#define Z_UTIL_INC_1564 1565
#define Z_UTIL_INC_1565 1566
#define Z_UTIL_INC_1566 1567
#define Z_UTIL_INC_1567 1568
#define Z_UTIL_INC_1568 1569
#define Z_UTIL_INC_1569 1570
#define Z_UTIL_INC_1570 1571
#define Z_UTIL_INC_1571 1572
#define Z_UTIL_INC_1572 1573
#define Z_UTIL_INC_1573 1574
#define Z_UTIL_INC_1574 1575
#define Z_UTIL_INC_1575 1576
#define Z_UTIL_INC_1576 1577
#define Z_UTIL_INC_1577 1578
#define Z_UTIL_INC_1578 1579
#define Z_UTIL_INC_1579 1580
#define Z_UTIL_INC_1580 1581
#define Z_UTIL_INC_1581 1582
#define Z_UTIL_INC_1582 1583
#define Z_UTIL_INC_1583 1584
#define Z_UTIL_INC_1584 1585
#define Z_UTIL_INC_1585 1586
#define Z_UTIL_INC_1586 1587
#define Z_UTIL_INC_1587 1588
#define Z_UTIL_INC_1588 1589
#define Z_UTIL_INC_1589 1590
#define Z_UTIL_INC_1590 1591
#define Z_UTIL_INC_1591 1592
#define Z_UTIL_INC_1592 1593
#define Z_UTIL_INC_1593 1594
#define Z_UTIL_INC_1594 1595
#define Z_UTIL_INC_1595 1596
#define Z_UTIL_INC_1596 1597
#define Z_UTIL_INC_1597 1598
#define Z_UTIL_INC_1598 1599
#define Z_UTIL_INC_1599 1600
#define Z_UTIL_INC_1600 1601
#define Z_UTIL_INC_1601 1602
#define Z_UTIL_INC_1602 1603
#define Z_UTIL_INC_1603 1604
#define Z_UTIL_INC_1604 1605
#define Z_UTIL_INC_1605 1606
#define Z_UTIL_INC_1606 1607
#define Z_UTIL_INC_1607 1608
#define Z_UTIL_INC_1608 1609
#define Z_UTIL_INC_1609 1610
#define Z_UTIL_INC_1610 1611
#define Z_UTIL_INC_1611 1612
#define Z_UTIL_INC_1612 1613
#define Z_UTIL_INC_1613 1614
#define Z_UTIL_INC_1614 1615
#define Z_UTIL_INC_1615 1616
#define Z_UTIL_INC_1616 1617
#define Z_UTIL_INC_1617 1618
#define Z_UTIL_INC_1618 1619
#define Z_UTIL_INC_1619 1620
#define Z_UTIL_INC_1620 1621
#define Z_UTIL_INC_1621 1622
#define Z_UTIL_INC_1622 1623
#define Z_UTIL_INC_1623 1624
#define Z_UTIL_INC_1624 1625
#define Z_UTIL_INC_1625 1626
#define Z_UTIL_INC_1626 1627
#define Z_UTIL_INC_1627 1628
#define Z_UTIL_INC_1628 1629
#define Z_UTIL_INC_1629 1630
#define Z_UTIL_INC_1630 1631
#define Z_UTIL_INC_1631 1632
#define Z_UTIL_INC_1632 1633
#define Z_UTIL_INC_1633 1634
#define Z_UTIL_INC_1634 1635
#define Z_UTIL_INC_1635 1636
#define Z_UTIL_INC_1636 1637
#define Z_UTIL_INC_1637 1638
#define Z_UTIL_INC_1638 1639
#define Z_UTIL_INC_1639 1640
#define Z_UTIL_INC_1640 1641
#define Z_UTIL_INC_1641 1642
#define Z_UTIL_INC_1642 1643
#define Z_UTIL_INC_1643 1644
#define Z_UTIL_INC_1644 1645
#define Z_UTIL_INC_1645 1646
#define Z_UTIL_INC_1646 1647
#define Z_UTIL_INC_1647 1648
#define Z_UTIL_INC_1648 1649
#define Z_UTIL_INC_1649 1650
#define Z_UTIL_INC_1650 1651
#define Z_UTIL_INC_1651 1652
#define Z_UTIL_INC_1652 1653
#define Z_UTIL_INC_1653 1654
#define Z_UTIL_INC_1654 1655
#define Z_UTIL_INC_1655 1656
#define Z_UTIL_INC_1656 1657
#define Z_UTIL_INC_1657 1658
#define Z_UTIL_INC_1658 1659
#define Z_UTIL_INC_1659 1660
#define Z_UTIL_INC_1660 1661
#define Z_UTIL_INC_1661 1662
#define Z_UTIL_INC_1662 1663
#define Z_UTIL_INC_1663 1664
#define Z_UTIL_INC_1664 1665
#define Z_UTIL_INC_1665 1666
#define Z_UTIL_INC_1666 1667
#define Z_UTIL_INC_1667 1668
#define Z_UTIL_INC_1668 1669
#define Z_UTIL_INC_1669 1670
#define Z_UTIL_INC_1670 1671
#define Z_UTIL_INC_1671 1672
#define Z_UTIL_INC_1672 1673
#define Z_UTIL_INC_1673 1674
#define Z_UTIL_INC_1674 1675
#define Z_UTIL_INC_1675 1676
#define Z_UTIL_INC_1676 1677
#define Z_UTIL_INC_1677 1678
#define Z_UTIL_INC_1678 1679
#define Z_UTIL_INC_1679 1680
#define Z_UTIL_INC_1680 1681
#define Z_UTIL_INC_1681 1682
#define Z_UTIL_INC_1682 1683
#define Z_UTIL_INC_1683 1684
#define Z_UTIL_INC_1684 1685
#define Z_UTIL_INC_1685 1686
#define Z_UTIL_INC_1686 1687
#define Z_UTIL_INC_1687 1688
#define Z_UTIL_INC_1688 1689
#define Z_UTIL_INC_1689 1690
#define Z_UTIL_INC_1690 1691
#define Z_UTIL_INC_1691 1692
#define Z_UTIL_INC_1692 1693
#define Z_UTIL_INC_1693 1694
#define Z_UTIL_INC_1694 1695
#define Z_UTIL_INC_1695 1696
#define Z_UTIL_INC_1696 1697
#define Z_UTIL_INC_1697 1698
#define Z_UTIL_INC_1698 1699
#define Z_UTIL_INC_1699 1700
#define Z_UTIL_INC_1700 1701
#define Z_UTIL_INC_1701 1702
#define Z_UTIL_INC_1702 1703
#define Z_UTIL_INC_1703 1704
#define Z_UTIL_INC_1704 1705
#define Z_UTIL_INC_1705 1706
#define Z_UTIL_INC_1706 1707
#define Z_UTIL_INC_1707 1708
#define Z_UTIL_INC_1708 1709
#define Z_UTIL_INC_1709 1710
#define Z_UTIL_INC_1710 1711
#define Z_UTIL_INC_1711 1712
#define Z_UTIL_INC_1712 1713
#define Z_UTIL_INC_1713 1714
#define Z_UTIL_INC_1714 1715
#define Z_UTIL_INC_1715 1716
#define Z_UTIL_INC_1716 1717
#define Z_UTIL_INC_1717 1718
#define Z_UTIL_INC_1718 1719
#define Z_UTIL_INC_1719 1720
#define Z_UTIL_INC_1720 1721
#define Z_UTIL_INC_1721 1722
#define Z_UTIL_INC_1722 1723
#define Z_UTIL_INC_1723 1724
#define Z_UTIL_INC_1724 1725
#define Z_UTIL_INC_1725 1726
#define Z_UTIL_INC_1726 1727
#define Z_UTIL_INC_1727 1728
#define Z_UTIL_INC_1728 1729
#define Z_UTIL_INC_1729 1730
#define Z_UTIL_INC_1730 1731
#define Z_UTIL_INC_1731 1732
#define Z_UTIL_INC_1732 1733
#define Z_UTIL_INC_1733 1734
#define Z_UTIL_INC_1734 1735
#define Z_UTIL_INC_1735 1736
#define Z_UTIL_INC_1736 1737
#define Z_UTIL_INC_1737 1738
#define Z_UTIL_INC_1738 1739
#define Z_UTIL_INC_1739 1740
#define Z_UTIL_INC_1740 1741
#define Z_UTIL_INC_1741 1742
#define Z_UTIL_INC_1742 1743
#define Z_UTIL_INC_1743 1744
#define Z_UTIL_INC_1744 1745
#define Z_UTIL_INC_1745 1746
#define Z_UTIL_INC_1746 1747
#define Z_UTIL_INC_1747 1748
#define Z_UTIL_INC_1748 1749
#define Z_UTIL_INC_1749 1750
#define Z_UTIL_INC_1750 1751
#define Z_UTIL_INC_1751 1752
#define Z_UTIL_INC_1752 1753
#define Z_UTIL_INC_1753 1754
#define Z_UTIL_INC_1754 1755
#define Z_UTIL_INC_1755 1756
#define Z_UTIL_INC_1756 1757
#define Z_UTIL_INC_1757 1758
#define Z_UTIL_INC_1758 1759
#define Z_UTIL_INC_1759 1760
#define Z_UTIL_INC_1760 1761
#define Z_UTIL_INC_1761 1762
#define Z_UTIL_INC_1762 1763
#define Z_UTIL_INC_1763 1764
#define Z_UTIL_INC_1764 1765
#define Z_UTIL_INC_1765 1766
#define Z_UTIL_INC_1766 1767
#define Z_UTIL_INC_1767 1768
#define Z_UTIL_INC_1768 1769
#define Z_UTIL_INC_1769 1770
#define Z_UTIL_INC_1770 1771
#define Z_UTIL_INC_1771 1772
#define Z_UTIL_INC_1772 1773
#define Z_UTIL_INC_1773 1774
#define Z_UTIL_INC_1774 1775
#define Z_UTIL_INC_1775 1776
#define Z_UTIL_INC_1776 1777
#define Z_UTIL_INC_1777 1778
#define Z_UTIL_INC_1778 1779
#define Z_UTIL_INC_1779 1780
#define Z_UTIL_INC_1780 1781
#define Z_UTIL_INC_1781 1782
#define Z_UTIL_INC_1782 1783
#define Z_UTIL_INC_1783 1784
#define Z_UTIL_INC_1784 1785
#define Z_UTIL_INC_1785 1786
#define Z_UTIL_INC_1786 1787
#define Z_UTIL_INC_1787 1788
#define Z_UTIL_INC_1788 1789
#define Z_UTIL_INC_1789 1790
#define Z_UTIL_INC_1790 1791
#define Z_UTIL_INC_1791 1792
#define Z_UTIL_INC_1792 1793
#define Z_UTIL_INC_1793 1794
#define Z_UTIL_INC_1794 1795
#define Z_UTIL_INC_1795 1796
#define Z_UTIL_INC_1796 1797
#define Z_UTIL_INC_1797 1798
#define Z_UTIL_INC_1798 1799
#define Z_UTIL_INC_1799 1800
#define Z_UTIL_INC_1800 1801
#define Z_UTIL_INC_1801 1802
#define Z_UTIL_INC_1802 1803
#define Z_UTIL_INC_1803 1804
#define Z_UTIL_INC_1804 1805
#define Z_UTIL_INC_1805 1806
#define Z_UTIL_INC_1806 1807
#define Z_UTIL_INC_1807 1808
#define Z_UTIL_INC_1808 1809
#define Z_UTIL_INC_1809 1810
#define Z_UTIL_INC_1810 1811
#define Z_UTIL_INC_1811 1812
#define Z_UTIL_INC_1812 1813
#define Z_UTIL_INC_1813 1814
#define Z_UTIL_INC_1814 1815
#define Z_UTIL_INC_1815 1816
#define Z_UTIL_INC_1816 1817
#define Z_UTIL_INC_1817 1818
#define Z_UTIL_INC_1818 1819
#define Z_UTIL_INC_1819 1820
#define Z_UTIL_INC_1820 1821
#define Z_UTIL_INC_1821 1822
#define Z_UTIL_INC_1822 1823
#define Z_UTIL_INC_1823 1824
#define Z_UTIL_INC_1824 1825
#define Z_UTIL_INC_1825 1826
#define Z_UTIL_INC_1826 1827
#define Z_UTIL_INC_1827 1828
#define Z_UTIL_INC_1828 1829
#define Z_UTIL_INC_1829 1830
#define Z_UTIL_INC_1830 1831
#define Z_UTIL_INC_1831 1832
#define Z_UTIL_INC_1832 1833
#define Z_UTIL_INC_1833 1834
#define Z_UTIL_INC_1834 1835
#define Z_UTIL_INC_1835 1836
#define Z_UTIL_INC_1836 1837
#define Z_UTIL_INC_1837 1838
#define Z_UTIL_INC_1838 1839
#define Z_UTIL_INC_1839 1840
#define Z_UTIL_INC_1840 1841
#define Z_UTIL_INC_1841 1842
#define Z_UTIL_INC_1842 1843
#define Z_UTIL_INC_1843 1844
#define Z_UTIL_INC_1844 1845
#define Z_UTIL_INC_1845 1846
#define Z_UTIL_INC_1846 1847
#define Z_UTIL_INC_1847 1848
#define Z_UTIL_INC_1848 1849
#define Z_UTIL_INC_1849 1850
#define Z_UTIL_INC_1850 1851
#define Z_UTIL_INC_1851 1852
#define Z_UTIL_INC_1852 1853
#define Z_UTIL_INC_1853 1854
#define Z_UTIL_INC_1854 1855
#define Z_UTIL_INC_1855 1856
#define Z_UTIL_INC_1856 1857
#define Z_UTIL_INC_1857 1858
#define Z_UTIL_INC_1858 1859
#define Z_UTIL_INC_1859 1860
#define Z_UTIL_INC_1860 1861
#define Z_UTIL_INC_1861 1862
#define Z_UTIL_INC_1862 1863
#define Z_UTIL_INC_1863 1864
#define Z_UTIL_INC_1864 1865
#define Z_UTIL_INC_1865 1866
#define Z_UTIL_INC_1866 1867
#define Z_UTIL_INC_1867 1868
#define Z_UTIL_INC_1868 1869
#define Z_UTIL_INC_1869 1870
#define Z_UTIL_INC_1870 1871
#define Z_UTIL_INC_1871 1872
#define Z_UTIL_INC_1872 1873
#define Z_UTIL_INC_1873 1874
#define Z_UTIL_INC_1874 1875
#define Z_UTIL_INC_1875 1876
#define Z_UTIL_INC_1876 1877
#define Z_UTIL_INC_1877 1878
#define Z_UTIL_INC_1878 1879
#define Z_UTIL_INC_1879 1880
#define Z_UTIL_INC_1880 1881
#define Z_UTIL_INC_1881 1882
#define Z_UTIL_INC_1882 1883
#define Z_UTIL_INC_1883 1884
#define Z_UTIL_INC_1884 1885
#define Z_UTIL_INC_1885 1886
#define Z_UTIL_INC_1886 1887
#define Z_UTIL_INC_1887 1888
#define Z_UTIL_INC_1888 1889
#define Z_UTIL_INC_1889 1890
#define Z_UTIL_INC_1890 1891
#define Z_UTIL_INC_1891 1892
#define Z_UTIL_INC_1892 1893
#define Z_UTIL_INC_1893 1894
#define Z_UTIL_INC_1894 1895
#define Z_UTIL_INC_1895 1896
#define Z_UTIL_INC_1896 1897
#define Z_UTIL_INC_1897 1898
#define Z_UTIL_INC_1898 1899
#define Z_UTIL_INC_1899 1900
#define Z_UTIL_INC_1900 1901
#define Z_UTIL_INC_1901 1902
#define Z_UTIL_INC_1902 1903
#define Z_UTIL_INC_1903 1904
#define Z_UTIL_INC_1904 1905
#define Z_UTIL_INC_1905 1906
#define Z_UTIL_INC_1906 1907
#define Z_UTIL_INC_1907 1908
#define Z_UTIL_INC_1908 1909
#define Z_UTIL_INC_1909 1910
#define Z_UTIL_INC_1910 1911
#define Z_UTIL_INC_1911 1912
#define Z_UTIL_INC_1912 1913
#define Z_UTIL_INC_1913 1914
#define Z_UTIL_INC_1914 1915
#define Z_UTIL_INC_1915 1916
#define Z_UTIL_INC_1916 1917
#define Z_UTIL_INC_1917 1918
#define Z_UTIL_INC_1918 1919
#define Z_UTIL_INC_1919 1920
#define Z_UTIL_INC_1920 1921
#define Z_UTIL_INC_1921 1922
#define Z_UTIL_INC_1922 1923
#define Z_UTIL_INC_1923 1924
#define Z_UTIL_INC_1924 1925
#define Z_UTIL_INC_1925 1926
#define Z_UTIL_INC_1926 1927
#define Z_UTIL_INC_1927 1928
#define Z_UTIL_INC_1928 1929
#define Z_UTIL_INC_1929 1930
#define Z_UTIL_INC_1930 1931
#define Z_UTIL_INC_1931 1932
#define Z_UTIL_INC_1932 1933
#define Z_UTIL_INC_1933 1934
#define Z_UTIL_INC_1934 1935
#define Z_UTIL_INC_1935 1936
#define Z_UTIL_INC_1936 1937
#define Z_UTIL_INC_1937 1938
#define Z_UTIL_INC_1938 1939
#define Z_UTIL_INC_1939 1940
#define Z_UTIL_INC_1940 1941
#define Z_UTIL_INC_1941 1942
#define Z_UTIL_INC_1942 1943
#define Z_UTIL_INC_1943 1944
#define Z_UTIL_INC_1944 1945
#define Z_UTIL_INC_1945 1946
#define Z_UTIL_INC_1946 1947
#define Z_UTIL_INC_1947 1948
#define Z_UTIL_INC_1948 1949
#define Z_UTIL_INC_1949 1950
#define Z_UTIL_INC_1950 1951
#define Z_UTIL_INC_1951 1952
#define Z_UTIL_INC_1952 1953
#define Z_UTIL_INC_1953 1954
#define Z_UTIL_INC_1954 1955
#define Z_UTIL_INC_1955 1956
#define Z_UTIL_INC_1956 1957
#define Z_UTIL_INC_1957 1958
#define Z_UTIL_INC_1958 1959
#define Z_UTIL_INC_1959 1960
#define Z_UTIL_INC_1960 1961
#define Z_UTIL_INC_1961 1962
#define Z_UTIL_INC_1962 1963
#define Z_UTIL_INC_1963 1964
#define Z_UTIL_INC_1964 1965
#define Z_UTIL_INC_1965 1966
#define Z_UTIL_INC_1966 1967
#define Z_UTIL_INC_1967 1968
#define Z_UTIL_INC_1968 1969
#define Z_UTIL_INC_1969 1970
#define Z_UTIL_INC_1970 1971
#define Z_UTIL_INC_1971 1972
#define Z_UTIL_INC_1972 1973
#define Z_UTIL_INC_1973 1974
#define Z_UTIL_INC_1974 1975
#define Z_UTIL_INC_1975 1976
#define Z_UTIL_INC_1976 1977
#define Z_UTIL_INC_1977 1978
#define Z_UTIL_INC_1978 1979
#define Z_UTIL_INC_1979 1980
#define Z_UTIL_INC_1980 1981
#define Z_UTIL_INC_1981 1982
#define Z_UTIL_INC_1982 1983
#define Z_UTIL_INC_1983 1984
#define Z_UTIL_INC_1984 1985
#define Z_UTIL_INC_1985 1986
#define Z_UTIL_INC_1986 1987
#define Z_UTIL_INC_1987 1988
#define Z_UTIL_INC_1988 1989
#define Z_UTIL_INC_1989 1990
#define Z_UTIL_INC_1990 1991
#define Z_UTIL_INC_1991 1992
#define Z_UTIL_INC_1992 1993
#define Z_UTIL_INC_1993 1994
#define Z_UTIL_INC_1994 1995
#define Z_UTIL_INC_1995 1996
#define Z_UTIL_INC_1996 1997
#define Z_UTIL_INC_1997 1998
#define Z_UTIL_INC_1998 1999
#define Z_UTIL_INC_1999 2000
#define Z_UTIL_INC_2000 2001
#define Z_UTIL_INC_2001 2002
#define Z_UTIL_INC_2002 2003
#define Z_UTIL_INC_2003 2004
#define Z_UTIL_INC_2004 2005
#define Z_UTIL_INC_2005 2006
#define Z_UTIL_INC_2006 2007
#define Z_UTIL_INC_2007 2008
#define Z_UTIL_INC_2008 2009
#define Z_UTIL_INC_2009 2010
#define Z_UTIL_INC_2010 2011
#define Z_UTIL_INC_2011 2012
#define Z_UTIL_INC_2012 2013
#define Z_UTIL_INC_2013 2014
#define Z_UTIL_INC_2014 2015
#define Z_UTIL_INC_2015 2016
#define Z_UTIL_INC_2016 2017
#define Z_UTIL_INC_2017 2018
#define Z_UTIL_INC_2018 2019
#define Z_UTIL_INC_2019 2020
#define Z_UTIL_INC_2020 2021
#define Z_UTIL_INC_2021 2022
#define Z_UTIL_INC_2022 2023
#define Z_UTIL_INC_2023 2024
#define Z_UTIL_INC_2024 2025
#define Z_UTIL_INC_2025 2026
#define Z_UTIL_INC_2026 2027
#define Z_UTIL_INC_2027 2028
#define Z_UTIL_INC_2028 2029
#define Z_UTIL_INC_2029 2030
#define Z_UTIL_INC_2030 2031
#define Z_UTIL_INC_2031 2032
#define Z_UTIL_INC_2032 2033
#define Z_UTIL_INC_2033 2034
#define Z_UTIL_INC_2034 2035
#define Z_UTIL_INC_2035 2036
#define Z_UTIL_INC_2036 2037
#define Z_UTIL_INC_2037 2038
#define Z_UTIL_INC_2038 2039
#define Z_UTIL_INC_2039 2040
#define Z_UTIL_INC_2040 2041
#define Z_UTIL_INC_2041 2042
#define Z_UTIL_INC_2042 2043
#define Z_UTIL_INC_2043 2044
#define Z_UTIL_INC_2044 2045
#define Z_UTIL_INC_2045 2046
#define Z_UTIL_INC_2046 2047
#define Z_UTIL_INC_2047 2048
#define Z_UTIL_INC_2048 2049
#define Z_UTIL_INC_2049 2050
#define Z_UTIL_INC_2050 2051
#define Z_UTIL_INC_2051 2052
#define Z_UTIL_INC_2052 2053
#define Z_UTIL_INC_2053 2054
#define Z_UTIL_INC_2054 2055
#define Z_UTIL_INC_2055 2056
#define Z_UTIL_INC_2056 2057
#define Z_UTIL_INC_2057 2058
#define Z_UTIL_INC_2058 2059
#define Z_UTIL_INC_2059 2060
#define Z_UTIL_INC_2060 2061
#define Z_UTIL_INC_2061 2062
#define Z_UTIL_INC_2062 2063
#define Z_UTIL_INC_2063 2064
#define Z_UTIL_INC_2064 2065
#define Z_UTIL_INC_2065 2066
#define Z_UTIL_INC_2066 2067
#define Z_UTIL_INC_2067 2068
#define Z_UTIL_INC_2068 2069
#define Z_UTIL_INC_2069 2070
#define Z_UTIL_INC_2070 2071
#define Z_UTIL_INC_2071 2072
#define Z_UTIL_INC_2072 2073
#define Z_UTIL_INC_2073 2074
#define Z_UTIL_INC_2074 2075
#define Z_UTIL_INC_2075 2076
#define Z_UTIL_INC_2076 2077
#define Z_UTIL_INC_2077 2078
#define Z_UTIL_INC_2078 2079
#define Z_UTIL_INC_2079 2080
#define Z_UTIL_INC_2080 2081
#define Z_UTIL_INC_2081 2082
#define Z_UTIL_INC_2082 2083
#define Z_UTIL_INC_2083 2084
#define Z_UTIL_INC_2084 2085
#define Z_UTIL_INC_2085 2086
#define Z_UTIL_INC_2086 2087
#define Z_UTIL_INC_2087 2088
#define Z_UTIL_INC_2088 2089
#define Z_UTIL_INC_2089 2090
#define Z_UTIL_INC_2090 2091
#define Z_UTIL_INC_2091 2092
#define Z_UTIL_INC_2092 2093
#define Z_UTIL_INC_2093 2094
#define Z_UTIL_INC_2094 2095
#define Z_UTIL_INC_2095 2096
#define Z_UTIL_INC_2096 2097
#define Z_UTIL_INC_2097 2098
#define Z_UTIL_INC_2098 2099
#define Z_UTIL_INC_2099 2100
#define Z_UTIL_INC_2100 2101
#define Z_UTIL_INC_2101 2102
#define Z_UTIL_INC_2102 2103
#define Z_UTIL_INC_2103 2104
#define Z_UTIL_INC_2104 2105
#define Z_UTIL_INC_2105 2106
#define Z_UTIL_INC_2106 2107
#define Z_UTIL_INC_2107 2108
#define Z_UTIL_INC_2108 2109
#define Z_UTIL_INC_2109 2110
#define Z_UTIL_INC_2110 2111
#define Z_UTIL_INC_2111 2112
#define Z_UTIL_INC_2112 2113
#define Z_UTIL_INC_2113 2114
#define Z_UTIL_INC_2114 2115
#define Z_UTIL_INC_2115 2116
#define Z_UTIL_INC_2116 2117
#define Z_UTIL_INC_2117 2118
#define Z_UTIL_INC_2118 2119
#define Z_UTIL_INC_2119 2120
#define Z_UTIL_INC_2120 2121
#define Z_UTIL_INC_2121 2122
#define Z_UTIL_INC_2122 2123
#define Z_UTIL_INC_2123 2124
#define Z_UTIL_INC_2124 2125
#define Z_UTIL_INC_2125 2126
#define Z_UTIL_INC_2126 2127
#define Z_UTIL_INC_2127 2128
#define Z_UTIL_INC_2128 2129
#define Z_UTIL_INC_2129 2130
#define Z_UTIL_INC_2130 2131
#define Z_UTIL_INC_2131 2132
#define Z_UTIL_INC_2132 2133
#define Z_UTIL_INC_2133 2134
#define Z_UTIL_INC_2134 2135
#define Z_UTIL_INC_2135 2136
#define Z_UTIL_INC_2136 2137
#define Z_UTIL_INC_2137 2138
#define Z_UTIL_INC_2138 2139
#define Z_UTIL_INC_2139 2140
#define Z_UTIL_INC_2140 2141
#define Z_UTIL_INC_2141 2142
#define Z_UTIL_INC_2142 2143
#define Z_UTIL_INC_2143 2144
#define Z_UTIL_INC_2144 2145
#define Z_UTIL_INC_2145 2146
#define Z_UTIL_INC_2146 2147
#define Z_UTIL_INC_2147 2148
#define Z_UTIL_INC_2148 2149
#define Z_UTIL_INC_2149 2150
#define Z_UTIL_INC_2150 2151
#define Z_UTIL_INC_2151 2152
#define Z_UTIL_INC_2152 2153
#define Z_UTIL_INC_2153 2154
#define Z_UTIL_INC_2154 2155
#define Z_UTIL_INC_2155 2156
#define Z_UTIL_INC_2156 2157
#define Z_UTIL_INC_2157 2158
#define Z_UTIL_INC_2158 2159
#define Z_UTIL_INC_2159 2160
#define Z_UTIL_INC_2160 2161
#define Z_UTIL_INC_2161 2162
#define Z_UTIL_INC_2162 2163
#define Z_UTIL_INC_2163 2164
#define Z_UTIL_INC_2164 2165
#define Z_UTIL_INC_2165 2166
#define Z_UTIL_INC_2166 2167
#define Z_UTIL_INC_2167 2168
#define Z_UTIL_INC_2168 2169
#define Z_UTIL_INC_2169 2170
#define Z_UTIL_INC_2170 2171
#define Z_UTIL_INC_2171 2172
#define Z_UTIL_INC_2172 2173
#define Z_UTIL_INC_2173 2174
#define Z_UTIL_INC_2174 2175
#define Z_UTIL_INC_2175 2176
#define Z_UTIL_INC_2176 2177
#define Z_UTIL_INC_2177 2178
#define Z_UTIL_INC_2178 2179
#define Z_UTIL_INC_2179 2180
#define Z_UTIL_INC_2180 2181
#define Z_UTIL_INC_2181 2182
#define Z_UTIL_INC_2182 2183
#define Z_UTIL_INC_2183 2184
#define Z_UTIL_INC_2184 2185
#define Z_UTIL_INC_2185 2186
#define Z_UTIL_INC_2186 2187
#define Z_UTIL_INC_2187 2188
#define Z_UTIL_INC_2188 2189
#define Z_UTIL_INC_2189 2190
#define Z_UTIL_INC_2190 2191
#define Z_UTIL_INC_2191 2192
#define Z_UTIL_INC_2192 2193
#define Z_UTIL_INC_2193 2194
#define Z_UTIL_INC_2194 2195
#define Z_UTIL_INC_2195 2196
#define Z_UTIL_INC_2196 2197
#define Z_UTIL_INC_2197 2198
#define Z_UTIL_INC_2198 2199
#define Z_UTIL_INC_2199 2200
#define Z_UTIL_INC_2200 2201
#define Z_UTIL_INC_2201 2202
#define Z_UTIL_INC_2202 2203
#define Z_UTIL_INC_2203 2204
#define Z_UTIL_INC_2204 2205
#define Z_UTIL_INC_2205 2206
#define Z_UTIL_INC_2206 2207
#define Z_UTIL_INC_2207 2208
#define Z_UTIL_INC_2208 2209
#define Z_UTIL_INC_2209 2210
#define Z_UTIL_INC_2210 2211
#define Z_UTIL_INC_2211 2212
#define Z_UTIL_INC_2212 2213
#define Z_UTIL_INC_2213 2214
#define Z_UTIL_INC_2214 2215
#define Z_UTIL_INC_2215 2216
#define Z_UTIL_INC_2216 2217
#define Z_UTIL_INC_2217 2218
#define Z_UTIL_INC_2218 2219
#define Z_UTIL_INC_2219 2220
#define Z_UTIL_INC_2220 2221
#define Z_UTIL_INC_2221 2222
#define Z_UTIL_INC_2222 2223
#define Z_UTIL_INC_2223 2224
#define Z_UTIL_INC_2224 2225
#define Z_UTIL_INC_2225 2226
#define Z_UTIL_INC_2226 2227
#define Z_UTIL_INC_2227 2228
#define Z_UTIL_INC_2228 2229
#define Z_UTIL_INC_2229 2230
#define Z_UTIL_INC_2230 2231
#define Z_UTIL_INC_2231 2232
#define Z_UTIL_INC_2232 2233
#define Z_UTIL_INC_2233 2234
#define Z_UTIL_INC_2234 2235
#define Z_UTIL_INC_2235 2236
#define Z_UTIL_INC_2236 2237
#define Z_UTIL_INC_2237 2238
#define Z_UTIL_INC_2238 2239
#define Z_UTIL_INC_2239 2240
#define Z_UTIL_INC_2240 2241
#define Z_UTIL_INC_2241 2242
#define Z_UTIL_INC_2242 2243
#define Z_UTIL_INC_2243 2244
#define Z_UTIL_INC_2244 2245
#define Z_UTIL_INC_2245 2246
#define Z_UTIL_INC_2246 2247
#define Z_UTIL_INC_2247 2248
#define Z_UTIL_INC_2248 2249
#define Z_UTIL_INC_2249 2250
#define Z_UTIL_INC_2250 2251
#define Z_UTIL_INC_2251 2252
#define Z_UTIL_INC_2252 2253
#define Z_UTIL_INC_2253 2254
#define Z_UTIL_INC_2254 2255
#define Z_UTIL_INC_2255 2256
#define Z_UTIL_INC_2256 2257
#define Z_UTIL_INC_2257 2258
#define Z_UTIL_INC_2258 2259
#define Z_UTIL_INC_2259 2260
#define Z_UTIL_INC_2260 2261
#define Z_UTIL_INC_2261 2262
#define Z_UTIL_INC_2262 2263
#define Z_UTIL_INC_2263 2264
#define Z_UTIL_INC_2264 2265
#define Z_UTIL_INC_2265 2266
#define Z_UTIL_INC_2266 2267
#define Z_UTIL_INC_2267 2268
#define Z_UTIL_INC_2268 2269
#define Z_UTIL_INC_2269 2270
#define Z_UTIL_INC_2270 2271
#define Z_UTIL_INC_2271 2272
#define Z_UTIL_INC_2272 2273
#define Z_UTIL_INC_2273 2274
#define Z_UTIL_INC_2274 2275
#define Z_UTIL_INC_2275 2276
#define Z_UTIL_INC_2276 2277
#define Z_UTIL_INC_2277 2278
#define Z_UTIL_INC_2278 2279
#define Z_UTIL_INC_2279 2280
#define Z_UTIL_INC_2280 2281
#define Z_UTIL_INC_2281 2282
#define Z_UTIL_INC_2282 2283
#define Z_UTIL_INC_2283 2284
#define Z_UTIL_INC_2284 2285
#define Z_UTIL_INC_2285 2286
#define Z_UTIL_INC_2286 2287
#define Z_UTIL_INC_2287 2288
#define Z_UTIL_INC_2288 2289
#define Z_UTIL_INC_2289 2290
#define Z_UTIL_INC_2290 2291
#define Z_UTIL_INC_2291 2292
#define Z_UTIL_INC_2292 2293
#define Z_UTIL_INC_2293 2294
#define Z_UTIL_INC_2294 2295
#define Z_UTIL_INC_2295 2296
#define Z_UTIL_INC_2296 2297
#define Z_UTIL_INC_2297 2298
#define Z_UTIL_INC_2298 2299
#define Z_UTIL_INC_2299 2300
#define Z_UTIL_INC_2300 2301
#define Z_UTIL_INC_2301 2302
#define Z_UTIL_INC_2302 2303
#define Z_UTIL_INC_2303 2304
#define Z_UTIL_INC_2304 2305
#define Z_UTIL_INC_2305 2306
#define Z_UTIL_INC_2306 2307
#define Z_UTIL_INC_2307 2308
#define Z_UTIL_INC_2308 2309
#define Z_UTIL_INC_2309 2310
#define Z_UTIL_INC_2310 2311
#define Z_UTIL_INC_2311 2312
#define Z_UTIL_INC_2312 2313
#define Z_UTIL_INC_2313 2314
#define Z_UTIL_INC_2314 2315
#define Z_UTIL_INC_2315 2316
#define Z_UTIL_INC_2316 2317
#define Z_UTIL_INC_2317 2318
#define Z_UTIL_INC_2318 2319
#define Z_UTIL_INC_2319 2320
#define Z_UTIL_INC_2320 2321
#define Z_UTIL_INC_2321 2322
#define Z_UTIL_INC_2322 2323
#define Z_UTIL_INC_2323 2324
#define Z_UTIL_INC_2324 2325
#define Z_UTIL_INC_2325 2326
#define Z_UTIL_INC_2326 2327
#define Z_UTIL_INC_2327 2328
#define Z_UTIL_INC_2328 2329
#define Z_UTIL_INC_2329 2330
#define Z_UTIL_INC_2330 2331
#define Z_UTIL_INC_2331 2332
#define Z_UTIL_INC_2332 2333
#define Z_UTIL_INC_2333 2334
#define Z_UTIL_INC_2334 2335
#define Z_UTIL_INC_2335 2336
#define Z_UTIL_INC_2336 2337
#define Z_UTIL_INC_2337 2338
#define Z_UTIL_INC_2338 2339
#define Z_UTIL_INC_2339 2340
#define Z_UTIL_INC_2340 2341
#define Z_UTIL_INC_2341 2342
#define Z_UTIL_INC_2342 2343
#define Z_UTIL_INC_2343 2344
#define Z_UTIL_INC_2344 2345
#define Z_UTIL_INC_2345 2346
#define Z_UTIL_INC_2346 2347
#define Z_UTIL_INC_2347 2348
#define Z_UTIL_INC_2348 2349
#define Z_UTIL_INC_2349 2350
#define Z_UTIL_INC_2350 2351
#define Z_UTIL_INC_2351 2352
#define Z_UTIL_INC_2352 2353
#define Z_UTIL_INC_2353 2354
#define Z_UTIL_INC_2354 2355
#define Z_UTIL_INC_2355 2356
#define Z_UTIL_INC_2356 2357
#define Z_UTIL_INC_2357 2358
#define Z_UTIL_INC_2358 2359
#define Z_UTIL_INC_2359 2360
#define Z_UTIL_INC_2360 2361
#define Z_UTIL_INC_2361 2362
#define Z_UTIL_INC_2362 2363
#define Z_UTIL_INC_2363 2364
#define Z_UTIL_INC_2364 2365
#define Z_UTIL_INC_2365 2366
#define Z_UTIL_INC_2366 2367
#define Z_UTIL_INC_2367 2368
#define Z_UTIL_INC_2368 2369
#define Z_UTIL_INC_2369 2370
#define Z_UTIL_INC_2370 2371
#define Z_UTIL_INC_2371 2372
#define Z_UTIL_INC_2372 2373
#define Z_UTIL_INC_2373 2374
#define Z_UTIL_INC_2374 2375
#define Z_UTIL_INC_2375 2376
#define Z_UTIL_INC_2376 2377
#define Z_UTIL_INC_2377 2378
#define Z_UTIL_INC_2378 2379
#define Z_UTIL_INC_2379 2380
#define Z_UTIL_INC_2380 2381
#define Z_UTIL_INC_2381 2382
#define Z_UTIL_INC_2382 2383
#define Z_UTIL_INC_2383 2384
#define Z_UTIL_INC_2384 2385
#define Z_UTIL_INC_2385 2386
#define Z_UTIL_INC_2386 2387
#define Z_UTIL_INC_2387 2388
#define Z_UTIL_INC_2388 2389
#define Z_UTIL_INC_2389 2390
#define Z_UTIL_INC_2390 2391
#define Z_UTIL_INC_2391 2392
#define Z_UTIL_INC_2392 2393
#define Z_UTIL_INC_2393 2394
#define Z_UTIL_INC_2394 2395
#define Z_UTIL_INC_2395 2396
#define Z_UTIL_INC_2396 2397
#define Z_UTIL_INC_2397 2398
#define Z_UTIL_INC_2398 2399
#define Z_UTIL_INC_2399 2400
#define Z_UTIL_INC_2400 2401
#define Z_UTIL_INC_2401 2402
#define Z_UTIL_INC_2402 2403
#define Z_UTIL_INC_2403 2404
#define Z_UTIL_INC_2404 2405
#define Z_UTIL_INC_2405 2406
#define Z_UTIL_INC_2406 2407
#define Z_UTIL_INC_2407 2408
#define Z_UTIL_INC_2408 2409
#define Z_UTIL_INC_2409 2410
#define Z_UTIL_INC_2410 2411
#define Z_UTIL_INC_2411 2412
#define Z_UTIL_INC_2412 2413
#define Z_UTIL_INC_2413 2414
#define Z_UTIL_INC_2414 2415
#define Z_UTIL_INC_2415 2416
#define Z_UTIL_INC_2416 2417
#define Z_UTIL_INC_2417 2418
#define Z_UTIL_INC_2418 2419
#define Z_UTIL_INC_2419 2420
#define Z_UTIL_INC_2420 2421
#define Z_UTIL_INC_2421 2422
#define Z_UTIL_INC_2422 2423
#define Z_UTIL_INC_2423 2424
#define Z_UTIL_INC_2424 2425
#define Z_UTIL_INC_2425 2426
#define Z_UTIL_INC_2426 2427
#define Z_UTIL_INC_2427 2428
#define Z_UTIL_INC_2428 2429
#define Z_UTIL_INC_2429 2430
#define Z_UTIL_INC_2430 2431
#define Z_UTIL_INC_2431 2432
#define Z_UTIL_INC_2432 2433
#define Z_UTIL_INC_2433 2434
#define Z_UTIL_INC_2434 2435
#define Z_UTIL_INC_2435 2436
#define Z_UTIL_INC_2436 2437
#define Z_UTIL_INC_2437 2438
#define Z_UTIL_INC_2438 2439
#define Z_UTIL_INC_2439 2440
#define Z_UTIL_INC_2440 2441
#define Z_UTIL_INC_2441 2442
#define Z_UTIL_INC_2442 2443
#define Z_UTIL_INC_2443 2444
#define Z_UTIL_INC_2444 2445
#define Z_UTIL_INC_2445 2446
#define Z_UTIL_INC_2446 2447
#define Z_UTIL_INC_2447 2448
#define Z_UTIL_INC_2448 2449
#define Z_UTIL_INC_2449 2450
#define Z_UTIL_INC_2450 2451
#define Z_UTIL_INC_2451 2452
#define Z_UTIL_INC_2452 2453
#define Z_UTIL_INC_2453 2454
#define Z_UTIL_INC_2454 2455
#define Z_UTIL_INC_2455 2456
#define Z_UTIL_INC_2456 2457
#define Z_UTIL_INC_2457 2458
#define Z_UTIL_INC_2458 2459
#define Z_UTIL_INC_2459 2460
#define Z_UTIL_INC_2460 2461
#define Z_UTIL_INC_2461 2462
#define Z_UTIL_INC_2462 2463
#define Z_UTIL_INC_2463 2464
#define Z_UTIL_INC_2464 2465
#define Z_UTIL_INC_2465 2466
#define Z_UTIL_INC_2466 2467
#define Z_UTIL_INC_2467 2468
#define Z_UTIL_INC_2468 2469
#define Z_UTIL_INC_2469 2470
#define Z_UTIL_INC_2470 2471
#define Z_UTIL_INC_2471 2472
#define Z_UTIL_INC_2472 2473
#define Z_UTIL_INC_2473 2474
#define Z_UTIL_INC_2474 2475
#define Z_UTIL_INC_2475 2476
#define Z_UTIL_INC_2476 2477
#define Z_UTIL_INC_2477 2478
#define Z_UTIL_INC_2478 2479
#define Z_UTIL_INC_2479 2480
#define Z_UTIL_INC_2480 2481
#define Z_UTIL_INC_2481 2482
#define Z_UTIL_INC_2482 2483
#define Z_UTIL_INC_2483 2484
#define Z_UTIL_INC_2484 2485
#define Z_UTIL_INC_2485 2486
#define Z_UTIL_INC_2486 2487
#define Z_UTIL_INC_2487 2488
#define Z_UTIL_INC_2488 2489
#define Z_UTIL_INC_2489 2490
#define Z_UTIL_INC_2490 2491
#define Z_UTIL_INC_2491 2492
#define Z_UTIL_INC_2492 2493
#define Z_UTIL_INC_2493 2494
#define Z_UTIL_INC_2494 2495
#define Z_UTIL_INC_2495 2496
#define Z_UTIL_INC_2496 2497
#define Z_UTIL_INC_2497 2498
#define Z_UTIL_INC_2498 2499
#define Z_UTIL_INC_2499 2500
#define Z_UTIL_INC_2500 2501
#define Z_UTIL_INC_2501 2502
#define Z_UTIL_INC_2502 2503
#define Z_UTIL_INC_2503 2504
#define Z_UTIL_INC_2504 2505
#define Z_UTIL_INC_2505 2506
#define Z_UTIL_INC_2506 2507
#define Z_UTIL_INC_2507 2508
#define Z_UTIL_INC_2508 2509
#define Z_UTIL_INC_2509 2510
#define Z_UTIL_INC_2510 2511
#define Z_UTIL_INC_2511 2512
#define Z_UTIL_INC_2512 2513
#define Z_UTIL_INC_2513 2514
#define Z_UTIL_INC_2514 2515
#define Z_UTIL_INC_2515 2516
#define Z_UTIL_INC_2516 2517
#define Z_UTIL_INC_2517 2518
#define Z_UTIL_INC_2518 2519
#define Z_UTIL_INC_2519 2520
#define Z_UTIL_INC_2520 2521
#define Z_UTIL_INC_2521 2522
#define Z_UTIL_INC_2522 2523
#define Z_UTIL_INC_2523 2524
#define Z_UTIL_INC_2524 2525
#define Z_UTIL_INC_2525 2526
#define Z_UTIL_INC_2526 2527
#define Z_UTIL_INC_2527 2528
#define Z_UTIL_INC_2528 2529
#define Z_UTIL_INC_2529 2530
#define Z_UTIL_INC_2530 2531
#define Z_UTIL_INC_2531 2532
#define Z_UTIL_INC_2532 2533
#define Z_UTIL_INC_2533 2534
#define Z_UTIL_INC_2534 2535
#define Z_UTIL_INC_2535 2536
#define Z_UTIL_INC_2536 2537
#define Z_UTIL_INC_2537 2538
#define Z_UTIL_INC_2538 2539
#define Z_UTIL_INC_2539 2540
#define Z_UTIL_INC_2540 2541
#define Z_UTIL_INC_2541 2542
#define Z_UTIL_INC_2542 2543
#define Z_UTIL_INC_2543 2544
#define Z_UTIL_INC_2544 2545
#define Z_UTIL_INC_2545 2546
#define Z_UTIL_INC_2546 2547
#define Z_UTIL_INC_2547 2548
#define Z_UTIL_INC_2548 2549
#define Z_UTIL_INC_2549 2550
#define Z_UTIL_INC_2550 2551
#define Z_UTIL_INC_2551 2552
#define Z_UTIL_INC_2552 2553
#define Z_UTIL_INC_2553 2554
#define Z_UTIL_INC_2554 2555
#define Z_UTIL_INC_2555 2556
#define Z_UTIL_INC_2556 2557
#define Z_UTIL_INC_2557 2558
#define Z_UTIL_INC_2558 2559
#define Z_UTIL_INC_2559 2560
#define Z_UTIL_INC_2560 2561
#define Z_UTIL_INC_2561 2562
#define Z_UTIL_INC_2562 2563
#define Z_UTIL_INC_2563 2564
#define Z_UTIL_INC_2564 2565
#define Z_UTIL_INC_2565 2566
#define Z_UTIL_INC_2566 2567
#define Z_UTIL_INC_2567 2568
#define Z_UTIL_INC_2568 2569
#define Z_UTIL_INC_2569 2570
#define Z_UTIL_INC_2570 2571
#define Z_UTIL_INC_2571 2572
#define Z_UTIL_INC_2572 2573
#define Z_UTIL_INC_2573 2574
#define Z_UTIL_INC_2574 2575
#define Z_UTIL_INC_2575 2576
#define Z_UTIL_INC_2576 2577
#define Z_UTIL_INC_2577 2578
#define Z_UTIL_INC_2578 2579
#define Z_UTIL_INC_2579 2580
#define Z_UTIL_INC_2580 2581
#define Z_UTIL_INC_2581 2582
#define Z_UTIL_INC_2582 2583
#define Z_UTIL_INC_2583 2584
#define Z_UTIL_INC_2584 2585
#define Z_UTIL_INC_2585 2586
#define Z_UTIL_INC_2586 2587
#define Z_UTIL_INC_2587 2588
#define Z_UTIL_INC_2588 2589
#define Z_UTIL_INC_2589 2590
#define Z_UTIL_INC_2590 2591
#define Z_UTIL_INC_2591 2592
#define Z_UTIL_INC_2592 2593
#define Z_UTIL_INC_2593 2594
#define Z_UTIL_INC_2594 2595
#define Z_UTIL_INC_2595 2596
#define Z_UTIL_INC_2596 2597
#define Z_UTIL_INC_2597 2598
#define Z_UTIL_INC_2598 2599
#define Z_UTIL_INC_2599 2600
#define Z_UTIL_INC_2600 2601
#define Z_UTIL_INC_2601 2602
#define Z_UTIL_INC_2602 2603
#define Z_UTIL_INC_2603 2604
#define Z_UTIL_INC_2604 2605
#define Z_UTIL_INC_2605 2606
#define Z_UTIL_INC_2606 2607
#define Z_UTIL_INC_2607 2608
#define Z_UTIL_INC_2608 2609
#define Z_UTIL_INC_2609 2610
#define Z_UTIL_INC_2610 2611
#define Z_UTIL_INC_2611 2612
#define Z_UTIL_INC_2612 2613
#define Z_UTIL_INC_2613 2614
#define Z_UTIL_INC_2614 2615
#define Z_UTIL_INC_2615 2616
#define Z_UTIL_INC_2616 2617
#define Z_UTIL_INC_2617 2618
#define Z_UTIL_INC_2618 2619
#define Z_UTIL_INC_2619 2620
#define Z_UTIL_INC_2620 2621
#define Z_UTIL_INC_2621 2622
#define Z_UTIL_INC_2622 2623
#define Z_UTIL_INC_2623 2624
#define Z_UTIL_INC_2624 2625
#define Z_UTIL_INC_2625 2626
#define Z_UTIL_INC_2626 2627
#define Z_UTIL_INC_2627 2628
#define Z_UTIL_INC_2628 2629
#define Z_UTIL_INC_2629 2630
#define Z_UTIL_INC_2630 2631
#define Z_UTIL_INC_2631 2632
#define Z_UTIL_INC_2632 2633
#define Z_UTIL_INC_2633 2634
#define Z_UTIL_INC_2634 2635
#define Z_UTIL_INC_2635 2636
#define Z_UTIL_INC_2636 2637
#define Z_UTIL_INC_2637 2638
#define Z_UTIL_INC_2638 2639
#define Z_UTIL_INC_2639 2640
#define Z_UTIL_INC_2640 2641
#define Z_UTIL_INC_2641 2642
#define Z_UTIL_INC_2642 2643
#define Z_UTIL_INC_2643 2644
#define Z_UTIL_INC_2644 2645
#define Z_UTIL_INC_2645 2646
#define Z_UTIL_INC_2646 2647
#define Z_UTIL_INC_2647 2648
#define Z_UTIL_INC_2648 2649
#define Z_UTIL_INC_2649 2650
#define Z_UTIL_INC_2650 2651
#define Z_UTIL_INC_2651 2652
#define Z_UTIL_INC_2652 2653
#define Z_UTIL_INC_2653 2654
#define Z_UTIL_INC_2654 2655
#define Z_UTIL_INC_2655 2656
#define Z_UTIL_INC_2656 2657
#define Z_UTIL_INC_2657 2658
#define Z_UTIL_INC_2658 2659
#define Z_UTIL_INC_2659 2660
#define Z_UTIL_INC_2660 2661
#define Z_UTIL_INC_2661 2662
#define Z_UTIL_INC_2662 2663
#define Z_UTIL_INC_2663 2664
#define Z_UTIL_INC_2664 2665
#define Z_UTIL_INC_2665 2666
#define Z_UTIL_INC_2666 2667
#define Z_UTIL_INC_2667 2668
#define Z_UTIL_INC_2668 2669
#define Z_UTIL_INC_2669 2670
#define Z_UTIL_INC_2670 2671
#define Z_UTIL_INC_2671 2672
#define Z_UTIL_INC_2672 2673
#define Z_UTIL_INC_2673 2674
#define Z_UTIL_INC_2674 2675
#define Z_UTIL_INC_2675 2676
#define Z_UTIL_INC_2676 2677
#define Z_UTIL_INC_2677 2678
#define Z_UTIL_INC_2678 2679
#define Z_UTIL_INC_2679 2680
#define Z_UTIL_INC_2680 2681
#define Z_UTIL_INC_2681 2682
#define Z_UTIL_INC_2682 2683
#define Z_UTIL_INC_2683 2684
#define Z_UTIL_INC_2684 2685
#define Z_UTIL_INC_2685 2686
#define Z_UTIL_INC_2686 2687
#define Z_UTIL_INC_2687 2688
#define Z_UTIL_INC_2688 2689
#define Z_UTIL_INC_2689 2690
#define Z_UTIL_INC_2690 2691
#define Z_UTIL_INC_2691 2692
#define Z_UTIL_INC_2692 2693
#define Z_UTIL_INC_2693 2694
#define Z_UTIL_INC_2694 2695
#define Z_UTIL_INC_2695 2696
#define Z_UTIL_INC_2696 2697
#define Z_UTIL_INC_2697 2698
#define Z_UTIL_INC_2698 2699
#define Z_UTIL_INC_2699 2700
#define Z_UTIL_INC_2700 2701
#define Z_UTIL_INC_2701 2702
#define Z_UTIL_INC_2702 2703
#define Z_UTIL_INC_2703 2704
#define Z_UTIL_INC_2704 2705
#define Z_UTIL_INC_2705 2706
#define Z_UTIL_INC_2706 2707
#define Z_UTIL_INC_2707 2708
#define Z_UTIL_INC_2708 2709
#define Z_UTIL_INC_2709 2710
#define Z_UTIL_INC_2710 2711
#define Z_UTIL_INC_2711 2712
#define Z_UTIL_INC_2712 2713
#define Z_UTIL_INC_2713 2714
#define Z_UTIL_INC_2714 2715
#define Z_UTIL_INC_2715 2716
#define Z_UTIL_INC_2716 2717
#define Z_UTIL_INC_2717 2718
#define Z_UTIL_INC_2718 2719
#define Z_UTIL_INC_2719 2720
#define Z_UTIL_INC_2720 2721
#define Z_UTIL_INC_2721 2722
#define Z_UTIL_INC_2722 2723
#define Z_UTIL_INC_2723 2724
#define Z_UTIL_INC_2724 2725
#define Z_UTIL_INC_2725 2726
#define Z_UTIL_INC_2726 2727
#define Z_UTIL_INC_2727 2728
#define Z_UTIL_INC_2728 2729
#define Z_UTIL_INC_2729 2730
#define Z_UTIL_INC_2730 2731
#define Z_UTIL_INC_2731 2732
#define Z_UTIL_INC_2732 2733
#define Z_UTIL_INC_2733 2734
#define Z_UTIL_INC_2734 2735
#define Z_UTIL_INC_2735 2736
#define Z_UTIL_INC_2736 2737
#define Z_UTIL_INC_2737 2738
#define Z_UTIL_INC_2738 2739
#define Z_UTIL_INC_2739 2740
#define Z_UTIL_INC_2740 2741
#define Z_UTIL_INC_2741 2742
#define Z_UTIL_INC_2742 2743
#define Z_UTIL_INC_2743 2744
#define Z_UTIL_INC_2744 2745
#define Z_UTIL_INC_2745 2746
#define Z_UTIL_INC_2746 2747
#define Z_UTIL_INC_2747 2748
#define Z_UTIL_INC_2748 2749
#define Z_UTIL_INC_2749 2750
#define Z_UTIL_INC_2750 2751
#define Z_UTIL_INC_2751 2752
#define Z_UTIL_INC_2752 2753
#define Z_UTIL_INC_2753 2754
#define Z_UTIL_INC_2754 2755
#define Z_UTIL_INC_2755 2756
#define Z_UTIL_INC_2756 2757
#define Z_UTIL_INC_2757 2758
#define Z_UTIL_INC_2758 2759
#define Z_UTIL_INC_2759 2760
#define Z_UTIL_INC_2760 2761
#define Z_UTIL_INC_2761 2762
#define Z_UTIL_INC_2762 2763
#define Z_UTIL_INC_2763 2764
#define Z_UTIL_INC_2764 2765
#define Z_UTIL_INC_2765 2766
#define Z_UTIL_INC_2766 2767
#define Z_UTIL_INC_2767 2768
#define Z_UTIL_INC_2768 2769
#define Z_UTIL_INC_2769 2770
#define Z_UTIL_INC_2770 2771
#define Z_UTIL_INC_2771 2772
#define Z_UTIL_INC_2772 2773
#define Z_UTIL_INC_2773 2774
#define Z_UTIL_INC_2774 2775
#define Z_UTIL_INC_2775 2776
#define Z_UTIL_INC_2776 2777
#define Z_UTIL_INC_2777 2778
#define Z_UTIL_INC_2778 2779
#define Z_UTIL_INC_2779 2780
#define Z_UTIL_INC_2780 2781
#define Z_UTIL_INC_2781 2782
#define Z_UTIL_INC_2782 2783
#define Z_UTIL_INC_2783 2784
#define Z_UTIL_INC_2784 2785
#define Z_UTIL_INC_2785 2786
#define Z_UTIL_INC_2786 2787
#define Z_UTIL_INC_2787 2788
#define Z_UTIL_INC_2788 2789
#define Z_UTIL_INC_2789 2790
#define Z_UTIL_INC_2790 2791
#define Z_UTIL_INC_2791 2792
#define Z_UTIL_INC_2792 2793
#define Z_UTIL_INC_2793 2794
#define Z_UTIL_INC_2794 2795
#define Z_UTIL_INC_2795 2796
#define Z_UTIL_INC_2796 2797
#define Z_UTIL_INC_2797 2798
#define Z_UTIL_INC_2798 2799
#define Z_UTIL_INC_2799 2800
#define Z_UTIL_INC_2800 2801
#define Z_UTIL_INC_2801 2802
#define Z_UTIL_INC_2802 2803
#define Z_UTIL_INC_2803 2804
#define Z_UTIL_INC_2804 2805
#define Z_UTIL_INC_2805 2806
#define Z_UTIL_INC_2806 2807
#define Z_UTIL_INC_2807 2808
#define Z_UTIL_INC_2808 2809
#define Z_UTIL_INC_2809 2810
#define Z_UTIL_INC_2810 2811
#define Z_UTIL_INC_2811 2812
#define Z_UTIL_INC_2812 2813
#define Z_UTIL_INC_2813 2814
#define Z_UTIL_INC_2814 2815
#define Z_UTIL_INC_2815 2816
#define Z_UTIL_INC_2816 2817
#define Z_UTIL_INC_2817 2818
#define Z_UTIL_INC_2818 2819
#define Z_UTIL_INC_2819 2820
#define Z_UTIL_INC_2820 2821
#define Z_UTIL_INC_2821 2822
#define Z_UTIL_INC_2822 2823
#define Z_UTIL_INC_2823 2824
#define Z_UTIL_INC_2824 2825
#define Z_UTIL_INC_2825 2826
#define Z_UTIL_INC_2826 2827
#define Z_UTIL_INC_2827 2828
#define Z_UTIL_INC_2828 2829
#define Z_UTIL_INC_2829 2830
#define Z_UTIL_INC_2830 2831
#define Z_UTIL_INC_2831 2832
#define Z_UTIL_INC_2832 2833
#define Z_UTIL_INC_2833 2834
#define Z_UTIL_INC_2834 2835
#define Z_UTIL_INC_2835 2836
#define Z_UTIL_INC_2836 2837
#define Z_UTIL_INC_2837 2838
#define Z_UTIL_INC_2838 2839
#define Z_UTIL_INC_2839 2840
#define Z_UTIL_INC_2840 2841
#define Z_UTIL_INC_2841 2842
#define Z_UTIL_INC_2842 2843
#define Z_UTIL_INC_2843 2844
#define Z_UTIL_INC_2844 2845
#define Z_UTIL_INC_2845 2846
#define Z_UTIL_INC_2846 2847
#define Z_UTIL_INC_2847 2848
#define Z_UTIL_INC_2848 2849
#define Z_UTIL_INC_2849 2850
#define Z_UTIL_INC_2850 2851
#define Z_UTIL_INC_2851 2852
#define Z_UTIL_INC_2852 2853
#define Z_UTIL_INC_2853 2854
#define Z_UTIL_INC_2854 2855
#define Z_UTIL_INC_2855 2856
#define Z_UTIL_INC_2856 2857
#define Z_UTIL_INC_2857 2858
#define Z_UTIL_INC_2858 2859
#define Z_UTIL_INC_2859 2860
#define Z_UTIL_INC_2860 2861
#define Z_UTIL_INC_2861 2862
#define Z_UTIL_INC_2862 2863
#define Z_UTIL_INC_2863 2864
#define Z_UTIL_INC_2864 2865
#define Z_UTIL_INC_2865 2866
#define Z_UTIL_INC_2866 2867
#define Z_UTIL_INC_2867 2868
#define Z_UTIL_INC_2868 2869
#define Z_UTIL_INC_2869 2870
#define Z_UTIL_INC_2870 2871
#define Z_UTIL_INC_2871 2872
#define Z_UTIL_INC_2872 2873
#define Z_UTIL_INC_2873 2874
#define Z_UTIL_INC_2874 2875
#define Z_UTIL_INC_2875 2876
#define Z_UTIL_INC_2876 2877
#define Z_UTIL_INC_2877 2878
#define Z_UTIL_INC_2878 2879
#define Z_UTIL_INC_2879 2880
#define Z_UTIL_INC_2880 2881
#define Z_UTIL_INC_2881 2882
#define Z_UTIL_INC_2882 2883
#define Z_UTIL_INC_2883 2884
#define Z_UTIL_INC_2884 2885
#define Z_UTIL_INC_2885 2886
#define Z_UTIL_INC_2886 2887
#define Z_UTIL_INC_2887 2888
#define Z_UTIL_INC_2888 2889
#define Z_UTIL_INC_2889 2890
#define Z_UTIL_INC_2890 2891
#define Z_UTIL_INC_2891 2892
#define Z_UTIL_INC_2892 2893
#define Z_UTIL_INC_2893 2894
#define Z_UTIL_INC_2894 2895
#define Z_UTIL_INC_2895 2896
#define Z_UTIL_INC_2896 2897
#define Z_UTIL_INC_2897 2898
#define Z_UTIL_INC_2898 2899
#define Z_UTIL_INC_2899 2900
#define Z_UTIL_INC_2900 2901
#define Z_UTIL_INC_2901 2902
#define Z_UTIL_INC_2902 2903
#define Z_UTIL_INC_2903 2904
#define Z_UTIL_INC_2904 2905
#define Z_UTIL_INC_2905 2906
#define Z_UTIL_INC_2906 2907
#define Z_UTIL_INC_2907 2908
#define Z_UTIL_INC_2908 2909
#define Z_UTIL_INC_2909 2910
#define Z_UTIL_INC_2910 2911
#define Z_UTIL_INC_2911 2912
#define Z_UTIL_INC_2912 2913
#define Z_UTIL_INC_2913 2914
#define Z_UTIL_INC_2914 2915
#define Z_UTIL_INC_2915 2916
#define Z_UTIL_INC_2916 2917
#define Z_UTIL_INC_2917 2918
#define Z_UTIL_INC_2918 2919
#define Z_UTIL_INC_2919 2920
#define Z_UTIL_INC_2920 2921
#define Z_UTIL_INC_2921 2922
#define Z_UTIL_INC_2922 2923
#define Z_UTIL_INC_2923 2924
#define Z_UTIL_INC_2924 2925
#define Z_UTIL_INC_2925 2926
#define Z_UTIL_INC_2926 2927
#define Z_UTIL_INC_2927 2928
#define Z_UTIL_INC_2928 2929
#define Z_UTIL_INC_2929 2930
#define Z_UTIL_INC_2930 2931
#define Z_UTIL_INC_2931 2932
#define Z_UTIL_INC_2932 2933
#define Z_UTIL_INC_2933 2934
#define Z_UTIL_INC_2934 2935
#define Z_UTIL_INC_2935 2936
#define Z_UTIL_INC_2936 2937
#define Z_UTIL_INC_2937 2938
#define Z_UTIL_INC_2938 2939
#define Z_UTIL_INC_2939 2940
#define Z_UTIL_INC_2940 2941
#define Z_UTIL_INC_2941 2942
#define Z_UTIL_INC_2942 2943
#define Z_UTIL_INC_2943 2944
#define Z_UTIL_INC_2944 2945
#define Z_UTIL_INC_2945 2946
#define Z_UTIL_INC_2946 2947
#define Z_UTIL_INC_2947 2948
#define Z_UTIL_INC_2948 2949
#define Z_UTIL_INC_2949 2950
#define Z_UTIL_INC_2950 2951
#define Z_UTIL_INC_2951 2952
#define Z_UTIL_INC_2952 2953
#define Z_UTIL_INC_2953 2954
#define Z_UTIL_INC_2954 2955
#define Z_UTIL_INC_2955 2956
#define Z_UTIL_INC_2956 2957
#define Z_UTIL_INC_2957 2958
#define Z_UTIL_INC_2958 2959
#define Z_UTIL_INC_2959 2960
#define Z_UTIL_INC_2960 2961
#define Z_UTIL_INC_2961 2962
#define Z_UTIL_INC_2962 2963
#define Z_UTIL_INC_2963 2964
#define Z_UTIL_INC_2964 2965
#define Z_UTIL_INC_2965 2966
#define Z_UTIL_INC_2966 2967
#define Z_UTIL_INC_2967 2968
#define Z_UTIL_INC_2968 2969
#define Z_UTIL_INC_2969 2970
#define Z_UTIL_INC_2970 2971
#define Z_UTIL_INC_2971 2972
#define Z_UTIL_INC_2972 2973
#define Z_UTIL_INC_2973 2974
#define Z_UTIL_INC_2974 2975
#define Z_UTIL_INC_2975 2976
#define Z_UTIL_INC_2976 2977
#define Z_UTIL_INC_2977 2978
#define Z_UTIL_INC_2978 2979
#define Z_UTIL_INC_2979 2980
#define Z_UTIL_INC_2980 2981
#define Z_UTIL_INC_2981 2982
#define Z_UTIL_INC_2982 2983
#define Z_UTIL_INC_2983 2984
#define Z_UTIL_INC_2984 2985
#define Z_UTIL_INC_2985 2986
#define Z_UTIL_INC_2986 2987
#define Z_UTIL_INC_2987 2988
#define Z_UTIL_INC_2988 2989
#define Z_UTIL_INC_2989 2990
#define Z_UTIL_INC_2990 2991
#define Z_UTIL_INC_2991 2992
#define Z_UTIL_INC_2992 2993
#define Z_UTIL_INC_2993 2994
#define Z_UTIL_INC_2994 2995
#define Z_UTIL_INC_2995 2996
#define Z_UTIL_INC_2996 2997
#define Z_UTIL_INC_2997 2998
#define Z_UTIL_INC_2998 2999
#define Z_UTIL_INC_2999 3000
#define Z_UTIL_INC_3000 3001
#define Z_UTIL_INC_3001 3002
#define Z_UTIL_INC_3002 3003
#define Z_UTIL_INC_3003 3004
#define Z_UTIL_INC_3004 3005
#define Z_UTIL_INC_3005 3006
#define Z_UTIL_INC_3006 3007
#define Z_UTIL_INC_3007 3008
#define Z_UTIL_INC_3008 3009
#define Z_UTIL_INC_3009 3010
#define Z_UTIL_INC_3010 3011
#define Z_UTIL_INC_3011 3012
#define Z_UTIL_INC_3012 3013
#define Z_UTIL_INC_3013 3014
#define Z_UTIL_INC_3014 3015
#define Z_UTIL_INC_3015 3016
#define Z_UTIL_INC_3016 3017
#define Z_UTIL_INC_3017 3018
#define Z_UTIL_INC_3018 3019
#define Z_UTIL_INC_3019 3020
#define Z_UTIL_INC_3020 3021
#define Z_UTIL_INC_3021 3022
#define Z_UTIL_INC_3022 3023
#define Z_UTIL_INC_3023 3024
#define Z_UTIL_INC_3024 3025
#define Z_UTIL_INC_3025 3026
#define Z_UTIL_INC_3026 3027
#define Z_UTIL_INC_3027 3028
#define Z_UTIL_INC_3028 3029
#define Z_UTIL_INC_3029 3030
#define Z_UTIL_INC_3030 3031
#define Z_UTIL_INC_3031 3032
#define Z_UTIL_INC_3032 3033
#define Z_UTIL_INC_3033 3034
#define Z_UTIL_INC_3034 3035
#define Z_UTIL_INC_3035 3036
#define Z_UTIL_INC_3036 3037
#define Z_UTIL_INC_3037 3038
#define Z_UTIL_INC_3038 3039
#define Z_UTIL_INC_3039 3040
#define Z_UTIL_INC_3040 3041
#define Z_UTIL_INC_3041 3042
#define Z_UTIL_INC_3042 3043
#define Z_UTIL_INC_3043 3044
#define Z_UTIL_INC_3044 3045
#define Z_UTIL_INC_3045 3046
#define Z_UTIL_INC_3046 3047
#define Z_UTIL_INC_3047 3048
#define Z_UTIL_INC_3048 3049
#define Z_UTIL_INC_3049 3050
#define Z_UTIL_INC_3050 3051
#define Z_UTIL_INC_3051 3052
#define Z_UTIL_INC_3052 3053
#define Z_UTIL_INC_3053 3054
#define Z_UTIL_INC_3054 3055
#define Z_UTIL_INC_3055 3056
#define Z_UTIL_INC_3056 3057
#define Z_UTIL_INC_3057 3058
#define Z_UTIL_INC_3058 3059
#define Z_UTIL_INC_3059 3060
#define Z_UTIL_INC_3060 3061
#define Z_UTIL_INC_3061 3062
#define Z_UTIL_INC_3062 3063
#define Z_UTIL_INC_3063 3064
#define Z_UTIL_INC_3064 3065
#define Z_UTIL_INC_3065 3066
#define Z_UTIL_INC_3066 3067
#define Z_UTIL_INC_3067 3068
#define Z_UTIL_INC_3068 3069
#define Z_UTIL_INC_3069 3070
#define Z_UTIL_INC_3070 3071
#define Z_UTIL_INC_3071 3072
#define Z_UTIL_INC_3072 3073
#define Z_UTIL_INC_3073 3074
#define Z_UTIL_INC_3074 3075
#define Z_UTIL_INC_3075 3076
#define Z_UTIL_INC_3076 3077
#define Z_UTIL_INC_3077 3078
#define Z_UTIL_INC_3078 3079
#define Z_UTIL_INC_3079 3080
#define Z_UTIL_INC_3080 3081
#define Z_UTIL_INC_3081 3082
#define Z_UTIL_INC_3082 3083
#define Z_UTIL_INC_3083 3084
#define Z_UTIL_INC_3084 3085
#define Z_UTIL_INC_3085 3086
#define Z_UTIL_INC_3086 3087
#define Z_UTIL_INC_3087 3088
#define Z_UTIL_INC_3088 3089
#define Z_UTIL_INC_3089 3090
#define Z_UTIL_INC_3090 3091
#define Z_UTIL_INC_3091 3092
#define Z_UTIL_INC_3092 3093
#define Z_UTIL_INC_3093 3094
#define Z_UTIL_INC_3094 3095
#define Z_UTIL_INC_3095 3096
#define Z_UTIL_INC_3096 3097
#define Z_UTIL_INC_3097 3098
#define Z_UTIL_INC_3098 3099
#define Z_UTIL_INC_3099 3100
#define Z_UTIL_INC_3100 3101
#define Z_UTIL_INC_3101 3102
#define Z_UTIL_INC_3102 3103
#define Z_UTIL_INC_3103 3104
#define Z_UTIL_INC_3104 3105
#define Z_UTIL_INC_3105 3106
#define Z_UTIL_INC_3106 3107
#define Z_UTIL_INC_3107 3108
#define Z_UTIL_INC_3108 3109
#define Z_UTIL_INC_3109 3110
#define Z_UTIL_INC_3110 3111
#define Z_UTIL_INC_3111 3112
#define Z_UTIL_INC_3112 3113
#define Z_UTIL_INC_3113 3114
#define Z_UTIL_INC_3114 3115
#define Z_UTIL_INC_3115 3116
#define Z_UTIL_INC_3116 3117
#define Z_UTIL_INC_3117 3118
#define Z_UTIL_INC_3118 3119
#define Z_UTIL_INC_3119 3120
#define Z_UTIL_INC_3120 3121
#define Z_UTIL_INC_3121 3122
#define Z_UTIL_INC_3122 3123
#define Z_UTIL_INC_3123 3124
#define Z_UTIL_INC_3124 3125
#define Z_UTIL_INC_3125 3126
#define Z_UTIL_INC_3126 3127
#define Z_UTIL_INC_3127 3128
#define Z_UTIL_INC_3128 3129
#define Z_UTIL_INC_3129 3130
#define Z_UTIL_INC_3130 3131
#define Z_UTIL_INC_3131 3132
#define Z_UTIL_INC_3132 3133
#define Z_UTIL_INC_3133 3134
#define Z_UTIL_INC_3134 3135
#define Z_UTIL_INC_3135 3136
#define Z_UTIL_INC_3136 3137
#define Z_UTIL_INC_3137 3138
#define Z_UTIL_INC_3138 3139
#define Z_UTIL_INC_3139 3140
#define Z_UTIL_INC_3140 3141
#define Z_UTIL_INC_3141 3142
#define Z_UTIL_INC_3142 3143
#define Z_UTIL_INC_3143 3144
#define Z_UTIL_INC_3144 3145
#define Z_UTIL_INC_3145 3146
#define Z_UTIL_INC_3146 3147
#define Z_UTIL_INC_3147 3148
#define Z_UTIL_INC_3148 3149
#define Z_UTIL_INC_3149 3150
#define Z_UTIL_INC_3150 3151
#define Z_UTIL_INC_3151 3152
#define Z_UTIL_INC_3152 3153
#define Z_UTIL_INC_3153 3154
#define Z_UTIL_INC_3154 3155
#define Z_UTIL_INC_3155 3156
#define Z_UTIL_INC_3156 3157
#define Z_UTIL_INC_3157 3158
#define Z_UTIL_INC_3158 3159
#define Z_UTIL_INC_3159 3160
#define Z_UTIL_INC_3160 3161
#define Z_UTIL_INC_3161 3162
#define Z_UTIL_INC_3162 3163
#define Z_UTIL_INC_3163 3164
#define Z_UTIL_INC_3164 3165
#define Z_UTIL_INC_3165 3166
#define Z_UTIL_INC_3166 3167
#define Z_UTIL_INC_3167 3168
#define Z_UTIL_INC_3168 3169
#define Z_UTIL_INC_3169 3170
#define Z_UTIL_INC_3170 3171
#define Z_UTIL_INC_3171 3172
#define Z_UTIL_INC_3172 3173
#define Z_UTIL_INC_3173 3174
#define Z_UTIL_INC_3174 3175
#define Z_UTIL_INC_3175 3176
#define Z_UTIL_INC_3176 3177
#define Z_UTIL_INC_3177 3178
#define Z_UTIL_INC_3178 3179
#define Z_UTIL_INC_3179 3180
#define Z_UTIL_INC_3180 3181
#define Z_UTIL_INC_3181 3182
#define Z_UTIL_INC_3182 3183
#define Z_UTIL_INC_3183 3184
#define Z_UTIL_INC_3184 3185
#define Z_UTIL_INC_3185 3186
#define Z_UTIL_INC_3186 3187
#define Z_UTIL_INC_3187 3188
#define Z_UTIL_INC_3188 3189
#define Z_UTIL_INC_3189 3190
#define Z_UTIL_INC_3190 3191
#define Z_UTIL_INC_3191 3192
#define Z_UTIL_INC_3192 3193
#define Z_UTIL_INC_3193 3194
#define Z_UTIL_INC_3194 3195
#define Z_UTIL_INC_3195 3196
#define Z_UTIL_INC_3196 3197
#define Z_UTIL_INC_3197 3198
#define Z_UTIL_INC_3198 3199
#define Z_UTIL_INC_3199 3200
#define Z_UTIL_INC_3200 3201
#define Z_UTIL_INC_3201 3202
#define Z_UTIL_INC_3202 3203
#define Z_UTIL_INC_3203 3204
#define Z_UTIL_INC_3204 3205
#define Z_UTIL_INC_3205 3206
#define Z_UTIL_INC_3206 3207
#define Z_UTIL_INC_3207 3208
#define Z_UTIL_INC_3208 3209
#define Z_UTIL_INC_3209 3210
#define Z_UTIL_INC_3210 3211
#define Z_UTIL_INC_3211 3212
#define Z_UTIL_INC_3212 3213
#define Z_UTIL_INC_3213 3214
#define Z_UTIL_INC_3214 3215
#define Z_UTIL_INC_3215 3216
#define Z_UTIL_INC_3216 3217
#define Z_UTIL_INC_3217 3218
#define Z_UTIL_INC_3218 3219
#define Z_UTIL_INC_3219 3220
#define Z_UTIL_INC_3220 3221
#define Z_UTIL_INC_3221 3222
#define Z_UTIL_INC_3222 3223
#define Z_UTIL_INC_3223 3224
#define Z_UTIL_INC_3224 3225
#define Z_UTIL_INC_3225 3226
#define Z_UTIL_INC_3226 3227
#define Z_UTIL_INC_3227 3228
#define Z_UTIL_INC_3228 3229
#define Z_UTIL_INC_3229 3230
#define Z_UTIL_INC_3230 3231
#define Z_UTIL_INC_3231 3232
#define Z_UTIL_INC_3232 3233
#define Z_UTIL_INC_3233 3234
#define Z_UTIL_INC_3234 3235
#define Z_UTIL_INC_3235 3236
#define Z_UTIL_INC_3236 3237
#define Z_UTIL_INC_3237 3238
#define Z_UTIL_INC_3238 3239
#define Z_UTIL_INC_3239 3240
#define Z_UTIL_INC_3240 3241
#define Z_UTIL_INC_3241 3242
#define Z_UTIL_INC_3242 3243
#define Z_UTIL_INC_3243 3244
#define Z_UTIL_INC_3244 3245
#define Z_UTIL_INC_3245 3246
#define Z_UTIL_INC_3246 3247
#define Z_UTIL_INC_3247 3248
#define Z_UTIL_INC_3248 3249
#define Z_UTIL_INC_3249 3250
#define Z_UTIL_INC_3250 3251
#define Z_UTIL_INC_3251 3252
#define Z_UTIL_INC_3252 3253
#define Z_UTIL_INC_3253 3254
#define Z_UTIL_INC_3254 3255
#define Z_UTIL_INC_3255 3256
#define Z_UTIL_INC_3256 3257
#define Z_UTIL_INC_3257 3258
#define Z_UTIL_INC_3258 3259
#define Z_UTIL_INC_3259 3260
#define Z_UTIL_INC_3260 3261
#define Z_UTIL_INC_3261 3262
#define Z_UTIL_INC_3262 3263
#define Z_UTIL_INC_3263 3264
#define Z_UTIL_INC_3264 3265
#define Z_UTIL_INC_3265 3266
#define Z_UTIL_INC_3266 3267
#define Z_UTIL_INC_3267 3268
#define Z_UTIL_INC_3268 3269
#define Z_UTIL_INC_3269 3270
#define Z_UTIL_INC_3270 3271
#define Z_UTIL_INC_3271 3272
#define Z_UTIL_INC_3272 3273
#define Z_UTIL_INC_3273 3274
#define Z_UTIL_INC_3274 3275
#define Z_UTIL_INC_3275 3276
#define Z_UTIL_INC_3276 3277
#define Z_UTIL_INC_3277 3278
#define Z_UTIL_INC_3278 3279
#define Z_UTIL_INC_3279 3280
#define Z_UTIL_INC_3280 3281
#define Z_UTIL_INC_3281 3282
#define Z_UTIL_INC_3282 3283
#define Z_UTIL_INC_3283 3284
#define Z_UTIL_INC_3284 3285
#define Z_UTIL_INC_3285 3286
#define Z_UTIL_INC_3286 3287
#define Z_UTIL_INC_3287 3288
#define Z_UTIL_INC_3288 3289
#define Z_UTIL_INC_3289 3290
#define Z_UTIL_INC_3290 3291
#define Z_UTIL_INC_3291 3292
#define Z_UTIL_INC_3292 3293
#define Z_UTIL_INC_3293 3294
#define Z_UTIL_INC_3294 3295
#define Z_UTIL_INC_3295 3296
#define Z_UTIL_INC_3296 3297
#define Z_UTIL_INC_3297 3298
#define Z_UTIL_INC_3298 3299
#define Z_UTIL_INC_3299 3300
#define Z_UTIL_INC_3300 3301
#define Z_UTIL_INC_3301 3302
#define Z_UTIL_INC_3302 3303
#define Z_UTIL_INC_3303 3304
#define Z_UTIL_INC_3304 3305
#define Z_UTIL_INC_3305 3306
#define Z_UTIL_INC_3306 3307
#define Z_UTIL_INC_3307 3308
#define Z_UTIL_INC_3308 3309
#define Z_UTIL_INC_3309 3310
#define Z_UTIL_INC_3310 3311
#define Z_UTIL_INC_3311 3312
#define Z_UTIL_INC_3312 3313
#define Z_UTIL_INC_3313 3314
#define Z_UTIL_INC_3314 3315
#define Z_UTIL_INC_3315 3316
#define Z_UTIL_INC_3316 3317
#define Z_UTIL_INC_3317 3318
#define Z_UTIL_INC_3318 3319
#define Z_UTIL_INC_3319 3320
#define Z_UTIL_INC_3320 3321
#define Z_UTIL_INC_3321 3322
#define Z_UTIL_INC_3322 3323
#define Z_UTIL_INC_3323 3324
#define Z_UTIL_INC_3324 3325
#define Z_UTIL_INC_3325 3326
#define Z_UTIL_INC_3326 3327
#define Z_UTIL_INC_3327 3328
#define Z_UTIL_INC_3328 3329
#define Z_UTIL_INC_3329 3330
#define Z_UTIL_INC_3330 3331
#define Z_UTIL_INC_3331 3332
#define Z_UTIL_INC_3332 3333
#define Z_UTIL_INC_3333 3334
#define Z_UTIL_INC_3334 3335
#define Z_UTIL_INC_3335 3336
#define Z_UTIL_INC_3336 3337
#define Z_UTIL_INC_3337 3338
#define Z_UTIL_INC_3338 3339
#define Z_UTIL_INC_3339 3340
#define Z_UTIL_INC_3340 3341
#define Z_UTIL_INC_3341 3342
#define Z_UTIL_INC_3342 3343
#define Z_UTIL_INC_3343 3344
#define Z_UTIL_INC_3344 3345
#define Z_UTIL_INC_3345 3346
#define Z_UTIL_INC_3346 3347
#define Z_UTIL_INC_3347 3348
#define Z_UTIL_INC_3348 3349
#define Z_UTIL_INC_3349 3350
#define Z_UTIL_INC_3350 3351
#define Z_UTIL_INC_3351 3352
#define Z_UTIL_INC_3352 3353
#define Z_UTIL_INC_3353 3354
#define Z_UTIL_INC_3354 3355
#define Z_UTIL_INC_3355 3356
#define Z_UTIL_INC_3356 3357
#define Z_UTIL_INC_3357 3358
#define Z_UTIL_INC_3358 3359
#define Z_UTIL_INC_3359 3360
#define Z_UTIL_INC_3360 3361
#define Z_UTIL_INC_3361 3362
#define Z_UTIL_INC_3362 3363
#define Z_UTIL_INC_3363 3364
#define Z_UTIL_INC_3364 3365
#define Z_UTIL_INC_3365 3366
#define Z_UTIL_INC_3366 3367
#define Z_UTIL_INC_3367 3368
#define Z_UTIL_INC_3368 3369
#define Z_UTIL_INC_3369 3370
#define Z_UTIL_INC_3370 3371
#define Z_UTIL_INC_3371 3372
#define Z_UTIL_INC_3372 3373
#define Z_UTIL_INC_3373 3374
#define Z_UTIL_INC_3374 3375
#define Z_UTIL_INC_3375 3376
#define Z_UTIL_INC_3376 3377
#define Z_UTIL_INC_3377 3378
#define Z_UTIL_INC_3378 3379
#define Z_UTIL_INC_3379 3380
#define Z_UTIL_INC_3380 3381
#define Z_UTIL_INC_3381 3382
#define Z_UTIL_INC_3382 3383
#define Z_UTIL_INC_3383 3384
#define Z_UTIL_INC_3384 3385
#define Z_UTIL_INC_3385 3386
#define Z_UTIL_INC_3386 3387
#define Z_UTIL_INC_3387 3388
#define Z_UTIL_INC_3388 3389
#define Z_UTIL_INC_3389 3390
#define Z_UTIL_INC_3390 3391
#define Z_UTIL_INC_3391 3392
#define Z_UTIL_INC_3392 3393
#define Z_UTIL_INC_3393 3394
#define Z_UTIL_INC_3394 3395
#define Z_UTIL_INC_3395 3396
#define Z_UTIL_INC_3396 3397
#define Z_UTIL_INC_3397 3398
#define Z_UTIL_INC_3398 3399
#define Z_UTIL_INC_3399 3400
#define Z_UTIL_INC_3400 3401
#define Z_UTIL_INC_3401 3402
#define Z_UTIL_INC_3402 3403
#define Z_UTIL_INC_3403 3404
#define Z_UTIL_INC_3404 3405
#define Z_UTIL_INC_3405 3406
#define Z_UTIL_INC_3406 3407
#define Z_UTIL_INC_3407 3408
#define Z_UTIL_INC_3408 3409
#define Z_UTIL_INC_3409 3410
#define Z_UTIL_INC_3410 3411
#define Z_UTIL_INC_3411 3412
#define Z_UTIL_INC_3412 3413
#define Z_UTIL_INC_3413 3414
#define Z_UTIL_INC_3414 3415
#define Z_UTIL_INC_3415 3416
#define Z_UTIL_INC_3416 3417
#define Z_UTIL_INC_3417 3418
#define Z_UTIL_INC_3418 3419
#define Z_UTIL_INC_3419 3420
#define Z_UTIL_INC_3420 3421
#define Z_UTIL_INC_3421 3422
#define Z_UTIL_INC_3422 3423
#define Z_UTIL_INC_3423 3424
#define Z_UTIL_INC_3424 3425
#define Z_UTIL_INC_3425 3426
#define Z_UTIL_INC_3426 3427
#define Z_UTIL_INC_3427 3428
#define Z_UTIL_INC_3428 3429
#define Z_UTIL_INC_3429 3430
#define Z_UTIL_INC_3430 3431
#define Z_UTIL_INC_3431 3432
#define Z_UTIL_INC_3432 3433
#define Z_UTIL_INC_3433 3434
#define Z_UTIL_INC_3434 3435
#define Z_UTIL_INC_3435 3436
#define Z_UTIL_INC_3436 3437
#define Z_UTIL_INC_3437 3438
#define Z_UTIL_INC_3438 3439
#define Z_UTIL_INC_3439 3440
#define Z_UTIL_INC_3440 3441
#define Z_UTIL_INC_3441 3442
#define Z_UTIL_INC_3442 3443
#define Z_UTIL_INC_3443 3444
#define Z_UTIL_INC_3444 3445
#define Z_UTIL_INC_3445 3446
#define Z_UTIL_INC_3446 3447
#define Z_UTIL_INC_3447 3448
#define Z_UTIL_INC_3448 3449
#define Z_UTIL_INC_3449 3450
#define Z_UTIL_INC_3450 3451
#define Z_UTIL_INC_3451 3452
#define Z_UTIL_INC_3452 3453
#define Z_UTIL_INC_3453 3454
#define Z_UTIL_INC_3454 3455
#define Z_UTIL_INC_3455 3456
#define Z_UTIL_INC_3456 3457
#define Z_UTIL_INC_3457 3458
#define Z_UTIL_INC_3458 3459
#define Z_UTIL_INC_3459 3460
#define Z_UTIL_INC_3460 3461
#define Z_UTIL_INC_3461 3462
#define Z_UTIL_INC_3462 3463
#define Z_UTIL_INC_3463 3464
#define Z_UTIL_INC_3464 3465
#define Z_UTIL_INC_3465 3466
#define Z_UTIL_INC_3466 3467
#define Z_UTIL_INC_3467 3468
#define Z_UTIL_INC_3468 3469
#define Z_UTIL_INC_3469 3470
#define Z_UTIL_INC_3470 3471
#define Z_UTIL_INC_3471 3472
#define Z_UTIL_INC_3472 3473
#define Z_UTIL_INC_3473 3474
#define Z_UTIL_INC_3474 3475
#define Z_UTIL_INC_3475 3476
#define Z_UTIL_INC_3476 3477
#define Z_UTIL_INC_3477 3478
#define Z_UTIL_INC_3478 3479
#define Z_UTIL_INC_3479 3480
#define Z_UTIL_INC_3480 3481
#define Z_UTIL_INC_3481 3482
#define Z_UTIL_INC_3482 3483
#define Z_UTIL_INC_3483 3484
#define Z_UTIL_INC_3484 3485
#define Z_UTIL_INC_3485 3486
#define Z_UTIL_INC_3486 3487
#define Z_UTIL_INC_3487 3488
#define Z_UTIL_INC_3488 3489
#define Z_UTIL_INC_3489 3490
#define Z_UTIL_INC_3490 3491
#define Z_UTIL_INC_3491 3492
#define Z_UTIL_INC_3492 3493
#define Z_UTIL_INC_3493 3494
#define Z_UTIL_INC_3494 3495
#define Z_UTIL_INC_3495 3496
#define Z_UTIL_INC_3496 3497
#define Z_UTIL_INC_3497 3498
#define Z_UTIL_INC_3498 3499
#define Z_UTIL_INC_3499 3500
#define Z_UTIL_INC_3500 3501
#define Z_UTIL_INC_3501 3502
#define Z_UTIL_INC_3502 3503
#define Z_UTIL_INC_3503 3504
#define Z_UTIL_INC_3504 3505
#define Z_UTIL_INC_3505 3506
#define Z_UTIL_INC_3506 3507
#define Z_UTIL_INC_3507 3508
#define Z_UTIL_INC_3508 3509
#define Z_UTIL_INC_3509 3510
#define Z_UTIL_INC_3510 3511
#define Z_UTIL_INC_3511 3512
#define Z_UTIL_INC_3512 3513
#define Z_UTIL_INC_3513 3514
#define Z_UTIL_INC_3514 3515
#define Z_UTIL_INC_3515 3516
#define Z_UTIL_INC_3516 3517
#define Z_UTIL_INC_3517 3518
#define Z_UTIL_INC_3518 3519
#define Z_UTIL_INC_3519 3520
#define Z_UTIL_INC_3520 3521
#define Z_UTIL_INC_3521 3522
#define Z_UTIL_INC_3522 3523
#define Z_UTIL_INC_3523 3524
#define Z_UTIL_INC_3524 3525
#define Z_UTIL_INC_3525 3526
#define Z_UTIL_INC_3526 3527
#define Z_UTIL_INC_3527 3528
#define Z_UTIL_INC_3528 3529
#define Z_UTIL_INC_3529 3530
#define Z_UTIL_INC_3530 3531
#define Z_UTIL_INC_3531 3532
#define Z_UTIL_INC_3532 3533
#define Z_UTIL_INC_3533 3534
#define Z_UTIL_INC_3534 3535
#define Z_UTIL_INC_3535 3536
#define Z_UTIL_INC_3536 3537
#define Z_UTIL_INC_3537 3538
#define Z_UTIL_INC_3538 3539
#define Z_UTIL_INC_3539 3540
#define Z_UTIL_INC_3540 3541
#define Z_UTIL_INC_3541 3542
#define Z_UTIL_INC_3542 3543
#define Z_UTIL_INC_3543 3544
#define Z_UTIL_INC_3544 3545
#define Z_UTIL_INC_3545 3546
#define Z_UTIL_INC_3546 3547
#define Z_UTIL_INC_3547 3548
#define Z_UTIL_INC_3548 3549
#define Z_UTIL_INC_3549 3550
#define Z_UTIL_INC_3550 3551
#define Z_UTIL_INC_3551 3552
#define Z_UTIL_INC_3552 3553
#define Z_UTIL_INC_3553 3554
#define Z_UTIL_INC_3554 3555
#define Z_UTIL_INC_3555 3556
#define Z_UTIL_INC_3556 3557
#define Z_UTIL_INC_3557 3558
#define Z_UTIL_INC_3558 3559
#define Z_UTIL_INC_3559 3560
#define Z_UTIL_INC_3560 3561
#define Z_UTIL_INC_3561 3562
#define Z_UTIL_INC_3562 3563
#define Z_UTIL_INC_3563 3564
#define Z_UTIL_INC_3564 3565
#define Z_UTIL_INC_3565 3566
#define Z_UTIL_INC_3566 3567
#define Z_UTIL_INC_3567 3568
#define Z_UTIL_INC_3568 3569
#define Z_UTIL_INC_3569 3570
#define Z_UTIL_INC_3570 3571
#define Z_UTIL_INC_3571 3572
#define Z_UTIL_INC_3572 3573
#define Z_UTIL_INC_3573 3574
#define Z_UTIL_INC_3574 3575
#define Z_UTIL_INC_3575 3576
#define Z_UTIL_INC_3576 3577
#define Z_UTIL_INC_3577 3578
#define Z_UTIL_INC_3578 3579
#define Z_UTIL_INC_3579 3580
#define Z_UTIL_INC_3580 3581
#define Z_UTIL_INC_3581 3582
#define Z_UTIL_INC_3582 3583
#define Z_UTIL_INC_3583 3584
#define Z_UTIL_INC_3584 3585
#define Z_UTIL_INC_3585 3586
#define Z_UTIL_INC_3586 3587
#define Z_UTIL_INC_3587 3588
#define Z_UTIL_INC_3588 3589
#define Z_UTIL_INC_3589 3590
#define Z_UTIL_INC_3590 3591
#define Z_UTIL_INC_3591 3592
#define Z_UTIL_INC_3592 3593
#define Z_UTIL_INC_3593 3594
#define Z_UTIL_INC_3594 3595
#define Z_UTIL_INC_3595 3596
#define Z_UTIL_INC_3596 3597
#define Z_UTIL_INC_3597 3598
#define Z_UTIL_INC_3598 3599
#define Z_UTIL_INC_3599 3600
#define Z_UTIL_INC_3600 3601
#define Z_UTIL_INC_3601 3602
#define Z_UTIL_INC_3602 3603
#define Z_UTIL_INC_3603 3604
#define Z_UTIL_INC_3604 3605
#define Z_UTIL_INC_3605 3606
#define Z_UTIL_INC_3606 3607
#define Z_UTIL_INC_3607 3608
#define Z_UTIL_INC_3608 3609
#define Z_UTIL_INC_3609 3610
#define Z_UTIL_INC_3610 3611
#define Z_UTIL_INC_3611 3612
#define Z_UTIL_INC_3612 3613
#define Z_UTIL_INC_3613 3614
#define Z_UTIL_INC_3614 3615
#define Z_UTIL_INC_3615 3616
#define Z_UTIL_INC_3616 3617
#define Z_UTIL_INC_3617 3618
#define Z_UTIL_INC_3618 3619
#define Z_UTIL_INC_3619 3620
#define Z_UTIL_INC_3620 3621
#define Z_UTIL_INC_3621 3622
#define Z_UTIL_INC_3622 3623
#define Z_UTIL_INC_3623 3624
#define Z_UTIL_INC_3624 3625
#define Z_UTIL_INC_3625 3626
#define Z_UTIL_INC_3626 3627
#define Z_UTIL_INC_3627 3628
#define Z_UTIL_INC_3628 3629
#define Z_UTIL_INC_3629 3630
#define Z_UTIL_INC_3630 3631
#define Z_UTIL_INC_3631 3632
#define Z_UTIL_INC_3632 3633
#define Z_UTIL_INC_3633 3634
#define Z_UTIL_INC_3634 3635
#define Z_UTIL_INC_3635 3636
#define Z_UTIL_INC_3636 3637
#define Z_UTIL_INC_3637 3638
#define Z_UTIL_INC_3638 3639
#define Z_UTIL_INC_3639 3640
#define Z_UTIL_INC_3640 3641
#define Z_UTIL_INC_3641 3642
#define Z_UTIL_INC_3642 3643
#define Z_UTIL_INC_3643 3644
#define Z_UTIL_INC_3644 3645
#define Z_UTIL_INC_3645 3646
#define Z_UTIL_INC_3646 3647
#define Z_UTIL_INC_3647 3648
#define Z_UTIL_INC_3648 3649
#define Z_UTIL_INC_3649 3650
#define Z_UTIL_INC_3650 3651
#define Z_UTIL_INC_3651 3652
#define Z_UTIL_INC_3652 3653
#define Z_UTIL_INC_3653 3654
#define Z_UTIL_INC_3654 3655
#define Z_UTIL_INC_3655 3656
#define Z_UTIL_INC_3656 3657
#define Z_UTIL_INC_3657 3658
#define Z_UTIL_INC_3658 3659
#define Z_UTIL_INC_3659 3660
#define Z_UTIL_INC_3660 3661
#define Z_UTIL_INC_3661 3662
#define Z_UTIL_INC_3662 3663
#define Z_UTIL_INC_3663 3664
#define Z_UTIL_INC_3664 3665
#define Z_UTIL_INC_3665 3666
#define Z_UTIL_INC_3666 3667
#define Z_UTIL_INC_3667 3668
#define Z_UTIL_INC_3668 3669
#define Z_UTIL_INC_3669 3670
#define Z_UTIL_INC_3670 3671
#define Z_UTIL_INC_3671 3672
#define Z_UTIL_INC_3672 3673
#define Z_UTIL_INC_3673 3674
#define Z_UTIL_INC_3674 3675
#define Z_UTIL_INC_3675 3676
#define Z_UTIL_INC_3676 3677
#define Z_UTIL_INC_3677 3678
#define Z_UTIL_INC_3678 3679
#define Z_UTIL_INC_3679 3680
#define Z_UTIL_INC_3680 3681
#define Z_UTIL_INC_3681 3682
#define Z_UTIL_INC_3682 3683
#define Z_UTIL_INC_3683 3684
#define Z_UTIL_INC_3684 3685
#define Z_UTIL_INC_3685 3686
#define Z_UTIL_INC_3686 3687
#define Z_UTIL_INC_3687 3688
#define Z_UTIL_INC_3688 3689
#define Z_UTIL_INC_3689 3690
#define Z_UTIL_INC_3690 3691
#define Z_UTIL_INC_3691 3692
#define Z_UTIL_INC_3692 3693
#define Z_UTIL_INC_3693 3694
#define Z_UTIL_INC_3694 3695
#define Z_UTIL_INC_3695 3696
#define Z_UTIL_INC_3696 3697
#define Z_UTIL_INC_3697 3698
#define Z_UTIL_INC_3698 3699
#define Z_UTIL_INC_3699 3700
#define Z_UTIL_INC_3700 3701
#define Z_UTIL_INC_3701 3702
#define Z_UTIL_INC_3702 3703
#define Z_UTIL_INC_3703 3704
#define Z_UTIL_INC_3704 3705
#define Z_UTIL_INC_3705 3706
#define Z_UTIL_INC_3706 3707
#define Z_UTIL_INC_3707 3708
#define Z_UTIL_INC_3708 3709
#define Z_UTIL_INC_3709 3710
#define Z_UTIL_INC_3710 3711
#define Z_UTIL_INC_3711 3712
#define Z_UTIL_INC_3712 3713
#define Z_UTIL_INC_3713 3714
#define Z_UTIL_INC_3714 3715
#define Z_UTIL_INC_3715 3716
#define Z_UTIL_INC_3716 3717
#define Z_UTIL_INC_3717 3718
#define Z_UTIL_INC_3718 3719
#define Z_UTIL_INC_3719 3720
#define Z_UTIL_INC_3720 3721
#define Z_UTIL_INC_3721 3722
#define Z_UTIL_INC_3722 3723
#define Z_UTIL_INC_3723 3724
#define Z_UTIL_INC_3724 3725
#define Z_UTIL_INC_3725 3726
#define Z_UTIL_INC_3726 3727
#define Z_UTIL_INC_3727 3728
#define Z_UTIL_INC_3728 3729
#define Z_UTIL_INC_3729 3730
#define Z_UTIL_INC_3730 3731
#define Z_UTIL_INC_3731 3732
#define Z_UTIL_INC_3732 3733
#define Z_UTIL_INC_3733 3734
#define Z_UTIL_INC_3734 3735
#define Z_UTIL_INC_3735 3736
#define Z_UTIL_INC_3736 3737
#define Z_UTIL_INC_3737 3738
#define Z_UTIL_INC_3738 3739
#define Z_UTIL_INC_3739 3740
#define Z_UTIL_INC_3740 3741
#define Z_UTIL_INC_3741 3742
#define Z_UTIL_INC_3742 3743
#define Z_UTIL_INC_3743 3744
#define Z_UTIL_INC_3744 3745
#define Z_UTIL_INC_3745 3746
#define Z_UTIL_INC_3746 3747
#define Z_UTIL_INC_3747 3748
#define Z_UTIL_INC_3748 3749
#define Z_UTIL_INC_3749 3750
#define Z_UTIL_INC_3750 3751
#define Z_UTIL_INC_3751 3752
#define Z_UTIL_INC_3752 3753
#define Z_UTIL_INC_3753 3754
#define Z_UTIL_INC_3754 3755
#define Z_UTIL_INC_3755 3756
#define Z_UTIL_INC_3756 3757
#define Z_UTIL_INC_3757 3758
#define Z_UTIL_INC_3758 3759
#define Z_UTIL_INC_3759 3760
#define Z_UTIL_INC_3760 3761
#define Z_UTIL_INC_3761 3762
#define Z_UTIL_INC_3762 3763
#define Z_UTIL_INC_3763 3764
#define Z_UTIL_INC_3764 3765
#define Z_UTIL_INC_3765 3766
#define Z_UTIL_INC_3766 3767
#define Z_UTIL_INC_3767 3768
#define Z_UTIL_INC_3768 3769
#define Z_UTIL_INC_3769 3770
#define Z_UTIL_INC_3770 3771
#define Z_UTIL_INC_3771 3772
#define Z_UTIL_INC_3772 3773
#define Z_UTIL_INC_3773 3774
#define Z_UTIL_INC_3774 3775
#define Z_UTIL_INC_3775 3776
#define Z_UTIL_INC_3776 3777
#define Z_UTIL_INC_3777 3778
#define Z_UTIL_INC_3778 3779
#define Z_UTIL_INC_3779 3780
#define Z_UTIL_INC_3780 3781
#define Z_UTIL_INC_3781 3782
#define Z_UTIL_INC_3782 3783
#define Z_UTIL_INC_3783 3784
#define Z_UTIL_INC_3784 3785
#define Z_UTIL_INC_3785 3786
#define Z_UTIL_INC_3786 3787
#define Z_UTIL_INC_3787 3788
#define Z_UTIL_INC_3788 3789
#define Z_UTIL_INC_3789 3790
#define Z_UTIL_INC_3790 3791
#define Z_UTIL_INC_3791 3792
#define Z_UTIL_INC_3792 3793
#define Z_UTIL_INC_3793 3794
#define Z_UTIL_INC_3794 3795
#define Z_UTIL_INC_3795 3796
#define Z_UTIL_INC_3796 3797
#define Z_UTIL_INC_3797 3798
#define Z_UTIL_INC_3798 3799
#define Z_UTIL_INC_3799 3800
#define Z_UTIL_INC_3800 3801
#define Z_UTIL_INC_3801 3802
#define Z_UTIL_INC_3802 3803
#define Z_UTIL_INC_3803 3804
#define Z_UTIL_INC_3804 3805
#define Z_UTIL_INC_3805 3806
#define Z_UTIL_INC_3806 3807
#define Z_UTIL_INC_3807 3808
#define Z_UTIL_INC_3808 3809
#define Z_UTIL_INC_3809 3810
#define Z_UTIL_INC_3810 3811
#define Z_UTIL_INC_3811 3812
#define Z_UTIL_INC_3812 3813
#define Z_UTIL_INC_3813 3814
#define Z_UTIL_INC_3814 3815
#define Z_UTIL_INC_3815 3816
#define Z_UTIL_INC_3816 3817
#define Z_UTIL_INC_3817 3818
#define Z_UTIL_INC_3818 3819
#define Z_UTIL_INC_3819 3820
#define Z_UTIL_INC_3820 3821
#define Z_UTIL_INC_3821 3822
#define Z_UTIL_INC_3822 3823
#define Z_UTIL_INC_3823 3824
#define Z_UTIL_INC_3824 3825
#define Z_UTIL_INC_3825 3826
#define Z_UTIL_INC_3826 3827
#define Z_UTIL_INC_3827 3828
#define Z_UTIL_INC_3828 3829
#define Z_UTIL_INC_3829 3830
#define Z_UTIL_INC_3830 3831
#define Z_UTIL_INC_3831 3832
#define Z_UTIL_INC_3832 3833
#define Z_UTIL_INC_3833 3834
#define Z_UTIL_INC_3834 3835
#define Z_UTIL_INC_3835 3836
#define Z_UTIL_INC_3836 3837
#define Z_UTIL_INC_3837 3838
#define Z_UTIL_INC_3838 3839
#define Z_UTIL_INC_3839 3840
#define Z_UTIL_INC_3840 3841
#define Z_UTIL_INC_3841 3842
#define Z_UTIL_INC_3842 3843
#define Z_UTIL_INC_3843 3844
#define Z_UTIL_INC_3844 3845
#define Z_UTIL_INC_3845 3846
#define Z_UTIL_INC_3846 3847
#define Z_UTIL_INC_3847 3848
#define Z_UTIL_INC_3848 3849
#define Z_UTIL_INC_3849 3850
#define Z_UTIL_INC_3850 3851
#define Z_UTIL_INC_3851 3852
#define Z_UTIL_INC_3852 3853
#define Z_UTIL_INC_3853 3854
#define Z_UTIL_INC_3854 3855
#define Z_UTIL_INC_3855 3856
#define Z_UTIL_INC_3856 3857
#define Z_UTIL_INC_3857 3858
#define Z_UTIL_INC_3858 3859
#define Z_UTIL_INC_3859 3860
#define Z_UTIL_INC_3860 3861
#define Z_UTIL_INC_3861 3862
#define Z_UTIL_INC_3862 3863
#define Z_UTIL_INC_3863 3864
#define Z_UTIL_INC_3864 3865
#define Z_UTIL_INC_3865 3866
#define Z_UTIL_INC_3866 3867
#define Z_UTIL_INC_3867 3868
#define Z_UTIL_INC_3868 3869
#define Z_UTIL_INC_3869 3870
#define Z_UTIL_INC_3870 3871
#define Z_UTIL_INC_3871 3872
#define Z_UTIL_INC_3872 3873
#define Z_UTIL_INC_3873 3874
#define Z_UTIL_INC_3874 3875
#define Z_UTIL_INC_3875 3876
#define Z_UTIL_INC_3876 3877
#define Z_UTIL_INC_3877 3878
#define Z_UTIL_INC_3878 3879
#define Z_UTIL_INC_3879 3880
#define Z_UTIL_INC_3880 3881
#define Z_UTIL_INC_3881 3882
#define Z_UTIL_INC_3882 3883
#define Z_UTIL_INC_3883 3884
#define Z_UTIL_INC_3884 3885
#define Z_UTIL_INC_3885 3886
#define Z_UTIL_INC_3886 3887
#define Z_UTIL_INC_3887 3888
#define Z_UTIL_INC_3888 3889
#define Z_UTIL_INC_3889 3890
#define Z_UTIL_INC_3890 3891
#define Z_UTIL_INC_3891 3892
#define Z_UTIL_INC_3892 3893
#define Z_UTIL_INC_3893 3894
#define Z_UTIL_INC_3894 3895
#define Z_UTIL_INC_3895 3896
#define Z_UTIL_INC_3896 3897
#define Z_UTIL_INC_3897 3898
#define Z_UTIL_INC_3898 3899
#define Z_UTIL_INC_3899 3900
#define Z_UTIL_INC_3900 3901
#define Z_UTIL_INC_3901 3902
#define Z_UTIL_INC_3902 3903
#define Z_UTIL_INC_3903 3904
#define Z_UTIL_INC_3904 3905
#define Z_UTIL_INC_3905 3906
#define Z_UTIL_INC_3906 3907
#define Z_UTIL_INC_3907 3908
#define Z_UTIL_INC_3908 3909
#define Z_UTIL_INC_3909 3910
#define Z_UTIL_INC_3910 3911
#define Z_UTIL_INC_3911 3912
#define Z_UTIL_INC_3912 3913
#define Z_UTIL_INC_3913 3914
#define Z_UTIL_INC_3914 3915
#define Z_UTIL_INC_3915 3916
#define Z_UTIL_INC_3916 3917
#define Z_UTIL_INC_3917 3918
#define Z_UTIL_INC_3918 3919
#define Z_UTIL_INC_3919 3920
#define Z_UTIL_INC_3920 3921
#define Z_UTIL_INC_3921 3922
#define Z_UTIL_INC_3922 3923
#define Z_UTIL_INC_3923 3924
#define Z_UTIL_INC_3924 3925
#define Z_UTIL_INC_3925 3926
#define Z_UTIL_INC_3926 3927
#define Z_UTIL_INC_3927 3928
#define Z_UTIL_INC_3928 3929
#define Z_UTIL_INC_3929 3930
#define Z_UTIL_INC_3930 3931
#define Z_UTIL_INC_3931 3932
#define Z_UTIL_INC_3932 3933
#define Z_UTIL_INC_3933 3934
#define Z_UTIL_INC_3934 3935
#define Z_UTIL_INC_3935 3936
#define Z_UTIL_INC_3936 3937
#define Z_UTIL_INC_3937 3938
#define Z_UTIL_INC_3938 3939
#define Z_UTIL_INC_3939 3940
#define Z_UTIL_INC_3940 3941
#define Z_UTIL_INC_3941 3942
#define Z_UTIL_INC_3942 3943
#define Z_UTIL_INC_3943 3944
#define Z_UTIL_INC_3944 3945
#define Z_UTIL_INC_3945 3946
#define Z_UTIL_INC_3946 3947
#define Z_UTIL_INC_3947 3948
#define Z_UTIL_INC_3948 3949
#define Z_UTIL_INC_3949 3950
#define Z_UTIL_INC_3950 3951
#define Z_UTIL_INC_3951 3952
#define Z_UTIL_INC_3952 3953
#define Z_UTIL_INC_3953 3954
#define Z_UTIL_INC_3954 3955
#define Z_UTIL_INC_3955 3956
#define Z_UTIL_INC_3956 3957
#define Z_UTIL_INC_3957 3958
#define Z_UTIL_INC_3958 3959
#define Z_UTIL_INC_3959 3960
#define Z_UTIL_INC_3960 3961
#define Z_UTIL_INC_3961 3962
#define Z_UTIL_INC_3962 3963
#define Z_UTIL_INC_3963 3964
#define Z_UTIL_INC_3964 3965
#define Z_UTIL_INC_3965 3966
#define Z_UTIL_INC_3966 3967
#define Z_UTIL_INC_3967 3968
#define Z_UTIL_INC_3968 3969
#define Z_UTIL_INC_3969 3970
#define Z_UTIL_INC_3970 3971
#define Z_UTIL_INC_3971 3972
#define Z_UTIL_INC_3972 3973
#define Z_UTIL_INC_3973 3974
#define Z_UTIL_INC_3974 3975
#define Z_UTIL_INC_3975 3976
#define Z_UTIL_INC_3976 3977
#define Z_UTIL_INC_3977 3978
#define Z_UTIL_INC_3978 3979
#define Z_UTIL_INC_3979 3980
#define Z_UTIL_INC_3980 3981
#define Z_UTIL_INC_3981 3982
#define Z_UTIL_INC_3982 3983
#define Z_UTIL_INC_3983 3984
#define Z_UTIL_INC_3984 3985
#define Z_UTIL_INC_3985 3986
#define Z_UTIL_INC_3986 3987
#define Z_UTIL_INC_3987 3988
#define Z_UTIL_INC_3988 3989
#define Z_UTIL_INC_3989 3990
#define Z_UTIL_INC_3990 3991
#define Z_UTIL_INC_3991 3992
#define Z_UTIL_INC_3992 3993
#define Z_UTIL_INC_3993 3994
#define Z_UTIL_INC_3994 3995
#define Z_UTIL_INC_3995 3996
#define Z_UTIL_INC_3996 3997
#define Z_UTIL_INC_3997 3998
#define Z_UTIL_INC_3998 3999
#define Z_UTIL_INC_3999 4000
#define Z_UTIL_INC_4000 4001
#define Z_UTIL_INC_4001 4002
#define Z_UTIL_INC_4002 4003
#define Z_UTIL_INC_4003 4004
#define Z_UTIL_INC_4004 4005
#define Z_UTIL_INC_4005 4006
#define Z_UTIL_INC_4006 4007
#define Z_UTIL_INC_4007 4008
#define Z_UTIL_INC_4008 4009
#define Z_UTIL_INC_4009 4010
#define Z_UTIL_INC_4010 4011
#define Z_UTIL_INC_4011 4012
#define Z_UTIL_INC_4012 4013
#define Z_UTIL_INC_4013 4014
#define Z_UTIL_INC_4014 4015
#define Z_UTIL_INC_4015 4016
#define Z_UTIL_INC_4016 4017
#define Z_UTIL_INC_4017 4018
#define Z_UTIL_INC_4018 4019
#define Z_UTIL_INC_4019 4020
#define Z_UTIL_INC_4020 4021
#define Z_UTIL_INC_4021 4022
#define Z_UTIL_INC_4022 4023
#define Z_UTIL_INC_4023 4024
#define Z_UTIL_INC_4024 4025
#define Z_UTIL_INC_4025 4026
#define Z_UTIL_INC_4026 4027
#define Z_UTIL_INC_4027 4028
#define Z_UTIL_INC_4028 4029
#define Z_UTIL_INC_4029 4030
#define Z_UTIL_INC_4030 4031
#define Z_UTIL_INC_4031 4032
#define Z_UTIL_INC_4032 4033
#define Z_UTIL_INC_4033 4034
#define Z_UTIL_INC_4034 4035
#define Z_UTIL_INC_4035 4036
#define Z_UTIL_INC_4036 4037
#define Z_UTIL_INC_4037 4038
#define Z_UTIL_INC_4038 4039
#define Z_UTIL_INC_4039 4040
#define Z_UTIL_INC_4040 4041
#define Z_UTIL_INC_4041 4042
#define Z_UTIL_INC_4042 4043
#define Z_UTIL_INC_4043 4044
#define Z_UTIL_INC_4044 4045
#define Z_UTIL_INC_4045 4046
#define Z_UTIL_INC_4046 4047
#define Z_UTIL_INC_4047 4048
#define Z_UTIL_INC_4048 4049
#define Z_UTIL_INC_4049 4050
#define Z_UTIL_INC_4050 4051
#define Z_UTIL_INC_4051 4052
#define Z_UTIL_INC_4052 4053
#define Z_UTIL_INC_4053 4054
#define Z_UTIL_INC_4054 4055
#define Z_UTIL_INC_4055 4056
#define Z_UTIL_INC_4056 4057
#define Z_UTIL_INC_4057 4058
#define Z_UTIL_INC_4058 4059
#define Z_UTIL_INC_4059 4060
#define Z_UTIL_INC_4060 4061
#define Z_UTIL_INC_4061 4062
#define Z_UTIL_INC_4062 4063
#define Z_UTIL_INC_4063 4064
#define Z_UTIL_INC_4064 4065
#define Z_UTIL_INC_4065 4066
#define Z_UTIL_INC_4066 4067
#define Z_UTIL_INC_4067 4068
#define Z_UTIL_INC_4068 4069
#define Z_UTIL_INC_4069 4070
#define Z_UTIL_INC_4070 4071
#define Z_UTIL_INC_4071 4072
#define Z_UTIL_INC_4072 4073
#define Z_UTIL_INC_4073 4074
#define Z_UTIL_INC_4074 4075
#define Z_UTIL_INC_4075 4076
#define Z_UTIL_INC_4076 4077
#define Z_UTIL_INC_4077 4078
#define Z_UTIL_INC_4078 4079
#define Z_UTIL_INC_4079 4080
#define Z_UTIL_INC_4080 4081
#define Z_UTIL_INC_4081 4082
#define Z_UTIL_INC_4082 4083
#define Z_UTIL_INC_4083 4084
#define Z_UTIL_INC_4084 4085
#define Z_UTIL_INC_4085 4086
#define Z_UTIL_INC_4086 4087
#define Z_UTIL_INC_4087 4088
#define Z_UTIL_INC_4088 4089
#define Z_UTIL_INC_4089 4090
#define Z_UTIL_INC_4090 4091
#define Z_UTIL_INC_4091 4092
#define Z_UTIL_INC_4092 4093
#define Z_UTIL_INC_4093 4094
#define Z_UTIL_INC_4094 4095
#define Z_UTIL_INC_4095 4096
#define Z_UTIL_INC_4096 4097
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_ */
/**
* INTERNAL_HIDDEN @endcond
*/
``` | /content/code_sandbox/include/zephyr/sys/util_internal_util_inc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43,171 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ONOFF_H_
#define ZEPHYR_INCLUDE_SYS_ONOFF_H_
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/sys/notify.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup resource_mgmt_onoff_apis On-Off Service APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Flag indicating an error state.
*
* Error states are cleared using onoff_reset().
*/
#define ONOFF_FLAG_ERROR BIT(0)
/** @cond INTERNAL_HIDDEN */
#define ONOFF_FLAG_ONOFF BIT(1)
#define ONOFF_FLAG_TRANSITION BIT(2)
/** @endcond */
/**
* @brief Mask used to isolate bits defining the service state.
*
* Mask a value with this then test for ONOFF_FLAG_ERROR to determine
* whether the machine has an unfixed error, or compare against
* ONOFF_STATE_ON, ONOFF_STATE_OFF, ONOFF_STATE_TO_ON,
* ONOFF_STATE_TO_OFF, or ONOFF_STATE_RESETTING.
*/
#define ONOFF_STATE_MASK (ONOFF_FLAG_ERROR \
| ONOFF_FLAG_ONOFF \
| ONOFF_FLAG_TRANSITION)
/**
* @brief Value exposed by ONOFF_STATE_MASK when service is off.
*/
#define ONOFF_STATE_OFF 0U
/**
* @brief Value exposed by ONOFF_STATE_MASK when service is on.
*/
#define ONOFF_STATE_ON ONOFF_FLAG_ONOFF
/**
* @brief Value exposed by ONOFF_STATE_MASK when the service is in an
* error state (and not in the process of resetting its state).
*/
#define ONOFF_STATE_ERROR ONOFF_FLAG_ERROR
/**
* @brief Value exposed by ONOFF_STATE_MASK when service is
* transitioning to on.
*/
#define ONOFF_STATE_TO_ON (ONOFF_FLAG_TRANSITION | ONOFF_STATE_ON)
/**
* @brief Value exposed by ONOFF_STATE_MASK when service is
* transitioning to off.
*/
#define ONOFF_STATE_TO_OFF (ONOFF_FLAG_TRANSITION | ONOFF_STATE_OFF)
/**
* @brief Value exposed by ONOFF_STATE_MASK when service is in the
* process of resetting.
*/
#define ONOFF_STATE_RESETTING (ONOFF_FLAG_TRANSITION | ONOFF_STATE_ERROR)
/* Forward declarations */
struct onoff_manager;
struct onoff_monitor;
/**
* @brief Signature used to notify an on-off manager that a transition
* has completed.
*
* Functions of this type are passed to service-specific transition
* functions to be used to report the completion of the operation.
* The functions may be invoked from any context.
*
* @param mgr the manager for which transition was requested.
*
* @param res the result of the transition. This shall be
* non-negative on success, or a negative error code. If an error is
* indicated the service shall enter an error state.
*/
typedef void (*onoff_notify_fn)(struct onoff_manager *mgr,
int res);
/**
* @brief Signature used by service implementations to effect a
* transition.
*
* Service definitions use two required function pointers of this type
* to be notified that a transition is required, and a third optional
* one to reset the service when it is in an error state.
*
* The start function will be called only from the off state.
*
* The stop function will be called only from the on state.
*
* The reset function (where supported) will be called only when
* onoff_has_error() returns true.
*
* @note All transitions functions must be isr-ok.
*
* @param mgr the manager for which transition was requested.
*
* @param notify the function to be invoked when the transition has
* completed. If the transition is synchronous, notify shall be
* invoked by the implementation before the transition function
* returns. Otherwise the implementation shall capture this parameter
* and invoke it when the transition completes.
*/
typedef void (*onoff_transition_fn)(struct onoff_manager *mgr,
onoff_notify_fn notify);
/** @brief On-off service transition functions. */
struct onoff_transitions {
/** Function to invoke to transition the service to on. */
onoff_transition_fn start;
/** Function to invoke to transition the service to off. */
onoff_transition_fn stop;
/** Function to force the service state to reset, where
* supported.
*/
onoff_transition_fn reset;
};
/**
* @brief State associated with an on-off manager.
*
* No fields in this structure are intended for use by service
* providers or clients. The state is to be initialized once, using
* onoff_manager_init(), when the service provider is initialized. In
* case of error it may be reset through the onoff_reset() API.
*/
struct onoff_manager {
/** List of clients waiting for request or reset completion
* notifications.
*/
sys_slist_t clients;
/** List of monitors to be notified of state changes including
* errors and transition completion.
*/
sys_slist_t monitors;
/** Transition functions. */
const struct onoff_transitions *transitions;
/** Mutex protection for other fields. */
struct k_spinlock lock;
/** The result of the last transition. */
int last_res;
/** Flags identifying the service state. */
uint16_t flags;
/** Number of active clients for the service. */
uint16_t refs;
};
/** @brief Initializer for a onoff_transitions object.
*
* @param _start a function used to transition from off to on state.
*
* @param _stop a function used to transition from on to off state.
*
* @param _reset a function used to clear errors and force the service
* to an off state. Can be null.
*/
#define ONOFF_TRANSITIONS_INITIALIZER(_start, _stop, _reset) { \
.start = (_start), \
.stop = (_stop), \
.reset = (_reset), \
}
/** @cond INTERNAL_HIDDEN */
#define ONOFF_MANAGER_INITIALIZER(_transitions) { \
.transitions = (_transitions), \
}
/** @endcond */
/**
* @brief Initialize an on-off service to off state.
*
* This function must be invoked exactly once per service instance, by
* the infrastructure that provides the service, and before any other
* on-off service API is invoked on the service.
*
* This function should never be invoked by clients of an on-off
* service.
*
* @param mgr the manager definition object to be initialized.
*
* @param transitions pointer to a structure providing transition
* functions. The referenced object must persist as long as the
* manager can be referenced.
*
* @retval 0 on success
* @retval -EINVAL if start, stop, or flags are invalid
*/
int onoff_manager_init(struct onoff_manager *mgr,
const struct onoff_transitions *transitions);
/* Forward declaration */
struct onoff_client;
/**
* @brief Signature used to notify an on-off service client of the
* completion of an operation.
*
* These functions may be invoked from any context including
* pre-kernel, ISR, or cooperative or pre-emptible threads.
* Compatible functions must be isr-ok and not sleep.
*
* @param mgr the manager for which the operation was initiated. This may be
* null if the on-off service uses synchronous transitions.
*
* @param cli the client structure passed to the function that
* initiated the operation.
*
* @param state the state of the machine at the time of completion,
* restricted by ONOFF_STATE_MASK. ONOFF_FLAG_ERROR must be checked
* independently of whether res is negative as a machine error may
* indicate that all future operations except onoff_reset() will fail.
*
* @param res the result of the operation. Expected values are
* service-specific, but the value shall be non-negative if the
* operation succeeded, and negative if the operation failed. If res
* is negative ONOFF_FLAG_ERROR will be set in state, but if res is
* non-negative ONOFF_FLAG_ERROR may still be set in state.
*/
typedef void (*onoff_client_callback)(struct onoff_manager *mgr,
struct onoff_client *cli,
uint32_t state,
int res);
/**
* @brief State associated with a client of an on-off service.
*
* Objects of this type are allocated by a client, which is
* responsible for zero-initializing the node field and invoking the
* appropriate sys_notify init function to configure notification.
*
* Control of the object content transfers to the service provider
* when a pointer to the object is passed to any on-off manager
* function. While the service provider controls the object the
* client must not change any object fields. Control reverts to the
* client concurrent with release of the owned sys_notify structure,
* or when indicated by an onoff_cancel() return value.
*
* After control has reverted to the client the notify field must be
* reinitialized for the next operation.
*/
struct onoff_client {
/** @cond INTERNAL_HIDDEN
*
* Links the client into the set of waiting service users.
* Applications must ensure this field is zero-initialized
* before use.
*/
sys_snode_t node;
/** @endcond */
/** @brief Notification configuration. */
struct sys_notify notify;
};
/**
* @brief Identify region of sys_notify flags available for
* containing services.
*
* Bits of the flags field of the sys_notify structure contained
* within the queued_operation structure at and above this position
* may be used by extensions to the onoff_client structure.
*
* These bits are intended for use by containing service
* implementations to record client-specific information and are
* subject to other conditions of use specified on the sys_notify API.
*/
#define ONOFF_CLIENT_EXTENSION_POS SYS_NOTIFY_EXTENSION_POS
/**
* @brief Test whether an on-off service has recorded an error.
*
* This function can be used to determine whether the service has
* recorded an error. Errors may be cleared by invoking
* onoff_reset().
*
* This is an unlocked convenience function suitable for use only when
* it is known that no other process might invoke an operation that
* transitions the service between an error and non-error state.
*
* @return true if and only if the service has an uncleared error.
*/
static inline bool onoff_has_error(const struct onoff_manager *mgr)
{
return (mgr->flags & ONOFF_FLAG_ERROR) != 0;
}
/**
* @brief Request a reservation to use an on-off service.
*
* The return value indicates the success or failure of an attempt to
* initiate an operation to request the resource be made available.
* If initiation of the operation succeeds the result of the request
* operation is provided through the configured client notification
* method, possibly before this call returns.
*
* Note that the call to this function may succeed in a case where the
* actual request fails. Always check the operation completion
* result.
*
* @param mgr the manager that will be used.
*
* @param cli a non-null pointer to client state providing
* instructions on synchronous expectations and how to notify the
* client when the request completes. Behavior is undefined if client
* passes a pointer object associated with an incomplete service
* operation.
*
* @retval non-negative the observed state of the machine at the time
* the request was processed, if successful.
* @retval -EIO if service has recorded an error.
* @retval -EINVAL if the parameters are invalid.
* @retval -EAGAIN if the reference count would overflow.
*/
int onoff_request(struct onoff_manager *mgr,
struct onoff_client *cli);
/**
* @brief Release a reserved use of an on-off service.
*
* This synchronously releases the caller's previous request. If the
* last request is released the manager will initiate a transition to
* off, which can be observed by registering an onoff_monitor.
*
* @note Behavior is undefined if this is not paired with a preceding
* onoff_request() call that completed successfully.
*
* @param mgr the manager for which a request was successful.
*
* @retval non-negative the observed state (ONOFF_STATE_ON) of the
* machine at the time of the release, if the release succeeds.
* @retval -EIO if service has recorded an error.
* @retval -ENOTSUP if the machine is not in a state that permits
* release.
*/
int onoff_release(struct onoff_manager *mgr);
/**
* @brief Attempt to cancel an in-progress client operation.
*
* It may be that a client has initiated an operation but needs to
* shut down before the operation has completed. For example, when a
* request was made and the need is no longer present.
*
* Cancelling is supported only for onoff_request() and onoff_reset()
* operations, and is a synchronous operation. Be aware that any
* transition that was initiated on behalf of the client will continue
* to progress to completion: it is only notification of transition
* completion that may be eliminated. If there are no active requests
* when a transition to on completes the manager will initiate a
* transition to off.
*
* Client notification does not occur for cancelled operations.
*
* @param mgr the manager for which an operation is to be cancelled.
*
* @param cli a pointer to the same client state that was provided
* when the operation to be cancelled was issued.
*
* @retval non-negative the observed state of the machine at the time
* of the cancellation, if the cancellation succeeds. On successful
* cancellation ownership of @c *cli reverts to the client.
* @retval -EINVAL if the parameters are invalid.
* @retval -EALREADY if cli was not a record of an uncompleted
* notification at the time the cancellation was processed. This
* likely indicates that the operation and client notification had
* already completed.
*/
int onoff_cancel(struct onoff_manager *mgr,
struct onoff_client *cli);
/**
* @brief Helper function to safely cancel a request.
*
* Some applications may want to issue requests on an asynchronous
* event (such as connection to a USB bus) and to release on a paired
* event (such as loss of connection to a USB bus). Applications
* cannot precisely determine that an in-progress request is still
* pending without using onoff_monitor and carefully avoiding race
* conditions.
*
* This function is a helper that attempts to cancel the operation and
* issues a release if cancellation fails because the request was
* completed. This synchronously ensures that ownership of the client
* data reverts to the client so is available for a future request.
*
* @param mgr the manager for which an operation is to be cancelled.
*
* @param cli a pointer to the same client state that was provided
* when onoff_request() was invoked. Behavior is undefined if this is
* a pointer to client data associated with an onoff_reset() request.
*
* @retval ONOFF_STATE_TO_ON if the cancellation occurred before the
* transition completed.
*
* @retval ONOFF_STATE_ON if the cancellation occurred after the
* transition completed.
*
* @retval -EINVAL if the parameters are invalid.
*
* @retval negative other errors produced by onoff_release().
*/
static inline int onoff_cancel_or_release(struct onoff_manager *mgr,
struct onoff_client *cli)
{
int rv = onoff_cancel(mgr, cli);
if (rv == -EALREADY) {
rv = onoff_release(mgr);
}
return rv;
}
/**
* @brief Clear errors on an on-off service and reset it to its off
* state.
*
* A service can only be reset when it is in an error state as
* indicated by onoff_has_error().
*
* The return value indicates the success or failure of an attempt to
* initiate an operation to reset the resource. If initiation of the
* operation succeeds the result of the reset operation itself is
* provided through the configured client notification method,
* possibly before this call returns. Multiple clients may request a
* reset; all are notified when it is complete.
*
* Note that the call to this function may succeed in a case where the
* actual reset fails. Always check the operation completion result.
*
* @note Due to the conditions on state transition all incomplete
* asynchronous operations will have been informed of the error when
* it occurred. There need be no concern about dangling requests left
* after a reset completes.
*
* @param mgr the manager to be reset.
*
* @param cli pointer to client state, including instructions on how
* to notify the client when reset completes. Behavior is undefined
* if cli references an object associated with an incomplete service
* operation.
*
* @retval non-negative the observed state of the machine at the time
* of the reset, if the reset succeeds.
* @retval -ENOTSUP if reset is not supported by the service.
* @retval -EINVAL if the parameters are invalid.
* @retval -EALREADY if the service does not have a recorded error.
*/
int onoff_reset(struct onoff_manager *mgr,
struct onoff_client *cli);
/**
* @brief Signature used to notify a monitor of an onoff service of
* errors or completion of a state transition.
*
* This is similar to onoff_client_callback but provides information
* about all transitions, not just ones associated with a specific
* client. Monitor callbacks are invoked before any completion
* notifications associated with the state change are made.
*
* These functions may be invoked from any context including
* pre-kernel, ISR, or cooperative or pre-emptible threads.
* Compatible functions must be isr-ok and not sleep.
*
* The callback is permitted to unregister itself from the manager,
* but must not register or unregister any other monitors.
*
* @param mgr the manager for which a transition has completed.
*
* @param mon the monitor instance through which this notification
* arrived.
*
* @param state the state of the machine at the time of completion,
* restricted by ONOFF_STATE_MASK. All valid states may be observed.
*
* @param res the result of the operation. Expected values are
* service- and state-specific, but the value shall be non-negative if
* the operation succeeded, and negative if the operation failed.
*/
typedef void (*onoff_monitor_callback)(struct onoff_manager *mgr,
struct onoff_monitor *mon,
uint32_t state,
int res);
/**
* @brief Registration state for notifications of onoff service
* transitions.
*
* Any given onoff_monitor structure can be associated with at most
* one onoff_manager instance.
*/
struct onoff_monitor {
/** Links the client into the set of waiting service users.
*
* This must be zero-initialized.
*/
sys_snode_t node;
/** Callback to be invoked on state change.
*
* This must not be null.
*/
onoff_monitor_callback callback;
};
/**
* @brief Add a monitor of state changes for a manager.
*
* @param mgr the manager for which a state changes are to be monitored.
*
* @param mon a linkable node providing a non-null callback to be
* invoked on state changes.
*
* @return non-negative on successful addition, or a negative error
* code.
*/
int onoff_monitor_register(struct onoff_manager *mgr,
struct onoff_monitor *mon);
/**
* @brief Remove a monitor of state changes from a manager.
*
* @param mgr the manager for which a state changes are to be monitored.
*
* @param mon a linkable node providing the callback to be invoked on
* state changes.
*
* @return non-negative on successful removal, or a negative error
* code.
*/
int onoff_monitor_unregister(struct onoff_manager *mgr,
struct onoff_monitor *mon);
/**
* @brief State used when a driver uses the on-off service API for synchronous
* operations.
*
* This is useful when a subsystem API uses the on-off API to support
* asynchronous operations but the transitions required by a
* particular driver are isr-ok and not sleep. It serves as a
* substitute for #onoff_manager, with locking and persisted state
* updates supported by onoff_sync_lock() and onoff_sync_finalize().
*/
struct onoff_sync_service {
/** Mutex protection for other fields. */
struct k_spinlock lock;
/** Negative is error, non-negative is reference count. */
int32_t count;
};
/**
* @brief Lock a synchronous onoff service and provide its state.
*
* @note If an error state is returned it is the caller's responsibility to
* decide whether to preserve it (finalize with the same error state) or clear
* the error (finalize with a non-error result).
*
* @param srv pointer to the synchronous service state.
*
* @param keyp pointer to where the lock key should be stored
*
* @return negative if the service is in an error state, otherwise the
* number of active requests at the time the lock was taken. The lock
* is held on return regardless of whether a negative state is
* returned.
*/
int onoff_sync_lock(struct onoff_sync_service *srv,
k_spinlock_key_t *keyp);
/**
* @brief Process the completion of a transition in a synchronous
* service and release lock.
*
* This function updates the service state on the @p res and @p on parameters
* then releases the lock. If @p cli is not null it finalizes the client
* notification using @p res.
*
* If the service was in an error state when locked, and @p res is non-negative
* when finalized, the count is reset to zero before completing finalization.
*
* @param srv pointer to the synchronous service state
*
* @param key the key returned by the preceding invocation of onoff_sync_lock().
*
* @param cli pointer to the onoff client through which completion
* information is returned. If a null pointer is passed only the
* state of the service is updated. For compatibility with the
* behavior of callbacks used with the manager API @p cli must be null
* when @p on is false (the manager does not support callbacks when
* turning off devices).
*
* @param res the result of the transition. A negative value places the service
* into an error state. A non-negative value increments or decrements the
* reference count as specified by @p on.
*
* @param on Only when @p res is non-negative, the service reference count will
* be incremented if@p on is @c true, and decremented if @p on is @c false.
*
* @return negative if the service is left or put into an error state, otherwise
* the number of active requests at the time the lock was released.
*/
int onoff_sync_finalize(struct onoff_sync_service *srv,
k_spinlock_key_t key,
struct onoff_client *cli,
int res,
bool on);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ONOFF_H_ */
``` | /content/code_sandbox/include/zephyr/sys/onoff.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,886 |
```objective-c
/*
*
*/
/**
* @file
* @ingroup hashmap_implementations
* @brief C++ Hashmap
*
* This is a C wrapper around `std::unordered_map`. It is mainly used for
* benchmarking purposes.
*
* @note Enable with @kconfig{CONFIG_SYS_HASH_MAP_CXX}
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASH_MAP_CXX_H_
#define ZEPHYR_INCLUDE_SYS_HASH_MAP_CXX_H_
#include <stddef.h>
#include <zephyr/sys/hash_function.h>
#include <zephyr/sys/hash_map_api.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Declare a C++ Hashmap (advanced)
*
* Declare a C++ Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Variant-specific details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_CXX_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_ADVANCED(_name, &sys_hashmap_cxx_api, sys_hashmap_config, \
sys_hashmap_data, _hash_func, _alloc_func, __VA_ARGS__)
/**
* @brief Declare a C++ Hashmap (advanced)
*
* Declare a C++ Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_CXX_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_STATIC_ADVANCED(_name, &sys_hashmap_cxx_api, sys_hashmap_config, \
sys_hashmap_data, _hash_func, _alloc_func, __VA_ARGS__)
/**
* @brief Declare a C++ Hashmap statically
*
* Declare a C++ Hashmap statically with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_CXX_DEFINE_STATIC(_name) \
SYS_HASHMAP_CXX_DEFINE_STATIC_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
/**
* @brief Declare a C++ Hashmap
*
* Declare a C++ Hashmap with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_CXX_DEFINE(_name) \
SYS_HASHMAP_CXX_DEFINE_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
#ifdef CONFIG_SYS_HASH_MAP_CHOICE_CXX
#define SYS_HASHMAP_DEFAULT_DEFINE(_name) SYS_HASHMAP_CXX_DEFINE(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC(_name) SYS_HASHMAP_CXX_DEFINE_STATIC(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_CXX_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_CXX_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#endif
extern const struct sys_hashmap_api sys_hashmap_cxx_api;
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASH_MAP_CXX_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_map_cxx.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 888 |
```objective-c
/*
*
*/
/**
* @file
* @defgroup single-linked-list_apis Single-linked list
* @ingroup datastructure_apis
*
* @brief Single-linked list implementation.
*
* Single-linked list implementation using inline macros/functions.
* This API is not thread safe, and thus if a list is used across threads,
* calls to functions must be protected with synchronization primitives.
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_SLIST_H_
#define ZEPHYR_INCLUDE_SYS_SLIST_H_
#include <stddef.h>
#include <stdbool.h>
#include "list_gen.h"
#ifdef __cplusplus
extern "C" {
#endif
/** @cond INTERNAL_HIDDEN */
struct _snode {
struct _snode *next;
};
/** @endcond */
/** Single-linked list node structure. */
typedef struct _snode sys_snode_t;
/** @cond INTERNAL_HIDDEN */
struct _slist {
sys_snode_t *head;
sys_snode_t *tail;
};
/** @endcond */
/** Single-linked list structure. */
typedef struct _slist sys_slist_t;
/**
* @brief Provide the primitive to iterate on a list
* Note: the loop is unsafe and thus __sn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SLIST_FOR_EACH_NODE(l, n) {
* <user code>
* }
*
* This and other SYS_SLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_slist_t to iterate on
* @param __sn A sys_snode_t pointer to peek each node of the list
*/
#define SYS_SLIST_FOR_EACH_NODE(__sl, __sn) \
Z_GENLIST_FOR_EACH_NODE(slist, __sl, __sn)
/**
* @brief Provide the primitive to iterate on a list, from a node in the list
* Note: the loop is unsafe and thus __sn should not be removed
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SLIST_ITERATE_FROM_NODE(l, n) {
* <user code>
* }
*
* Like SYS_SLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
* where to start searching for the next entry from. If NULL, it starts from
* the head.
*
* This and other SYS_SLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_slist_t to iterate on
* @param __sn A sys_snode_t pointer to peek each node of the list
* it contains the starting node, or NULL to start from the head
*/
#define SYS_SLIST_ITERATE_FROM_NODE(__sl, __sn) \
Z_GENLIST_ITERATE_FROM_NODE(slist, __sl, __sn)
/**
* @brief Provide the primitive to safely iterate on a list
* Note: __sn can be removed, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SLIST_FOR_EACH_NODE_SAFE(l, n, s) {
* <user code>
* }
*
* This and other SYS_SLIST_*() macros are not thread safe.
*
* @param __sl A pointer on a sys_slist_t to iterate on
* @param __sn A sys_snode_t pointer to peek each node of the list
* @param __sns A sys_snode_t pointer for the loop to run safely
*/
#define SYS_SLIST_FOR_EACH_NODE_SAFE(__sl, __sn, __sns) \
Z_GENLIST_FOR_EACH_NODE_SAFE(slist, __sl, __sn, __sns)
/**
* @brief Provide the primitive to resolve the container of a list node
* Note: it is safe to use with NULL pointer nodes
*
* @param __ln A pointer on a sys_node_t to get its container
* @param __cn Container struct type pointer
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_CONTAINER(__ln, __cn, __n) \
Z_GENLIST_CONTAINER(__ln, __cn, __n)
/**
* @brief Provide the primitive to peek container of the list head
*
* @param __sl A pointer on a sys_slist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_PEEK_HEAD_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_PEEK_HEAD_CONTAINER(slist, __sl, __cn, __n)
/**
* @brief Provide the primitive to peek container of the list tail
*
* @param __sl A pointer on a sys_slist_t to peek
* @param __cn Container struct type pointer
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_PEEK_TAIL_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_PEEK_TAIL_CONTAINER(slist, __sl, __cn, __n)
/**
* @brief Provide the primitive to peek the next container
*
* @param __cn Container struct type pointer
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_PEEK_NEXT_CONTAINER(__cn, __n) \
Z_GENLIST_PEEK_NEXT_CONTAINER(slist, __cn, __n)
/**
* @brief Provide the primitive to iterate on a list under a container
* Note: the loop is unsafe and thus __cn should not be detached
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SLIST_FOR_EACH_CONTAINER(l, c, n) {
* <user code>
* }
*
* @param __sl A pointer on a sys_slist_t to iterate on
* @param __cn A pointer to peek each entry of the list
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_FOR_EACH_CONTAINER(__sl, __cn, __n) \
Z_GENLIST_FOR_EACH_CONTAINER(slist, __sl, __cn, __n)
/**
* @brief Provide the primitive to safely iterate on a list under a container
* Note: __cn can be detached, it will not break the loop.
*
* User _MUST_ add the loop statement curly braces enclosing its own code:
*
* SYS_SLIST_FOR_EACH_NODE_SAFE(l, c, cn, n) {
* <user code>
* }
*
* @param __sl A pointer on a sys_slist_t to iterate on
* @param __cn A pointer to peek each entry of the list
* @param __cns A pointer for the loop to run safely
* @param __n The field name of sys_node_t within the container struct
*/
#define SYS_SLIST_FOR_EACH_CONTAINER_SAFE(__sl, __cn, __cns, __n) \
Z_GENLIST_FOR_EACH_CONTAINER_SAFE(slist, __sl, __cn, __cns, __n)
/*
* Required function definitions for the list_gen.h interface
*
* These are the only functions that do not treat the list/node pointers
* as completely opaque types.
*/
/**
* @brief Initialize a list
*
* @param list A pointer on the list to initialize
*/
static inline void sys_slist_init(sys_slist_t *list)
{
list->head = NULL;
list->tail = NULL;
}
/**
* @brief Statically initialize a single-linked list
* @param ptr_to_list A pointer on the list to initialize
*/
#define SYS_SLIST_STATIC_INIT(ptr_to_list) {NULL, NULL}
static inline sys_snode_t *z_snode_next_peek(sys_snode_t *node)
{
return node->next;
}
static inline void z_snode_next_set(sys_snode_t *parent, sys_snode_t *child)
{
parent->next = child;
}
static inline void z_slist_head_set(sys_slist_t *list, sys_snode_t *node)
{
list->head = node;
}
static inline void z_slist_tail_set(sys_slist_t *list, sys_snode_t *node)
{
list->tail = node;
}
/**
* @brief Peek the first node from the list
*
* @param list A point on the list to peek the first node from
*
* @return A pointer on the first node of the list (or NULL if none)
*/
static inline sys_snode_t *sys_slist_peek_head(sys_slist_t *list)
{
return list->head;
}
/**
* @brief Peek the last node from the list
*
* @param list A point on the list to peek the last node from
*
* @return A pointer on the last node of the list (or NULL if none)
*/
static inline sys_snode_t *sys_slist_peek_tail(sys_slist_t *list)
{
return list->tail;
}
/*
* Derived, generated APIs
*/
/**
* @brief Test if the given list is empty
*
* @param list A pointer on the list to test
*
* @return a boolean, true if it's empty, false otherwise
*/
static inline bool sys_slist_is_empty(sys_slist_t *list);
Z_GENLIST_IS_EMPTY(slist)
/**
* @brief Peek the next node from current node, node is not NULL
*
* Faster then sys_slist_peek_next() if node is known not to be NULL.
*
* @param node A pointer on the node where to peek the next node
*
* @return a pointer on the next node (or NULL if none)
*/
static inline sys_snode_t *sys_slist_peek_next_no_check(sys_snode_t *node);
Z_GENLIST_PEEK_NEXT_NO_CHECK(slist, snode)
/**
* @brief Peek the next node from current node
*
* @param node A pointer on the node where to peek the next node
*
* @return a pointer on the next node (or NULL if none)
*/
static inline sys_snode_t *sys_slist_peek_next(sys_snode_t *node);
Z_GENLIST_PEEK_NEXT(slist, snode)
/**
* @brief Prepend a node to the given list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to prepend
*/
static inline void sys_slist_prepend(sys_slist_t *list,
sys_snode_t *node);
Z_GENLIST_PREPEND(slist, snode)
/**
* @brief Append a node to the given list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to append
*/
static inline void sys_slist_append(sys_slist_t *list,
sys_snode_t *node);
Z_GENLIST_APPEND(slist, snode)
/**
* @brief Append a list to the given list
*
* Append a singly-linked, NULL-terminated list consisting of nodes containing
* the pointer to the next node as the first element of a node, to @a list.
* This and other sys_slist_*() functions are not thread safe.
*
* FIXME: Why are the element parameters void *?
*
* @param list A pointer on the list to affect
* @param head A pointer to the first element of the list to append
* @param tail A pointer to the last element of the list to append
*/
static inline void sys_slist_append_list(sys_slist_t *list,
void *head, void *tail);
Z_GENLIST_APPEND_LIST(slist, snode)
/**
* @brief merge two slists, appending the second one to the first
*
* When the operation is completed, the appending list is empty.
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param list_to_append A pointer to the list to append.
*/
static inline void sys_slist_merge_slist(sys_slist_t *list,
sys_slist_t *list_to_append);
Z_GENLIST_MERGE_LIST(slist, snode)
/**
* @brief Insert a node to the given list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param prev A pointer on the previous node
* @param node A pointer on the node to insert
*/
static inline void sys_slist_insert(sys_slist_t *list,
sys_snode_t *prev,
sys_snode_t *node);
Z_GENLIST_INSERT(slist, snode)
/**
* @brief Fetch and remove the first node of the given list
*
* List must be known to be non-empty.
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
*
* @return A pointer to the first node of the list
*/
static inline sys_snode_t *sys_slist_get_not_empty(sys_slist_t *list);
Z_GENLIST_GET_NOT_EMPTY(slist, snode)
/**
* @brief Fetch and remove the first node of the given list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
*
* @return A pointer to the first node of the list (or NULL if empty)
*/
static inline sys_snode_t *sys_slist_get(sys_slist_t *list);
Z_GENLIST_GET(slist, snode)
/**
* @brief Remove a node
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param prev_node A pointer on the previous node
* (can be NULL, which means the node is the list's head)
* @param node A pointer on the node to remove
*/
static inline void sys_slist_remove(sys_slist_t *list,
sys_snode_t *prev_node,
sys_snode_t *node);
Z_GENLIST_REMOVE(slist, snode)
/**
* @brief Find and remove a node from a list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer on the list to affect
* @param node A pointer on the node to remove from the list
*
* @return true if node was removed
*/
static inline bool sys_slist_find_and_remove(sys_slist_t *list,
sys_snode_t *node);
/**
* @brief Find if a node is already linked in a singly linked list
*
* This and other sys_slist_*() functions are not thread safe.
*
* @param list A pointer to the list to check
* @param node A pointer to the node to search in the list
* @param[out] prev A pointer to the previous node
*
* @return true if node was found in the list, false otherwise
*/
static inline bool sys_slist_find(sys_slist_t *list, sys_snode_t *node,
sys_snode_t **prev);
Z_GENLIST_FIND(slist, snode)
/**
* @brief Compute the size of the given list in O(n) time
*
* @param list A pointer on the list
*
* @return an integer equal to the size of the list, or 0 if empty
*/
static inline size_t sys_slist_len(sys_slist_t *list);
Z_GENLIST_LEN(slist, snode)
/** @} */
Z_GENLIST_FIND_AND_REMOVE(slist, snode)
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_SLIST_H_ */
``` | /content/code_sandbox/include/zephyr/sys/slist.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,380 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_MPSC_PACKET_H_
#define ZEPHYR_INCLUDE_SYS_MPSC_PACKET_H_
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Multi producer, single consumer packet header
* @defgroup mpsc_packet MPSC (Multi producer, single consumer) packet header
* @ingroup mpsc_buf
* @{
*/
/** @brief Number of bits in the first word which are used by the buffer. */
#define MPSC_PBUF_HDR_BITS 2
/** @brief Header that must be added to the first word in each packet.
*
* This fields are controlled by the packet buffer and unless specified must
* not be used. Fields must be added at the top of the packet header structure.
*/
#define MPSC_PBUF_HDR \
uint32_t valid: 1; \
uint32_t busy: 1
/** @brief Generic packet header. */
struct mpsc_pbuf_hdr {
MPSC_PBUF_HDR;
uint32_t data: 32 - MPSC_PBUF_HDR_BITS;
};
/** @brief Skip packet used internally by the packet buffer. */
struct mpsc_pbuf_skip {
MPSC_PBUF_HDR;
uint32_t len: 32 - MPSC_PBUF_HDR_BITS;
};
/** @brief Generic packet header. */
union mpsc_pbuf_generic {
struct mpsc_pbuf_hdr hdr;
struct mpsc_pbuf_skip skip;
uint32_t raw;
};
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_MPSC_PACKET_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mpsc_packet.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 340 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_CHECK_H_
#define ZEPHYR_INCLUDE_SYS_CHECK_H_
#include <zephyr/sys/__assert.h>
#if defined(CONFIG_ASSERT_ON_ERRORS)
#define CHECKIF(expr) \
__ASSERT_NO_MSG(!(expr)); \
if (0)
#elif defined(CONFIG_NO_RUNTIME_CHECKS)
#define CHECKIF(...) \
if (0)
#else
#define CHECKIF(expr) \
if (expr)
#endif
#endif /* ZEPHYR_INCLUDE_SYS_CHECK_H_ */
``` | /content/code_sandbox/include/zephyr/sys/check.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS___ASSERT_H_
#define ZEPHYR_INCLUDE_SYS___ASSERT_H_
#include <stdbool.h>
#include <zephyr/toolchain.h>
#ifdef CONFIG_ASSERT
#ifndef __ASSERT_ON
#ifdef CONFIG_ASSERT_LEVEL
#define __ASSERT_ON CONFIG_ASSERT_LEVEL
#endif
#endif
#endif
#ifdef CONFIG_FORCE_NO_ASSERT
#undef __ASSERT_ON
#define __ASSERT_ON 0
#endif
#ifndef __ASSERT_ON
#define __ASSERT_ON 0
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Wrapper around printk to avoid including printk.h in assert.h */
void __printf_like(1, 2) assert_print(const char *fmt, ...);
#ifdef __cplusplus
}
#endif
#if defined(CONFIG_ASSERT_VERBOSE)
#define __ASSERT_PRINT(fmt, ...) assert_print(fmt, ##__VA_ARGS__)
#else /* CONFIG_ASSERT_VERBOSE */
#define __ASSERT_PRINT(fmt, ...)
#endif /* CONFIG_ASSERT_VERBOSE */
#ifdef CONFIG_ASSERT_NO_MSG_INFO
#define __ASSERT_MSG_INFO(fmt, ...)
#else /* CONFIG_ASSERT_NO_MSG_INFO */
#define __ASSERT_MSG_INFO(fmt, ...) __ASSERT_PRINT("\t" fmt "\n", ##__VA_ARGS__)
#endif /* CONFIG_ASSERT_NO_MSG_INFO */
#if !defined(CONFIG_ASSERT_NO_COND_INFO) && !defined(CONFIG_ASSERT_NO_FILE_INFO)
#define __ASSERT_LOC(test) \
__ASSERT_PRINT("ASSERTION FAIL [%s] @ %s:%d\n", \
Z_STRINGIFY(test), \
__FILE__, __LINE__)
#endif
#if defined(CONFIG_ASSERT_NO_COND_INFO) && !defined(CONFIG_ASSERT_NO_FILE_INFO)
#define __ASSERT_LOC(test) \
__ASSERT_PRINT("ASSERTION FAIL @ %s:%d\n", \
__FILE__, __LINE__)
#endif
#if !defined(CONFIG_ASSERT_NO_COND_INFO) && defined(CONFIG_ASSERT_NO_FILE_INFO)
#define __ASSERT_LOC(test) \
__ASSERT_PRINT("ASSERTION FAIL [%s]\n", \
Z_STRINGIFY(test))
#endif
#if defined(CONFIG_ASSERT_NO_COND_INFO) && defined(CONFIG_ASSERT_NO_FILE_INFO)
#define __ASSERT_LOC(test) \
__ASSERT_PRINT("ASSERTION FAIL\n")
#endif
#ifdef __ASSERT_ON
#if (__ASSERT_ON < 0) || (__ASSERT_ON > 2)
#error "Invalid __ASSERT() level: must be between 0 and 2"
#endif
#if __ASSERT_ON
#ifdef __cplusplus
extern "C" {
#endif
#ifdef CONFIG_ASSERT_NO_FILE_INFO
void assert_post_action(void);
#define __ASSERT_POST_ACTION() assert_post_action()
#else /* CONFIG_ASSERT_NO_FILE_INFO */
void assert_post_action(const char *file, unsigned int line);
#define __ASSERT_POST_ACTION() assert_post_action(__FILE__, __LINE__)
#endif /* CONFIG_ASSERT_NO_FILE_INFO */
/*
* When the assert test mode is enabled, the default kernel fatal error handler
* and the custom assert hook function may return in order to allow the test to
* proceed.
*/
#ifdef CONFIG_ASSERT_TEST
#define __ASSERT_UNREACHABLE
#else
#define __ASSERT_UNREACHABLE CODE_UNREACHABLE
#endif
#ifdef __cplusplus
}
#endif
#define __ASSERT_NO_MSG(test) \
do { \
if (!(test)) { \
__ASSERT_LOC(test); \
__ASSERT_POST_ACTION(); \
__ASSERT_UNREACHABLE; \
} \
} while (false)
#define __ASSERT(test, fmt, ...) \
do { \
if (!(test)) { \
__ASSERT_LOC(test); \
__ASSERT_MSG_INFO(fmt, ##__VA_ARGS__); \
__ASSERT_POST_ACTION(); \
__ASSERT_UNREACHABLE; \
} \
} while (false)
#define __ASSERT_EVAL(expr1, expr2, test, fmt, ...) \
do { \
expr2; \
__ASSERT(test, fmt, ##__VA_ARGS__); \
} while (false)
#if (__ASSERT_ON == 1)
#warning "__ASSERT() statements are ENABLED"
#endif
#else
#define __ASSERT(test, fmt, ...) { }
#define __ASSERT_EVAL(expr1, expr2, test, fmt, ...) expr1
#define __ASSERT_NO_MSG(test) { }
#define __ASSERT_POST_ACTION() { }
#endif
#else
#define __ASSERT(test, fmt, ...) { }
#define __ASSERT_EVAL(expr1, expr2, test, fmt, ...) expr1
#define __ASSERT_NO_MSG(test) { }
#define __ASSERT_POST_ACTION() { }
#endif
#endif /* ZEPHYR_INCLUDE_SYS___ASSERT_H_ */
``` | /content/code_sandbox/include/zephyr/sys/__assert.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 962 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SYS_SPSC_LOCKFREE_H_
#define ZEPHYR_SYS_SPSC_LOCKFREE_H_
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/toolchain/common.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/sys/util_macro.h>
/**
* @brief Single Producer Single Consumer (SPSC) Lockfree Queue API
* @defgroup spsc_lockfree SPSC API
* @ingroup datastructure_apis
* @{
*/
/**
* @file spsc_lockfree.h
*
* @brief A lock-free and type safe power of 2 fixed sized single producer
* single consumer (SPSC) queue using a ringbuffer and atomics to ensure
* coherency.
*
* This SPSC queue implementation works on an array which wraps using a power of
* two size and uses a bit mask to perform a modulus. Atomics are used to allow
* single-producer single-consumer safe semantics without locks. Elements are
* expected to be of a fixed size. The API is type safe as the underlying buffer
* is typed and all usage is done through macros.
*
* An SPSC queue may be declared on a stack or statically and work as intended so
* long as its lifetime outlives any usage. Static declarations should be the
* preferred method as stack . It is meant to be a shared object between two
* execution contexts (ISR and a thread for example)
*
* An SPSC queue is safe to produce or consume in an ISR with O(1) push/pull.
*
* @warning SPSC is *not* safe to produce or consume in multiple execution
* contexts.
*
* Safe usage would be, where A and B are unique execution contexts:
* 1. ISR A producing and a Thread B consuming.
* 2. Thread A producing and ISR B consuming.
* 3. Thread A producing and Thread B consuming.
* 4. ISR A producing and ISR B consuming.
*/
/**
* @private
* @brief Common SPSC attributes
*
* @warning Not to be manipulated without the macros!
*/
struct spsc {
/* private value only the producer thread should mutate */
unsigned long acquire;
/* private value only the consumer thread should mutate */
unsigned long consume;
/* producer mutable, consumer readable */
atomic_t in;
/* consumer mutable, producer readable */
atomic_t out;
/* mask used to automatically wrap values */
const unsigned long mask;
};
/**
* @brief Statically initialize an spsc
*
* @param sz Size of the spsc, must be power of 2 (ex: 2, 4, 8)
* @param buf Buffer pointer
*/
#define SPSC_INITIALIZER(sz, buf) \
{ \
._spsc = \
{ \
.acquire = 0, \
.consume = 0, \
.in = ATOMIC_INIT(0), \
.out = ATOMIC_INIT(0), \
.mask = sz - 1, \
}, \
.buffer = buf, \
}
/**
* @brief Declare an anonymous struct type for an spsc
*
* @param name Name of the spsc symbol to be provided
* @param type Type stored in the spsc
*/
#define SPSC_DECLARE(name, type) \
static struct spsc_##name { \
struct spsc _spsc; \
type * const buffer; \
}
/**
* @brief Define an spsc with a fixed size
*
* @param name Name of the spsc symbol to be provided
* @param type Type stored in the spsc
* @param sz Size of the spsc, must be power of 2 (ex: 2, 4, 8)
*/
#define SPSC_DEFINE(name, type, sz) \
BUILD_ASSERT(IS_POWER_OF_TWO(sz)); \
static type __spsc_buf_##name[sz]; \
SPSC_DECLARE(name, type) name = SPSC_INITIALIZER(sz, __spsc_buf_##name);
/**
* @brief Size of the SPSC queue
*
* @param spsc SPSC reference
*/
#define spsc_size(spsc) ((spsc)->_spsc.mask + 1)
/**
* @private
* @brief A number modulo the spsc size, assumes power of 2
*
* @param spsc SPSC reference
* @param i Value to modulo to the size of the spsc
*/
#define z_spsc_mask(spsc, i) ((i) & (spsc)->_spsc.mask)
/**
* @private
* @brief Load the current "in" index from the spsc as an unsigned long
*/
#define z_spsc_in(spsc) (unsigned long)atomic_get(&(spsc)->_spsc.in)
/**
* @private
* @brief Load the current "out" index from the spsc as an unsigned long
*/
#define z_spsc_out(spsc) (unsigned long)atomic_get(&(spsc)->_spsc.out)
/**
* @brief Initialize/reset a spsc such that its empty
*
* Note that this is not safe to do while being used in a producer/consumer
* situation with multiple calling contexts (isrs/threads).
*
* @param spsc SPSC to initialize/reset
*/
#define spsc_reset(spsc) \
({ \
(spsc)->_spsc.consume = 0; \
(spsc)->_spsc.acquire = 0; \
atomic_set(&(spsc)->_spsc.in, 0); \
atomic_set(&(spsc)->_spsc.out, 0); \
})
/**
* @brief Acquire an element to produce from the SPSC
*
* @param spsc SPSC to acquire an element from for producing
*
* @return A pointer to the acquired element or null if the spsc is full
*/
#define spsc_acquire(spsc) \
({ \
unsigned long idx = z_spsc_in(spsc) + (spsc)->_spsc.acquire; \
bool spsc_acq = (idx - z_spsc_out(spsc)) < spsc_size(spsc); \
if (spsc_acq) { \
(spsc)->_spsc.acquire += 1; \
} \
spsc_acq ? &((spsc)->buffer[z_spsc_mask(spsc, idx)]) : NULL; \
})
/**
* @brief Produce one previously acquired element to the SPSC
*
* This makes one element available to the consumer immediately
*
* @param spsc SPSC to produce the previously acquired element or do nothing
*/
#define spsc_produce(spsc) \
({ \
if ((spsc)->_spsc.acquire > 0) { \
(spsc)->_spsc.acquire -= 1; \
atomic_add(&(spsc)->_spsc.in, 1); \
} \
})
/**
* @brief Produce all previously acquired elements to the SPSC
*
* This makes all previous acquired elements available to the consumer
* immediately
*
* @param spsc SPSC to produce all previously acquired elements or do nothing
*/
#define spsc_produce_all(spsc) \
({ \
if ((spsc)->_spsc.acquire > 0) { \
unsigned long acquired = (spsc)->_spsc.acquire; \
(spsc)->_spsc.acquire = 0; \
atomic_add(&(spsc)->_spsc.in, acquired); \
} \
})
/**
* @brief Drop all previously acquired elements
*
* This makes all previous acquired elements available to be acquired again
*
* @param spsc SPSC to drop all previously acquired elements or do nothing
*/
#define spsc_drop_all(spsc) \
do { \
(spsc)->_spsc.acquire = 0; \
} while (false)
/**
* @brief Consume an element from the spsc
*
* @param spsc Spsc to consume from
*
* @return Pointer to element or null if no consumable elements left
*/
#define spsc_consume(spsc) \
({ \
unsigned long idx = z_spsc_out(spsc) + (spsc)->_spsc.consume; \
bool has_consumable = (idx != z_spsc_in(spsc)); \
if (has_consumable) { \
(spsc)->_spsc.consume += 1; \
} \
has_consumable ? &((spsc)->buffer[z_spsc_mask(spsc, idx)]) : NULL; \
})
/**
* @brief Release a consumed element
*
* @param spsc SPSC to release consumed element or do nothing
*/
#define spsc_release(spsc) \
({ \
if ((spsc)->_spsc.consume > 0) { \
(spsc)->_spsc.consume -= 1; \
atomic_add(&(spsc)->_spsc.out, 1); \
} \
})
/**
* @brief Release all consumed elements
*
* @param spsc SPSC to release consumed elements or do nothing
*/
#define spsc_release_all(spsc) \
({ \
if ((spsc)->_spsc.consume > 0) { \
unsigned long consumed = (spsc)->_spsc.consume; \
(spsc)->_spsc.consume = 0; \
atomic_add(&(spsc)->_spsc.out, consumed); \
} \
})
/**
* @brief Count of acquirable in spsc
*
* @param spsc SPSC to get item count for
*/
#define spsc_acquirable(spsc) \
({ (((spsc)->_spsc.in + (spsc)->_spsc.acquire) - (spsc)->_spsc.out) - spsc_size(spsc); })
/**
* @brief Count of consumables in spsc
*
* @param spsc SPSC to get item count for
*/
#define spsc_consumable(spsc) ({ (spsc)->_spsc.in - (spsc)->_spsc.out - (spsc)->_spsc.consume; })
/**
* @brief Peek at the first available item in queue
*
* @param spsc Spsc to peek into
*
* @return Pointer to element or null if no consumable elements left
*/
#define spsc_peek(spsc) \
({ \
unsigned long idx = z_spsc_out(spsc) + (spsc)->_spsc.consume; \
bool has_consumable = (idx != z_spsc_in(spsc)); \
has_consumable ? &((spsc)->buffer[z_spsc_mask(spsc, idx)]) : NULL; \
})
/**
* @brief Peek at the next item in the queue from a given one
*
*
* @param spsc SPSC to peek at
* @param item Pointer to an item in the queue
*
* @return Pointer to element or null if none left
*/
#define spsc_next(spsc, item) \
({ \
unsigned long idx = ((item) - (spsc)->buffer); \
bool has_next = \
z_spsc_mask(spsc, (idx + 1)) != (z_spsc_mask(spsc, z_spsc_in(spsc))); \
has_next ? &((spsc)->buffer[z_spsc_mask((spsc), idx + 1)]) : NULL; \
})
/**
* @brief Get the previous item in the queue from a given one
*
* @param spsc SPSC to peek at
* @param item Pointer to an item in the queue
*
* @return Pointer to element or null if none left
*/
#define spsc_prev(spsc, item) \
({ \
unsigned long idx = ((item) - &(spsc)->buffer[0]) / sizeof((spsc)->buffer[0]); \
bool has_prev = idx != z_spsc_mask(spsc, z_spsc_out(spsc)); \
has_prev ? &((spsc)->buffer[z_spsc_mask(spsc, idx - 1)]) : NULL; \
})
/**
* @}
*/
#endif /* ZEPHYR_SYS_SPSC_LOCKFREE_H_ */
``` | /content/code_sandbox/include/zephyr/sys/spsc_lockfree.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,677 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_TIME_UNITS_H_
#define ZEPHYR_INCLUDE_TIME_UNITS_H_
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @file
* @defgroup timeutil_unit_apis Time Units Helpers
* @ingroup timeutil_apis
*
* @brief Various helper APIs for converting between time units.
* @{
*/
/** @brief System-wide macro to denote "forever" in milliseconds
*
* Usage of this macro is limited to APIs that want to expose a timeout value
* that can optionally be unlimited, or "forever".
* This macro can not be fed into kernel functions or macros directly. Use
* @ref SYS_TIMEOUT_MS instead.
*/
#define SYS_FOREVER_MS (-1)
/** @brief System-wide macro to denote "forever" in microseconds
*
* See @ref SYS_FOREVER_MS.
*/
#define SYS_FOREVER_US (-1)
/** @brief System-wide macro to convert milliseconds to kernel timeouts
*/
#define SYS_TIMEOUT_MS(ms) Z_TIMEOUT_TICKS((ms) == SYS_FOREVER_MS ? \
K_TICKS_FOREVER : Z_TIMEOUT_MS_TICKS(ms))
/* Exhaustively enumerated, highly optimized time unit conversion API */
#if defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME)
__syscall int sys_clock_hw_cycles_per_sec_runtime_get(void);
static inline int z_impl_sys_clock_hw_cycles_per_sec_runtime_get(void)
{
extern int z_clock_hw_cycles_per_sec;
return z_clock_hw_cycles_per_sec;
}
#endif /* CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME */
#if defined(__cplusplus) && (__cplusplus >= 201402L)
#if defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME)
#define TIME_CONSTEXPR
#else
#define TIME_CONSTEXPR constexpr
#endif
#else
#define TIME_CONSTEXPR
#endif
/**
* @brief Get the system timer frequency.
* @return system timer frequency in Hz
*/
#if defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME)
#define sys_clock_hw_cycles_per_sec() sys_clock_hw_cycles_per_sec_runtime_get()
#else
#define sys_clock_hw_cycles_per_sec() CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
#endif
/** @internal
* Macro determines if fast conversion algorithm can be used. It checks if
* maximum timeout represented in source frequency domain and multiplied by
* target frequency fits in 64 bits.
*
* @param from_hz Source frequency.
* @param to_hz Target frequency.
*
* @retval true Use faster algorithm.
* @retval false Use algorithm preventing overflow of intermediate value.
*/
#define z_tmcvt_use_fast_algo(from_hz, to_hz) \
((DIV_ROUND_UP(CONFIG_SYS_CLOCK_MAX_TIMEOUT_DAYS * 24ULL * 3600ULL * from_hz, \
UINT32_MAX) * to_hz) <= UINT32_MAX)
/* Time converter generator gadget. Selects from one of three
* conversion algorithms: ones that take advantage when the
* frequencies are an integer ratio (in either direction), or a full
* precision conversion. Clever use of extra arguments causes all the
* selection logic to be optimized out, and the generated code even
* reduces to 32 bit only if a ratio conversion is available and the
* result is 32 bits.
*
* This isn't intended to be used directly, instead being wrapped
* appropriately in a user-facing API. The boolean arguments are:
*
* const_hz - The hz arguments are known to be compile-time
* constants (because otherwise the modulus test would
* have to be done at runtime)
* result32 - The result will be truncated to 32 bits on use
* round_up - Return the ceiling of the resulting fraction
* round_off - Return the nearest value to the resulting fraction
* (pass both round_up/off as false to get "round_down")
*
* All of this must be implemented as expressions so that, when constant,
* the results may be used to initialize global variables.
*/
/* true if the conversion is the identity */
#define z_tmcvt_is_identity(__from_hz, __to_hz) \
((__to_hz) == (__from_hz))
/* true if the conversion requires a simple integer multiply */
#define z_tmcvt_is_int_mul(__from_hz, __to_hz) \
((__to_hz) > (__from_hz) && (__to_hz) % (__from_hz) == 0U)
/* true if the conversion requires a simple integer division */
#define z_tmcvt_is_int_div(__from_hz, __to_hz) \
((__from_hz) > (__to_hz) && (__from_hz) % (__to_hz) == 0U)
/*
* Compute the offset needed to round the result correctly when
* the conversion requires a simple integer division
*/
#define z_tmcvt_off_div(__from_hz, __to_hz, __round_up, __round_off) \
((__round_off) ? ((__from_hz) / (__to_hz)) / 2 : \
(__round_up) ? ((__from_hz) / (__to_hz)) - 1 : \
0)
/*
* All users of this macro MUST ensure its output is never used when a/b
* is zero because it incorrectly but by design never returns zero.
*
* Some compiler versions emit a divide-by-zero warning for this code:
* "false ? 42/0 : 43". Dealing with (generated) dead code is hard:
* path_to_url
* path_to_url
*
* To silence such divide-by-zero warnings, "cheat" and never return
* zero. Return 1 instead. Use octal "01u" as a breadcrumb to ease a
* little bit the huge pain of "reverse-engineering" pre-processor
* output.
*
* The "Elvis" operator "a/b ?: 1" is tempting because it avoids
* evaluating the same expression twice. However: 1. it's a non-standard
* GNU extension; 2. everything in this file is designed to be computed
* at compile time anyway.
*/
#define z_tmcvt_divisor(a, b) ((a)/(b) ? (a)/(b) : 01u)
/*
* Compute the offset needed to round the result correctly when
* the conversion requires a full mul/div
*/
#define z_tmcvt_off_gen(__from_hz, __to_hz, __round_up, __round_off) \
((__round_off) ? (__from_hz) / 2 : \
(__round_up) ? (__from_hz) - 1 : \
0)
/* Integer division 32-bit conversion */
#define z_tmcvt_int_div_32(__t, __from_hz, __to_hz, __round_up, __round_off) \
((uint64_t) (__t) <= 0xffffffffU - \
z_tmcvt_off_div(__from_hz, __to_hz, __round_up, __round_off) ? \
((uint32_t)((__t) + \
z_tmcvt_off_div(__from_hz, __to_hz, \
__round_up, __round_off)) / \
z_tmcvt_divisor(__from_hz, __to_hz)) \
: \
(uint32_t) (((uint64_t) (__t) + \
z_tmcvt_off_div(__from_hz, __to_hz, \
__round_up, __round_off)) / \
z_tmcvt_divisor(__from_hz, __to_hz)) \
)
/* Integer multiplication 32-bit conversion */
#define z_tmcvt_int_mul_32(__t, __from_hz, __to_hz) \
(uint32_t) (__t)*((__to_hz) / (__from_hz))
/* General 32-bit conversion */
#define z_tmcvt_gen_32(__t, __from_hz, __to_hz, __round_up, __round_off) \
((uint32_t) (((uint64_t) (__t)*(__to_hz) + \
z_tmcvt_off_gen(__from_hz, __to_hz, __round_up, __round_off)) / (__from_hz)))
/* Integer division 64-bit conversion */
#define z_tmcvt_int_div_64(__t, __from_hz, __to_hz, __round_up, __round_off) \
(((uint64_t) (__t) + z_tmcvt_off_div(__from_hz, __to_hz, \
__round_up, __round_off)) / \
z_tmcvt_divisor(__from_hz, __to_hz))
/* Integer multiplication 64-bit conversion */
#define z_tmcvt_int_mul_64(__t, __from_hz, __to_hz) \
(uint64_t) (__t)*((__to_hz) / (__from_hz))
/* Fast 64-bit conversion. This relies on the multiply not overflowing */
#define z_tmcvt_gen_64_fast(__t, __from_hz, __to_hz, __round_up, __round_off) \
(((uint64_t) (__t)*(__to_hz) + \
z_tmcvt_off_gen(__from_hz, __to_hz, __round_up, __round_off)) / (__from_hz))
/* Slow 64-bit conversion. This avoids overflowing the multiply */
#define z_tmcvt_gen_64_slow(__t, __from_hz, __to_hz, __round_up, __round_off) \
(((uint64_t) (__t) / (__from_hz))*(__to_hz) + \
(((uint64_t) (__t) % (__from_hz))*(__to_hz) + \
z_tmcvt_off_gen(__from_hz, __to_hz, __round_up, __round_off)) / (__from_hz))
/* General 64-bit conversion. Uses one of the two above macros */
#define z_tmcvt_gen_64(__t, __from_hz, __to_hz, __round_up, __round_off) \
(z_tmcvt_use_fast_algo(__from_hz, __to_hz) ? \
z_tmcvt_gen_64_fast(__t, __from_hz, __to_hz, __round_up, __round_off) : \
z_tmcvt_gen_64_slow(__t, __from_hz, __to_hz, __round_up, __round_off))
/* Convert, generating a 32-bit result */
#define z_tmcvt_32(__t, __from_hz, __to_hz, __const_hz, __round_up, __round_off) \
((__const_hz) ? \
( \
z_tmcvt_is_identity(__from_hz, __to_hz) ? \
(uint32_t) (__t) \
: \
z_tmcvt_is_int_div(__from_hz, __to_hz) ? \
z_tmcvt_int_div_32(__t, __from_hz, __to_hz, __round_up, __round_off) \
: \
z_tmcvt_is_int_mul(__from_hz, __to_hz) ? \
z_tmcvt_int_mul_32(__t, __from_hz, __to_hz) \
: \
z_tmcvt_gen_32(__t, __from_hz, __to_hz, __round_up, __round_off) \
) \
: \
z_tmcvt_gen_32(__t, __from_hz, __to_hz, __round_up, __round_off) \
)
/* Convert, generating a 64-bit result */
#define z_tmcvt_64(__t, __from_hz, __to_hz, __const_hz, __round_up, __round_off) \
((__const_hz) ? \
( \
z_tmcvt_is_identity(__from_hz, __to_hz) ? \
(uint64_t) (__t) \
: \
z_tmcvt_is_int_div(__from_hz, __to_hz) ? \
z_tmcvt_int_div_64(__t, __from_hz, __to_hz, __round_up, __round_off) \
: \
z_tmcvt_is_int_mul(__from_hz, __to_hz) ? \
z_tmcvt_int_mul_64(__t, __from_hz, __to_hz) \
: \
z_tmcvt_gen_64(__t, __from_hz, __to_hz, __round_up, __round_off) \
) \
: \
z_tmcvt_gen_64_slow(__t, __from_hz, __to_hz, __round_up, __round_off) \
)
#define z_tmcvt(__t, __from_hz, __to_hz, __const_hz, __result32, __round_up, __round_off) \
((__result32) ? \
z_tmcvt_32(__t, __from_hz, __to_hz, __const_hz, __round_up, __round_off) : \
z_tmcvt_64(__t, __from_hz, __to_hz, __const_hz, __round_up, __round_off))
/* The following code is programmatically generated using this perl
* code, which enumerates all possible combinations of units, rounding
* modes and precision. Do not edit directly.
*
* Note that nano/microsecond conversions are only defined with 64 bit
* precision. These units conversions were not available in 32 bit
* variants historically, and doing 32 bit math with units that small
* has precision traps that we probably don't want to support in an
* official API.
*
* #!/usr/bin/perl -w
* use strict;
*
* my %human = ("sec" => "seconds",
* "ms" => "milliseconds",
* "us" => "microseconds",
* "ns" => "nanoseconds",
* "cyc" => "hardware cycles",
* "ticks" => "ticks");
* my %human_round = ("ceil" => "Rounds up",
* "near" => "Round nearest",
* "floor" => "Truncates");
*
* sub big { return $_[0] eq "us" || $_[0] eq "ns"; }
* sub prefix { return $_[0] eq "sec" || $_[0] eq "ms" || $_[0] eq "us" || $_[0] eq "ns"; }
*
* for my $from_unit ("sec", "ms", "us", "ns", "cyc", "ticks") {
* for my $to_unit ("sec", "ms", "us", "ns", "cyc", "ticks") {
* next if $from_unit eq $to_unit;
* next if prefix($from_unit) && prefix($to_unit);
* for my $round ("floor", "near", "ceil") {
* for(my $big=0; $big <= 1; $big++) {
* my $sz = $big ? 64 : 32;
* my $sym = "k_${from_unit}_to_${to_unit}_$round$sz";
* my $type = "uint${sz}_t";
* my $const_hz = ($from_unit eq "cyc" || $to_unit eq "cyc")
* ? "Z_CCYC" : "true";
* my $ret32 = $big ? "64" : "32";
* my $rup = $round eq "ceil" ? "true" : "false";
* my $roff = $round eq "near" ? "true" : "false";
*
* my $hfrom = $human{$from_unit};
* my $hto = $human{$to_unit};
* my $hround = $human_round{$round};
* print "/", "** \@brief Convert $hfrom to $hto. $ret32 bits. $hround.\n";
* print " *\n";
* print " * Converts time values in $hfrom to $hto.\n";
* print " * Computes result in $sz bit precision.\n";
* if ($round eq "ceil") {
* print " * Rounds up to the next highest output unit.\n";
* } elsif ($round eq "near") {
* print " * Rounds to the nearest output unit.\n";
* } else {
* print " * Truncates to the next lowest output unit.\n";
* }
* print " *\n";
* print " * \@warning Generated. Do not edit. See above.\n";
* print " *\n";
* print " * \@param t Source time in $hfrom. uint64_t\n";
* print " *\n";
* print " * \@return The converted time value in $hto. $type\n";
* print " *", "/\n";
* print "#define $sym(t) \\\n";
* print "\tz_tmcvt_$ret32(t, Z_HZ_$from_unit, Z_HZ_$to_unit,";
* print " $const_hz, $rup, $roff)\n";
* print "\n\n";
* }
* }
* }
* }
*/
/* Some more concise declarations to simplify the generator script and
* save bytes below
*/
#define Z_HZ_sec 1
#define Z_HZ_ms 1000
#define Z_HZ_us 1000000
#define Z_HZ_ns 1000000000
#define Z_HZ_cyc sys_clock_hw_cycles_per_sec()
#define Z_HZ_ticks CONFIG_SYS_CLOCK_TICKS_PER_SEC
#define Z_CCYC (!IS_ENABLED(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME))
/** @brief Convert seconds to hardware cycles. 32 bits. Truncates.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_sec_to_cyc_floor32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert seconds to hardware cycles. 64 bits. Truncates.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_sec_to_cyc_floor64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert seconds to hardware cycles. 32 bits. Round nearest.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_sec_to_cyc_near32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert seconds to hardware cycles. 64 bits. Round nearest.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_sec_to_cyc_near64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert seconds to hardware cycles. 32 bits. Rounds up.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_sec_to_cyc_ceil32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert seconds to hardware cycles. 64 bits. Rounds up.
*
* Converts time values in seconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_sec_to_cyc_ceil64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert seconds to ticks. 32 bits. Truncates.
*
* Converts time values in seconds to ticks.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_sec_to_ticks_floor32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_ticks, true, false, false)
/** @brief Convert seconds to ticks. 64 bits. Truncates.
*
* Converts time values in seconds to ticks.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_sec_to_ticks_floor64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_ticks, true, false, false)
/** @brief Convert seconds to ticks. 32 bits. Round nearest.
*
* Converts time values in seconds to ticks.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_sec_to_ticks_near32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_ticks, true, false, true)
/** @brief Convert seconds to ticks. 64 bits. Round nearest.
*
* Converts time values in seconds to ticks.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_sec_to_ticks_near64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_ticks, true, false, true)
/** @brief Convert seconds to ticks. 32 bits. Rounds up.
*
* Converts time values in seconds to ticks.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_sec_to_ticks_ceil32(t) \
z_tmcvt_32(t, Z_HZ_sec, Z_HZ_ticks, true, true, false)
/** @brief Convert seconds to ticks. 64 bits. Rounds up.
*
* Converts time values in seconds to ticks.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in seconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_sec_to_ticks_ceil64(t) \
z_tmcvt_64(t, Z_HZ_sec, Z_HZ_ticks, true, true, false)
/** @brief Convert milliseconds to hardware cycles. 32 bits. Truncates.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ms_to_cyc_floor32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert milliseconds to hardware cycles. 64 bits. Truncates.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ms_to_cyc_floor64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert milliseconds to hardware cycles. 32 bits. Round nearest.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ms_to_cyc_near32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert milliseconds to hardware cycles. 64 bits. Round nearest.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ms_to_cyc_near64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert milliseconds to hardware cycles. 32 bits. Rounds up.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ms_to_cyc_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert milliseconds to hardware cycles. 64 bits. Rounds up.
*
* Converts time values in milliseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ms_to_cyc_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert milliseconds to ticks. 32 bits. Truncates.
*
* Converts time values in milliseconds to ticks.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ms_to_ticks_floor32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_ticks, true, false, false)
/** @brief Convert milliseconds to ticks. 64 bits. Truncates.
*
* Converts time values in milliseconds to ticks.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ms_to_ticks_floor64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_ticks, true, false, false)
/** @brief Convert milliseconds to ticks. 32 bits. Round nearest.
*
* Converts time values in milliseconds to ticks.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ms_to_ticks_near32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_ticks, true, false, true)
/** @brief Convert milliseconds to ticks. 64 bits. Round nearest.
*
* Converts time values in milliseconds to ticks.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ms_to_ticks_near64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_ticks, true, false, true)
/** @brief Convert milliseconds to ticks. 32 bits. Rounds up.
*
* Converts time values in milliseconds to ticks.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ms_to_ticks_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ms, Z_HZ_ticks, true, true, false)
/** @brief Convert milliseconds to ticks. 64 bits. Rounds up.
*
* Converts time values in milliseconds to ticks.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in milliseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ms_to_ticks_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ms, Z_HZ_ticks, true, true, false)
/** @brief Convert microseconds to hardware cycles. 32 bits. Truncates.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_us_to_cyc_floor32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert microseconds to hardware cycles. 64 bits. Truncates.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_us_to_cyc_floor64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert microseconds to hardware cycles. 32 bits. Round nearest.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_us_to_cyc_near32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert microseconds to hardware cycles. 64 bits. Round nearest.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_us_to_cyc_near64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert microseconds to hardware cycles. 32 bits. Rounds up.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_us_to_cyc_ceil32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert microseconds to hardware cycles. 64 bits. Rounds up.
*
* Converts time values in microseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_us_to_cyc_ceil64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert microseconds to ticks. 32 bits. Truncates.
*
* Converts time values in microseconds to ticks.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_us_to_ticks_floor32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_ticks, true, false, false)
/** @brief Convert microseconds to ticks. 64 bits. Truncates.
*
* Converts time values in microseconds to ticks.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_us_to_ticks_floor64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_ticks, true, false, false)
/** @brief Convert microseconds to ticks. 32 bits. Round nearest.
*
* Converts time values in microseconds to ticks.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_us_to_ticks_near32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_ticks, true, false, true)
/** @brief Convert microseconds to ticks. 64 bits. Round nearest.
*
* Converts time values in microseconds to ticks.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_us_to_ticks_near64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_ticks, true, false, true)
/** @brief Convert microseconds to ticks. 32 bits. Rounds up.
*
* Converts time values in microseconds to ticks.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_us_to_ticks_ceil32(t) \
z_tmcvt_32(t, Z_HZ_us, Z_HZ_ticks, true, true, false)
/** @brief Convert microseconds to ticks. 64 bits. Rounds up.
*
* Converts time values in microseconds to ticks.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in microseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_us_to_ticks_ceil64(t) \
z_tmcvt_64(t, Z_HZ_us, Z_HZ_ticks, true, true, false)
/** @brief Convert nanoseconds to hardware cycles. 32 bits. Truncates.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ns_to_cyc_floor32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert nanoseconds to hardware cycles. 64 bits. Truncates.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ns_to_cyc_floor64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert nanoseconds to hardware cycles. 32 bits. Round nearest.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ns_to_cyc_near32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert nanoseconds to hardware cycles. 64 bits. Round nearest.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ns_to_cyc_near64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert nanoseconds to hardware cycles. 32 bits. Rounds up.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ns_to_cyc_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert nanoseconds to hardware cycles. 64 bits. Rounds up.
*
* Converts time values in nanoseconds to hardware cycles.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ns_to_cyc_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert nanoseconds to ticks. 32 bits. Truncates.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ns_to_ticks_floor32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_ticks, true, false, false)
/** @brief Convert nanoseconds to ticks. 64 bits. Truncates.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ns_to_ticks_floor64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_ticks, true, false, false)
/** @brief Convert nanoseconds to ticks. 32 bits. Round nearest.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ns_to_ticks_near32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_ticks, true, false, true)
/** @brief Convert nanoseconds to ticks. 64 bits. Round nearest.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ns_to_ticks_near64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_ticks, true, false, true)
/** @brief Convert nanoseconds to ticks. 32 bits. Rounds up.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_ns_to_ticks_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ns, Z_HZ_ticks, true, true, false)
/** @brief Convert nanoseconds to ticks. 64 bits. Rounds up.
*
* Converts time values in nanoseconds to ticks.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in nanoseconds. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_ns_to_ticks_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ns, Z_HZ_ticks, true, true, false)
/** @brief Convert hardware cycles to seconds. 32 bits. Truncates.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_cyc_to_sec_floor32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, false, false)
/** @brief Convert hardware cycles to seconds. 64 bits. Truncates.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_cyc_to_sec_floor64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, false, false)
/** @brief Convert hardware cycles to seconds. 32 bits. Round nearest.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_cyc_to_sec_near32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, false, true)
/** @brief Convert hardware cycles to seconds. 64 bits. Round nearest.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_cyc_to_sec_near64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, false, true)
/** @brief Convert hardware cycles to seconds. 32 bits. Rounds up.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_cyc_to_sec_ceil32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, true, false)
/** @brief Convert hardware cycles to seconds. 64 bits. Rounds up.
*
* Converts time values in hardware cycles to seconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_cyc_to_sec_ceil64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_sec, Z_CCYC, true, false)
/** @brief Convert hardware cycles to milliseconds. 32 bits. Truncates.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_cyc_to_ms_floor32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, false, false)
/** @brief Convert hardware cycles to milliseconds. 64 bits. Truncates.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_cyc_to_ms_floor64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, false, false)
/** @brief Convert hardware cycles to milliseconds. 32 bits. Round nearest.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_cyc_to_ms_near32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, false, true)
/** @brief Convert hardware cycles to milliseconds. 64 bits. Round nearest.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_cyc_to_ms_near64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, false, true)
/** @brief Convert hardware cycles to milliseconds. 32 bits. Rounds up.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_cyc_to_ms_ceil32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, true, false)
/** @brief Convert hardware cycles to milliseconds. 64 bits. Rounds up.
*
* Converts time values in hardware cycles to milliseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_cyc_to_ms_ceil64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ms, Z_CCYC, true, false)
/** @brief Convert hardware cycles to microseconds. 32 bits. Truncates.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_cyc_to_us_floor32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, false, false)
/** @brief Convert hardware cycles to microseconds. 64 bits. Truncates.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_cyc_to_us_floor64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, false, false)
/** @brief Convert hardware cycles to microseconds. 32 bits. Round nearest.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_cyc_to_us_near32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, false, true)
/** @brief Convert hardware cycles to microseconds. 64 bits. Round nearest.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_cyc_to_us_near64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, false, true)
/** @brief Convert hardware cycles to microseconds. 32 bits. Rounds up.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_cyc_to_us_ceil32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, true, false)
/** @brief Convert hardware cycles to microseconds. 64 bits. Rounds up.
*
* Converts time values in hardware cycles to microseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_cyc_to_us_ceil64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_us, Z_CCYC, true, false)
/** @brief Convert hardware cycles to nanoseconds. 32 bits. Truncates.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_cyc_to_ns_floor32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, false, false)
/** @brief Convert hardware cycles to nanoseconds. 64 bits. Truncates.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_cyc_to_ns_floor64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, false, false)
/** @brief Convert hardware cycles to nanoseconds. 32 bits. Round nearest.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_cyc_to_ns_near32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, false, true)
/** @brief Convert hardware cycles to nanoseconds. 64 bits. Round nearest.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_cyc_to_ns_near64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, false, true)
/** @brief Convert hardware cycles to nanoseconds. 32 bits. Rounds up.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_cyc_to_ns_ceil32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, true, false)
/** @brief Convert hardware cycles to nanoseconds. 64 bits. Rounds up.
*
* Converts time values in hardware cycles to nanoseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_cyc_to_ns_ceil64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ns, Z_CCYC, true, false)
/** @brief Convert hardware cycles to ticks. 32 bits. Truncates.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_cyc_to_ticks_floor32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, false, false)
/** @brief Convert hardware cycles to ticks. 64 bits. Truncates.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_cyc_to_ticks_floor64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, false, false)
/** @brief Convert hardware cycles to ticks. 32 bits. Round nearest.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_cyc_to_ticks_near32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, false, true)
/** @brief Convert hardware cycles to ticks. 64 bits. Round nearest.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_cyc_to_ticks_near64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, false, true)
/** @brief Convert hardware cycles to ticks. 32 bits. Rounds up.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint32_t
*/
#define k_cyc_to_ticks_ceil32(t) \
z_tmcvt_32(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, true, false)
/** @brief Convert hardware cycles to ticks. 64 bits. Rounds up.
*
* Converts time values in hardware cycles to ticks.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in hardware cycles. uint64_t
*
* @return The converted time value in ticks. uint64_t
*/
#define k_cyc_to_ticks_ceil64(t) \
z_tmcvt_64(t, Z_HZ_cyc, Z_HZ_ticks, Z_CCYC, true, false)
/** @brief Convert ticks to seconds. 32 bits. Truncates.
*
* Converts time values in ticks to seconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_ticks_to_sec_floor32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_sec, true, false, false)
/** @brief Convert ticks to seconds. 64 bits. Truncates.
*
* Converts time values in ticks to seconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_ticks_to_sec_floor64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_sec, true, false, false)
/** @brief Convert ticks to seconds. 32 bits. Round nearest.
*
* Converts time values in ticks to seconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_ticks_to_sec_near32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_sec, true, false, true)
/** @brief Convert ticks to seconds. 64 bits. Round nearest.
*
* Converts time values in ticks to seconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_ticks_to_sec_near64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_sec, true, false, true)
/** @brief Convert ticks to seconds. 32 bits. Rounds up.
*
* Converts time values in ticks to seconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint32_t
*/
#define k_ticks_to_sec_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_sec, true, true, false)
/** @brief Convert ticks to seconds. 64 bits. Rounds up.
*
* Converts time values in ticks to seconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in seconds. uint64_t
*/
#define k_ticks_to_sec_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_sec, true, true, false)
/** @brief Convert ticks to milliseconds. 32 bits. Truncates.
*
* Converts time values in ticks to milliseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_ticks_to_ms_floor32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ms, true, false, false)
/** @brief Convert ticks to milliseconds. 64 bits. Truncates.
*
* Converts time values in ticks to milliseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_ticks_to_ms_floor64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ms, true, false, false)
/** @brief Convert ticks to milliseconds. 32 bits. Round nearest.
*
* Converts time values in ticks to milliseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_ticks_to_ms_near32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ms, true, false, true)
/** @brief Convert ticks to milliseconds. 64 bits. Round nearest.
*
* Converts time values in ticks to milliseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_ticks_to_ms_near64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ms, true, false, true)
/** @brief Convert ticks to milliseconds. 32 bits. Rounds up.
*
* Converts time values in ticks to milliseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint32_t
*/
#define k_ticks_to_ms_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ms, true, true, false)
/** @brief Convert ticks to milliseconds. 64 bits. Rounds up.
*
* Converts time values in ticks to milliseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in milliseconds. uint64_t
*/
#define k_ticks_to_ms_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ms, true, true, false)
/** @brief Convert ticks to microseconds. 32 bits. Truncates.
*
* Converts time values in ticks to microseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_ticks_to_us_floor32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_us, true, false, false)
/** @brief Convert ticks to microseconds. 64 bits. Truncates.
*
* Converts time values in ticks to microseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_ticks_to_us_floor64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_us, true, false, false)
/** @brief Convert ticks to microseconds. 32 bits. Round nearest.
*
* Converts time values in ticks to microseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_ticks_to_us_near32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_us, true, false, true)
/** @brief Convert ticks to microseconds. 64 bits. Round nearest.
*
* Converts time values in ticks to microseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_ticks_to_us_near64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_us, true, false, true)
/** @brief Convert ticks to microseconds. 32 bits. Rounds up.
*
* Converts time values in ticks to microseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint32_t
*/
#define k_ticks_to_us_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_us, true, true, false)
/** @brief Convert ticks to microseconds. 64 bits. Rounds up.
*
* Converts time values in ticks to microseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in microseconds. uint64_t
*/
#define k_ticks_to_us_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_us, true, true, false)
/** @brief Convert ticks to nanoseconds. 32 bits. Truncates.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_ticks_to_ns_floor32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ns, true, false, false)
/** @brief Convert ticks to nanoseconds. 64 bits. Truncates.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_ticks_to_ns_floor64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ns, true, false, false)
/** @brief Convert ticks to nanoseconds. 32 bits. Round nearest.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_ticks_to_ns_near32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ns, true, false, true)
/** @brief Convert ticks to nanoseconds. 64 bits. Round nearest.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_ticks_to_ns_near64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ns, true, false, true)
/** @brief Convert ticks to nanoseconds. 32 bits. Rounds up.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint32_t
*/
#define k_ticks_to_ns_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_ns, true, true, false)
/** @brief Convert ticks to nanoseconds. 64 bits. Rounds up.
*
* Converts time values in ticks to nanoseconds.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in nanoseconds. uint64_t
*/
#define k_ticks_to_ns_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_ns, true, true, false)
/** @brief Convert ticks to hardware cycles. 32 bits. Truncates.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 32 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ticks_to_cyc_floor32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert ticks to hardware cycles. 64 bits. Truncates.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 64 bit precision.
* Truncates to the next lowest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ticks_to_cyc_floor64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, false, false)
/** @brief Convert ticks to hardware cycles. 32 bits. Round nearest.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 32 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ticks_to_cyc_near32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert ticks to hardware cycles. 64 bits. Round nearest.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 64 bit precision.
* Rounds to the nearest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ticks_to_cyc_near64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, false, true)
/** @brief Convert ticks to hardware cycles. 32 bits. Rounds up.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 32 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint32_t
*/
#define k_ticks_to_cyc_ceil32(t) \
z_tmcvt_32(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, true, false)
/** @brief Convert ticks to hardware cycles. 64 bits. Rounds up.
*
* Converts time values in ticks to hardware cycles.
* Computes result in 64 bit precision.
* Rounds up to the next highest output unit.
*
* @warning Generated. Do not edit. See above.
*
* @param t Source time in ticks. uint64_t
*
* @return The converted time value in hardware cycles. uint64_t
*/
#define k_ticks_to_cyc_ceil64(t) \
z_tmcvt_64(t, Z_HZ_ticks, Z_HZ_cyc, Z_CCYC, true, false)
#if defined(CONFIG_TIMER_READS_ITS_FREQUENCY_AT_RUNTIME)
#include <zephyr/syscalls/time_units.h>
#endif
#undef TIME_CONSTEXPR
/**
* @}
*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* ZEPHYR_INCLUDE_TIME_UNITS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/time_units.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17,481 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASH_FUNCTION_H_
#define ZEPHYR_INCLUDE_SYS_HASH_FUNCTION_H_
#include <stddef.h>
#include <stdint.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/sys/util_macro.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @ingroup hashmap_apis
* @defgroup hash_functions Hash Functions
* @{
*/
/**
* @brief 32-bit Hash function interface
*
* Hash functions are used to map data from an arbitrarily large space to a
* (typically smaller) fixed-size space. For a given input, a hash function will
* consistently generate the same, semi-unique numerical value. Even for
* marginally different data, a good hash function will distribute the entropy
* almost evenly over all bits in the hashed value when combined with modulo
* arithmetic over a finite-sized numeric field.
*
* @param str a string of input data
* @param n the number of bytes in @p str
*
* @return the numeric hash associated with @p str
*/
typedef uint32_t (*sys_hash_func32_t)(const void *str, size_t n);
/**
* @brief The naive identity hash function
*
* This hash function requires that @p n is equal to the size of a primitive
* type, such as `[u]int8_t`, `[u]int16_t`, `[u]int32_t`, `[u]int64_t`,
* `float`, `double`, or `void *`, and that the alignment of @p str agrees
* with that of the respective native type.
*
* @note The identity hash function is used for testing @ref sys_hashmap.
*
* @param str a string of input data
* @param n the number of bytes in @p str
*
* @return the numeric hash associated with @p str
*/
static inline uint32_t sys_hash32_identity(const void *str, size_t n)
{
switch (n) {
case sizeof(uint8_t):
return *(uint8_t *)str;
case sizeof(uint16_t):
return *(uint16_t *)str;
case sizeof(uint32_t):
return *(uint32_t *)str;
case sizeof(uint64_t):
return (uint32_t)(*(uint64_t *)str);
default:
break;
}
__ASSERT(false, "invalid str length %zu", n);
return 0;
}
/**
* @brief Daniel J.\ Bernstein's hash function
*
* Some notes:
* - normally, this hash function is used on NUL-terminated strings
* - it has been modified to support arbitrary sequences of bytes
* - it has been modified to use XOR rather than addition
*
* @param str a string of input data
* @param n the number of bytes in @p str
*
* @return the numeric hash associated with @p str
*
* @note enable with @kconfig{CONFIG_SYS_HASH_FUNC32_DJB2}
*
* @see path_to_url
*/
uint32_t sys_hash32_djb2(const void *str, size_t n);
/**
* @brief Murmur3 hash function
*
* @param str a string of input data
* @param n the number of bytes in @p str
*
* @return the numeric hash associated with @p str
*
* @note enable with @kconfig{CONFIG_SYS_HASH_FUNC32_MURMUR3}
*
* @see path_to_url
*/
uint32_t sys_hash32_murmur3(const void *str, size_t n);
/**
* @brief System default 32-bit hash function
*
* @param str a string of input data
* @param n the number of bytes in @p str
*
* @return the numeric hash associated with @p str
*/
static inline uint32_t sys_hash32(const void *str, size_t n)
{
if (IS_ENABLED(CONFIG_SYS_HASH_FUNC32_CHOICE_IDENTITY)) {
return sys_hash32_identity(str, n);
}
if (IS_ENABLED(CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2)) {
return sys_hash32_djb2(str, n);
}
if (IS_ENABLED(CONFIG_SYS_HASH_FUNC32_CHOICE_MURMUR3)) {
return sys_hash32_murmur3(str, n);
}
__ASSERT(0, "No default 32-bit hash. See CONFIG_SYS_HASH_FUNC32_CHOICE");
return 0;
}
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASH_FUNCTION_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_function.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 954 |
```objective-c
/* printk.h - low-level debug output */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_PRINTK_H_
#define ZEPHYR_INCLUDE_SYS_PRINTK_H_
#include <zephyr/toolchain.h>
#include <stddef.h>
#include <stdarg.h>
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
*
* @brief Print kernel debugging message.
*
* This routine prints a kernel debugging message to the system console.
* Output is send immediately, without any mutual exclusion or buffering.
*
* A basic set of conversion specifier characters are supported:
* - signed decimal: \%d, \%i
* - unsigned decimal: \%u
* - unsigned hexadecimal: \%x (\%X is treated as \%x)
* - pointer: \%p
* - string: \%s
* - character: \%c
* - percent: \%\%
*
* Field width (with or without leading zeroes) is supported.
* Length attributes h, hh, l, ll and z are supported. However, integral
* values with %lld and %lli are only printed if they fit in a long
* otherwise 'ERR' is printed. Full 64-bit values may be printed with %llx.
* Flags and precision attributes are not supported.
*
* @param fmt Format string.
* @param ... Optional list of format arguments.
*/
#ifdef CONFIG_PRINTK
__printf_like(1, 2) void printk(const char *fmt, ...);
__printf_like(1, 0) void vprintk(const char *fmt, va_list ap);
#else
static inline __printf_like(1, 2) void printk(const char *fmt, ...)
{
ARG_UNUSED(fmt);
}
static inline __printf_like(1, 0) void vprintk(const char *fmt, va_list ap)
{
ARG_UNUSED(fmt);
ARG_UNUSED(ap);
}
#endif
#ifdef CONFIG_PICOLIBC
#include <stdio.h>
#define snprintk(...) snprintf(__VA_ARGS__)
#define vsnprintk(str, size, fmt, ap) vsnprintf(str, size, fmt, ap)
#else
__printf_like(3, 4) int snprintk(char *str, size_t size,
const char *fmt, ...);
__printf_like(3, 0) int vsnprintk(char *str, size_t size,
const char *fmt, va_list ap);
#endif
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/include/zephyr/sys/printk.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 520 |
```objective-c
/*
*
*/
/**
* @cond INTERNAL_HIDDEN
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#error "This header should not be used directly, please include util_internal.h instead"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_
#define Z_UTIL_DEC_0 0
#define Z_UTIL_DEC_1 0
#define Z_UTIL_DEC_2 1
#define Z_UTIL_DEC_3 2
#define Z_UTIL_DEC_4 3
#define Z_UTIL_DEC_5 4
#define Z_UTIL_DEC_6 5
#define Z_UTIL_DEC_7 6
#define Z_UTIL_DEC_8 7
#define Z_UTIL_DEC_9 8
#define Z_UTIL_DEC_10 9
#define Z_UTIL_DEC_11 10
#define Z_UTIL_DEC_12 11
#define Z_UTIL_DEC_13 12
#define Z_UTIL_DEC_14 13
#define Z_UTIL_DEC_15 14
#define Z_UTIL_DEC_16 15
#define Z_UTIL_DEC_17 16
#define Z_UTIL_DEC_18 17
#define Z_UTIL_DEC_19 18
#define Z_UTIL_DEC_20 19
#define Z_UTIL_DEC_21 20
#define Z_UTIL_DEC_22 21
#define Z_UTIL_DEC_23 22
#define Z_UTIL_DEC_24 23
#define Z_UTIL_DEC_25 24
#define Z_UTIL_DEC_26 25
#define Z_UTIL_DEC_27 26
#define Z_UTIL_DEC_28 27
#define Z_UTIL_DEC_29 28
#define Z_UTIL_DEC_30 29
#define Z_UTIL_DEC_31 30
#define Z_UTIL_DEC_32 31
#define Z_UTIL_DEC_33 32
#define Z_UTIL_DEC_34 33
#define Z_UTIL_DEC_35 34
#define Z_UTIL_DEC_36 35
#define Z_UTIL_DEC_37 36
#define Z_UTIL_DEC_38 37
#define Z_UTIL_DEC_39 38
#define Z_UTIL_DEC_40 39
#define Z_UTIL_DEC_41 40
#define Z_UTIL_DEC_42 41
#define Z_UTIL_DEC_43 42
#define Z_UTIL_DEC_44 43
#define Z_UTIL_DEC_45 44
#define Z_UTIL_DEC_46 45
#define Z_UTIL_DEC_47 46
#define Z_UTIL_DEC_48 47
#define Z_UTIL_DEC_49 48
#define Z_UTIL_DEC_50 49
#define Z_UTIL_DEC_51 50
#define Z_UTIL_DEC_52 51
#define Z_UTIL_DEC_53 52
#define Z_UTIL_DEC_54 53
#define Z_UTIL_DEC_55 54
#define Z_UTIL_DEC_56 55
#define Z_UTIL_DEC_57 56
#define Z_UTIL_DEC_58 57
#define Z_UTIL_DEC_59 58
#define Z_UTIL_DEC_60 59
#define Z_UTIL_DEC_61 60
#define Z_UTIL_DEC_62 61
#define Z_UTIL_DEC_63 62
#define Z_UTIL_DEC_64 63
#define Z_UTIL_DEC_65 64
#define Z_UTIL_DEC_66 65
#define Z_UTIL_DEC_67 66
#define Z_UTIL_DEC_68 67
#define Z_UTIL_DEC_69 68
#define Z_UTIL_DEC_70 69
#define Z_UTIL_DEC_71 70
#define Z_UTIL_DEC_72 71
#define Z_UTIL_DEC_73 72
#define Z_UTIL_DEC_74 73
#define Z_UTIL_DEC_75 74
#define Z_UTIL_DEC_76 75
#define Z_UTIL_DEC_77 76
#define Z_UTIL_DEC_78 77
#define Z_UTIL_DEC_79 78
#define Z_UTIL_DEC_80 79
#define Z_UTIL_DEC_81 80
#define Z_UTIL_DEC_82 81
#define Z_UTIL_DEC_83 82
#define Z_UTIL_DEC_84 83
#define Z_UTIL_DEC_85 84
#define Z_UTIL_DEC_86 85
#define Z_UTIL_DEC_87 86
#define Z_UTIL_DEC_88 87
#define Z_UTIL_DEC_89 88
#define Z_UTIL_DEC_90 89
#define Z_UTIL_DEC_91 90
#define Z_UTIL_DEC_92 91
#define Z_UTIL_DEC_93 92
#define Z_UTIL_DEC_94 93
#define Z_UTIL_DEC_95 94
#define Z_UTIL_DEC_96 95
#define Z_UTIL_DEC_97 96
#define Z_UTIL_DEC_98 97
#define Z_UTIL_DEC_99 98
#define Z_UTIL_DEC_100 99
#define Z_UTIL_DEC_101 100
#define Z_UTIL_DEC_102 101
#define Z_UTIL_DEC_103 102
#define Z_UTIL_DEC_104 103
#define Z_UTIL_DEC_105 104
#define Z_UTIL_DEC_106 105
#define Z_UTIL_DEC_107 106
#define Z_UTIL_DEC_108 107
#define Z_UTIL_DEC_109 108
#define Z_UTIL_DEC_110 109
#define Z_UTIL_DEC_111 110
#define Z_UTIL_DEC_112 111
#define Z_UTIL_DEC_113 112
#define Z_UTIL_DEC_114 113
#define Z_UTIL_DEC_115 114
#define Z_UTIL_DEC_116 115
#define Z_UTIL_DEC_117 116
#define Z_UTIL_DEC_118 117
#define Z_UTIL_DEC_119 118
#define Z_UTIL_DEC_120 119
#define Z_UTIL_DEC_121 120
#define Z_UTIL_DEC_122 121
#define Z_UTIL_DEC_123 122
#define Z_UTIL_DEC_124 123
#define Z_UTIL_DEC_125 124
#define Z_UTIL_DEC_126 125
#define Z_UTIL_DEC_127 126
#define Z_UTIL_DEC_128 127
#define Z_UTIL_DEC_129 128
#define Z_UTIL_DEC_130 129
#define Z_UTIL_DEC_131 130
#define Z_UTIL_DEC_132 131
#define Z_UTIL_DEC_133 132
#define Z_UTIL_DEC_134 133
#define Z_UTIL_DEC_135 134
#define Z_UTIL_DEC_136 135
#define Z_UTIL_DEC_137 136
#define Z_UTIL_DEC_138 137
#define Z_UTIL_DEC_139 138
#define Z_UTIL_DEC_140 139
#define Z_UTIL_DEC_141 140
#define Z_UTIL_DEC_142 141
#define Z_UTIL_DEC_143 142
#define Z_UTIL_DEC_144 143
#define Z_UTIL_DEC_145 144
#define Z_UTIL_DEC_146 145
#define Z_UTIL_DEC_147 146
#define Z_UTIL_DEC_148 147
#define Z_UTIL_DEC_149 148
#define Z_UTIL_DEC_150 149
#define Z_UTIL_DEC_151 150
#define Z_UTIL_DEC_152 151
#define Z_UTIL_DEC_153 152
#define Z_UTIL_DEC_154 153
#define Z_UTIL_DEC_155 154
#define Z_UTIL_DEC_156 155
#define Z_UTIL_DEC_157 156
#define Z_UTIL_DEC_158 157
#define Z_UTIL_DEC_159 158
#define Z_UTIL_DEC_160 159
#define Z_UTIL_DEC_161 160
#define Z_UTIL_DEC_162 161
#define Z_UTIL_DEC_163 162
#define Z_UTIL_DEC_164 163
#define Z_UTIL_DEC_165 164
#define Z_UTIL_DEC_166 165
#define Z_UTIL_DEC_167 166
#define Z_UTIL_DEC_168 167
#define Z_UTIL_DEC_169 168
#define Z_UTIL_DEC_170 169
#define Z_UTIL_DEC_171 170
#define Z_UTIL_DEC_172 171
#define Z_UTIL_DEC_173 172
#define Z_UTIL_DEC_174 173
#define Z_UTIL_DEC_175 174
#define Z_UTIL_DEC_176 175
#define Z_UTIL_DEC_177 176
#define Z_UTIL_DEC_178 177
#define Z_UTIL_DEC_179 178
#define Z_UTIL_DEC_180 179
#define Z_UTIL_DEC_181 180
#define Z_UTIL_DEC_182 181
#define Z_UTIL_DEC_183 182
#define Z_UTIL_DEC_184 183
#define Z_UTIL_DEC_185 184
#define Z_UTIL_DEC_186 185
#define Z_UTIL_DEC_187 186
#define Z_UTIL_DEC_188 187
#define Z_UTIL_DEC_189 188
#define Z_UTIL_DEC_190 189
#define Z_UTIL_DEC_191 190
#define Z_UTIL_DEC_192 191
#define Z_UTIL_DEC_193 192
#define Z_UTIL_DEC_194 193
#define Z_UTIL_DEC_195 194
#define Z_UTIL_DEC_196 195
#define Z_UTIL_DEC_197 196
#define Z_UTIL_DEC_198 197
#define Z_UTIL_DEC_199 198
#define Z_UTIL_DEC_200 199
#define Z_UTIL_DEC_201 200
#define Z_UTIL_DEC_202 201
#define Z_UTIL_DEC_203 202
#define Z_UTIL_DEC_204 203
#define Z_UTIL_DEC_205 204
#define Z_UTIL_DEC_206 205
#define Z_UTIL_DEC_207 206
#define Z_UTIL_DEC_208 207
#define Z_UTIL_DEC_209 208
#define Z_UTIL_DEC_210 209
#define Z_UTIL_DEC_211 210
#define Z_UTIL_DEC_212 211
#define Z_UTIL_DEC_213 212
#define Z_UTIL_DEC_214 213
#define Z_UTIL_DEC_215 214
#define Z_UTIL_DEC_216 215
#define Z_UTIL_DEC_217 216
#define Z_UTIL_DEC_218 217
#define Z_UTIL_DEC_219 218
#define Z_UTIL_DEC_220 219
#define Z_UTIL_DEC_221 220
#define Z_UTIL_DEC_222 221
#define Z_UTIL_DEC_223 222
#define Z_UTIL_DEC_224 223
#define Z_UTIL_DEC_225 224
#define Z_UTIL_DEC_226 225
#define Z_UTIL_DEC_227 226
#define Z_UTIL_DEC_228 227
#define Z_UTIL_DEC_229 228
#define Z_UTIL_DEC_230 229
#define Z_UTIL_DEC_231 230
#define Z_UTIL_DEC_232 231
#define Z_UTIL_DEC_233 232
#define Z_UTIL_DEC_234 233
#define Z_UTIL_DEC_235 234
#define Z_UTIL_DEC_236 235
#define Z_UTIL_DEC_237 236
#define Z_UTIL_DEC_238 237
#define Z_UTIL_DEC_239 238
#define Z_UTIL_DEC_240 239
#define Z_UTIL_DEC_241 240
#define Z_UTIL_DEC_242 241
#define Z_UTIL_DEC_243 242
#define Z_UTIL_DEC_244 243
#define Z_UTIL_DEC_245 244
#define Z_UTIL_DEC_246 245
#define Z_UTIL_DEC_247 246
#define Z_UTIL_DEC_248 247
#define Z_UTIL_DEC_249 248
#define Z_UTIL_DEC_250 249
#define Z_UTIL_DEC_251 250
#define Z_UTIL_DEC_252 251
#define Z_UTIL_DEC_253 252
#define Z_UTIL_DEC_254 253
#define Z_UTIL_DEC_255 254
#define Z_UTIL_DEC_256 255
#define Z_UTIL_DEC_257 256
#define Z_UTIL_DEC_258 257
#define Z_UTIL_DEC_259 258
#define Z_UTIL_DEC_260 259
#define Z_UTIL_DEC_261 260
#define Z_UTIL_DEC_262 261
#define Z_UTIL_DEC_263 262
#define Z_UTIL_DEC_264 263
#define Z_UTIL_DEC_265 264
#define Z_UTIL_DEC_266 265
#define Z_UTIL_DEC_267 266
#define Z_UTIL_DEC_268 267
#define Z_UTIL_DEC_269 268
#define Z_UTIL_DEC_270 269
#define Z_UTIL_DEC_271 270
#define Z_UTIL_DEC_272 271
#define Z_UTIL_DEC_273 272
#define Z_UTIL_DEC_274 273
#define Z_UTIL_DEC_275 274
#define Z_UTIL_DEC_276 275
#define Z_UTIL_DEC_277 276
#define Z_UTIL_DEC_278 277
#define Z_UTIL_DEC_279 278
#define Z_UTIL_DEC_280 279
#define Z_UTIL_DEC_281 280
#define Z_UTIL_DEC_282 281
#define Z_UTIL_DEC_283 282
#define Z_UTIL_DEC_284 283
#define Z_UTIL_DEC_285 284
#define Z_UTIL_DEC_286 285
#define Z_UTIL_DEC_287 286
#define Z_UTIL_DEC_288 287
#define Z_UTIL_DEC_289 288
#define Z_UTIL_DEC_290 289
#define Z_UTIL_DEC_291 290
#define Z_UTIL_DEC_292 291
#define Z_UTIL_DEC_293 292
#define Z_UTIL_DEC_294 293
#define Z_UTIL_DEC_295 294
#define Z_UTIL_DEC_296 295
#define Z_UTIL_DEC_297 296
#define Z_UTIL_DEC_298 297
#define Z_UTIL_DEC_299 298
#define Z_UTIL_DEC_300 299
#define Z_UTIL_DEC_301 300
#define Z_UTIL_DEC_302 301
#define Z_UTIL_DEC_303 302
#define Z_UTIL_DEC_304 303
#define Z_UTIL_DEC_305 304
#define Z_UTIL_DEC_306 305
#define Z_UTIL_DEC_307 306
#define Z_UTIL_DEC_308 307
#define Z_UTIL_DEC_309 308
#define Z_UTIL_DEC_310 309
#define Z_UTIL_DEC_311 310
#define Z_UTIL_DEC_312 311
#define Z_UTIL_DEC_313 312
#define Z_UTIL_DEC_314 313
#define Z_UTIL_DEC_315 314
#define Z_UTIL_DEC_316 315
#define Z_UTIL_DEC_317 316
#define Z_UTIL_DEC_318 317
#define Z_UTIL_DEC_319 318
#define Z_UTIL_DEC_320 319
#define Z_UTIL_DEC_321 320
#define Z_UTIL_DEC_322 321
#define Z_UTIL_DEC_323 322
#define Z_UTIL_DEC_324 323
#define Z_UTIL_DEC_325 324
#define Z_UTIL_DEC_326 325
#define Z_UTIL_DEC_327 326
#define Z_UTIL_DEC_328 327
#define Z_UTIL_DEC_329 328
#define Z_UTIL_DEC_330 329
#define Z_UTIL_DEC_331 330
#define Z_UTIL_DEC_332 331
#define Z_UTIL_DEC_333 332
#define Z_UTIL_DEC_334 333
#define Z_UTIL_DEC_335 334
#define Z_UTIL_DEC_336 335
#define Z_UTIL_DEC_337 336
#define Z_UTIL_DEC_338 337
#define Z_UTIL_DEC_339 338
#define Z_UTIL_DEC_340 339
#define Z_UTIL_DEC_341 340
#define Z_UTIL_DEC_342 341
#define Z_UTIL_DEC_343 342
#define Z_UTIL_DEC_344 343
#define Z_UTIL_DEC_345 344
#define Z_UTIL_DEC_346 345
#define Z_UTIL_DEC_347 346
#define Z_UTIL_DEC_348 347
#define Z_UTIL_DEC_349 348
#define Z_UTIL_DEC_350 349
#define Z_UTIL_DEC_351 350
#define Z_UTIL_DEC_352 351
#define Z_UTIL_DEC_353 352
#define Z_UTIL_DEC_354 353
#define Z_UTIL_DEC_355 354
#define Z_UTIL_DEC_356 355
#define Z_UTIL_DEC_357 356
#define Z_UTIL_DEC_358 357
#define Z_UTIL_DEC_359 358
#define Z_UTIL_DEC_360 359
#define Z_UTIL_DEC_361 360
#define Z_UTIL_DEC_362 361
#define Z_UTIL_DEC_363 362
#define Z_UTIL_DEC_364 363
#define Z_UTIL_DEC_365 364
#define Z_UTIL_DEC_366 365
#define Z_UTIL_DEC_367 366
#define Z_UTIL_DEC_368 367
#define Z_UTIL_DEC_369 368
#define Z_UTIL_DEC_370 369
#define Z_UTIL_DEC_371 370
#define Z_UTIL_DEC_372 371
#define Z_UTIL_DEC_373 372
#define Z_UTIL_DEC_374 373
#define Z_UTIL_DEC_375 374
#define Z_UTIL_DEC_376 375
#define Z_UTIL_DEC_377 376
#define Z_UTIL_DEC_378 377
#define Z_UTIL_DEC_379 378
#define Z_UTIL_DEC_380 379
#define Z_UTIL_DEC_381 380
#define Z_UTIL_DEC_382 381
#define Z_UTIL_DEC_383 382
#define Z_UTIL_DEC_384 383
#define Z_UTIL_DEC_385 384
#define Z_UTIL_DEC_386 385
#define Z_UTIL_DEC_387 386
#define Z_UTIL_DEC_388 387
#define Z_UTIL_DEC_389 388
#define Z_UTIL_DEC_390 389
#define Z_UTIL_DEC_391 390
#define Z_UTIL_DEC_392 391
#define Z_UTIL_DEC_393 392
#define Z_UTIL_DEC_394 393
#define Z_UTIL_DEC_395 394
#define Z_UTIL_DEC_396 395
#define Z_UTIL_DEC_397 396
#define Z_UTIL_DEC_398 397
#define Z_UTIL_DEC_399 398
#define Z_UTIL_DEC_400 399
#define Z_UTIL_DEC_401 400
#define Z_UTIL_DEC_402 401
#define Z_UTIL_DEC_403 402
#define Z_UTIL_DEC_404 403
#define Z_UTIL_DEC_405 404
#define Z_UTIL_DEC_406 405
#define Z_UTIL_DEC_407 406
#define Z_UTIL_DEC_408 407
#define Z_UTIL_DEC_409 408
#define Z_UTIL_DEC_410 409
#define Z_UTIL_DEC_411 410
#define Z_UTIL_DEC_412 411
#define Z_UTIL_DEC_413 412
#define Z_UTIL_DEC_414 413
#define Z_UTIL_DEC_415 414
#define Z_UTIL_DEC_416 415
#define Z_UTIL_DEC_417 416
#define Z_UTIL_DEC_418 417
#define Z_UTIL_DEC_419 418
#define Z_UTIL_DEC_420 419
#define Z_UTIL_DEC_421 420
#define Z_UTIL_DEC_422 421
#define Z_UTIL_DEC_423 422
#define Z_UTIL_DEC_424 423
#define Z_UTIL_DEC_425 424
#define Z_UTIL_DEC_426 425
#define Z_UTIL_DEC_427 426
#define Z_UTIL_DEC_428 427
#define Z_UTIL_DEC_429 428
#define Z_UTIL_DEC_430 429
#define Z_UTIL_DEC_431 430
#define Z_UTIL_DEC_432 431
#define Z_UTIL_DEC_433 432
#define Z_UTIL_DEC_434 433
#define Z_UTIL_DEC_435 434
#define Z_UTIL_DEC_436 435
#define Z_UTIL_DEC_437 436
#define Z_UTIL_DEC_438 437
#define Z_UTIL_DEC_439 438
#define Z_UTIL_DEC_440 439
#define Z_UTIL_DEC_441 440
#define Z_UTIL_DEC_442 441
#define Z_UTIL_DEC_443 442
#define Z_UTIL_DEC_444 443
#define Z_UTIL_DEC_445 444
#define Z_UTIL_DEC_446 445
#define Z_UTIL_DEC_447 446
#define Z_UTIL_DEC_448 447
#define Z_UTIL_DEC_449 448
#define Z_UTIL_DEC_450 449
#define Z_UTIL_DEC_451 450
#define Z_UTIL_DEC_452 451
#define Z_UTIL_DEC_453 452
#define Z_UTIL_DEC_454 453
#define Z_UTIL_DEC_455 454
#define Z_UTIL_DEC_456 455
#define Z_UTIL_DEC_457 456
#define Z_UTIL_DEC_458 457
#define Z_UTIL_DEC_459 458
#define Z_UTIL_DEC_460 459
#define Z_UTIL_DEC_461 460
#define Z_UTIL_DEC_462 461
#define Z_UTIL_DEC_463 462
#define Z_UTIL_DEC_464 463
#define Z_UTIL_DEC_465 464
#define Z_UTIL_DEC_466 465
#define Z_UTIL_DEC_467 466
#define Z_UTIL_DEC_468 467
#define Z_UTIL_DEC_469 468
#define Z_UTIL_DEC_470 469
#define Z_UTIL_DEC_471 470
#define Z_UTIL_DEC_472 471
#define Z_UTIL_DEC_473 472
#define Z_UTIL_DEC_474 473
#define Z_UTIL_DEC_475 474
#define Z_UTIL_DEC_476 475
#define Z_UTIL_DEC_477 476
#define Z_UTIL_DEC_478 477
#define Z_UTIL_DEC_479 478
#define Z_UTIL_DEC_480 479
#define Z_UTIL_DEC_481 480
#define Z_UTIL_DEC_482 481
#define Z_UTIL_DEC_483 482
#define Z_UTIL_DEC_484 483
#define Z_UTIL_DEC_485 484
#define Z_UTIL_DEC_486 485
#define Z_UTIL_DEC_487 486
#define Z_UTIL_DEC_488 487
#define Z_UTIL_DEC_489 488
#define Z_UTIL_DEC_490 489
#define Z_UTIL_DEC_491 490
#define Z_UTIL_DEC_492 491
#define Z_UTIL_DEC_493 492
#define Z_UTIL_DEC_494 493
#define Z_UTIL_DEC_495 494
#define Z_UTIL_DEC_496 495
#define Z_UTIL_DEC_497 496
#define Z_UTIL_DEC_498 497
#define Z_UTIL_DEC_499 498
#define Z_UTIL_DEC_500 499
#define Z_UTIL_DEC_501 500
#define Z_UTIL_DEC_502 501
#define Z_UTIL_DEC_503 502
#define Z_UTIL_DEC_504 503
#define Z_UTIL_DEC_505 504
#define Z_UTIL_DEC_506 505
#define Z_UTIL_DEC_507 506
#define Z_UTIL_DEC_508 507
#define Z_UTIL_DEC_509 508
#define Z_UTIL_DEC_510 509
#define Z_UTIL_DEC_511 510
#define Z_UTIL_DEC_512 511
#define Z_UTIL_DEC_513 512
#define Z_UTIL_DEC_514 513
#define Z_UTIL_DEC_515 514
#define Z_UTIL_DEC_516 515
#define Z_UTIL_DEC_517 516
#define Z_UTIL_DEC_518 517
#define Z_UTIL_DEC_519 518
#define Z_UTIL_DEC_520 519
#define Z_UTIL_DEC_521 520
#define Z_UTIL_DEC_522 521
#define Z_UTIL_DEC_523 522
#define Z_UTIL_DEC_524 523
#define Z_UTIL_DEC_525 524
#define Z_UTIL_DEC_526 525
#define Z_UTIL_DEC_527 526
#define Z_UTIL_DEC_528 527
#define Z_UTIL_DEC_529 528
#define Z_UTIL_DEC_530 529
#define Z_UTIL_DEC_531 530
#define Z_UTIL_DEC_532 531
#define Z_UTIL_DEC_533 532
#define Z_UTIL_DEC_534 533
#define Z_UTIL_DEC_535 534
#define Z_UTIL_DEC_536 535
#define Z_UTIL_DEC_537 536
#define Z_UTIL_DEC_538 537
#define Z_UTIL_DEC_539 538
#define Z_UTIL_DEC_540 539
#define Z_UTIL_DEC_541 540
#define Z_UTIL_DEC_542 541
#define Z_UTIL_DEC_543 542
#define Z_UTIL_DEC_544 543
#define Z_UTIL_DEC_545 544
#define Z_UTIL_DEC_546 545
#define Z_UTIL_DEC_547 546
#define Z_UTIL_DEC_548 547
#define Z_UTIL_DEC_549 548
#define Z_UTIL_DEC_550 549
#define Z_UTIL_DEC_551 550
#define Z_UTIL_DEC_552 551
#define Z_UTIL_DEC_553 552
#define Z_UTIL_DEC_554 553
#define Z_UTIL_DEC_555 554
#define Z_UTIL_DEC_556 555
#define Z_UTIL_DEC_557 556
#define Z_UTIL_DEC_558 557
#define Z_UTIL_DEC_559 558
#define Z_UTIL_DEC_560 559
#define Z_UTIL_DEC_561 560
#define Z_UTIL_DEC_562 561
#define Z_UTIL_DEC_563 562
#define Z_UTIL_DEC_564 563
#define Z_UTIL_DEC_565 564
#define Z_UTIL_DEC_566 565
#define Z_UTIL_DEC_567 566
#define Z_UTIL_DEC_568 567
#define Z_UTIL_DEC_569 568
#define Z_UTIL_DEC_570 569
#define Z_UTIL_DEC_571 570
#define Z_UTIL_DEC_572 571
#define Z_UTIL_DEC_573 572
#define Z_UTIL_DEC_574 573
#define Z_UTIL_DEC_575 574
#define Z_UTIL_DEC_576 575
#define Z_UTIL_DEC_577 576
#define Z_UTIL_DEC_578 577
#define Z_UTIL_DEC_579 578
#define Z_UTIL_DEC_580 579
#define Z_UTIL_DEC_581 580
#define Z_UTIL_DEC_582 581
#define Z_UTIL_DEC_583 582
#define Z_UTIL_DEC_584 583
#define Z_UTIL_DEC_585 584
#define Z_UTIL_DEC_586 585
#define Z_UTIL_DEC_587 586
#define Z_UTIL_DEC_588 587
#define Z_UTIL_DEC_589 588
#define Z_UTIL_DEC_590 589
#define Z_UTIL_DEC_591 590
#define Z_UTIL_DEC_592 591
#define Z_UTIL_DEC_593 592
#define Z_UTIL_DEC_594 593
#define Z_UTIL_DEC_595 594
#define Z_UTIL_DEC_596 595
#define Z_UTIL_DEC_597 596
#define Z_UTIL_DEC_598 597
#define Z_UTIL_DEC_599 598
#define Z_UTIL_DEC_600 599
#define Z_UTIL_DEC_601 600
#define Z_UTIL_DEC_602 601
#define Z_UTIL_DEC_603 602
#define Z_UTIL_DEC_604 603
#define Z_UTIL_DEC_605 604
#define Z_UTIL_DEC_606 605
#define Z_UTIL_DEC_607 606
#define Z_UTIL_DEC_608 607
#define Z_UTIL_DEC_609 608
#define Z_UTIL_DEC_610 609
#define Z_UTIL_DEC_611 610
#define Z_UTIL_DEC_612 611
#define Z_UTIL_DEC_613 612
#define Z_UTIL_DEC_614 613
#define Z_UTIL_DEC_615 614
#define Z_UTIL_DEC_616 615
#define Z_UTIL_DEC_617 616
#define Z_UTIL_DEC_618 617
#define Z_UTIL_DEC_619 618
#define Z_UTIL_DEC_620 619
#define Z_UTIL_DEC_621 620
#define Z_UTIL_DEC_622 621
#define Z_UTIL_DEC_623 622
#define Z_UTIL_DEC_624 623
#define Z_UTIL_DEC_625 624
#define Z_UTIL_DEC_626 625
#define Z_UTIL_DEC_627 626
#define Z_UTIL_DEC_628 627
#define Z_UTIL_DEC_629 628
#define Z_UTIL_DEC_630 629
#define Z_UTIL_DEC_631 630
#define Z_UTIL_DEC_632 631
#define Z_UTIL_DEC_633 632
#define Z_UTIL_DEC_634 633
#define Z_UTIL_DEC_635 634
#define Z_UTIL_DEC_636 635
#define Z_UTIL_DEC_637 636
#define Z_UTIL_DEC_638 637
#define Z_UTIL_DEC_639 638
#define Z_UTIL_DEC_640 639
#define Z_UTIL_DEC_641 640
#define Z_UTIL_DEC_642 641
#define Z_UTIL_DEC_643 642
#define Z_UTIL_DEC_644 643
#define Z_UTIL_DEC_645 644
#define Z_UTIL_DEC_646 645
#define Z_UTIL_DEC_647 646
#define Z_UTIL_DEC_648 647
#define Z_UTIL_DEC_649 648
#define Z_UTIL_DEC_650 649
#define Z_UTIL_DEC_651 650
#define Z_UTIL_DEC_652 651
#define Z_UTIL_DEC_653 652
#define Z_UTIL_DEC_654 653
#define Z_UTIL_DEC_655 654
#define Z_UTIL_DEC_656 655
#define Z_UTIL_DEC_657 656
#define Z_UTIL_DEC_658 657
#define Z_UTIL_DEC_659 658
#define Z_UTIL_DEC_660 659
#define Z_UTIL_DEC_661 660
#define Z_UTIL_DEC_662 661
#define Z_UTIL_DEC_663 662
#define Z_UTIL_DEC_664 663
#define Z_UTIL_DEC_665 664
#define Z_UTIL_DEC_666 665
#define Z_UTIL_DEC_667 666
#define Z_UTIL_DEC_668 667
#define Z_UTIL_DEC_669 668
#define Z_UTIL_DEC_670 669
#define Z_UTIL_DEC_671 670
#define Z_UTIL_DEC_672 671
#define Z_UTIL_DEC_673 672
#define Z_UTIL_DEC_674 673
#define Z_UTIL_DEC_675 674
#define Z_UTIL_DEC_676 675
#define Z_UTIL_DEC_677 676
#define Z_UTIL_DEC_678 677
#define Z_UTIL_DEC_679 678
#define Z_UTIL_DEC_680 679
#define Z_UTIL_DEC_681 680
#define Z_UTIL_DEC_682 681
#define Z_UTIL_DEC_683 682
#define Z_UTIL_DEC_684 683
#define Z_UTIL_DEC_685 684
#define Z_UTIL_DEC_686 685
#define Z_UTIL_DEC_687 686
#define Z_UTIL_DEC_688 687
#define Z_UTIL_DEC_689 688
#define Z_UTIL_DEC_690 689
#define Z_UTIL_DEC_691 690
#define Z_UTIL_DEC_692 691
#define Z_UTIL_DEC_693 692
#define Z_UTIL_DEC_694 693
#define Z_UTIL_DEC_695 694
#define Z_UTIL_DEC_696 695
#define Z_UTIL_DEC_697 696
#define Z_UTIL_DEC_698 697
#define Z_UTIL_DEC_699 698
#define Z_UTIL_DEC_700 699
#define Z_UTIL_DEC_701 700
#define Z_UTIL_DEC_702 701
#define Z_UTIL_DEC_703 702
#define Z_UTIL_DEC_704 703
#define Z_UTIL_DEC_705 704
#define Z_UTIL_DEC_706 705
#define Z_UTIL_DEC_707 706
#define Z_UTIL_DEC_708 707
#define Z_UTIL_DEC_709 708
#define Z_UTIL_DEC_710 709
#define Z_UTIL_DEC_711 710
#define Z_UTIL_DEC_712 711
#define Z_UTIL_DEC_713 712
#define Z_UTIL_DEC_714 713
#define Z_UTIL_DEC_715 714
#define Z_UTIL_DEC_716 715
#define Z_UTIL_DEC_717 716
#define Z_UTIL_DEC_718 717
#define Z_UTIL_DEC_719 718
#define Z_UTIL_DEC_720 719
#define Z_UTIL_DEC_721 720
#define Z_UTIL_DEC_722 721
#define Z_UTIL_DEC_723 722
#define Z_UTIL_DEC_724 723
#define Z_UTIL_DEC_725 724
#define Z_UTIL_DEC_726 725
#define Z_UTIL_DEC_727 726
#define Z_UTIL_DEC_728 727
#define Z_UTIL_DEC_729 728
#define Z_UTIL_DEC_730 729
#define Z_UTIL_DEC_731 730
#define Z_UTIL_DEC_732 731
#define Z_UTIL_DEC_733 732
#define Z_UTIL_DEC_734 733
#define Z_UTIL_DEC_735 734
#define Z_UTIL_DEC_736 735
#define Z_UTIL_DEC_737 736
#define Z_UTIL_DEC_738 737
#define Z_UTIL_DEC_739 738
#define Z_UTIL_DEC_740 739
#define Z_UTIL_DEC_741 740
#define Z_UTIL_DEC_742 741
#define Z_UTIL_DEC_743 742
#define Z_UTIL_DEC_744 743
#define Z_UTIL_DEC_745 744
#define Z_UTIL_DEC_746 745
#define Z_UTIL_DEC_747 746
#define Z_UTIL_DEC_748 747
#define Z_UTIL_DEC_749 748
#define Z_UTIL_DEC_750 749
#define Z_UTIL_DEC_751 750
#define Z_UTIL_DEC_752 751
#define Z_UTIL_DEC_753 752
#define Z_UTIL_DEC_754 753
#define Z_UTIL_DEC_755 754
#define Z_UTIL_DEC_756 755
#define Z_UTIL_DEC_757 756
#define Z_UTIL_DEC_758 757
#define Z_UTIL_DEC_759 758
#define Z_UTIL_DEC_760 759
#define Z_UTIL_DEC_761 760
#define Z_UTIL_DEC_762 761
#define Z_UTIL_DEC_763 762
#define Z_UTIL_DEC_764 763
#define Z_UTIL_DEC_765 764
#define Z_UTIL_DEC_766 765
#define Z_UTIL_DEC_767 766
#define Z_UTIL_DEC_768 767
#define Z_UTIL_DEC_769 768
#define Z_UTIL_DEC_770 769
#define Z_UTIL_DEC_771 770
#define Z_UTIL_DEC_772 771
#define Z_UTIL_DEC_773 772
#define Z_UTIL_DEC_774 773
#define Z_UTIL_DEC_775 774
#define Z_UTIL_DEC_776 775
#define Z_UTIL_DEC_777 776
#define Z_UTIL_DEC_778 777
#define Z_UTIL_DEC_779 778
#define Z_UTIL_DEC_780 779
#define Z_UTIL_DEC_781 780
#define Z_UTIL_DEC_782 781
#define Z_UTIL_DEC_783 782
#define Z_UTIL_DEC_784 783
#define Z_UTIL_DEC_785 784
#define Z_UTIL_DEC_786 785
#define Z_UTIL_DEC_787 786
#define Z_UTIL_DEC_788 787
#define Z_UTIL_DEC_789 788
#define Z_UTIL_DEC_790 789
#define Z_UTIL_DEC_791 790
#define Z_UTIL_DEC_792 791
#define Z_UTIL_DEC_793 792
#define Z_UTIL_DEC_794 793
#define Z_UTIL_DEC_795 794
#define Z_UTIL_DEC_796 795
#define Z_UTIL_DEC_797 796
#define Z_UTIL_DEC_798 797
#define Z_UTIL_DEC_799 798
#define Z_UTIL_DEC_800 799
#define Z_UTIL_DEC_801 800
#define Z_UTIL_DEC_802 801
#define Z_UTIL_DEC_803 802
#define Z_UTIL_DEC_804 803
#define Z_UTIL_DEC_805 804
#define Z_UTIL_DEC_806 805
#define Z_UTIL_DEC_807 806
#define Z_UTIL_DEC_808 807
#define Z_UTIL_DEC_809 808
#define Z_UTIL_DEC_810 809
#define Z_UTIL_DEC_811 810
#define Z_UTIL_DEC_812 811
#define Z_UTIL_DEC_813 812
#define Z_UTIL_DEC_814 813
#define Z_UTIL_DEC_815 814
#define Z_UTIL_DEC_816 815
#define Z_UTIL_DEC_817 816
#define Z_UTIL_DEC_818 817
#define Z_UTIL_DEC_819 818
#define Z_UTIL_DEC_820 819
#define Z_UTIL_DEC_821 820
#define Z_UTIL_DEC_822 821
#define Z_UTIL_DEC_823 822
#define Z_UTIL_DEC_824 823
#define Z_UTIL_DEC_825 824
#define Z_UTIL_DEC_826 825
#define Z_UTIL_DEC_827 826
#define Z_UTIL_DEC_828 827
#define Z_UTIL_DEC_829 828
#define Z_UTIL_DEC_830 829
#define Z_UTIL_DEC_831 830
#define Z_UTIL_DEC_832 831
#define Z_UTIL_DEC_833 832
#define Z_UTIL_DEC_834 833
#define Z_UTIL_DEC_835 834
#define Z_UTIL_DEC_836 835
#define Z_UTIL_DEC_837 836
#define Z_UTIL_DEC_838 837
#define Z_UTIL_DEC_839 838
#define Z_UTIL_DEC_840 839
#define Z_UTIL_DEC_841 840
#define Z_UTIL_DEC_842 841
#define Z_UTIL_DEC_843 842
#define Z_UTIL_DEC_844 843
#define Z_UTIL_DEC_845 844
#define Z_UTIL_DEC_846 845
#define Z_UTIL_DEC_847 846
#define Z_UTIL_DEC_848 847
#define Z_UTIL_DEC_849 848
#define Z_UTIL_DEC_850 849
#define Z_UTIL_DEC_851 850
#define Z_UTIL_DEC_852 851
#define Z_UTIL_DEC_853 852
#define Z_UTIL_DEC_854 853
#define Z_UTIL_DEC_855 854
#define Z_UTIL_DEC_856 855
#define Z_UTIL_DEC_857 856
#define Z_UTIL_DEC_858 857
#define Z_UTIL_DEC_859 858
#define Z_UTIL_DEC_860 859
#define Z_UTIL_DEC_861 860
#define Z_UTIL_DEC_862 861
#define Z_UTIL_DEC_863 862
#define Z_UTIL_DEC_864 863
#define Z_UTIL_DEC_865 864
#define Z_UTIL_DEC_866 865
#define Z_UTIL_DEC_867 866
#define Z_UTIL_DEC_868 867
#define Z_UTIL_DEC_869 868
#define Z_UTIL_DEC_870 869
#define Z_UTIL_DEC_871 870
#define Z_UTIL_DEC_872 871
#define Z_UTIL_DEC_873 872
#define Z_UTIL_DEC_874 873
#define Z_UTIL_DEC_875 874
#define Z_UTIL_DEC_876 875
#define Z_UTIL_DEC_877 876
#define Z_UTIL_DEC_878 877
#define Z_UTIL_DEC_879 878
#define Z_UTIL_DEC_880 879
#define Z_UTIL_DEC_881 880
#define Z_UTIL_DEC_882 881
#define Z_UTIL_DEC_883 882
#define Z_UTIL_DEC_884 883
#define Z_UTIL_DEC_885 884
#define Z_UTIL_DEC_886 885
#define Z_UTIL_DEC_887 886
#define Z_UTIL_DEC_888 887
#define Z_UTIL_DEC_889 888
#define Z_UTIL_DEC_890 889
#define Z_UTIL_DEC_891 890
#define Z_UTIL_DEC_892 891
#define Z_UTIL_DEC_893 892
#define Z_UTIL_DEC_894 893
#define Z_UTIL_DEC_895 894
#define Z_UTIL_DEC_896 895
#define Z_UTIL_DEC_897 896
#define Z_UTIL_DEC_898 897
#define Z_UTIL_DEC_899 898
#define Z_UTIL_DEC_900 899
#define Z_UTIL_DEC_901 900
#define Z_UTIL_DEC_902 901
#define Z_UTIL_DEC_903 902
#define Z_UTIL_DEC_904 903
#define Z_UTIL_DEC_905 904
#define Z_UTIL_DEC_906 905
#define Z_UTIL_DEC_907 906
#define Z_UTIL_DEC_908 907
#define Z_UTIL_DEC_909 908
#define Z_UTIL_DEC_910 909
#define Z_UTIL_DEC_911 910
#define Z_UTIL_DEC_912 911
#define Z_UTIL_DEC_913 912
#define Z_UTIL_DEC_914 913
#define Z_UTIL_DEC_915 914
#define Z_UTIL_DEC_916 915
#define Z_UTIL_DEC_917 916
#define Z_UTIL_DEC_918 917
#define Z_UTIL_DEC_919 918
#define Z_UTIL_DEC_920 919
#define Z_UTIL_DEC_921 920
#define Z_UTIL_DEC_922 921
#define Z_UTIL_DEC_923 922
#define Z_UTIL_DEC_924 923
#define Z_UTIL_DEC_925 924
#define Z_UTIL_DEC_926 925
#define Z_UTIL_DEC_927 926
#define Z_UTIL_DEC_928 927
#define Z_UTIL_DEC_929 928
#define Z_UTIL_DEC_930 929
#define Z_UTIL_DEC_931 930
#define Z_UTIL_DEC_932 931
#define Z_UTIL_DEC_933 932
#define Z_UTIL_DEC_934 933
#define Z_UTIL_DEC_935 934
#define Z_UTIL_DEC_936 935
#define Z_UTIL_DEC_937 936
#define Z_UTIL_DEC_938 937
#define Z_UTIL_DEC_939 938
#define Z_UTIL_DEC_940 939
#define Z_UTIL_DEC_941 940
#define Z_UTIL_DEC_942 941
#define Z_UTIL_DEC_943 942
#define Z_UTIL_DEC_944 943
#define Z_UTIL_DEC_945 944
#define Z_UTIL_DEC_946 945
#define Z_UTIL_DEC_947 946
#define Z_UTIL_DEC_948 947
#define Z_UTIL_DEC_949 948
#define Z_UTIL_DEC_950 949
#define Z_UTIL_DEC_951 950
#define Z_UTIL_DEC_952 951
#define Z_UTIL_DEC_953 952
#define Z_UTIL_DEC_954 953
#define Z_UTIL_DEC_955 954
#define Z_UTIL_DEC_956 955
#define Z_UTIL_DEC_957 956
#define Z_UTIL_DEC_958 957
#define Z_UTIL_DEC_959 958
#define Z_UTIL_DEC_960 959
#define Z_UTIL_DEC_961 960
#define Z_UTIL_DEC_962 961
#define Z_UTIL_DEC_963 962
#define Z_UTIL_DEC_964 963
#define Z_UTIL_DEC_965 964
#define Z_UTIL_DEC_966 965
#define Z_UTIL_DEC_967 966
#define Z_UTIL_DEC_968 967
#define Z_UTIL_DEC_969 968
#define Z_UTIL_DEC_970 969
#define Z_UTIL_DEC_971 970
#define Z_UTIL_DEC_972 971
#define Z_UTIL_DEC_973 972
#define Z_UTIL_DEC_974 973
#define Z_UTIL_DEC_975 974
#define Z_UTIL_DEC_976 975
#define Z_UTIL_DEC_977 976
#define Z_UTIL_DEC_978 977
#define Z_UTIL_DEC_979 978
#define Z_UTIL_DEC_980 979
#define Z_UTIL_DEC_981 980
#define Z_UTIL_DEC_982 981
#define Z_UTIL_DEC_983 982
#define Z_UTIL_DEC_984 983
#define Z_UTIL_DEC_985 984
#define Z_UTIL_DEC_986 985
#define Z_UTIL_DEC_987 986
#define Z_UTIL_DEC_988 987
#define Z_UTIL_DEC_989 988
#define Z_UTIL_DEC_990 989
#define Z_UTIL_DEC_991 990
#define Z_UTIL_DEC_992 991
#define Z_UTIL_DEC_993 992
#define Z_UTIL_DEC_994 993
#define Z_UTIL_DEC_995 994
#define Z_UTIL_DEC_996 995
#define Z_UTIL_DEC_997 996
#define Z_UTIL_DEC_998 997
#define Z_UTIL_DEC_999 998
#define Z_UTIL_DEC_1000 999
#define Z_UTIL_DEC_1001 1000
#define Z_UTIL_DEC_1002 1001
#define Z_UTIL_DEC_1003 1002
#define Z_UTIL_DEC_1004 1003
#define Z_UTIL_DEC_1005 1004
#define Z_UTIL_DEC_1006 1005
#define Z_UTIL_DEC_1007 1006
#define Z_UTIL_DEC_1008 1007
#define Z_UTIL_DEC_1009 1008
#define Z_UTIL_DEC_1010 1009
#define Z_UTIL_DEC_1011 1010
#define Z_UTIL_DEC_1012 1011
#define Z_UTIL_DEC_1013 1012
#define Z_UTIL_DEC_1014 1013
#define Z_UTIL_DEC_1015 1014
#define Z_UTIL_DEC_1016 1015
#define Z_UTIL_DEC_1017 1016
#define Z_UTIL_DEC_1018 1017
#define Z_UTIL_DEC_1019 1018
#define Z_UTIL_DEC_1020 1019
#define Z_UTIL_DEC_1021 1020
#define Z_UTIL_DEC_1022 1021
#define Z_UTIL_DEC_1023 1022
#define Z_UTIL_DEC_1024 1023
#define Z_UTIL_DEC_1025 1024
#define Z_UTIL_DEC_1026 1025
#define Z_UTIL_DEC_1027 1026
#define Z_UTIL_DEC_1028 1027
#define Z_UTIL_DEC_1029 1028
#define Z_UTIL_DEC_1030 1029
#define Z_UTIL_DEC_1031 1030
#define Z_UTIL_DEC_1032 1031
#define Z_UTIL_DEC_1033 1032
#define Z_UTIL_DEC_1034 1033
#define Z_UTIL_DEC_1035 1034
#define Z_UTIL_DEC_1036 1035
#define Z_UTIL_DEC_1037 1036
#define Z_UTIL_DEC_1038 1037
#define Z_UTIL_DEC_1039 1038
#define Z_UTIL_DEC_1040 1039
#define Z_UTIL_DEC_1041 1040
#define Z_UTIL_DEC_1042 1041
#define Z_UTIL_DEC_1043 1042
#define Z_UTIL_DEC_1044 1043
#define Z_UTIL_DEC_1045 1044
#define Z_UTIL_DEC_1046 1045
#define Z_UTIL_DEC_1047 1046
#define Z_UTIL_DEC_1048 1047
#define Z_UTIL_DEC_1049 1048
#define Z_UTIL_DEC_1050 1049
#define Z_UTIL_DEC_1051 1050
#define Z_UTIL_DEC_1052 1051
#define Z_UTIL_DEC_1053 1052
#define Z_UTIL_DEC_1054 1053
#define Z_UTIL_DEC_1055 1054
#define Z_UTIL_DEC_1056 1055
#define Z_UTIL_DEC_1057 1056
#define Z_UTIL_DEC_1058 1057
#define Z_UTIL_DEC_1059 1058
#define Z_UTIL_DEC_1060 1059
#define Z_UTIL_DEC_1061 1060
#define Z_UTIL_DEC_1062 1061
#define Z_UTIL_DEC_1063 1062
#define Z_UTIL_DEC_1064 1063
#define Z_UTIL_DEC_1065 1064
#define Z_UTIL_DEC_1066 1065
#define Z_UTIL_DEC_1067 1066
#define Z_UTIL_DEC_1068 1067
#define Z_UTIL_DEC_1069 1068
#define Z_UTIL_DEC_1070 1069
#define Z_UTIL_DEC_1071 1070
#define Z_UTIL_DEC_1072 1071
#define Z_UTIL_DEC_1073 1072
#define Z_UTIL_DEC_1074 1073
#define Z_UTIL_DEC_1075 1074
#define Z_UTIL_DEC_1076 1075
#define Z_UTIL_DEC_1077 1076
#define Z_UTIL_DEC_1078 1077
#define Z_UTIL_DEC_1079 1078
#define Z_UTIL_DEC_1080 1079
#define Z_UTIL_DEC_1081 1080
#define Z_UTIL_DEC_1082 1081
#define Z_UTIL_DEC_1083 1082
#define Z_UTIL_DEC_1084 1083
#define Z_UTIL_DEC_1085 1084
#define Z_UTIL_DEC_1086 1085
#define Z_UTIL_DEC_1087 1086
#define Z_UTIL_DEC_1088 1087
#define Z_UTIL_DEC_1089 1088
#define Z_UTIL_DEC_1090 1089
#define Z_UTIL_DEC_1091 1090
#define Z_UTIL_DEC_1092 1091
#define Z_UTIL_DEC_1093 1092
#define Z_UTIL_DEC_1094 1093
#define Z_UTIL_DEC_1095 1094
#define Z_UTIL_DEC_1096 1095
#define Z_UTIL_DEC_1097 1096
#define Z_UTIL_DEC_1098 1097
#define Z_UTIL_DEC_1099 1098
#define Z_UTIL_DEC_1100 1099
#define Z_UTIL_DEC_1101 1100
#define Z_UTIL_DEC_1102 1101
#define Z_UTIL_DEC_1103 1102
#define Z_UTIL_DEC_1104 1103
#define Z_UTIL_DEC_1105 1104
#define Z_UTIL_DEC_1106 1105
#define Z_UTIL_DEC_1107 1106
#define Z_UTIL_DEC_1108 1107
#define Z_UTIL_DEC_1109 1108
#define Z_UTIL_DEC_1110 1109
#define Z_UTIL_DEC_1111 1110
#define Z_UTIL_DEC_1112 1111
#define Z_UTIL_DEC_1113 1112
#define Z_UTIL_DEC_1114 1113
#define Z_UTIL_DEC_1115 1114
#define Z_UTIL_DEC_1116 1115
#define Z_UTIL_DEC_1117 1116
#define Z_UTIL_DEC_1118 1117
#define Z_UTIL_DEC_1119 1118
#define Z_UTIL_DEC_1120 1119
#define Z_UTIL_DEC_1121 1120
#define Z_UTIL_DEC_1122 1121
#define Z_UTIL_DEC_1123 1122
#define Z_UTIL_DEC_1124 1123
#define Z_UTIL_DEC_1125 1124
#define Z_UTIL_DEC_1126 1125
#define Z_UTIL_DEC_1127 1126
#define Z_UTIL_DEC_1128 1127
#define Z_UTIL_DEC_1129 1128
#define Z_UTIL_DEC_1130 1129
#define Z_UTIL_DEC_1131 1130
#define Z_UTIL_DEC_1132 1131
#define Z_UTIL_DEC_1133 1132
#define Z_UTIL_DEC_1134 1133
#define Z_UTIL_DEC_1135 1134
#define Z_UTIL_DEC_1136 1135
#define Z_UTIL_DEC_1137 1136
#define Z_UTIL_DEC_1138 1137
#define Z_UTIL_DEC_1139 1138
#define Z_UTIL_DEC_1140 1139
#define Z_UTIL_DEC_1141 1140
#define Z_UTIL_DEC_1142 1141
#define Z_UTIL_DEC_1143 1142
#define Z_UTIL_DEC_1144 1143
#define Z_UTIL_DEC_1145 1144
#define Z_UTIL_DEC_1146 1145
#define Z_UTIL_DEC_1147 1146
#define Z_UTIL_DEC_1148 1147
#define Z_UTIL_DEC_1149 1148
#define Z_UTIL_DEC_1150 1149
#define Z_UTIL_DEC_1151 1150
#define Z_UTIL_DEC_1152 1151
#define Z_UTIL_DEC_1153 1152
#define Z_UTIL_DEC_1154 1153
#define Z_UTIL_DEC_1155 1154
#define Z_UTIL_DEC_1156 1155
#define Z_UTIL_DEC_1157 1156
#define Z_UTIL_DEC_1158 1157
#define Z_UTIL_DEC_1159 1158
#define Z_UTIL_DEC_1160 1159
#define Z_UTIL_DEC_1161 1160
#define Z_UTIL_DEC_1162 1161
#define Z_UTIL_DEC_1163 1162
#define Z_UTIL_DEC_1164 1163
#define Z_UTIL_DEC_1165 1164
#define Z_UTIL_DEC_1166 1165
#define Z_UTIL_DEC_1167 1166
#define Z_UTIL_DEC_1168 1167
#define Z_UTIL_DEC_1169 1168
#define Z_UTIL_DEC_1170 1169
#define Z_UTIL_DEC_1171 1170
#define Z_UTIL_DEC_1172 1171
#define Z_UTIL_DEC_1173 1172
#define Z_UTIL_DEC_1174 1173
#define Z_UTIL_DEC_1175 1174
#define Z_UTIL_DEC_1176 1175
#define Z_UTIL_DEC_1177 1176
#define Z_UTIL_DEC_1178 1177
#define Z_UTIL_DEC_1179 1178
#define Z_UTIL_DEC_1180 1179
#define Z_UTIL_DEC_1181 1180
#define Z_UTIL_DEC_1182 1181
#define Z_UTIL_DEC_1183 1182
#define Z_UTIL_DEC_1184 1183
#define Z_UTIL_DEC_1185 1184
#define Z_UTIL_DEC_1186 1185
#define Z_UTIL_DEC_1187 1186
#define Z_UTIL_DEC_1188 1187
#define Z_UTIL_DEC_1189 1188
#define Z_UTIL_DEC_1190 1189
#define Z_UTIL_DEC_1191 1190
#define Z_UTIL_DEC_1192 1191
#define Z_UTIL_DEC_1193 1192
#define Z_UTIL_DEC_1194 1193
#define Z_UTIL_DEC_1195 1194
#define Z_UTIL_DEC_1196 1195
#define Z_UTIL_DEC_1197 1196
#define Z_UTIL_DEC_1198 1197
#define Z_UTIL_DEC_1199 1198
#define Z_UTIL_DEC_1200 1199
#define Z_UTIL_DEC_1201 1200
#define Z_UTIL_DEC_1202 1201
#define Z_UTIL_DEC_1203 1202
#define Z_UTIL_DEC_1204 1203
#define Z_UTIL_DEC_1205 1204
#define Z_UTIL_DEC_1206 1205
#define Z_UTIL_DEC_1207 1206
#define Z_UTIL_DEC_1208 1207
#define Z_UTIL_DEC_1209 1208
#define Z_UTIL_DEC_1210 1209
#define Z_UTIL_DEC_1211 1210
#define Z_UTIL_DEC_1212 1211
#define Z_UTIL_DEC_1213 1212
#define Z_UTIL_DEC_1214 1213
#define Z_UTIL_DEC_1215 1214
#define Z_UTIL_DEC_1216 1215
#define Z_UTIL_DEC_1217 1216
#define Z_UTIL_DEC_1218 1217
#define Z_UTIL_DEC_1219 1218
#define Z_UTIL_DEC_1220 1219
#define Z_UTIL_DEC_1221 1220
#define Z_UTIL_DEC_1222 1221
#define Z_UTIL_DEC_1223 1222
#define Z_UTIL_DEC_1224 1223
#define Z_UTIL_DEC_1225 1224
#define Z_UTIL_DEC_1226 1225
#define Z_UTIL_DEC_1227 1226
#define Z_UTIL_DEC_1228 1227
#define Z_UTIL_DEC_1229 1228
#define Z_UTIL_DEC_1230 1229
#define Z_UTIL_DEC_1231 1230
#define Z_UTIL_DEC_1232 1231
#define Z_UTIL_DEC_1233 1232
#define Z_UTIL_DEC_1234 1233
#define Z_UTIL_DEC_1235 1234
#define Z_UTIL_DEC_1236 1235
#define Z_UTIL_DEC_1237 1236
#define Z_UTIL_DEC_1238 1237
#define Z_UTIL_DEC_1239 1238
#define Z_UTIL_DEC_1240 1239
#define Z_UTIL_DEC_1241 1240
#define Z_UTIL_DEC_1242 1241
#define Z_UTIL_DEC_1243 1242
#define Z_UTIL_DEC_1244 1243
#define Z_UTIL_DEC_1245 1244
#define Z_UTIL_DEC_1246 1245
#define Z_UTIL_DEC_1247 1246
#define Z_UTIL_DEC_1248 1247
#define Z_UTIL_DEC_1249 1248
#define Z_UTIL_DEC_1250 1249
#define Z_UTIL_DEC_1251 1250
#define Z_UTIL_DEC_1252 1251
#define Z_UTIL_DEC_1253 1252
#define Z_UTIL_DEC_1254 1253
#define Z_UTIL_DEC_1255 1254
#define Z_UTIL_DEC_1256 1255
#define Z_UTIL_DEC_1257 1256
#define Z_UTIL_DEC_1258 1257
#define Z_UTIL_DEC_1259 1258
#define Z_UTIL_DEC_1260 1259
#define Z_UTIL_DEC_1261 1260
#define Z_UTIL_DEC_1262 1261
#define Z_UTIL_DEC_1263 1262
#define Z_UTIL_DEC_1264 1263
#define Z_UTIL_DEC_1265 1264
#define Z_UTIL_DEC_1266 1265
#define Z_UTIL_DEC_1267 1266
#define Z_UTIL_DEC_1268 1267
#define Z_UTIL_DEC_1269 1268
#define Z_UTIL_DEC_1270 1269
#define Z_UTIL_DEC_1271 1270
#define Z_UTIL_DEC_1272 1271
#define Z_UTIL_DEC_1273 1272
#define Z_UTIL_DEC_1274 1273
#define Z_UTIL_DEC_1275 1274
#define Z_UTIL_DEC_1276 1275
#define Z_UTIL_DEC_1277 1276
#define Z_UTIL_DEC_1278 1277
#define Z_UTIL_DEC_1279 1278
#define Z_UTIL_DEC_1280 1279
#define Z_UTIL_DEC_1281 1280
#define Z_UTIL_DEC_1282 1281
#define Z_UTIL_DEC_1283 1282
#define Z_UTIL_DEC_1284 1283
#define Z_UTIL_DEC_1285 1284
#define Z_UTIL_DEC_1286 1285
#define Z_UTIL_DEC_1287 1286
#define Z_UTIL_DEC_1288 1287
#define Z_UTIL_DEC_1289 1288
#define Z_UTIL_DEC_1290 1289
#define Z_UTIL_DEC_1291 1290
#define Z_UTIL_DEC_1292 1291
#define Z_UTIL_DEC_1293 1292
#define Z_UTIL_DEC_1294 1293
#define Z_UTIL_DEC_1295 1294
#define Z_UTIL_DEC_1296 1295
#define Z_UTIL_DEC_1297 1296
#define Z_UTIL_DEC_1298 1297
#define Z_UTIL_DEC_1299 1298
#define Z_UTIL_DEC_1300 1299
#define Z_UTIL_DEC_1301 1300
#define Z_UTIL_DEC_1302 1301
#define Z_UTIL_DEC_1303 1302
#define Z_UTIL_DEC_1304 1303
#define Z_UTIL_DEC_1305 1304
#define Z_UTIL_DEC_1306 1305
#define Z_UTIL_DEC_1307 1306
#define Z_UTIL_DEC_1308 1307
#define Z_UTIL_DEC_1309 1308
#define Z_UTIL_DEC_1310 1309
#define Z_UTIL_DEC_1311 1310
#define Z_UTIL_DEC_1312 1311
#define Z_UTIL_DEC_1313 1312
#define Z_UTIL_DEC_1314 1313
#define Z_UTIL_DEC_1315 1314
#define Z_UTIL_DEC_1316 1315
#define Z_UTIL_DEC_1317 1316
#define Z_UTIL_DEC_1318 1317
#define Z_UTIL_DEC_1319 1318
#define Z_UTIL_DEC_1320 1319
#define Z_UTIL_DEC_1321 1320
#define Z_UTIL_DEC_1322 1321
#define Z_UTIL_DEC_1323 1322
#define Z_UTIL_DEC_1324 1323
#define Z_UTIL_DEC_1325 1324
#define Z_UTIL_DEC_1326 1325
#define Z_UTIL_DEC_1327 1326
#define Z_UTIL_DEC_1328 1327
#define Z_UTIL_DEC_1329 1328
#define Z_UTIL_DEC_1330 1329
#define Z_UTIL_DEC_1331 1330
#define Z_UTIL_DEC_1332 1331
#define Z_UTIL_DEC_1333 1332
#define Z_UTIL_DEC_1334 1333
#define Z_UTIL_DEC_1335 1334
#define Z_UTIL_DEC_1336 1335
#define Z_UTIL_DEC_1337 1336
#define Z_UTIL_DEC_1338 1337
#define Z_UTIL_DEC_1339 1338
#define Z_UTIL_DEC_1340 1339
#define Z_UTIL_DEC_1341 1340
#define Z_UTIL_DEC_1342 1341
#define Z_UTIL_DEC_1343 1342
#define Z_UTIL_DEC_1344 1343
#define Z_UTIL_DEC_1345 1344
#define Z_UTIL_DEC_1346 1345
#define Z_UTIL_DEC_1347 1346
#define Z_UTIL_DEC_1348 1347
#define Z_UTIL_DEC_1349 1348
#define Z_UTIL_DEC_1350 1349
#define Z_UTIL_DEC_1351 1350
#define Z_UTIL_DEC_1352 1351
#define Z_UTIL_DEC_1353 1352
#define Z_UTIL_DEC_1354 1353
#define Z_UTIL_DEC_1355 1354
#define Z_UTIL_DEC_1356 1355
#define Z_UTIL_DEC_1357 1356
#define Z_UTIL_DEC_1358 1357
#define Z_UTIL_DEC_1359 1358
#define Z_UTIL_DEC_1360 1359
#define Z_UTIL_DEC_1361 1360
#define Z_UTIL_DEC_1362 1361
#define Z_UTIL_DEC_1363 1362
#define Z_UTIL_DEC_1364 1363
#define Z_UTIL_DEC_1365 1364
#define Z_UTIL_DEC_1366 1365
#define Z_UTIL_DEC_1367 1366
#define Z_UTIL_DEC_1368 1367
#define Z_UTIL_DEC_1369 1368
#define Z_UTIL_DEC_1370 1369
#define Z_UTIL_DEC_1371 1370
#define Z_UTIL_DEC_1372 1371
#define Z_UTIL_DEC_1373 1372
#define Z_UTIL_DEC_1374 1373
#define Z_UTIL_DEC_1375 1374
#define Z_UTIL_DEC_1376 1375
#define Z_UTIL_DEC_1377 1376
#define Z_UTIL_DEC_1378 1377
#define Z_UTIL_DEC_1379 1378
#define Z_UTIL_DEC_1380 1379
#define Z_UTIL_DEC_1381 1380
#define Z_UTIL_DEC_1382 1381
#define Z_UTIL_DEC_1383 1382
#define Z_UTIL_DEC_1384 1383
#define Z_UTIL_DEC_1385 1384
#define Z_UTIL_DEC_1386 1385
#define Z_UTIL_DEC_1387 1386
#define Z_UTIL_DEC_1388 1387
#define Z_UTIL_DEC_1389 1388
#define Z_UTIL_DEC_1390 1389
#define Z_UTIL_DEC_1391 1390
#define Z_UTIL_DEC_1392 1391
#define Z_UTIL_DEC_1393 1392
#define Z_UTIL_DEC_1394 1393
#define Z_UTIL_DEC_1395 1394
#define Z_UTIL_DEC_1396 1395
#define Z_UTIL_DEC_1397 1396
#define Z_UTIL_DEC_1398 1397
#define Z_UTIL_DEC_1399 1398
#define Z_UTIL_DEC_1400 1399
#define Z_UTIL_DEC_1401 1400
#define Z_UTIL_DEC_1402 1401
#define Z_UTIL_DEC_1403 1402
#define Z_UTIL_DEC_1404 1403
#define Z_UTIL_DEC_1405 1404
#define Z_UTIL_DEC_1406 1405
#define Z_UTIL_DEC_1407 1406
#define Z_UTIL_DEC_1408 1407
#define Z_UTIL_DEC_1409 1408
#define Z_UTIL_DEC_1410 1409
#define Z_UTIL_DEC_1411 1410
#define Z_UTIL_DEC_1412 1411
#define Z_UTIL_DEC_1413 1412
#define Z_UTIL_DEC_1414 1413
#define Z_UTIL_DEC_1415 1414
#define Z_UTIL_DEC_1416 1415
#define Z_UTIL_DEC_1417 1416
#define Z_UTIL_DEC_1418 1417
#define Z_UTIL_DEC_1419 1418
#define Z_UTIL_DEC_1420 1419
#define Z_UTIL_DEC_1421 1420
#define Z_UTIL_DEC_1422 1421
#define Z_UTIL_DEC_1423 1422
#define Z_UTIL_DEC_1424 1423
#define Z_UTIL_DEC_1425 1424
#define Z_UTIL_DEC_1426 1425
#define Z_UTIL_DEC_1427 1426
#define Z_UTIL_DEC_1428 1427
#define Z_UTIL_DEC_1429 1428
#define Z_UTIL_DEC_1430 1429
#define Z_UTIL_DEC_1431 1430
#define Z_UTIL_DEC_1432 1431
#define Z_UTIL_DEC_1433 1432
#define Z_UTIL_DEC_1434 1433
#define Z_UTIL_DEC_1435 1434
#define Z_UTIL_DEC_1436 1435
#define Z_UTIL_DEC_1437 1436
#define Z_UTIL_DEC_1438 1437
#define Z_UTIL_DEC_1439 1438
#define Z_UTIL_DEC_1440 1439
#define Z_UTIL_DEC_1441 1440
#define Z_UTIL_DEC_1442 1441
#define Z_UTIL_DEC_1443 1442
#define Z_UTIL_DEC_1444 1443
#define Z_UTIL_DEC_1445 1444
#define Z_UTIL_DEC_1446 1445
#define Z_UTIL_DEC_1447 1446
#define Z_UTIL_DEC_1448 1447
#define Z_UTIL_DEC_1449 1448
#define Z_UTIL_DEC_1450 1449
#define Z_UTIL_DEC_1451 1450
#define Z_UTIL_DEC_1452 1451
#define Z_UTIL_DEC_1453 1452
#define Z_UTIL_DEC_1454 1453
#define Z_UTIL_DEC_1455 1454
#define Z_UTIL_DEC_1456 1455
#define Z_UTIL_DEC_1457 1456
#define Z_UTIL_DEC_1458 1457
#define Z_UTIL_DEC_1459 1458
#define Z_UTIL_DEC_1460 1459
#define Z_UTIL_DEC_1461 1460
#define Z_UTIL_DEC_1462 1461
#define Z_UTIL_DEC_1463 1462
#define Z_UTIL_DEC_1464 1463
#define Z_UTIL_DEC_1465 1464
#define Z_UTIL_DEC_1466 1465
#define Z_UTIL_DEC_1467 1466
#define Z_UTIL_DEC_1468 1467
#define Z_UTIL_DEC_1469 1468
#define Z_UTIL_DEC_1470 1469
#define Z_UTIL_DEC_1471 1470
#define Z_UTIL_DEC_1472 1471
#define Z_UTIL_DEC_1473 1472
#define Z_UTIL_DEC_1474 1473
#define Z_UTIL_DEC_1475 1474
#define Z_UTIL_DEC_1476 1475
#define Z_UTIL_DEC_1477 1476
#define Z_UTIL_DEC_1478 1477
#define Z_UTIL_DEC_1479 1478
#define Z_UTIL_DEC_1480 1479
#define Z_UTIL_DEC_1481 1480
#define Z_UTIL_DEC_1482 1481
#define Z_UTIL_DEC_1483 1482
#define Z_UTIL_DEC_1484 1483
#define Z_UTIL_DEC_1485 1484
#define Z_UTIL_DEC_1486 1485
#define Z_UTIL_DEC_1487 1486
#define Z_UTIL_DEC_1488 1487
#define Z_UTIL_DEC_1489 1488
#define Z_UTIL_DEC_1490 1489
#define Z_UTIL_DEC_1491 1490
#define Z_UTIL_DEC_1492 1491
#define Z_UTIL_DEC_1493 1492
#define Z_UTIL_DEC_1494 1493
#define Z_UTIL_DEC_1495 1494
#define Z_UTIL_DEC_1496 1495
#define Z_UTIL_DEC_1497 1496
#define Z_UTIL_DEC_1498 1497
#define Z_UTIL_DEC_1499 1498
#define Z_UTIL_DEC_1500 1499
#define Z_UTIL_DEC_1501 1500
#define Z_UTIL_DEC_1502 1501
#define Z_UTIL_DEC_1503 1502
#define Z_UTIL_DEC_1504 1503
#define Z_UTIL_DEC_1505 1504
#define Z_UTIL_DEC_1506 1505
#define Z_UTIL_DEC_1507 1506
#define Z_UTIL_DEC_1508 1507
#define Z_UTIL_DEC_1509 1508
#define Z_UTIL_DEC_1510 1509
#define Z_UTIL_DEC_1511 1510
#define Z_UTIL_DEC_1512 1511
#define Z_UTIL_DEC_1513 1512
#define Z_UTIL_DEC_1514 1513
#define Z_UTIL_DEC_1515 1514
#define Z_UTIL_DEC_1516 1515
#define Z_UTIL_DEC_1517 1516
#define Z_UTIL_DEC_1518 1517
#define Z_UTIL_DEC_1519 1518
#define Z_UTIL_DEC_1520 1519
#define Z_UTIL_DEC_1521 1520
#define Z_UTIL_DEC_1522 1521
#define Z_UTIL_DEC_1523 1522
#define Z_UTIL_DEC_1524 1523
#define Z_UTIL_DEC_1525 1524
#define Z_UTIL_DEC_1526 1525
#define Z_UTIL_DEC_1527 1526
#define Z_UTIL_DEC_1528 1527
#define Z_UTIL_DEC_1529 1528
#define Z_UTIL_DEC_1530 1529
#define Z_UTIL_DEC_1531 1530
#define Z_UTIL_DEC_1532 1531
#define Z_UTIL_DEC_1533 1532
#define Z_UTIL_DEC_1534 1533
#define Z_UTIL_DEC_1535 1534
#define Z_UTIL_DEC_1536 1535
#define Z_UTIL_DEC_1537 1536
#define Z_UTIL_DEC_1538 1537
#define Z_UTIL_DEC_1539 1538
#define Z_UTIL_DEC_1540 1539
#define Z_UTIL_DEC_1541 1540
#define Z_UTIL_DEC_1542 1541
#define Z_UTIL_DEC_1543 1542
#define Z_UTIL_DEC_1544 1543
#define Z_UTIL_DEC_1545 1544
#define Z_UTIL_DEC_1546 1545
#define Z_UTIL_DEC_1547 1546
#define Z_UTIL_DEC_1548 1547
#define Z_UTIL_DEC_1549 1548
#define Z_UTIL_DEC_1550 1549
#define Z_UTIL_DEC_1551 1550
#define Z_UTIL_DEC_1552 1551
#define Z_UTIL_DEC_1553 1552
#define Z_UTIL_DEC_1554 1553
#define Z_UTIL_DEC_1555 1554
#define Z_UTIL_DEC_1556 1555
#define Z_UTIL_DEC_1557 1556
#define Z_UTIL_DEC_1558 1557
#define Z_UTIL_DEC_1559 1558
#define Z_UTIL_DEC_1560 1559
#define Z_UTIL_DEC_1561 1560
#define Z_UTIL_DEC_1562 1561
#define Z_UTIL_DEC_1563 1562
#define Z_UTIL_DEC_1564 1563
#define Z_UTIL_DEC_1565 1564
#define Z_UTIL_DEC_1566 1565
#define Z_UTIL_DEC_1567 1566
#define Z_UTIL_DEC_1568 1567
#define Z_UTIL_DEC_1569 1568
#define Z_UTIL_DEC_1570 1569
#define Z_UTIL_DEC_1571 1570
#define Z_UTIL_DEC_1572 1571
#define Z_UTIL_DEC_1573 1572
#define Z_UTIL_DEC_1574 1573
#define Z_UTIL_DEC_1575 1574
#define Z_UTIL_DEC_1576 1575
#define Z_UTIL_DEC_1577 1576
#define Z_UTIL_DEC_1578 1577
#define Z_UTIL_DEC_1579 1578
#define Z_UTIL_DEC_1580 1579
#define Z_UTIL_DEC_1581 1580
#define Z_UTIL_DEC_1582 1581
#define Z_UTIL_DEC_1583 1582
#define Z_UTIL_DEC_1584 1583
#define Z_UTIL_DEC_1585 1584
#define Z_UTIL_DEC_1586 1585
#define Z_UTIL_DEC_1587 1586
#define Z_UTIL_DEC_1588 1587
#define Z_UTIL_DEC_1589 1588
#define Z_UTIL_DEC_1590 1589
#define Z_UTIL_DEC_1591 1590
#define Z_UTIL_DEC_1592 1591
#define Z_UTIL_DEC_1593 1592
#define Z_UTIL_DEC_1594 1593
#define Z_UTIL_DEC_1595 1594
#define Z_UTIL_DEC_1596 1595
#define Z_UTIL_DEC_1597 1596
#define Z_UTIL_DEC_1598 1597
#define Z_UTIL_DEC_1599 1598
#define Z_UTIL_DEC_1600 1599
#define Z_UTIL_DEC_1601 1600
#define Z_UTIL_DEC_1602 1601
#define Z_UTIL_DEC_1603 1602
#define Z_UTIL_DEC_1604 1603
#define Z_UTIL_DEC_1605 1604
#define Z_UTIL_DEC_1606 1605
#define Z_UTIL_DEC_1607 1606
#define Z_UTIL_DEC_1608 1607
#define Z_UTIL_DEC_1609 1608
#define Z_UTIL_DEC_1610 1609
#define Z_UTIL_DEC_1611 1610
#define Z_UTIL_DEC_1612 1611
#define Z_UTIL_DEC_1613 1612
#define Z_UTIL_DEC_1614 1613
#define Z_UTIL_DEC_1615 1614
#define Z_UTIL_DEC_1616 1615
#define Z_UTIL_DEC_1617 1616
#define Z_UTIL_DEC_1618 1617
#define Z_UTIL_DEC_1619 1618
#define Z_UTIL_DEC_1620 1619
#define Z_UTIL_DEC_1621 1620
#define Z_UTIL_DEC_1622 1621
#define Z_UTIL_DEC_1623 1622
#define Z_UTIL_DEC_1624 1623
#define Z_UTIL_DEC_1625 1624
#define Z_UTIL_DEC_1626 1625
#define Z_UTIL_DEC_1627 1626
#define Z_UTIL_DEC_1628 1627
#define Z_UTIL_DEC_1629 1628
#define Z_UTIL_DEC_1630 1629
#define Z_UTIL_DEC_1631 1630
#define Z_UTIL_DEC_1632 1631
#define Z_UTIL_DEC_1633 1632
#define Z_UTIL_DEC_1634 1633
#define Z_UTIL_DEC_1635 1634
#define Z_UTIL_DEC_1636 1635
#define Z_UTIL_DEC_1637 1636
#define Z_UTIL_DEC_1638 1637
#define Z_UTIL_DEC_1639 1638
#define Z_UTIL_DEC_1640 1639
#define Z_UTIL_DEC_1641 1640
#define Z_UTIL_DEC_1642 1641
#define Z_UTIL_DEC_1643 1642
#define Z_UTIL_DEC_1644 1643
#define Z_UTIL_DEC_1645 1644
#define Z_UTIL_DEC_1646 1645
#define Z_UTIL_DEC_1647 1646
#define Z_UTIL_DEC_1648 1647
#define Z_UTIL_DEC_1649 1648
#define Z_UTIL_DEC_1650 1649
#define Z_UTIL_DEC_1651 1650
#define Z_UTIL_DEC_1652 1651
#define Z_UTIL_DEC_1653 1652
#define Z_UTIL_DEC_1654 1653
#define Z_UTIL_DEC_1655 1654
#define Z_UTIL_DEC_1656 1655
#define Z_UTIL_DEC_1657 1656
#define Z_UTIL_DEC_1658 1657
#define Z_UTIL_DEC_1659 1658
#define Z_UTIL_DEC_1660 1659
#define Z_UTIL_DEC_1661 1660
#define Z_UTIL_DEC_1662 1661
#define Z_UTIL_DEC_1663 1662
#define Z_UTIL_DEC_1664 1663
#define Z_UTIL_DEC_1665 1664
#define Z_UTIL_DEC_1666 1665
#define Z_UTIL_DEC_1667 1666
#define Z_UTIL_DEC_1668 1667
#define Z_UTIL_DEC_1669 1668
#define Z_UTIL_DEC_1670 1669
#define Z_UTIL_DEC_1671 1670
#define Z_UTIL_DEC_1672 1671
#define Z_UTIL_DEC_1673 1672
#define Z_UTIL_DEC_1674 1673
#define Z_UTIL_DEC_1675 1674
#define Z_UTIL_DEC_1676 1675
#define Z_UTIL_DEC_1677 1676
#define Z_UTIL_DEC_1678 1677
#define Z_UTIL_DEC_1679 1678
#define Z_UTIL_DEC_1680 1679
#define Z_UTIL_DEC_1681 1680
#define Z_UTIL_DEC_1682 1681
#define Z_UTIL_DEC_1683 1682
#define Z_UTIL_DEC_1684 1683
#define Z_UTIL_DEC_1685 1684
#define Z_UTIL_DEC_1686 1685
#define Z_UTIL_DEC_1687 1686
#define Z_UTIL_DEC_1688 1687
#define Z_UTIL_DEC_1689 1688
#define Z_UTIL_DEC_1690 1689
#define Z_UTIL_DEC_1691 1690
#define Z_UTIL_DEC_1692 1691
#define Z_UTIL_DEC_1693 1692
#define Z_UTIL_DEC_1694 1693
#define Z_UTIL_DEC_1695 1694
#define Z_UTIL_DEC_1696 1695
#define Z_UTIL_DEC_1697 1696
#define Z_UTIL_DEC_1698 1697
#define Z_UTIL_DEC_1699 1698
#define Z_UTIL_DEC_1700 1699
#define Z_UTIL_DEC_1701 1700
#define Z_UTIL_DEC_1702 1701
#define Z_UTIL_DEC_1703 1702
#define Z_UTIL_DEC_1704 1703
#define Z_UTIL_DEC_1705 1704
#define Z_UTIL_DEC_1706 1705
#define Z_UTIL_DEC_1707 1706
#define Z_UTIL_DEC_1708 1707
#define Z_UTIL_DEC_1709 1708
#define Z_UTIL_DEC_1710 1709
#define Z_UTIL_DEC_1711 1710
#define Z_UTIL_DEC_1712 1711
#define Z_UTIL_DEC_1713 1712
#define Z_UTIL_DEC_1714 1713
#define Z_UTIL_DEC_1715 1714
#define Z_UTIL_DEC_1716 1715
#define Z_UTIL_DEC_1717 1716
#define Z_UTIL_DEC_1718 1717
#define Z_UTIL_DEC_1719 1718
#define Z_UTIL_DEC_1720 1719
#define Z_UTIL_DEC_1721 1720
#define Z_UTIL_DEC_1722 1721
#define Z_UTIL_DEC_1723 1722
#define Z_UTIL_DEC_1724 1723
#define Z_UTIL_DEC_1725 1724
#define Z_UTIL_DEC_1726 1725
#define Z_UTIL_DEC_1727 1726
#define Z_UTIL_DEC_1728 1727
#define Z_UTIL_DEC_1729 1728
#define Z_UTIL_DEC_1730 1729
#define Z_UTIL_DEC_1731 1730
#define Z_UTIL_DEC_1732 1731
#define Z_UTIL_DEC_1733 1732
#define Z_UTIL_DEC_1734 1733
#define Z_UTIL_DEC_1735 1734
#define Z_UTIL_DEC_1736 1735
#define Z_UTIL_DEC_1737 1736
#define Z_UTIL_DEC_1738 1737
#define Z_UTIL_DEC_1739 1738
#define Z_UTIL_DEC_1740 1739
#define Z_UTIL_DEC_1741 1740
#define Z_UTIL_DEC_1742 1741
#define Z_UTIL_DEC_1743 1742
#define Z_UTIL_DEC_1744 1743
#define Z_UTIL_DEC_1745 1744
#define Z_UTIL_DEC_1746 1745
#define Z_UTIL_DEC_1747 1746
#define Z_UTIL_DEC_1748 1747
#define Z_UTIL_DEC_1749 1748
#define Z_UTIL_DEC_1750 1749
#define Z_UTIL_DEC_1751 1750
#define Z_UTIL_DEC_1752 1751
#define Z_UTIL_DEC_1753 1752
#define Z_UTIL_DEC_1754 1753
#define Z_UTIL_DEC_1755 1754
#define Z_UTIL_DEC_1756 1755
#define Z_UTIL_DEC_1757 1756
#define Z_UTIL_DEC_1758 1757
#define Z_UTIL_DEC_1759 1758
#define Z_UTIL_DEC_1760 1759
#define Z_UTIL_DEC_1761 1760
#define Z_UTIL_DEC_1762 1761
#define Z_UTIL_DEC_1763 1762
#define Z_UTIL_DEC_1764 1763
#define Z_UTIL_DEC_1765 1764
#define Z_UTIL_DEC_1766 1765
#define Z_UTIL_DEC_1767 1766
#define Z_UTIL_DEC_1768 1767
#define Z_UTIL_DEC_1769 1768
#define Z_UTIL_DEC_1770 1769
#define Z_UTIL_DEC_1771 1770
#define Z_UTIL_DEC_1772 1771
#define Z_UTIL_DEC_1773 1772
#define Z_UTIL_DEC_1774 1773
#define Z_UTIL_DEC_1775 1774
#define Z_UTIL_DEC_1776 1775
#define Z_UTIL_DEC_1777 1776
#define Z_UTIL_DEC_1778 1777
#define Z_UTIL_DEC_1779 1778
#define Z_UTIL_DEC_1780 1779
#define Z_UTIL_DEC_1781 1780
#define Z_UTIL_DEC_1782 1781
#define Z_UTIL_DEC_1783 1782
#define Z_UTIL_DEC_1784 1783
#define Z_UTIL_DEC_1785 1784
#define Z_UTIL_DEC_1786 1785
#define Z_UTIL_DEC_1787 1786
#define Z_UTIL_DEC_1788 1787
#define Z_UTIL_DEC_1789 1788
#define Z_UTIL_DEC_1790 1789
#define Z_UTIL_DEC_1791 1790
#define Z_UTIL_DEC_1792 1791
#define Z_UTIL_DEC_1793 1792
#define Z_UTIL_DEC_1794 1793
#define Z_UTIL_DEC_1795 1794
#define Z_UTIL_DEC_1796 1795
#define Z_UTIL_DEC_1797 1796
#define Z_UTIL_DEC_1798 1797
#define Z_UTIL_DEC_1799 1798
#define Z_UTIL_DEC_1800 1799
#define Z_UTIL_DEC_1801 1800
#define Z_UTIL_DEC_1802 1801
#define Z_UTIL_DEC_1803 1802
#define Z_UTIL_DEC_1804 1803
#define Z_UTIL_DEC_1805 1804
#define Z_UTIL_DEC_1806 1805
#define Z_UTIL_DEC_1807 1806
#define Z_UTIL_DEC_1808 1807
#define Z_UTIL_DEC_1809 1808
#define Z_UTIL_DEC_1810 1809
#define Z_UTIL_DEC_1811 1810
#define Z_UTIL_DEC_1812 1811
#define Z_UTIL_DEC_1813 1812
#define Z_UTIL_DEC_1814 1813
#define Z_UTIL_DEC_1815 1814
#define Z_UTIL_DEC_1816 1815
#define Z_UTIL_DEC_1817 1816
#define Z_UTIL_DEC_1818 1817
#define Z_UTIL_DEC_1819 1818
#define Z_UTIL_DEC_1820 1819
#define Z_UTIL_DEC_1821 1820
#define Z_UTIL_DEC_1822 1821
#define Z_UTIL_DEC_1823 1822
#define Z_UTIL_DEC_1824 1823
#define Z_UTIL_DEC_1825 1824
#define Z_UTIL_DEC_1826 1825
#define Z_UTIL_DEC_1827 1826
#define Z_UTIL_DEC_1828 1827
#define Z_UTIL_DEC_1829 1828
#define Z_UTIL_DEC_1830 1829
#define Z_UTIL_DEC_1831 1830
#define Z_UTIL_DEC_1832 1831
#define Z_UTIL_DEC_1833 1832
#define Z_UTIL_DEC_1834 1833
#define Z_UTIL_DEC_1835 1834
#define Z_UTIL_DEC_1836 1835
#define Z_UTIL_DEC_1837 1836
#define Z_UTIL_DEC_1838 1837
#define Z_UTIL_DEC_1839 1838
#define Z_UTIL_DEC_1840 1839
#define Z_UTIL_DEC_1841 1840
#define Z_UTIL_DEC_1842 1841
#define Z_UTIL_DEC_1843 1842
#define Z_UTIL_DEC_1844 1843
#define Z_UTIL_DEC_1845 1844
#define Z_UTIL_DEC_1846 1845
#define Z_UTIL_DEC_1847 1846
#define Z_UTIL_DEC_1848 1847
#define Z_UTIL_DEC_1849 1848
#define Z_UTIL_DEC_1850 1849
#define Z_UTIL_DEC_1851 1850
#define Z_UTIL_DEC_1852 1851
#define Z_UTIL_DEC_1853 1852
#define Z_UTIL_DEC_1854 1853
#define Z_UTIL_DEC_1855 1854
#define Z_UTIL_DEC_1856 1855
#define Z_UTIL_DEC_1857 1856
#define Z_UTIL_DEC_1858 1857
#define Z_UTIL_DEC_1859 1858
#define Z_UTIL_DEC_1860 1859
#define Z_UTIL_DEC_1861 1860
#define Z_UTIL_DEC_1862 1861
#define Z_UTIL_DEC_1863 1862
#define Z_UTIL_DEC_1864 1863
#define Z_UTIL_DEC_1865 1864
#define Z_UTIL_DEC_1866 1865
#define Z_UTIL_DEC_1867 1866
#define Z_UTIL_DEC_1868 1867
#define Z_UTIL_DEC_1869 1868
#define Z_UTIL_DEC_1870 1869
#define Z_UTIL_DEC_1871 1870
#define Z_UTIL_DEC_1872 1871
#define Z_UTIL_DEC_1873 1872
#define Z_UTIL_DEC_1874 1873
#define Z_UTIL_DEC_1875 1874
#define Z_UTIL_DEC_1876 1875
#define Z_UTIL_DEC_1877 1876
#define Z_UTIL_DEC_1878 1877
#define Z_UTIL_DEC_1879 1878
#define Z_UTIL_DEC_1880 1879
#define Z_UTIL_DEC_1881 1880
#define Z_UTIL_DEC_1882 1881
#define Z_UTIL_DEC_1883 1882
#define Z_UTIL_DEC_1884 1883
#define Z_UTIL_DEC_1885 1884
#define Z_UTIL_DEC_1886 1885
#define Z_UTIL_DEC_1887 1886
#define Z_UTIL_DEC_1888 1887
#define Z_UTIL_DEC_1889 1888
#define Z_UTIL_DEC_1890 1889
#define Z_UTIL_DEC_1891 1890
#define Z_UTIL_DEC_1892 1891
#define Z_UTIL_DEC_1893 1892
#define Z_UTIL_DEC_1894 1893
#define Z_UTIL_DEC_1895 1894
#define Z_UTIL_DEC_1896 1895
#define Z_UTIL_DEC_1897 1896
#define Z_UTIL_DEC_1898 1897
#define Z_UTIL_DEC_1899 1898
#define Z_UTIL_DEC_1900 1899
#define Z_UTIL_DEC_1901 1900
#define Z_UTIL_DEC_1902 1901
#define Z_UTIL_DEC_1903 1902
#define Z_UTIL_DEC_1904 1903
#define Z_UTIL_DEC_1905 1904
#define Z_UTIL_DEC_1906 1905
#define Z_UTIL_DEC_1907 1906
#define Z_UTIL_DEC_1908 1907
#define Z_UTIL_DEC_1909 1908
#define Z_UTIL_DEC_1910 1909
#define Z_UTIL_DEC_1911 1910
#define Z_UTIL_DEC_1912 1911
#define Z_UTIL_DEC_1913 1912
#define Z_UTIL_DEC_1914 1913
#define Z_UTIL_DEC_1915 1914
#define Z_UTIL_DEC_1916 1915
#define Z_UTIL_DEC_1917 1916
#define Z_UTIL_DEC_1918 1917
#define Z_UTIL_DEC_1919 1918
#define Z_UTIL_DEC_1920 1919
#define Z_UTIL_DEC_1921 1920
#define Z_UTIL_DEC_1922 1921
#define Z_UTIL_DEC_1923 1922
#define Z_UTIL_DEC_1924 1923
#define Z_UTIL_DEC_1925 1924
#define Z_UTIL_DEC_1926 1925
#define Z_UTIL_DEC_1927 1926
#define Z_UTIL_DEC_1928 1927
#define Z_UTIL_DEC_1929 1928
#define Z_UTIL_DEC_1930 1929
#define Z_UTIL_DEC_1931 1930
#define Z_UTIL_DEC_1932 1931
#define Z_UTIL_DEC_1933 1932
#define Z_UTIL_DEC_1934 1933
#define Z_UTIL_DEC_1935 1934
#define Z_UTIL_DEC_1936 1935
#define Z_UTIL_DEC_1937 1936
#define Z_UTIL_DEC_1938 1937
#define Z_UTIL_DEC_1939 1938
#define Z_UTIL_DEC_1940 1939
#define Z_UTIL_DEC_1941 1940
#define Z_UTIL_DEC_1942 1941
#define Z_UTIL_DEC_1943 1942
#define Z_UTIL_DEC_1944 1943
#define Z_UTIL_DEC_1945 1944
#define Z_UTIL_DEC_1946 1945
#define Z_UTIL_DEC_1947 1946
#define Z_UTIL_DEC_1948 1947
#define Z_UTIL_DEC_1949 1948
#define Z_UTIL_DEC_1950 1949
#define Z_UTIL_DEC_1951 1950
#define Z_UTIL_DEC_1952 1951
#define Z_UTIL_DEC_1953 1952
#define Z_UTIL_DEC_1954 1953
#define Z_UTIL_DEC_1955 1954
#define Z_UTIL_DEC_1956 1955
#define Z_UTIL_DEC_1957 1956
#define Z_UTIL_DEC_1958 1957
#define Z_UTIL_DEC_1959 1958
#define Z_UTIL_DEC_1960 1959
#define Z_UTIL_DEC_1961 1960
#define Z_UTIL_DEC_1962 1961
#define Z_UTIL_DEC_1963 1962
#define Z_UTIL_DEC_1964 1963
#define Z_UTIL_DEC_1965 1964
#define Z_UTIL_DEC_1966 1965
#define Z_UTIL_DEC_1967 1966
#define Z_UTIL_DEC_1968 1967
#define Z_UTIL_DEC_1969 1968
#define Z_UTIL_DEC_1970 1969
#define Z_UTIL_DEC_1971 1970
#define Z_UTIL_DEC_1972 1971
#define Z_UTIL_DEC_1973 1972
#define Z_UTIL_DEC_1974 1973
#define Z_UTIL_DEC_1975 1974
#define Z_UTIL_DEC_1976 1975
#define Z_UTIL_DEC_1977 1976
#define Z_UTIL_DEC_1978 1977
#define Z_UTIL_DEC_1979 1978
#define Z_UTIL_DEC_1980 1979
#define Z_UTIL_DEC_1981 1980
#define Z_UTIL_DEC_1982 1981
#define Z_UTIL_DEC_1983 1982
#define Z_UTIL_DEC_1984 1983
#define Z_UTIL_DEC_1985 1984
#define Z_UTIL_DEC_1986 1985
#define Z_UTIL_DEC_1987 1986
#define Z_UTIL_DEC_1988 1987
#define Z_UTIL_DEC_1989 1988
#define Z_UTIL_DEC_1990 1989
#define Z_UTIL_DEC_1991 1990
#define Z_UTIL_DEC_1992 1991
#define Z_UTIL_DEC_1993 1992
#define Z_UTIL_DEC_1994 1993
#define Z_UTIL_DEC_1995 1994
#define Z_UTIL_DEC_1996 1995
#define Z_UTIL_DEC_1997 1996
#define Z_UTIL_DEC_1998 1997
#define Z_UTIL_DEC_1999 1998
#define Z_UTIL_DEC_2000 1999
#define Z_UTIL_DEC_2001 2000
#define Z_UTIL_DEC_2002 2001
#define Z_UTIL_DEC_2003 2002
#define Z_UTIL_DEC_2004 2003
#define Z_UTIL_DEC_2005 2004
#define Z_UTIL_DEC_2006 2005
#define Z_UTIL_DEC_2007 2006
#define Z_UTIL_DEC_2008 2007
#define Z_UTIL_DEC_2009 2008
#define Z_UTIL_DEC_2010 2009
#define Z_UTIL_DEC_2011 2010
#define Z_UTIL_DEC_2012 2011
#define Z_UTIL_DEC_2013 2012
#define Z_UTIL_DEC_2014 2013
#define Z_UTIL_DEC_2015 2014
#define Z_UTIL_DEC_2016 2015
#define Z_UTIL_DEC_2017 2016
#define Z_UTIL_DEC_2018 2017
#define Z_UTIL_DEC_2019 2018
#define Z_UTIL_DEC_2020 2019
#define Z_UTIL_DEC_2021 2020
#define Z_UTIL_DEC_2022 2021
#define Z_UTIL_DEC_2023 2022
#define Z_UTIL_DEC_2024 2023
#define Z_UTIL_DEC_2025 2024
#define Z_UTIL_DEC_2026 2025
#define Z_UTIL_DEC_2027 2026
#define Z_UTIL_DEC_2028 2027
#define Z_UTIL_DEC_2029 2028
#define Z_UTIL_DEC_2030 2029
#define Z_UTIL_DEC_2031 2030
#define Z_UTIL_DEC_2032 2031
#define Z_UTIL_DEC_2033 2032
#define Z_UTIL_DEC_2034 2033
#define Z_UTIL_DEC_2035 2034
#define Z_UTIL_DEC_2036 2035
#define Z_UTIL_DEC_2037 2036
#define Z_UTIL_DEC_2038 2037
#define Z_UTIL_DEC_2039 2038
#define Z_UTIL_DEC_2040 2039
#define Z_UTIL_DEC_2041 2040
#define Z_UTIL_DEC_2042 2041
#define Z_UTIL_DEC_2043 2042
#define Z_UTIL_DEC_2044 2043
#define Z_UTIL_DEC_2045 2044
#define Z_UTIL_DEC_2046 2045
#define Z_UTIL_DEC_2047 2046
#define Z_UTIL_DEC_2048 2047
#define Z_UTIL_DEC_2049 2048
#define Z_UTIL_DEC_2050 2049
#define Z_UTIL_DEC_2051 2050
#define Z_UTIL_DEC_2052 2051
#define Z_UTIL_DEC_2053 2052
#define Z_UTIL_DEC_2054 2053
#define Z_UTIL_DEC_2055 2054
#define Z_UTIL_DEC_2056 2055
#define Z_UTIL_DEC_2057 2056
#define Z_UTIL_DEC_2058 2057
#define Z_UTIL_DEC_2059 2058
#define Z_UTIL_DEC_2060 2059
#define Z_UTIL_DEC_2061 2060
#define Z_UTIL_DEC_2062 2061
#define Z_UTIL_DEC_2063 2062
#define Z_UTIL_DEC_2064 2063
#define Z_UTIL_DEC_2065 2064
#define Z_UTIL_DEC_2066 2065
#define Z_UTIL_DEC_2067 2066
#define Z_UTIL_DEC_2068 2067
#define Z_UTIL_DEC_2069 2068
#define Z_UTIL_DEC_2070 2069
#define Z_UTIL_DEC_2071 2070
#define Z_UTIL_DEC_2072 2071
#define Z_UTIL_DEC_2073 2072
#define Z_UTIL_DEC_2074 2073
#define Z_UTIL_DEC_2075 2074
#define Z_UTIL_DEC_2076 2075
#define Z_UTIL_DEC_2077 2076
#define Z_UTIL_DEC_2078 2077
#define Z_UTIL_DEC_2079 2078
#define Z_UTIL_DEC_2080 2079
#define Z_UTIL_DEC_2081 2080
#define Z_UTIL_DEC_2082 2081
#define Z_UTIL_DEC_2083 2082
#define Z_UTIL_DEC_2084 2083
#define Z_UTIL_DEC_2085 2084
#define Z_UTIL_DEC_2086 2085
#define Z_UTIL_DEC_2087 2086
#define Z_UTIL_DEC_2088 2087
#define Z_UTIL_DEC_2089 2088
#define Z_UTIL_DEC_2090 2089
#define Z_UTIL_DEC_2091 2090
#define Z_UTIL_DEC_2092 2091
#define Z_UTIL_DEC_2093 2092
#define Z_UTIL_DEC_2094 2093
#define Z_UTIL_DEC_2095 2094
#define Z_UTIL_DEC_2096 2095
#define Z_UTIL_DEC_2097 2096
#define Z_UTIL_DEC_2098 2097
#define Z_UTIL_DEC_2099 2098
#define Z_UTIL_DEC_2100 2099
#define Z_UTIL_DEC_2101 2100
#define Z_UTIL_DEC_2102 2101
#define Z_UTIL_DEC_2103 2102
#define Z_UTIL_DEC_2104 2103
#define Z_UTIL_DEC_2105 2104
#define Z_UTIL_DEC_2106 2105
#define Z_UTIL_DEC_2107 2106
#define Z_UTIL_DEC_2108 2107
#define Z_UTIL_DEC_2109 2108
#define Z_UTIL_DEC_2110 2109
#define Z_UTIL_DEC_2111 2110
#define Z_UTIL_DEC_2112 2111
#define Z_UTIL_DEC_2113 2112
#define Z_UTIL_DEC_2114 2113
#define Z_UTIL_DEC_2115 2114
#define Z_UTIL_DEC_2116 2115
#define Z_UTIL_DEC_2117 2116
#define Z_UTIL_DEC_2118 2117
#define Z_UTIL_DEC_2119 2118
#define Z_UTIL_DEC_2120 2119
#define Z_UTIL_DEC_2121 2120
#define Z_UTIL_DEC_2122 2121
#define Z_UTIL_DEC_2123 2122
#define Z_UTIL_DEC_2124 2123
#define Z_UTIL_DEC_2125 2124
#define Z_UTIL_DEC_2126 2125
#define Z_UTIL_DEC_2127 2126
#define Z_UTIL_DEC_2128 2127
#define Z_UTIL_DEC_2129 2128
#define Z_UTIL_DEC_2130 2129
#define Z_UTIL_DEC_2131 2130
#define Z_UTIL_DEC_2132 2131
#define Z_UTIL_DEC_2133 2132
#define Z_UTIL_DEC_2134 2133
#define Z_UTIL_DEC_2135 2134
#define Z_UTIL_DEC_2136 2135
#define Z_UTIL_DEC_2137 2136
#define Z_UTIL_DEC_2138 2137
#define Z_UTIL_DEC_2139 2138
#define Z_UTIL_DEC_2140 2139
#define Z_UTIL_DEC_2141 2140
#define Z_UTIL_DEC_2142 2141
#define Z_UTIL_DEC_2143 2142
#define Z_UTIL_DEC_2144 2143
#define Z_UTIL_DEC_2145 2144
#define Z_UTIL_DEC_2146 2145
#define Z_UTIL_DEC_2147 2146
#define Z_UTIL_DEC_2148 2147
#define Z_UTIL_DEC_2149 2148
#define Z_UTIL_DEC_2150 2149
#define Z_UTIL_DEC_2151 2150
#define Z_UTIL_DEC_2152 2151
#define Z_UTIL_DEC_2153 2152
#define Z_UTIL_DEC_2154 2153
#define Z_UTIL_DEC_2155 2154
#define Z_UTIL_DEC_2156 2155
#define Z_UTIL_DEC_2157 2156
#define Z_UTIL_DEC_2158 2157
#define Z_UTIL_DEC_2159 2158
#define Z_UTIL_DEC_2160 2159
#define Z_UTIL_DEC_2161 2160
#define Z_UTIL_DEC_2162 2161
#define Z_UTIL_DEC_2163 2162
#define Z_UTIL_DEC_2164 2163
#define Z_UTIL_DEC_2165 2164
#define Z_UTIL_DEC_2166 2165
#define Z_UTIL_DEC_2167 2166
#define Z_UTIL_DEC_2168 2167
#define Z_UTIL_DEC_2169 2168
#define Z_UTIL_DEC_2170 2169
#define Z_UTIL_DEC_2171 2170
#define Z_UTIL_DEC_2172 2171
#define Z_UTIL_DEC_2173 2172
#define Z_UTIL_DEC_2174 2173
#define Z_UTIL_DEC_2175 2174
#define Z_UTIL_DEC_2176 2175
#define Z_UTIL_DEC_2177 2176
#define Z_UTIL_DEC_2178 2177
#define Z_UTIL_DEC_2179 2178
#define Z_UTIL_DEC_2180 2179
#define Z_UTIL_DEC_2181 2180
#define Z_UTIL_DEC_2182 2181
#define Z_UTIL_DEC_2183 2182
#define Z_UTIL_DEC_2184 2183
#define Z_UTIL_DEC_2185 2184
#define Z_UTIL_DEC_2186 2185
#define Z_UTIL_DEC_2187 2186
#define Z_UTIL_DEC_2188 2187
#define Z_UTIL_DEC_2189 2188
#define Z_UTIL_DEC_2190 2189
#define Z_UTIL_DEC_2191 2190
#define Z_UTIL_DEC_2192 2191
#define Z_UTIL_DEC_2193 2192
#define Z_UTIL_DEC_2194 2193
#define Z_UTIL_DEC_2195 2194
#define Z_UTIL_DEC_2196 2195
#define Z_UTIL_DEC_2197 2196
#define Z_UTIL_DEC_2198 2197
#define Z_UTIL_DEC_2199 2198
#define Z_UTIL_DEC_2200 2199
#define Z_UTIL_DEC_2201 2200
#define Z_UTIL_DEC_2202 2201
#define Z_UTIL_DEC_2203 2202
#define Z_UTIL_DEC_2204 2203
#define Z_UTIL_DEC_2205 2204
#define Z_UTIL_DEC_2206 2205
#define Z_UTIL_DEC_2207 2206
#define Z_UTIL_DEC_2208 2207
#define Z_UTIL_DEC_2209 2208
#define Z_UTIL_DEC_2210 2209
#define Z_UTIL_DEC_2211 2210
#define Z_UTIL_DEC_2212 2211
#define Z_UTIL_DEC_2213 2212
#define Z_UTIL_DEC_2214 2213
#define Z_UTIL_DEC_2215 2214
#define Z_UTIL_DEC_2216 2215
#define Z_UTIL_DEC_2217 2216
#define Z_UTIL_DEC_2218 2217
#define Z_UTIL_DEC_2219 2218
#define Z_UTIL_DEC_2220 2219
#define Z_UTIL_DEC_2221 2220
#define Z_UTIL_DEC_2222 2221
#define Z_UTIL_DEC_2223 2222
#define Z_UTIL_DEC_2224 2223
#define Z_UTIL_DEC_2225 2224
#define Z_UTIL_DEC_2226 2225
#define Z_UTIL_DEC_2227 2226
#define Z_UTIL_DEC_2228 2227
#define Z_UTIL_DEC_2229 2228
#define Z_UTIL_DEC_2230 2229
#define Z_UTIL_DEC_2231 2230
#define Z_UTIL_DEC_2232 2231
#define Z_UTIL_DEC_2233 2232
#define Z_UTIL_DEC_2234 2233
#define Z_UTIL_DEC_2235 2234
#define Z_UTIL_DEC_2236 2235
#define Z_UTIL_DEC_2237 2236
#define Z_UTIL_DEC_2238 2237
#define Z_UTIL_DEC_2239 2238
#define Z_UTIL_DEC_2240 2239
#define Z_UTIL_DEC_2241 2240
#define Z_UTIL_DEC_2242 2241
#define Z_UTIL_DEC_2243 2242
#define Z_UTIL_DEC_2244 2243
#define Z_UTIL_DEC_2245 2244
#define Z_UTIL_DEC_2246 2245
#define Z_UTIL_DEC_2247 2246
#define Z_UTIL_DEC_2248 2247
#define Z_UTIL_DEC_2249 2248
#define Z_UTIL_DEC_2250 2249
#define Z_UTIL_DEC_2251 2250
#define Z_UTIL_DEC_2252 2251
#define Z_UTIL_DEC_2253 2252
#define Z_UTIL_DEC_2254 2253
#define Z_UTIL_DEC_2255 2254
#define Z_UTIL_DEC_2256 2255
#define Z_UTIL_DEC_2257 2256
#define Z_UTIL_DEC_2258 2257
#define Z_UTIL_DEC_2259 2258
#define Z_UTIL_DEC_2260 2259
#define Z_UTIL_DEC_2261 2260
#define Z_UTIL_DEC_2262 2261
#define Z_UTIL_DEC_2263 2262
#define Z_UTIL_DEC_2264 2263
#define Z_UTIL_DEC_2265 2264
#define Z_UTIL_DEC_2266 2265
#define Z_UTIL_DEC_2267 2266
#define Z_UTIL_DEC_2268 2267
#define Z_UTIL_DEC_2269 2268
#define Z_UTIL_DEC_2270 2269
#define Z_UTIL_DEC_2271 2270
#define Z_UTIL_DEC_2272 2271
#define Z_UTIL_DEC_2273 2272
#define Z_UTIL_DEC_2274 2273
#define Z_UTIL_DEC_2275 2274
#define Z_UTIL_DEC_2276 2275
#define Z_UTIL_DEC_2277 2276
#define Z_UTIL_DEC_2278 2277
#define Z_UTIL_DEC_2279 2278
#define Z_UTIL_DEC_2280 2279
#define Z_UTIL_DEC_2281 2280
#define Z_UTIL_DEC_2282 2281
#define Z_UTIL_DEC_2283 2282
#define Z_UTIL_DEC_2284 2283
#define Z_UTIL_DEC_2285 2284
#define Z_UTIL_DEC_2286 2285
#define Z_UTIL_DEC_2287 2286
#define Z_UTIL_DEC_2288 2287
#define Z_UTIL_DEC_2289 2288
#define Z_UTIL_DEC_2290 2289
#define Z_UTIL_DEC_2291 2290
#define Z_UTIL_DEC_2292 2291
#define Z_UTIL_DEC_2293 2292
#define Z_UTIL_DEC_2294 2293
#define Z_UTIL_DEC_2295 2294
#define Z_UTIL_DEC_2296 2295
#define Z_UTIL_DEC_2297 2296
#define Z_UTIL_DEC_2298 2297
#define Z_UTIL_DEC_2299 2298
#define Z_UTIL_DEC_2300 2299
#define Z_UTIL_DEC_2301 2300
#define Z_UTIL_DEC_2302 2301
#define Z_UTIL_DEC_2303 2302
#define Z_UTIL_DEC_2304 2303
#define Z_UTIL_DEC_2305 2304
#define Z_UTIL_DEC_2306 2305
#define Z_UTIL_DEC_2307 2306
#define Z_UTIL_DEC_2308 2307
#define Z_UTIL_DEC_2309 2308
#define Z_UTIL_DEC_2310 2309
#define Z_UTIL_DEC_2311 2310
#define Z_UTIL_DEC_2312 2311
#define Z_UTIL_DEC_2313 2312
#define Z_UTIL_DEC_2314 2313
#define Z_UTIL_DEC_2315 2314
#define Z_UTIL_DEC_2316 2315
#define Z_UTIL_DEC_2317 2316
#define Z_UTIL_DEC_2318 2317
#define Z_UTIL_DEC_2319 2318
#define Z_UTIL_DEC_2320 2319
#define Z_UTIL_DEC_2321 2320
#define Z_UTIL_DEC_2322 2321
#define Z_UTIL_DEC_2323 2322
#define Z_UTIL_DEC_2324 2323
#define Z_UTIL_DEC_2325 2324
#define Z_UTIL_DEC_2326 2325
#define Z_UTIL_DEC_2327 2326
#define Z_UTIL_DEC_2328 2327
#define Z_UTIL_DEC_2329 2328
#define Z_UTIL_DEC_2330 2329
#define Z_UTIL_DEC_2331 2330
#define Z_UTIL_DEC_2332 2331
#define Z_UTIL_DEC_2333 2332
#define Z_UTIL_DEC_2334 2333
#define Z_UTIL_DEC_2335 2334
#define Z_UTIL_DEC_2336 2335
#define Z_UTIL_DEC_2337 2336
#define Z_UTIL_DEC_2338 2337
#define Z_UTIL_DEC_2339 2338
#define Z_UTIL_DEC_2340 2339
#define Z_UTIL_DEC_2341 2340
#define Z_UTIL_DEC_2342 2341
#define Z_UTIL_DEC_2343 2342
#define Z_UTIL_DEC_2344 2343
#define Z_UTIL_DEC_2345 2344
#define Z_UTIL_DEC_2346 2345
#define Z_UTIL_DEC_2347 2346
#define Z_UTIL_DEC_2348 2347
#define Z_UTIL_DEC_2349 2348
#define Z_UTIL_DEC_2350 2349
#define Z_UTIL_DEC_2351 2350
#define Z_UTIL_DEC_2352 2351
#define Z_UTIL_DEC_2353 2352
#define Z_UTIL_DEC_2354 2353
#define Z_UTIL_DEC_2355 2354
#define Z_UTIL_DEC_2356 2355
#define Z_UTIL_DEC_2357 2356
#define Z_UTIL_DEC_2358 2357
#define Z_UTIL_DEC_2359 2358
#define Z_UTIL_DEC_2360 2359
#define Z_UTIL_DEC_2361 2360
#define Z_UTIL_DEC_2362 2361
#define Z_UTIL_DEC_2363 2362
#define Z_UTIL_DEC_2364 2363
#define Z_UTIL_DEC_2365 2364
#define Z_UTIL_DEC_2366 2365
#define Z_UTIL_DEC_2367 2366
#define Z_UTIL_DEC_2368 2367
#define Z_UTIL_DEC_2369 2368
#define Z_UTIL_DEC_2370 2369
#define Z_UTIL_DEC_2371 2370
#define Z_UTIL_DEC_2372 2371
#define Z_UTIL_DEC_2373 2372
#define Z_UTIL_DEC_2374 2373
#define Z_UTIL_DEC_2375 2374
#define Z_UTIL_DEC_2376 2375
#define Z_UTIL_DEC_2377 2376
#define Z_UTIL_DEC_2378 2377
#define Z_UTIL_DEC_2379 2378
#define Z_UTIL_DEC_2380 2379
#define Z_UTIL_DEC_2381 2380
#define Z_UTIL_DEC_2382 2381
#define Z_UTIL_DEC_2383 2382
#define Z_UTIL_DEC_2384 2383
#define Z_UTIL_DEC_2385 2384
#define Z_UTIL_DEC_2386 2385
#define Z_UTIL_DEC_2387 2386
#define Z_UTIL_DEC_2388 2387
#define Z_UTIL_DEC_2389 2388
#define Z_UTIL_DEC_2390 2389
#define Z_UTIL_DEC_2391 2390
#define Z_UTIL_DEC_2392 2391
#define Z_UTIL_DEC_2393 2392
#define Z_UTIL_DEC_2394 2393
#define Z_UTIL_DEC_2395 2394
#define Z_UTIL_DEC_2396 2395
#define Z_UTIL_DEC_2397 2396
#define Z_UTIL_DEC_2398 2397
#define Z_UTIL_DEC_2399 2398
#define Z_UTIL_DEC_2400 2399
#define Z_UTIL_DEC_2401 2400
#define Z_UTIL_DEC_2402 2401
#define Z_UTIL_DEC_2403 2402
#define Z_UTIL_DEC_2404 2403
#define Z_UTIL_DEC_2405 2404
#define Z_UTIL_DEC_2406 2405
#define Z_UTIL_DEC_2407 2406
#define Z_UTIL_DEC_2408 2407
#define Z_UTIL_DEC_2409 2408
#define Z_UTIL_DEC_2410 2409
#define Z_UTIL_DEC_2411 2410
#define Z_UTIL_DEC_2412 2411
#define Z_UTIL_DEC_2413 2412
#define Z_UTIL_DEC_2414 2413
#define Z_UTIL_DEC_2415 2414
#define Z_UTIL_DEC_2416 2415
#define Z_UTIL_DEC_2417 2416
#define Z_UTIL_DEC_2418 2417
#define Z_UTIL_DEC_2419 2418
#define Z_UTIL_DEC_2420 2419
#define Z_UTIL_DEC_2421 2420
#define Z_UTIL_DEC_2422 2421
#define Z_UTIL_DEC_2423 2422
#define Z_UTIL_DEC_2424 2423
#define Z_UTIL_DEC_2425 2424
#define Z_UTIL_DEC_2426 2425
#define Z_UTIL_DEC_2427 2426
#define Z_UTIL_DEC_2428 2427
#define Z_UTIL_DEC_2429 2428
#define Z_UTIL_DEC_2430 2429
#define Z_UTIL_DEC_2431 2430
#define Z_UTIL_DEC_2432 2431
#define Z_UTIL_DEC_2433 2432
#define Z_UTIL_DEC_2434 2433
#define Z_UTIL_DEC_2435 2434
#define Z_UTIL_DEC_2436 2435
#define Z_UTIL_DEC_2437 2436
#define Z_UTIL_DEC_2438 2437
#define Z_UTIL_DEC_2439 2438
#define Z_UTIL_DEC_2440 2439
#define Z_UTIL_DEC_2441 2440
#define Z_UTIL_DEC_2442 2441
#define Z_UTIL_DEC_2443 2442
#define Z_UTIL_DEC_2444 2443
#define Z_UTIL_DEC_2445 2444
#define Z_UTIL_DEC_2446 2445
#define Z_UTIL_DEC_2447 2446
#define Z_UTIL_DEC_2448 2447
#define Z_UTIL_DEC_2449 2448
#define Z_UTIL_DEC_2450 2449
#define Z_UTIL_DEC_2451 2450
#define Z_UTIL_DEC_2452 2451
#define Z_UTIL_DEC_2453 2452
#define Z_UTIL_DEC_2454 2453
#define Z_UTIL_DEC_2455 2454
#define Z_UTIL_DEC_2456 2455
#define Z_UTIL_DEC_2457 2456
#define Z_UTIL_DEC_2458 2457
#define Z_UTIL_DEC_2459 2458
#define Z_UTIL_DEC_2460 2459
#define Z_UTIL_DEC_2461 2460
#define Z_UTIL_DEC_2462 2461
#define Z_UTIL_DEC_2463 2462
#define Z_UTIL_DEC_2464 2463
#define Z_UTIL_DEC_2465 2464
#define Z_UTIL_DEC_2466 2465
#define Z_UTIL_DEC_2467 2466
#define Z_UTIL_DEC_2468 2467
#define Z_UTIL_DEC_2469 2468
#define Z_UTIL_DEC_2470 2469
#define Z_UTIL_DEC_2471 2470
#define Z_UTIL_DEC_2472 2471
#define Z_UTIL_DEC_2473 2472
#define Z_UTIL_DEC_2474 2473
#define Z_UTIL_DEC_2475 2474
#define Z_UTIL_DEC_2476 2475
#define Z_UTIL_DEC_2477 2476
#define Z_UTIL_DEC_2478 2477
#define Z_UTIL_DEC_2479 2478
#define Z_UTIL_DEC_2480 2479
#define Z_UTIL_DEC_2481 2480
#define Z_UTIL_DEC_2482 2481
#define Z_UTIL_DEC_2483 2482
#define Z_UTIL_DEC_2484 2483
#define Z_UTIL_DEC_2485 2484
#define Z_UTIL_DEC_2486 2485
#define Z_UTIL_DEC_2487 2486
#define Z_UTIL_DEC_2488 2487
#define Z_UTIL_DEC_2489 2488
#define Z_UTIL_DEC_2490 2489
#define Z_UTIL_DEC_2491 2490
#define Z_UTIL_DEC_2492 2491
#define Z_UTIL_DEC_2493 2492
#define Z_UTIL_DEC_2494 2493
#define Z_UTIL_DEC_2495 2494
#define Z_UTIL_DEC_2496 2495
#define Z_UTIL_DEC_2497 2496
#define Z_UTIL_DEC_2498 2497
#define Z_UTIL_DEC_2499 2498
#define Z_UTIL_DEC_2500 2499
#define Z_UTIL_DEC_2501 2500
#define Z_UTIL_DEC_2502 2501
#define Z_UTIL_DEC_2503 2502
#define Z_UTIL_DEC_2504 2503
#define Z_UTIL_DEC_2505 2504
#define Z_UTIL_DEC_2506 2505
#define Z_UTIL_DEC_2507 2506
#define Z_UTIL_DEC_2508 2507
#define Z_UTIL_DEC_2509 2508
#define Z_UTIL_DEC_2510 2509
#define Z_UTIL_DEC_2511 2510
#define Z_UTIL_DEC_2512 2511
#define Z_UTIL_DEC_2513 2512
#define Z_UTIL_DEC_2514 2513
#define Z_UTIL_DEC_2515 2514
#define Z_UTIL_DEC_2516 2515
#define Z_UTIL_DEC_2517 2516
#define Z_UTIL_DEC_2518 2517
#define Z_UTIL_DEC_2519 2518
#define Z_UTIL_DEC_2520 2519
#define Z_UTIL_DEC_2521 2520
#define Z_UTIL_DEC_2522 2521
#define Z_UTIL_DEC_2523 2522
#define Z_UTIL_DEC_2524 2523
#define Z_UTIL_DEC_2525 2524
#define Z_UTIL_DEC_2526 2525
#define Z_UTIL_DEC_2527 2526
#define Z_UTIL_DEC_2528 2527
#define Z_UTIL_DEC_2529 2528
#define Z_UTIL_DEC_2530 2529
#define Z_UTIL_DEC_2531 2530
#define Z_UTIL_DEC_2532 2531
#define Z_UTIL_DEC_2533 2532
#define Z_UTIL_DEC_2534 2533
#define Z_UTIL_DEC_2535 2534
#define Z_UTIL_DEC_2536 2535
#define Z_UTIL_DEC_2537 2536
#define Z_UTIL_DEC_2538 2537
#define Z_UTIL_DEC_2539 2538
#define Z_UTIL_DEC_2540 2539
#define Z_UTIL_DEC_2541 2540
#define Z_UTIL_DEC_2542 2541
#define Z_UTIL_DEC_2543 2542
#define Z_UTIL_DEC_2544 2543
#define Z_UTIL_DEC_2545 2544
#define Z_UTIL_DEC_2546 2545
#define Z_UTIL_DEC_2547 2546
#define Z_UTIL_DEC_2548 2547
#define Z_UTIL_DEC_2549 2548
#define Z_UTIL_DEC_2550 2549
#define Z_UTIL_DEC_2551 2550
#define Z_UTIL_DEC_2552 2551
#define Z_UTIL_DEC_2553 2552
#define Z_UTIL_DEC_2554 2553
#define Z_UTIL_DEC_2555 2554
#define Z_UTIL_DEC_2556 2555
#define Z_UTIL_DEC_2557 2556
#define Z_UTIL_DEC_2558 2557
#define Z_UTIL_DEC_2559 2558
#define Z_UTIL_DEC_2560 2559
#define Z_UTIL_DEC_2561 2560
#define Z_UTIL_DEC_2562 2561
#define Z_UTIL_DEC_2563 2562
#define Z_UTIL_DEC_2564 2563
#define Z_UTIL_DEC_2565 2564
#define Z_UTIL_DEC_2566 2565
#define Z_UTIL_DEC_2567 2566
#define Z_UTIL_DEC_2568 2567
#define Z_UTIL_DEC_2569 2568
#define Z_UTIL_DEC_2570 2569
#define Z_UTIL_DEC_2571 2570
#define Z_UTIL_DEC_2572 2571
#define Z_UTIL_DEC_2573 2572
#define Z_UTIL_DEC_2574 2573
#define Z_UTIL_DEC_2575 2574
#define Z_UTIL_DEC_2576 2575
#define Z_UTIL_DEC_2577 2576
#define Z_UTIL_DEC_2578 2577
#define Z_UTIL_DEC_2579 2578
#define Z_UTIL_DEC_2580 2579
#define Z_UTIL_DEC_2581 2580
#define Z_UTIL_DEC_2582 2581
#define Z_UTIL_DEC_2583 2582
#define Z_UTIL_DEC_2584 2583
#define Z_UTIL_DEC_2585 2584
#define Z_UTIL_DEC_2586 2585
#define Z_UTIL_DEC_2587 2586
#define Z_UTIL_DEC_2588 2587
#define Z_UTIL_DEC_2589 2588
#define Z_UTIL_DEC_2590 2589
#define Z_UTIL_DEC_2591 2590
#define Z_UTIL_DEC_2592 2591
#define Z_UTIL_DEC_2593 2592
#define Z_UTIL_DEC_2594 2593
#define Z_UTIL_DEC_2595 2594
#define Z_UTIL_DEC_2596 2595
#define Z_UTIL_DEC_2597 2596
#define Z_UTIL_DEC_2598 2597
#define Z_UTIL_DEC_2599 2598
#define Z_UTIL_DEC_2600 2599
#define Z_UTIL_DEC_2601 2600
#define Z_UTIL_DEC_2602 2601
#define Z_UTIL_DEC_2603 2602
#define Z_UTIL_DEC_2604 2603
#define Z_UTIL_DEC_2605 2604
#define Z_UTIL_DEC_2606 2605
#define Z_UTIL_DEC_2607 2606
#define Z_UTIL_DEC_2608 2607
#define Z_UTIL_DEC_2609 2608
#define Z_UTIL_DEC_2610 2609
#define Z_UTIL_DEC_2611 2610
#define Z_UTIL_DEC_2612 2611
#define Z_UTIL_DEC_2613 2612
#define Z_UTIL_DEC_2614 2613
#define Z_UTIL_DEC_2615 2614
#define Z_UTIL_DEC_2616 2615
#define Z_UTIL_DEC_2617 2616
#define Z_UTIL_DEC_2618 2617
#define Z_UTIL_DEC_2619 2618
#define Z_UTIL_DEC_2620 2619
#define Z_UTIL_DEC_2621 2620
#define Z_UTIL_DEC_2622 2621
#define Z_UTIL_DEC_2623 2622
#define Z_UTIL_DEC_2624 2623
#define Z_UTIL_DEC_2625 2624
#define Z_UTIL_DEC_2626 2625
#define Z_UTIL_DEC_2627 2626
#define Z_UTIL_DEC_2628 2627
#define Z_UTIL_DEC_2629 2628
#define Z_UTIL_DEC_2630 2629
#define Z_UTIL_DEC_2631 2630
#define Z_UTIL_DEC_2632 2631
#define Z_UTIL_DEC_2633 2632
#define Z_UTIL_DEC_2634 2633
#define Z_UTIL_DEC_2635 2634
#define Z_UTIL_DEC_2636 2635
#define Z_UTIL_DEC_2637 2636
#define Z_UTIL_DEC_2638 2637
#define Z_UTIL_DEC_2639 2638
#define Z_UTIL_DEC_2640 2639
#define Z_UTIL_DEC_2641 2640
#define Z_UTIL_DEC_2642 2641
#define Z_UTIL_DEC_2643 2642
#define Z_UTIL_DEC_2644 2643
#define Z_UTIL_DEC_2645 2644
#define Z_UTIL_DEC_2646 2645
#define Z_UTIL_DEC_2647 2646
#define Z_UTIL_DEC_2648 2647
#define Z_UTIL_DEC_2649 2648
#define Z_UTIL_DEC_2650 2649
#define Z_UTIL_DEC_2651 2650
#define Z_UTIL_DEC_2652 2651
#define Z_UTIL_DEC_2653 2652
#define Z_UTIL_DEC_2654 2653
#define Z_UTIL_DEC_2655 2654
#define Z_UTIL_DEC_2656 2655
#define Z_UTIL_DEC_2657 2656
#define Z_UTIL_DEC_2658 2657
#define Z_UTIL_DEC_2659 2658
#define Z_UTIL_DEC_2660 2659
#define Z_UTIL_DEC_2661 2660
#define Z_UTIL_DEC_2662 2661
#define Z_UTIL_DEC_2663 2662
#define Z_UTIL_DEC_2664 2663
#define Z_UTIL_DEC_2665 2664
#define Z_UTIL_DEC_2666 2665
#define Z_UTIL_DEC_2667 2666
#define Z_UTIL_DEC_2668 2667
#define Z_UTIL_DEC_2669 2668
#define Z_UTIL_DEC_2670 2669
#define Z_UTIL_DEC_2671 2670
#define Z_UTIL_DEC_2672 2671
#define Z_UTIL_DEC_2673 2672
#define Z_UTIL_DEC_2674 2673
#define Z_UTIL_DEC_2675 2674
#define Z_UTIL_DEC_2676 2675
#define Z_UTIL_DEC_2677 2676
#define Z_UTIL_DEC_2678 2677
#define Z_UTIL_DEC_2679 2678
#define Z_UTIL_DEC_2680 2679
#define Z_UTIL_DEC_2681 2680
#define Z_UTIL_DEC_2682 2681
#define Z_UTIL_DEC_2683 2682
#define Z_UTIL_DEC_2684 2683
#define Z_UTIL_DEC_2685 2684
#define Z_UTIL_DEC_2686 2685
#define Z_UTIL_DEC_2687 2686
#define Z_UTIL_DEC_2688 2687
#define Z_UTIL_DEC_2689 2688
#define Z_UTIL_DEC_2690 2689
#define Z_UTIL_DEC_2691 2690
#define Z_UTIL_DEC_2692 2691
#define Z_UTIL_DEC_2693 2692
#define Z_UTIL_DEC_2694 2693
#define Z_UTIL_DEC_2695 2694
#define Z_UTIL_DEC_2696 2695
#define Z_UTIL_DEC_2697 2696
#define Z_UTIL_DEC_2698 2697
#define Z_UTIL_DEC_2699 2698
#define Z_UTIL_DEC_2700 2699
#define Z_UTIL_DEC_2701 2700
#define Z_UTIL_DEC_2702 2701
#define Z_UTIL_DEC_2703 2702
#define Z_UTIL_DEC_2704 2703
#define Z_UTIL_DEC_2705 2704
#define Z_UTIL_DEC_2706 2705
#define Z_UTIL_DEC_2707 2706
#define Z_UTIL_DEC_2708 2707
#define Z_UTIL_DEC_2709 2708
#define Z_UTIL_DEC_2710 2709
#define Z_UTIL_DEC_2711 2710
#define Z_UTIL_DEC_2712 2711
#define Z_UTIL_DEC_2713 2712
#define Z_UTIL_DEC_2714 2713
#define Z_UTIL_DEC_2715 2714
#define Z_UTIL_DEC_2716 2715
#define Z_UTIL_DEC_2717 2716
#define Z_UTIL_DEC_2718 2717
#define Z_UTIL_DEC_2719 2718
#define Z_UTIL_DEC_2720 2719
#define Z_UTIL_DEC_2721 2720
#define Z_UTIL_DEC_2722 2721
#define Z_UTIL_DEC_2723 2722
#define Z_UTIL_DEC_2724 2723
#define Z_UTIL_DEC_2725 2724
#define Z_UTIL_DEC_2726 2725
#define Z_UTIL_DEC_2727 2726
#define Z_UTIL_DEC_2728 2727
#define Z_UTIL_DEC_2729 2728
#define Z_UTIL_DEC_2730 2729
#define Z_UTIL_DEC_2731 2730
#define Z_UTIL_DEC_2732 2731
#define Z_UTIL_DEC_2733 2732
#define Z_UTIL_DEC_2734 2733
#define Z_UTIL_DEC_2735 2734
#define Z_UTIL_DEC_2736 2735
#define Z_UTIL_DEC_2737 2736
#define Z_UTIL_DEC_2738 2737
#define Z_UTIL_DEC_2739 2738
#define Z_UTIL_DEC_2740 2739
#define Z_UTIL_DEC_2741 2740
#define Z_UTIL_DEC_2742 2741
#define Z_UTIL_DEC_2743 2742
#define Z_UTIL_DEC_2744 2743
#define Z_UTIL_DEC_2745 2744
#define Z_UTIL_DEC_2746 2745
#define Z_UTIL_DEC_2747 2746
#define Z_UTIL_DEC_2748 2747
#define Z_UTIL_DEC_2749 2748
#define Z_UTIL_DEC_2750 2749
#define Z_UTIL_DEC_2751 2750
#define Z_UTIL_DEC_2752 2751
#define Z_UTIL_DEC_2753 2752
#define Z_UTIL_DEC_2754 2753
#define Z_UTIL_DEC_2755 2754
#define Z_UTIL_DEC_2756 2755
#define Z_UTIL_DEC_2757 2756
#define Z_UTIL_DEC_2758 2757
#define Z_UTIL_DEC_2759 2758
#define Z_UTIL_DEC_2760 2759
#define Z_UTIL_DEC_2761 2760
#define Z_UTIL_DEC_2762 2761
#define Z_UTIL_DEC_2763 2762
#define Z_UTIL_DEC_2764 2763
#define Z_UTIL_DEC_2765 2764
#define Z_UTIL_DEC_2766 2765
#define Z_UTIL_DEC_2767 2766
#define Z_UTIL_DEC_2768 2767
#define Z_UTIL_DEC_2769 2768
#define Z_UTIL_DEC_2770 2769
#define Z_UTIL_DEC_2771 2770
#define Z_UTIL_DEC_2772 2771
#define Z_UTIL_DEC_2773 2772
#define Z_UTIL_DEC_2774 2773
#define Z_UTIL_DEC_2775 2774
#define Z_UTIL_DEC_2776 2775
#define Z_UTIL_DEC_2777 2776
#define Z_UTIL_DEC_2778 2777
#define Z_UTIL_DEC_2779 2778
#define Z_UTIL_DEC_2780 2779
#define Z_UTIL_DEC_2781 2780
#define Z_UTIL_DEC_2782 2781
#define Z_UTIL_DEC_2783 2782
#define Z_UTIL_DEC_2784 2783
#define Z_UTIL_DEC_2785 2784
#define Z_UTIL_DEC_2786 2785
#define Z_UTIL_DEC_2787 2786
#define Z_UTIL_DEC_2788 2787
#define Z_UTIL_DEC_2789 2788
#define Z_UTIL_DEC_2790 2789
#define Z_UTIL_DEC_2791 2790
#define Z_UTIL_DEC_2792 2791
#define Z_UTIL_DEC_2793 2792
#define Z_UTIL_DEC_2794 2793
#define Z_UTIL_DEC_2795 2794
#define Z_UTIL_DEC_2796 2795
#define Z_UTIL_DEC_2797 2796
#define Z_UTIL_DEC_2798 2797
#define Z_UTIL_DEC_2799 2798
#define Z_UTIL_DEC_2800 2799
#define Z_UTIL_DEC_2801 2800
#define Z_UTIL_DEC_2802 2801
#define Z_UTIL_DEC_2803 2802
#define Z_UTIL_DEC_2804 2803
#define Z_UTIL_DEC_2805 2804
#define Z_UTIL_DEC_2806 2805
#define Z_UTIL_DEC_2807 2806
#define Z_UTIL_DEC_2808 2807
#define Z_UTIL_DEC_2809 2808
#define Z_UTIL_DEC_2810 2809
#define Z_UTIL_DEC_2811 2810
#define Z_UTIL_DEC_2812 2811
#define Z_UTIL_DEC_2813 2812
#define Z_UTIL_DEC_2814 2813
#define Z_UTIL_DEC_2815 2814
#define Z_UTIL_DEC_2816 2815
#define Z_UTIL_DEC_2817 2816
#define Z_UTIL_DEC_2818 2817
#define Z_UTIL_DEC_2819 2818
#define Z_UTIL_DEC_2820 2819
#define Z_UTIL_DEC_2821 2820
#define Z_UTIL_DEC_2822 2821
#define Z_UTIL_DEC_2823 2822
#define Z_UTIL_DEC_2824 2823
#define Z_UTIL_DEC_2825 2824
#define Z_UTIL_DEC_2826 2825
#define Z_UTIL_DEC_2827 2826
#define Z_UTIL_DEC_2828 2827
#define Z_UTIL_DEC_2829 2828
#define Z_UTIL_DEC_2830 2829
#define Z_UTIL_DEC_2831 2830
#define Z_UTIL_DEC_2832 2831
#define Z_UTIL_DEC_2833 2832
#define Z_UTIL_DEC_2834 2833
#define Z_UTIL_DEC_2835 2834
#define Z_UTIL_DEC_2836 2835
#define Z_UTIL_DEC_2837 2836
#define Z_UTIL_DEC_2838 2837
#define Z_UTIL_DEC_2839 2838
#define Z_UTIL_DEC_2840 2839
#define Z_UTIL_DEC_2841 2840
#define Z_UTIL_DEC_2842 2841
#define Z_UTIL_DEC_2843 2842
#define Z_UTIL_DEC_2844 2843
#define Z_UTIL_DEC_2845 2844
#define Z_UTIL_DEC_2846 2845
#define Z_UTIL_DEC_2847 2846
#define Z_UTIL_DEC_2848 2847
#define Z_UTIL_DEC_2849 2848
#define Z_UTIL_DEC_2850 2849
#define Z_UTIL_DEC_2851 2850
#define Z_UTIL_DEC_2852 2851
#define Z_UTIL_DEC_2853 2852
#define Z_UTIL_DEC_2854 2853
#define Z_UTIL_DEC_2855 2854
#define Z_UTIL_DEC_2856 2855
#define Z_UTIL_DEC_2857 2856
#define Z_UTIL_DEC_2858 2857
#define Z_UTIL_DEC_2859 2858
#define Z_UTIL_DEC_2860 2859
#define Z_UTIL_DEC_2861 2860
#define Z_UTIL_DEC_2862 2861
#define Z_UTIL_DEC_2863 2862
#define Z_UTIL_DEC_2864 2863
#define Z_UTIL_DEC_2865 2864
#define Z_UTIL_DEC_2866 2865
#define Z_UTIL_DEC_2867 2866
#define Z_UTIL_DEC_2868 2867
#define Z_UTIL_DEC_2869 2868
#define Z_UTIL_DEC_2870 2869
#define Z_UTIL_DEC_2871 2870
#define Z_UTIL_DEC_2872 2871
#define Z_UTIL_DEC_2873 2872
#define Z_UTIL_DEC_2874 2873
#define Z_UTIL_DEC_2875 2874
#define Z_UTIL_DEC_2876 2875
#define Z_UTIL_DEC_2877 2876
#define Z_UTIL_DEC_2878 2877
#define Z_UTIL_DEC_2879 2878
#define Z_UTIL_DEC_2880 2879
#define Z_UTIL_DEC_2881 2880
#define Z_UTIL_DEC_2882 2881
#define Z_UTIL_DEC_2883 2882
#define Z_UTIL_DEC_2884 2883
#define Z_UTIL_DEC_2885 2884
#define Z_UTIL_DEC_2886 2885
#define Z_UTIL_DEC_2887 2886
#define Z_UTIL_DEC_2888 2887
#define Z_UTIL_DEC_2889 2888
#define Z_UTIL_DEC_2890 2889
#define Z_UTIL_DEC_2891 2890
#define Z_UTIL_DEC_2892 2891
#define Z_UTIL_DEC_2893 2892
#define Z_UTIL_DEC_2894 2893
#define Z_UTIL_DEC_2895 2894
#define Z_UTIL_DEC_2896 2895
#define Z_UTIL_DEC_2897 2896
#define Z_UTIL_DEC_2898 2897
#define Z_UTIL_DEC_2899 2898
#define Z_UTIL_DEC_2900 2899
#define Z_UTIL_DEC_2901 2900
#define Z_UTIL_DEC_2902 2901
#define Z_UTIL_DEC_2903 2902
#define Z_UTIL_DEC_2904 2903
#define Z_UTIL_DEC_2905 2904
#define Z_UTIL_DEC_2906 2905
#define Z_UTIL_DEC_2907 2906
#define Z_UTIL_DEC_2908 2907
#define Z_UTIL_DEC_2909 2908
#define Z_UTIL_DEC_2910 2909
#define Z_UTIL_DEC_2911 2910
#define Z_UTIL_DEC_2912 2911
#define Z_UTIL_DEC_2913 2912
#define Z_UTIL_DEC_2914 2913
#define Z_UTIL_DEC_2915 2914
#define Z_UTIL_DEC_2916 2915
#define Z_UTIL_DEC_2917 2916
#define Z_UTIL_DEC_2918 2917
#define Z_UTIL_DEC_2919 2918
#define Z_UTIL_DEC_2920 2919
#define Z_UTIL_DEC_2921 2920
#define Z_UTIL_DEC_2922 2921
#define Z_UTIL_DEC_2923 2922
#define Z_UTIL_DEC_2924 2923
#define Z_UTIL_DEC_2925 2924
#define Z_UTIL_DEC_2926 2925
#define Z_UTIL_DEC_2927 2926
#define Z_UTIL_DEC_2928 2927
#define Z_UTIL_DEC_2929 2928
#define Z_UTIL_DEC_2930 2929
#define Z_UTIL_DEC_2931 2930
#define Z_UTIL_DEC_2932 2931
#define Z_UTIL_DEC_2933 2932
#define Z_UTIL_DEC_2934 2933
#define Z_UTIL_DEC_2935 2934
#define Z_UTIL_DEC_2936 2935
#define Z_UTIL_DEC_2937 2936
#define Z_UTIL_DEC_2938 2937
#define Z_UTIL_DEC_2939 2938
#define Z_UTIL_DEC_2940 2939
#define Z_UTIL_DEC_2941 2940
#define Z_UTIL_DEC_2942 2941
#define Z_UTIL_DEC_2943 2942
#define Z_UTIL_DEC_2944 2943
#define Z_UTIL_DEC_2945 2944
#define Z_UTIL_DEC_2946 2945
#define Z_UTIL_DEC_2947 2946
#define Z_UTIL_DEC_2948 2947
#define Z_UTIL_DEC_2949 2948
#define Z_UTIL_DEC_2950 2949
#define Z_UTIL_DEC_2951 2950
#define Z_UTIL_DEC_2952 2951
#define Z_UTIL_DEC_2953 2952
#define Z_UTIL_DEC_2954 2953
#define Z_UTIL_DEC_2955 2954
#define Z_UTIL_DEC_2956 2955
#define Z_UTIL_DEC_2957 2956
#define Z_UTIL_DEC_2958 2957
#define Z_UTIL_DEC_2959 2958
#define Z_UTIL_DEC_2960 2959
#define Z_UTIL_DEC_2961 2960
#define Z_UTIL_DEC_2962 2961
#define Z_UTIL_DEC_2963 2962
#define Z_UTIL_DEC_2964 2963
#define Z_UTIL_DEC_2965 2964
#define Z_UTIL_DEC_2966 2965
#define Z_UTIL_DEC_2967 2966
#define Z_UTIL_DEC_2968 2967
#define Z_UTIL_DEC_2969 2968
#define Z_UTIL_DEC_2970 2969
#define Z_UTIL_DEC_2971 2970
#define Z_UTIL_DEC_2972 2971
#define Z_UTIL_DEC_2973 2972
#define Z_UTIL_DEC_2974 2973
#define Z_UTIL_DEC_2975 2974
#define Z_UTIL_DEC_2976 2975
#define Z_UTIL_DEC_2977 2976
#define Z_UTIL_DEC_2978 2977
#define Z_UTIL_DEC_2979 2978
#define Z_UTIL_DEC_2980 2979
#define Z_UTIL_DEC_2981 2980
#define Z_UTIL_DEC_2982 2981
#define Z_UTIL_DEC_2983 2982
#define Z_UTIL_DEC_2984 2983
#define Z_UTIL_DEC_2985 2984
#define Z_UTIL_DEC_2986 2985
#define Z_UTIL_DEC_2987 2986
#define Z_UTIL_DEC_2988 2987
#define Z_UTIL_DEC_2989 2988
#define Z_UTIL_DEC_2990 2989
#define Z_UTIL_DEC_2991 2990
#define Z_UTIL_DEC_2992 2991
#define Z_UTIL_DEC_2993 2992
#define Z_UTIL_DEC_2994 2993
#define Z_UTIL_DEC_2995 2994
#define Z_UTIL_DEC_2996 2995
#define Z_UTIL_DEC_2997 2996
#define Z_UTIL_DEC_2998 2997
#define Z_UTIL_DEC_2999 2998
#define Z_UTIL_DEC_3000 2999
#define Z_UTIL_DEC_3001 3000
#define Z_UTIL_DEC_3002 3001
#define Z_UTIL_DEC_3003 3002
#define Z_UTIL_DEC_3004 3003
#define Z_UTIL_DEC_3005 3004
#define Z_UTIL_DEC_3006 3005
#define Z_UTIL_DEC_3007 3006
#define Z_UTIL_DEC_3008 3007
#define Z_UTIL_DEC_3009 3008
#define Z_UTIL_DEC_3010 3009
#define Z_UTIL_DEC_3011 3010
#define Z_UTIL_DEC_3012 3011
#define Z_UTIL_DEC_3013 3012
#define Z_UTIL_DEC_3014 3013
#define Z_UTIL_DEC_3015 3014
#define Z_UTIL_DEC_3016 3015
#define Z_UTIL_DEC_3017 3016
#define Z_UTIL_DEC_3018 3017
#define Z_UTIL_DEC_3019 3018
#define Z_UTIL_DEC_3020 3019
#define Z_UTIL_DEC_3021 3020
#define Z_UTIL_DEC_3022 3021
#define Z_UTIL_DEC_3023 3022
#define Z_UTIL_DEC_3024 3023
#define Z_UTIL_DEC_3025 3024
#define Z_UTIL_DEC_3026 3025
#define Z_UTIL_DEC_3027 3026
#define Z_UTIL_DEC_3028 3027
#define Z_UTIL_DEC_3029 3028
#define Z_UTIL_DEC_3030 3029
#define Z_UTIL_DEC_3031 3030
#define Z_UTIL_DEC_3032 3031
#define Z_UTIL_DEC_3033 3032
#define Z_UTIL_DEC_3034 3033
#define Z_UTIL_DEC_3035 3034
#define Z_UTIL_DEC_3036 3035
#define Z_UTIL_DEC_3037 3036
#define Z_UTIL_DEC_3038 3037
#define Z_UTIL_DEC_3039 3038
#define Z_UTIL_DEC_3040 3039
#define Z_UTIL_DEC_3041 3040
#define Z_UTIL_DEC_3042 3041
#define Z_UTIL_DEC_3043 3042
#define Z_UTIL_DEC_3044 3043
#define Z_UTIL_DEC_3045 3044
#define Z_UTIL_DEC_3046 3045
#define Z_UTIL_DEC_3047 3046
#define Z_UTIL_DEC_3048 3047
#define Z_UTIL_DEC_3049 3048
#define Z_UTIL_DEC_3050 3049
#define Z_UTIL_DEC_3051 3050
#define Z_UTIL_DEC_3052 3051
#define Z_UTIL_DEC_3053 3052
#define Z_UTIL_DEC_3054 3053
#define Z_UTIL_DEC_3055 3054
#define Z_UTIL_DEC_3056 3055
#define Z_UTIL_DEC_3057 3056
#define Z_UTIL_DEC_3058 3057
#define Z_UTIL_DEC_3059 3058
#define Z_UTIL_DEC_3060 3059
#define Z_UTIL_DEC_3061 3060
#define Z_UTIL_DEC_3062 3061
#define Z_UTIL_DEC_3063 3062
#define Z_UTIL_DEC_3064 3063
#define Z_UTIL_DEC_3065 3064
#define Z_UTIL_DEC_3066 3065
#define Z_UTIL_DEC_3067 3066
#define Z_UTIL_DEC_3068 3067
#define Z_UTIL_DEC_3069 3068
#define Z_UTIL_DEC_3070 3069
#define Z_UTIL_DEC_3071 3070
#define Z_UTIL_DEC_3072 3071
#define Z_UTIL_DEC_3073 3072
#define Z_UTIL_DEC_3074 3073
#define Z_UTIL_DEC_3075 3074
#define Z_UTIL_DEC_3076 3075
#define Z_UTIL_DEC_3077 3076
#define Z_UTIL_DEC_3078 3077
#define Z_UTIL_DEC_3079 3078
#define Z_UTIL_DEC_3080 3079
#define Z_UTIL_DEC_3081 3080
#define Z_UTIL_DEC_3082 3081
#define Z_UTIL_DEC_3083 3082
#define Z_UTIL_DEC_3084 3083
#define Z_UTIL_DEC_3085 3084
#define Z_UTIL_DEC_3086 3085
#define Z_UTIL_DEC_3087 3086
#define Z_UTIL_DEC_3088 3087
#define Z_UTIL_DEC_3089 3088
#define Z_UTIL_DEC_3090 3089
#define Z_UTIL_DEC_3091 3090
#define Z_UTIL_DEC_3092 3091
#define Z_UTIL_DEC_3093 3092
#define Z_UTIL_DEC_3094 3093
#define Z_UTIL_DEC_3095 3094
#define Z_UTIL_DEC_3096 3095
#define Z_UTIL_DEC_3097 3096
#define Z_UTIL_DEC_3098 3097
#define Z_UTIL_DEC_3099 3098
#define Z_UTIL_DEC_3100 3099
#define Z_UTIL_DEC_3101 3100
#define Z_UTIL_DEC_3102 3101
#define Z_UTIL_DEC_3103 3102
#define Z_UTIL_DEC_3104 3103
#define Z_UTIL_DEC_3105 3104
#define Z_UTIL_DEC_3106 3105
#define Z_UTIL_DEC_3107 3106
#define Z_UTIL_DEC_3108 3107
#define Z_UTIL_DEC_3109 3108
#define Z_UTIL_DEC_3110 3109
#define Z_UTIL_DEC_3111 3110
#define Z_UTIL_DEC_3112 3111
#define Z_UTIL_DEC_3113 3112
#define Z_UTIL_DEC_3114 3113
#define Z_UTIL_DEC_3115 3114
#define Z_UTIL_DEC_3116 3115
#define Z_UTIL_DEC_3117 3116
#define Z_UTIL_DEC_3118 3117
#define Z_UTIL_DEC_3119 3118
#define Z_UTIL_DEC_3120 3119
#define Z_UTIL_DEC_3121 3120
#define Z_UTIL_DEC_3122 3121
#define Z_UTIL_DEC_3123 3122
#define Z_UTIL_DEC_3124 3123
#define Z_UTIL_DEC_3125 3124
#define Z_UTIL_DEC_3126 3125
#define Z_UTIL_DEC_3127 3126
#define Z_UTIL_DEC_3128 3127
#define Z_UTIL_DEC_3129 3128
#define Z_UTIL_DEC_3130 3129
#define Z_UTIL_DEC_3131 3130
#define Z_UTIL_DEC_3132 3131
#define Z_UTIL_DEC_3133 3132
#define Z_UTIL_DEC_3134 3133
#define Z_UTIL_DEC_3135 3134
#define Z_UTIL_DEC_3136 3135
#define Z_UTIL_DEC_3137 3136
#define Z_UTIL_DEC_3138 3137
#define Z_UTIL_DEC_3139 3138
#define Z_UTIL_DEC_3140 3139
#define Z_UTIL_DEC_3141 3140
#define Z_UTIL_DEC_3142 3141
#define Z_UTIL_DEC_3143 3142
#define Z_UTIL_DEC_3144 3143
#define Z_UTIL_DEC_3145 3144
#define Z_UTIL_DEC_3146 3145
#define Z_UTIL_DEC_3147 3146
#define Z_UTIL_DEC_3148 3147
#define Z_UTIL_DEC_3149 3148
#define Z_UTIL_DEC_3150 3149
#define Z_UTIL_DEC_3151 3150
#define Z_UTIL_DEC_3152 3151
#define Z_UTIL_DEC_3153 3152
#define Z_UTIL_DEC_3154 3153
#define Z_UTIL_DEC_3155 3154
#define Z_UTIL_DEC_3156 3155
#define Z_UTIL_DEC_3157 3156
#define Z_UTIL_DEC_3158 3157
#define Z_UTIL_DEC_3159 3158
#define Z_UTIL_DEC_3160 3159
#define Z_UTIL_DEC_3161 3160
#define Z_UTIL_DEC_3162 3161
#define Z_UTIL_DEC_3163 3162
#define Z_UTIL_DEC_3164 3163
#define Z_UTIL_DEC_3165 3164
#define Z_UTIL_DEC_3166 3165
#define Z_UTIL_DEC_3167 3166
#define Z_UTIL_DEC_3168 3167
#define Z_UTIL_DEC_3169 3168
#define Z_UTIL_DEC_3170 3169
#define Z_UTIL_DEC_3171 3170
#define Z_UTIL_DEC_3172 3171
#define Z_UTIL_DEC_3173 3172
#define Z_UTIL_DEC_3174 3173
#define Z_UTIL_DEC_3175 3174
#define Z_UTIL_DEC_3176 3175
#define Z_UTIL_DEC_3177 3176
#define Z_UTIL_DEC_3178 3177
#define Z_UTIL_DEC_3179 3178
#define Z_UTIL_DEC_3180 3179
#define Z_UTIL_DEC_3181 3180
#define Z_UTIL_DEC_3182 3181
#define Z_UTIL_DEC_3183 3182
#define Z_UTIL_DEC_3184 3183
#define Z_UTIL_DEC_3185 3184
#define Z_UTIL_DEC_3186 3185
#define Z_UTIL_DEC_3187 3186
#define Z_UTIL_DEC_3188 3187
#define Z_UTIL_DEC_3189 3188
#define Z_UTIL_DEC_3190 3189
#define Z_UTIL_DEC_3191 3190
#define Z_UTIL_DEC_3192 3191
#define Z_UTIL_DEC_3193 3192
#define Z_UTIL_DEC_3194 3193
#define Z_UTIL_DEC_3195 3194
#define Z_UTIL_DEC_3196 3195
#define Z_UTIL_DEC_3197 3196
#define Z_UTIL_DEC_3198 3197
#define Z_UTIL_DEC_3199 3198
#define Z_UTIL_DEC_3200 3199
#define Z_UTIL_DEC_3201 3200
#define Z_UTIL_DEC_3202 3201
#define Z_UTIL_DEC_3203 3202
#define Z_UTIL_DEC_3204 3203
#define Z_UTIL_DEC_3205 3204
#define Z_UTIL_DEC_3206 3205
#define Z_UTIL_DEC_3207 3206
#define Z_UTIL_DEC_3208 3207
#define Z_UTIL_DEC_3209 3208
#define Z_UTIL_DEC_3210 3209
#define Z_UTIL_DEC_3211 3210
#define Z_UTIL_DEC_3212 3211
#define Z_UTIL_DEC_3213 3212
#define Z_UTIL_DEC_3214 3213
#define Z_UTIL_DEC_3215 3214
#define Z_UTIL_DEC_3216 3215
#define Z_UTIL_DEC_3217 3216
#define Z_UTIL_DEC_3218 3217
#define Z_UTIL_DEC_3219 3218
#define Z_UTIL_DEC_3220 3219
#define Z_UTIL_DEC_3221 3220
#define Z_UTIL_DEC_3222 3221
#define Z_UTIL_DEC_3223 3222
#define Z_UTIL_DEC_3224 3223
#define Z_UTIL_DEC_3225 3224
#define Z_UTIL_DEC_3226 3225
#define Z_UTIL_DEC_3227 3226
#define Z_UTIL_DEC_3228 3227
#define Z_UTIL_DEC_3229 3228
#define Z_UTIL_DEC_3230 3229
#define Z_UTIL_DEC_3231 3230
#define Z_UTIL_DEC_3232 3231
#define Z_UTIL_DEC_3233 3232
#define Z_UTIL_DEC_3234 3233
#define Z_UTIL_DEC_3235 3234
#define Z_UTIL_DEC_3236 3235
#define Z_UTIL_DEC_3237 3236
#define Z_UTIL_DEC_3238 3237
#define Z_UTIL_DEC_3239 3238
#define Z_UTIL_DEC_3240 3239
#define Z_UTIL_DEC_3241 3240
#define Z_UTIL_DEC_3242 3241
#define Z_UTIL_DEC_3243 3242
#define Z_UTIL_DEC_3244 3243
#define Z_UTIL_DEC_3245 3244
#define Z_UTIL_DEC_3246 3245
#define Z_UTIL_DEC_3247 3246
#define Z_UTIL_DEC_3248 3247
#define Z_UTIL_DEC_3249 3248
#define Z_UTIL_DEC_3250 3249
#define Z_UTIL_DEC_3251 3250
#define Z_UTIL_DEC_3252 3251
#define Z_UTIL_DEC_3253 3252
#define Z_UTIL_DEC_3254 3253
#define Z_UTIL_DEC_3255 3254
#define Z_UTIL_DEC_3256 3255
#define Z_UTIL_DEC_3257 3256
#define Z_UTIL_DEC_3258 3257
#define Z_UTIL_DEC_3259 3258
#define Z_UTIL_DEC_3260 3259
#define Z_UTIL_DEC_3261 3260
#define Z_UTIL_DEC_3262 3261
#define Z_UTIL_DEC_3263 3262
#define Z_UTIL_DEC_3264 3263
#define Z_UTIL_DEC_3265 3264
#define Z_UTIL_DEC_3266 3265
#define Z_UTIL_DEC_3267 3266
#define Z_UTIL_DEC_3268 3267
#define Z_UTIL_DEC_3269 3268
#define Z_UTIL_DEC_3270 3269
#define Z_UTIL_DEC_3271 3270
#define Z_UTIL_DEC_3272 3271
#define Z_UTIL_DEC_3273 3272
#define Z_UTIL_DEC_3274 3273
#define Z_UTIL_DEC_3275 3274
#define Z_UTIL_DEC_3276 3275
#define Z_UTIL_DEC_3277 3276
#define Z_UTIL_DEC_3278 3277
#define Z_UTIL_DEC_3279 3278
#define Z_UTIL_DEC_3280 3279
#define Z_UTIL_DEC_3281 3280
#define Z_UTIL_DEC_3282 3281
#define Z_UTIL_DEC_3283 3282
#define Z_UTIL_DEC_3284 3283
#define Z_UTIL_DEC_3285 3284
#define Z_UTIL_DEC_3286 3285
#define Z_UTIL_DEC_3287 3286
#define Z_UTIL_DEC_3288 3287
#define Z_UTIL_DEC_3289 3288
#define Z_UTIL_DEC_3290 3289
#define Z_UTIL_DEC_3291 3290
#define Z_UTIL_DEC_3292 3291
#define Z_UTIL_DEC_3293 3292
#define Z_UTIL_DEC_3294 3293
#define Z_UTIL_DEC_3295 3294
#define Z_UTIL_DEC_3296 3295
#define Z_UTIL_DEC_3297 3296
#define Z_UTIL_DEC_3298 3297
#define Z_UTIL_DEC_3299 3298
#define Z_UTIL_DEC_3300 3299
#define Z_UTIL_DEC_3301 3300
#define Z_UTIL_DEC_3302 3301
#define Z_UTIL_DEC_3303 3302
#define Z_UTIL_DEC_3304 3303
#define Z_UTIL_DEC_3305 3304
#define Z_UTIL_DEC_3306 3305
#define Z_UTIL_DEC_3307 3306
#define Z_UTIL_DEC_3308 3307
#define Z_UTIL_DEC_3309 3308
#define Z_UTIL_DEC_3310 3309
#define Z_UTIL_DEC_3311 3310
#define Z_UTIL_DEC_3312 3311
#define Z_UTIL_DEC_3313 3312
#define Z_UTIL_DEC_3314 3313
#define Z_UTIL_DEC_3315 3314
#define Z_UTIL_DEC_3316 3315
#define Z_UTIL_DEC_3317 3316
#define Z_UTIL_DEC_3318 3317
#define Z_UTIL_DEC_3319 3318
#define Z_UTIL_DEC_3320 3319
#define Z_UTIL_DEC_3321 3320
#define Z_UTIL_DEC_3322 3321
#define Z_UTIL_DEC_3323 3322
#define Z_UTIL_DEC_3324 3323
#define Z_UTIL_DEC_3325 3324
#define Z_UTIL_DEC_3326 3325
#define Z_UTIL_DEC_3327 3326
#define Z_UTIL_DEC_3328 3327
#define Z_UTIL_DEC_3329 3328
#define Z_UTIL_DEC_3330 3329
#define Z_UTIL_DEC_3331 3330
#define Z_UTIL_DEC_3332 3331
#define Z_UTIL_DEC_3333 3332
#define Z_UTIL_DEC_3334 3333
#define Z_UTIL_DEC_3335 3334
#define Z_UTIL_DEC_3336 3335
#define Z_UTIL_DEC_3337 3336
#define Z_UTIL_DEC_3338 3337
#define Z_UTIL_DEC_3339 3338
#define Z_UTIL_DEC_3340 3339
#define Z_UTIL_DEC_3341 3340
#define Z_UTIL_DEC_3342 3341
#define Z_UTIL_DEC_3343 3342
#define Z_UTIL_DEC_3344 3343
#define Z_UTIL_DEC_3345 3344
#define Z_UTIL_DEC_3346 3345
#define Z_UTIL_DEC_3347 3346
#define Z_UTIL_DEC_3348 3347
#define Z_UTIL_DEC_3349 3348
#define Z_UTIL_DEC_3350 3349
#define Z_UTIL_DEC_3351 3350
#define Z_UTIL_DEC_3352 3351
#define Z_UTIL_DEC_3353 3352
#define Z_UTIL_DEC_3354 3353
#define Z_UTIL_DEC_3355 3354
#define Z_UTIL_DEC_3356 3355
#define Z_UTIL_DEC_3357 3356
#define Z_UTIL_DEC_3358 3357
#define Z_UTIL_DEC_3359 3358
#define Z_UTIL_DEC_3360 3359
#define Z_UTIL_DEC_3361 3360
#define Z_UTIL_DEC_3362 3361
#define Z_UTIL_DEC_3363 3362
#define Z_UTIL_DEC_3364 3363
#define Z_UTIL_DEC_3365 3364
#define Z_UTIL_DEC_3366 3365
#define Z_UTIL_DEC_3367 3366
#define Z_UTIL_DEC_3368 3367
#define Z_UTIL_DEC_3369 3368
#define Z_UTIL_DEC_3370 3369
#define Z_UTIL_DEC_3371 3370
#define Z_UTIL_DEC_3372 3371
#define Z_UTIL_DEC_3373 3372
#define Z_UTIL_DEC_3374 3373
#define Z_UTIL_DEC_3375 3374
#define Z_UTIL_DEC_3376 3375
#define Z_UTIL_DEC_3377 3376
#define Z_UTIL_DEC_3378 3377
#define Z_UTIL_DEC_3379 3378
#define Z_UTIL_DEC_3380 3379
#define Z_UTIL_DEC_3381 3380
#define Z_UTIL_DEC_3382 3381
#define Z_UTIL_DEC_3383 3382
#define Z_UTIL_DEC_3384 3383
#define Z_UTIL_DEC_3385 3384
#define Z_UTIL_DEC_3386 3385
#define Z_UTIL_DEC_3387 3386
#define Z_UTIL_DEC_3388 3387
#define Z_UTIL_DEC_3389 3388
#define Z_UTIL_DEC_3390 3389
#define Z_UTIL_DEC_3391 3390
#define Z_UTIL_DEC_3392 3391
#define Z_UTIL_DEC_3393 3392
#define Z_UTIL_DEC_3394 3393
#define Z_UTIL_DEC_3395 3394
#define Z_UTIL_DEC_3396 3395
#define Z_UTIL_DEC_3397 3396
#define Z_UTIL_DEC_3398 3397
#define Z_UTIL_DEC_3399 3398
#define Z_UTIL_DEC_3400 3399
#define Z_UTIL_DEC_3401 3400
#define Z_UTIL_DEC_3402 3401
#define Z_UTIL_DEC_3403 3402
#define Z_UTIL_DEC_3404 3403
#define Z_UTIL_DEC_3405 3404
#define Z_UTIL_DEC_3406 3405
#define Z_UTIL_DEC_3407 3406
#define Z_UTIL_DEC_3408 3407
#define Z_UTIL_DEC_3409 3408
#define Z_UTIL_DEC_3410 3409
#define Z_UTIL_DEC_3411 3410
#define Z_UTIL_DEC_3412 3411
#define Z_UTIL_DEC_3413 3412
#define Z_UTIL_DEC_3414 3413
#define Z_UTIL_DEC_3415 3414
#define Z_UTIL_DEC_3416 3415
#define Z_UTIL_DEC_3417 3416
#define Z_UTIL_DEC_3418 3417
#define Z_UTIL_DEC_3419 3418
#define Z_UTIL_DEC_3420 3419
#define Z_UTIL_DEC_3421 3420
#define Z_UTIL_DEC_3422 3421
#define Z_UTIL_DEC_3423 3422
#define Z_UTIL_DEC_3424 3423
#define Z_UTIL_DEC_3425 3424
#define Z_UTIL_DEC_3426 3425
#define Z_UTIL_DEC_3427 3426
#define Z_UTIL_DEC_3428 3427
#define Z_UTIL_DEC_3429 3428
#define Z_UTIL_DEC_3430 3429
#define Z_UTIL_DEC_3431 3430
#define Z_UTIL_DEC_3432 3431
#define Z_UTIL_DEC_3433 3432
#define Z_UTIL_DEC_3434 3433
#define Z_UTIL_DEC_3435 3434
#define Z_UTIL_DEC_3436 3435
#define Z_UTIL_DEC_3437 3436
#define Z_UTIL_DEC_3438 3437
#define Z_UTIL_DEC_3439 3438
#define Z_UTIL_DEC_3440 3439
#define Z_UTIL_DEC_3441 3440
#define Z_UTIL_DEC_3442 3441
#define Z_UTIL_DEC_3443 3442
#define Z_UTIL_DEC_3444 3443
#define Z_UTIL_DEC_3445 3444
#define Z_UTIL_DEC_3446 3445
#define Z_UTIL_DEC_3447 3446
#define Z_UTIL_DEC_3448 3447
#define Z_UTIL_DEC_3449 3448
#define Z_UTIL_DEC_3450 3449
#define Z_UTIL_DEC_3451 3450
#define Z_UTIL_DEC_3452 3451
#define Z_UTIL_DEC_3453 3452
#define Z_UTIL_DEC_3454 3453
#define Z_UTIL_DEC_3455 3454
#define Z_UTIL_DEC_3456 3455
#define Z_UTIL_DEC_3457 3456
#define Z_UTIL_DEC_3458 3457
#define Z_UTIL_DEC_3459 3458
#define Z_UTIL_DEC_3460 3459
#define Z_UTIL_DEC_3461 3460
#define Z_UTIL_DEC_3462 3461
#define Z_UTIL_DEC_3463 3462
#define Z_UTIL_DEC_3464 3463
#define Z_UTIL_DEC_3465 3464
#define Z_UTIL_DEC_3466 3465
#define Z_UTIL_DEC_3467 3466
#define Z_UTIL_DEC_3468 3467
#define Z_UTIL_DEC_3469 3468
#define Z_UTIL_DEC_3470 3469
#define Z_UTIL_DEC_3471 3470
#define Z_UTIL_DEC_3472 3471
#define Z_UTIL_DEC_3473 3472
#define Z_UTIL_DEC_3474 3473
#define Z_UTIL_DEC_3475 3474
#define Z_UTIL_DEC_3476 3475
#define Z_UTIL_DEC_3477 3476
#define Z_UTIL_DEC_3478 3477
#define Z_UTIL_DEC_3479 3478
#define Z_UTIL_DEC_3480 3479
#define Z_UTIL_DEC_3481 3480
#define Z_UTIL_DEC_3482 3481
#define Z_UTIL_DEC_3483 3482
#define Z_UTIL_DEC_3484 3483
#define Z_UTIL_DEC_3485 3484
#define Z_UTIL_DEC_3486 3485
#define Z_UTIL_DEC_3487 3486
#define Z_UTIL_DEC_3488 3487
#define Z_UTIL_DEC_3489 3488
#define Z_UTIL_DEC_3490 3489
#define Z_UTIL_DEC_3491 3490
#define Z_UTIL_DEC_3492 3491
#define Z_UTIL_DEC_3493 3492
#define Z_UTIL_DEC_3494 3493
#define Z_UTIL_DEC_3495 3494
#define Z_UTIL_DEC_3496 3495
#define Z_UTIL_DEC_3497 3496
#define Z_UTIL_DEC_3498 3497
#define Z_UTIL_DEC_3499 3498
#define Z_UTIL_DEC_3500 3499
#define Z_UTIL_DEC_3501 3500
#define Z_UTIL_DEC_3502 3501
#define Z_UTIL_DEC_3503 3502
#define Z_UTIL_DEC_3504 3503
#define Z_UTIL_DEC_3505 3504
#define Z_UTIL_DEC_3506 3505
#define Z_UTIL_DEC_3507 3506
#define Z_UTIL_DEC_3508 3507
#define Z_UTIL_DEC_3509 3508
#define Z_UTIL_DEC_3510 3509
#define Z_UTIL_DEC_3511 3510
#define Z_UTIL_DEC_3512 3511
#define Z_UTIL_DEC_3513 3512
#define Z_UTIL_DEC_3514 3513
#define Z_UTIL_DEC_3515 3514
#define Z_UTIL_DEC_3516 3515
#define Z_UTIL_DEC_3517 3516
#define Z_UTIL_DEC_3518 3517
#define Z_UTIL_DEC_3519 3518
#define Z_UTIL_DEC_3520 3519
#define Z_UTIL_DEC_3521 3520
#define Z_UTIL_DEC_3522 3521
#define Z_UTIL_DEC_3523 3522
#define Z_UTIL_DEC_3524 3523
#define Z_UTIL_DEC_3525 3524
#define Z_UTIL_DEC_3526 3525
#define Z_UTIL_DEC_3527 3526
#define Z_UTIL_DEC_3528 3527
#define Z_UTIL_DEC_3529 3528
#define Z_UTIL_DEC_3530 3529
#define Z_UTIL_DEC_3531 3530
#define Z_UTIL_DEC_3532 3531
#define Z_UTIL_DEC_3533 3532
#define Z_UTIL_DEC_3534 3533
#define Z_UTIL_DEC_3535 3534
#define Z_UTIL_DEC_3536 3535
#define Z_UTIL_DEC_3537 3536
#define Z_UTIL_DEC_3538 3537
#define Z_UTIL_DEC_3539 3538
#define Z_UTIL_DEC_3540 3539
#define Z_UTIL_DEC_3541 3540
#define Z_UTIL_DEC_3542 3541
#define Z_UTIL_DEC_3543 3542
#define Z_UTIL_DEC_3544 3543
#define Z_UTIL_DEC_3545 3544
#define Z_UTIL_DEC_3546 3545
#define Z_UTIL_DEC_3547 3546
#define Z_UTIL_DEC_3548 3547
#define Z_UTIL_DEC_3549 3548
#define Z_UTIL_DEC_3550 3549
#define Z_UTIL_DEC_3551 3550
#define Z_UTIL_DEC_3552 3551
#define Z_UTIL_DEC_3553 3552
#define Z_UTIL_DEC_3554 3553
#define Z_UTIL_DEC_3555 3554
#define Z_UTIL_DEC_3556 3555
#define Z_UTIL_DEC_3557 3556
#define Z_UTIL_DEC_3558 3557
#define Z_UTIL_DEC_3559 3558
#define Z_UTIL_DEC_3560 3559
#define Z_UTIL_DEC_3561 3560
#define Z_UTIL_DEC_3562 3561
#define Z_UTIL_DEC_3563 3562
#define Z_UTIL_DEC_3564 3563
#define Z_UTIL_DEC_3565 3564
#define Z_UTIL_DEC_3566 3565
#define Z_UTIL_DEC_3567 3566
#define Z_UTIL_DEC_3568 3567
#define Z_UTIL_DEC_3569 3568
#define Z_UTIL_DEC_3570 3569
#define Z_UTIL_DEC_3571 3570
#define Z_UTIL_DEC_3572 3571
#define Z_UTIL_DEC_3573 3572
#define Z_UTIL_DEC_3574 3573
#define Z_UTIL_DEC_3575 3574
#define Z_UTIL_DEC_3576 3575
#define Z_UTIL_DEC_3577 3576
#define Z_UTIL_DEC_3578 3577
#define Z_UTIL_DEC_3579 3578
#define Z_UTIL_DEC_3580 3579
#define Z_UTIL_DEC_3581 3580
#define Z_UTIL_DEC_3582 3581
#define Z_UTIL_DEC_3583 3582
#define Z_UTIL_DEC_3584 3583
#define Z_UTIL_DEC_3585 3584
#define Z_UTIL_DEC_3586 3585
#define Z_UTIL_DEC_3587 3586
#define Z_UTIL_DEC_3588 3587
#define Z_UTIL_DEC_3589 3588
#define Z_UTIL_DEC_3590 3589
#define Z_UTIL_DEC_3591 3590
#define Z_UTIL_DEC_3592 3591
#define Z_UTIL_DEC_3593 3592
#define Z_UTIL_DEC_3594 3593
#define Z_UTIL_DEC_3595 3594
#define Z_UTIL_DEC_3596 3595
#define Z_UTIL_DEC_3597 3596
#define Z_UTIL_DEC_3598 3597
#define Z_UTIL_DEC_3599 3598
#define Z_UTIL_DEC_3600 3599
#define Z_UTIL_DEC_3601 3600
#define Z_UTIL_DEC_3602 3601
#define Z_UTIL_DEC_3603 3602
#define Z_UTIL_DEC_3604 3603
#define Z_UTIL_DEC_3605 3604
#define Z_UTIL_DEC_3606 3605
#define Z_UTIL_DEC_3607 3606
#define Z_UTIL_DEC_3608 3607
#define Z_UTIL_DEC_3609 3608
#define Z_UTIL_DEC_3610 3609
#define Z_UTIL_DEC_3611 3610
#define Z_UTIL_DEC_3612 3611
#define Z_UTIL_DEC_3613 3612
#define Z_UTIL_DEC_3614 3613
#define Z_UTIL_DEC_3615 3614
#define Z_UTIL_DEC_3616 3615
#define Z_UTIL_DEC_3617 3616
#define Z_UTIL_DEC_3618 3617
#define Z_UTIL_DEC_3619 3618
#define Z_UTIL_DEC_3620 3619
#define Z_UTIL_DEC_3621 3620
#define Z_UTIL_DEC_3622 3621
#define Z_UTIL_DEC_3623 3622
#define Z_UTIL_DEC_3624 3623
#define Z_UTIL_DEC_3625 3624
#define Z_UTIL_DEC_3626 3625
#define Z_UTIL_DEC_3627 3626
#define Z_UTIL_DEC_3628 3627
#define Z_UTIL_DEC_3629 3628
#define Z_UTIL_DEC_3630 3629
#define Z_UTIL_DEC_3631 3630
#define Z_UTIL_DEC_3632 3631
#define Z_UTIL_DEC_3633 3632
#define Z_UTIL_DEC_3634 3633
#define Z_UTIL_DEC_3635 3634
#define Z_UTIL_DEC_3636 3635
#define Z_UTIL_DEC_3637 3636
#define Z_UTIL_DEC_3638 3637
#define Z_UTIL_DEC_3639 3638
#define Z_UTIL_DEC_3640 3639
#define Z_UTIL_DEC_3641 3640
#define Z_UTIL_DEC_3642 3641
#define Z_UTIL_DEC_3643 3642
#define Z_UTIL_DEC_3644 3643
#define Z_UTIL_DEC_3645 3644
#define Z_UTIL_DEC_3646 3645
#define Z_UTIL_DEC_3647 3646
#define Z_UTIL_DEC_3648 3647
#define Z_UTIL_DEC_3649 3648
#define Z_UTIL_DEC_3650 3649
#define Z_UTIL_DEC_3651 3650
#define Z_UTIL_DEC_3652 3651
#define Z_UTIL_DEC_3653 3652
#define Z_UTIL_DEC_3654 3653
#define Z_UTIL_DEC_3655 3654
#define Z_UTIL_DEC_3656 3655
#define Z_UTIL_DEC_3657 3656
#define Z_UTIL_DEC_3658 3657
#define Z_UTIL_DEC_3659 3658
#define Z_UTIL_DEC_3660 3659
#define Z_UTIL_DEC_3661 3660
#define Z_UTIL_DEC_3662 3661
#define Z_UTIL_DEC_3663 3662
#define Z_UTIL_DEC_3664 3663
#define Z_UTIL_DEC_3665 3664
#define Z_UTIL_DEC_3666 3665
#define Z_UTIL_DEC_3667 3666
#define Z_UTIL_DEC_3668 3667
#define Z_UTIL_DEC_3669 3668
#define Z_UTIL_DEC_3670 3669
#define Z_UTIL_DEC_3671 3670
#define Z_UTIL_DEC_3672 3671
#define Z_UTIL_DEC_3673 3672
#define Z_UTIL_DEC_3674 3673
#define Z_UTIL_DEC_3675 3674
#define Z_UTIL_DEC_3676 3675
#define Z_UTIL_DEC_3677 3676
#define Z_UTIL_DEC_3678 3677
#define Z_UTIL_DEC_3679 3678
#define Z_UTIL_DEC_3680 3679
#define Z_UTIL_DEC_3681 3680
#define Z_UTIL_DEC_3682 3681
#define Z_UTIL_DEC_3683 3682
#define Z_UTIL_DEC_3684 3683
#define Z_UTIL_DEC_3685 3684
#define Z_UTIL_DEC_3686 3685
#define Z_UTIL_DEC_3687 3686
#define Z_UTIL_DEC_3688 3687
#define Z_UTIL_DEC_3689 3688
#define Z_UTIL_DEC_3690 3689
#define Z_UTIL_DEC_3691 3690
#define Z_UTIL_DEC_3692 3691
#define Z_UTIL_DEC_3693 3692
#define Z_UTIL_DEC_3694 3693
#define Z_UTIL_DEC_3695 3694
#define Z_UTIL_DEC_3696 3695
#define Z_UTIL_DEC_3697 3696
#define Z_UTIL_DEC_3698 3697
#define Z_UTIL_DEC_3699 3698
#define Z_UTIL_DEC_3700 3699
#define Z_UTIL_DEC_3701 3700
#define Z_UTIL_DEC_3702 3701
#define Z_UTIL_DEC_3703 3702
#define Z_UTIL_DEC_3704 3703
#define Z_UTIL_DEC_3705 3704
#define Z_UTIL_DEC_3706 3705
#define Z_UTIL_DEC_3707 3706
#define Z_UTIL_DEC_3708 3707
#define Z_UTIL_DEC_3709 3708
#define Z_UTIL_DEC_3710 3709
#define Z_UTIL_DEC_3711 3710
#define Z_UTIL_DEC_3712 3711
#define Z_UTIL_DEC_3713 3712
#define Z_UTIL_DEC_3714 3713
#define Z_UTIL_DEC_3715 3714
#define Z_UTIL_DEC_3716 3715
#define Z_UTIL_DEC_3717 3716
#define Z_UTIL_DEC_3718 3717
#define Z_UTIL_DEC_3719 3718
#define Z_UTIL_DEC_3720 3719
#define Z_UTIL_DEC_3721 3720
#define Z_UTIL_DEC_3722 3721
#define Z_UTIL_DEC_3723 3722
#define Z_UTIL_DEC_3724 3723
#define Z_UTIL_DEC_3725 3724
#define Z_UTIL_DEC_3726 3725
#define Z_UTIL_DEC_3727 3726
#define Z_UTIL_DEC_3728 3727
#define Z_UTIL_DEC_3729 3728
#define Z_UTIL_DEC_3730 3729
#define Z_UTIL_DEC_3731 3730
#define Z_UTIL_DEC_3732 3731
#define Z_UTIL_DEC_3733 3732
#define Z_UTIL_DEC_3734 3733
#define Z_UTIL_DEC_3735 3734
#define Z_UTIL_DEC_3736 3735
#define Z_UTIL_DEC_3737 3736
#define Z_UTIL_DEC_3738 3737
#define Z_UTIL_DEC_3739 3738
#define Z_UTIL_DEC_3740 3739
#define Z_UTIL_DEC_3741 3740
#define Z_UTIL_DEC_3742 3741
#define Z_UTIL_DEC_3743 3742
#define Z_UTIL_DEC_3744 3743
#define Z_UTIL_DEC_3745 3744
#define Z_UTIL_DEC_3746 3745
#define Z_UTIL_DEC_3747 3746
#define Z_UTIL_DEC_3748 3747
#define Z_UTIL_DEC_3749 3748
#define Z_UTIL_DEC_3750 3749
#define Z_UTIL_DEC_3751 3750
#define Z_UTIL_DEC_3752 3751
#define Z_UTIL_DEC_3753 3752
#define Z_UTIL_DEC_3754 3753
#define Z_UTIL_DEC_3755 3754
#define Z_UTIL_DEC_3756 3755
#define Z_UTIL_DEC_3757 3756
#define Z_UTIL_DEC_3758 3757
#define Z_UTIL_DEC_3759 3758
#define Z_UTIL_DEC_3760 3759
#define Z_UTIL_DEC_3761 3760
#define Z_UTIL_DEC_3762 3761
#define Z_UTIL_DEC_3763 3762
#define Z_UTIL_DEC_3764 3763
#define Z_UTIL_DEC_3765 3764
#define Z_UTIL_DEC_3766 3765
#define Z_UTIL_DEC_3767 3766
#define Z_UTIL_DEC_3768 3767
#define Z_UTIL_DEC_3769 3768
#define Z_UTIL_DEC_3770 3769
#define Z_UTIL_DEC_3771 3770
#define Z_UTIL_DEC_3772 3771
#define Z_UTIL_DEC_3773 3772
#define Z_UTIL_DEC_3774 3773
#define Z_UTIL_DEC_3775 3774
#define Z_UTIL_DEC_3776 3775
#define Z_UTIL_DEC_3777 3776
#define Z_UTIL_DEC_3778 3777
#define Z_UTIL_DEC_3779 3778
#define Z_UTIL_DEC_3780 3779
#define Z_UTIL_DEC_3781 3780
#define Z_UTIL_DEC_3782 3781
#define Z_UTIL_DEC_3783 3782
#define Z_UTIL_DEC_3784 3783
#define Z_UTIL_DEC_3785 3784
#define Z_UTIL_DEC_3786 3785
#define Z_UTIL_DEC_3787 3786
#define Z_UTIL_DEC_3788 3787
#define Z_UTIL_DEC_3789 3788
#define Z_UTIL_DEC_3790 3789
#define Z_UTIL_DEC_3791 3790
#define Z_UTIL_DEC_3792 3791
#define Z_UTIL_DEC_3793 3792
#define Z_UTIL_DEC_3794 3793
#define Z_UTIL_DEC_3795 3794
#define Z_UTIL_DEC_3796 3795
#define Z_UTIL_DEC_3797 3796
#define Z_UTIL_DEC_3798 3797
#define Z_UTIL_DEC_3799 3798
#define Z_UTIL_DEC_3800 3799
#define Z_UTIL_DEC_3801 3800
#define Z_UTIL_DEC_3802 3801
#define Z_UTIL_DEC_3803 3802
#define Z_UTIL_DEC_3804 3803
#define Z_UTIL_DEC_3805 3804
#define Z_UTIL_DEC_3806 3805
#define Z_UTIL_DEC_3807 3806
#define Z_UTIL_DEC_3808 3807
#define Z_UTIL_DEC_3809 3808
#define Z_UTIL_DEC_3810 3809
#define Z_UTIL_DEC_3811 3810
#define Z_UTIL_DEC_3812 3811
#define Z_UTIL_DEC_3813 3812
#define Z_UTIL_DEC_3814 3813
#define Z_UTIL_DEC_3815 3814
#define Z_UTIL_DEC_3816 3815
#define Z_UTIL_DEC_3817 3816
#define Z_UTIL_DEC_3818 3817
#define Z_UTIL_DEC_3819 3818
#define Z_UTIL_DEC_3820 3819
#define Z_UTIL_DEC_3821 3820
#define Z_UTIL_DEC_3822 3821
#define Z_UTIL_DEC_3823 3822
#define Z_UTIL_DEC_3824 3823
#define Z_UTIL_DEC_3825 3824
#define Z_UTIL_DEC_3826 3825
#define Z_UTIL_DEC_3827 3826
#define Z_UTIL_DEC_3828 3827
#define Z_UTIL_DEC_3829 3828
#define Z_UTIL_DEC_3830 3829
#define Z_UTIL_DEC_3831 3830
#define Z_UTIL_DEC_3832 3831
#define Z_UTIL_DEC_3833 3832
#define Z_UTIL_DEC_3834 3833
#define Z_UTIL_DEC_3835 3834
#define Z_UTIL_DEC_3836 3835
#define Z_UTIL_DEC_3837 3836
#define Z_UTIL_DEC_3838 3837
#define Z_UTIL_DEC_3839 3838
#define Z_UTIL_DEC_3840 3839
#define Z_UTIL_DEC_3841 3840
#define Z_UTIL_DEC_3842 3841
#define Z_UTIL_DEC_3843 3842
#define Z_UTIL_DEC_3844 3843
#define Z_UTIL_DEC_3845 3844
#define Z_UTIL_DEC_3846 3845
#define Z_UTIL_DEC_3847 3846
#define Z_UTIL_DEC_3848 3847
#define Z_UTIL_DEC_3849 3848
#define Z_UTIL_DEC_3850 3849
#define Z_UTIL_DEC_3851 3850
#define Z_UTIL_DEC_3852 3851
#define Z_UTIL_DEC_3853 3852
#define Z_UTIL_DEC_3854 3853
#define Z_UTIL_DEC_3855 3854
#define Z_UTIL_DEC_3856 3855
#define Z_UTIL_DEC_3857 3856
#define Z_UTIL_DEC_3858 3857
#define Z_UTIL_DEC_3859 3858
#define Z_UTIL_DEC_3860 3859
#define Z_UTIL_DEC_3861 3860
#define Z_UTIL_DEC_3862 3861
#define Z_UTIL_DEC_3863 3862
#define Z_UTIL_DEC_3864 3863
#define Z_UTIL_DEC_3865 3864
#define Z_UTIL_DEC_3866 3865
#define Z_UTIL_DEC_3867 3866
#define Z_UTIL_DEC_3868 3867
#define Z_UTIL_DEC_3869 3868
#define Z_UTIL_DEC_3870 3869
#define Z_UTIL_DEC_3871 3870
#define Z_UTIL_DEC_3872 3871
#define Z_UTIL_DEC_3873 3872
#define Z_UTIL_DEC_3874 3873
#define Z_UTIL_DEC_3875 3874
#define Z_UTIL_DEC_3876 3875
#define Z_UTIL_DEC_3877 3876
#define Z_UTIL_DEC_3878 3877
#define Z_UTIL_DEC_3879 3878
#define Z_UTIL_DEC_3880 3879
#define Z_UTIL_DEC_3881 3880
#define Z_UTIL_DEC_3882 3881
#define Z_UTIL_DEC_3883 3882
#define Z_UTIL_DEC_3884 3883
#define Z_UTIL_DEC_3885 3884
#define Z_UTIL_DEC_3886 3885
#define Z_UTIL_DEC_3887 3886
#define Z_UTIL_DEC_3888 3887
#define Z_UTIL_DEC_3889 3888
#define Z_UTIL_DEC_3890 3889
#define Z_UTIL_DEC_3891 3890
#define Z_UTIL_DEC_3892 3891
#define Z_UTIL_DEC_3893 3892
#define Z_UTIL_DEC_3894 3893
#define Z_UTIL_DEC_3895 3894
#define Z_UTIL_DEC_3896 3895
#define Z_UTIL_DEC_3897 3896
#define Z_UTIL_DEC_3898 3897
#define Z_UTIL_DEC_3899 3898
#define Z_UTIL_DEC_3900 3899
#define Z_UTIL_DEC_3901 3900
#define Z_UTIL_DEC_3902 3901
#define Z_UTIL_DEC_3903 3902
#define Z_UTIL_DEC_3904 3903
#define Z_UTIL_DEC_3905 3904
#define Z_UTIL_DEC_3906 3905
#define Z_UTIL_DEC_3907 3906
#define Z_UTIL_DEC_3908 3907
#define Z_UTIL_DEC_3909 3908
#define Z_UTIL_DEC_3910 3909
#define Z_UTIL_DEC_3911 3910
#define Z_UTIL_DEC_3912 3911
#define Z_UTIL_DEC_3913 3912
#define Z_UTIL_DEC_3914 3913
#define Z_UTIL_DEC_3915 3914
#define Z_UTIL_DEC_3916 3915
#define Z_UTIL_DEC_3917 3916
#define Z_UTIL_DEC_3918 3917
#define Z_UTIL_DEC_3919 3918
#define Z_UTIL_DEC_3920 3919
#define Z_UTIL_DEC_3921 3920
#define Z_UTIL_DEC_3922 3921
#define Z_UTIL_DEC_3923 3922
#define Z_UTIL_DEC_3924 3923
#define Z_UTIL_DEC_3925 3924
#define Z_UTIL_DEC_3926 3925
#define Z_UTIL_DEC_3927 3926
#define Z_UTIL_DEC_3928 3927
#define Z_UTIL_DEC_3929 3928
#define Z_UTIL_DEC_3930 3929
#define Z_UTIL_DEC_3931 3930
#define Z_UTIL_DEC_3932 3931
#define Z_UTIL_DEC_3933 3932
#define Z_UTIL_DEC_3934 3933
#define Z_UTIL_DEC_3935 3934
#define Z_UTIL_DEC_3936 3935
#define Z_UTIL_DEC_3937 3936
#define Z_UTIL_DEC_3938 3937
#define Z_UTIL_DEC_3939 3938
#define Z_UTIL_DEC_3940 3939
#define Z_UTIL_DEC_3941 3940
#define Z_UTIL_DEC_3942 3941
#define Z_UTIL_DEC_3943 3942
#define Z_UTIL_DEC_3944 3943
#define Z_UTIL_DEC_3945 3944
#define Z_UTIL_DEC_3946 3945
#define Z_UTIL_DEC_3947 3946
#define Z_UTIL_DEC_3948 3947
#define Z_UTIL_DEC_3949 3948
#define Z_UTIL_DEC_3950 3949
#define Z_UTIL_DEC_3951 3950
#define Z_UTIL_DEC_3952 3951
#define Z_UTIL_DEC_3953 3952
#define Z_UTIL_DEC_3954 3953
#define Z_UTIL_DEC_3955 3954
#define Z_UTIL_DEC_3956 3955
#define Z_UTIL_DEC_3957 3956
#define Z_UTIL_DEC_3958 3957
#define Z_UTIL_DEC_3959 3958
#define Z_UTIL_DEC_3960 3959
#define Z_UTIL_DEC_3961 3960
#define Z_UTIL_DEC_3962 3961
#define Z_UTIL_DEC_3963 3962
#define Z_UTIL_DEC_3964 3963
#define Z_UTIL_DEC_3965 3964
#define Z_UTIL_DEC_3966 3965
#define Z_UTIL_DEC_3967 3966
#define Z_UTIL_DEC_3968 3967
#define Z_UTIL_DEC_3969 3968
#define Z_UTIL_DEC_3970 3969
#define Z_UTIL_DEC_3971 3970
#define Z_UTIL_DEC_3972 3971
#define Z_UTIL_DEC_3973 3972
#define Z_UTIL_DEC_3974 3973
#define Z_UTIL_DEC_3975 3974
#define Z_UTIL_DEC_3976 3975
#define Z_UTIL_DEC_3977 3976
#define Z_UTIL_DEC_3978 3977
#define Z_UTIL_DEC_3979 3978
#define Z_UTIL_DEC_3980 3979
#define Z_UTIL_DEC_3981 3980
#define Z_UTIL_DEC_3982 3981
#define Z_UTIL_DEC_3983 3982
#define Z_UTIL_DEC_3984 3983
#define Z_UTIL_DEC_3985 3984
#define Z_UTIL_DEC_3986 3985
#define Z_UTIL_DEC_3987 3986
#define Z_UTIL_DEC_3988 3987
#define Z_UTIL_DEC_3989 3988
#define Z_UTIL_DEC_3990 3989
#define Z_UTIL_DEC_3991 3990
#define Z_UTIL_DEC_3992 3991
#define Z_UTIL_DEC_3993 3992
#define Z_UTIL_DEC_3994 3993
#define Z_UTIL_DEC_3995 3994
#define Z_UTIL_DEC_3996 3995
#define Z_UTIL_DEC_3997 3996
#define Z_UTIL_DEC_3998 3997
#define Z_UTIL_DEC_3999 3998
#define Z_UTIL_DEC_4000 3999
#define Z_UTIL_DEC_4001 4000
#define Z_UTIL_DEC_4002 4001
#define Z_UTIL_DEC_4003 4002
#define Z_UTIL_DEC_4004 4003
#define Z_UTIL_DEC_4005 4004
#define Z_UTIL_DEC_4006 4005
#define Z_UTIL_DEC_4007 4006
#define Z_UTIL_DEC_4008 4007
#define Z_UTIL_DEC_4009 4008
#define Z_UTIL_DEC_4010 4009
#define Z_UTIL_DEC_4011 4010
#define Z_UTIL_DEC_4012 4011
#define Z_UTIL_DEC_4013 4012
#define Z_UTIL_DEC_4014 4013
#define Z_UTIL_DEC_4015 4014
#define Z_UTIL_DEC_4016 4015
#define Z_UTIL_DEC_4017 4016
#define Z_UTIL_DEC_4018 4017
#define Z_UTIL_DEC_4019 4018
#define Z_UTIL_DEC_4020 4019
#define Z_UTIL_DEC_4021 4020
#define Z_UTIL_DEC_4022 4021
#define Z_UTIL_DEC_4023 4022
#define Z_UTIL_DEC_4024 4023
#define Z_UTIL_DEC_4025 4024
#define Z_UTIL_DEC_4026 4025
#define Z_UTIL_DEC_4027 4026
#define Z_UTIL_DEC_4028 4027
#define Z_UTIL_DEC_4029 4028
#define Z_UTIL_DEC_4030 4029
#define Z_UTIL_DEC_4031 4030
#define Z_UTIL_DEC_4032 4031
#define Z_UTIL_DEC_4033 4032
#define Z_UTIL_DEC_4034 4033
#define Z_UTIL_DEC_4035 4034
#define Z_UTIL_DEC_4036 4035
#define Z_UTIL_DEC_4037 4036
#define Z_UTIL_DEC_4038 4037
#define Z_UTIL_DEC_4039 4038
#define Z_UTIL_DEC_4040 4039
#define Z_UTIL_DEC_4041 4040
#define Z_UTIL_DEC_4042 4041
#define Z_UTIL_DEC_4043 4042
#define Z_UTIL_DEC_4044 4043
#define Z_UTIL_DEC_4045 4044
#define Z_UTIL_DEC_4046 4045
#define Z_UTIL_DEC_4047 4046
#define Z_UTIL_DEC_4048 4047
#define Z_UTIL_DEC_4049 4048
#define Z_UTIL_DEC_4050 4049
#define Z_UTIL_DEC_4051 4050
#define Z_UTIL_DEC_4052 4051
#define Z_UTIL_DEC_4053 4052
#define Z_UTIL_DEC_4054 4053
#define Z_UTIL_DEC_4055 4054
#define Z_UTIL_DEC_4056 4055
#define Z_UTIL_DEC_4057 4056
#define Z_UTIL_DEC_4058 4057
#define Z_UTIL_DEC_4059 4058
#define Z_UTIL_DEC_4060 4059
#define Z_UTIL_DEC_4061 4060
#define Z_UTIL_DEC_4062 4061
#define Z_UTIL_DEC_4063 4062
#define Z_UTIL_DEC_4064 4063
#define Z_UTIL_DEC_4065 4064
#define Z_UTIL_DEC_4066 4065
#define Z_UTIL_DEC_4067 4066
#define Z_UTIL_DEC_4068 4067
#define Z_UTIL_DEC_4069 4068
#define Z_UTIL_DEC_4070 4069
#define Z_UTIL_DEC_4071 4070
#define Z_UTIL_DEC_4072 4071
#define Z_UTIL_DEC_4073 4072
#define Z_UTIL_DEC_4074 4073
#define Z_UTIL_DEC_4075 4074
#define Z_UTIL_DEC_4076 4075
#define Z_UTIL_DEC_4077 4076
#define Z_UTIL_DEC_4078 4077
#define Z_UTIL_DEC_4079 4078
#define Z_UTIL_DEC_4080 4079
#define Z_UTIL_DEC_4081 4080
#define Z_UTIL_DEC_4082 4081
#define Z_UTIL_DEC_4083 4082
#define Z_UTIL_DEC_4084 4083
#define Z_UTIL_DEC_4085 4084
#define Z_UTIL_DEC_4086 4085
#define Z_UTIL_DEC_4087 4086
#define Z_UTIL_DEC_4088 4087
#define Z_UTIL_DEC_4089 4088
#define Z_UTIL_DEC_4090 4089
#define Z_UTIL_DEC_4091 4090
#define Z_UTIL_DEC_4092 4091
#define Z_UTIL_DEC_4093 4092
#define Z_UTIL_DEC_4094 4093
#define Z_UTIL_DEC_4095 4094
#define Z_UTIL_DEC_4096 4095
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_ */
/**
* INTERNAL_HIDDEN @endcond
*/
``` | /content/code_sandbox/include/zephyr/sys/util_internal_util_dec.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43,169 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_SPSC_PBUF_H_
#define ZEPHYR_INCLUDE_SYS_SPSC_PBUF_H_
#include <zephyr/cache.h>
#include <zephyr/devicetree.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Single producer, single consumer packet buffer API
* @defgroup spsc_buf SPSC (Single producer, single consumer) packet buffer API
* @ingroup datastructure_apis
* @{
*/
/**@defgroup SPSC_PBUF_FLAGS SPSC packet buffer flags
* @{
*/
/** @brief Flag indicating that cache shall be handled.
*
* It shall be used only when packet buffer is shared between two cores as on a single
* core cache shall not be handled manually because it results in data corruption.
*/
#define SPSC_PBUF_CACHE BIT(0)
/** @brief Size of the field which stores maximum utilization. */
#define SPSC_PBUF_UTILIZATION_BITS 24
/** @brief Offset of the field which stores maximum utilization. */
#define SPSC_PBUF_UTILIZATION_OFFSET 8
/**@} */
#if CONFIG_DCACHE_LINE_SIZE != 0
#define Z_SPSC_PBUF_LOCAL_DCACHE_LINE CONFIG_DCACHE_LINE_SIZE
#else
#define Z_SPSC_PBUF_LOCAL_DCACHE_LINE DT_PROP_OR(CPU, d_cache_line_size, 0)
#endif
#ifndef CONFIG_SPSC_PBUF_REMOTE_DCACHE_LINE
#define CONFIG_SPSC_PBUF_REMOTE_DCACHE_LINE 0
#endif
#define Z_SPSC_PBUF_DCACHE_LINE \
MAX(CONFIG_SPSC_PBUF_REMOTE_DCACHE_LINE, Z_SPSC_PBUF_LOCAL_DCACHE_LINE)
/** @brief Maximum packet length. */
#define SPSC_PBUF_MAX_LEN 0xFF00
/** @brief First part of packet buffer control block.
*
* This part contains only data set during the initialization and data touched
* by the reader. If packet is shared between to cores then data changed by
* the reader should be on different cache line than the data changed by the
* writer.
*/
struct spsc_pbuf_common {
uint32_t len; /* Length of data[] in bytes. */
uint32_t flags; /* Flags. See @ref SPSC_PBUF_FLAGS */
uint32_t rd_idx; /* Index of the first valid byte in data[] */
};
/* Padding to fill cache line. */
#define Z_SPSC_PBUF_PADDING \
MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common))
/** @brief Remaining part of a packet buffer when cache is used.
*
* It contains data that is only changed by the writer. A gap is added to ensure
* that it is in different cache line than the data changed by the reader.
*/
struct spsc_pbuf_ext_cache {
uint8_t reserved[Z_SPSC_PBUF_PADDING];
uint32_t wr_idx; /* Index of the first free byte in data[] */
uint8_t data[]; /* Buffer data. */
};
/** @brief Remaining part of a packet buffer when cache is not used. */
struct spsc_pbuf_ext_nocache {
uint32_t wr_idx; /* Index of the first free byte in data[] */
uint8_t data[]; /* Buffer data. */
};
/**
* @brief Single producer, single consumer packet buffer
*
* The SPSC packet buffer implements lightweight unidirectional packet buffer
* with read/write semantics on top of a memory region shared
* by the reader and writer. It optionally embeds cache and memory barrier
* management to ensure correct data access.
*
* This structure supports single writer and reader. Data stored in the buffer
* is encapsulated to a message (with length header).
*
*/
struct spsc_pbuf {
struct spsc_pbuf_common common;
union {
struct spsc_pbuf_ext_cache cache;
struct spsc_pbuf_ext_nocache nocache;
} ext;
};
/** @brief Get buffer capacity.
*
* This value is the amount of data that is dedicated for storing packets. Since
* each packet is prefixed with 2 byte length header, longest possible packet is
* less than that.
*
* @param pb A buffer.
*
* @return Packet buffer capacity.
*/
static inline uint32_t spsc_pbuf_capacity(struct spsc_pbuf *pb)
{
return pb->common.len - sizeof(uint32_t);
}
/**
* @brief Initialize the packet buffer.
*
* This function initializes the packet buffer on top of a dedicated
* memory region.
*
* @param buf Pointer to a memory region on which buffer is
* created. When cache is used it must be aligned to
* Z_SPSC_PBUF_DCACHE_LINE, otherwise it must
* be 32 bit word aligned.
* @param blen Length of the buffer. Must be large enough to
* contain the internal structure and at least two
* bytes of data (one is reserved for written
* messages length).
* @param flags Option flags. See @ref SPSC_PBUF_FLAGS.
* @retval struct spsc_pbuf* Pointer to the created buffer. The pointer
* points to the same address as buf.
* @retval NULL Invalid buffer alignment.
*/
struct spsc_pbuf *spsc_pbuf_init(void *buf, size_t blen, uint32_t flags);
/**
* @brief Write specified amount of data to the packet buffer.
*
* It combines @ref spsc_pbuf_alloc and @ref spsc_pbuf_commit into a single call.
*
* @param pb A buffer to which to write.
* @param buf Pointer to the data to be written to the buffer.
* @param len Number of bytes to be written to the buffer. Must be positive
* but less than @ref SPSC_PBUF_MAX_LEN.
* @retval int Number of bytes written, negative error code on fail.
* -EINVAL, if len == 0.
* -ENOMEM, if len is bigger than the buffer can fit.
*/
int spsc_pbuf_write(struct spsc_pbuf *pb, const char *buf, uint16_t len);
/**
* @brief Allocate space in the packet buffer.
*
* This function attempts to allocate @p len bytes of continuous memory within
* the packet buffer. An internal padding is added at the end of the buffer, if
* wrapping occurred during allocation. Apart from padding, allocation does not
* change the state of the buffer so if after allocation packet is not needed
* a commit is not needed.
*
* Allocated buffer must be committed (@ref spsc_pbuf_commit) to make the packet
* available for reading.
*
* Packet buffer ensures that allocated buffers are 32 bit word aligned.
*
* @note If data cache is used, it is the user responsibility to write back the
* new data.
*
* @param[in] pb A buffer to which to write.
* @param[in] len Allocation length. Must be positive. If less than @ref SPSC_PBUF_MAX_LEN
* then if requested length cannot be allocated, an attempt to allocate
* largest possible is performed (which may include adding wrap padding).
* If @ref SPSC_PBUF_MAX_LEN is used then an attempt to allocate largest
* buffer without applying wrap padding is performed.
* @param[out] buf Location where buffer address is written on successful allocation.
*
* @retval non-negative Amount of space that got allocated. Can be equal or smaller than %p len.
* @retval -EINVAL if @p len is forbidden.
*/
int spsc_pbuf_alloc(struct spsc_pbuf *pb, uint16_t len, char **buf);
/**
* @brief Commit packet to the buffer.
*
* Commit a packet which was previously allocated (@ref spsc_pbuf_alloc).
* If cache is used, cache writeback is performed on the written data.
*
* @param pb A buffer to which to write.
* @param len Packet length. Must be equal or less than the length used for allocation.
*/
void spsc_pbuf_commit(struct spsc_pbuf *pb, uint16_t len);
/**
* @brief Read specified amount of data from the packet buffer.
*
* Single read allows to read the message send by the single write.
* The provided %p buf must be big enough to store the whole message.
*
* It combines @ref spsc_pbuf_claim and @ref spsc_pbuf_free into a single call.
*
* @param pb A buffer from which data will be read.
* @param buf Data pointer to which read data will be written.
* If NULL, len of stored message is returned.
* @param len Number of bytes to be read from the buffer.
* @retval int Bytes read, negative error code on fail.
* Bytes to be read, if buf == NULL.
* -ENOMEM, if message can not fit in provided buf.
* -EAGAIN, if not whole message is ready yet.
*/
int spsc_pbuf_read(struct spsc_pbuf *pb, char *buf, uint16_t len);
/**
* @brief Claim packet from the buffer.
*
* It claims a single packet from the buffer in the order of the commitment
* by the @ref spsc_pbuf_commit function. The first committed packet will be claimed first.
* The returned buffer is 32 bit word aligned and points to the continuous memory.
* Claimed packet must be freed using the @ref spsc_pbuf_free function.
*
* @note If data cache is used, cache is invalidate on the packet.
*
* @param[in] pb A buffer from which packet will be claimed.
* @param[in,out] buf A location where claimed packet address is written.
* It is 32 bit word aligned and points to the continuous memory.
*
* @retval 0 No packets in the buffer.
* @retval positive packet length.
*/
uint16_t spsc_pbuf_claim(struct spsc_pbuf *pb, char **buf);
/**
* @brief Free the packet to the buffer.
*
* Packet must be claimed (@ref spsc_pbuf_claim) before it can be freed.
*
* @param pb A packet buffer from which packet was claimed.
* @param len Claimed packet length.
*/
void spsc_pbuf_free(struct spsc_pbuf *pb, uint16_t len);
/**
* @brief Get maximum utilization of the packet buffer.
*
* Function can be used to tune the buffer size. Feature is enabled by
* CONFIG_SPSC_PBUF_UTILIZATION. Utilization is updated by the consumer.
*
* @param pb A packet buffer.
*
* @retval -ENOTSUP Feature not enabled.
* @retval non-negative Maximum utilization.
*/
int spsc_pbuf_get_utilization(struct spsc_pbuf *pb);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_SPSC_PBUF_H_ */
``` | /content/code_sandbox/include/zephyr/sys/spsc_pbuf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,313 |
```objective-c
/*
*
*/
/**
* @file
* @ingroup hashmap_implementations
* @brief Separate Chaining Hashmap Implementation
*
* @note Enable with @kconfig{CONFIG_SYS_HASH_MAP_SC}
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASH_MAP_SC_H_
#define ZEPHYR_INCLUDE_SYS_HASH_MAP_SC_H_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <zephyr/sys/hash_function.h>
#include <zephyr/sys/hash_map_api.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Declare a Separate Chaining Hashmap (advanced)
*
* Declare a Separate Chaining Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc_func is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_SC_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_ADVANCED(_name, &sys_hashmap_sc_api, sys_hashmap_config, \
sys_hashmap_data, _hash_func, _alloc_func, __VA_ARGS__)
/**
* @brief Declare a Separate Chaining Hashmap (advanced)
*
* Declare a Separate Chaining Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_SC_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_STATIC_ADVANCED(_name, &sys_hashmap_sc_api, sys_hashmap_config, \
sys_hashmap_data, _hash_func, _alloc_func, __VA_ARGS__)
/**
* @brief Declare a Separate Chaining Hashmap statically
*
* Declare a Separate Chaining Hashmap statically with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_SC_DEFINE_STATIC(_name) \
SYS_HASHMAP_SC_DEFINE_STATIC_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
/**
* @brief Declare a Separate Chaining Hashmap
*
* Declare a Separate Chaining Hashmap with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_SC_DEFINE(_name) \
SYS_HASHMAP_SC_DEFINE_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
#ifdef CONFIG_SYS_HASH_MAP_CHOICE_SC
#define SYS_HASHMAP_DEFAULT_DEFINE(_name) SYS_HASHMAP_SC_DEFINE(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC(_name) SYS_HASHMAP_SC_DEFINE_STATIC(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_SC_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_SC_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#endif
extern const struct sys_hashmap_api sys_hashmap_sc_api;
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASH_MAP_SC_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_map_sc.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 869 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SYS_MPSC_LOCKFREE_H_
#define ZEPHYR_SYS_MPSC_LOCKFREE_H_
#include <stdint.h>
#include <stdbool.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Multiple Producer Single Consumer (MPSC) Lockfree Queue API
* @defgroup mpsc_lockfree MPSC Lockfree Queue API
* @ingroup datastructure_apis
* @{
*/
/**
* @file mpsc_lockfree.h
*
* @brief A wait-free intrusive multi producer single consumer (MPSC) queue using
* a singly linked list. Ordering is First-In-First-Out.
*
* Based on the well known and widely used wait-free MPSC queue described by
* Dmitry Vyukov with some slight changes to account for needs of an
* RTOS on a variety of archs. Both consumer and producer are wait free. No CAS
* loop or lock is needed.
*
* An MPSC queue is safe to produce or consume in an ISR with O(1) push/pop.
*
* @warning MPSC is *not* safe to consume in multiple execution contexts.
*/
/*
* On single core systems atomics are unnecessary
* and cause a lot of unnecessary cache invalidation
*
* Using volatile to at least ensure memory is read/written
* by the compiler generated op codes is enough.
*
* On SMP atomics *must* be used to ensure the pointers
* are updated in the correct order.
*/
#if defined(CONFIG_SMP)
typedef atomic_ptr_t mpsc_ptr_t;
#define mpsc_ptr_get(ptr) atomic_ptr_get(&(ptr))
#define mpsc_ptr_set(ptr, val) atomic_ptr_set(&(ptr), val)
#define mpsc_ptr_set_get(ptr, val) atomic_ptr_set(&(ptr), val)
#else /* defined(CONFIG_SMP) */
typedef struct mpsc_node *mpsc_ptr_t;
#define mpsc_ptr_get(ptr) ptr
#define mpsc_ptr_set(ptr, val) ptr = val
#define mpsc_ptr_set_get(ptr, val) \
({ \
mpsc_ptr_t tmp = ptr; \
ptr = val; \
tmp; \
})
#endif /* defined(CONFIG_SMP) */
/**
* @brief Queue member
*/
struct mpsc_node {
mpsc_ptr_t next;
};
/**
* @brief MPSC Queue
*/
struct mpsc {
mpsc_ptr_t head;
struct mpsc_node *tail;
struct mpsc_node stub;
};
/**
* @brief Static initializer for a mpsc queue
*
* Since the queue is
*
* @param symbol name of the queue
*/
#define MPSC_INIT(symbol) \
{ \
.head = (struct mpsc_node *)&symbol.stub, \
.tail = (struct mpsc_node *)&symbol.stub, \
.stub = { \
.next = NULL, \
}, \
}
/**
* @brief Initialize queue
*
* @param q Queue to initialize or reset
*/
static inline void mpsc_init(struct mpsc *q)
{
mpsc_ptr_set(q->head, &q->stub);
q->tail = &q->stub;
mpsc_ptr_set(q->stub.next, NULL);
}
/**
* @brief Push a node
*
* @param q Queue to push the node to
* @param n Node to push into the queue
*/
static ALWAYS_INLINE void mpsc_push(struct mpsc *q, struct mpsc_node *n)
{
struct mpsc_node *prev;
int key;
mpsc_ptr_set(n->next, NULL);
key = arch_irq_lock();
prev = (struct mpsc_node *)mpsc_ptr_set_get(q->head, n);
mpsc_ptr_set(prev->next, n);
arch_irq_unlock(key);
}
/**
* @brief Pop a node off of the list
*
* @retval NULL When no node is available
* @retval node When node is available
*/
static inline struct mpsc_node *mpsc_pop(struct mpsc *q)
{
struct mpsc_node *head;
struct mpsc_node *tail = q->tail;
struct mpsc_node *next = (struct mpsc_node *)mpsc_ptr_get(tail->next);
/* Skip over the stub/sentinel */
if (tail == &q->stub) {
if (next == NULL) {
return NULL;
}
q->tail = next;
tail = next;
next = (struct mpsc_node *)mpsc_ptr_get(next->next);
}
/* If next is non-NULL then a valid node is found, return it */
if (next != NULL) {
q->tail = next;
return tail;
}
head = (struct mpsc_node *)mpsc_ptr_get(q->head);
/* If next is NULL, and the tail != HEAD then the queue has pending
* updates that can't yet be accessed.
*/
if (tail != head) {
return NULL;
}
mpsc_push(q, &q->stub);
next = (struct mpsc_node *)mpsc_ptr_get(tail->next);
if (next != NULL) {
q->tail = next;
return tail;
}
return NULL;
}
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_SYS_MPSC_LOCKFREE_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mpsc_lockfree.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,144 |
```objective-c
/*
*/
#ifndef INCLUDE_ZEPHYR_SYS_ITERABLE_SECTIONS_H_
#define INCLUDE_ZEPHYR_SYS_ITERABLE_SECTIONS_H_
#include <zephyr/sys/__assert.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Iterable Sections APIs
* @defgroup iterable_section_apis Iterable Sections APIs
* @ingroup os_services
* @{
*/
/**
* @brief Defines a new element for an iterable section for a generic type.
*
* @details
* Convenience helper combining __in_section() and Z_DECL_ALIGN().
* The section name will be '.[SECNAME].static.[SECTION_POSTFIX]'
*
* In the linker script, create output sections for these using
* ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM().
*
* @note In order to store the element in ROM, a const specifier has to
* be added to the declaration: const TYPE_SECTION_ITERABLE(...);
*
* @param[in] type data type of variable
* @param[in] varname name of variable to place in section
* @param[in] secname type name of iterable section.
* @param[in] section_postfix postfix to use in section name
*/
#define TYPE_SECTION_ITERABLE(type, varname, secname, section_postfix) \
Z_DECL_ALIGN(type) varname \
__in_section(_##secname, static, _CONCAT(section_postfix, _)) __used __noasan
/**
* @brief iterable section start symbol for a generic type
*
* will return '_[OUT_TYPE]_list_start'.
*
* @param[in] secname type name of iterable section. For 'struct foobar' this
* would be TYPE_SECTION_START(foobar)
*
*/
#define TYPE_SECTION_START(secname) _CONCAT(_##secname, _list_start)
/**
* @brief iterable section end symbol for a generic type
*
* will return '_<SECNAME>_list_end'.
*
* @param[in] secname type name of iterable section. For 'struct foobar' this
* would be TYPE_SECTION_START(foobar)
*/
#define TYPE_SECTION_END(secname) _CONCAT(_##secname, _list_end)
/**
* @brief iterable section extern for start symbol for a generic type
*
* Helper macro to give extern for start of iterable section. The macro
* typically will be called TYPE_SECTION_START_EXTERN(struct foobar, foobar).
* This allows the macro to hand different types as well as cases where the
* type and section name may differ.
*
* @param[in] type data type of section
* @param[in] secname name of output section
*/
#define TYPE_SECTION_START_EXTERN(type, secname) \
extern type TYPE_SECTION_START(secname)[]
/**
* @brief iterable section extern for end symbol for a generic type
*
* Helper macro to give extern for end of iterable section. The macro
* typically will be called TYPE_SECTION_END_EXTERN(struct foobar, foobar).
* This allows the macro to hand different types as well as cases where the
* type and section name may differ.
*
* @param[in] type data type of section
* @param[in] secname name of output section
*/
#define TYPE_SECTION_END_EXTERN(type, secname) \
extern type TYPE_SECTION_END(secname)[]
/**
* @brief Iterate over a specified iterable section for a generic type
*
* @details
* Iterator for structure instances gathered by TYPE_SECTION_ITERABLE().
* The linker must provide a _<SECNAME>_list_start symbol and a
* _<SECNAME>_list_end symbol to mark the start and the end of the
* list of struct objects to iterate over. This is normally done using
* ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script.
*/
#define TYPE_SECTION_FOREACH(type, secname, iterator) \
TYPE_SECTION_START_EXTERN(type, secname); \
TYPE_SECTION_END_EXTERN(type, secname); \
for (type * iterator = TYPE_SECTION_START(secname); ({ \
__ASSERT(iterator <= TYPE_SECTION_END(secname),\
"unexpected list end location"); \
iterator < TYPE_SECTION_END(secname); \
}); \
iterator++)
/**
* @brief Get element from section for a generic type.
*
* @note There is no protection against reading beyond the section.
*
* @param[in] type type of element
* @param[in] secname name of output section
* @param[in] i Index.
* @param[out] dst Pointer to location where pointer to element is written.
*/
#define TYPE_SECTION_GET(type, secname, i, dst) do { \
TYPE_SECTION_START_EXTERN(type, secname); \
*(dst) = &TYPE_SECTION_START(secname)[i]; \
} while (0)
/**
* @brief Count elements in a section for a generic type.
*
* @param[in] type type of element
* @param[in] secname name of output section
* @param[out] dst Pointer to location where result is written.
*/
#define TYPE_SECTION_COUNT(type, secname, dst) do { \
TYPE_SECTION_START_EXTERN(type, secname); \
TYPE_SECTION_END_EXTERN(type, secname); \
*(dst) = ((uintptr_t)TYPE_SECTION_END(secname) - \
(uintptr_t)TYPE_SECTION_START(secname)) / sizeof(type); \
} while (0)
/**
* @brief iterable section start symbol for a struct type
*
* @param[in] struct_type data type of section
*/
#define STRUCT_SECTION_START(struct_type) \
TYPE_SECTION_START(struct_type)
/**
* @brief iterable section extern for start symbol for a struct
*
* Helper macro to give extern for start of iterable section.
*
* @param[in] struct_type data type of section
*/
#define STRUCT_SECTION_START_EXTERN(struct_type) \
TYPE_SECTION_START_EXTERN(struct struct_type, struct_type)
/**
* @brief iterable section end symbol for a struct type
*
* @param[in] struct_type data type of section
*/
#define STRUCT_SECTION_END(struct_type) \
TYPE_SECTION_END(struct_type)
/**
* @brief iterable section extern for end symbol for a struct
*
* Helper macro to give extern for end of iterable section.
*
* @param[in] struct_type data type of section
*/
#define STRUCT_SECTION_END_EXTERN(struct_type) \
TYPE_SECTION_END_EXTERN(struct struct_type, struct_type)
/**
* @brief Defines a new element of alternate data type for an iterable section.
*
* @details
* Special variant of STRUCT_SECTION_ITERABLE(), for placing alternate
* data types within the iterable section of a specific data type. The
* data type sizes and semantics must be equivalent!
*/
#define STRUCT_SECTION_ITERABLE_ALTERNATE(secname, struct_type, varname) \
TYPE_SECTION_ITERABLE(struct struct_type, varname, secname, varname)
/**
* @brief Defines an array of elements of alternate data type for an iterable
* section.
*
* @see STRUCT_SECTION_ITERABLE_ALTERNATE
*/
#define STRUCT_SECTION_ITERABLE_ARRAY_ALTERNATE(secname, struct_type, varname, \
size) \
TYPE_SECTION_ITERABLE(struct struct_type, varname[size], secname, \
varname)
/**
* @brief Defines a new element for an iterable section.
*
* @details
* Convenience helper combining __in_section() and Z_DECL_ALIGN().
* The section name is the struct type prepended with an underscore.
* The subsection is "static" and the subsubsection is the variable name.
*
* In the linker script, create output sections for these using
* ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM().
*
* @note In order to store the element in ROM, a const specifier has to
* be added to the declaration: const STRUCT_SECTION_ITERABLE(...);
*/
#define STRUCT_SECTION_ITERABLE(struct_type, varname) \
STRUCT_SECTION_ITERABLE_ALTERNATE(struct_type, struct_type, varname)
/**
* @brief Defines an array of elements for an iterable section.
*
* @see STRUCT_SECTION_ITERABLE
*/
#define STRUCT_SECTION_ITERABLE_ARRAY(struct_type, varname, size) \
STRUCT_SECTION_ITERABLE_ARRAY_ALTERNATE(struct_type, struct_type, \
varname, size)
/**
* @brief Defines a new element for an iterable section with a custom name.
*
* The name can be used to customize how iterable section entries are sorted.
* @see STRUCT_SECTION_ITERABLE()
*/
#define STRUCT_SECTION_ITERABLE_NAMED(struct_type, name, varname) \
TYPE_SECTION_ITERABLE(struct struct_type, varname, struct_type, name)
/**
* @brief Defines a new element for an iterable section with a custom name,
* placed in a custom section.
*
* The name can be used to customize how iterable section entries are sorted.
* @see STRUCT_SECTION_ITERABLE_NAMED()
*/
#define STRUCT_SECTION_ITERABLE_NAMED_ALTERNATE(struct_type, secname, name, varname) \
TYPE_SECTION_ITERABLE(struct struct_type, varname, secname, name)
/**
* @brief Iterate over a specified iterable section (alternate).
*
* @details
* Iterator for structure instances gathered by STRUCT_SECTION_ITERABLE().
* The linker must provide a _<SECNAME>_list_start symbol and a
* _<SECNAME>_list_end symbol to mark the start and the end of the
* list of struct objects to iterate over. This is normally done using
* ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script.
*/
#define STRUCT_SECTION_FOREACH_ALTERNATE(secname, struct_type, iterator) \
TYPE_SECTION_FOREACH(struct struct_type, secname, iterator)
/**
* @brief Iterate over a specified iterable section.
*
* @details
* Iterator for structure instances gathered by STRUCT_SECTION_ITERABLE().
* The linker must provide a _<struct_type>_list_start symbol and a
* _<struct_type>_list_end symbol to mark the start and the end of the
* list of struct objects to iterate over. This is normally done using
* ITERABLE_SECTION_ROM() or ITERABLE_SECTION_RAM() in the linker script.
*/
#define STRUCT_SECTION_FOREACH(struct_type, iterator) \
STRUCT_SECTION_FOREACH_ALTERNATE(struct_type, struct_type, iterator)
/**
* @brief Get element from section.
*
* @note There is no protection against reading beyond the section.
*
* @param[in] struct_type Struct type.
* @param[in] i Index.
* @param[out] dst Pointer to location where pointer to element is written.
*/
#define STRUCT_SECTION_GET(struct_type, i, dst) \
TYPE_SECTION_GET(struct struct_type, struct_type, i, dst)
/**
* @brief Count elements in a section.
*
* @param[in] struct_type Struct type
* @param[out] dst Pointer to location where result is written.
*/
#define STRUCT_SECTION_COUNT(struct_type, dst) \
TYPE_SECTION_COUNT(struct struct_type, struct_type, dst);
/**
* @}
*/ /* end of struct_section_apis */
#ifdef __cplusplus
}
#endif
#endif /* INCLUDE_ZEPHYR_SYS_ITERABLE_SECTIONS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/iterable_sections.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,358 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_LIBC_HOOKS_H_
#define ZEPHYR_INCLUDE_SYS_LIBC_HOOKS_H_
#include <zephyr/toolchain.h>
#include <zephyr/app_memory/app_memdomain.h>
#include <stdio.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Private header for specifying accessory functions to the C library internals
* that need to call into the kernel as system calls
*/
#if defined(CONFIG_NEWLIB_LIBC) || defined(CONFIG_ARCMWDT_LIBC)
/* syscall generation ignores preprocessor, ensure this is defined to ensure
* we don't have compile errors
*/
__syscall int zephyr_read_stdin(char *buf, int nbytes);
__syscall int zephyr_write_stdout(const void *buf, int nbytes);
#else
/* Minimal libc and picolibc */
__syscall int zephyr_fputc(int c, FILE * stream);
#ifdef CONFIG_MINIMAL_LIBC
/* Minimal libc only */
__syscall size_t zephyr_fwrite(const void *ZRESTRICT ptr, size_t size,
size_t nitems, FILE *ZRESTRICT stream);
#endif
#endif /* CONFIG_NEWLIB_LIBC */
void __stdout_hook_install(int (*hook)(int));
#ifdef CONFIG_USERSPACE
#ifdef CONFIG_COMMON_LIBC_MALLOC
/* When using the common malloc implementation with CONFIG_USERSPACE, the
* heap will be in a separate partition when there's an MPU or MMU
* available.
*/
#if CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE != 0 && \
(defined(CONFIG_MPU) || defined(CONFIG_MMU))
#define Z_MALLOC_PARTITION_EXISTS 1
#endif
#elif defined(CONFIG_NEWLIB_LIBC) && !defined(CONFIG_NEWLIB_LIBC_CUSTOM_SBRK)
/* If we are using newlib, the heap arena is in one of two areas:
* - If we have an MPU that requires power of two alignment, the heap bounds
* must be specified in Kconfig via CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE.
* - Otherwise, the heap arena on most arches starts at a suitably
* aligned base address after the `_end` linker symbol, through to the end
* of system RAM.
*/
#if (!defined(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT) || \
(defined(CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT) && \
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE))
#define Z_MALLOC_PARTITION_EXISTS 1
#endif
#endif /* CONFIG_NEWLIB_LIBC */
#ifdef Z_MALLOC_PARTITION_EXISTS
/* Memory partition containing the libc malloc arena. Configuration controls
* whether this is available, and an arena size may need to be set.
*/
extern struct k_mem_partition z_malloc_partition;
#endif
#ifdef CONFIG_NEED_LIBC_MEM_PARTITION
/* - All newlib globals will be placed into z_libc_partition.
* - Minimal C library globals, if any, will be placed into
* z_libc_partition.
* - Stack canary globals will be placed into z_libc_partition since
* it is not worth placing in its own partition.
* - Some architectures may place the global pointer to the thread local
* storage in z_libc_partition since it is not worth placing in its
* own partition.
*/
#define Z_LIBC_PARTITION_EXISTS 1
/* C library globals, except the malloc arena */
extern struct k_mem_partition z_libc_partition;
#endif
#endif /* CONFIG_USERSPACE */
#include <zephyr/syscalls/libc-hooks.h>
/* C library memory partitions */
#define Z_LIBC_DATA K_APP_DMEM(z_libc_partition)
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_LIBC_HOOKS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/libc-hooks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 774 |
```objective-c
/*
*
*/
/**
* @file
* @defgroup rbtree_apis Balanced Red/Black Tree
* @ingroup datastructure_apis
*
* @brief Balanced Red/Black Tree implementation
*
* This implements an intrusive balanced tree that guarantees
* O(log2(N)) runtime for all operations and amortized O(1) behavior
* for creation and destruction of whole trees. The algorithms and
* naming are conventional per existing academic and didactic
* implementations, c.f.:
*
* path_to_url
*
* The implementation is size-optimized to prioritize runtime memory
* usage. The data structure is intrusive, which is to say the @ref
* rbnode handle is intended to be placed in a separate struct, in the
* same way as with other such structures (e.g. Zephyr's @ref
* doubly-linked-list_apis), and requires no data pointer to be stored
* in the node. The color bit is unioned with a pointer (fairly common
* for such libraries). Most notably, there is no "parent" pointer
* stored in the node, the upper structure of the tree being generated
* dynamically via a stack as the tree is recursed. So the overall
* memory overhead of a node is just two pointers, identical with a
* doubly-linked list.
*
* @{
*/
#ifndef ZEPHYR_INCLUDE_SYS_RB_H_
#define ZEPHYR_INCLUDE_SYS_RB_H_
#include <stdbool.h>
#include <stdint.h>
/* Our SDK/toolchains integration seems to be inconsistent about
* whether they expose alloca.h or not. On gcc it's a moot point as
* it's always builtin.
*/
#ifdef __GNUC__
#ifndef alloca
#define alloca __builtin_alloca
#endif
#else
#include <alloca.h>
#endif
/**
* @brief Balanced red/black tree node structure
*/
struct rbnode {
/** @cond INTERNAL_HIDDEN */
struct rbnode *children[2];
/** @endcond */
};
/* Theoretical maximum depth of tree based on pointer size. If memory
* is filled with 2-pointer nodes, and the tree can be twice as a
* packed binary tree, plus root... Works out to 59 entries for 32
* bit pointers and 121 at 64 bits.
*/
#define Z_TBITS(t) ((sizeof(t)) < 8 ? 2 : 3)
#define Z_PBITS(t) (8 * sizeof(t))
#define Z_MAX_RBTREE_DEPTH (2 * (Z_PBITS(int *) - Z_TBITS(int *) - 1) + 1)
/**
* @typedef rb_lessthan_t
* @brief Red/black tree comparison predicate
*
* Compares the two nodes and returns true if node A is strictly less
* than B according to the tree's sorting criteria, false otherwise.
*
* Note that during insert, the new node being inserted will always be
* "A", where "B" is the existing node within the tree against which
* it is being compared. This trait can be used (with care!) to
* implement "most/least recently added" semantics between nodes which
* would otherwise compare as equal.
*/
typedef bool (*rb_lessthan_t)(struct rbnode *a, struct rbnode *b);
/**
* @brief Balanced red/black tree structure
*/
struct rbtree {
/** Root node of the tree */
struct rbnode *root;
/** Comparison function for nodes in the tree */
rb_lessthan_t lessthan_fn;
/** @cond INTERNAL_HIDDEN */
int max_depth;
#ifdef CONFIG_MISRA_SANE
struct rbnode *iter_stack[Z_MAX_RBTREE_DEPTH];
unsigned char iter_left[Z_MAX_RBTREE_DEPTH];
#endif
/** @endcond */
};
/**
* @brief Prototype for node visitor callback.
* @param node Node being visited
* @param cookie User-specified data
*/
typedef void (*rb_visit_t)(struct rbnode *node, void *cookie);
struct rbnode *z_rb_child(struct rbnode *node, uint8_t side);
int z_rb_is_black(struct rbnode *node);
#ifndef CONFIG_MISRA_SANE
void z_rb_walk(struct rbnode *node, rb_visit_t visit_fn, void *cookie);
#endif
struct rbnode *z_rb_get_minmax(struct rbtree *tree, uint8_t side);
/**
* @brief Insert node into tree
*/
void rb_insert(struct rbtree *tree, struct rbnode *node);
/**
* @brief Remove node from tree
*/
void rb_remove(struct rbtree *tree, struct rbnode *node);
/**
* @brief Returns the lowest-sorted member of the tree
*/
static inline struct rbnode *rb_get_min(struct rbtree *tree)
{
return z_rb_get_minmax(tree, 0U);
}
/**
* @brief Returns the highest-sorted member of the tree
*/
static inline struct rbnode *rb_get_max(struct rbtree *tree)
{
return z_rb_get_minmax(tree, 1U);
}
/**
* @brief Returns true if the given node is part of the tree
*
* Note that this does not internally dereference the node pointer
* (though the tree's lessthan callback might!), it just tests it for
* equality with items in the tree. So it's feasible to use this to
* implement a "set" construct by simply testing the pointer value
* itself.
*/
bool rb_contains(struct rbtree *tree, struct rbnode *node);
#ifndef CONFIG_MISRA_SANE
/**
* @brief Walk/enumerate a rbtree
*
* Very simple recursive enumeration. Low code size, but requiring a
* separate function can be clumsy for the user and there is no way to
* break out of the loop early. See RB_FOR_EACH for an iterative
* implementation.
*/
static inline void rb_walk(struct rbtree *tree, rb_visit_t visit_fn,
void *cookie)
{
z_rb_walk(tree->root, visit_fn, cookie);
}
#endif
struct _rb_foreach {
struct rbnode **stack;
uint8_t *is_left;
int32_t top;
};
#ifdef CONFIG_MISRA_SANE
#define _RB_FOREACH_INIT(tree, node) { \
.stack = &(tree)->iter_stack[0], \
.is_left = &(tree)->iter_left[0], \
.top = -1 \
}
#else
#define _RB_FOREACH_INIT(tree, node) { \
.stack = (struct rbnode **) \
alloca((tree)->max_depth * sizeof(struct rbnode *)), \
.is_left = (uint8_t *)alloca((tree)->max_depth * sizeof(uint8_t)),\
.top = -1 \
}
#endif
struct rbnode *z_rb_foreach_next(struct rbtree *tree, struct _rb_foreach *f);
/**
* @brief Walk a tree in-order without recursing
*
* While @ref rb_walk() is very simple, recursing on the C stack can
* be clumsy for some purposes and on some architectures wastes
* significant memory in stack frames. This macro implements a
* non-recursive "foreach" loop that can iterate directly on the tree,
* at a moderate cost in code size.
*
* Note that the resulting loop is not safe against modifications to
* the tree. Changes to the tree structure during the loop will
* produce incorrect results, as nodes may be skipped or duplicated.
* Unlike linked lists, no _SAFE variant exists.
*
* Note also that the macro expands its arguments multiple times, so
* they should not be expressions with side effects.
*
* @param tree A pointer to a struct rbtree to walk
* @param node The symbol name of a local struct rbnode* variable to
* use as the iterator
*/
#define RB_FOR_EACH(tree, node) \
for (struct _rb_foreach __f = _RB_FOREACH_INIT(tree, node); \
((node) = z_rb_foreach_next((tree), &__f)); \
/**/)
/**
* @brief Loop over rbtree with implicit container field logic
*
* As for RB_FOR_EACH(), but "node" can have an arbitrary type
* containing a struct rbnode.
*
* @param tree A pointer to a struct rbtree to walk
* @param node The symbol name of a local iterator
* @param field The field name of a struct rbnode inside node
*/
#define RB_FOR_EACH_CONTAINER(tree, node, field) \
for (struct _rb_foreach __f = _RB_FOREACH_INIT(tree, node); \
({struct rbnode *n = z_rb_foreach_next(tree, &__f); \
(node) = n ? CONTAINER_OF(n, __typeof__(*(node)), \
field) : NULL; (node); }) != NULL; \
/**/)
/** @} */
#endif /* ZEPHYR_INCLUDE_SYS_RB_H_ */
``` | /content/code_sandbox/include/zephyr/sys/rb.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,897 |
```objective-c
/* Port and memory mapped registers I/O operations */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_SYS_IO_H_
#define ZEPHYR_INCLUDE_SYS_SYS_IO_H_
#include <zephyr/types.h>
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef uint32_t io_port_t;
typedef uintptr_t mm_reg_t;
typedef uintptr_t mem_addr_t;
/* Port I/O functions */
/**
* @fn static inline void sys_out8(uint8_t data, io_port_t port);
* @brief Output a byte to an I/O port
*
* This function writes a byte to the given port.
*
* @param data the byte to write
* @param port the port address where to write the byte
*/
/**
* @fn static inline uint8_t sys_in8(io_port_t port);
* @brief Input a byte from an I/O port
*
* This function reads a byte from the port.
*
* @param port the port address from where to read the byte
*
* @return the byte read
*/
/**
* @fn static inline void sys_out16(uint16_t data, io_port_t port);
* @brief Output a 16 bits to an I/O port
*
* This function writes a 16 bits to the given port.
*
* @param data the 16 bits to write
* @param port the port address where to write the 16 bits
*/
/**
* @fn static inline uint16_t sys_in16(io_port_t port);
* @brief Input 16 bits from an I/O port
*
* This function reads 16 bits from the port.
*
* @param port the port address from where to read the 16 bits
*
* @return the 16 bits read
*/
/**
* @fn static inline void sys_out32(uint32_t data, io_port_t port);
* @brief Output 32 bits to an I/O port
*
* This function writes 32 bits to the given port.
*
* @param data the 32 bits to write
* @param port the port address where to write the 32 bits
*/
/**
* @fn static inline uint32_t sys_in32(io_port_t port);
* @brief Input 32 bits from an I/O port
*
* This function reads 32 bits from the port.
*
* @param port the port address from where to read the 32 bits
*
* @return the 32 bits read
*/
/**
* @fn static inline void sys_io_set_bit(io_port_t port, unsigned int bit)
* @brief Set the designated bit from port to 1
*
* This functions takes the designated bit starting from port and sets it to 1.
*
* @param port the port address from where to look for the bit
* @param bit the designated bit to set (from 0 to n)
*/
/**
* @fn static inline void sys_io_clear_bit(io_port_t port, unsigned int bit)
* @brief Clear the designated bit from port to 0
*
* This functions takes the designated bit starting from port and sets it to 0.
*
* @param port the port address from where to look for the bit
* @param bit the designated bit to clear (from 0 to n)
*/
/**
* @fn static inline int sys_io_test_bit(io_port_t port, unsigned int bit)
* @brief Test the bit from port if it is set or not
*
* This functions takes the designated bit starting from port and tests its
* current setting. It will return the current setting.
*
* @param port the port address from where to look for the bit
* @param bit the designated bit to test (from 0 to n)
*
* @return 1 if it is set, 0 otherwise
*/
/**
* @fn static inline int sys_io_test_and_set_bit(io_port_t port, unsigned int bit)
* @brief Test the bit from port and set it
*
* This functions takes the designated bit starting from port, tests its
* current setting and sets it. It will return the previous setting.
*
* @param port the port address from where to look for the bit
* @param bit the designated bit to test and set (from 0 to n)
*
* @return 1 if it was set, 0 otherwise
*/
/**
* @fn static inline int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit)
* @brief Test the bit from port and clear it
*
* This functions takes the designated bit starting from port, tests its
* current setting and clears it. It will return the previous setting.
*
* @param port the port address from where to look for the bit
* @param bit the designated bit to test and clear (from 0 to n)
*
* @return 0 if it was clear, 1 otherwise
*/
/* Memory mapped registers I/O functions */
/**
* @fn static inline void sys_write8(uint8_t data, mm_reg_t addr);
* @brief Write a byte to a memory mapped register
*
* This function writes a byte to the given memory mapped register.
*
* @param data the byte to write
* @param addr the memory mapped register address where to write the byte
*/
/**
* @fn static inline uint8_t sys_read8(mm_reg_t addr);
* @brief Read a byte from a memory mapped register
*
* This function reads a byte from the given memory mapped register.
*
* @param addr the memory mapped register address from where to read the byte
*
* @return the byte read
*/
/**
* @fn static inline void sys_write16(uint16_t data, mm_reg_t addr);
* @brief Write 16 bits to a memory mapped register
*
* This function writes 16 bits to the given memory mapped register.
*
* @param data the 16 bits to write
* @param addr the memory mapped register address where to write the 16 bits
*/
/**
* @fn static inline uint16_t sys_read16(mm_reg_t addr);
* @brief Read 16 bits from a memory mapped register
*
* This function reads 16 bits from the given memory mapped register.
*
* @param addr the memory mapped register address from where to read
* the 16 bits
*
* @return the 16 bits read
*/
/**
* @fn static inline void sys_write32(uint32_t data, mm_reg_t addr);
* @brief Write 32 bits to a memory mapped register
*
* This function writes 32 bits to the given memory mapped register.
*
* @param data the 32 bits to write
* @param addr the memory mapped register address where to write the 32 bits
*/
/**
* @fn static inline uint32_t sys_read32(mm_reg_t addr);
* @brief Read 32 bits from a memory mapped register
*
* This function reads 32 bits from the given memory mapped register.
*
* @param addr the memory mapped register address from where to read
* the 32 bits
*
* @return the 32 bits read
*/
/**
* @fn static inline void sys_write64(uint64_t data, mm_reg_t addr);
* @brief Write 64 bits to a memory mapped register
*
* This function writes 64 bits to the given memory mapped register.
*
* @param data the 64 bits to write
* @param addr the memory mapped register address where to write the 64 bits
*/
/**
* @fn static inline uint64_t sys_read64(mm_reg_t addr);
* @brief Read 64 bits from a memory mapped register
*
* This function reads 64 bits from the given memory mapped register.
*
* @param addr the memory mapped register address from where to read
* the 64 bits
*
* @return the 64 bits read
*/
/* Memory bits manipulation functions */
/**
* @fn static inline void sys_set_bit(mem_addr_t addr, unsigned int bit)
* @brief Set the designated bit from addr to 1
*
* This functions takes the designated bit starting from addr and sets it to 1.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to set (from 0 to 31)
*/
/**
* @fn static inline void sys_set_bits(mem_addr_t addr, unsigned int mask)
* @brief Masking the designated bits from addr to 1
*
* This functions masking designated bits from addr to 1.
*
* @param addr the memory address from where to look for the bits
* @param mask the bit mask of a 32 bits data to set
*/
/**
* @fn static inline void sys_clear_bits(mem_addr_t addr, unsigned int mask)
* @brief Masking the designated bits from addr to 0
*
* This functions masking designated bits from addr to 0.
*
* @param addr the memory address from where to look for the bits
* @param mask the bit mask of a 32 bits data to set
*/
/**
* @fn static inline void sys_clear_bit(mem_addr_t addr, unsigned int bit)
* @brief Clear the designated bit from addr to 0
*
* This functions takes the designated bit starting from addr and sets it to 0.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to clear (from 0 to 31)
*/
/**
* @fn static inline int sys_test_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit if it is set or not
*
* This functions takes the designated bit starting from addr and tests its
* current setting. It will return the current setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test (from 0 to 31)
*
* @return 1 if it is set, 0 otherwise
*/
/**
* @fn static inline int sys_test_and_set_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit and set it
*
* This functions takes the designated bit starting from addr, tests its
* current setting and sets it. It will return the previous setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and set (from 0 to 31)
*
* @return 1 if it was set, 0 otherwise
*/
/**
* @fn static inline int sys_test_and_clear_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit and clear it
*
* This functions takes the designated bit starting from addr, test its
* current setting and clears it. It will return the previous setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and clear (from 0 to 31)
*
* @return 0 if it was clear, 1 otherwise
*/
/**
* @fn static inline void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit)
* @brief Set the designated bit from addr to 1
*
* This functions takes the designated bit starting from addr and sets it to 1.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to set (arbitrary)
*/
/**
* @fn static inline void sys_bitfield_clear_bit(mem_addr_t addr, unsigned int bit)
* @brief Clear the designated bit from addr to 0
*
* This functions takes the designated bit starting from addr and sets it to 0.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to clear (arbitrary)
*/
/**
* @fn static inline int sys_bitfield_test_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit if it is set or not
*
* This functions takes the designated bit starting from addr and tests its
* current setting. It will return the current setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test (arbitrary
*
* @return 1 if it is set, 0 otherwise
*/
/**
* @fn static inline int sys_bitfield_test_and_set_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit and set it
*
* This functions takes the designated bit starting from addr, tests its
* current setting and sets it. It will return the previous setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and set (arbitrary)
*
* @return 1 if it was set, 0 otherwise
*/
/**
* @fn static inline int sys_bitfield_test_and_clear_bit(mem_addr_t addr, unsigned int bit)
* @brief Test the bit and clear it
*
* This functions takes the designated bit starting from addr, test its
* current setting and clears it. It will return the previous setting.
*
* @param addr the memory address from where to look for the bit
* @param bit the designated bit to test and clear (arbitrary)
*
* @return 0 if it was clear, 1 otherwise
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_SYS_IO_H_ */
``` | /content/code_sandbox/include/zephyr/sys/sys_io.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,798 |
```objective-c
/*
*
*/
/**
* @file
* @brief Internals for looping macros
*
* Repetitive or obscure helper macros needed by sys/util.h.
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_
#define Z_FOR_LOOP_GET_ARG(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, \
_12, _13, _14, _15, _16, _17, _18, _19, _20, \
_21, _22, _23, _24, _25, _26, _27, _28, _29, \
_30, _31, _32, _33, _34, _35, _36, _37, _38, \
_39, _40, _41, _42, _43, _44, _45, _46, _47, \
_48, _49, _50, _51, _52, _53, _54, _55, _56, \
_57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
#define Z_FOR_LOOP_0(z_call, sep, fixed_arg0, fixed_arg1, ...)
#define Z_FOR_LOOP_1(z_call, sep, fixed_arg0, fixed_arg1, x) \
z_call(0, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_1(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(1, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(2, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(3, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(4, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_6(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_5(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(5, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_7(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_6(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(6, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_8(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_7(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(7, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_9(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_8(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(8, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_10(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_9(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(9, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_11(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_10(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(10, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_12(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_11(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(11, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_13(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_12(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(12, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_14(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_13(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(13, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_15(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_14(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(14, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_16(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_15(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(15, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_17(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_16(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(16, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_18(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_17(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(17, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_19(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_18(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(18, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_20(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_19(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(19, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_21(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_20(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(20, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_22(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_21(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(21, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_23(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_22(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(22, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_24(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_23(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(23, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_25(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_24(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(24, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_26(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_25(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(25, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_27(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_26(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(26, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_28(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_27(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(27, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_29(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_28(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(28, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_30(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_29(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(29, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_31(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_30(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(30, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_32(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_31(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(31, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_33(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_32(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(32, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_34(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_33(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(33, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_35(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_34(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(34, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_36(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_35(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(35, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_37(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_36(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(36, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_38(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_37(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(37, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_39(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_38(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(38, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_40(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_39(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(39, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_41(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_40(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(40, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_42(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_41(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(41, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_43(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_42(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(42, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_44(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_43(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(43, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_45(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_44(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(44, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_46(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_45(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(45, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_47(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_46(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(46, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_48(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_47(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(47, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_49(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_48(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(48, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_50(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_49(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(49, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_51(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_50(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(50, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_52(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_51(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(51, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_53(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_52(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(52, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_54(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_53(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(53, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_55(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_54(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(54, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_56(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_55(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(55, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_57(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_56(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(56, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_58(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_57(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(57, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_59(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_58(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(58, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_60(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_59(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(59, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_61(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_60(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(60, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_62(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_61(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(61, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_63(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_62(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(62, x, fixed_arg0, fixed_arg1)
#define Z_FOR_LOOP_64(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \
Z_FOR_LOOP_63(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \
__DEBRACKET sep \
z_call(63, x, fixed_arg0, fixed_arg1)
#define Z_FOR_EACH_ENGINE(x, sep, fixed_arg0, fixed_arg1, ...) \
Z_FOR_LOOP_GET_ARG(__VA_ARGS__, \
Z_FOR_LOOP_64, \
Z_FOR_LOOP_63, \
Z_FOR_LOOP_62, \
Z_FOR_LOOP_61, \
Z_FOR_LOOP_60, \
Z_FOR_LOOP_59, \
Z_FOR_LOOP_58, \
Z_FOR_LOOP_57, \
Z_FOR_LOOP_56, \
Z_FOR_LOOP_55, \
Z_FOR_LOOP_54, \
Z_FOR_LOOP_53, \
Z_FOR_LOOP_52, \
Z_FOR_LOOP_51, \
Z_FOR_LOOP_50, \
Z_FOR_LOOP_49, \
Z_FOR_LOOP_48, \
Z_FOR_LOOP_47, \
Z_FOR_LOOP_46, \
Z_FOR_LOOP_45, \
Z_FOR_LOOP_44, \
Z_FOR_LOOP_43, \
Z_FOR_LOOP_42, \
Z_FOR_LOOP_41, \
Z_FOR_LOOP_40, \
Z_FOR_LOOP_39, \
Z_FOR_LOOP_38, \
Z_FOR_LOOP_37, \
Z_FOR_LOOP_36, \
Z_FOR_LOOP_35, \
Z_FOR_LOOP_34, \
Z_FOR_LOOP_33, \
Z_FOR_LOOP_32, \
Z_FOR_LOOP_31, \
Z_FOR_LOOP_30, \
Z_FOR_LOOP_29, \
Z_FOR_LOOP_28, \
Z_FOR_LOOP_27, \
Z_FOR_LOOP_26, \
Z_FOR_LOOP_25, \
Z_FOR_LOOP_24, \
Z_FOR_LOOP_23, \
Z_FOR_LOOP_22, \
Z_FOR_LOOP_21, \
Z_FOR_LOOP_20, \
Z_FOR_LOOP_19, \
Z_FOR_LOOP_18, \
Z_FOR_LOOP_17, \
Z_FOR_LOOP_16, \
Z_FOR_LOOP_15, \
Z_FOR_LOOP_14, \
Z_FOR_LOOP_13, \
Z_FOR_LOOP_12, \
Z_FOR_LOOP_11, \
Z_FOR_LOOP_10, \
Z_FOR_LOOP_9, \
Z_FOR_LOOP_8, \
Z_FOR_LOOP_7, \
Z_FOR_LOOP_6, \
Z_FOR_LOOP_5, \
Z_FOR_LOOP_4, \
Z_FOR_LOOP_3, \
Z_FOR_LOOP_2, \
Z_FOR_LOOP_1, \
Z_FOR_LOOP_0)(x, sep, fixed_arg0, fixed_arg1, __VA_ARGS__)
#define Z_GET_ARG_1(_0, ...) _0
#define Z_GET_ARG_2(_0, _1, ...) _1
#define Z_GET_ARG_3(_0, _1, _2, ...) _2
#define Z_GET_ARG_4(_0, _1, _2, _3, ...) _3
#define Z_GET_ARG_5(_0, _1, _2, _3, _4, ...) _4
#define Z_GET_ARG_6(_0, _1, _2, _3, _4, _5, ...) _5
#define Z_GET_ARG_7(_0, _1, _2, _3, _4, _5, _6, ...) _6
#define Z_GET_ARG_8(_0, _1, _2, _3, _4, _5, _6, _7, ...) _7
#define Z_GET_ARG_9(_0, _1, _2, _3, _4, _5, _6, _7, _8, ...) _8
#define Z_GET_ARG_10(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, ...) _9
#define Z_GET_ARG_11(_0, _1, _2, _3, _4, _5, \
_6, _7, _8, _9, _10, ...) _10
#define Z_GET_ARG_12(_0, _1, _2, _3, _4, _5, _6,\
_7, _8, _9, _10, _11, ...) _11
#define Z_GET_ARG_13(_0, _1, _2, _3, _4, _5, _6, \
_7, _8, _9, _10, _11, _12, ...) _12
#define Z_GET_ARG_14(_0, _1, _2, _3, _4, _5, _6, \
_7, _8, _9, _10, _11, _12, _13, ...) _13
#define Z_GET_ARG_15(_0, _1, _2, _3, _4, _5, _6, _7, \
_8, _9, _10, _11, _12, _13, _14, ...) _14
#define Z_GET_ARG_16(_0, _1, _2, _3, _4, _5, _6, _7, \
_8, _9, _10, _11, _12, _13, _14, _15, ...) _15
#define Z_GET_ARG_17(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, ...) _16
#define Z_GET_ARG_18(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, ...) _17
#define Z_GET_ARG_19(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, ...) _18
#define Z_GET_ARG_20(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
...) _19
#define Z_GET_ARG_21(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, ...) _20
#define Z_GET_ARG_22(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, ...) _21
#define Z_GET_ARG_23(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, ...) _22
#define Z_GET_ARG_24(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, ...) _23
#define Z_GET_ARG_25(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, ...) _24
#define Z_GET_ARG_26(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, ...) _25
#define Z_GET_ARG_27(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, ...) _26
#define Z_GET_ARG_28(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, ...) _27
#define Z_GET_ARG_29(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
...) _28
#define Z_GET_ARG_30(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, ...) _29
#define Z_GET_ARG_31(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, ...) _30
#define Z_GET_ARG_32(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, ...) _31
#define Z_GET_ARG_33(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, ...) _32
#define Z_GET_ARG_34(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, ...) _33
#define Z_GET_ARG_35(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, ...) _34
#define Z_GET_ARG_36(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, ...) _35
#define Z_GET_ARG_37(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, ...) _36
#define Z_GET_ARG_38(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, ...) _37
#define Z_GET_ARG_39(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, ...) _38
#define Z_GET_ARG_40(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, ...) _39
#define Z_GET_ARG_41(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, ...) _40
#define Z_GET_ARG_42(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, ...) _41
#define Z_GET_ARG_43(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, ...) _42
#define Z_GET_ARG_44(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, ...) _43
#define Z_GET_ARG_45(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, ...) _44
#define Z_GET_ARG_46(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, ...) _45
#define Z_GET_ARG_47(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, ...) _46
#define Z_GET_ARG_48(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, ...) _47
#define Z_GET_ARG_49(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, ...) _48
#define Z_GET_ARG_50(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, ...) _49
#define Z_GET_ARG_51(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, ...) _50
#define Z_GET_ARG_52(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, ...) _51
#define Z_GET_ARG_53(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, ...) _52
#define Z_GET_ARG_54(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, ...) _53
#define Z_GET_ARG_55(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, ...) _54
#define Z_GET_ARG_56(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, ...) _55
#define Z_GET_ARG_57(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, ...) _56
#define Z_GET_ARG_58(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, ...) _57
#define Z_GET_ARG_59(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, ...) _58
#define Z_GET_ARG_60(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, ...) _59
#define Z_GET_ARG_61(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, ...) _60
#define Z_GET_ARG_62(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, ...) _61
#define Z_GET_ARG_63(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, _62, ...) _62
#define Z_GET_ARG_64(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, _62, _63, ...) _63
#define Z_GET_ARGS_LESS_0(...) __VA_ARGS__
#define Z_GET_ARGS_LESS_1(_0, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_2(_0, _1, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_3(_0, _1, _2, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_4(_0, _1, _2, _3, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_5(_0, _1, _2, _3, _4, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_6(_0, _1, _2, _3, _4, _5, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_7(_0, _1, _2, _3, _4, _5, _6, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_8(_0, _1, _2, _3, _4, _5, \
_6, _7, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_9(_0, _1, _2, _3, _4, _5, \
_6, _7, _8, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_10(_0, _1, _2, _3, _4, _5, \
_6, _7, _8, _9, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_11(_0, _1, _2, _3, _4, _5, \
_6, _7, _8, _9, _10, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_12(_0, _1, _2, _3, _4, _5, _6,\
_7, _8, _9, _10, _11, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_13(_0, _1, _2, _3, _4, _5, _6, \
_7, _8, _9, _10, _11, _12, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_14(_0, _1, _2, _3, _4, _5, _6, \
_7, _8, _9, _10, _11, _12, _13, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_15(_0, _1, _2, _3, _4, _5, _6, _7, \
_8, _9, _10, _11, _12, _13, _14, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_16(_0, _1, _2, _3, _4, _5, _6, _7, \
_8, _9, _10, _11, _12, _13, _14, _15, ...) \
__VA_ARGS__
#define Z_GET_ARGS_LESS_17(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_18(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, ...) \
__VA_ARGS__
#define Z_GET_ARGS_LESS_19(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, ...) \
__VA_ARGS__
#define Z_GET_ARGS_LESS_20(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_21(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_22(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_23(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_24(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_25(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_26(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_27(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, ...) \
__VA_ARGS__
#define Z_GET_ARGS_LESS_28(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_29(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_30(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_31(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_32(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_33(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_34(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_35(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_36(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_37(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_38(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_39(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_40(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_41(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_42(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_43(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_44(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_45(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_46(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_47(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_48(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_49(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_50(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_51(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_52(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_53(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_54(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_55(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_56(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
...) __VA_ARGS__
#define Z_GET_ARGS_LESS_57(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_58(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_59(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_60(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_61(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_62(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_63(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, _62, ...) __VA_ARGS__
#define Z_GET_ARGS_LESS_64(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, \
_11, _12, _13, _14, _15, _16, _17, _18, _19, \
_20, _21, _22, _23, _24, _25, _26, _27, _28, \
_29, _30, _31, _32, _33, _34, _35, _36, _37, \
_38, _39, _40, _41, _42, _43, _44, _45, _46, \
_47, _48, _49, _50, _51, _52, _53, _54, _55, \
_56, _57, _58, _59, _60, _61, _62, _63, ...) __VA_ARGS__
#define Z_FOR_EACH_IDX_FIXED_ARG_EXEC(idx, x, fixed_arg0, fixed_arg1) \
fixed_arg0(idx, x, fixed_arg1)
#define Z_FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, ...) \
Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_FIXED_ARG_EXEC, sep, \
F, fixed_arg, __VA_ARGS__)
#define Z_FOR_EACH_FIXED_ARG_EXEC(idx, x, fixed_arg0, fixed_arg1) \
fixed_arg0(x, fixed_arg1)
#define Z_FOR_EACH_FIXED_ARG(F, sep, fixed_arg, ...) \
Z_FOR_EACH_ENGINE(Z_FOR_EACH_FIXED_ARG_EXEC, sep, \
F, fixed_arg, __VA_ARGS__)
#define Z_FOR_EACH_IDX_EXEC(idx, x, fixed_arg0, fixed_arg1) \
fixed_arg0(idx, x)
#define Z_FOR_EACH_IDX(F, sep, ...) \
Z_FOR_EACH_ENGINE(Z_FOR_EACH_IDX_EXEC, sep, F, _, __VA_ARGS__)
#define Z_FOR_EACH_EXEC(idx, x, fixed_arg0, fixed_arg1) \
fixed_arg0(x)
#define Z_FOR_EACH(F, sep, ...) \
Z_FOR_EACH_ENGINE(Z_FOR_EACH_EXEC, sep, F, _, __VA_ARGS__)
#define Z_BYPASS(x) x
/* Set of UTIL_LISTIFY particles */
#include "util_listify.h"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util_loops.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 20,416 |
```objective-c
/* atomic operations */
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_BUILTIN_H_
#define ZEPHYR_INCLUDE_SYS_ATOMIC_BUILTIN_H_
#include <stdbool.h>
#include <stddef.h>
#include <zephyr/sys/atomic_types.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Included from <atomic.h> */
static inline bool atomic_cas(atomic_t *target, atomic_val_t old_value,
atomic_val_t new_value)
{
return __atomic_compare_exchange_n(target, &old_value, new_value,
0, __ATOMIC_SEQ_CST,
__ATOMIC_SEQ_CST);
}
static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
atomic_ptr_val_t new_value)
{
return __atomic_compare_exchange_n(target, &old_value, new_value,
0, __ATOMIC_SEQ_CST,
__ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_add(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_sub(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_inc(atomic_t *target)
{
return atomic_add(target, 1);
}
static inline atomic_val_t atomic_dec(atomic_t *target)
{
return atomic_sub(target, 1);
}
static inline atomic_val_t atomic_get(const atomic_t *target)
{
return __atomic_load_n(target, __ATOMIC_SEQ_CST);
}
static inline atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target)
{
return __atomic_load_n(target, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_set(atomic_t *target, atomic_val_t value)
{
/* This builtin, as described by Intel, is not a traditional
* test-and-set operation, but rather an atomic exchange operation. It
* writes value into *ptr, and returns the previous contents of *ptr.
*/
return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value)
{
return __atomic_exchange_n(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_clear(atomic_t *target)
{
return atomic_set(target, 0);
}
static inline atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target)
{
return atomic_ptr_set(target, NULL);
}
static inline atomic_val_t atomic_or(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_or(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_xor(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_and(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_and(target, value, __ATOMIC_SEQ_CST);
}
static inline atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value)
{
return __atomic_fetch_nand(target, value, __ATOMIC_SEQ_CST);
}
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_BUILTIN_H_ */
``` | /content/code_sandbox/include/zephyr/sys/atomic_builtin.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 719 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
#define ZEPHYR_INCLUDE_SYS_BARRIER_H_
#include <zephyr/toolchain.h>
#if defined(CONFIG_BARRIER_OPERATIONS_ARCH)
# if defined(CONFIG_ARM)
# include <zephyr/arch/arm/barrier.h>
# elif defined(CONFIG_ARM64)
# include <zephyr/arch/arm64/barrier.h>
# endif
#elif defined(CONFIG_BARRIER_OPERATIONS_BUILTIN)
#include <zephyr/sys/barrier_builtin.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/**
* @addtogroup barrier_apis Barrier Services APIs
* @since 3.4
* @version 0.1.0
* @ingroup kernel_apis
* @{
*/
/**
* @brief Full/sequentially-consistent data memory barrier.
*
* This routine acts as a synchronization fence between threads and prevents
* re-ordering of data accesses instructions across the barrier instruction.
*/
static ALWAYS_INLINE void barrier_dmem_fence_full(void)
{
#if defined(CONFIG_BARRIER_OPERATIONS_ARCH) || defined(CONFIG_BARRIER_OPERATIONS_BUILTIN)
z_barrier_dmem_fence_full();
#endif
}
/**
* @brief Full/sequentially-consistent data synchronization barrier.
*
* This routine acts as a synchronization fence between threads and prevents
* re-ordering of data accesses instructions across the barrier instruction
* like @ref barrier_dmem_fence_full(), but has the additional effect of
* blocking execution of any further instructions, not just loads or stores, or
* both, until synchronization is complete.
*
* @note When not supported by hardware or architecture, this instruction falls
* back to a full/sequentially-consistent data memory barrier.
*/
static ALWAYS_INLINE void barrier_dsync_fence_full(void)
{
#if defined(CONFIG_BARRIER_OPERATIONS_ARCH) || defined(CONFIG_BARRIER_OPERATIONS_BUILTIN)
z_barrier_dsync_fence_full();
#endif
}
/**
* @brief Full/sequentially-consistent instruction synchronization barrier.
*
* This routine is used to guarantee that any subsequent instructions are
* fetched and to ensure any previously executed context-changing operations,
* such as writes to system control registers, have completed by the time the
* routine completes. In hardware terms, this might mean that the instruction
* pipeline is flushed, for example.
*
* @note When not supported by hardware or architecture, this instruction falls
* back to a compiler barrier.
*/
static ALWAYS_INLINE void barrier_isync_fence_full(void)
{
#if defined(CONFIG_BARRIER_OPERATIONS_ARCH) || defined(CONFIG_BARRIER_OPERATIONS_BUILTIN)
z_barrier_isync_fence_full();
#endif
}
/** @} */
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_H_ */
``` | /content/code_sandbox/include/zephyr/sys/barrier.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 567 |
```objective-c
/*
*
*/
/**
* @file
* @brief Inline implementation of functions declared in math_extras.h.
*/
#ifndef ZEPHYR_INCLUDE_SYS_MATH_EXTRAS_H_
#error "please include <sys/math_extras.h> instead of this file"
#endif
#include <zephyr/toolchain.h>
/*
* Force the use of portable C code (no builtins) by defining
* PORTABLE_MISC_MATH_EXTRAS before including <misc/math_extras.h>.
* This is primarily for use by tests.
*
* We'll #undef use_builtin again at the end of the file.
*/
#ifdef PORTABLE_MISC_MATH_EXTRAS
#define use_builtin(x) 0
#else
#define use_builtin(x) HAS_BUILTIN(x)
#endif
#if use_builtin(__builtin_add_overflow)
static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result)
{
return __builtin_add_overflow(a, b, result);
}
static inline bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result)
{
return __builtin_add_overflow(a, b, result);
}
static inline bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result)
{
return __builtin_add_overflow(a, b, result);
}
static inline bool size_add_overflow(size_t a, size_t b, size_t *result)
{
return __builtin_add_overflow(a, b, result);
}
#else /* !use_builtin(__builtin_add_overflow) */
static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result)
{
uint16_t c = a + b;
*result = c;
return c < a;
}
static inline bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result)
{
uint32_t c = a + b;
*result = c;
return c < a;
}
static inline bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result)
{
uint64_t c = a + b;
*result = c;
return c < a;
}
static inline bool size_add_overflow(size_t a, size_t b, size_t *result)
{
size_t c = a + b;
*result = c;
return c < a;
}
#endif /* use_builtin(__builtin_add_overflow) */
#if use_builtin(__builtin_mul_overflow)
static inline bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result)
{
return __builtin_mul_overflow(a, b, result);
}
static inline bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result)
{
return __builtin_mul_overflow(a, b, result);
}
static inline bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result)
{
return __builtin_mul_overflow(a, b, result);
}
static inline bool size_mul_overflow(size_t a, size_t b, size_t *result)
{
return __builtin_mul_overflow(a, b, result);
}
#else /* !use_builtin(__builtin_mul_overflow) */
static inline bool u16_mul_overflow(uint16_t a, uint16_t b, uint16_t *result)
{
uint16_t c = a * b;
*result = c;
return a != 0 && (c / a) != b;
}
static inline bool u32_mul_overflow(uint32_t a, uint32_t b, uint32_t *result)
{
uint32_t c = a * b;
*result = c;
return a != 0 && (c / a) != b;
}
static inline bool u64_mul_overflow(uint64_t a, uint64_t b, uint64_t *result)
{
uint64_t c = a * b;
*result = c;
return a != 0 && (c / a) != b;
}
static inline bool size_mul_overflow(size_t a, size_t b, size_t *result)
{
size_t c = a * b;
*result = c;
return a != 0 && (c / a) != b;
}
#endif /* use_builtin(__builtin_mul_overflow) */
/*
* The GCC builtins __builtin_clz(), __builtin_ctz(), and 64-bit
* variants are described by the GCC documentation as having undefined
* behavior when the argument is zero. See
* path_to_url
*
* The undefined behavior applies to all architectures, regardless of
* the behavior of the instruction used to implement the builtin.
*
* We don't want to expose users of this API to the undefined behavior,
* so we use a conditional to explicitly provide the correct result when
* x=0.
*
* Most instruction set architectures have a CLZ instruction or similar
* that already computes the correct result for x=0. Both GCC and Clang
* know this and simply generate a CLZ instruction, optimizing away the
* conditional.
*
* For x86, and for compilers that fail to eliminate the conditional,
* there is often another opportunity for optimization since code using
* these functions tends to contain a zero check already. For example,
* from kernel/sched.c:
*
* struct k_thread *z_priq_mq_best(struct _priq_mq *pq)
* {
* if (!pq->bitmask) {
* return NULL;
* }
*
* struct k_thread *thread = NULL;
* sys_dlist_t *l =
* &pq->queues[u32_count_trailing_zeros(pq->bitmask)];
*
* ...
*
* The compiler will often be able to eliminate the redundant x == 0
* check after inlining the call to u32_count_trailing_zeros().
*/
#if use_builtin(__builtin_clz)
static inline int u32_count_leading_zeros(uint32_t x)
{
return (x == 0) ? 32 : __builtin_clz(x);
}
#else /* !use_builtin(__builtin_clz) */
static inline int u32_count_leading_zeros(uint32_t x)
{
int b;
for (b = 0; b < 32 && (x >> 31) == 0; b++) {
x <<= 1;
}
return b;
}
#endif /* use_builtin(__builtin_clz) */
#if use_builtin(__builtin_clzll)
static inline int u64_count_leading_zeros(uint64_t x)
{
return (x == 0) ? 64 : __builtin_clzll(x);
}
#else /* !use_builtin(__builtin_clzll) */
static inline int u64_count_leading_zeros(uint64_t x)
{
if (x == (uint32_t)x) {
return 32 + u32_count_leading_zeros((uint32_t)x);
} else {
return u32_count_leading_zeros(x >> 32);
}
}
#endif /* use_builtin(__builtin_clzll) */
#if use_builtin(__builtin_ctz)
static inline int u32_count_trailing_zeros(uint32_t x)
{
return (x == 0) ? 32 : __builtin_ctz(x);
}
#else /* !use_builtin(__builtin_ctz) */
static inline int u32_count_trailing_zeros(uint32_t x)
{
int b;
for (b = 0; b < 32 && (x & 1) == 0; b++) {
x >>= 1;
}
return b;
}
#endif /* use_builtin(__builtin_ctz) */
#if use_builtin(__builtin_ctzll)
static inline int u64_count_trailing_zeros(uint64_t x)
{
return (x == 0) ? 64 : __builtin_ctzll(x);
}
#else /* !use_builtin(__builtin_ctzll) */
static inline int u64_count_trailing_zeros(uint64_t x)
{
if ((uint32_t)x) {
return u32_count_trailing_zeros((uint32_t)x);
} else {
return 32 + u32_count_trailing_zeros(x >> 32);
}
}
#endif /* use_builtin(__builtin_ctzll) */
#undef use_builtin
``` | /content/code_sandbox/include/zephyr/sys/math_extras_impl.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,700 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_MPSC_PBUF_H_
#define ZEPHYR_INCLUDE_SYS_MPSC_PBUF_H_
#include <zephyr/kernel.h>
#include <zephyr/sys/mpsc_packet.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Multi producer, single consumer packet buffer API
* @defgroup mpsc_buf MPSC (Multi producer, single consumer) packet buffer API
* @ingroup datastructure_apis
* @{
*/
/*
* Multi producer, single consumer packet buffer allows to allocate variable
* length consecutive space for storing a packet. When space is allocated
* it can be filled by the user (except for the first 2 bits) and when packet
* is ready it is committed. It is allowed to allocate another packet before
* committing the previous one.
*
* If buffer is full and packet cannot be allocated then null is returned unless
* overwrite mode is selected. In that mode, oldest entry are dropped (user is
* notified) until allocation succeeds. It can happen that candidate for
* dropping is currently being claimed. In that case, it is omitted and next
* packet is dropped and claimed packet is marked as invalid when freeing.
*
* Reading packets is performed in two steps. First packet is claimed. Claiming
* returns pointer to the packet within the buffer. Packet is freed when no
* longer in use.
*/
/**@defgroup MPSC_PBUF_FLAGS MPSC packet buffer flags
* @{
*/
/** @brief Flag indicating that buffer size is power of 2.
*
* When buffer size is power of 2 then optimizations are applied.
*/
#define MPSC_PBUF_SIZE_POW2 BIT(0)
/** @brief Flag indicating buffer full policy.
*
* If flag is set then when allocating from a full buffer oldest packets are
* dropped. When flag is not set then allocation returns null.
*/
#define MPSC_PBUF_MODE_OVERWRITE BIT(1)
/** @brief Flag indicating that maximum buffer usage is tracked. */
#define MPSC_PBUF_MAX_UTILIZATION BIT(2)
/** @brief Flag indicated that buffer is currently full. */
#define MPSC_PBUF_FULL BIT(3)
/**@} */
/* Forward declaration */
struct mpsc_pbuf_buffer;
/** @brief Callback prototype for getting length of a packet.
*
* @param packet User packet.
*
* @return Size of the packet in 32 bit words.
*/
typedef uint32_t (*mpsc_pbuf_get_wlen)(const union mpsc_pbuf_generic *packet);
/** @brief Callback called when packet is dropped.
*
* @param buffer Packet buffer.
*
* @param packet Packet that is being dropped.
*/
typedef void (*mpsc_pbuf_notify_drop)(const struct mpsc_pbuf_buffer *buffer,
const union mpsc_pbuf_generic *packet);
/** @brief MPSC packet buffer structure. */
struct mpsc_pbuf_buffer {
/** Temporary write index. */
uint32_t tmp_wr_idx;
/** Write index. */
uint32_t wr_idx;
/** Temporary read index. */
uint32_t tmp_rd_idx;
/** Read index. */
uint32_t rd_idx;
/** Flags. */
uint32_t flags;
/** Lock. */
struct k_spinlock lock;
/** User callback called whenever packet is dropped.
*
* May be NULL if unneeded.
*/
mpsc_pbuf_notify_drop notify_drop;
/** Callback for getting packet length. */
mpsc_pbuf_get_wlen get_wlen;
/* Buffer. */
uint32_t *buf;
/* Buffer size in 32 bit words. */
uint32_t size;
/* Store max buffer usage. */
uint32_t max_usage;
struct k_sem sem;
};
/** @brief MPSC packet buffer configuration. */
struct mpsc_pbuf_buffer_config {
/* Pointer to a memory used for storing packets. */
uint32_t *buf;
/* Buffer size in 32 bit words. */
uint32_t size;
/* Callbacks. */
mpsc_pbuf_notify_drop notify_drop;
mpsc_pbuf_get_wlen get_wlen;
/* Configuration flags. */
uint32_t flags;
};
/** @brief Initialize a packet buffer.
*
* @param buffer Buffer.
*
* @param config Configuration.
*/
void mpsc_pbuf_init(struct mpsc_pbuf_buffer *buffer,
const struct mpsc_pbuf_buffer_config *config);
/** @brief Allocate a packet.
*
* If a buffer is configured to overwrite mode then if there is no space to
* allocate a new buffer, oldest packets are dropped. Otherwise allocation
* fails and null pointer is returned.
*
* @param buffer Buffer.
*
* @param wlen Number of words to allocate.
*
* @param timeout Timeout. If called from thread context it will pend for given
* timeout if packet cannot be allocated before dropping the oldest or
* returning null.
*
* @return Pointer to the allocated space or null if it cannot be allocated.
*/
union mpsc_pbuf_generic *mpsc_pbuf_alloc(struct mpsc_pbuf_buffer *buffer,
size_t wlen, k_timeout_t timeout);
/** @brief Commit a packet.
*
* @param buffer Buffer.
*
* @param packet Pointer to a packet allocated by @ref mpsc_pbuf_alloc.
*/
void mpsc_pbuf_commit(struct mpsc_pbuf_buffer *buffer,
union mpsc_pbuf_generic *packet);
/** @brief Put single word packet into a buffer.
*
* Function is optimized for storing a packet which fit into a single word.
* Note that 2 bits of that word is used by the buffer.
*
* @param buffer Buffer.
*
* @param word Packet content consisting of MPSC_PBUF_HDR with valid bit set
* and data on remaining bits.
*/
void mpsc_pbuf_put_word(struct mpsc_pbuf_buffer *buffer,
const union mpsc_pbuf_generic word);
/** @brief Put a packet consisting of a word and a pointer.
* *
* Function is optimized for storing packet consisting of a word and a pointer.
* Note that 2 bits of a first word is used by the buffer.
*
* @param buffer Buffer.
*
* @param word First word of a packet consisting of MPSC_PBUF_HDR with valid
* bit set and data on remaining bits.
*
* @param data User data.
*/
void mpsc_pbuf_put_word_ext(struct mpsc_pbuf_buffer *buffer,
const union mpsc_pbuf_generic word,
const void *data);
/** @brief Put a packet into a buffer.
*
* Copy data into a buffer.
* Note that 2 bits of a first word is used by the buffer.
*
* @param buffer Buffer.
*
* @param data First word of data must contain MPSC_PBUF_HDR with valid bit set.
*
* @param wlen Packet size in words.
*/
void mpsc_pbuf_put_data(struct mpsc_pbuf_buffer *buffer,
const uint32_t *data, size_t wlen);
/** @brief Claim the first pending packet.
*
* @param buffer Buffer.
*
* @return Pointer to the claimed packet or null if none available.
*/
const union mpsc_pbuf_generic *mpsc_pbuf_claim(struct mpsc_pbuf_buffer *buffer);
/** @brief Free a packet.
*
* @param buffer Buffer.
*
* @param packet Packet.
*/
void mpsc_pbuf_free(struct mpsc_pbuf_buffer *buffer,
const union mpsc_pbuf_generic *packet);
/** @brief Check if there are any message pending.
*
* @param buffer Buffer.
*
* @retval true if pending.
* @retval false if no message is pending.
*/
bool mpsc_pbuf_is_pending(struct mpsc_pbuf_buffer *buffer);
/** @brief Get current memory utilization.
*
* @param[in, out] buffer Buffer.
* @param[out] size Buffer size in bytes.
* @param[out] now Current buffer usage in bytes.
*/
void mpsc_pbuf_get_utilization(struct mpsc_pbuf_buffer *buffer,
uint32_t *size, uint32_t *now);
/** @brief Get maximum memory utilization.
*
* @param[in, out] buffer Buffer.
* @param[out] max Maximum buffer usage in bytes.
*
* retval 0 if utilization data collected successfully.
* retval -ENOTSUP if Collecting utilization data is not supported.
*/
int mpsc_pbuf_get_max_utilization(struct mpsc_pbuf_buffer *buffer, uint32_t *max);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_MPSC_PBUF_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mpsc_pbuf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,815 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Memory Statistics
*/
#ifndef ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
#define ZEPHYR_INCLUDE_SYS_MEM_STATS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
/* A common structure used to report runtime memory usage statistics */
struct sys_memory_stats {
size_t free_bytes;
size_t allocated_bytes;
size_t max_allocated_bytes;
};
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_MEM_STATS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mem_stats.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 112 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_H_
#define ZEPHYR_INCLUDE_SYS_ATOMIC_H_
#include <stdbool.h>
#include <zephyr/toolchain.h>
#include <stddef.h>
#include <zephyr/sys/atomic_types.h> /* IWYU pragma: export */
#include <zephyr/types.h>
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Low-level primitives come in several styles: */
#if defined(CONFIG_ATOMIC_OPERATIONS_C)
/* Generic-but-slow implementation based on kernel locking and syscalls */
#include <zephyr/sys/atomic_c.h>
#elif defined(CONFIG_ATOMIC_OPERATIONS_ARCH)
/* Some architectures need their own implementation */
# ifdef CONFIG_XTENSA
/* Not all Xtensa toolchains support GCC-style atomic intrinsics */
# include <zephyr/arch/xtensa/atomic_xtensa.h>
# else
/* Other arch specific implementation */
# include <zephyr/sys/atomic_arch.h>
# endif /* CONFIG_XTENSA */
#else
/* Default. See this file for the Doxygen reference: */
#include <zephyr/sys/atomic_builtin.h>
#endif
/* Portable higher-level utilities: */
/**
* @defgroup atomic_apis Atomic Services APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Initialize an atomic variable.
*
* This macro can be used to initialize an atomic variable. For example,
* @code atomic_t my_var = ATOMIC_INIT(75); @endcode
*
* @param i Value to assign to atomic variable.
*/
#define ATOMIC_INIT(i) (i)
/**
* @brief Initialize an atomic pointer variable.
*
* This macro can be used to initialize an atomic pointer variable. For
* example,
* @code atomic_ptr_t my_ptr = ATOMIC_PTR_INIT(&data); @endcode
*
* @param p Pointer value to assign to atomic pointer variable.
*/
#define ATOMIC_PTR_INIT(p) (p)
/**
* @cond INTERNAL_HIDDEN
*/
#define ATOMIC_BITS (sizeof(atomic_val_t) * 8)
#define ATOMIC_MASK(bit) BIT((unsigned long)(bit) & (ATOMIC_BITS - 1U))
#define ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / ATOMIC_BITS))
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief This macro computes the number of atomic variables necessary to
* represent a bitmap with @a num_bits.
*
* @param num_bits Number of bits.
*/
#define ATOMIC_BITMAP_SIZE(num_bits) (ROUND_UP(num_bits, ATOMIC_BITS) / ATOMIC_BITS)
/**
* @brief Define an array of atomic variables.
*
* This macro defines an array of atomic variables containing at least
* @a num_bits bits.
*
* @note
* If used from file scope, the bits of the array are initialized to zero;
* if used from within a function, the bits are left uninitialized.
*
* @cond INTERNAL_HIDDEN
* @note
* This macro should be replicated in the PREDEFINED field of the documentation
* Doxyfile.
* @endcond
*
* @param name Name of array of atomic variables.
* @param num_bits Number of bits needed.
*/
#define ATOMIC_DEFINE(name, num_bits) \
atomic_t name[ATOMIC_BITMAP_SIZE(num_bits)]
/**
* @brief Atomically test a bit.
*
* This routine tests whether bit number @a bit of @a target is set or not.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
*
* @return true if the bit was set, false if it wasn't.
*/
static inline bool atomic_test_bit(const atomic_t *target, int bit)
{
atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit));
return (1 & (val >> (bit & (ATOMIC_BITS - 1)))) != 0;
}
/**
* @brief Atomically test and clear a bit.
*
* Atomically clear bit number @a bit of @a target and return its old value.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
*
* @return false if the bit was already cleared, true if it wasn't.
*/
static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit)
{
atomic_val_t mask = ATOMIC_MASK(bit);
atomic_val_t old;
old = atomic_and(ATOMIC_ELEM(target, bit), ~mask);
return (old & mask) != 0;
}
/**
* @brief Atomically set a bit.
*
* Atomically set bit number @a bit of @a target and return its old value.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
*
* @return true if the bit was already set, false if it wasn't.
*/
static inline bool atomic_test_and_set_bit(atomic_t *target, int bit)
{
atomic_val_t mask = ATOMIC_MASK(bit);
atomic_val_t old;
old = atomic_or(ATOMIC_ELEM(target, bit), mask);
return (old & mask) != 0;
}
/**
* @brief Atomically clear a bit.
*
* Atomically clear bit number @a bit of @a target.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
*/
static inline void atomic_clear_bit(atomic_t *target, int bit)
{
atomic_val_t mask = ATOMIC_MASK(bit);
(void)atomic_and(ATOMIC_ELEM(target, bit), ~mask);
}
/**
* @brief Atomically set a bit.
*
* Atomically set bit number @a bit of @a target.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
*/
static inline void atomic_set_bit(atomic_t *target, int bit)
{
atomic_val_t mask = ATOMIC_MASK(bit);
(void)atomic_or(ATOMIC_ELEM(target, bit), mask);
}
/**
* @brief Atomically set a bit to a given value.
*
* Atomically set bit number @a bit of @a target to value @a val.
* The target may be a single atomic variable or an array of them.
*
* @note @atomic_api
*
* @param target Address of atomic variable or array.
* @param bit Bit number (starting from 0).
* @param val true for 1, false for 0.
*/
static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val)
{
atomic_val_t mask = ATOMIC_MASK(bit);
if (val) {
(void)atomic_or(ATOMIC_ELEM(target, bit), mask);
} else {
(void)atomic_and(ATOMIC_ELEM(target, bit), ~mask);
}
}
/**
* @brief Atomic compare-and-set.
*
* This routine performs an atomic compare-and-set on @a target. If the current
* value of @a target equals @a old_value, @a target is set to @a new_value.
* If the current value of @a target does not equal @a old_value, @a target
* is left unchanged.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param old_value Original value to compare against.
* @param new_value New value to store.
* @return true if @a new_value is written, false otherwise.
*/
bool atomic_cas(atomic_t *target, atomic_val_t old_value, atomic_val_t new_value);
/**
* @brief Atomic compare-and-set with pointer values
*
* This routine performs an atomic compare-and-set on @a target. If the current
* value of @a target equals @a old_value, @a target is set to @a new_value.
* If the current value of @a target does not equal @a old_value, @a target
* is left unchanged.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param old_value Original value to compare against.
* @param new_value New value to store.
* @return true if @a new_value is written, false otherwise.
*/
bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
atomic_ptr_val_t new_value);
/**
* @brief Atomic addition.
*
* This routine performs an atomic addition on @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to add.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic subtraction.
*
* This routine performs an atomic subtraction on @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to subtract.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic increment.
*
* This routine performs an atomic increment by 1 on @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_inc(atomic_t *target);
/**
* @brief Atomic decrement.
*
* This routine performs an atomic decrement by 1 on @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_dec(atomic_t *target);
/**
* @brief Atomic get.
*
* This routine performs an atomic read on @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
*
* @return Value of @a target.
*/
atomic_val_t atomic_get(const atomic_t *target);
/**
* @brief Atomic get a pointer value
*
* This routine performs an atomic read on @a target.
*
* @note @atomic_api
*
* @param target Address of pointer variable.
*
* @return Value of @a target.
*/
atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target);
/**
* @brief Atomic get-and-set.
*
* This routine atomically sets @a target to @a value and returns
* the previous value of @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to write to @a target.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic get-and-set for pointer values
*
* This routine atomically sets @a target to @a value and returns
* the previous value of @a target.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to write to @a target.
*
* @return Previous value of @a target.
*/
atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value);
/**
* @brief Atomic clear.
*
* This routine atomically sets @a target to zero and returns its previous
* value. (Hence, it is equivalent to atomic_set(target, 0).)
*
* @note @atomic_api
*
* @param target Address of atomic variable.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_clear(atomic_t *target);
/**
* @brief Atomic clear of a pointer value
*
* This routine atomically sets @a target to zero and returns its previous
* value. (Hence, it is equivalent to atomic_set(target, 0).)
*
* @note @atomic_api
*
* @param target Address of atomic variable.
*
* @return Previous value of @a target.
*/
atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target);
/**
* @brief Atomic bitwise inclusive OR.
*
* This routine atomically sets @a target to the bitwise inclusive OR of
* @a target and @a value.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to OR.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic bitwise exclusive OR (XOR).
*
* @note @atomic_api
*
* This routine atomically sets @a target to the bitwise exclusive OR (XOR) of
* @a target and @a value.
*
* @param target Address of atomic variable.
* @param value Value to XOR
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic bitwise AND.
*
* This routine atomically sets @a target to the bitwise AND of @a target
* and @a value.
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to AND.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
/**
* @brief Atomic bitwise NAND.
*
* This routine atomically sets @a target to the bitwise NAND of @a target
* and @a value. (This operation is equivalent to target = ~(target & value).)
*
* @note @atomic_api
*
* @param target Address of atomic variable.
* @param value Value to NAND.
*
* @return Previous value of @a target.
*/
atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);
/**
* @}
*/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* ZEPHYR_INCLUDE_SYS_ATOMIC_H_ */
``` | /content/code_sandbox/include/zephyr/sys/atomic.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,038 |
```objective-c
/*
*
*/
/**
* @file
* @ingroup hashmap_implementations
* @brief Open-Addressing / Linear Probe Hashmap Implementation
*
* @note Enable with @kconfig{CONFIG_SYS_HASH_MAP_OA_LP}
*/
#ifndef ZEPHYR_INCLUDE_SYS_HASH_MAP_OA_LP_H_
#define ZEPHYR_INCLUDE_SYS_HASH_MAP_OA_LP_H_
#include <stddef.h>
#include <zephyr/sys/hash_function.h>
#include <zephyr/sys/hash_map_api.h>
#ifdef __cplusplus
extern "C" {
#endif
struct sys_hashmap_oa_lp_data {
void *buckets;
size_t n_buckets;
size_t size;
size_t n_tombstones;
};
/**
* @brief Declare a Open Addressing Linear Probe Hashmap (advanced)
*
* Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Variant-specific details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_OA_LP_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_ADVANCED(_name, &sys_hashmap_oa_lp_api, sys_hashmap_config, \
sys_hashmap_oa_lp_data, _hash_func, _alloc_func, __VA_ARGS__)
/**
* @brief Declare a Open Addressing Linear Probe Hashmap (advanced)
*
* Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters.
*
* @note The allocator @p _alloc is used for allocating internal Hashmap
* entries and does not interact with any user-provided keys or values.
*
* @param _name Name of the Hashmap.
* @param _hash_func Hash function pointer of type @ref sys_hash_func32_t.
* @param _alloc_func Allocator function pointer of type @ref sys_hashmap_allocator_t.
* @param ... Details for @ref sys_hashmap_config.
*/
#define SYS_HASHMAP_OA_LP_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_DEFINE_STATIC_ADVANCED(_name, &sys_hashmap_oa_lp_api, sys_hashmap_config, \
sys_hashmap_oa_lp_data, _hash_func, _alloc_func, \
__VA_ARGS__)
/**
* @brief Declare a Open Addressing Linear Probe Hashmap statically
*
* Declare a Open Addressing Linear Probe Hashmap statically with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_OA_LP_DEFINE_STATIC(_name) \
SYS_HASHMAP_OA_LP_DEFINE_STATIC_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
/**
* @brief Declare a Open Addressing Linear Probe Hashmap
*
* Declare a Open Addressing Linear Probe Hashmap with default parameters.
*
* @param _name Name of the Hashmap.
*/
#define SYS_HASHMAP_OA_LP_DEFINE(_name) \
SYS_HASHMAP_OA_LP_DEFINE_ADVANCED( \
_name, sys_hash32, SYS_HASHMAP_DEFAULT_ALLOCATOR, \
SYS_HASHMAP_CONFIG(SIZE_MAX, SYS_HASHMAP_DEFAULT_LOAD_FACTOR))
#ifdef CONFIG_SYS_HASH_MAP_CHOICE_OA_LP
#define SYS_HASHMAP_DEFAULT_DEFINE(_name) SYS_HASHMAP_OA_LP_DEFINE(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC(_name) SYS_HASHMAP_OA_LP_DEFINE_STATIC(_name)
#define SYS_HASHMAP_DEFAULT_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_OA_LP_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#define SYS_HASHMAP_DEFAULT_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) \
SYS_HASHMAP_OA_LP_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, __VA_ARGS__)
#endif
extern const struct sys_hashmap_api sys_hashmap_oa_lp_api;
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HASH_MAP_OA_LP_H_ */
``` | /content/code_sandbox/include/zephyr/sys/hash_map_oa_lp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 950 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_SYS_HEAP_H_
#define ZEPHYR_INCLUDE_SYS_SYS_HEAP_H_
#include <stddef.h>
#include <stdbool.h>
#include <zephyr/types.h>
#include <zephyr/sys/mem_stats.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Simple, fast heap implementation.
*
* A more or less conventional segregated fit allocator with
* power-of-two buckets.
*
* Excellent space efficiency. Chunks can be split arbitrarily in 8
* byte units. Overhead is only four bytes per allocated chunk (eight
* bytes for heaps >256kb or on 64 bit systems), plus a log2-sized
* array of 2-word bucket headers. No coarse alignment restrictions
* on blocks, they can be split and merged (in units of 8 bytes)
* arbitrarily.
*
* Simple API. Initialize at runtime with any blob of memory and not
* a macro-generated, carefully aligned static array. Allocate and
* free by user pointer and not an opaque block handle.
*
* Good fragmentation resistance. Freed blocks are always immediately
* merged with adjacent free blocks. Allocations are attempted from a
* sample of the smallest bucket that might fit, falling back rapidly
* to the smallest block guaranteed to fit. Split memory remaining in
* the chunk is always returned immediately to the heap for other
* allocation.
*
* Excellent performance with firmly bounded runtime. All operations
* are constant time (though there is a search of the smallest bucket
* that has a compile-time-configurable upper bound, setting this to
* extreme values results in an effectively linear search of the
* list), objectively fast (~hundred instructions) and amenable to
* locked operation.
*/
/* Note: the init_mem/bytes fields are for the static initializer to
* have somewhere to put the arguments. The actual heap metadata at
* runtime lives in the heap memory itself and this struct simply
* functions as an opaque pointer. Would be good to clean this up and
* put the two values somewhere else, though it would make
* SYS_HEAP_DEFINE a little hairy to write.
*/
struct sys_heap {
struct z_heap *heap;
void *init_mem;
size_t init_bytes;
};
struct z_heap_stress_result {
uint32_t total_allocs;
uint32_t successful_allocs;
uint32_t total_frees;
uint64_t accumulated_in_use_bytes;
};
/**
* @defgroup low_level_heap_allocator Low Level Heap Allocator
* @ingroup heaps
* @{
*/
#ifdef CONFIG_SYS_HEAP_RUNTIME_STATS
/**
* @brief Get the runtime statistics of a sys_heap
*
* @param heap Pointer to specified sys_heap
* @param stats_t Pointer to struct to copy statistics into
* @return -EINVAL if null pointers, otherwise 0
*/
int sys_heap_runtime_stats_get(struct sys_heap *heap,
struct sys_memory_stats *stats);
/**
* @brief Reset the maximum heap usage.
*
* Set the statistic measuring the maximum number of allocated bytes to the
* current number of allocated bytes.
*
* @param heap Pointer to sys_heap
* @return -EINVAL if null pointer was passed, otherwise 0
*/
int sys_heap_runtime_stats_reset_max(struct sys_heap *heap);
#endif
/** @brief Initialize sys_heap
*
* Initializes a sys_heap struct to manage the specified memory.
*
* @param heap Heap to initialize
* @param mem Untyped pointer to unused memory
* @param bytes Size of region pointed to by @a mem
*/
void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes);
/** @brief Allocate memory from a sys_heap
*
* Returns a pointer to a block of unused memory in the heap. This
* memory will not otherwise be used until it is freed with
* sys_heap_free(). If no memory can be allocated, NULL will be
* returned. The allocated memory is guaranteed to have a starting
* address which is a multiple of sizeof(void *). If a bigger alignment
* is necessary then sys_heap_aligned_alloc() should be used instead.
*
* @note The sys_heap implementation is not internally synchronized.
* No two sys_heap functions should operate on the same heap at the
* same time. All locking must be provided by the user.
*
* @param heap Heap from which to allocate
* @param bytes Number of bytes requested
* @return Pointer to memory the caller can now use
*/
void *sys_heap_alloc(struct sys_heap *heap, size_t bytes);
/** @brief Allocate aligned memory from a sys_heap
*
* Behaves in all ways like sys_heap_alloc(), except that the returned
* memory (if available) will have a starting address in memory which
* is a multiple of the specified power-of-two alignment value in
* bytes. With align=0 this behaves exactly like sys_heap_alloc().
* The resulting memory can be returned to the heap using sys_heap_free().
*
* @param heap Heap from which to allocate
* @param align Alignment in bytes, must be a power of two
* @param bytes Number of bytes requested
* @return Pointer to memory the caller can now use
*/
void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes);
/** @brief Free memory into a sys_heap
*
* De-allocates a pointer to memory previously returned from
* sys_heap_alloc such that it can be used for other purposes. The
* caller must not use the memory region after entry to this function.
*
* @note The sys_heap implementation is not internally synchronized.
* No two sys_heap functions should operate on the same heap at the
* same time. All locking must be provided by the user.
*
* @param heap Heap to which to return the memory
* @param mem A pointer previously returned from sys_heap_alloc()
*/
void sys_heap_free(struct sys_heap *heap, void *mem);
/** @brief Expand the size of an existing allocation
*
* Returns a pointer to a new memory region with the same contents,
* but a different allocated size. If the new allocation can be
* expanded in place, the pointer returned will be identical.
* Otherwise the data will be copies to a new block and the old one
* will be freed as per sys_heap_free(). If the specified size is
* smaller than the original, the block will be truncated in place and
* the remaining memory returned to the heap. If the allocation of a
* new block fails, then NULL will be returned and the old block will
* not be freed or modified.
*
* @param heap Heap from which to allocate
* @param ptr Original pointer returned from a previous allocation
* @param align Alignment in bytes, must be a power of two
* @param bytes Number of bytes requested for the new block
* @return Pointer to memory the caller can now use, or NULL
*/
void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr,
size_t align, size_t bytes);
#define sys_heap_realloc(heap, ptr, bytes) \
sys_heap_aligned_realloc(heap, ptr, 0, bytes)
/** @brief Return allocated memory size
*
* Returns the size, in bytes, of a block returned from a successful
* sys_heap_alloc() or sys_heap_alloc_aligned() call. The value
* returned is the size of the heap-managed memory, which may be
* larger than the number of bytes requested due to allocation
* granularity. The heap code is guaranteed to make no access to this
* region of memory until a subsequent sys_heap_free() on the same
* pointer.
*
* @param heap Heap containing the block
* @param mem Pointer to memory allocated from this heap
* @return Size in bytes of the memory region
*/
size_t sys_heap_usable_size(struct sys_heap *heap, void *mem);
/** @brief Validate heap integrity
*
* Validates the internal integrity of a sys_heap. Intended for unit
* test and validation code, though potentially useful as a user API
* for applications with complicated runtime reliability requirements.
* Note: this cannot catch every possible error, but if it returns
* true then the heap is in a consistent state and can correctly
* handle any sys_heap_alloc() request and free any live pointer
* returned from a previous allocation.
*
* @param heap Heap to validate
* @return true, if the heap is valid, otherwise false
*/
#ifdef CONFIG_SYS_HEAP_VALIDATE
bool sys_heap_validate(struct sys_heap *heap);
#else
static inline bool sys_heap_validate(struct sys_heap *heap)
{
ARG_UNUSED(heap);
return true;
}
#endif
/** @brief sys_heap stress test rig
*
* Test rig for heap allocation validation. This will loop for @a
* op_count cycles, in each iteration making a random choice to
* allocate or free a pointer of randomized (power law) size based on
* heuristics designed to keep the heap in a state where it is near @a
* target_percent full. Allocation and free operations are provided
* by the caller as callbacks (i.e. this can in theory test any heap).
* Results, including counts of frees and successful/unsuccessful
* allocations, are returned via the @a result struct.
*
* @param alloc_fn Callback to perform an allocation. Passes back the @a
* arg parameter as a context handle.
* @param free_fn Callback to perform a free of a pointer returned from
* @a alloc. Passes back the @a arg parameter as a
* context handle.
* @param arg Context handle to pass back to the callbacks
* @param total_bytes Size of the byte array the heap was initialized in
* @param op_count How many iterations to test
* @param scratch_mem A pointer to scratch memory to be used by the
* test. Should be about 1/2 the size of the heap
* for tests that need to stress fragmentation.
* @param scratch_bytes Size of the memory pointed to by @a scratch_mem
* @param target_percent Percentage fill value (1-100) to which the
* random allocation choices will seek. High
* values will result in significant allocation
* failures and a very fragmented heap.
* @param result Struct into which to store test results.
*/
void sys_heap_stress(void *(*alloc_fn)(void *arg, size_t bytes),
void (*free_fn)(void *arg, void *p),
void *arg, size_t total_bytes,
uint32_t op_count,
void *scratch_mem, size_t scratch_bytes,
int target_percent,
struct z_heap_stress_result *result);
/** @brief Print heap internal structure information to the console
*
* Print information on the heap structure such as its size, chunk buckets,
* chunk list and some statistics for debugging purpose.
*
* @param heap Heap to print information about
* @param dump_chunks True to print the entire heap chunk list
*/
void sys_heap_print_info(struct sys_heap *heap, bool dump_chunks);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_SYS_HEAP_H_ */
``` | /content/code_sandbox/include/zephyr/sys/sys_heap.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,370 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#error "This header should not be used directly, please include util_internal.h instead"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_
#define Z_IS_0_EQ_0(...) \,
#define Z_IS_1_EQ_1(...) \,
#define Z_IS_2_EQ_2(...) \,
#define Z_IS_3_EQ_3(...) \,
#define Z_IS_4_EQ_4(...) \,
#define Z_IS_5_EQ_5(...) \,
#define Z_IS_6_EQ_6(...) \,
#define Z_IS_7_EQ_7(...) \,
#define Z_IS_8_EQ_8(...) \,
#define Z_IS_9_EQ_9(...) \,
#define Z_IS_10_EQ_10(...) \,
#define Z_IS_11_EQ_11(...) \,
#define Z_IS_12_EQ_12(...) \,
#define Z_IS_13_EQ_13(...) \,
#define Z_IS_14_EQ_14(...) \,
#define Z_IS_15_EQ_15(...) \,
#define Z_IS_16_EQ_16(...) \,
#define Z_IS_17_EQ_17(...) \,
#define Z_IS_18_EQ_18(...) \,
#define Z_IS_19_EQ_19(...) \,
#define Z_IS_20_EQ_20(...) \,
#define Z_IS_21_EQ_21(...) \,
#define Z_IS_22_EQ_22(...) \,
#define Z_IS_23_EQ_23(...) \,
#define Z_IS_24_EQ_24(...) \,
#define Z_IS_25_EQ_25(...) \,
#define Z_IS_26_EQ_26(...) \,
#define Z_IS_27_EQ_27(...) \,
#define Z_IS_28_EQ_28(...) \,
#define Z_IS_29_EQ_29(...) \,
#define Z_IS_30_EQ_30(...) \,
#define Z_IS_31_EQ_31(...) \,
#define Z_IS_32_EQ_32(...) \,
#define Z_IS_33_EQ_33(...) \,
#define Z_IS_34_EQ_34(...) \,
#define Z_IS_35_EQ_35(...) \,
#define Z_IS_36_EQ_36(...) \,
#define Z_IS_37_EQ_37(...) \,
#define Z_IS_38_EQ_38(...) \,
#define Z_IS_39_EQ_39(...) \,
#define Z_IS_40_EQ_40(...) \,
#define Z_IS_41_EQ_41(...) \,
#define Z_IS_42_EQ_42(...) \,
#define Z_IS_43_EQ_43(...) \,
#define Z_IS_44_EQ_44(...) \,
#define Z_IS_45_EQ_45(...) \,
#define Z_IS_46_EQ_46(...) \,
#define Z_IS_47_EQ_47(...) \,
#define Z_IS_48_EQ_48(...) \,
#define Z_IS_49_EQ_49(...) \,
#define Z_IS_50_EQ_50(...) \,
#define Z_IS_51_EQ_51(...) \,
#define Z_IS_52_EQ_52(...) \,
#define Z_IS_53_EQ_53(...) \,
#define Z_IS_54_EQ_54(...) \,
#define Z_IS_55_EQ_55(...) \,
#define Z_IS_56_EQ_56(...) \,
#define Z_IS_57_EQ_57(...) \,
#define Z_IS_58_EQ_58(...) \,
#define Z_IS_59_EQ_59(...) \,
#define Z_IS_60_EQ_60(...) \,
#define Z_IS_61_EQ_61(...) \,
#define Z_IS_62_EQ_62(...) \,
#define Z_IS_63_EQ_63(...) \,
#define Z_IS_64_EQ_64(...) \,
#define Z_IS_65_EQ_65(...) \,
#define Z_IS_66_EQ_66(...) \,
#define Z_IS_67_EQ_67(...) \,
#define Z_IS_68_EQ_68(...) \,
#define Z_IS_69_EQ_69(...) \,
#define Z_IS_70_EQ_70(...) \,
#define Z_IS_71_EQ_71(...) \,
#define Z_IS_72_EQ_72(...) \,
#define Z_IS_73_EQ_73(...) \,
#define Z_IS_74_EQ_74(...) \,
#define Z_IS_75_EQ_75(...) \,
#define Z_IS_76_EQ_76(...) \,
#define Z_IS_77_EQ_77(...) \,
#define Z_IS_78_EQ_78(...) \,
#define Z_IS_79_EQ_79(...) \,
#define Z_IS_80_EQ_80(...) \,
#define Z_IS_81_EQ_81(...) \,
#define Z_IS_82_EQ_82(...) \,
#define Z_IS_83_EQ_83(...) \,
#define Z_IS_84_EQ_84(...) \,
#define Z_IS_85_EQ_85(...) \,
#define Z_IS_86_EQ_86(...) \,
#define Z_IS_87_EQ_87(...) \,
#define Z_IS_88_EQ_88(...) \,
#define Z_IS_89_EQ_89(...) \,
#define Z_IS_90_EQ_90(...) \,
#define Z_IS_91_EQ_91(...) \,
#define Z_IS_92_EQ_92(...) \,
#define Z_IS_93_EQ_93(...) \,
#define Z_IS_94_EQ_94(...) \,
#define Z_IS_95_EQ_95(...) \,
#define Z_IS_96_EQ_96(...) \,
#define Z_IS_97_EQ_97(...) \,
#define Z_IS_98_EQ_98(...) \,
#define Z_IS_99_EQ_99(...) \,
#define Z_IS_100_EQ_100(...) \,
#define Z_IS_101_EQ_101(...) \,
#define Z_IS_102_EQ_102(...) \,
#define Z_IS_103_EQ_103(...) \,
#define Z_IS_104_EQ_104(...) \,
#define Z_IS_105_EQ_105(...) \,
#define Z_IS_106_EQ_106(...) \,
#define Z_IS_107_EQ_107(...) \,
#define Z_IS_108_EQ_108(...) \,
#define Z_IS_109_EQ_109(...) \,
#define Z_IS_110_EQ_110(...) \,
#define Z_IS_111_EQ_111(...) \,
#define Z_IS_112_EQ_112(...) \,
#define Z_IS_113_EQ_113(...) \,
#define Z_IS_114_EQ_114(...) \,
#define Z_IS_115_EQ_115(...) \,
#define Z_IS_116_EQ_116(...) \,
#define Z_IS_117_EQ_117(...) \,
#define Z_IS_118_EQ_118(...) \,
#define Z_IS_119_EQ_119(...) \,
#define Z_IS_120_EQ_120(...) \,
#define Z_IS_121_EQ_121(...) \,
#define Z_IS_122_EQ_122(...) \,
#define Z_IS_123_EQ_123(...) \,
#define Z_IS_124_EQ_124(...) \,
#define Z_IS_125_EQ_125(...) \,
#define Z_IS_126_EQ_126(...) \,
#define Z_IS_127_EQ_127(...) \,
#define Z_IS_128_EQ_128(...) \,
#define Z_IS_129_EQ_129(...) \,
#define Z_IS_130_EQ_130(...) \,
#define Z_IS_131_EQ_131(...) \,
#define Z_IS_132_EQ_132(...) \,
#define Z_IS_133_EQ_133(...) \,
#define Z_IS_134_EQ_134(...) \,
#define Z_IS_135_EQ_135(...) \,
#define Z_IS_136_EQ_136(...) \,
#define Z_IS_137_EQ_137(...) \,
#define Z_IS_138_EQ_138(...) \,
#define Z_IS_139_EQ_139(...) \,
#define Z_IS_140_EQ_140(...) \,
#define Z_IS_141_EQ_141(...) \,
#define Z_IS_142_EQ_142(...) \,
#define Z_IS_143_EQ_143(...) \,
#define Z_IS_144_EQ_144(...) \,
#define Z_IS_145_EQ_145(...) \,
#define Z_IS_146_EQ_146(...) \,
#define Z_IS_147_EQ_147(...) \,
#define Z_IS_148_EQ_148(...) \,
#define Z_IS_149_EQ_149(...) \,
#define Z_IS_150_EQ_150(...) \,
#define Z_IS_151_EQ_151(...) \,
#define Z_IS_152_EQ_152(...) \,
#define Z_IS_153_EQ_153(...) \,
#define Z_IS_154_EQ_154(...) \,
#define Z_IS_155_EQ_155(...) \,
#define Z_IS_156_EQ_156(...) \,
#define Z_IS_157_EQ_157(...) \,
#define Z_IS_158_EQ_158(...) \,
#define Z_IS_159_EQ_159(...) \,
#define Z_IS_160_EQ_160(...) \,
#define Z_IS_161_EQ_161(...) \,
#define Z_IS_162_EQ_162(...) \,
#define Z_IS_163_EQ_163(...) \,
#define Z_IS_164_EQ_164(...) \,
#define Z_IS_165_EQ_165(...) \,
#define Z_IS_166_EQ_166(...) \,
#define Z_IS_167_EQ_167(...) \,
#define Z_IS_168_EQ_168(...) \,
#define Z_IS_169_EQ_169(...) \,
#define Z_IS_170_EQ_170(...) \,
#define Z_IS_171_EQ_171(...) \,
#define Z_IS_172_EQ_172(...) \,
#define Z_IS_173_EQ_173(...) \,
#define Z_IS_174_EQ_174(...) \,
#define Z_IS_175_EQ_175(...) \,
#define Z_IS_176_EQ_176(...) \,
#define Z_IS_177_EQ_177(...) \,
#define Z_IS_178_EQ_178(...) \,
#define Z_IS_179_EQ_179(...) \,
#define Z_IS_180_EQ_180(...) \,
#define Z_IS_181_EQ_181(...) \,
#define Z_IS_182_EQ_182(...) \,
#define Z_IS_183_EQ_183(...) \,
#define Z_IS_184_EQ_184(...) \,
#define Z_IS_185_EQ_185(...) \,
#define Z_IS_186_EQ_186(...) \,
#define Z_IS_187_EQ_187(...) \,
#define Z_IS_188_EQ_188(...) \,
#define Z_IS_189_EQ_189(...) \,
#define Z_IS_190_EQ_190(...) \,
#define Z_IS_191_EQ_191(...) \,
#define Z_IS_192_EQ_192(...) \,
#define Z_IS_193_EQ_193(...) \,
#define Z_IS_194_EQ_194(...) \,
#define Z_IS_195_EQ_195(...) \,
#define Z_IS_196_EQ_196(...) \,
#define Z_IS_197_EQ_197(...) \,
#define Z_IS_198_EQ_198(...) \,
#define Z_IS_199_EQ_199(...) \,
#define Z_IS_200_EQ_200(...) \,
#define Z_IS_201_EQ_201(...) \,
#define Z_IS_202_EQ_202(...) \,
#define Z_IS_203_EQ_203(...) \,
#define Z_IS_204_EQ_204(...) \,
#define Z_IS_205_EQ_205(...) \,
#define Z_IS_206_EQ_206(...) \,
#define Z_IS_207_EQ_207(...) \,
#define Z_IS_208_EQ_208(...) \,
#define Z_IS_209_EQ_209(...) \,
#define Z_IS_210_EQ_210(...) \,
#define Z_IS_211_EQ_211(...) \,
#define Z_IS_212_EQ_212(...) \,
#define Z_IS_213_EQ_213(...) \,
#define Z_IS_214_EQ_214(...) \,
#define Z_IS_215_EQ_215(...) \,
#define Z_IS_216_EQ_216(...) \,
#define Z_IS_217_EQ_217(...) \,
#define Z_IS_218_EQ_218(...) \,
#define Z_IS_219_EQ_219(...) \,
#define Z_IS_220_EQ_220(...) \,
#define Z_IS_221_EQ_221(...) \,
#define Z_IS_222_EQ_222(...) \,
#define Z_IS_223_EQ_223(...) \,
#define Z_IS_224_EQ_224(...) \,
#define Z_IS_225_EQ_225(...) \,
#define Z_IS_226_EQ_226(...) \,
#define Z_IS_227_EQ_227(...) \,
#define Z_IS_228_EQ_228(...) \,
#define Z_IS_229_EQ_229(...) \,
#define Z_IS_230_EQ_230(...) \,
#define Z_IS_231_EQ_231(...) \,
#define Z_IS_232_EQ_232(...) \,
#define Z_IS_233_EQ_233(...) \,
#define Z_IS_234_EQ_234(...) \,
#define Z_IS_235_EQ_235(...) \,
#define Z_IS_236_EQ_236(...) \,
#define Z_IS_237_EQ_237(...) \,
#define Z_IS_238_EQ_238(...) \,
#define Z_IS_239_EQ_239(...) \,
#define Z_IS_240_EQ_240(...) \,
#define Z_IS_241_EQ_241(...) \,
#define Z_IS_242_EQ_242(...) \,
#define Z_IS_243_EQ_243(...) \,
#define Z_IS_244_EQ_244(...) \,
#define Z_IS_245_EQ_245(...) \,
#define Z_IS_246_EQ_246(...) \,
#define Z_IS_247_EQ_247(...) \,
#define Z_IS_248_EQ_248(...) \,
#define Z_IS_249_EQ_249(...) \,
#define Z_IS_250_EQ_250(...) \,
#define Z_IS_251_EQ_251(...) \,
#define Z_IS_252_EQ_252(...) \,
#define Z_IS_253_EQ_253(...) \,
#define Z_IS_254_EQ_254(...) \,
#define Z_IS_255_EQ_255(...) \,
#define Z_IS_256_EQ_256(...) \,
#define Z_IS_257_EQ_257(...) \,
#define Z_IS_258_EQ_258(...) \,
#define Z_IS_259_EQ_259(...) \,
#define Z_IS_260_EQ_260(...) \,
#define Z_IS_261_EQ_261(...) \,
#define Z_IS_262_EQ_262(...) \,
#define Z_IS_263_EQ_263(...) \,
#define Z_IS_264_EQ_264(...) \,
#define Z_IS_265_EQ_265(...) \,
#define Z_IS_266_EQ_266(...) \,
#define Z_IS_267_EQ_267(...) \,
#define Z_IS_268_EQ_268(...) \,
#define Z_IS_269_EQ_269(...) \,
#define Z_IS_270_EQ_270(...) \,
#define Z_IS_271_EQ_271(...) \,
#define Z_IS_272_EQ_272(...) \,
#define Z_IS_273_EQ_273(...) \,
#define Z_IS_274_EQ_274(...) \,
#define Z_IS_275_EQ_275(...) \,
#define Z_IS_276_EQ_276(...) \,
#define Z_IS_277_EQ_277(...) \,
#define Z_IS_278_EQ_278(...) \,
#define Z_IS_279_EQ_279(...) \,
#define Z_IS_280_EQ_280(...) \,
#define Z_IS_281_EQ_281(...) \,
#define Z_IS_282_EQ_282(...) \,
#define Z_IS_283_EQ_283(...) \,
#define Z_IS_284_EQ_284(...) \,
#define Z_IS_285_EQ_285(...) \,
#define Z_IS_286_EQ_286(...) \,
#define Z_IS_287_EQ_287(...) \,
#define Z_IS_288_EQ_288(...) \,
#define Z_IS_289_EQ_289(...) \,
#define Z_IS_290_EQ_290(...) \,
#define Z_IS_291_EQ_291(...) \,
#define Z_IS_292_EQ_292(...) \,
#define Z_IS_293_EQ_293(...) \,
#define Z_IS_294_EQ_294(...) \,
#define Z_IS_295_EQ_295(...) \,
#define Z_IS_296_EQ_296(...) \,
#define Z_IS_297_EQ_297(...) \,
#define Z_IS_298_EQ_298(...) \,
#define Z_IS_299_EQ_299(...) \,
#define Z_IS_300_EQ_300(...) \,
#define Z_IS_301_EQ_301(...) \,
#define Z_IS_302_EQ_302(...) \,
#define Z_IS_303_EQ_303(...) \,
#define Z_IS_304_EQ_304(...) \,
#define Z_IS_305_EQ_305(...) \,
#define Z_IS_306_EQ_306(...) \,
#define Z_IS_307_EQ_307(...) \,
#define Z_IS_308_EQ_308(...) \,
#define Z_IS_309_EQ_309(...) \,
#define Z_IS_310_EQ_310(...) \,
#define Z_IS_311_EQ_311(...) \,
#define Z_IS_312_EQ_312(...) \,
#define Z_IS_313_EQ_313(...) \,
#define Z_IS_314_EQ_314(...) \,
#define Z_IS_315_EQ_315(...) \,
#define Z_IS_316_EQ_316(...) \,
#define Z_IS_317_EQ_317(...) \,
#define Z_IS_318_EQ_318(...) \,
#define Z_IS_319_EQ_319(...) \,
#define Z_IS_320_EQ_320(...) \,
#define Z_IS_321_EQ_321(...) \,
#define Z_IS_322_EQ_322(...) \,
#define Z_IS_323_EQ_323(...) \,
#define Z_IS_324_EQ_324(...) \,
#define Z_IS_325_EQ_325(...) \,
#define Z_IS_326_EQ_326(...) \,
#define Z_IS_327_EQ_327(...) \,
#define Z_IS_328_EQ_328(...) \,
#define Z_IS_329_EQ_329(...) \,
#define Z_IS_330_EQ_330(...) \,
#define Z_IS_331_EQ_331(...) \,
#define Z_IS_332_EQ_332(...) \,
#define Z_IS_333_EQ_333(...) \,
#define Z_IS_334_EQ_334(...) \,
#define Z_IS_335_EQ_335(...) \,
#define Z_IS_336_EQ_336(...) \,
#define Z_IS_337_EQ_337(...) \,
#define Z_IS_338_EQ_338(...) \,
#define Z_IS_339_EQ_339(...) \,
#define Z_IS_340_EQ_340(...) \,
#define Z_IS_341_EQ_341(...) \,
#define Z_IS_342_EQ_342(...) \,
#define Z_IS_343_EQ_343(...) \,
#define Z_IS_344_EQ_344(...) \,
#define Z_IS_345_EQ_345(...) \,
#define Z_IS_346_EQ_346(...) \,
#define Z_IS_347_EQ_347(...) \,
#define Z_IS_348_EQ_348(...) \,
#define Z_IS_349_EQ_349(...) \,
#define Z_IS_350_EQ_350(...) \,
#define Z_IS_351_EQ_351(...) \,
#define Z_IS_352_EQ_352(...) \,
#define Z_IS_353_EQ_353(...) \,
#define Z_IS_354_EQ_354(...) \,
#define Z_IS_355_EQ_355(...) \,
#define Z_IS_356_EQ_356(...) \,
#define Z_IS_357_EQ_357(...) \,
#define Z_IS_358_EQ_358(...) \,
#define Z_IS_359_EQ_359(...) \,
#define Z_IS_360_EQ_360(...) \,
#define Z_IS_361_EQ_361(...) \,
#define Z_IS_362_EQ_362(...) \,
#define Z_IS_363_EQ_363(...) \,
#define Z_IS_364_EQ_364(...) \,
#define Z_IS_365_EQ_365(...) \,
#define Z_IS_366_EQ_366(...) \,
#define Z_IS_367_EQ_367(...) \,
#define Z_IS_368_EQ_368(...) \,
#define Z_IS_369_EQ_369(...) \,
#define Z_IS_370_EQ_370(...) \,
#define Z_IS_371_EQ_371(...) \,
#define Z_IS_372_EQ_372(...) \,
#define Z_IS_373_EQ_373(...) \,
#define Z_IS_374_EQ_374(...) \,
#define Z_IS_375_EQ_375(...) \,
#define Z_IS_376_EQ_376(...) \,
#define Z_IS_377_EQ_377(...) \,
#define Z_IS_378_EQ_378(...) \,
#define Z_IS_379_EQ_379(...) \,
#define Z_IS_380_EQ_380(...) \,
#define Z_IS_381_EQ_381(...) \,
#define Z_IS_382_EQ_382(...) \,
#define Z_IS_383_EQ_383(...) \,
#define Z_IS_384_EQ_384(...) \,
#define Z_IS_385_EQ_385(...) \,
#define Z_IS_386_EQ_386(...) \,
#define Z_IS_387_EQ_387(...) \,
#define Z_IS_388_EQ_388(...) \,
#define Z_IS_389_EQ_389(...) \,
#define Z_IS_390_EQ_390(...) \,
#define Z_IS_391_EQ_391(...) \,
#define Z_IS_392_EQ_392(...) \,
#define Z_IS_393_EQ_393(...) \,
#define Z_IS_394_EQ_394(...) \,
#define Z_IS_395_EQ_395(...) \,
#define Z_IS_396_EQ_396(...) \,
#define Z_IS_397_EQ_397(...) \,
#define Z_IS_398_EQ_398(...) \,
#define Z_IS_399_EQ_399(...) \,
#define Z_IS_400_EQ_400(...) \,
#define Z_IS_401_EQ_401(...) \,
#define Z_IS_402_EQ_402(...) \,
#define Z_IS_403_EQ_403(...) \,
#define Z_IS_404_EQ_404(...) \,
#define Z_IS_405_EQ_405(...) \,
#define Z_IS_406_EQ_406(...) \,
#define Z_IS_407_EQ_407(...) \,
#define Z_IS_408_EQ_408(...) \,
#define Z_IS_409_EQ_409(...) \,
#define Z_IS_410_EQ_410(...) \,
#define Z_IS_411_EQ_411(...) \,
#define Z_IS_412_EQ_412(...) \,
#define Z_IS_413_EQ_413(...) \,
#define Z_IS_414_EQ_414(...) \,
#define Z_IS_415_EQ_415(...) \,
#define Z_IS_416_EQ_416(...) \,
#define Z_IS_417_EQ_417(...) \,
#define Z_IS_418_EQ_418(...) \,
#define Z_IS_419_EQ_419(...) \,
#define Z_IS_420_EQ_420(...) \,
#define Z_IS_421_EQ_421(...) \,
#define Z_IS_422_EQ_422(...) \,
#define Z_IS_423_EQ_423(...) \,
#define Z_IS_424_EQ_424(...) \,
#define Z_IS_425_EQ_425(...) \,
#define Z_IS_426_EQ_426(...) \,
#define Z_IS_427_EQ_427(...) \,
#define Z_IS_428_EQ_428(...) \,
#define Z_IS_429_EQ_429(...) \,
#define Z_IS_430_EQ_430(...) \,
#define Z_IS_431_EQ_431(...) \,
#define Z_IS_432_EQ_432(...) \,
#define Z_IS_433_EQ_433(...) \,
#define Z_IS_434_EQ_434(...) \,
#define Z_IS_435_EQ_435(...) \,
#define Z_IS_436_EQ_436(...) \,
#define Z_IS_437_EQ_437(...) \,
#define Z_IS_438_EQ_438(...) \,
#define Z_IS_439_EQ_439(...) \,
#define Z_IS_440_EQ_440(...) \,
#define Z_IS_441_EQ_441(...) \,
#define Z_IS_442_EQ_442(...) \,
#define Z_IS_443_EQ_443(...) \,
#define Z_IS_444_EQ_444(...) \,
#define Z_IS_445_EQ_445(...) \,
#define Z_IS_446_EQ_446(...) \,
#define Z_IS_447_EQ_447(...) \,
#define Z_IS_448_EQ_448(...) \,
#define Z_IS_449_EQ_449(...) \,
#define Z_IS_450_EQ_450(...) \,
#define Z_IS_451_EQ_451(...) \,
#define Z_IS_452_EQ_452(...) \,
#define Z_IS_453_EQ_453(...) \,
#define Z_IS_454_EQ_454(...) \,
#define Z_IS_455_EQ_455(...) \,
#define Z_IS_456_EQ_456(...) \,
#define Z_IS_457_EQ_457(...) \,
#define Z_IS_458_EQ_458(...) \,
#define Z_IS_459_EQ_459(...) \,
#define Z_IS_460_EQ_460(...) \,
#define Z_IS_461_EQ_461(...) \,
#define Z_IS_462_EQ_462(...) \,
#define Z_IS_463_EQ_463(...) \,
#define Z_IS_464_EQ_464(...) \,
#define Z_IS_465_EQ_465(...) \,
#define Z_IS_466_EQ_466(...) \,
#define Z_IS_467_EQ_467(...) \,
#define Z_IS_468_EQ_468(...) \,
#define Z_IS_469_EQ_469(...) \,
#define Z_IS_470_EQ_470(...) \,
#define Z_IS_471_EQ_471(...) \,
#define Z_IS_472_EQ_472(...) \,
#define Z_IS_473_EQ_473(...) \,
#define Z_IS_474_EQ_474(...) \,
#define Z_IS_475_EQ_475(...) \,
#define Z_IS_476_EQ_476(...) \,
#define Z_IS_477_EQ_477(...) \,
#define Z_IS_478_EQ_478(...) \,
#define Z_IS_479_EQ_479(...) \,
#define Z_IS_480_EQ_480(...) \,
#define Z_IS_481_EQ_481(...) \,
#define Z_IS_482_EQ_482(...) \,
#define Z_IS_483_EQ_483(...) \,
#define Z_IS_484_EQ_484(...) \,
#define Z_IS_485_EQ_485(...) \,
#define Z_IS_486_EQ_486(...) \,
#define Z_IS_487_EQ_487(...) \,
#define Z_IS_488_EQ_488(...) \,
#define Z_IS_489_EQ_489(...) \,
#define Z_IS_490_EQ_490(...) \,
#define Z_IS_491_EQ_491(...) \,
#define Z_IS_492_EQ_492(...) \,
#define Z_IS_493_EQ_493(...) \,
#define Z_IS_494_EQ_494(...) \,
#define Z_IS_495_EQ_495(...) \,
#define Z_IS_496_EQ_496(...) \,
#define Z_IS_497_EQ_497(...) \,
#define Z_IS_498_EQ_498(...) \,
#define Z_IS_499_EQ_499(...) \,
#define Z_IS_500_EQ_500(...) \,
#define Z_IS_501_EQ_501(...) \,
#define Z_IS_502_EQ_502(...) \,
#define Z_IS_503_EQ_503(...) \,
#define Z_IS_504_EQ_504(...) \,
#define Z_IS_505_EQ_505(...) \,
#define Z_IS_506_EQ_506(...) \,
#define Z_IS_507_EQ_507(...) \,
#define Z_IS_508_EQ_508(...) \,
#define Z_IS_509_EQ_509(...) \,
#define Z_IS_510_EQ_510(...) \,
#define Z_IS_511_EQ_511(...) \,
#define Z_IS_512_EQ_512(...) \,
#define Z_IS_513_EQ_513(...) \,
#define Z_IS_514_EQ_514(...) \,
#define Z_IS_515_EQ_515(...) \,
#define Z_IS_516_EQ_516(...) \,
#define Z_IS_517_EQ_517(...) \,
#define Z_IS_518_EQ_518(...) \,
#define Z_IS_519_EQ_519(...) \,
#define Z_IS_520_EQ_520(...) \,
#define Z_IS_521_EQ_521(...) \,
#define Z_IS_522_EQ_522(...) \,
#define Z_IS_523_EQ_523(...) \,
#define Z_IS_524_EQ_524(...) \,
#define Z_IS_525_EQ_525(...) \,
#define Z_IS_526_EQ_526(...) \,
#define Z_IS_527_EQ_527(...) \,
#define Z_IS_528_EQ_528(...) \,
#define Z_IS_529_EQ_529(...) \,
#define Z_IS_530_EQ_530(...) \,
#define Z_IS_531_EQ_531(...) \,
#define Z_IS_532_EQ_532(...) \,
#define Z_IS_533_EQ_533(...) \,
#define Z_IS_534_EQ_534(...) \,
#define Z_IS_535_EQ_535(...) \,
#define Z_IS_536_EQ_536(...) \,
#define Z_IS_537_EQ_537(...) \,
#define Z_IS_538_EQ_538(...) \,
#define Z_IS_539_EQ_539(...) \,
#define Z_IS_540_EQ_540(...) \,
#define Z_IS_541_EQ_541(...) \,
#define Z_IS_542_EQ_542(...) \,
#define Z_IS_543_EQ_543(...) \,
#define Z_IS_544_EQ_544(...) \,
#define Z_IS_545_EQ_545(...) \,
#define Z_IS_546_EQ_546(...) \,
#define Z_IS_547_EQ_547(...) \,
#define Z_IS_548_EQ_548(...) \,
#define Z_IS_549_EQ_549(...) \,
#define Z_IS_550_EQ_550(...) \,
#define Z_IS_551_EQ_551(...) \,
#define Z_IS_552_EQ_552(...) \,
#define Z_IS_553_EQ_553(...) \,
#define Z_IS_554_EQ_554(...) \,
#define Z_IS_555_EQ_555(...) \,
#define Z_IS_556_EQ_556(...) \,
#define Z_IS_557_EQ_557(...) \,
#define Z_IS_558_EQ_558(...) \,
#define Z_IS_559_EQ_559(...) \,
#define Z_IS_560_EQ_560(...) \,
#define Z_IS_561_EQ_561(...) \,
#define Z_IS_562_EQ_562(...) \,
#define Z_IS_563_EQ_563(...) \,
#define Z_IS_564_EQ_564(...) \,
#define Z_IS_565_EQ_565(...) \,
#define Z_IS_566_EQ_566(...) \,
#define Z_IS_567_EQ_567(...) \,
#define Z_IS_568_EQ_568(...) \,
#define Z_IS_569_EQ_569(...) \,
#define Z_IS_570_EQ_570(...) \,
#define Z_IS_571_EQ_571(...) \,
#define Z_IS_572_EQ_572(...) \,
#define Z_IS_573_EQ_573(...) \,
#define Z_IS_574_EQ_574(...) \,
#define Z_IS_575_EQ_575(...) \,
#define Z_IS_576_EQ_576(...) \,
#define Z_IS_577_EQ_577(...) \,
#define Z_IS_578_EQ_578(...) \,
#define Z_IS_579_EQ_579(...) \,
#define Z_IS_580_EQ_580(...) \,
#define Z_IS_581_EQ_581(...) \,
#define Z_IS_582_EQ_582(...) \,
#define Z_IS_583_EQ_583(...) \,
#define Z_IS_584_EQ_584(...) \,
#define Z_IS_585_EQ_585(...) \,
#define Z_IS_586_EQ_586(...) \,
#define Z_IS_587_EQ_587(...) \,
#define Z_IS_588_EQ_588(...) \,
#define Z_IS_589_EQ_589(...) \,
#define Z_IS_590_EQ_590(...) \,
#define Z_IS_591_EQ_591(...) \,
#define Z_IS_592_EQ_592(...) \,
#define Z_IS_593_EQ_593(...) \,
#define Z_IS_594_EQ_594(...) \,
#define Z_IS_595_EQ_595(...) \,
#define Z_IS_596_EQ_596(...) \,
#define Z_IS_597_EQ_597(...) \,
#define Z_IS_598_EQ_598(...) \,
#define Z_IS_599_EQ_599(...) \,
#define Z_IS_600_EQ_600(...) \,
#define Z_IS_601_EQ_601(...) \,
#define Z_IS_602_EQ_602(...) \,
#define Z_IS_603_EQ_603(...) \,
#define Z_IS_604_EQ_604(...) \,
#define Z_IS_605_EQ_605(...) \,
#define Z_IS_606_EQ_606(...) \,
#define Z_IS_607_EQ_607(...) \,
#define Z_IS_608_EQ_608(...) \,
#define Z_IS_609_EQ_609(...) \,
#define Z_IS_610_EQ_610(...) \,
#define Z_IS_611_EQ_611(...) \,
#define Z_IS_612_EQ_612(...) \,
#define Z_IS_613_EQ_613(...) \,
#define Z_IS_614_EQ_614(...) \,
#define Z_IS_615_EQ_615(...) \,
#define Z_IS_616_EQ_616(...) \,
#define Z_IS_617_EQ_617(...) \,
#define Z_IS_618_EQ_618(...) \,
#define Z_IS_619_EQ_619(...) \,
#define Z_IS_620_EQ_620(...) \,
#define Z_IS_621_EQ_621(...) \,
#define Z_IS_622_EQ_622(...) \,
#define Z_IS_623_EQ_623(...) \,
#define Z_IS_624_EQ_624(...) \,
#define Z_IS_625_EQ_625(...) \,
#define Z_IS_626_EQ_626(...) \,
#define Z_IS_627_EQ_627(...) \,
#define Z_IS_628_EQ_628(...) \,
#define Z_IS_629_EQ_629(...) \,
#define Z_IS_630_EQ_630(...) \,
#define Z_IS_631_EQ_631(...) \,
#define Z_IS_632_EQ_632(...) \,
#define Z_IS_633_EQ_633(...) \,
#define Z_IS_634_EQ_634(...) \,
#define Z_IS_635_EQ_635(...) \,
#define Z_IS_636_EQ_636(...) \,
#define Z_IS_637_EQ_637(...) \,
#define Z_IS_638_EQ_638(...) \,
#define Z_IS_639_EQ_639(...) \,
#define Z_IS_640_EQ_640(...) \,
#define Z_IS_641_EQ_641(...) \,
#define Z_IS_642_EQ_642(...) \,
#define Z_IS_643_EQ_643(...) \,
#define Z_IS_644_EQ_644(...) \,
#define Z_IS_645_EQ_645(...) \,
#define Z_IS_646_EQ_646(...) \,
#define Z_IS_647_EQ_647(...) \,
#define Z_IS_648_EQ_648(...) \,
#define Z_IS_649_EQ_649(...) \,
#define Z_IS_650_EQ_650(...) \,
#define Z_IS_651_EQ_651(...) \,
#define Z_IS_652_EQ_652(...) \,
#define Z_IS_653_EQ_653(...) \,
#define Z_IS_654_EQ_654(...) \,
#define Z_IS_655_EQ_655(...) \,
#define Z_IS_656_EQ_656(...) \,
#define Z_IS_657_EQ_657(...) \,
#define Z_IS_658_EQ_658(...) \,
#define Z_IS_659_EQ_659(...) \,
#define Z_IS_660_EQ_660(...) \,
#define Z_IS_661_EQ_661(...) \,
#define Z_IS_662_EQ_662(...) \,
#define Z_IS_663_EQ_663(...) \,
#define Z_IS_664_EQ_664(...) \,
#define Z_IS_665_EQ_665(...) \,
#define Z_IS_666_EQ_666(...) \,
#define Z_IS_667_EQ_667(...) \,
#define Z_IS_668_EQ_668(...) \,
#define Z_IS_669_EQ_669(...) \,
#define Z_IS_670_EQ_670(...) \,
#define Z_IS_671_EQ_671(...) \,
#define Z_IS_672_EQ_672(...) \,
#define Z_IS_673_EQ_673(...) \,
#define Z_IS_674_EQ_674(...) \,
#define Z_IS_675_EQ_675(...) \,
#define Z_IS_676_EQ_676(...) \,
#define Z_IS_677_EQ_677(...) \,
#define Z_IS_678_EQ_678(...) \,
#define Z_IS_679_EQ_679(...) \,
#define Z_IS_680_EQ_680(...) \,
#define Z_IS_681_EQ_681(...) \,
#define Z_IS_682_EQ_682(...) \,
#define Z_IS_683_EQ_683(...) \,
#define Z_IS_684_EQ_684(...) \,
#define Z_IS_685_EQ_685(...) \,
#define Z_IS_686_EQ_686(...) \,
#define Z_IS_687_EQ_687(...) \,
#define Z_IS_688_EQ_688(...) \,
#define Z_IS_689_EQ_689(...) \,
#define Z_IS_690_EQ_690(...) \,
#define Z_IS_691_EQ_691(...) \,
#define Z_IS_692_EQ_692(...) \,
#define Z_IS_693_EQ_693(...) \,
#define Z_IS_694_EQ_694(...) \,
#define Z_IS_695_EQ_695(...) \,
#define Z_IS_696_EQ_696(...) \,
#define Z_IS_697_EQ_697(...) \,
#define Z_IS_698_EQ_698(...) \,
#define Z_IS_699_EQ_699(...) \,
#define Z_IS_700_EQ_700(...) \,
#define Z_IS_701_EQ_701(...) \,
#define Z_IS_702_EQ_702(...) \,
#define Z_IS_703_EQ_703(...) \,
#define Z_IS_704_EQ_704(...) \,
#define Z_IS_705_EQ_705(...) \,
#define Z_IS_706_EQ_706(...) \,
#define Z_IS_707_EQ_707(...) \,
#define Z_IS_708_EQ_708(...) \,
#define Z_IS_709_EQ_709(...) \,
#define Z_IS_710_EQ_710(...) \,
#define Z_IS_711_EQ_711(...) \,
#define Z_IS_712_EQ_712(...) \,
#define Z_IS_713_EQ_713(...) \,
#define Z_IS_714_EQ_714(...) \,
#define Z_IS_715_EQ_715(...) \,
#define Z_IS_716_EQ_716(...) \,
#define Z_IS_717_EQ_717(...) \,
#define Z_IS_718_EQ_718(...) \,
#define Z_IS_719_EQ_719(...) \,
#define Z_IS_720_EQ_720(...) \,
#define Z_IS_721_EQ_721(...) \,
#define Z_IS_722_EQ_722(...) \,
#define Z_IS_723_EQ_723(...) \,
#define Z_IS_724_EQ_724(...) \,
#define Z_IS_725_EQ_725(...) \,
#define Z_IS_726_EQ_726(...) \,
#define Z_IS_727_EQ_727(...) \,
#define Z_IS_728_EQ_728(...) \,
#define Z_IS_729_EQ_729(...) \,
#define Z_IS_730_EQ_730(...) \,
#define Z_IS_731_EQ_731(...) \,
#define Z_IS_732_EQ_732(...) \,
#define Z_IS_733_EQ_733(...) \,
#define Z_IS_734_EQ_734(...) \,
#define Z_IS_735_EQ_735(...) \,
#define Z_IS_736_EQ_736(...) \,
#define Z_IS_737_EQ_737(...) \,
#define Z_IS_738_EQ_738(...) \,
#define Z_IS_739_EQ_739(...) \,
#define Z_IS_740_EQ_740(...) \,
#define Z_IS_741_EQ_741(...) \,
#define Z_IS_742_EQ_742(...) \,
#define Z_IS_743_EQ_743(...) \,
#define Z_IS_744_EQ_744(...) \,
#define Z_IS_745_EQ_745(...) \,
#define Z_IS_746_EQ_746(...) \,
#define Z_IS_747_EQ_747(...) \,
#define Z_IS_748_EQ_748(...) \,
#define Z_IS_749_EQ_749(...) \,
#define Z_IS_750_EQ_750(...) \,
#define Z_IS_751_EQ_751(...) \,
#define Z_IS_752_EQ_752(...) \,
#define Z_IS_753_EQ_753(...) \,
#define Z_IS_754_EQ_754(...) \,
#define Z_IS_755_EQ_755(...) \,
#define Z_IS_756_EQ_756(...) \,
#define Z_IS_757_EQ_757(...) \,
#define Z_IS_758_EQ_758(...) \,
#define Z_IS_759_EQ_759(...) \,
#define Z_IS_760_EQ_760(...) \,
#define Z_IS_761_EQ_761(...) \,
#define Z_IS_762_EQ_762(...) \,
#define Z_IS_763_EQ_763(...) \,
#define Z_IS_764_EQ_764(...) \,
#define Z_IS_765_EQ_765(...) \,
#define Z_IS_766_EQ_766(...) \,
#define Z_IS_767_EQ_767(...) \,
#define Z_IS_768_EQ_768(...) \,
#define Z_IS_769_EQ_769(...) \,
#define Z_IS_770_EQ_770(...) \,
#define Z_IS_771_EQ_771(...) \,
#define Z_IS_772_EQ_772(...) \,
#define Z_IS_773_EQ_773(...) \,
#define Z_IS_774_EQ_774(...) \,
#define Z_IS_775_EQ_775(...) \,
#define Z_IS_776_EQ_776(...) \,
#define Z_IS_777_EQ_777(...) \,
#define Z_IS_778_EQ_778(...) \,
#define Z_IS_779_EQ_779(...) \,
#define Z_IS_780_EQ_780(...) \,
#define Z_IS_781_EQ_781(...) \,
#define Z_IS_782_EQ_782(...) \,
#define Z_IS_783_EQ_783(...) \,
#define Z_IS_784_EQ_784(...) \,
#define Z_IS_785_EQ_785(...) \,
#define Z_IS_786_EQ_786(...) \,
#define Z_IS_787_EQ_787(...) \,
#define Z_IS_788_EQ_788(...) \,
#define Z_IS_789_EQ_789(...) \,
#define Z_IS_790_EQ_790(...) \,
#define Z_IS_791_EQ_791(...) \,
#define Z_IS_792_EQ_792(...) \,
#define Z_IS_793_EQ_793(...) \,
#define Z_IS_794_EQ_794(...) \,
#define Z_IS_795_EQ_795(...) \,
#define Z_IS_796_EQ_796(...) \,
#define Z_IS_797_EQ_797(...) \,
#define Z_IS_798_EQ_798(...) \,
#define Z_IS_799_EQ_799(...) \,
#define Z_IS_800_EQ_800(...) \,
#define Z_IS_801_EQ_801(...) \,
#define Z_IS_802_EQ_802(...) \,
#define Z_IS_803_EQ_803(...) \,
#define Z_IS_804_EQ_804(...) \,
#define Z_IS_805_EQ_805(...) \,
#define Z_IS_806_EQ_806(...) \,
#define Z_IS_807_EQ_807(...) \,
#define Z_IS_808_EQ_808(...) \,
#define Z_IS_809_EQ_809(...) \,
#define Z_IS_810_EQ_810(...) \,
#define Z_IS_811_EQ_811(...) \,
#define Z_IS_812_EQ_812(...) \,
#define Z_IS_813_EQ_813(...) \,
#define Z_IS_814_EQ_814(...) \,
#define Z_IS_815_EQ_815(...) \,
#define Z_IS_816_EQ_816(...) \,
#define Z_IS_817_EQ_817(...) \,
#define Z_IS_818_EQ_818(...) \,
#define Z_IS_819_EQ_819(...) \,
#define Z_IS_820_EQ_820(...) \,
#define Z_IS_821_EQ_821(...) \,
#define Z_IS_822_EQ_822(...) \,
#define Z_IS_823_EQ_823(...) \,
#define Z_IS_824_EQ_824(...) \,
#define Z_IS_825_EQ_825(...) \,
#define Z_IS_826_EQ_826(...) \,
#define Z_IS_827_EQ_827(...) \,
#define Z_IS_828_EQ_828(...) \,
#define Z_IS_829_EQ_829(...) \,
#define Z_IS_830_EQ_830(...) \,
#define Z_IS_831_EQ_831(...) \,
#define Z_IS_832_EQ_832(...) \,
#define Z_IS_833_EQ_833(...) \,
#define Z_IS_834_EQ_834(...) \,
#define Z_IS_835_EQ_835(...) \,
#define Z_IS_836_EQ_836(...) \,
#define Z_IS_837_EQ_837(...) \,
#define Z_IS_838_EQ_838(...) \,
#define Z_IS_839_EQ_839(...) \,
#define Z_IS_840_EQ_840(...) \,
#define Z_IS_841_EQ_841(...) \,
#define Z_IS_842_EQ_842(...) \,
#define Z_IS_843_EQ_843(...) \,
#define Z_IS_844_EQ_844(...) \,
#define Z_IS_845_EQ_845(...) \,
#define Z_IS_846_EQ_846(...) \,
#define Z_IS_847_EQ_847(...) \,
#define Z_IS_848_EQ_848(...) \,
#define Z_IS_849_EQ_849(...) \,
#define Z_IS_850_EQ_850(...) \,
#define Z_IS_851_EQ_851(...) \,
#define Z_IS_852_EQ_852(...) \,
#define Z_IS_853_EQ_853(...) \,
#define Z_IS_854_EQ_854(...) \,
#define Z_IS_855_EQ_855(...) \,
#define Z_IS_856_EQ_856(...) \,
#define Z_IS_857_EQ_857(...) \,
#define Z_IS_858_EQ_858(...) \,
#define Z_IS_859_EQ_859(...) \,
#define Z_IS_860_EQ_860(...) \,
#define Z_IS_861_EQ_861(...) \,
#define Z_IS_862_EQ_862(...) \,
#define Z_IS_863_EQ_863(...) \,
#define Z_IS_864_EQ_864(...) \,
#define Z_IS_865_EQ_865(...) \,
#define Z_IS_866_EQ_866(...) \,
#define Z_IS_867_EQ_867(...) \,
#define Z_IS_868_EQ_868(...) \,
#define Z_IS_869_EQ_869(...) \,
#define Z_IS_870_EQ_870(...) \,
#define Z_IS_871_EQ_871(...) \,
#define Z_IS_872_EQ_872(...) \,
#define Z_IS_873_EQ_873(...) \,
#define Z_IS_874_EQ_874(...) \,
#define Z_IS_875_EQ_875(...) \,
#define Z_IS_876_EQ_876(...) \,
#define Z_IS_877_EQ_877(...) \,
#define Z_IS_878_EQ_878(...) \,
#define Z_IS_879_EQ_879(...) \,
#define Z_IS_880_EQ_880(...) \,
#define Z_IS_881_EQ_881(...) \,
#define Z_IS_882_EQ_882(...) \,
#define Z_IS_883_EQ_883(...) \,
#define Z_IS_884_EQ_884(...) \,
#define Z_IS_885_EQ_885(...) \,
#define Z_IS_886_EQ_886(...) \,
#define Z_IS_887_EQ_887(...) \,
#define Z_IS_888_EQ_888(...) \,
#define Z_IS_889_EQ_889(...) \,
#define Z_IS_890_EQ_890(...) \,
#define Z_IS_891_EQ_891(...) \,
#define Z_IS_892_EQ_892(...) \,
#define Z_IS_893_EQ_893(...) \,
#define Z_IS_894_EQ_894(...) \,
#define Z_IS_895_EQ_895(...) \,
#define Z_IS_896_EQ_896(...) \,
#define Z_IS_897_EQ_897(...) \,
#define Z_IS_898_EQ_898(...) \,
#define Z_IS_899_EQ_899(...) \,
#define Z_IS_900_EQ_900(...) \,
#define Z_IS_901_EQ_901(...) \,
#define Z_IS_902_EQ_902(...) \,
#define Z_IS_903_EQ_903(...) \,
#define Z_IS_904_EQ_904(...) \,
#define Z_IS_905_EQ_905(...) \,
#define Z_IS_906_EQ_906(...) \,
#define Z_IS_907_EQ_907(...) \,
#define Z_IS_908_EQ_908(...) \,
#define Z_IS_909_EQ_909(...) \,
#define Z_IS_910_EQ_910(...) \,
#define Z_IS_911_EQ_911(...) \,
#define Z_IS_912_EQ_912(...) \,
#define Z_IS_913_EQ_913(...) \,
#define Z_IS_914_EQ_914(...) \,
#define Z_IS_915_EQ_915(...) \,
#define Z_IS_916_EQ_916(...) \,
#define Z_IS_917_EQ_917(...) \,
#define Z_IS_918_EQ_918(...) \,
#define Z_IS_919_EQ_919(...) \,
#define Z_IS_920_EQ_920(...) \,
#define Z_IS_921_EQ_921(...) \,
#define Z_IS_922_EQ_922(...) \,
#define Z_IS_923_EQ_923(...) \,
#define Z_IS_924_EQ_924(...) \,
#define Z_IS_925_EQ_925(...) \,
#define Z_IS_926_EQ_926(...) \,
#define Z_IS_927_EQ_927(...) \,
#define Z_IS_928_EQ_928(...) \,
#define Z_IS_929_EQ_929(...) \,
#define Z_IS_930_EQ_930(...) \,
#define Z_IS_931_EQ_931(...) \,
#define Z_IS_932_EQ_932(...) \,
#define Z_IS_933_EQ_933(...) \,
#define Z_IS_934_EQ_934(...) \,
#define Z_IS_935_EQ_935(...) \,
#define Z_IS_936_EQ_936(...) \,
#define Z_IS_937_EQ_937(...) \,
#define Z_IS_938_EQ_938(...) \,
#define Z_IS_939_EQ_939(...) \,
#define Z_IS_940_EQ_940(...) \,
#define Z_IS_941_EQ_941(...) \,
#define Z_IS_942_EQ_942(...) \,
#define Z_IS_943_EQ_943(...) \,
#define Z_IS_944_EQ_944(...) \,
#define Z_IS_945_EQ_945(...) \,
#define Z_IS_946_EQ_946(...) \,
#define Z_IS_947_EQ_947(...) \,
#define Z_IS_948_EQ_948(...) \,
#define Z_IS_949_EQ_949(...) \,
#define Z_IS_950_EQ_950(...) \,
#define Z_IS_951_EQ_951(...) \,
#define Z_IS_952_EQ_952(...) \,
#define Z_IS_953_EQ_953(...) \,
#define Z_IS_954_EQ_954(...) \,
#define Z_IS_955_EQ_955(...) \,
#define Z_IS_956_EQ_956(...) \,
#define Z_IS_957_EQ_957(...) \,
#define Z_IS_958_EQ_958(...) \,
#define Z_IS_959_EQ_959(...) \,
#define Z_IS_960_EQ_960(...) \,
#define Z_IS_961_EQ_961(...) \,
#define Z_IS_962_EQ_962(...) \,
#define Z_IS_963_EQ_963(...) \,
#define Z_IS_964_EQ_964(...) \,
#define Z_IS_965_EQ_965(...) \,
#define Z_IS_966_EQ_966(...) \,
#define Z_IS_967_EQ_967(...) \,
#define Z_IS_968_EQ_968(...) \,
#define Z_IS_969_EQ_969(...) \,
#define Z_IS_970_EQ_970(...) \,
#define Z_IS_971_EQ_971(...) \,
#define Z_IS_972_EQ_972(...) \,
#define Z_IS_973_EQ_973(...) \,
#define Z_IS_974_EQ_974(...) \,
#define Z_IS_975_EQ_975(...) \,
#define Z_IS_976_EQ_976(...) \,
#define Z_IS_977_EQ_977(...) \,
#define Z_IS_978_EQ_978(...) \,
#define Z_IS_979_EQ_979(...) \,
#define Z_IS_980_EQ_980(...) \,
#define Z_IS_981_EQ_981(...) \,
#define Z_IS_982_EQ_982(...) \,
#define Z_IS_983_EQ_983(...) \,
#define Z_IS_984_EQ_984(...) \,
#define Z_IS_985_EQ_985(...) \,
#define Z_IS_986_EQ_986(...) \,
#define Z_IS_987_EQ_987(...) \,
#define Z_IS_988_EQ_988(...) \,
#define Z_IS_989_EQ_989(...) \,
#define Z_IS_990_EQ_990(...) \,
#define Z_IS_991_EQ_991(...) \,
#define Z_IS_992_EQ_992(...) \,
#define Z_IS_993_EQ_993(...) \,
#define Z_IS_994_EQ_994(...) \,
#define Z_IS_995_EQ_995(...) \,
#define Z_IS_996_EQ_996(...) \,
#define Z_IS_997_EQ_997(...) \,
#define Z_IS_998_EQ_998(...) \,
#define Z_IS_999_EQ_999(...) \,
#define Z_IS_1000_EQ_1000(...) \,
#define Z_IS_1001_EQ_1001(...) \,
#define Z_IS_1002_EQ_1002(...) \,
#define Z_IS_1003_EQ_1003(...) \,
#define Z_IS_1004_EQ_1004(...) \,
#define Z_IS_1005_EQ_1005(...) \,
#define Z_IS_1006_EQ_1006(...) \,
#define Z_IS_1007_EQ_1007(...) \,
#define Z_IS_1008_EQ_1008(...) \,
#define Z_IS_1009_EQ_1009(...) \,
#define Z_IS_1010_EQ_1010(...) \,
#define Z_IS_1011_EQ_1011(...) \,
#define Z_IS_1012_EQ_1012(...) \,
#define Z_IS_1013_EQ_1013(...) \,
#define Z_IS_1014_EQ_1014(...) \,
#define Z_IS_1015_EQ_1015(...) \,
#define Z_IS_1016_EQ_1016(...) \,
#define Z_IS_1017_EQ_1017(...) \,
#define Z_IS_1018_EQ_1018(...) \,
#define Z_IS_1019_EQ_1019(...) \,
#define Z_IS_1020_EQ_1020(...) \,
#define Z_IS_1021_EQ_1021(...) \,
#define Z_IS_1022_EQ_1022(...) \,
#define Z_IS_1023_EQ_1023(...) \,
#define Z_IS_1024_EQ_1024(...) \,
#define Z_IS_1025_EQ_1025(...) \,
#define Z_IS_1026_EQ_1026(...) \,
#define Z_IS_1027_EQ_1027(...) \,
#define Z_IS_1028_EQ_1028(...) \,
#define Z_IS_1029_EQ_1029(...) \,
#define Z_IS_1030_EQ_1030(...) \,
#define Z_IS_1031_EQ_1031(...) \,
#define Z_IS_1032_EQ_1032(...) \,
#define Z_IS_1033_EQ_1033(...) \,
#define Z_IS_1034_EQ_1034(...) \,
#define Z_IS_1035_EQ_1035(...) \,
#define Z_IS_1036_EQ_1036(...) \,
#define Z_IS_1037_EQ_1037(...) \,
#define Z_IS_1038_EQ_1038(...) \,
#define Z_IS_1039_EQ_1039(...) \,
#define Z_IS_1040_EQ_1040(...) \,
#define Z_IS_1041_EQ_1041(...) \,
#define Z_IS_1042_EQ_1042(...) \,
#define Z_IS_1043_EQ_1043(...) \,
#define Z_IS_1044_EQ_1044(...) \,
#define Z_IS_1045_EQ_1045(...) \,
#define Z_IS_1046_EQ_1046(...) \,
#define Z_IS_1047_EQ_1047(...) \,
#define Z_IS_1048_EQ_1048(...) \,
#define Z_IS_1049_EQ_1049(...) \,
#define Z_IS_1050_EQ_1050(...) \,
#define Z_IS_1051_EQ_1051(...) \,
#define Z_IS_1052_EQ_1052(...) \,
#define Z_IS_1053_EQ_1053(...) \,
#define Z_IS_1054_EQ_1054(...) \,
#define Z_IS_1055_EQ_1055(...) \,
#define Z_IS_1056_EQ_1056(...) \,
#define Z_IS_1057_EQ_1057(...) \,
#define Z_IS_1058_EQ_1058(...) \,
#define Z_IS_1059_EQ_1059(...) \,
#define Z_IS_1060_EQ_1060(...) \,
#define Z_IS_1061_EQ_1061(...) \,
#define Z_IS_1062_EQ_1062(...) \,
#define Z_IS_1063_EQ_1063(...) \,
#define Z_IS_1064_EQ_1064(...) \,
#define Z_IS_1065_EQ_1065(...) \,
#define Z_IS_1066_EQ_1066(...) \,
#define Z_IS_1067_EQ_1067(...) \,
#define Z_IS_1068_EQ_1068(...) \,
#define Z_IS_1069_EQ_1069(...) \,
#define Z_IS_1070_EQ_1070(...) \,
#define Z_IS_1071_EQ_1071(...) \,
#define Z_IS_1072_EQ_1072(...) \,
#define Z_IS_1073_EQ_1073(...) \,
#define Z_IS_1074_EQ_1074(...) \,
#define Z_IS_1075_EQ_1075(...) \,
#define Z_IS_1076_EQ_1076(...) \,
#define Z_IS_1077_EQ_1077(...) \,
#define Z_IS_1078_EQ_1078(...) \,
#define Z_IS_1079_EQ_1079(...) \,
#define Z_IS_1080_EQ_1080(...) \,
#define Z_IS_1081_EQ_1081(...) \,
#define Z_IS_1082_EQ_1082(...) \,
#define Z_IS_1083_EQ_1083(...) \,
#define Z_IS_1084_EQ_1084(...) \,
#define Z_IS_1085_EQ_1085(...) \,
#define Z_IS_1086_EQ_1086(...) \,
#define Z_IS_1087_EQ_1087(...) \,
#define Z_IS_1088_EQ_1088(...) \,
#define Z_IS_1089_EQ_1089(...) \,
#define Z_IS_1090_EQ_1090(...) \,
#define Z_IS_1091_EQ_1091(...) \,
#define Z_IS_1092_EQ_1092(...) \,
#define Z_IS_1093_EQ_1093(...) \,
#define Z_IS_1094_EQ_1094(...) \,
#define Z_IS_1095_EQ_1095(...) \,
#define Z_IS_1096_EQ_1096(...) \,
#define Z_IS_1097_EQ_1097(...) \,
#define Z_IS_1098_EQ_1098(...) \,
#define Z_IS_1099_EQ_1099(...) \,
#define Z_IS_1100_EQ_1100(...) \,
#define Z_IS_1101_EQ_1101(...) \,
#define Z_IS_1102_EQ_1102(...) \,
#define Z_IS_1103_EQ_1103(...) \,
#define Z_IS_1104_EQ_1104(...) \,
#define Z_IS_1105_EQ_1105(...) \,
#define Z_IS_1106_EQ_1106(...) \,
#define Z_IS_1107_EQ_1107(...) \,
#define Z_IS_1108_EQ_1108(...) \,
#define Z_IS_1109_EQ_1109(...) \,
#define Z_IS_1110_EQ_1110(...) \,
#define Z_IS_1111_EQ_1111(...) \,
#define Z_IS_1112_EQ_1112(...) \,
#define Z_IS_1113_EQ_1113(...) \,
#define Z_IS_1114_EQ_1114(...) \,
#define Z_IS_1115_EQ_1115(...) \,
#define Z_IS_1116_EQ_1116(...) \,
#define Z_IS_1117_EQ_1117(...) \,
#define Z_IS_1118_EQ_1118(...) \,
#define Z_IS_1119_EQ_1119(...) \,
#define Z_IS_1120_EQ_1120(...) \,
#define Z_IS_1121_EQ_1121(...) \,
#define Z_IS_1122_EQ_1122(...) \,
#define Z_IS_1123_EQ_1123(...) \,
#define Z_IS_1124_EQ_1124(...) \,
#define Z_IS_1125_EQ_1125(...) \,
#define Z_IS_1126_EQ_1126(...) \,
#define Z_IS_1127_EQ_1127(...) \,
#define Z_IS_1128_EQ_1128(...) \,
#define Z_IS_1129_EQ_1129(...) \,
#define Z_IS_1130_EQ_1130(...) \,
#define Z_IS_1131_EQ_1131(...) \,
#define Z_IS_1132_EQ_1132(...) \,
#define Z_IS_1133_EQ_1133(...) \,
#define Z_IS_1134_EQ_1134(...) \,
#define Z_IS_1135_EQ_1135(...) \,
#define Z_IS_1136_EQ_1136(...) \,
#define Z_IS_1137_EQ_1137(...) \,
#define Z_IS_1138_EQ_1138(...) \,
#define Z_IS_1139_EQ_1139(...) \,
#define Z_IS_1140_EQ_1140(...) \,
#define Z_IS_1141_EQ_1141(...) \,
#define Z_IS_1142_EQ_1142(...) \,
#define Z_IS_1143_EQ_1143(...) \,
#define Z_IS_1144_EQ_1144(...) \,
#define Z_IS_1145_EQ_1145(...) \,
#define Z_IS_1146_EQ_1146(...) \,
#define Z_IS_1147_EQ_1147(...) \,
#define Z_IS_1148_EQ_1148(...) \,
#define Z_IS_1149_EQ_1149(...) \,
#define Z_IS_1150_EQ_1150(...) \,
#define Z_IS_1151_EQ_1151(...) \,
#define Z_IS_1152_EQ_1152(...) \,
#define Z_IS_1153_EQ_1153(...) \,
#define Z_IS_1154_EQ_1154(...) \,
#define Z_IS_1155_EQ_1155(...) \,
#define Z_IS_1156_EQ_1156(...) \,
#define Z_IS_1157_EQ_1157(...) \,
#define Z_IS_1158_EQ_1158(...) \,
#define Z_IS_1159_EQ_1159(...) \,
#define Z_IS_1160_EQ_1160(...) \,
#define Z_IS_1161_EQ_1161(...) \,
#define Z_IS_1162_EQ_1162(...) \,
#define Z_IS_1163_EQ_1163(...) \,
#define Z_IS_1164_EQ_1164(...) \,
#define Z_IS_1165_EQ_1165(...) \,
#define Z_IS_1166_EQ_1166(...) \,
#define Z_IS_1167_EQ_1167(...) \,
#define Z_IS_1168_EQ_1168(...) \,
#define Z_IS_1169_EQ_1169(...) \,
#define Z_IS_1170_EQ_1170(...) \,
#define Z_IS_1171_EQ_1171(...) \,
#define Z_IS_1172_EQ_1172(...) \,
#define Z_IS_1173_EQ_1173(...) \,
#define Z_IS_1174_EQ_1174(...) \,
#define Z_IS_1175_EQ_1175(...) \,
#define Z_IS_1176_EQ_1176(...) \,
#define Z_IS_1177_EQ_1177(...) \,
#define Z_IS_1178_EQ_1178(...) \,
#define Z_IS_1179_EQ_1179(...) \,
#define Z_IS_1180_EQ_1180(...) \,
#define Z_IS_1181_EQ_1181(...) \,
#define Z_IS_1182_EQ_1182(...) \,
#define Z_IS_1183_EQ_1183(...) \,
#define Z_IS_1184_EQ_1184(...) \,
#define Z_IS_1185_EQ_1185(...) \,
#define Z_IS_1186_EQ_1186(...) \,
#define Z_IS_1187_EQ_1187(...) \,
#define Z_IS_1188_EQ_1188(...) \,
#define Z_IS_1189_EQ_1189(...) \,
#define Z_IS_1190_EQ_1190(...) \,
#define Z_IS_1191_EQ_1191(...) \,
#define Z_IS_1192_EQ_1192(...) \,
#define Z_IS_1193_EQ_1193(...) \,
#define Z_IS_1194_EQ_1194(...) \,
#define Z_IS_1195_EQ_1195(...) \,
#define Z_IS_1196_EQ_1196(...) \,
#define Z_IS_1197_EQ_1197(...) \,
#define Z_IS_1198_EQ_1198(...) \,
#define Z_IS_1199_EQ_1199(...) \,
#define Z_IS_1200_EQ_1200(...) \,
#define Z_IS_1201_EQ_1201(...) \,
#define Z_IS_1202_EQ_1202(...) \,
#define Z_IS_1203_EQ_1203(...) \,
#define Z_IS_1204_EQ_1204(...) \,
#define Z_IS_1205_EQ_1205(...) \,
#define Z_IS_1206_EQ_1206(...) \,
#define Z_IS_1207_EQ_1207(...) \,
#define Z_IS_1208_EQ_1208(...) \,
#define Z_IS_1209_EQ_1209(...) \,
#define Z_IS_1210_EQ_1210(...) \,
#define Z_IS_1211_EQ_1211(...) \,
#define Z_IS_1212_EQ_1212(...) \,
#define Z_IS_1213_EQ_1213(...) \,
#define Z_IS_1214_EQ_1214(...) \,
#define Z_IS_1215_EQ_1215(...) \,
#define Z_IS_1216_EQ_1216(...) \,
#define Z_IS_1217_EQ_1217(...) \,
#define Z_IS_1218_EQ_1218(...) \,
#define Z_IS_1219_EQ_1219(...) \,
#define Z_IS_1220_EQ_1220(...) \,
#define Z_IS_1221_EQ_1221(...) \,
#define Z_IS_1222_EQ_1222(...) \,
#define Z_IS_1223_EQ_1223(...) \,
#define Z_IS_1224_EQ_1224(...) \,
#define Z_IS_1225_EQ_1225(...) \,
#define Z_IS_1226_EQ_1226(...) \,
#define Z_IS_1227_EQ_1227(...) \,
#define Z_IS_1228_EQ_1228(...) \,
#define Z_IS_1229_EQ_1229(...) \,
#define Z_IS_1230_EQ_1230(...) \,
#define Z_IS_1231_EQ_1231(...) \,
#define Z_IS_1232_EQ_1232(...) \,
#define Z_IS_1233_EQ_1233(...) \,
#define Z_IS_1234_EQ_1234(...) \,
#define Z_IS_1235_EQ_1235(...) \,
#define Z_IS_1236_EQ_1236(...) \,
#define Z_IS_1237_EQ_1237(...) \,
#define Z_IS_1238_EQ_1238(...) \,
#define Z_IS_1239_EQ_1239(...) \,
#define Z_IS_1240_EQ_1240(...) \,
#define Z_IS_1241_EQ_1241(...) \,
#define Z_IS_1242_EQ_1242(...) \,
#define Z_IS_1243_EQ_1243(...) \,
#define Z_IS_1244_EQ_1244(...) \,
#define Z_IS_1245_EQ_1245(...) \,
#define Z_IS_1246_EQ_1246(...) \,
#define Z_IS_1247_EQ_1247(...) \,
#define Z_IS_1248_EQ_1248(...) \,
#define Z_IS_1249_EQ_1249(...) \,
#define Z_IS_1250_EQ_1250(...) \,
#define Z_IS_1251_EQ_1251(...) \,
#define Z_IS_1252_EQ_1252(...) \,
#define Z_IS_1253_EQ_1253(...) \,
#define Z_IS_1254_EQ_1254(...) \,
#define Z_IS_1255_EQ_1255(...) \,
#define Z_IS_1256_EQ_1256(...) \,
#define Z_IS_1257_EQ_1257(...) \,
#define Z_IS_1258_EQ_1258(...) \,
#define Z_IS_1259_EQ_1259(...) \,
#define Z_IS_1260_EQ_1260(...) \,
#define Z_IS_1261_EQ_1261(...) \,
#define Z_IS_1262_EQ_1262(...) \,
#define Z_IS_1263_EQ_1263(...) \,
#define Z_IS_1264_EQ_1264(...) \,
#define Z_IS_1265_EQ_1265(...) \,
#define Z_IS_1266_EQ_1266(...) \,
#define Z_IS_1267_EQ_1267(...) \,
#define Z_IS_1268_EQ_1268(...) \,
#define Z_IS_1269_EQ_1269(...) \,
#define Z_IS_1270_EQ_1270(...) \,
#define Z_IS_1271_EQ_1271(...) \,
#define Z_IS_1272_EQ_1272(...) \,
#define Z_IS_1273_EQ_1273(...) \,
#define Z_IS_1274_EQ_1274(...) \,
#define Z_IS_1275_EQ_1275(...) \,
#define Z_IS_1276_EQ_1276(...) \,
#define Z_IS_1277_EQ_1277(...) \,
#define Z_IS_1278_EQ_1278(...) \,
#define Z_IS_1279_EQ_1279(...) \,
#define Z_IS_1280_EQ_1280(...) \,
#define Z_IS_1281_EQ_1281(...) \,
#define Z_IS_1282_EQ_1282(...) \,
#define Z_IS_1283_EQ_1283(...) \,
#define Z_IS_1284_EQ_1284(...) \,
#define Z_IS_1285_EQ_1285(...) \,
#define Z_IS_1286_EQ_1286(...) \,
#define Z_IS_1287_EQ_1287(...) \,
#define Z_IS_1288_EQ_1288(...) \,
#define Z_IS_1289_EQ_1289(...) \,
#define Z_IS_1290_EQ_1290(...) \,
#define Z_IS_1291_EQ_1291(...) \,
#define Z_IS_1292_EQ_1292(...) \,
#define Z_IS_1293_EQ_1293(...) \,
#define Z_IS_1294_EQ_1294(...) \,
#define Z_IS_1295_EQ_1295(...) \,
#define Z_IS_1296_EQ_1296(...) \,
#define Z_IS_1297_EQ_1297(...) \,
#define Z_IS_1298_EQ_1298(...) \,
#define Z_IS_1299_EQ_1299(...) \,
#define Z_IS_1300_EQ_1300(...) \,
#define Z_IS_1301_EQ_1301(...) \,
#define Z_IS_1302_EQ_1302(...) \,
#define Z_IS_1303_EQ_1303(...) \,
#define Z_IS_1304_EQ_1304(...) \,
#define Z_IS_1305_EQ_1305(...) \,
#define Z_IS_1306_EQ_1306(...) \,
#define Z_IS_1307_EQ_1307(...) \,
#define Z_IS_1308_EQ_1308(...) \,
#define Z_IS_1309_EQ_1309(...) \,
#define Z_IS_1310_EQ_1310(...) \,
#define Z_IS_1311_EQ_1311(...) \,
#define Z_IS_1312_EQ_1312(...) \,
#define Z_IS_1313_EQ_1313(...) \,
#define Z_IS_1314_EQ_1314(...) \,
#define Z_IS_1315_EQ_1315(...) \,
#define Z_IS_1316_EQ_1316(...) \,
#define Z_IS_1317_EQ_1317(...) \,
#define Z_IS_1318_EQ_1318(...) \,
#define Z_IS_1319_EQ_1319(...) \,
#define Z_IS_1320_EQ_1320(...) \,
#define Z_IS_1321_EQ_1321(...) \,
#define Z_IS_1322_EQ_1322(...) \,
#define Z_IS_1323_EQ_1323(...) \,
#define Z_IS_1324_EQ_1324(...) \,
#define Z_IS_1325_EQ_1325(...) \,
#define Z_IS_1326_EQ_1326(...) \,
#define Z_IS_1327_EQ_1327(...) \,
#define Z_IS_1328_EQ_1328(...) \,
#define Z_IS_1329_EQ_1329(...) \,
#define Z_IS_1330_EQ_1330(...) \,
#define Z_IS_1331_EQ_1331(...) \,
#define Z_IS_1332_EQ_1332(...) \,
#define Z_IS_1333_EQ_1333(...) \,
#define Z_IS_1334_EQ_1334(...) \,
#define Z_IS_1335_EQ_1335(...) \,
#define Z_IS_1336_EQ_1336(...) \,
#define Z_IS_1337_EQ_1337(...) \,
#define Z_IS_1338_EQ_1338(...) \,
#define Z_IS_1339_EQ_1339(...) \,
#define Z_IS_1340_EQ_1340(...) \,
#define Z_IS_1341_EQ_1341(...) \,
#define Z_IS_1342_EQ_1342(...) \,
#define Z_IS_1343_EQ_1343(...) \,
#define Z_IS_1344_EQ_1344(...) \,
#define Z_IS_1345_EQ_1345(...) \,
#define Z_IS_1346_EQ_1346(...) \,
#define Z_IS_1347_EQ_1347(...) \,
#define Z_IS_1348_EQ_1348(...) \,
#define Z_IS_1349_EQ_1349(...) \,
#define Z_IS_1350_EQ_1350(...) \,
#define Z_IS_1351_EQ_1351(...) \,
#define Z_IS_1352_EQ_1352(...) \,
#define Z_IS_1353_EQ_1353(...) \,
#define Z_IS_1354_EQ_1354(...) \,
#define Z_IS_1355_EQ_1355(...) \,
#define Z_IS_1356_EQ_1356(...) \,
#define Z_IS_1357_EQ_1357(...) \,
#define Z_IS_1358_EQ_1358(...) \,
#define Z_IS_1359_EQ_1359(...) \,
#define Z_IS_1360_EQ_1360(...) \,
#define Z_IS_1361_EQ_1361(...) \,
#define Z_IS_1362_EQ_1362(...) \,
#define Z_IS_1363_EQ_1363(...) \,
#define Z_IS_1364_EQ_1364(...) \,
#define Z_IS_1365_EQ_1365(...) \,
#define Z_IS_1366_EQ_1366(...) \,
#define Z_IS_1367_EQ_1367(...) \,
#define Z_IS_1368_EQ_1368(...) \,
#define Z_IS_1369_EQ_1369(...) \,
#define Z_IS_1370_EQ_1370(...) \,
#define Z_IS_1371_EQ_1371(...) \,
#define Z_IS_1372_EQ_1372(...) \,
#define Z_IS_1373_EQ_1373(...) \,
#define Z_IS_1374_EQ_1374(...) \,
#define Z_IS_1375_EQ_1375(...) \,
#define Z_IS_1376_EQ_1376(...) \,
#define Z_IS_1377_EQ_1377(...) \,
#define Z_IS_1378_EQ_1378(...) \,
#define Z_IS_1379_EQ_1379(...) \,
#define Z_IS_1380_EQ_1380(...) \,
#define Z_IS_1381_EQ_1381(...) \,
#define Z_IS_1382_EQ_1382(...) \,
#define Z_IS_1383_EQ_1383(...) \,
#define Z_IS_1384_EQ_1384(...) \,
#define Z_IS_1385_EQ_1385(...) \,
#define Z_IS_1386_EQ_1386(...) \,
#define Z_IS_1387_EQ_1387(...) \,
#define Z_IS_1388_EQ_1388(...) \,
#define Z_IS_1389_EQ_1389(...) \,
#define Z_IS_1390_EQ_1390(...) \,
#define Z_IS_1391_EQ_1391(...) \,
#define Z_IS_1392_EQ_1392(...) \,
#define Z_IS_1393_EQ_1393(...) \,
#define Z_IS_1394_EQ_1394(...) \,
#define Z_IS_1395_EQ_1395(...) \,
#define Z_IS_1396_EQ_1396(...) \,
#define Z_IS_1397_EQ_1397(...) \,
#define Z_IS_1398_EQ_1398(...) \,
#define Z_IS_1399_EQ_1399(...) \,
#define Z_IS_1400_EQ_1400(...) \,
#define Z_IS_1401_EQ_1401(...) \,
#define Z_IS_1402_EQ_1402(...) \,
#define Z_IS_1403_EQ_1403(...) \,
#define Z_IS_1404_EQ_1404(...) \,
#define Z_IS_1405_EQ_1405(...) \,
#define Z_IS_1406_EQ_1406(...) \,
#define Z_IS_1407_EQ_1407(...) \,
#define Z_IS_1408_EQ_1408(...) \,
#define Z_IS_1409_EQ_1409(...) \,
#define Z_IS_1410_EQ_1410(...) \,
#define Z_IS_1411_EQ_1411(...) \,
#define Z_IS_1412_EQ_1412(...) \,
#define Z_IS_1413_EQ_1413(...) \,
#define Z_IS_1414_EQ_1414(...) \,
#define Z_IS_1415_EQ_1415(...) \,
#define Z_IS_1416_EQ_1416(...) \,
#define Z_IS_1417_EQ_1417(...) \,
#define Z_IS_1418_EQ_1418(...) \,
#define Z_IS_1419_EQ_1419(...) \,
#define Z_IS_1420_EQ_1420(...) \,
#define Z_IS_1421_EQ_1421(...) \,
#define Z_IS_1422_EQ_1422(...) \,
#define Z_IS_1423_EQ_1423(...) \,
#define Z_IS_1424_EQ_1424(...) \,
#define Z_IS_1425_EQ_1425(...) \,
#define Z_IS_1426_EQ_1426(...) \,
#define Z_IS_1427_EQ_1427(...) \,
#define Z_IS_1428_EQ_1428(...) \,
#define Z_IS_1429_EQ_1429(...) \,
#define Z_IS_1430_EQ_1430(...) \,
#define Z_IS_1431_EQ_1431(...) \,
#define Z_IS_1432_EQ_1432(...) \,
#define Z_IS_1433_EQ_1433(...) \,
#define Z_IS_1434_EQ_1434(...) \,
#define Z_IS_1435_EQ_1435(...) \,
#define Z_IS_1436_EQ_1436(...) \,
#define Z_IS_1437_EQ_1437(...) \,
#define Z_IS_1438_EQ_1438(...) \,
#define Z_IS_1439_EQ_1439(...) \,
#define Z_IS_1440_EQ_1440(...) \,
#define Z_IS_1441_EQ_1441(...) \,
#define Z_IS_1442_EQ_1442(...) \,
#define Z_IS_1443_EQ_1443(...) \,
#define Z_IS_1444_EQ_1444(...) \,
#define Z_IS_1445_EQ_1445(...) \,
#define Z_IS_1446_EQ_1446(...) \,
#define Z_IS_1447_EQ_1447(...) \,
#define Z_IS_1448_EQ_1448(...) \,
#define Z_IS_1449_EQ_1449(...) \,
#define Z_IS_1450_EQ_1450(...) \,
#define Z_IS_1451_EQ_1451(...) \,
#define Z_IS_1452_EQ_1452(...) \,
#define Z_IS_1453_EQ_1453(...) \,
#define Z_IS_1454_EQ_1454(...) \,
#define Z_IS_1455_EQ_1455(...) \,
#define Z_IS_1456_EQ_1456(...) \,
#define Z_IS_1457_EQ_1457(...) \,
#define Z_IS_1458_EQ_1458(...) \,
#define Z_IS_1459_EQ_1459(...) \,
#define Z_IS_1460_EQ_1460(...) \,
#define Z_IS_1461_EQ_1461(...) \,
#define Z_IS_1462_EQ_1462(...) \,
#define Z_IS_1463_EQ_1463(...) \,
#define Z_IS_1464_EQ_1464(...) \,
#define Z_IS_1465_EQ_1465(...) \,
#define Z_IS_1466_EQ_1466(...) \,
#define Z_IS_1467_EQ_1467(...) \,
#define Z_IS_1468_EQ_1468(...) \,
#define Z_IS_1469_EQ_1469(...) \,
#define Z_IS_1470_EQ_1470(...) \,
#define Z_IS_1471_EQ_1471(...) \,
#define Z_IS_1472_EQ_1472(...) \,
#define Z_IS_1473_EQ_1473(...) \,
#define Z_IS_1474_EQ_1474(...) \,
#define Z_IS_1475_EQ_1475(...) \,
#define Z_IS_1476_EQ_1476(...) \,
#define Z_IS_1477_EQ_1477(...) \,
#define Z_IS_1478_EQ_1478(...) \,
#define Z_IS_1479_EQ_1479(...) \,
#define Z_IS_1480_EQ_1480(...) \,
#define Z_IS_1481_EQ_1481(...) \,
#define Z_IS_1482_EQ_1482(...) \,
#define Z_IS_1483_EQ_1483(...) \,
#define Z_IS_1484_EQ_1484(...) \,
#define Z_IS_1485_EQ_1485(...) \,
#define Z_IS_1486_EQ_1486(...) \,
#define Z_IS_1487_EQ_1487(...) \,
#define Z_IS_1488_EQ_1488(...) \,
#define Z_IS_1489_EQ_1489(...) \,
#define Z_IS_1490_EQ_1490(...) \,
#define Z_IS_1491_EQ_1491(...) \,
#define Z_IS_1492_EQ_1492(...) \,
#define Z_IS_1493_EQ_1493(...) \,
#define Z_IS_1494_EQ_1494(...) \,
#define Z_IS_1495_EQ_1495(...) \,
#define Z_IS_1496_EQ_1496(...) \,
#define Z_IS_1497_EQ_1497(...) \,
#define Z_IS_1498_EQ_1498(...) \,
#define Z_IS_1499_EQ_1499(...) \,
#define Z_IS_1500_EQ_1500(...) \,
#define Z_IS_1501_EQ_1501(...) \,
#define Z_IS_1502_EQ_1502(...) \,
#define Z_IS_1503_EQ_1503(...) \,
#define Z_IS_1504_EQ_1504(...) \,
#define Z_IS_1505_EQ_1505(...) \,
#define Z_IS_1506_EQ_1506(...) \,
#define Z_IS_1507_EQ_1507(...) \,
#define Z_IS_1508_EQ_1508(...) \,
#define Z_IS_1509_EQ_1509(...) \,
#define Z_IS_1510_EQ_1510(...) \,
#define Z_IS_1511_EQ_1511(...) \,
#define Z_IS_1512_EQ_1512(...) \,
#define Z_IS_1513_EQ_1513(...) \,
#define Z_IS_1514_EQ_1514(...) \,
#define Z_IS_1515_EQ_1515(...) \,
#define Z_IS_1516_EQ_1516(...) \,
#define Z_IS_1517_EQ_1517(...) \,
#define Z_IS_1518_EQ_1518(...) \,
#define Z_IS_1519_EQ_1519(...) \,
#define Z_IS_1520_EQ_1520(...) \,
#define Z_IS_1521_EQ_1521(...) \,
#define Z_IS_1522_EQ_1522(...) \,
#define Z_IS_1523_EQ_1523(...) \,
#define Z_IS_1524_EQ_1524(...) \,
#define Z_IS_1525_EQ_1525(...) \,
#define Z_IS_1526_EQ_1526(...) \,
#define Z_IS_1527_EQ_1527(...) \,
#define Z_IS_1528_EQ_1528(...) \,
#define Z_IS_1529_EQ_1529(...) \,
#define Z_IS_1530_EQ_1530(...) \,
#define Z_IS_1531_EQ_1531(...) \,
#define Z_IS_1532_EQ_1532(...) \,
#define Z_IS_1533_EQ_1533(...) \,
#define Z_IS_1534_EQ_1534(...) \,
#define Z_IS_1535_EQ_1535(...) \,
#define Z_IS_1536_EQ_1536(...) \,
#define Z_IS_1537_EQ_1537(...) \,
#define Z_IS_1538_EQ_1538(...) \,
#define Z_IS_1539_EQ_1539(...) \,
#define Z_IS_1540_EQ_1540(...) \,
#define Z_IS_1541_EQ_1541(...) \,
#define Z_IS_1542_EQ_1542(...) \,
#define Z_IS_1543_EQ_1543(...) \,
#define Z_IS_1544_EQ_1544(...) \,
#define Z_IS_1545_EQ_1545(...) \,
#define Z_IS_1546_EQ_1546(...) \,
#define Z_IS_1547_EQ_1547(...) \,
#define Z_IS_1548_EQ_1548(...) \,
#define Z_IS_1549_EQ_1549(...) \,
#define Z_IS_1550_EQ_1550(...) \,
#define Z_IS_1551_EQ_1551(...) \,
#define Z_IS_1552_EQ_1552(...) \,
#define Z_IS_1553_EQ_1553(...) \,
#define Z_IS_1554_EQ_1554(...) \,
#define Z_IS_1555_EQ_1555(...) \,
#define Z_IS_1556_EQ_1556(...) \,
#define Z_IS_1557_EQ_1557(...) \,
#define Z_IS_1558_EQ_1558(...) \,
#define Z_IS_1559_EQ_1559(...) \,
#define Z_IS_1560_EQ_1560(...) \,
#define Z_IS_1561_EQ_1561(...) \,
#define Z_IS_1562_EQ_1562(...) \,
#define Z_IS_1563_EQ_1563(...) \,
#define Z_IS_1564_EQ_1564(...) \,
#define Z_IS_1565_EQ_1565(...) \,
#define Z_IS_1566_EQ_1566(...) \,
#define Z_IS_1567_EQ_1567(...) \,
#define Z_IS_1568_EQ_1568(...) \,
#define Z_IS_1569_EQ_1569(...) \,
#define Z_IS_1570_EQ_1570(...) \,
#define Z_IS_1571_EQ_1571(...) \,
#define Z_IS_1572_EQ_1572(...) \,
#define Z_IS_1573_EQ_1573(...) \,
#define Z_IS_1574_EQ_1574(...) \,
#define Z_IS_1575_EQ_1575(...) \,
#define Z_IS_1576_EQ_1576(...) \,
#define Z_IS_1577_EQ_1577(...) \,
#define Z_IS_1578_EQ_1578(...) \,
#define Z_IS_1579_EQ_1579(...) \,
#define Z_IS_1580_EQ_1580(...) \,
#define Z_IS_1581_EQ_1581(...) \,
#define Z_IS_1582_EQ_1582(...) \,
#define Z_IS_1583_EQ_1583(...) \,
#define Z_IS_1584_EQ_1584(...) \,
#define Z_IS_1585_EQ_1585(...) \,
#define Z_IS_1586_EQ_1586(...) \,
#define Z_IS_1587_EQ_1587(...) \,
#define Z_IS_1588_EQ_1588(...) \,
#define Z_IS_1589_EQ_1589(...) \,
#define Z_IS_1590_EQ_1590(...) \,
#define Z_IS_1591_EQ_1591(...) \,
#define Z_IS_1592_EQ_1592(...) \,
#define Z_IS_1593_EQ_1593(...) \,
#define Z_IS_1594_EQ_1594(...) \,
#define Z_IS_1595_EQ_1595(...) \,
#define Z_IS_1596_EQ_1596(...) \,
#define Z_IS_1597_EQ_1597(...) \,
#define Z_IS_1598_EQ_1598(...) \,
#define Z_IS_1599_EQ_1599(...) \,
#define Z_IS_1600_EQ_1600(...) \,
#define Z_IS_1601_EQ_1601(...) \,
#define Z_IS_1602_EQ_1602(...) \,
#define Z_IS_1603_EQ_1603(...) \,
#define Z_IS_1604_EQ_1604(...) \,
#define Z_IS_1605_EQ_1605(...) \,
#define Z_IS_1606_EQ_1606(...) \,
#define Z_IS_1607_EQ_1607(...) \,
#define Z_IS_1608_EQ_1608(...) \,
#define Z_IS_1609_EQ_1609(...) \,
#define Z_IS_1610_EQ_1610(...) \,
#define Z_IS_1611_EQ_1611(...) \,
#define Z_IS_1612_EQ_1612(...) \,
#define Z_IS_1613_EQ_1613(...) \,
#define Z_IS_1614_EQ_1614(...) \,
#define Z_IS_1615_EQ_1615(...) \,
#define Z_IS_1616_EQ_1616(...) \,
#define Z_IS_1617_EQ_1617(...) \,
#define Z_IS_1618_EQ_1618(...) \,
#define Z_IS_1619_EQ_1619(...) \,
#define Z_IS_1620_EQ_1620(...) \,
#define Z_IS_1621_EQ_1621(...) \,
#define Z_IS_1622_EQ_1622(...) \,
#define Z_IS_1623_EQ_1623(...) \,
#define Z_IS_1624_EQ_1624(...) \,
#define Z_IS_1625_EQ_1625(...) \,
#define Z_IS_1626_EQ_1626(...) \,
#define Z_IS_1627_EQ_1627(...) \,
#define Z_IS_1628_EQ_1628(...) \,
#define Z_IS_1629_EQ_1629(...) \,
#define Z_IS_1630_EQ_1630(...) \,
#define Z_IS_1631_EQ_1631(...) \,
#define Z_IS_1632_EQ_1632(...) \,
#define Z_IS_1633_EQ_1633(...) \,
#define Z_IS_1634_EQ_1634(...) \,
#define Z_IS_1635_EQ_1635(...) \,
#define Z_IS_1636_EQ_1636(...) \,
#define Z_IS_1637_EQ_1637(...) \,
#define Z_IS_1638_EQ_1638(...) \,
#define Z_IS_1639_EQ_1639(...) \,
#define Z_IS_1640_EQ_1640(...) \,
#define Z_IS_1641_EQ_1641(...) \,
#define Z_IS_1642_EQ_1642(...) \,
#define Z_IS_1643_EQ_1643(...) \,
#define Z_IS_1644_EQ_1644(...) \,
#define Z_IS_1645_EQ_1645(...) \,
#define Z_IS_1646_EQ_1646(...) \,
#define Z_IS_1647_EQ_1647(...) \,
#define Z_IS_1648_EQ_1648(...) \,
#define Z_IS_1649_EQ_1649(...) \,
#define Z_IS_1650_EQ_1650(...) \,
#define Z_IS_1651_EQ_1651(...) \,
#define Z_IS_1652_EQ_1652(...) \,
#define Z_IS_1653_EQ_1653(...) \,
#define Z_IS_1654_EQ_1654(...) \,
#define Z_IS_1655_EQ_1655(...) \,
#define Z_IS_1656_EQ_1656(...) \,
#define Z_IS_1657_EQ_1657(...) \,
#define Z_IS_1658_EQ_1658(...) \,
#define Z_IS_1659_EQ_1659(...) \,
#define Z_IS_1660_EQ_1660(...) \,
#define Z_IS_1661_EQ_1661(...) \,
#define Z_IS_1662_EQ_1662(...) \,
#define Z_IS_1663_EQ_1663(...) \,
#define Z_IS_1664_EQ_1664(...) \,
#define Z_IS_1665_EQ_1665(...) \,
#define Z_IS_1666_EQ_1666(...) \,
#define Z_IS_1667_EQ_1667(...) \,
#define Z_IS_1668_EQ_1668(...) \,
#define Z_IS_1669_EQ_1669(...) \,
#define Z_IS_1670_EQ_1670(...) \,
#define Z_IS_1671_EQ_1671(...) \,
#define Z_IS_1672_EQ_1672(...) \,
#define Z_IS_1673_EQ_1673(...) \,
#define Z_IS_1674_EQ_1674(...) \,
#define Z_IS_1675_EQ_1675(...) \,
#define Z_IS_1676_EQ_1676(...) \,
#define Z_IS_1677_EQ_1677(...) \,
#define Z_IS_1678_EQ_1678(...) \,
#define Z_IS_1679_EQ_1679(...) \,
#define Z_IS_1680_EQ_1680(...) \,
#define Z_IS_1681_EQ_1681(...) \,
#define Z_IS_1682_EQ_1682(...) \,
#define Z_IS_1683_EQ_1683(...) \,
#define Z_IS_1684_EQ_1684(...) \,
#define Z_IS_1685_EQ_1685(...) \,
#define Z_IS_1686_EQ_1686(...) \,
#define Z_IS_1687_EQ_1687(...) \,
#define Z_IS_1688_EQ_1688(...) \,
#define Z_IS_1689_EQ_1689(...) \,
#define Z_IS_1690_EQ_1690(...) \,
#define Z_IS_1691_EQ_1691(...) \,
#define Z_IS_1692_EQ_1692(...) \,
#define Z_IS_1693_EQ_1693(...) \,
#define Z_IS_1694_EQ_1694(...) \,
#define Z_IS_1695_EQ_1695(...) \,
#define Z_IS_1696_EQ_1696(...) \,
#define Z_IS_1697_EQ_1697(...) \,
#define Z_IS_1698_EQ_1698(...) \,
#define Z_IS_1699_EQ_1699(...) \,
#define Z_IS_1700_EQ_1700(...) \,
#define Z_IS_1701_EQ_1701(...) \,
#define Z_IS_1702_EQ_1702(...) \,
#define Z_IS_1703_EQ_1703(...) \,
#define Z_IS_1704_EQ_1704(...) \,
#define Z_IS_1705_EQ_1705(...) \,
#define Z_IS_1706_EQ_1706(...) \,
#define Z_IS_1707_EQ_1707(...) \,
#define Z_IS_1708_EQ_1708(...) \,
#define Z_IS_1709_EQ_1709(...) \,
#define Z_IS_1710_EQ_1710(...) \,
#define Z_IS_1711_EQ_1711(...) \,
#define Z_IS_1712_EQ_1712(...) \,
#define Z_IS_1713_EQ_1713(...) \,
#define Z_IS_1714_EQ_1714(...) \,
#define Z_IS_1715_EQ_1715(...) \,
#define Z_IS_1716_EQ_1716(...) \,
#define Z_IS_1717_EQ_1717(...) \,
#define Z_IS_1718_EQ_1718(...) \,
#define Z_IS_1719_EQ_1719(...) \,
#define Z_IS_1720_EQ_1720(...) \,
#define Z_IS_1721_EQ_1721(...) \,
#define Z_IS_1722_EQ_1722(...) \,
#define Z_IS_1723_EQ_1723(...) \,
#define Z_IS_1724_EQ_1724(...) \,
#define Z_IS_1725_EQ_1725(...) \,
#define Z_IS_1726_EQ_1726(...) \,
#define Z_IS_1727_EQ_1727(...) \,
#define Z_IS_1728_EQ_1728(...) \,
#define Z_IS_1729_EQ_1729(...) \,
#define Z_IS_1730_EQ_1730(...) \,
#define Z_IS_1731_EQ_1731(...) \,
#define Z_IS_1732_EQ_1732(...) \,
#define Z_IS_1733_EQ_1733(...) \,
#define Z_IS_1734_EQ_1734(...) \,
#define Z_IS_1735_EQ_1735(...) \,
#define Z_IS_1736_EQ_1736(...) \,
#define Z_IS_1737_EQ_1737(...) \,
#define Z_IS_1738_EQ_1738(...) \,
#define Z_IS_1739_EQ_1739(...) \,
#define Z_IS_1740_EQ_1740(...) \,
#define Z_IS_1741_EQ_1741(...) \,
#define Z_IS_1742_EQ_1742(...) \,
#define Z_IS_1743_EQ_1743(...) \,
#define Z_IS_1744_EQ_1744(...) \,
#define Z_IS_1745_EQ_1745(...) \,
#define Z_IS_1746_EQ_1746(...) \,
#define Z_IS_1747_EQ_1747(...) \,
#define Z_IS_1748_EQ_1748(...) \,
#define Z_IS_1749_EQ_1749(...) \,
#define Z_IS_1750_EQ_1750(...) \,
#define Z_IS_1751_EQ_1751(...) \,
#define Z_IS_1752_EQ_1752(...) \,
#define Z_IS_1753_EQ_1753(...) \,
#define Z_IS_1754_EQ_1754(...) \,
#define Z_IS_1755_EQ_1755(...) \,
#define Z_IS_1756_EQ_1756(...) \,
#define Z_IS_1757_EQ_1757(...) \,
#define Z_IS_1758_EQ_1758(...) \,
#define Z_IS_1759_EQ_1759(...) \,
#define Z_IS_1760_EQ_1760(...) \,
#define Z_IS_1761_EQ_1761(...) \,
#define Z_IS_1762_EQ_1762(...) \,
#define Z_IS_1763_EQ_1763(...) \,
#define Z_IS_1764_EQ_1764(...) \,
#define Z_IS_1765_EQ_1765(...) \,
#define Z_IS_1766_EQ_1766(...) \,
#define Z_IS_1767_EQ_1767(...) \,
#define Z_IS_1768_EQ_1768(...) \,
#define Z_IS_1769_EQ_1769(...) \,
#define Z_IS_1770_EQ_1770(...) \,
#define Z_IS_1771_EQ_1771(...) \,
#define Z_IS_1772_EQ_1772(...) \,
#define Z_IS_1773_EQ_1773(...) \,
#define Z_IS_1774_EQ_1774(...) \,
#define Z_IS_1775_EQ_1775(...) \,
#define Z_IS_1776_EQ_1776(...) \,
#define Z_IS_1777_EQ_1777(...) \,
#define Z_IS_1778_EQ_1778(...) \,
#define Z_IS_1779_EQ_1779(...) \,
#define Z_IS_1780_EQ_1780(...) \,
#define Z_IS_1781_EQ_1781(...) \,
#define Z_IS_1782_EQ_1782(...) \,
#define Z_IS_1783_EQ_1783(...) \,
#define Z_IS_1784_EQ_1784(...) \,
#define Z_IS_1785_EQ_1785(...) \,
#define Z_IS_1786_EQ_1786(...) \,
#define Z_IS_1787_EQ_1787(...) \,
#define Z_IS_1788_EQ_1788(...) \,
#define Z_IS_1789_EQ_1789(...) \,
#define Z_IS_1790_EQ_1790(...) \,
#define Z_IS_1791_EQ_1791(...) \,
#define Z_IS_1792_EQ_1792(...) \,
#define Z_IS_1793_EQ_1793(...) \,
#define Z_IS_1794_EQ_1794(...) \,
#define Z_IS_1795_EQ_1795(...) \,
#define Z_IS_1796_EQ_1796(...) \,
#define Z_IS_1797_EQ_1797(...) \,
#define Z_IS_1798_EQ_1798(...) \,
#define Z_IS_1799_EQ_1799(...) \,
#define Z_IS_1800_EQ_1800(...) \,
#define Z_IS_1801_EQ_1801(...) \,
#define Z_IS_1802_EQ_1802(...) \,
#define Z_IS_1803_EQ_1803(...) \,
#define Z_IS_1804_EQ_1804(...) \,
#define Z_IS_1805_EQ_1805(...) \,
#define Z_IS_1806_EQ_1806(...) \,
#define Z_IS_1807_EQ_1807(...) \,
#define Z_IS_1808_EQ_1808(...) \,
#define Z_IS_1809_EQ_1809(...) \,
#define Z_IS_1810_EQ_1810(...) \,
#define Z_IS_1811_EQ_1811(...) \,
#define Z_IS_1812_EQ_1812(...) \,
#define Z_IS_1813_EQ_1813(...) \,
#define Z_IS_1814_EQ_1814(...) \,
#define Z_IS_1815_EQ_1815(...) \,
#define Z_IS_1816_EQ_1816(...) \,
#define Z_IS_1817_EQ_1817(...) \,
#define Z_IS_1818_EQ_1818(...) \,
#define Z_IS_1819_EQ_1819(...) \,
#define Z_IS_1820_EQ_1820(...) \,
#define Z_IS_1821_EQ_1821(...) \,
#define Z_IS_1822_EQ_1822(...) \,
#define Z_IS_1823_EQ_1823(...) \,
#define Z_IS_1824_EQ_1824(...) \,
#define Z_IS_1825_EQ_1825(...) \,
#define Z_IS_1826_EQ_1826(...) \,
#define Z_IS_1827_EQ_1827(...) \,
#define Z_IS_1828_EQ_1828(...) \,
#define Z_IS_1829_EQ_1829(...) \,
#define Z_IS_1830_EQ_1830(...) \,
#define Z_IS_1831_EQ_1831(...) \,
#define Z_IS_1832_EQ_1832(...) \,
#define Z_IS_1833_EQ_1833(...) \,
#define Z_IS_1834_EQ_1834(...) \,
#define Z_IS_1835_EQ_1835(...) \,
#define Z_IS_1836_EQ_1836(...) \,
#define Z_IS_1837_EQ_1837(...) \,
#define Z_IS_1838_EQ_1838(...) \,
#define Z_IS_1839_EQ_1839(...) \,
#define Z_IS_1840_EQ_1840(...) \,
#define Z_IS_1841_EQ_1841(...) \,
#define Z_IS_1842_EQ_1842(...) \,
#define Z_IS_1843_EQ_1843(...) \,
#define Z_IS_1844_EQ_1844(...) \,
#define Z_IS_1845_EQ_1845(...) \,
#define Z_IS_1846_EQ_1846(...) \,
#define Z_IS_1847_EQ_1847(...) \,
#define Z_IS_1848_EQ_1848(...) \,
#define Z_IS_1849_EQ_1849(...) \,
#define Z_IS_1850_EQ_1850(...) \,
#define Z_IS_1851_EQ_1851(...) \,
#define Z_IS_1852_EQ_1852(...) \,
#define Z_IS_1853_EQ_1853(...) \,
#define Z_IS_1854_EQ_1854(...) \,
#define Z_IS_1855_EQ_1855(...) \,
#define Z_IS_1856_EQ_1856(...) \,
#define Z_IS_1857_EQ_1857(...) \,
#define Z_IS_1858_EQ_1858(...) \,
#define Z_IS_1859_EQ_1859(...) \,
#define Z_IS_1860_EQ_1860(...) \,
#define Z_IS_1861_EQ_1861(...) \,
#define Z_IS_1862_EQ_1862(...) \,
#define Z_IS_1863_EQ_1863(...) \,
#define Z_IS_1864_EQ_1864(...) \,
#define Z_IS_1865_EQ_1865(...) \,
#define Z_IS_1866_EQ_1866(...) \,
#define Z_IS_1867_EQ_1867(...) \,
#define Z_IS_1868_EQ_1868(...) \,
#define Z_IS_1869_EQ_1869(...) \,
#define Z_IS_1870_EQ_1870(...) \,
#define Z_IS_1871_EQ_1871(...) \,
#define Z_IS_1872_EQ_1872(...) \,
#define Z_IS_1873_EQ_1873(...) \,
#define Z_IS_1874_EQ_1874(...) \,
#define Z_IS_1875_EQ_1875(...) \,
#define Z_IS_1876_EQ_1876(...) \,
#define Z_IS_1877_EQ_1877(...) \,
#define Z_IS_1878_EQ_1878(...) \,
#define Z_IS_1879_EQ_1879(...) \,
#define Z_IS_1880_EQ_1880(...) \,
#define Z_IS_1881_EQ_1881(...) \,
#define Z_IS_1882_EQ_1882(...) \,
#define Z_IS_1883_EQ_1883(...) \,
#define Z_IS_1884_EQ_1884(...) \,
#define Z_IS_1885_EQ_1885(...) \,
#define Z_IS_1886_EQ_1886(...) \,
#define Z_IS_1887_EQ_1887(...) \,
#define Z_IS_1888_EQ_1888(...) \,
#define Z_IS_1889_EQ_1889(...) \,
#define Z_IS_1890_EQ_1890(...) \,
#define Z_IS_1891_EQ_1891(...) \,
#define Z_IS_1892_EQ_1892(...) \,
#define Z_IS_1893_EQ_1893(...) \,
#define Z_IS_1894_EQ_1894(...) \,
#define Z_IS_1895_EQ_1895(...) \,
#define Z_IS_1896_EQ_1896(...) \,
#define Z_IS_1897_EQ_1897(...) \,
#define Z_IS_1898_EQ_1898(...) \,
#define Z_IS_1899_EQ_1899(...) \,
#define Z_IS_1900_EQ_1900(...) \,
#define Z_IS_1901_EQ_1901(...) \,
#define Z_IS_1902_EQ_1902(...) \,
#define Z_IS_1903_EQ_1903(...) \,
#define Z_IS_1904_EQ_1904(...) \,
#define Z_IS_1905_EQ_1905(...) \,
#define Z_IS_1906_EQ_1906(...) \,
#define Z_IS_1907_EQ_1907(...) \,
#define Z_IS_1908_EQ_1908(...) \,
#define Z_IS_1909_EQ_1909(...) \,
#define Z_IS_1910_EQ_1910(...) \,
#define Z_IS_1911_EQ_1911(...) \,
#define Z_IS_1912_EQ_1912(...) \,
#define Z_IS_1913_EQ_1913(...) \,
#define Z_IS_1914_EQ_1914(...) \,
#define Z_IS_1915_EQ_1915(...) \,
#define Z_IS_1916_EQ_1916(...) \,
#define Z_IS_1917_EQ_1917(...) \,
#define Z_IS_1918_EQ_1918(...) \,
#define Z_IS_1919_EQ_1919(...) \,
#define Z_IS_1920_EQ_1920(...) \,
#define Z_IS_1921_EQ_1921(...) \,
#define Z_IS_1922_EQ_1922(...) \,
#define Z_IS_1923_EQ_1923(...) \,
#define Z_IS_1924_EQ_1924(...) \,
#define Z_IS_1925_EQ_1925(...) \,
#define Z_IS_1926_EQ_1926(...) \,
#define Z_IS_1927_EQ_1927(...) \,
#define Z_IS_1928_EQ_1928(...) \,
#define Z_IS_1929_EQ_1929(...) \,
#define Z_IS_1930_EQ_1930(...) \,
#define Z_IS_1931_EQ_1931(...) \,
#define Z_IS_1932_EQ_1932(...) \,
#define Z_IS_1933_EQ_1933(...) \,
#define Z_IS_1934_EQ_1934(...) \,
#define Z_IS_1935_EQ_1935(...) \,
#define Z_IS_1936_EQ_1936(...) \,
#define Z_IS_1937_EQ_1937(...) \,
#define Z_IS_1938_EQ_1938(...) \,
#define Z_IS_1939_EQ_1939(...) \,
#define Z_IS_1940_EQ_1940(...) \,
#define Z_IS_1941_EQ_1941(...) \,
#define Z_IS_1942_EQ_1942(...) \,
#define Z_IS_1943_EQ_1943(...) \,
#define Z_IS_1944_EQ_1944(...) \,
#define Z_IS_1945_EQ_1945(...) \,
#define Z_IS_1946_EQ_1946(...) \,
#define Z_IS_1947_EQ_1947(...) \,
#define Z_IS_1948_EQ_1948(...) \,
#define Z_IS_1949_EQ_1949(...) \,
#define Z_IS_1950_EQ_1950(...) \,
#define Z_IS_1951_EQ_1951(...) \,
#define Z_IS_1952_EQ_1952(...) \,
#define Z_IS_1953_EQ_1953(...) \,
#define Z_IS_1954_EQ_1954(...) \,
#define Z_IS_1955_EQ_1955(...) \,
#define Z_IS_1956_EQ_1956(...) \,
#define Z_IS_1957_EQ_1957(...) \,
#define Z_IS_1958_EQ_1958(...) \,
#define Z_IS_1959_EQ_1959(...) \,
#define Z_IS_1960_EQ_1960(...) \,
#define Z_IS_1961_EQ_1961(...) \,
#define Z_IS_1962_EQ_1962(...) \,
#define Z_IS_1963_EQ_1963(...) \,
#define Z_IS_1964_EQ_1964(...) \,
#define Z_IS_1965_EQ_1965(...) \,
#define Z_IS_1966_EQ_1966(...) \,
#define Z_IS_1967_EQ_1967(...) \,
#define Z_IS_1968_EQ_1968(...) \,
#define Z_IS_1969_EQ_1969(...) \,
#define Z_IS_1970_EQ_1970(...) \,
#define Z_IS_1971_EQ_1971(...) \,
#define Z_IS_1972_EQ_1972(...) \,
#define Z_IS_1973_EQ_1973(...) \,
#define Z_IS_1974_EQ_1974(...) \,
#define Z_IS_1975_EQ_1975(...) \,
#define Z_IS_1976_EQ_1976(...) \,
#define Z_IS_1977_EQ_1977(...) \,
#define Z_IS_1978_EQ_1978(...) \,
#define Z_IS_1979_EQ_1979(...) \,
#define Z_IS_1980_EQ_1980(...) \,
#define Z_IS_1981_EQ_1981(...) \,
#define Z_IS_1982_EQ_1982(...) \,
#define Z_IS_1983_EQ_1983(...) \,
#define Z_IS_1984_EQ_1984(...) \,
#define Z_IS_1985_EQ_1985(...) \,
#define Z_IS_1986_EQ_1986(...) \,
#define Z_IS_1987_EQ_1987(...) \,
#define Z_IS_1988_EQ_1988(...) \,
#define Z_IS_1989_EQ_1989(...) \,
#define Z_IS_1990_EQ_1990(...) \,
#define Z_IS_1991_EQ_1991(...) \,
#define Z_IS_1992_EQ_1992(...) \,
#define Z_IS_1993_EQ_1993(...) \,
#define Z_IS_1994_EQ_1994(...) \,
#define Z_IS_1995_EQ_1995(...) \,
#define Z_IS_1996_EQ_1996(...) \,
#define Z_IS_1997_EQ_1997(...) \,
#define Z_IS_1998_EQ_1998(...) \,
#define Z_IS_1999_EQ_1999(...) \,
#define Z_IS_2000_EQ_2000(...) \,
#define Z_IS_2001_EQ_2001(...) \,
#define Z_IS_2002_EQ_2002(...) \,
#define Z_IS_2003_EQ_2003(...) \,
#define Z_IS_2004_EQ_2004(...) \,
#define Z_IS_2005_EQ_2005(...) \,
#define Z_IS_2006_EQ_2006(...) \,
#define Z_IS_2007_EQ_2007(...) \,
#define Z_IS_2008_EQ_2008(...) \,
#define Z_IS_2009_EQ_2009(...) \,
#define Z_IS_2010_EQ_2010(...) \,
#define Z_IS_2011_EQ_2011(...) \,
#define Z_IS_2012_EQ_2012(...) \,
#define Z_IS_2013_EQ_2013(...) \,
#define Z_IS_2014_EQ_2014(...) \,
#define Z_IS_2015_EQ_2015(...) \,
#define Z_IS_2016_EQ_2016(...) \,
#define Z_IS_2017_EQ_2017(...) \,
#define Z_IS_2018_EQ_2018(...) \,
#define Z_IS_2019_EQ_2019(...) \,
#define Z_IS_2020_EQ_2020(...) \,
#define Z_IS_2021_EQ_2021(...) \,
#define Z_IS_2022_EQ_2022(...) \,
#define Z_IS_2023_EQ_2023(...) \,
#define Z_IS_2024_EQ_2024(...) \,
#define Z_IS_2025_EQ_2025(...) \,
#define Z_IS_2026_EQ_2026(...) \,
#define Z_IS_2027_EQ_2027(...) \,
#define Z_IS_2028_EQ_2028(...) \,
#define Z_IS_2029_EQ_2029(...) \,
#define Z_IS_2030_EQ_2030(...) \,
#define Z_IS_2031_EQ_2031(...) \,
#define Z_IS_2032_EQ_2032(...) \,
#define Z_IS_2033_EQ_2033(...) \,
#define Z_IS_2034_EQ_2034(...) \,
#define Z_IS_2035_EQ_2035(...) \,
#define Z_IS_2036_EQ_2036(...) \,
#define Z_IS_2037_EQ_2037(...) \,
#define Z_IS_2038_EQ_2038(...) \,
#define Z_IS_2039_EQ_2039(...) \,
#define Z_IS_2040_EQ_2040(...) \,
#define Z_IS_2041_EQ_2041(...) \,
#define Z_IS_2042_EQ_2042(...) \,
#define Z_IS_2043_EQ_2043(...) \,
#define Z_IS_2044_EQ_2044(...) \,
#define Z_IS_2045_EQ_2045(...) \,
#define Z_IS_2046_EQ_2046(...) \,
#define Z_IS_2047_EQ_2047(...) \,
#define Z_IS_2048_EQ_2048(...) \,
#define Z_IS_2049_EQ_2049(...) \,
#define Z_IS_2050_EQ_2050(...) \,
#define Z_IS_2051_EQ_2051(...) \,
#define Z_IS_2052_EQ_2052(...) \,
#define Z_IS_2053_EQ_2053(...) \,
#define Z_IS_2054_EQ_2054(...) \,
#define Z_IS_2055_EQ_2055(...) \,
#define Z_IS_2056_EQ_2056(...) \,
#define Z_IS_2057_EQ_2057(...) \,
#define Z_IS_2058_EQ_2058(...) \,
#define Z_IS_2059_EQ_2059(...) \,
#define Z_IS_2060_EQ_2060(...) \,
#define Z_IS_2061_EQ_2061(...) \,
#define Z_IS_2062_EQ_2062(...) \,
#define Z_IS_2063_EQ_2063(...) \,
#define Z_IS_2064_EQ_2064(...) \,
#define Z_IS_2065_EQ_2065(...) \,
#define Z_IS_2066_EQ_2066(...) \,
#define Z_IS_2067_EQ_2067(...) \,
#define Z_IS_2068_EQ_2068(...) \,
#define Z_IS_2069_EQ_2069(...) \,
#define Z_IS_2070_EQ_2070(...) \,
#define Z_IS_2071_EQ_2071(...) \,
#define Z_IS_2072_EQ_2072(...) \,
#define Z_IS_2073_EQ_2073(...) \,
#define Z_IS_2074_EQ_2074(...) \,
#define Z_IS_2075_EQ_2075(...) \,
#define Z_IS_2076_EQ_2076(...) \,
#define Z_IS_2077_EQ_2077(...) \,
#define Z_IS_2078_EQ_2078(...) \,
#define Z_IS_2079_EQ_2079(...) \,
#define Z_IS_2080_EQ_2080(...) \,
#define Z_IS_2081_EQ_2081(...) \,
#define Z_IS_2082_EQ_2082(...) \,
#define Z_IS_2083_EQ_2083(...) \,
#define Z_IS_2084_EQ_2084(...) \,
#define Z_IS_2085_EQ_2085(...) \,
#define Z_IS_2086_EQ_2086(...) \,
#define Z_IS_2087_EQ_2087(...) \,
#define Z_IS_2088_EQ_2088(...) \,
#define Z_IS_2089_EQ_2089(...) \,
#define Z_IS_2090_EQ_2090(...) \,
#define Z_IS_2091_EQ_2091(...) \,
#define Z_IS_2092_EQ_2092(...) \,
#define Z_IS_2093_EQ_2093(...) \,
#define Z_IS_2094_EQ_2094(...) \,
#define Z_IS_2095_EQ_2095(...) \,
#define Z_IS_2096_EQ_2096(...) \,
#define Z_IS_2097_EQ_2097(...) \,
#define Z_IS_2098_EQ_2098(...) \,
#define Z_IS_2099_EQ_2099(...) \,
#define Z_IS_2100_EQ_2100(...) \,
#define Z_IS_2101_EQ_2101(...) \,
#define Z_IS_2102_EQ_2102(...) \,
#define Z_IS_2103_EQ_2103(...) \,
#define Z_IS_2104_EQ_2104(...) \,
#define Z_IS_2105_EQ_2105(...) \,
#define Z_IS_2106_EQ_2106(...) \,
#define Z_IS_2107_EQ_2107(...) \,
#define Z_IS_2108_EQ_2108(...) \,
#define Z_IS_2109_EQ_2109(...) \,
#define Z_IS_2110_EQ_2110(...) \,
#define Z_IS_2111_EQ_2111(...) \,
#define Z_IS_2112_EQ_2112(...) \,
#define Z_IS_2113_EQ_2113(...) \,
#define Z_IS_2114_EQ_2114(...) \,
#define Z_IS_2115_EQ_2115(...) \,
#define Z_IS_2116_EQ_2116(...) \,
#define Z_IS_2117_EQ_2117(...) \,
#define Z_IS_2118_EQ_2118(...) \,
#define Z_IS_2119_EQ_2119(...) \,
#define Z_IS_2120_EQ_2120(...) \,
#define Z_IS_2121_EQ_2121(...) \,
#define Z_IS_2122_EQ_2122(...) \,
#define Z_IS_2123_EQ_2123(...) \,
#define Z_IS_2124_EQ_2124(...) \,
#define Z_IS_2125_EQ_2125(...) \,
#define Z_IS_2126_EQ_2126(...) \,
#define Z_IS_2127_EQ_2127(...) \,
#define Z_IS_2128_EQ_2128(...) \,
#define Z_IS_2129_EQ_2129(...) \,
#define Z_IS_2130_EQ_2130(...) \,
#define Z_IS_2131_EQ_2131(...) \,
#define Z_IS_2132_EQ_2132(...) \,
#define Z_IS_2133_EQ_2133(...) \,
#define Z_IS_2134_EQ_2134(...) \,
#define Z_IS_2135_EQ_2135(...) \,
#define Z_IS_2136_EQ_2136(...) \,
#define Z_IS_2137_EQ_2137(...) \,
#define Z_IS_2138_EQ_2138(...) \,
#define Z_IS_2139_EQ_2139(...) \,
#define Z_IS_2140_EQ_2140(...) \,
#define Z_IS_2141_EQ_2141(...) \,
#define Z_IS_2142_EQ_2142(...) \,
#define Z_IS_2143_EQ_2143(...) \,
#define Z_IS_2144_EQ_2144(...) \,
#define Z_IS_2145_EQ_2145(...) \,
#define Z_IS_2146_EQ_2146(...) \,
#define Z_IS_2147_EQ_2147(...) \,
#define Z_IS_2148_EQ_2148(...) \,
#define Z_IS_2149_EQ_2149(...) \,
#define Z_IS_2150_EQ_2150(...) \,
#define Z_IS_2151_EQ_2151(...) \,
#define Z_IS_2152_EQ_2152(...) \,
#define Z_IS_2153_EQ_2153(...) \,
#define Z_IS_2154_EQ_2154(...) \,
#define Z_IS_2155_EQ_2155(...) \,
#define Z_IS_2156_EQ_2156(...) \,
#define Z_IS_2157_EQ_2157(...) \,
#define Z_IS_2158_EQ_2158(...) \,
#define Z_IS_2159_EQ_2159(...) \,
#define Z_IS_2160_EQ_2160(...) \,
#define Z_IS_2161_EQ_2161(...) \,
#define Z_IS_2162_EQ_2162(...) \,
#define Z_IS_2163_EQ_2163(...) \,
#define Z_IS_2164_EQ_2164(...) \,
#define Z_IS_2165_EQ_2165(...) \,
#define Z_IS_2166_EQ_2166(...) \,
#define Z_IS_2167_EQ_2167(...) \,
#define Z_IS_2168_EQ_2168(...) \,
#define Z_IS_2169_EQ_2169(...) \,
#define Z_IS_2170_EQ_2170(...) \,
#define Z_IS_2171_EQ_2171(...) \,
#define Z_IS_2172_EQ_2172(...) \,
#define Z_IS_2173_EQ_2173(...) \,
#define Z_IS_2174_EQ_2174(...) \,
#define Z_IS_2175_EQ_2175(...) \,
#define Z_IS_2176_EQ_2176(...) \,
#define Z_IS_2177_EQ_2177(...) \,
#define Z_IS_2178_EQ_2178(...) \,
#define Z_IS_2179_EQ_2179(...) \,
#define Z_IS_2180_EQ_2180(...) \,
#define Z_IS_2181_EQ_2181(...) \,
#define Z_IS_2182_EQ_2182(...) \,
#define Z_IS_2183_EQ_2183(...) \,
#define Z_IS_2184_EQ_2184(...) \,
#define Z_IS_2185_EQ_2185(...) \,
#define Z_IS_2186_EQ_2186(...) \,
#define Z_IS_2187_EQ_2187(...) \,
#define Z_IS_2188_EQ_2188(...) \,
#define Z_IS_2189_EQ_2189(...) \,
#define Z_IS_2190_EQ_2190(...) \,
#define Z_IS_2191_EQ_2191(...) \,
#define Z_IS_2192_EQ_2192(...) \,
#define Z_IS_2193_EQ_2193(...) \,
#define Z_IS_2194_EQ_2194(...) \,
#define Z_IS_2195_EQ_2195(...) \,
#define Z_IS_2196_EQ_2196(...) \,
#define Z_IS_2197_EQ_2197(...) \,
#define Z_IS_2198_EQ_2198(...) \,
#define Z_IS_2199_EQ_2199(...) \,
#define Z_IS_2200_EQ_2200(...) \,
#define Z_IS_2201_EQ_2201(...) \,
#define Z_IS_2202_EQ_2202(...) \,
#define Z_IS_2203_EQ_2203(...) \,
#define Z_IS_2204_EQ_2204(...) \,
#define Z_IS_2205_EQ_2205(...) \,
#define Z_IS_2206_EQ_2206(...) \,
#define Z_IS_2207_EQ_2207(...) \,
#define Z_IS_2208_EQ_2208(...) \,
#define Z_IS_2209_EQ_2209(...) \,
#define Z_IS_2210_EQ_2210(...) \,
#define Z_IS_2211_EQ_2211(...) \,
#define Z_IS_2212_EQ_2212(...) \,
#define Z_IS_2213_EQ_2213(...) \,
#define Z_IS_2214_EQ_2214(...) \,
#define Z_IS_2215_EQ_2215(...) \,
#define Z_IS_2216_EQ_2216(...) \,
#define Z_IS_2217_EQ_2217(...) \,
#define Z_IS_2218_EQ_2218(...) \,
#define Z_IS_2219_EQ_2219(...) \,
#define Z_IS_2220_EQ_2220(...) \,
#define Z_IS_2221_EQ_2221(...) \,
#define Z_IS_2222_EQ_2222(...) \,
#define Z_IS_2223_EQ_2223(...) \,
#define Z_IS_2224_EQ_2224(...) \,
#define Z_IS_2225_EQ_2225(...) \,
#define Z_IS_2226_EQ_2226(...) \,
#define Z_IS_2227_EQ_2227(...) \,
#define Z_IS_2228_EQ_2228(...) \,
#define Z_IS_2229_EQ_2229(...) \,
#define Z_IS_2230_EQ_2230(...) \,
#define Z_IS_2231_EQ_2231(...) \,
#define Z_IS_2232_EQ_2232(...) \,
#define Z_IS_2233_EQ_2233(...) \,
#define Z_IS_2234_EQ_2234(...) \,
#define Z_IS_2235_EQ_2235(...) \,
#define Z_IS_2236_EQ_2236(...) \,
#define Z_IS_2237_EQ_2237(...) \,
#define Z_IS_2238_EQ_2238(...) \,
#define Z_IS_2239_EQ_2239(...) \,
#define Z_IS_2240_EQ_2240(...) \,
#define Z_IS_2241_EQ_2241(...) \,
#define Z_IS_2242_EQ_2242(...) \,
#define Z_IS_2243_EQ_2243(...) \,
#define Z_IS_2244_EQ_2244(...) \,
#define Z_IS_2245_EQ_2245(...) \,
#define Z_IS_2246_EQ_2246(...) \,
#define Z_IS_2247_EQ_2247(...) \,
#define Z_IS_2248_EQ_2248(...) \,
#define Z_IS_2249_EQ_2249(...) \,
#define Z_IS_2250_EQ_2250(...) \,
#define Z_IS_2251_EQ_2251(...) \,
#define Z_IS_2252_EQ_2252(...) \,
#define Z_IS_2253_EQ_2253(...) \,
#define Z_IS_2254_EQ_2254(...) \,
#define Z_IS_2255_EQ_2255(...) \,
#define Z_IS_2256_EQ_2256(...) \,
#define Z_IS_2257_EQ_2257(...) \,
#define Z_IS_2258_EQ_2258(...) \,
#define Z_IS_2259_EQ_2259(...) \,
#define Z_IS_2260_EQ_2260(...) \,
#define Z_IS_2261_EQ_2261(...) \,
#define Z_IS_2262_EQ_2262(...) \,
#define Z_IS_2263_EQ_2263(...) \,
#define Z_IS_2264_EQ_2264(...) \,
#define Z_IS_2265_EQ_2265(...) \,
#define Z_IS_2266_EQ_2266(...) \,
#define Z_IS_2267_EQ_2267(...) \,
#define Z_IS_2268_EQ_2268(...) \,
#define Z_IS_2269_EQ_2269(...) \,
#define Z_IS_2270_EQ_2270(...) \,
#define Z_IS_2271_EQ_2271(...) \,
#define Z_IS_2272_EQ_2272(...) \,
#define Z_IS_2273_EQ_2273(...) \,
#define Z_IS_2274_EQ_2274(...) \,
#define Z_IS_2275_EQ_2275(...) \,
#define Z_IS_2276_EQ_2276(...) \,
#define Z_IS_2277_EQ_2277(...) \,
#define Z_IS_2278_EQ_2278(...) \,
#define Z_IS_2279_EQ_2279(...) \,
#define Z_IS_2280_EQ_2280(...) \,
#define Z_IS_2281_EQ_2281(...) \,
#define Z_IS_2282_EQ_2282(...) \,
#define Z_IS_2283_EQ_2283(...) \,
#define Z_IS_2284_EQ_2284(...) \,
#define Z_IS_2285_EQ_2285(...) \,
#define Z_IS_2286_EQ_2286(...) \,
#define Z_IS_2287_EQ_2287(...) \,
#define Z_IS_2288_EQ_2288(...) \,
#define Z_IS_2289_EQ_2289(...) \,
#define Z_IS_2290_EQ_2290(...) \,
#define Z_IS_2291_EQ_2291(...) \,
#define Z_IS_2292_EQ_2292(...) \,
#define Z_IS_2293_EQ_2293(...) \,
#define Z_IS_2294_EQ_2294(...) \,
#define Z_IS_2295_EQ_2295(...) \,
#define Z_IS_2296_EQ_2296(...) \,
#define Z_IS_2297_EQ_2297(...) \,
#define Z_IS_2298_EQ_2298(...) \,
#define Z_IS_2299_EQ_2299(...) \,
#define Z_IS_2300_EQ_2300(...) \,
#define Z_IS_2301_EQ_2301(...) \,
#define Z_IS_2302_EQ_2302(...) \,
#define Z_IS_2303_EQ_2303(...) \,
#define Z_IS_2304_EQ_2304(...) \,
#define Z_IS_2305_EQ_2305(...) \,
#define Z_IS_2306_EQ_2306(...) \,
#define Z_IS_2307_EQ_2307(...) \,
#define Z_IS_2308_EQ_2308(...) \,
#define Z_IS_2309_EQ_2309(...) \,
#define Z_IS_2310_EQ_2310(...) \,
#define Z_IS_2311_EQ_2311(...) \,
#define Z_IS_2312_EQ_2312(...) \,
#define Z_IS_2313_EQ_2313(...) \,
#define Z_IS_2314_EQ_2314(...) \,
#define Z_IS_2315_EQ_2315(...) \,
#define Z_IS_2316_EQ_2316(...) \,
#define Z_IS_2317_EQ_2317(...) \,
#define Z_IS_2318_EQ_2318(...) \,
#define Z_IS_2319_EQ_2319(...) \,
#define Z_IS_2320_EQ_2320(...) \,
#define Z_IS_2321_EQ_2321(...) \,
#define Z_IS_2322_EQ_2322(...) \,
#define Z_IS_2323_EQ_2323(...) \,
#define Z_IS_2324_EQ_2324(...) \,
#define Z_IS_2325_EQ_2325(...) \,
#define Z_IS_2326_EQ_2326(...) \,
#define Z_IS_2327_EQ_2327(...) \,
#define Z_IS_2328_EQ_2328(...) \,
#define Z_IS_2329_EQ_2329(...) \,
#define Z_IS_2330_EQ_2330(...) \,
#define Z_IS_2331_EQ_2331(...) \,
#define Z_IS_2332_EQ_2332(...) \,
#define Z_IS_2333_EQ_2333(...) \,
#define Z_IS_2334_EQ_2334(...) \,
#define Z_IS_2335_EQ_2335(...) \,
#define Z_IS_2336_EQ_2336(...) \,
#define Z_IS_2337_EQ_2337(...) \,
#define Z_IS_2338_EQ_2338(...) \,
#define Z_IS_2339_EQ_2339(...) \,
#define Z_IS_2340_EQ_2340(...) \,
#define Z_IS_2341_EQ_2341(...) \,
#define Z_IS_2342_EQ_2342(...) \,
#define Z_IS_2343_EQ_2343(...) \,
#define Z_IS_2344_EQ_2344(...) \,
#define Z_IS_2345_EQ_2345(...) \,
#define Z_IS_2346_EQ_2346(...) \,
#define Z_IS_2347_EQ_2347(...) \,
#define Z_IS_2348_EQ_2348(...) \,
#define Z_IS_2349_EQ_2349(...) \,
#define Z_IS_2350_EQ_2350(...) \,
#define Z_IS_2351_EQ_2351(...) \,
#define Z_IS_2352_EQ_2352(...) \,
#define Z_IS_2353_EQ_2353(...) \,
#define Z_IS_2354_EQ_2354(...) \,
#define Z_IS_2355_EQ_2355(...) \,
#define Z_IS_2356_EQ_2356(...) \,
#define Z_IS_2357_EQ_2357(...) \,
#define Z_IS_2358_EQ_2358(...) \,
#define Z_IS_2359_EQ_2359(...) \,
#define Z_IS_2360_EQ_2360(...) \,
#define Z_IS_2361_EQ_2361(...) \,
#define Z_IS_2362_EQ_2362(...) \,
#define Z_IS_2363_EQ_2363(...) \,
#define Z_IS_2364_EQ_2364(...) \,
#define Z_IS_2365_EQ_2365(...) \,
#define Z_IS_2366_EQ_2366(...) \,
#define Z_IS_2367_EQ_2367(...) \,
#define Z_IS_2368_EQ_2368(...) \,
#define Z_IS_2369_EQ_2369(...) \,
#define Z_IS_2370_EQ_2370(...) \,
#define Z_IS_2371_EQ_2371(...) \,
#define Z_IS_2372_EQ_2372(...) \,
#define Z_IS_2373_EQ_2373(...) \,
#define Z_IS_2374_EQ_2374(...) \,
#define Z_IS_2375_EQ_2375(...) \,
#define Z_IS_2376_EQ_2376(...) \,
#define Z_IS_2377_EQ_2377(...) \,
#define Z_IS_2378_EQ_2378(...) \,
#define Z_IS_2379_EQ_2379(...) \,
#define Z_IS_2380_EQ_2380(...) \,
#define Z_IS_2381_EQ_2381(...) \,
#define Z_IS_2382_EQ_2382(...) \,
#define Z_IS_2383_EQ_2383(...) \,
#define Z_IS_2384_EQ_2384(...) \,
#define Z_IS_2385_EQ_2385(...) \,
#define Z_IS_2386_EQ_2386(...) \,
#define Z_IS_2387_EQ_2387(...) \,
#define Z_IS_2388_EQ_2388(...) \,
#define Z_IS_2389_EQ_2389(...) \,
#define Z_IS_2390_EQ_2390(...) \,
#define Z_IS_2391_EQ_2391(...) \,
#define Z_IS_2392_EQ_2392(...) \,
#define Z_IS_2393_EQ_2393(...) \,
#define Z_IS_2394_EQ_2394(...) \,
#define Z_IS_2395_EQ_2395(...) \,
#define Z_IS_2396_EQ_2396(...) \,
#define Z_IS_2397_EQ_2397(...) \,
#define Z_IS_2398_EQ_2398(...) \,
#define Z_IS_2399_EQ_2399(...) \,
#define Z_IS_2400_EQ_2400(...) \,
#define Z_IS_2401_EQ_2401(...) \,
#define Z_IS_2402_EQ_2402(...) \,
#define Z_IS_2403_EQ_2403(...) \,
#define Z_IS_2404_EQ_2404(...) \,
#define Z_IS_2405_EQ_2405(...) \,
#define Z_IS_2406_EQ_2406(...) \,
#define Z_IS_2407_EQ_2407(...) \,
#define Z_IS_2408_EQ_2408(...) \,
#define Z_IS_2409_EQ_2409(...) \,
#define Z_IS_2410_EQ_2410(...) \,
#define Z_IS_2411_EQ_2411(...) \,
#define Z_IS_2412_EQ_2412(...) \,
#define Z_IS_2413_EQ_2413(...) \,
#define Z_IS_2414_EQ_2414(...) \,
#define Z_IS_2415_EQ_2415(...) \,
#define Z_IS_2416_EQ_2416(...) \,
#define Z_IS_2417_EQ_2417(...) \,
#define Z_IS_2418_EQ_2418(...) \,
#define Z_IS_2419_EQ_2419(...) \,
#define Z_IS_2420_EQ_2420(...) \,
#define Z_IS_2421_EQ_2421(...) \,
#define Z_IS_2422_EQ_2422(...) \,
#define Z_IS_2423_EQ_2423(...) \,
#define Z_IS_2424_EQ_2424(...) \,
#define Z_IS_2425_EQ_2425(...) \,
#define Z_IS_2426_EQ_2426(...) \,
#define Z_IS_2427_EQ_2427(...) \,
#define Z_IS_2428_EQ_2428(...) \,
#define Z_IS_2429_EQ_2429(...) \,
#define Z_IS_2430_EQ_2430(...) \,
#define Z_IS_2431_EQ_2431(...) \,
#define Z_IS_2432_EQ_2432(...) \,
#define Z_IS_2433_EQ_2433(...) \,
#define Z_IS_2434_EQ_2434(...) \,
#define Z_IS_2435_EQ_2435(...) \,
#define Z_IS_2436_EQ_2436(...) \,
#define Z_IS_2437_EQ_2437(...) \,
#define Z_IS_2438_EQ_2438(...) \,
#define Z_IS_2439_EQ_2439(...) \,
#define Z_IS_2440_EQ_2440(...) \,
#define Z_IS_2441_EQ_2441(...) \,
#define Z_IS_2442_EQ_2442(...) \,
#define Z_IS_2443_EQ_2443(...) \,
#define Z_IS_2444_EQ_2444(...) \,
#define Z_IS_2445_EQ_2445(...) \,
#define Z_IS_2446_EQ_2446(...) \,
#define Z_IS_2447_EQ_2447(...) \,
#define Z_IS_2448_EQ_2448(...) \,
#define Z_IS_2449_EQ_2449(...) \,
#define Z_IS_2450_EQ_2450(...) \,
#define Z_IS_2451_EQ_2451(...) \,
#define Z_IS_2452_EQ_2452(...) \,
#define Z_IS_2453_EQ_2453(...) \,
#define Z_IS_2454_EQ_2454(...) \,
#define Z_IS_2455_EQ_2455(...) \,
#define Z_IS_2456_EQ_2456(...) \,
#define Z_IS_2457_EQ_2457(...) \,
#define Z_IS_2458_EQ_2458(...) \,
#define Z_IS_2459_EQ_2459(...) \,
#define Z_IS_2460_EQ_2460(...) \,
#define Z_IS_2461_EQ_2461(...) \,
#define Z_IS_2462_EQ_2462(...) \,
#define Z_IS_2463_EQ_2463(...) \,
#define Z_IS_2464_EQ_2464(...) \,
#define Z_IS_2465_EQ_2465(...) \,
#define Z_IS_2466_EQ_2466(...) \,
#define Z_IS_2467_EQ_2467(...) \,
#define Z_IS_2468_EQ_2468(...) \,
#define Z_IS_2469_EQ_2469(...) \,
#define Z_IS_2470_EQ_2470(...) \,
#define Z_IS_2471_EQ_2471(...) \,
#define Z_IS_2472_EQ_2472(...) \,
#define Z_IS_2473_EQ_2473(...) \,
#define Z_IS_2474_EQ_2474(...) \,
#define Z_IS_2475_EQ_2475(...) \,
#define Z_IS_2476_EQ_2476(...) \,
#define Z_IS_2477_EQ_2477(...) \,
#define Z_IS_2478_EQ_2478(...) \,
#define Z_IS_2479_EQ_2479(...) \,
#define Z_IS_2480_EQ_2480(...) \,
#define Z_IS_2481_EQ_2481(...) \,
#define Z_IS_2482_EQ_2482(...) \,
#define Z_IS_2483_EQ_2483(...) \,
#define Z_IS_2484_EQ_2484(...) \,
#define Z_IS_2485_EQ_2485(...) \,
#define Z_IS_2486_EQ_2486(...) \,
#define Z_IS_2487_EQ_2487(...) \,
#define Z_IS_2488_EQ_2488(...) \,
#define Z_IS_2489_EQ_2489(...) \,
#define Z_IS_2490_EQ_2490(...) \,
#define Z_IS_2491_EQ_2491(...) \,
#define Z_IS_2492_EQ_2492(...) \,
#define Z_IS_2493_EQ_2493(...) \,
#define Z_IS_2494_EQ_2494(...) \,
#define Z_IS_2495_EQ_2495(...) \,
#define Z_IS_2496_EQ_2496(...) \,
#define Z_IS_2497_EQ_2497(...) \,
#define Z_IS_2498_EQ_2498(...) \,
#define Z_IS_2499_EQ_2499(...) \,
#define Z_IS_2500_EQ_2500(...) \,
#define Z_IS_2501_EQ_2501(...) \,
#define Z_IS_2502_EQ_2502(...) \,
#define Z_IS_2503_EQ_2503(...) \,
#define Z_IS_2504_EQ_2504(...) \,
#define Z_IS_2505_EQ_2505(...) \,
#define Z_IS_2506_EQ_2506(...) \,
#define Z_IS_2507_EQ_2507(...) \,
#define Z_IS_2508_EQ_2508(...) \,
#define Z_IS_2509_EQ_2509(...) \,
#define Z_IS_2510_EQ_2510(...) \,
#define Z_IS_2511_EQ_2511(...) \,
#define Z_IS_2512_EQ_2512(...) \,
#define Z_IS_2513_EQ_2513(...) \,
#define Z_IS_2514_EQ_2514(...) \,
#define Z_IS_2515_EQ_2515(...) \,
#define Z_IS_2516_EQ_2516(...) \,
#define Z_IS_2517_EQ_2517(...) \,
#define Z_IS_2518_EQ_2518(...) \,
#define Z_IS_2519_EQ_2519(...) \,
#define Z_IS_2520_EQ_2520(...) \,
#define Z_IS_2521_EQ_2521(...) \,
#define Z_IS_2522_EQ_2522(...) \,
#define Z_IS_2523_EQ_2523(...) \,
#define Z_IS_2524_EQ_2524(...) \,
#define Z_IS_2525_EQ_2525(...) \,
#define Z_IS_2526_EQ_2526(...) \,
#define Z_IS_2527_EQ_2527(...) \,
#define Z_IS_2528_EQ_2528(...) \,
#define Z_IS_2529_EQ_2529(...) \,
#define Z_IS_2530_EQ_2530(...) \,
#define Z_IS_2531_EQ_2531(...) \,
#define Z_IS_2532_EQ_2532(...) \,
#define Z_IS_2533_EQ_2533(...) \,
#define Z_IS_2534_EQ_2534(...) \,
#define Z_IS_2535_EQ_2535(...) \,
#define Z_IS_2536_EQ_2536(...) \,
#define Z_IS_2537_EQ_2537(...) \,
#define Z_IS_2538_EQ_2538(...) \,
#define Z_IS_2539_EQ_2539(...) \,
#define Z_IS_2540_EQ_2540(...) \,
#define Z_IS_2541_EQ_2541(...) \,
#define Z_IS_2542_EQ_2542(...) \,
#define Z_IS_2543_EQ_2543(...) \,
#define Z_IS_2544_EQ_2544(...) \,
#define Z_IS_2545_EQ_2545(...) \,
#define Z_IS_2546_EQ_2546(...) \,
#define Z_IS_2547_EQ_2547(...) \,
#define Z_IS_2548_EQ_2548(...) \,
#define Z_IS_2549_EQ_2549(...) \,
#define Z_IS_2550_EQ_2550(...) \,
#define Z_IS_2551_EQ_2551(...) \,
#define Z_IS_2552_EQ_2552(...) \,
#define Z_IS_2553_EQ_2553(...) \,
#define Z_IS_2554_EQ_2554(...) \,
#define Z_IS_2555_EQ_2555(...) \,
#define Z_IS_2556_EQ_2556(...) \,
#define Z_IS_2557_EQ_2557(...) \,
#define Z_IS_2558_EQ_2558(...) \,
#define Z_IS_2559_EQ_2559(...) \,
#define Z_IS_2560_EQ_2560(...) \,
#define Z_IS_2561_EQ_2561(...) \,
#define Z_IS_2562_EQ_2562(...) \,
#define Z_IS_2563_EQ_2563(...) \,
#define Z_IS_2564_EQ_2564(...) \,
#define Z_IS_2565_EQ_2565(...) \,
#define Z_IS_2566_EQ_2566(...) \,
#define Z_IS_2567_EQ_2567(...) \,
#define Z_IS_2568_EQ_2568(...) \,
#define Z_IS_2569_EQ_2569(...) \,
#define Z_IS_2570_EQ_2570(...) \,
#define Z_IS_2571_EQ_2571(...) \,
#define Z_IS_2572_EQ_2572(...) \,
#define Z_IS_2573_EQ_2573(...) \,
#define Z_IS_2574_EQ_2574(...) \,
#define Z_IS_2575_EQ_2575(...) \,
#define Z_IS_2576_EQ_2576(...) \,
#define Z_IS_2577_EQ_2577(...) \,
#define Z_IS_2578_EQ_2578(...) \,
#define Z_IS_2579_EQ_2579(...) \,
#define Z_IS_2580_EQ_2580(...) \,
#define Z_IS_2581_EQ_2581(...) \,
#define Z_IS_2582_EQ_2582(...) \,
#define Z_IS_2583_EQ_2583(...) \,
#define Z_IS_2584_EQ_2584(...) \,
#define Z_IS_2585_EQ_2585(...) \,
#define Z_IS_2586_EQ_2586(...) \,
#define Z_IS_2587_EQ_2587(...) \,
#define Z_IS_2588_EQ_2588(...) \,
#define Z_IS_2589_EQ_2589(...) \,
#define Z_IS_2590_EQ_2590(...) \,
#define Z_IS_2591_EQ_2591(...) \,
#define Z_IS_2592_EQ_2592(...) \,
#define Z_IS_2593_EQ_2593(...) \,
#define Z_IS_2594_EQ_2594(...) \,
#define Z_IS_2595_EQ_2595(...) \,
#define Z_IS_2596_EQ_2596(...) \,
#define Z_IS_2597_EQ_2597(...) \,
#define Z_IS_2598_EQ_2598(...) \,
#define Z_IS_2599_EQ_2599(...) \,
#define Z_IS_2600_EQ_2600(...) \,
#define Z_IS_2601_EQ_2601(...) \,
#define Z_IS_2602_EQ_2602(...) \,
#define Z_IS_2603_EQ_2603(...) \,
#define Z_IS_2604_EQ_2604(...) \,
#define Z_IS_2605_EQ_2605(...) \,
#define Z_IS_2606_EQ_2606(...) \,
#define Z_IS_2607_EQ_2607(...) \,
#define Z_IS_2608_EQ_2608(...) \,
#define Z_IS_2609_EQ_2609(...) \,
#define Z_IS_2610_EQ_2610(...) \,
#define Z_IS_2611_EQ_2611(...) \,
#define Z_IS_2612_EQ_2612(...) \,
#define Z_IS_2613_EQ_2613(...) \,
#define Z_IS_2614_EQ_2614(...) \,
#define Z_IS_2615_EQ_2615(...) \,
#define Z_IS_2616_EQ_2616(...) \,
#define Z_IS_2617_EQ_2617(...) \,
#define Z_IS_2618_EQ_2618(...) \,
#define Z_IS_2619_EQ_2619(...) \,
#define Z_IS_2620_EQ_2620(...) \,
#define Z_IS_2621_EQ_2621(...) \,
#define Z_IS_2622_EQ_2622(...) \,
#define Z_IS_2623_EQ_2623(...) \,
#define Z_IS_2624_EQ_2624(...) \,
#define Z_IS_2625_EQ_2625(...) \,
#define Z_IS_2626_EQ_2626(...) \,
#define Z_IS_2627_EQ_2627(...) \,
#define Z_IS_2628_EQ_2628(...) \,
#define Z_IS_2629_EQ_2629(...) \,
#define Z_IS_2630_EQ_2630(...) \,
#define Z_IS_2631_EQ_2631(...) \,
#define Z_IS_2632_EQ_2632(...) \,
#define Z_IS_2633_EQ_2633(...) \,
#define Z_IS_2634_EQ_2634(...) \,
#define Z_IS_2635_EQ_2635(...) \,
#define Z_IS_2636_EQ_2636(...) \,
#define Z_IS_2637_EQ_2637(...) \,
#define Z_IS_2638_EQ_2638(...) \,
#define Z_IS_2639_EQ_2639(...) \,
#define Z_IS_2640_EQ_2640(...) \,
#define Z_IS_2641_EQ_2641(...) \,
#define Z_IS_2642_EQ_2642(...) \,
#define Z_IS_2643_EQ_2643(...) \,
#define Z_IS_2644_EQ_2644(...) \,
#define Z_IS_2645_EQ_2645(...) \,
#define Z_IS_2646_EQ_2646(...) \,
#define Z_IS_2647_EQ_2647(...) \,
#define Z_IS_2648_EQ_2648(...) \,
#define Z_IS_2649_EQ_2649(...) \,
#define Z_IS_2650_EQ_2650(...) \,
#define Z_IS_2651_EQ_2651(...) \,
#define Z_IS_2652_EQ_2652(...) \,
#define Z_IS_2653_EQ_2653(...) \,
#define Z_IS_2654_EQ_2654(...) \,
#define Z_IS_2655_EQ_2655(...) \,
#define Z_IS_2656_EQ_2656(...) \,
#define Z_IS_2657_EQ_2657(...) \,
#define Z_IS_2658_EQ_2658(...) \,
#define Z_IS_2659_EQ_2659(...) \,
#define Z_IS_2660_EQ_2660(...) \,
#define Z_IS_2661_EQ_2661(...) \,
#define Z_IS_2662_EQ_2662(...) \,
#define Z_IS_2663_EQ_2663(...) \,
#define Z_IS_2664_EQ_2664(...) \,
#define Z_IS_2665_EQ_2665(...) \,
#define Z_IS_2666_EQ_2666(...) \,
#define Z_IS_2667_EQ_2667(...) \,
#define Z_IS_2668_EQ_2668(...) \,
#define Z_IS_2669_EQ_2669(...) \,
#define Z_IS_2670_EQ_2670(...) \,
#define Z_IS_2671_EQ_2671(...) \,
#define Z_IS_2672_EQ_2672(...) \,
#define Z_IS_2673_EQ_2673(...) \,
#define Z_IS_2674_EQ_2674(...) \,
#define Z_IS_2675_EQ_2675(...) \,
#define Z_IS_2676_EQ_2676(...) \,
#define Z_IS_2677_EQ_2677(...) \,
#define Z_IS_2678_EQ_2678(...) \,
#define Z_IS_2679_EQ_2679(...) \,
#define Z_IS_2680_EQ_2680(...) \,
#define Z_IS_2681_EQ_2681(...) \,
#define Z_IS_2682_EQ_2682(...) \,
#define Z_IS_2683_EQ_2683(...) \,
#define Z_IS_2684_EQ_2684(...) \,
#define Z_IS_2685_EQ_2685(...) \,
#define Z_IS_2686_EQ_2686(...) \,
#define Z_IS_2687_EQ_2687(...) \,
#define Z_IS_2688_EQ_2688(...) \,
#define Z_IS_2689_EQ_2689(...) \,
#define Z_IS_2690_EQ_2690(...) \,
#define Z_IS_2691_EQ_2691(...) \,
#define Z_IS_2692_EQ_2692(...) \,
#define Z_IS_2693_EQ_2693(...) \,
#define Z_IS_2694_EQ_2694(...) \,
#define Z_IS_2695_EQ_2695(...) \,
#define Z_IS_2696_EQ_2696(...) \,
#define Z_IS_2697_EQ_2697(...) \,
#define Z_IS_2698_EQ_2698(...) \,
#define Z_IS_2699_EQ_2699(...) \,
#define Z_IS_2700_EQ_2700(...) \,
#define Z_IS_2701_EQ_2701(...) \,
#define Z_IS_2702_EQ_2702(...) \,
#define Z_IS_2703_EQ_2703(...) \,
#define Z_IS_2704_EQ_2704(...) \,
#define Z_IS_2705_EQ_2705(...) \,
#define Z_IS_2706_EQ_2706(...) \,
#define Z_IS_2707_EQ_2707(...) \,
#define Z_IS_2708_EQ_2708(...) \,
#define Z_IS_2709_EQ_2709(...) \,
#define Z_IS_2710_EQ_2710(...) \,
#define Z_IS_2711_EQ_2711(...) \,
#define Z_IS_2712_EQ_2712(...) \,
#define Z_IS_2713_EQ_2713(...) \,
#define Z_IS_2714_EQ_2714(...) \,
#define Z_IS_2715_EQ_2715(...) \,
#define Z_IS_2716_EQ_2716(...) \,
#define Z_IS_2717_EQ_2717(...) \,
#define Z_IS_2718_EQ_2718(...) \,
#define Z_IS_2719_EQ_2719(...) \,
#define Z_IS_2720_EQ_2720(...) \,
#define Z_IS_2721_EQ_2721(...) \,
#define Z_IS_2722_EQ_2722(...) \,
#define Z_IS_2723_EQ_2723(...) \,
#define Z_IS_2724_EQ_2724(...) \,
#define Z_IS_2725_EQ_2725(...) \,
#define Z_IS_2726_EQ_2726(...) \,
#define Z_IS_2727_EQ_2727(...) \,
#define Z_IS_2728_EQ_2728(...) \,
#define Z_IS_2729_EQ_2729(...) \,
#define Z_IS_2730_EQ_2730(...) \,
#define Z_IS_2731_EQ_2731(...) \,
#define Z_IS_2732_EQ_2732(...) \,
#define Z_IS_2733_EQ_2733(...) \,
#define Z_IS_2734_EQ_2734(...) \,
#define Z_IS_2735_EQ_2735(...) \,
#define Z_IS_2736_EQ_2736(...) \,
#define Z_IS_2737_EQ_2737(...) \,
#define Z_IS_2738_EQ_2738(...) \,
#define Z_IS_2739_EQ_2739(...) \,
#define Z_IS_2740_EQ_2740(...) \,
#define Z_IS_2741_EQ_2741(...) \,
#define Z_IS_2742_EQ_2742(...) \,
#define Z_IS_2743_EQ_2743(...) \,
#define Z_IS_2744_EQ_2744(...) \,
#define Z_IS_2745_EQ_2745(...) \,
#define Z_IS_2746_EQ_2746(...) \,
#define Z_IS_2747_EQ_2747(...) \,
#define Z_IS_2748_EQ_2748(...) \,
#define Z_IS_2749_EQ_2749(...) \,
#define Z_IS_2750_EQ_2750(...) \,
#define Z_IS_2751_EQ_2751(...) \,
#define Z_IS_2752_EQ_2752(...) \,
#define Z_IS_2753_EQ_2753(...) \,
#define Z_IS_2754_EQ_2754(...) \,
#define Z_IS_2755_EQ_2755(...) \,
#define Z_IS_2756_EQ_2756(...) \,
#define Z_IS_2757_EQ_2757(...) \,
#define Z_IS_2758_EQ_2758(...) \,
#define Z_IS_2759_EQ_2759(...) \,
#define Z_IS_2760_EQ_2760(...) \,
#define Z_IS_2761_EQ_2761(...) \,
#define Z_IS_2762_EQ_2762(...) \,
#define Z_IS_2763_EQ_2763(...) \,
#define Z_IS_2764_EQ_2764(...) \,
#define Z_IS_2765_EQ_2765(...) \,
#define Z_IS_2766_EQ_2766(...) \,
#define Z_IS_2767_EQ_2767(...) \,
#define Z_IS_2768_EQ_2768(...) \,
#define Z_IS_2769_EQ_2769(...) \,
#define Z_IS_2770_EQ_2770(...) \,
#define Z_IS_2771_EQ_2771(...) \,
#define Z_IS_2772_EQ_2772(...) \,
#define Z_IS_2773_EQ_2773(...) \,
#define Z_IS_2774_EQ_2774(...) \,
#define Z_IS_2775_EQ_2775(...) \,
#define Z_IS_2776_EQ_2776(...) \,
#define Z_IS_2777_EQ_2777(...) \,
#define Z_IS_2778_EQ_2778(...) \,
#define Z_IS_2779_EQ_2779(...) \,
#define Z_IS_2780_EQ_2780(...) \,
#define Z_IS_2781_EQ_2781(...) \,
#define Z_IS_2782_EQ_2782(...) \,
#define Z_IS_2783_EQ_2783(...) \,
#define Z_IS_2784_EQ_2784(...) \,
#define Z_IS_2785_EQ_2785(...) \,
#define Z_IS_2786_EQ_2786(...) \,
#define Z_IS_2787_EQ_2787(...) \,
#define Z_IS_2788_EQ_2788(...) \,
#define Z_IS_2789_EQ_2789(...) \,
#define Z_IS_2790_EQ_2790(...) \,
#define Z_IS_2791_EQ_2791(...) \,
#define Z_IS_2792_EQ_2792(...) \,
#define Z_IS_2793_EQ_2793(...) \,
#define Z_IS_2794_EQ_2794(...) \,
#define Z_IS_2795_EQ_2795(...) \,
#define Z_IS_2796_EQ_2796(...) \,
#define Z_IS_2797_EQ_2797(...) \,
#define Z_IS_2798_EQ_2798(...) \,
#define Z_IS_2799_EQ_2799(...) \,
#define Z_IS_2800_EQ_2800(...) \,
#define Z_IS_2801_EQ_2801(...) \,
#define Z_IS_2802_EQ_2802(...) \,
#define Z_IS_2803_EQ_2803(...) \,
#define Z_IS_2804_EQ_2804(...) \,
#define Z_IS_2805_EQ_2805(...) \,
#define Z_IS_2806_EQ_2806(...) \,
#define Z_IS_2807_EQ_2807(...) \,
#define Z_IS_2808_EQ_2808(...) \,
#define Z_IS_2809_EQ_2809(...) \,
#define Z_IS_2810_EQ_2810(...) \,
#define Z_IS_2811_EQ_2811(...) \,
#define Z_IS_2812_EQ_2812(...) \,
#define Z_IS_2813_EQ_2813(...) \,
#define Z_IS_2814_EQ_2814(...) \,
#define Z_IS_2815_EQ_2815(...) \,
#define Z_IS_2816_EQ_2816(...) \,
#define Z_IS_2817_EQ_2817(...) \,
#define Z_IS_2818_EQ_2818(...) \,
#define Z_IS_2819_EQ_2819(...) \,
#define Z_IS_2820_EQ_2820(...) \,
#define Z_IS_2821_EQ_2821(...) \,
#define Z_IS_2822_EQ_2822(...) \,
#define Z_IS_2823_EQ_2823(...) \,
#define Z_IS_2824_EQ_2824(...) \,
#define Z_IS_2825_EQ_2825(...) \,
#define Z_IS_2826_EQ_2826(...) \,
#define Z_IS_2827_EQ_2827(...) \,
#define Z_IS_2828_EQ_2828(...) \,
#define Z_IS_2829_EQ_2829(...) \,
#define Z_IS_2830_EQ_2830(...) \,
#define Z_IS_2831_EQ_2831(...) \,
#define Z_IS_2832_EQ_2832(...) \,
#define Z_IS_2833_EQ_2833(...) \,
#define Z_IS_2834_EQ_2834(...) \,
#define Z_IS_2835_EQ_2835(...) \,
#define Z_IS_2836_EQ_2836(...) \,
#define Z_IS_2837_EQ_2837(...) \,
#define Z_IS_2838_EQ_2838(...) \,
#define Z_IS_2839_EQ_2839(...) \,
#define Z_IS_2840_EQ_2840(...) \,
#define Z_IS_2841_EQ_2841(...) \,
#define Z_IS_2842_EQ_2842(...) \,
#define Z_IS_2843_EQ_2843(...) \,
#define Z_IS_2844_EQ_2844(...) \,
#define Z_IS_2845_EQ_2845(...) \,
#define Z_IS_2846_EQ_2846(...) \,
#define Z_IS_2847_EQ_2847(...) \,
#define Z_IS_2848_EQ_2848(...) \,
#define Z_IS_2849_EQ_2849(...) \,
#define Z_IS_2850_EQ_2850(...) \,
#define Z_IS_2851_EQ_2851(...) \,
#define Z_IS_2852_EQ_2852(...) \,
#define Z_IS_2853_EQ_2853(...) \,
#define Z_IS_2854_EQ_2854(...) \,
#define Z_IS_2855_EQ_2855(...) \,
#define Z_IS_2856_EQ_2856(...) \,
#define Z_IS_2857_EQ_2857(...) \,
#define Z_IS_2858_EQ_2858(...) \,
#define Z_IS_2859_EQ_2859(...) \,
#define Z_IS_2860_EQ_2860(...) \,
#define Z_IS_2861_EQ_2861(...) \,
#define Z_IS_2862_EQ_2862(...) \,
#define Z_IS_2863_EQ_2863(...) \,
#define Z_IS_2864_EQ_2864(...) \,
#define Z_IS_2865_EQ_2865(...) \,
#define Z_IS_2866_EQ_2866(...) \,
#define Z_IS_2867_EQ_2867(...) \,
#define Z_IS_2868_EQ_2868(...) \,
#define Z_IS_2869_EQ_2869(...) \,
#define Z_IS_2870_EQ_2870(...) \,
#define Z_IS_2871_EQ_2871(...) \,
#define Z_IS_2872_EQ_2872(...) \,
#define Z_IS_2873_EQ_2873(...) \,
#define Z_IS_2874_EQ_2874(...) \,
#define Z_IS_2875_EQ_2875(...) \,
#define Z_IS_2876_EQ_2876(...) \,
#define Z_IS_2877_EQ_2877(...) \,
#define Z_IS_2878_EQ_2878(...) \,
#define Z_IS_2879_EQ_2879(...) \,
#define Z_IS_2880_EQ_2880(...) \,
#define Z_IS_2881_EQ_2881(...) \,
#define Z_IS_2882_EQ_2882(...) \,
#define Z_IS_2883_EQ_2883(...) \,
#define Z_IS_2884_EQ_2884(...) \,
#define Z_IS_2885_EQ_2885(...) \,
#define Z_IS_2886_EQ_2886(...) \,
#define Z_IS_2887_EQ_2887(...) \,
#define Z_IS_2888_EQ_2888(...) \,
#define Z_IS_2889_EQ_2889(...) \,
#define Z_IS_2890_EQ_2890(...) \,
#define Z_IS_2891_EQ_2891(...) \,
#define Z_IS_2892_EQ_2892(...) \,
#define Z_IS_2893_EQ_2893(...) \,
#define Z_IS_2894_EQ_2894(...) \,
#define Z_IS_2895_EQ_2895(...) \,
#define Z_IS_2896_EQ_2896(...) \,
#define Z_IS_2897_EQ_2897(...) \,
#define Z_IS_2898_EQ_2898(...) \,
#define Z_IS_2899_EQ_2899(...) \,
#define Z_IS_2900_EQ_2900(...) \,
#define Z_IS_2901_EQ_2901(...) \,
#define Z_IS_2902_EQ_2902(...) \,
#define Z_IS_2903_EQ_2903(...) \,
#define Z_IS_2904_EQ_2904(...) \,
#define Z_IS_2905_EQ_2905(...) \,
#define Z_IS_2906_EQ_2906(...) \,
#define Z_IS_2907_EQ_2907(...) \,
#define Z_IS_2908_EQ_2908(...) \,
#define Z_IS_2909_EQ_2909(...) \,
#define Z_IS_2910_EQ_2910(...) \,
#define Z_IS_2911_EQ_2911(...) \,
#define Z_IS_2912_EQ_2912(...) \,
#define Z_IS_2913_EQ_2913(...) \,
#define Z_IS_2914_EQ_2914(...) \,
#define Z_IS_2915_EQ_2915(...) \,
#define Z_IS_2916_EQ_2916(...) \,
#define Z_IS_2917_EQ_2917(...) \,
#define Z_IS_2918_EQ_2918(...) \,
#define Z_IS_2919_EQ_2919(...) \,
#define Z_IS_2920_EQ_2920(...) \,
#define Z_IS_2921_EQ_2921(...) \,
#define Z_IS_2922_EQ_2922(...) \,
#define Z_IS_2923_EQ_2923(...) \,
#define Z_IS_2924_EQ_2924(...) \,
#define Z_IS_2925_EQ_2925(...) \,
#define Z_IS_2926_EQ_2926(...) \,
#define Z_IS_2927_EQ_2927(...) \,
#define Z_IS_2928_EQ_2928(...) \,
#define Z_IS_2929_EQ_2929(...) \,
#define Z_IS_2930_EQ_2930(...) \,
#define Z_IS_2931_EQ_2931(...) \,
#define Z_IS_2932_EQ_2932(...) \,
#define Z_IS_2933_EQ_2933(...) \,
#define Z_IS_2934_EQ_2934(...) \,
#define Z_IS_2935_EQ_2935(...) \,
#define Z_IS_2936_EQ_2936(...) \,
#define Z_IS_2937_EQ_2937(...) \,
#define Z_IS_2938_EQ_2938(...) \,
#define Z_IS_2939_EQ_2939(...) \,
#define Z_IS_2940_EQ_2940(...) \,
#define Z_IS_2941_EQ_2941(...) \,
#define Z_IS_2942_EQ_2942(...) \,
#define Z_IS_2943_EQ_2943(...) \,
#define Z_IS_2944_EQ_2944(...) \,
#define Z_IS_2945_EQ_2945(...) \,
#define Z_IS_2946_EQ_2946(...) \,
#define Z_IS_2947_EQ_2947(...) \,
#define Z_IS_2948_EQ_2948(...) \,
#define Z_IS_2949_EQ_2949(...) \,
#define Z_IS_2950_EQ_2950(...) \,
#define Z_IS_2951_EQ_2951(...) \,
#define Z_IS_2952_EQ_2952(...) \,
#define Z_IS_2953_EQ_2953(...) \,
#define Z_IS_2954_EQ_2954(...) \,
#define Z_IS_2955_EQ_2955(...) \,
#define Z_IS_2956_EQ_2956(...) \,
#define Z_IS_2957_EQ_2957(...) \,
#define Z_IS_2958_EQ_2958(...) \,
#define Z_IS_2959_EQ_2959(...) \,
#define Z_IS_2960_EQ_2960(...) \,
#define Z_IS_2961_EQ_2961(...) \,
#define Z_IS_2962_EQ_2962(...) \,
#define Z_IS_2963_EQ_2963(...) \,
#define Z_IS_2964_EQ_2964(...) \,
#define Z_IS_2965_EQ_2965(...) \,
#define Z_IS_2966_EQ_2966(...) \,
#define Z_IS_2967_EQ_2967(...) \,
#define Z_IS_2968_EQ_2968(...) \,
#define Z_IS_2969_EQ_2969(...) \,
#define Z_IS_2970_EQ_2970(...) \,
#define Z_IS_2971_EQ_2971(...) \,
#define Z_IS_2972_EQ_2972(...) \,
#define Z_IS_2973_EQ_2973(...) \,
#define Z_IS_2974_EQ_2974(...) \,
#define Z_IS_2975_EQ_2975(...) \,
#define Z_IS_2976_EQ_2976(...) \,
#define Z_IS_2977_EQ_2977(...) \,
#define Z_IS_2978_EQ_2978(...) \,
#define Z_IS_2979_EQ_2979(...) \,
#define Z_IS_2980_EQ_2980(...) \,
#define Z_IS_2981_EQ_2981(...) \,
#define Z_IS_2982_EQ_2982(...) \,
#define Z_IS_2983_EQ_2983(...) \,
#define Z_IS_2984_EQ_2984(...) \,
#define Z_IS_2985_EQ_2985(...) \,
#define Z_IS_2986_EQ_2986(...) \,
#define Z_IS_2987_EQ_2987(...) \,
#define Z_IS_2988_EQ_2988(...) \,
#define Z_IS_2989_EQ_2989(...) \,
#define Z_IS_2990_EQ_2990(...) \,
#define Z_IS_2991_EQ_2991(...) \,
#define Z_IS_2992_EQ_2992(...) \,
#define Z_IS_2993_EQ_2993(...) \,
#define Z_IS_2994_EQ_2994(...) \,
#define Z_IS_2995_EQ_2995(...) \,
#define Z_IS_2996_EQ_2996(...) \,
#define Z_IS_2997_EQ_2997(...) \,
#define Z_IS_2998_EQ_2998(...) \,
#define Z_IS_2999_EQ_2999(...) \,
#define Z_IS_3000_EQ_3000(...) \,
#define Z_IS_3001_EQ_3001(...) \,
#define Z_IS_3002_EQ_3002(...) \,
#define Z_IS_3003_EQ_3003(...) \,
#define Z_IS_3004_EQ_3004(...) \,
#define Z_IS_3005_EQ_3005(...) \,
#define Z_IS_3006_EQ_3006(...) \,
#define Z_IS_3007_EQ_3007(...) \,
#define Z_IS_3008_EQ_3008(...) \,
#define Z_IS_3009_EQ_3009(...) \,
#define Z_IS_3010_EQ_3010(...) \,
#define Z_IS_3011_EQ_3011(...) \,
#define Z_IS_3012_EQ_3012(...) \,
#define Z_IS_3013_EQ_3013(...) \,
#define Z_IS_3014_EQ_3014(...) \,
#define Z_IS_3015_EQ_3015(...) \,
#define Z_IS_3016_EQ_3016(...) \,
#define Z_IS_3017_EQ_3017(...) \,
#define Z_IS_3018_EQ_3018(...) \,
#define Z_IS_3019_EQ_3019(...) \,
#define Z_IS_3020_EQ_3020(...) \,
#define Z_IS_3021_EQ_3021(...) \,
#define Z_IS_3022_EQ_3022(...) \,
#define Z_IS_3023_EQ_3023(...) \,
#define Z_IS_3024_EQ_3024(...) \,
#define Z_IS_3025_EQ_3025(...) \,
#define Z_IS_3026_EQ_3026(...) \,
#define Z_IS_3027_EQ_3027(...) \,
#define Z_IS_3028_EQ_3028(...) \,
#define Z_IS_3029_EQ_3029(...) \,
#define Z_IS_3030_EQ_3030(...) \,
#define Z_IS_3031_EQ_3031(...) \,
#define Z_IS_3032_EQ_3032(...) \,
#define Z_IS_3033_EQ_3033(...) \,
#define Z_IS_3034_EQ_3034(...) \,
#define Z_IS_3035_EQ_3035(...) \,
#define Z_IS_3036_EQ_3036(...) \,
#define Z_IS_3037_EQ_3037(...) \,
#define Z_IS_3038_EQ_3038(...) \,
#define Z_IS_3039_EQ_3039(...) \,
#define Z_IS_3040_EQ_3040(...) \,
#define Z_IS_3041_EQ_3041(...) \,
#define Z_IS_3042_EQ_3042(...) \,
#define Z_IS_3043_EQ_3043(...) \,
#define Z_IS_3044_EQ_3044(...) \,
#define Z_IS_3045_EQ_3045(...) \,
#define Z_IS_3046_EQ_3046(...) \,
#define Z_IS_3047_EQ_3047(...) \,
#define Z_IS_3048_EQ_3048(...) \,
#define Z_IS_3049_EQ_3049(...) \,
#define Z_IS_3050_EQ_3050(...) \,
#define Z_IS_3051_EQ_3051(...) \,
#define Z_IS_3052_EQ_3052(...) \,
#define Z_IS_3053_EQ_3053(...) \,
#define Z_IS_3054_EQ_3054(...) \,
#define Z_IS_3055_EQ_3055(...) \,
#define Z_IS_3056_EQ_3056(...) \,
#define Z_IS_3057_EQ_3057(...) \,
#define Z_IS_3058_EQ_3058(...) \,
#define Z_IS_3059_EQ_3059(...) \,
#define Z_IS_3060_EQ_3060(...) \,
#define Z_IS_3061_EQ_3061(...) \,
#define Z_IS_3062_EQ_3062(...) \,
#define Z_IS_3063_EQ_3063(...) \,
#define Z_IS_3064_EQ_3064(...) \,
#define Z_IS_3065_EQ_3065(...) \,
#define Z_IS_3066_EQ_3066(...) \,
#define Z_IS_3067_EQ_3067(...) \,
#define Z_IS_3068_EQ_3068(...) \,
#define Z_IS_3069_EQ_3069(...) \,
#define Z_IS_3070_EQ_3070(...) \,
#define Z_IS_3071_EQ_3071(...) \,
#define Z_IS_3072_EQ_3072(...) \,
#define Z_IS_3073_EQ_3073(...) \,
#define Z_IS_3074_EQ_3074(...) \,
#define Z_IS_3075_EQ_3075(...) \,
#define Z_IS_3076_EQ_3076(...) \,
#define Z_IS_3077_EQ_3077(...) \,
#define Z_IS_3078_EQ_3078(...) \,
#define Z_IS_3079_EQ_3079(...) \,
#define Z_IS_3080_EQ_3080(...) \,
#define Z_IS_3081_EQ_3081(...) \,
#define Z_IS_3082_EQ_3082(...) \,
#define Z_IS_3083_EQ_3083(...) \,
#define Z_IS_3084_EQ_3084(...) \,
#define Z_IS_3085_EQ_3085(...) \,
#define Z_IS_3086_EQ_3086(...) \,
#define Z_IS_3087_EQ_3087(...) \,
#define Z_IS_3088_EQ_3088(...) \,
#define Z_IS_3089_EQ_3089(...) \,
#define Z_IS_3090_EQ_3090(...) \,
#define Z_IS_3091_EQ_3091(...) \,
#define Z_IS_3092_EQ_3092(...) \,
#define Z_IS_3093_EQ_3093(...) \,
#define Z_IS_3094_EQ_3094(...) \,
#define Z_IS_3095_EQ_3095(...) \,
#define Z_IS_3096_EQ_3096(...) \,
#define Z_IS_3097_EQ_3097(...) \,
#define Z_IS_3098_EQ_3098(...) \,
#define Z_IS_3099_EQ_3099(...) \,
#define Z_IS_3100_EQ_3100(...) \,
#define Z_IS_3101_EQ_3101(...) \,
#define Z_IS_3102_EQ_3102(...) \,
#define Z_IS_3103_EQ_3103(...) \,
#define Z_IS_3104_EQ_3104(...) \,
#define Z_IS_3105_EQ_3105(...) \,
#define Z_IS_3106_EQ_3106(...) \,
#define Z_IS_3107_EQ_3107(...) \,
#define Z_IS_3108_EQ_3108(...) \,
#define Z_IS_3109_EQ_3109(...) \,
#define Z_IS_3110_EQ_3110(...) \,
#define Z_IS_3111_EQ_3111(...) \,
#define Z_IS_3112_EQ_3112(...) \,
#define Z_IS_3113_EQ_3113(...) \,
#define Z_IS_3114_EQ_3114(...) \,
#define Z_IS_3115_EQ_3115(...) \,
#define Z_IS_3116_EQ_3116(...) \,
#define Z_IS_3117_EQ_3117(...) \,
#define Z_IS_3118_EQ_3118(...) \,
#define Z_IS_3119_EQ_3119(...) \,
#define Z_IS_3120_EQ_3120(...) \,
#define Z_IS_3121_EQ_3121(...) \,
#define Z_IS_3122_EQ_3122(...) \,
#define Z_IS_3123_EQ_3123(...) \,
#define Z_IS_3124_EQ_3124(...) \,
#define Z_IS_3125_EQ_3125(...) \,
#define Z_IS_3126_EQ_3126(...) \,
#define Z_IS_3127_EQ_3127(...) \,
#define Z_IS_3128_EQ_3128(...) \,
#define Z_IS_3129_EQ_3129(...) \,
#define Z_IS_3130_EQ_3130(...) \,
#define Z_IS_3131_EQ_3131(...) \,
#define Z_IS_3132_EQ_3132(...) \,
#define Z_IS_3133_EQ_3133(...) \,
#define Z_IS_3134_EQ_3134(...) \,
#define Z_IS_3135_EQ_3135(...) \,
#define Z_IS_3136_EQ_3136(...) \,
#define Z_IS_3137_EQ_3137(...) \,
#define Z_IS_3138_EQ_3138(...) \,
#define Z_IS_3139_EQ_3139(...) \,
#define Z_IS_3140_EQ_3140(...) \,
#define Z_IS_3141_EQ_3141(...) \,
#define Z_IS_3142_EQ_3142(...) \,
#define Z_IS_3143_EQ_3143(...) \,
#define Z_IS_3144_EQ_3144(...) \,
#define Z_IS_3145_EQ_3145(...) \,
#define Z_IS_3146_EQ_3146(...) \,
#define Z_IS_3147_EQ_3147(...) \,
#define Z_IS_3148_EQ_3148(...) \,
#define Z_IS_3149_EQ_3149(...) \,
#define Z_IS_3150_EQ_3150(...) \,
#define Z_IS_3151_EQ_3151(...) \,
#define Z_IS_3152_EQ_3152(...) \,
#define Z_IS_3153_EQ_3153(...) \,
#define Z_IS_3154_EQ_3154(...) \,
#define Z_IS_3155_EQ_3155(...) \,
#define Z_IS_3156_EQ_3156(...) \,
#define Z_IS_3157_EQ_3157(...) \,
#define Z_IS_3158_EQ_3158(...) \,
#define Z_IS_3159_EQ_3159(...) \,
#define Z_IS_3160_EQ_3160(...) \,
#define Z_IS_3161_EQ_3161(...) \,
#define Z_IS_3162_EQ_3162(...) \,
#define Z_IS_3163_EQ_3163(...) \,
#define Z_IS_3164_EQ_3164(...) \,
#define Z_IS_3165_EQ_3165(...) \,
#define Z_IS_3166_EQ_3166(...) \,
#define Z_IS_3167_EQ_3167(...) \,
#define Z_IS_3168_EQ_3168(...) \,
#define Z_IS_3169_EQ_3169(...) \,
#define Z_IS_3170_EQ_3170(...) \,
#define Z_IS_3171_EQ_3171(...) \,
#define Z_IS_3172_EQ_3172(...) \,
#define Z_IS_3173_EQ_3173(...) \,
#define Z_IS_3174_EQ_3174(...) \,
#define Z_IS_3175_EQ_3175(...) \,
#define Z_IS_3176_EQ_3176(...) \,
#define Z_IS_3177_EQ_3177(...) \,
#define Z_IS_3178_EQ_3178(...) \,
#define Z_IS_3179_EQ_3179(...) \,
#define Z_IS_3180_EQ_3180(...) \,
#define Z_IS_3181_EQ_3181(...) \,
#define Z_IS_3182_EQ_3182(...) \,
#define Z_IS_3183_EQ_3183(...) \,
#define Z_IS_3184_EQ_3184(...) \,
#define Z_IS_3185_EQ_3185(...) \,
#define Z_IS_3186_EQ_3186(...) \,
#define Z_IS_3187_EQ_3187(...) \,
#define Z_IS_3188_EQ_3188(...) \,
#define Z_IS_3189_EQ_3189(...) \,
#define Z_IS_3190_EQ_3190(...) \,
#define Z_IS_3191_EQ_3191(...) \,
#define Z_IS_3192_EQ_3192(...) \,
#define Z_IS_3193_EQ_3193(...) \,
#define Z_IS_3194_EQ_3194(...) \,
#define Z_IS_3195_EQ_3195(...) \,
#define Z_IS_3196_EQ_3196(...) \,
#define Z_IS_3197_EQ_3197(...) \,
#define Z_IS_3198_EQ_3198(...) \,
#define Z_IS_3199_EQ_3199(...) \,
#define Z_IS_3200_EQ_3200(...) \,
#define Z_IS_3201_EQ_3201(...) \,
#define Z_IS_3202_EQ_3202(...) \,
#define Z_IS_3203_EQ_3203(...) \,
#define Z_IS_3204_EQ_3204(...) \,
#define Z_IS_3205_EQ_3205(...) \,
#define Z_IS_3206_EQ_3206(...) \,
#define Z_IS_3207_EQ_3207(...) \,
#define Z_IS_3208_EQ_3208(...) \,
#define Z_IS_3209_EQ_3209(...) \,
#define Z_IS_3210_EQ_3210(...) \,
#define Z_IS_3211_EQ_3211(...) \,
#define Z_IS_3212_EQ_3212(...) \,
#define Z_IS_3213_EQ_3213(...) \,
#define Z_IS_3214_EQ_3214(...) \,
#define Z_IS_3215_EQ_3215(...) \,
#define Z_IS_3216_EQ_3216(...) \,
#define Z_IS_3217_EQ_3217(...) \,
#define Z_IS_3218_EQ_3218(...) \,
#define Z_IS_3219_EQ_3219(...) \,
#define Z_IS_3220_EQ_3220(...) \,
#define Z_IS_3221_EQ_3221(...) \,
#define Z_IS_3222_EQ_3222(...) \,
#define Z_IS_3223_EQ_3223(...) \,
#define Z_IS_3224_EQ_3224(...) \,
#define Z_IS_3225_EQ_3225(...) \,
#define Z_IS_3226_EQ_3226(...) \,
#define Z_IS_3227_EQ_3227(...) \,
#define Z_IS_3228_EQ_3228(...) \,
#define Z_IS_3229_EQ_3229(...) \,
#define Z_IS_3230_EQ_3230(...) \,
#define Z_IS_3231_EQ_3231(...) \,
#define Z_IS_3232_EQ_3232(...) \,
#define Z_IS_3233_EQ_3233(...) \,
#define Z_IS_3234_EQ_3234(...) \,
#define Z_IS_3235_EQ_3235(...) \,
#define Z_IS_3236_EQ_3236(...) \,
#define Z_IS_3237_EQ_3237(...) \,
#define Z_IS_3238_EQ_3238(...) \,
#define Z_IS_3239_EQ_3239(...) \,
#define Z_IS_3240_EQ_3240(...) \,
#define Z_IS_3241_EQ_3241(...) \,
#define Z_IS_3242_EQ_3242(...) \,
#define Z_IS_3243_EQ_3243(...) \,
#define Z_IS_3244_EQ_3244(...) \,
#define Z_IS_3245_EQ_3245(...) \,
#define Z_IS_3246_EQ_3246(...) \,
#define Z_IS_3247_EQ_3247(...) \,
#define Z_IS_3248_EQ_3248(...) \,
#define Z_IS_3249_EQ_3249(...) \,
#define Z_IS_3250_EQ_3250(...) \,
#define Z_IS_3251_EQ_3251(...) \,
#define Z_IS_3252_EQ_3252(...) \,
#define Z_IS_3253_EQ_3253(...) \,
#define Z_IS_3254_EQ_3254(...) \,
#define Z_IS_3255_EQ_3255(...) \,
#define Z_IS_3256_EQ_3256(...) \,
#define Z_IS_3257_EQ_3257(...) \,
#define Z_IS_3258_EQ_3258(...) \,
#define Z_IS_3259_EQ_3259(...) \,
#define Z_IS_3260_EQ_3260(...) \,
#define Z_IS_3261_EQ_3261(...) \,
#define Z_IS_3262_EQ_3262(...) \,
#define Z_IS_3263_EQ_3263(...) \,
#define Z_IS_3264_EQ_3264(...) \,
#define Z_IS_3265_EQ_3265(...) \,
#define Z_IS_3266_EQ_3266(...) \,
#define Z_IS_3267_EQ_3267(...) \,
#define Z_IS_3268_EQ_3268(...) \,
#define Z_IS_3269_EQ_3269(...) \,
#define Z_IS_3270_EQ_3270(...) \,
#define Z_IS_3271_EQ_3271(...) \,
#define Z_IS_3272_EQ_3272(...) \,
#define Z_IS_3273_EQ_3273(...) \,
#define Z_IS_3274_EQ_3274(...) \,
#define Z_IS_3275_EQ_3275(...) \,
#define Z_IS_3276_EQ_3276(...) \,
#define Z_IS_3277_EQ_3277(...) \,
#define Z_IS_3278_EQ_3278(...) \,
#define Z_IS_3279_EQ_3279(...) \,
#define Z_IS_3280_EQ_3280(...) \,
#define Z_IS_3281_EQ_3281(...) \,
#define Z_IS_3282_EQ_3282(...) \,
#define Z_IS_3283_EQ_3283(...) \,
#define Z_IS_3284_EQ_3284(...) \,
#define Z_IS_3285_EQ_3285(...) \,
#define Z_IS_3286_EQ_3286(...) \,
#define Z_IS_3287_EQ_3287(...) \,
#define Z_IS_3288_EQ_3288(...) \,
#define Z_IS_3289_EQ_3289(...) \,
#define Z_IS_3290_EQ_3290(...) \,
#define Z_IS_3291_EQ_3291(...) \,
#define Z_IS_3292_EQ_3292(...) \,
#define Z_IS_3293_EQ_3293(...) \,
#define Z_IS_3294_EQ_3294(...) \,
#define Z_IS_3295_EQ_3295(...) \,
#define Z_IS_3296_EQ_3296(...) \,
#define Z_IS_3297_EQ_3297(...) \,
#define Z_IS_3298_EQ_3298(...) \,
#define Z_IS_3299_EQ_3299(...) \,
#define Z_IS_3300_EQ_3300(...) \,
#define Z_IS_3301_EQ_3301(...) \,
#define Z_IS_3302_EQ_3302(...) \,
#define Z_IS_3303_EQ_3303(...) \,
#define Z_IS_3304_EQ_3304(...) \,
#define Z_IS_3305_EQ_3305(...) \,
#define Z_IS_3306_EQ_3306(...) \,
#define Z_IS_3307_EQ_3307(...) \,
#define Z_IS_3308_EQ_3308(...) \,
#define Z_IS_3309_EQ_3309(...) \,
#define Z_IS_3310_EQ_3310(...) \,
#define Z_IS_3311_EQ_3311(...) \,
#define Z_IS_3312_EQ_3312(...) \,
#define Z_IS_3313_EQ_3313(...) \,
#define Z_IS_3314_EQ_3314(...) \,
#define Z_IS_3315_EQ_3315(...) \,
#define Z_IS_3316_EQ_3316(...) \,
#define Z_IS_3317_EQ_3317(...) \,
#define Z_IS_3318_EQ_3318(...) \,
#define Z_IS_3319_EQ_3319(...) \,
#define Z_IS_3320_EQ_3320(...) \,
#define Z_IS_3321_EQ_3321(...) \,
#define Z_IS_3322_EQ_3322(...) \,
#define Z_IS_3323_EQ_3323(...) \,
#define Z_IS_3324_EQ_3324(...) \,
#define Z_IS_3325_EQ_3325(...) \,
#define Z_IS_3326_EQ_3326(...) \,
#define Z_IS_3327_EQ_3327(...) \,
#define Z_IS_3328_EQ_3328(...) \,
#define Z_IS_3329_EQ_3329(...) \,
#define Z_IS_3330_EQ_3330(...) \,
#define Z_IS_3331_EQ_3331(...) \,
#define Z_IS_3332_EQ_3332(...) \,
#define Z_IS_3333_EQ_3333(...) \,
#define Z_IS_3334_EQ_3334(...) \,
#define Z_IS_3335_EQ_3335(...) \,
#define Z_IS_3336_EQ_3336(...) \,
#define Z_IS_3337_EQ_3337(...) \,
#define Z_IS_3338_EQ_3338(...) \,
#define Z_IS_3339_EQ_3339(...) \,
#define Z_IS_3340_EQ_3340(...) \,
#define Z_IS_3341_EQ_3341(...) \,
#define Z_IS_3342_EQ_3342(...) \,
#define Z_IS_3343_EQ_3343(...) \,
#define Z_IS_3344_EQ_3344(...) \,
#define Z_IS_3345_EQ_3345(...) \,
#define Z_IS_3346_EQ_3346(...) \,
#define Z_IS_3347_EQ_3347(...) \,
#define Z_IS_3348_EQ_3348(...) \,
#define Z_IS_3349_EQ_3349(...) \,
#define Z_IS_3350_EQ_3350(...) \,
#define Z_IS_3351_EQ_3351(...) \,
#define Z_IS_3352_EQ_3352(...) \,
#define Z_IS_3353_EQ_3353(...) \,
#define Z_IS_3354_EQ_3354(...) \,
#define Z_IS_3355_EQ_3355(...) \,
#define Z_IS_3356_EQ_3356(...) \,
#define Z_IS_3357_EQ_3357(...) \,
#define Z_IS_3358_EQ_3358(...) \,
#define Z_IS_3359_EQ_3359(...) \,
#define Z_IS_3360_EQ_3360(...) \,
#define Z_IS_3361_EQ_3361(...) \,
#define Z_IS_3362_EQ_3362(...) \,
#define Z_IS_3363_EQ_3363(...) \,
#define Z_IS_3364_EQ_3364(...) \,
#define Z_IS_3365_EQ_3365(...) \,
#define Z_IS_3366_EQ_3366(...) \,
#define Z_IS_3367_EQ_3367(...) \,
#define Z_IS_3368_EQ_3368(...) \,
#define Z_IS_3369_EQ_3369(...) \,
#define Z_IS_3370_EQ_3370(...) \,
#define Z_IS_3371_EQ_3371(...) \,
#define Z_IS_3372_EQ_3372(...) \,
#define Z_IS_3373_EQ_3373(...) \,
#define Z_IS_3374_EQ_3374(...) \,
#define Z_IS_3375_EQ_3375(...) \,
#define Z_IS_3376_EQ_3376(...) \,
#define Z_IS_3377_EQ_3377(...) \,
#define Z_IS_3378_EQ_3378(...) \,
#define Z_IS_3379_EQ_3379(...) \,
#define Z_IS_3380_EQ_3380(...) \,
#define Z_IS_3381_EQ_3381(...) \,
#define Z_IS_3382_EQ_3382(...) \,
#define Z_IS_3383_EQ_3383(...) \,
#define Z_IS_3384_EQ_3384(...) \,
#define Z_IS_3385_EQ_3385(...) \,
#define Z_IS_3386_EQ_3386(...) \,
#define Z_IS_3387_EQ_3387(...) \,
#define Z_IS_3388_EQ_3388(...) \,
#define Z_IS_3389_EQ_3389(...) \,
#define Z_IS_3390_EQ_3390(...) \,
#define Z_IS_3391_EQ_3391(...) \,
#define Z_IS_3392_EQ_3392(...) \,
#define Z_IS_3393_EQ_3393(...) \,
#define Z_IS_3394_EQ_3394(...) \,
#define Z_IS_3395_EQ_3395(...) \,
#define Z_IS_3396_EQ_3396(...) \,
#define Z_IS_3397_EQ_3397(...) \,
#define Z_IS_3398_EQ_3398(...) \,
#define Z_IS_3399_EQ_3399(...) \,
#define Z_IS_3400_EQ_3400(...) \,
#define Z_IS_3401_EQ_3401(...) \,
#define Z_IS_3402_EQ_3402(...) \,
#define Z_IS_3403_EQ_3403(...) \,
#define Z_IS_3404_EQ_3404(...) \,
#define Z_IS_3405_EQ_3405(...) \,
#define Z_IS_3406_EQ_3406(...) \,
#define Z_IS_3407_EQ_3407(...) \,
#define Z_IS_3408_EQ_3408(...) \,
#define Z_IS_3409_EQ_3409(...) \,
#define Z_IS_3410_EQ_3410(...) \,
#define Z_IS_3411_EQ_3411(...) \,
#define Z_IS_3412_EQ_3412(...) \,
#define Z_IS_3413_EQ_3413(...) \,
#define Z_IS_3414_EQ_3414(...) \,
#define Z_IS_3415_EQ_3415(...) \,
#define Z_IS_3416_EQ_3416(...) \,
#define Z_IS_3417_EQ_3417(...) \,
#define Z_IS_3418_EQ_3418(...) \,
#define Z_IS_3419_EQ_3419(...) \,
#define Z_IS_3420_EQ_3420(...) \,
#define Z_IS_3421_EQ_3421(...) \,
#define Z_IS_3422_EQ_3422(...) \,
#define Z_IS_3423_EQ_3423(...) \,
#define Z_IS_3424_EQ_3424(...) \,
#define Z_IS_3425_EQ_3425(...) \,
#define Z_IS_3426_EQ_3426(...) \,
#define Z_IS_3427_EQ_3427(...) \,
#define Z_IS_3428_EQ_3428(...) \,
#define Z_IS_3429_EQ_3429(...) \,
#define Z_IS_3430_EQ_3430(...) \,
#define Z_IS_3431_EQ_3431(...) \,
#define Z_IS_3432_EQ_3432(...) \,
#define Z_IS_3433_EQ_3433(...) \,
#define Z_IS_3434_EQ_3434(...) \,
#define Z_IS_3435_EQ_3435(...) \,
#define Z_IS_3436_EQ_3436(...) \,
#define Z_IS_3437_EQ_3437(...) \,
#define Z_IS_3438_EQ_3438(...) \,
#define Z_IS_3439_EQ_3439(...) \,
#define Z_IS_3440_EQ_3440(...) \,
#define Z_IS_3441_EQ_3441(...) \,
#define Z_IS_3442_EQ_3442(...) \,
#define Z_IS_3443_EQ_3443(...) \,
#define Z_IS_3444_EQ_3444(...) \,
#define Z_IS_3445_EQ_3445(...) \,
#define Z_IS_3446_EQ_3446(...) \,
#define Z_IS_3447_EQ_3447(...) \,
#define Z_IS_3448_EQ_3448(...) \,
#define Z_IS_3449_EQ_3449(...) \,
#define Z_IS_3450_EQ_3450(...) \,
#define Z_IS_3451_EQ_3451(...) \,
#define Z_IS_3452_EQ_3452(...) \,
#define Z_IS_3453_EQ_3453(...) \,
#define Z_IS_3454_EQ_3454(...) \,
#define Z_IS_3455_EQ_3455(...) \,
#define Z_IS_3456_EQ_3456(...) \,
#define Z_IS_3457_EQ_3457(...) \,
#define Z_IS_3458_EQ_3458(...) \,
#define Z_IS_3459_EQ_3459(...) \,
#define Z_IS_3460_EQ_3460(...) \,
#define Z_IS_3461_EQ_3461(...) \,
#define Z_IS_3462_EQ_3462(...) \,
#define Z_IS_3463_EQ_3463(...) \,
#define Z_IS_3464_EQ_3464(...) \,
#define Z_IS_3465_EQ_3465(...) \,
#define Z_IS_3466_EQ_3466(...) \,
#define Z_IS_3467_EQ_3467(...) \,
#define Z_IS_3468_EQ_3468(...) \,
#define Z_IS_3469_EQ_3469(...) \,
#define Z_IS_3470_EQ_3470(...) \,
#define Z_IS_3471_EQ_3471(...) \,
#define Z_IS_3472_EQ_3472(...) \,
#define Z_IS_3473_EQ_3473(...) \,
#define Z_IS_3474_EQ_3474(...) \,
#define Z_IS_3475_EQ_3475(...) \,
#define Z_IS_3476_EQ_3476(...) \,
#define Z_IS_3477_EQ_3477(...) \,
#define Z_IS_3478_EQ_3478(...) \,
#define Z_IS_3479_EQ_3479(...) \,
#define Z_IS_3480_EQ_3480(...) \,
#define Z_IS_3481_EQ_3481(...) \,
#define Z_IS_3482_EQ_3482(...) \,
#define Z_IS_3483_EQ_3483(...) \,
#define Z_IS_3484_EQ_3484(...) \,
#define Z_IS_3485_EQ_3485(...) \,
#define Z_IS_3486_EQ_3486(...) \,
#define Z_IS_3487_EQ_3487(...) \,
#define Z_IS_3488_EQ_3488(...) \,
#define Z_IS_3489_EQ_3489(...) \,
#define Z_IS_3490_EQ_3490(...) \,
#define Z_IS_3491_EQ_3491(...) \,
#define Z_IS_3492_EQ_3492(...) \,
#define Z_IS_3493_EQ_3493(...) \,
#define Z_IS_3494_EQ_3494(...) \,
#define Z_IS_3495_EQ_3495(...) \,
#define Z_IS_3496_EQ_3496(...) \,
#define Z_IS_3497_EQ_3497(...) \,
#define Z_IS_3498_EQ_3498(...) \,
#define Z_IS_3499_EQ_3499(...) \,
#define Z_IS_3500_EQ_3500(...) \,
#define Z_IS_3501_EQ_3501(...) \,
#define Z_IS_3502_EQ_3502(...) \,
#define Z_IS_3503_EQ_3503(...) \,
#define Z_IS_3504_EQ_3504(...) \,
#define Z_IS_3505_EQ_3505(...) \,
#define Z_IS_3506_EQ_3506(...) \,
#define Z_IS_3507_EQ_3507(...) \,
#define Z_IS_3508_EQ_3508(...) \,
#define Z_IS_3509_EQ_3509(...) \,
#define Z_IS_3510_EQ_3510(...) \,
#define Z_IS_3511_EQ_3511(...) \,
#define Z_IS_3512_EQ_3512(...) \,
#define Z_IS_3513_EQ_3513(...) \,
#define Z_IS_3514_EQ_3514(...) \,
#define Z_IS_3515_EQ_3515(...) \,
#define Z_IS_3516_EQ_3516(...) \,
#define Z_IS_3517_EQ_3517(...) \,
#define Z_IS_3518_EQ_3518(...) \,
#define Z_IS_3519_EQ_3519(...) \,
#define Z_IS_3520_EQ_3520(...) \,
#define Z_IS_3521_EQ_3521(...) \,
#define Z_IS_3522_EQ_3522(...) \,
#define Z_IS_3523_EQ_3523(...) \,
#define Z_IS_3524_EQ_3524(...) \,
#define Z_IS_3525_EQ_3525(...) \,
#define Z_IS_3526_EQ_3526(...) \,
#define Z_IS_3527_EQ_3527(...) \,
#define Z_IS_3528_EQ_3528(...) \,
#define Z_IS_3529_EQ_3529(...) \,
#define Z_IS_3530_EQ_3530(...) \,
#define Z_IS_3531_EQ_3531(...) \,
#define Z_IS_3532_EQ_3532(...) \,
#define Z_IS_3533_EQ_3533(...) \,
#define Z_IS_3534_EQ_3534(...) \,
#define Z_IS_3535_EQ_3535(...) \,
#define Z_IS_3536_EQ_3536(...) \,
#define Z_IS_3537_EQ_3537(...) \,
#define Z_IS_3538_EQ_3538(...) \,
#define Z_IS_3539_EQ_3539(...) \,
#define Z_IS_3540_EQ_3540(...) \,
#define Z_IS_3541_EQ_3541(...) \,
#define Z_IS_3542_EQ_3542(...) \,
#define Z_IS_3543_EQ_3543(...) \,
#define Z_IS_3544_EQ_3544(...) \,
#define Z_IS_3545_EQ_3545(...) \,
#define Z_IS_3546_EQ_3546(...) \,
#define Z_IS_3547_EQ_3547(...) \,
#define Z_IS_3548_EQ_3548(...) \,
#define Z_IS_3549_EQ_3549(...) \,
#define Z_IS_3550_EQ_3550(...) \,
#define Z_IS_3551_EQ_3551(...) \,
#define Z_IS_3552_EQ_3552(...) \,
#define Z_IS_3553_EQ_3553(...) \,
#define Z_IS_3554_EQ_3554(...) \,
#define Z_IS_3555_EQ_3555(...) \,
#define Z_IS_3556_EQ_3556(...) \,
#define Z_IS_3557_EQ_3557(...) \,
#define Z_IS_3558_EQ_3558(...) \,
#define Z_IS_3559_EQ_3559(...) \,
#define Z_IS_3560_EQ_3560(...) \,
#define Z_IS_3561_EQ_3561(...) \,
#define Z_IS_3562_EQ_3562(...) \,
#define Z_IS_3563_EQ_3563(...) \,
#define Z_IS_3564_EQ_3564(...) \,
#define Z_IS_3565_EQ_3565(...) \,
#define Z_IS_3566_EQ_3566(...) \,
#define Z_IS_3567_EQ_3567(...) \,
#define Z_IS_3568_EQ_3568(...) \,
#define Z_IS_3569_EQ_3569(...) \,
#define Z_IS_3570_EQ_3570(...) \,
#define Z_IS_3571_EQ_3571(...) \,
#define Z_IS_3572_EQ_3572(...) \,
#define Z_IS_3573_EQ_3573(...) \,
#define Z_IS_3574_EQ_3574(...) \,
#define Z_IS_3575_EQ_3575(...) \,
#define Z_IS_3576_EQ_3576(...) \,
#define Z_IS_3577_EQ_3577(...) \,
#define Z_IS_3578_EQ_3578(...) \,
#define Z_IS_3579_EQ_3579(...) \,
#define Z_IS_3580_EQ_3580(...) \,
#define Z_IS_3581_EQ_3581(...) \,
#define Z_IS_3582_EQ_3582(...) \,
#define Z_IS_3583_EQ_3583(...) \,
#define Z_IS_3584_EQ_3584(...) \,
#define Z_IS_3585_EQ_3585(...) \,
#define Z_IS_3586_EQ_3586(...) \,
#define Z_IS_3587_EQ_3587(...) \,
#define Z_IS_3588_EQ_3588(...) \,
#define Z_IS_3589_EQ_3589(...) \,
#define Z_IS_3590_EQ_3590(...) \,
#define Z_IS_3591_EQ_3591(...) \,
#define Z_IS_3592_EQ_3592(...) \,
#define Z_IS_3593_EQ_3593(...) \,
#define Z_IS_3594_EQ_3594(...) \,
#define Z_IS_3595_EQ_3595(...) \,
#define Z_IS_3596_EQ_3596(...) \,
#define Z_IS_3597_EQ_3597(...) \,
#define Z_IS_3598_EQ_3598(...) \,
#define Z_IS_3599_EQ_3599(...) \,
#define Z_IS_3600_EQ_3600(...) \,
#define Z_IS_3601_EQ_3601(...) \,
#define Z_IS_3602_EQ_3602(...) \,
#define Z_IS_3603_EQ_3603(...) \,
#define Z_IS_3604_EQ_3604(...) \,
#define Z_IS_3605_EQ_3605(...) \,
#define Z_IS_3606_EQ_3606(...) \,
#define Z_IS_3607_EQ_3607(...) \,
#define Z_IS_3608_EQ_3608(...) \,
#define Z_IS_3609_EQ_3609(...) \,
#define Z_IS_3610_EQ_3610(...) \,
#define Z_IS_3611_EQ_3611(...) \,
#define Z_IS_3612_EQ_3612(...) \,
#define Z_IS_3613_EQ_3613(...) \,
#define Z_IS_3614_EQ_3614(...) \,
#define Z_IS_3615_EQ_3615(...) \,
#define Z_IS_3616_EQ_3616(...) \,
#define Z_IS_3617_EQ_3617(...) \,
#define Z_IS_3618_EQ_3618(...) \,
#define Z_IS_3619_EQ_3619(...) \,
#define Z_IS_3620_EQ_3620(...) \,
#define Z_IS_3621_EQ_3621(...) \,
#define Z_IS_3622_EQ_3622(...) \,
#define Z_IS_3623_EQ_3623(...) \,
#define Z_IS_3624_EQ_3624(...) \,
#define Z_IS_3625_EQ_3625(...) \,
#define Z_IS_3626_EQ_3626(...) \,
#define Z_IS_3627_EQ_3627(...) \,
#define Z_IS_3628_EQ_3628(...) \,
#define Z_IS_3629_EQ_3629(...) \,
#define Z_IS_3630_EQ_3630(...) \,
#define Z_IS_3631_EQ_3631(...) \,
#define Z_IS_3632_EQ_3632(...) \,
#define Z_IS_3633_EQ_3633(...) \,
#define Z_IS_3634_EQ_3634(...) \,
#define Z_IS_3635_EQ_3635(...) \,
#define Z_IS_3636_EQ_3636(...) \,
#define Z_IS_3637_EQ_3637(...) \,
#define Z_IS_3638_EQ_3638(...) \,
#define Z_IS_3639_EQ_3639(...) \,
#define Z_IS_3640_EQ_3640(...) \,
#define Z_IS_3641_EQ_3641(...) \,
#define Z_IS_3642_EQ_3642(...) \,
#define Z_IS_3643_EQ_3643(...) \,
#define Z_IS_3644_EQ_3644(...) \,
#define Z_IS_3645_EQ_3645(...) \,
#define Z_IS_3646_EQ_3646(...) \,
#define Z_IS_3647_EQ_3647(...) \,
#define Z_IS_3648_EQ_3648(...) \,
#define Z_IS_3649_EQ_3649(...) \,
#define Z_IS_3650_EQ_3650(...) \,
#define Z_IS_3651_EQ_3651(...) \,
#define Z_IS_3652_EQ_3652(...) \,
#define Z_IS_3653_EQ_3653(...) \,
#define Z_IS_3654_EQ_3654(...) \,
#define Z_IS_3655_EQ_3655(...) \,
#define Z_IS_3656_EQ_3656(...) \,
#define Z_IS_3657_EQ_3657(...) \,
#define Z_IS_3658_EQ_3658(...) \,
#define Z_IS_3659_EQ_3659(...) \,
#define Z_IS_3660_EQ_3660(...) \,
#define Z_IS_3661_EQ_3661(...) \,
#define Z_IS_3662_EQ_3662(...) \,
#define Z_IS_3663_EQ_3663(...) \,
#define Z_IS_3664_EQ_3664(...) \,
#define Z_IS_3665_EQ_3665(...) \,
#define Z_IS_3666_EQ_3666(...) \,
#define Z_IS_3667_EQ_3667(...) \,
#define Z_IS_3668_EQ_3668(...) \,
#define Z_IS_3669_EQ_3669(...) \,
#define Z_IS_3670_EQ_3670(...) \,
#define Z_IS_3671_EQ_3671(...) \,
#define Z_IS_3672_EQ_3672(...) \,
#define Z_IS_3673_EQ_3673(...) \,
#define Z_IS_3674_EQ_3674(...) \,
#define Z_IS_3675_EQ_3675(...) \,
#define Z_IS_3676_EQ_3676(...) \,
#define Z_IS_3677_EQ_3677(...) \,
#define Z_IS_3678_EQ_3678(...) \,
#define Z_IS_3679_EQ_3679(...) \,
#define Z_IS_3680_EQ_3680(...) \,
#define Z_IS_3681_EQ_3681(...) \,
#define Z_IS_3682_EQ_3682(...) \,
#define Z_IS_3683_EQ_3683(...) \,
#define Z_IS_3684_EQ_3684(...) \,
#define Z_IS_3685_EQ_3685(...) \,
#define Z_IS_3686_EQ_3686(...) \,
#define Z_IS_3687_EQ_3687(...) \,
#define Z_IS_3688_EQ_3688(...) \,
#define Z_IS_3689_EQ_3689(...) \,
#define Z_IS_3690_EQ_3690(...) \,
#define Z_IS_3691_EQ_3691(...) \,
#define Z_IS_3692_EQ_3692(...) \,
#define Z_IS_3693_EQ_3693(...) \,
#define Z_IS_3694_EQ_3694(...) \,
#define Z_IS_3695_EQ_3695(...) \,
#define Z_IS_3696_EQ_3696(...) \,
#define Z_IS_3697_EQ_3697(...) \,
#define Z_IS_3698_EQ_3698(...) \,
#define Z_IS_3699_EQ_3699(...) \,
#define Z_IS_3700_EQ_3700(...) \,
#define Z_IS_3701_EQ_3701(...) \,
#define Z_IS_3702_EQ_3702(...) \,
#define Z_IS_3703_EQ_3703(...) \,
#define Z_IS_3704_EQ_3704(...) \,
#define Z_IS_3705_EQ_3705(...) \,
#define Z_IS_3706_EQ_3706(...) \,
#define Z_IS_3707_EQ_3707(...) \,
#define Z_IS_3708_EQ_3708(...) \,
#define Z_IS_3709_EQ_3709(...) \,
#define Z_IS_3710_EQ_3710(...) \,
#define Z_IS_3711_EQ_3711(...) \,
#define Z_IS_3712_EQ_3712(...) \,
#define Z_IS_3713_EQ_3713(...) \,
#define Z_IS_3714_EQ_3714(...) \,
#define Z_IS_3715_EQ_3715(...) \,
#define Z_IS_3716_EQ_3716(...) \,
#define Z_IS_3717_EQ_3717(...) \,
#define Z_IS_3718_EQ_3718(...) \,
#define Z_IS_3719_EQ_3719(...) \,
#define Z_IS_3720_EQ_3720(...) \,
#define Z_IS_3721_EQ_3721(...) \,
#define Z_IS_3722_EQ_3722(...) \,
#define Z_IS_3723_EQ_3723(...) \,
#define Z_IS_3724_EQ_3724(...) \,
#define Z_IS_3725_EQ_3725(...) \,
#define Z_IS_3726_EQ_3726(...) \,
#define Z_IS_3727_EQ_3727(...) \,
#define Z_IS_3728_EQ_3728(...) \,
#define Z_IS_3729_EQ_3729(...) \,
#define Z_IS_3730_EQ_3730(...) \,
#define Z_IS_3731_EQ_3731(...) \,
#define Z_IS_3732_EQ_3732(...) \,
#define Z_IS_3733_EQ_3733(...) \,
#define Z_IS_3734_EQ_3734(...) \,
#define Z_IS_3735_EQ_3735(...) \,
#define Z_IS_3736_EQ_3736(...) \,
#define Z_IS_3737_EQ_3737(...) \,
#define Z_IS_3738_EQ_3738(...) \,
#define Z_IS_3739_EQ_3739(...) \,
#define Z_IS_3740_EQ_3740(...) \,
#define Z_IS_3741_EQ_3741(...) \,
#define Z_IS_3742_EQ_3742(...) \,
#define Z_IS_3743_EQ_3743(...) \,
#define Z_IS_3744_EQ_3744(...) \,
#define Z_IS_3745_EQ_3745(...) \,
#define Z_IS_3746_EQ_3746(...) \,
#define Z_IS_3747_EQ_3747(...) \,
#define Z_IS_3748_EQ_3748(...) \,
#define Z_IS_3749_EQ_3749(...) \,
#define Z_IS_3750_EQ_3750(...) \,
#define Z_IS_3751_EQ_3751(...) \,
#define Z_IS_3752_EQ_3752(...) \,
#define Z_IS_3753_EQ_3753(...) \,
#define Z_IS_3754_EQ_3754(...) \,
#define Z_IS_3755_EQ_3755(...) \,
#define Z_IS_3756_EQ_3756(...) \,
#define Z_IS_3757_EQ_3757(...) \,
#define Z_IS_3758_EQ_3758(...) \,
#define Z_IS_3759_EQ_3759(...) \,
#define Z_IS_3760_EQ_3760(...) \,
#define Z_IS_3761_EQ_3761(...) \,
#define Z_IS_3762_EQ_3762(...) \,
#define Z_IS_3763_EQ_3763(...) \,
#define Z_IS_3764_EQ_3764(...) \,
#define Z_IS_3765_EQ_3765(...) \,
#define Z_IS_3766_EQ_3766(...) \,
#define Z_IS_3767_EQ_3767(...) \,
#define Z_IS_3768_EQ_3768(...) \,
#define Z_IS_3769_EQ_3769(...) \,
#define Z_IS_3770_EQ_3770(...) \,
#define Z_IS_3771_EQ_3771(...) \,
#define Z_IS_3772_EQ_3772(...) \,
#define Z_IS_3773_EQ_3773(...) \,
#define Z_IS_3774_EQ_3774(...) \,
#define Z_IS_3775_EQ_3775(...) \,
#define Z_IS_3776_EQ_3776(...) \,
#define Z_IS_3777_EQ_3777(...) \,
#define Z_IS_3778_EQ_3778(...) \,
#define Z_IS_3779_EQ_3779(...) \,
#define Z_IS_3780_EQ_3780(...) \,
#define Z_IS_3781_EQ_3781(...) \,
#define Z_IS_3782_EQ_3782(...) \,
#define Z_IS_3783_EQ_3783(...) \,
#define Z_IS_3784_EQ_3784(...) \,
#define Z_IS_3785_EQ_3785(...) \,
#define Z_IS_3786_EQ_3786(...) \,
#define Z_IS_3787_EQ_3787(...) \,
#define Z_IS_3788_EQ_3788(...) \,
#define Z_IS_3789_EQ_3789(...) \,
#define Z_IS_3790_EQ_3790(...) \,
#define Z_IS_3791_EQ_3791(...) \,
#define Z_IS_3792_EQ_3792(...) \,
#define Z_IS_3793_EQ_3793(...) \,
#define Z_IS_3794_EQ_3794(...) \,
#define Z_IS_3795_EQ_3795(...) \,
#define Z_IS_3796_EQ_3796(...) \,
#define Z_IS_3797_EQ_3797(...) \,
#define Z_IS_3798_EQ_3798(...) \,
#define Z_IS_3799_EQ_3799(...) \,
#define Z_IS_3800_EQ_3800(...) \,
#define Z_IS_3801_EQ_3801(...) \,
#define Z_IS_3802_EQ_3802(...) \,
#define Z_IS_3803_EQ_3803(...) \,
#define Z_IS_3804_EQ_3804(...) \,
#define Z_IS_3805_EQ_3805(...) \,
#define Z_IS_3806_EQ_3806(...) \,
#define Z_IS_3807_EQ_3807(...) \,
#define Z_IS_3808_EQ_3808(...) \,
#define Z_IS_3809_EQ_3809(...) \,
#define Z_IS_3810_EQ_3810(...) \,
#define Z_IS_3811_EQ_3811(...) \,
#define Z_IS_3812_EQ_3812(...) \,
#define Z_IS_3813_EQ_3813(...) \,
#define Z_IS_3814_EQ_3814(...) \,
#define Z_IS_3815_EQ_3815(...) \,
#define Z_IS_3816_EQ_3816(...) \,
#define Z_IS_3817_EQ_3817(...) \,
#define Z_IS_3818_EQ_3818(...) \,
#define Z_IS_3819_EQ_3819(...) \,
#define Z_IS_3820_EQ_3820(...) \,
#define Z_IS_3821_EQ_3821(...) \,
#define Z_IS_3822_EQ_3822(...) \,
#define Z_IS_3823_EQ_3823(...) \,
#define Z_IS_3824_EQ_3824(...) \,
#define Z_IS_3825_EQ_3825(...) \,
#define Z_IS_3826_EQ_3826(...) \,
#define Z_IS_3827_EQ_3827(...) \,
#define Z_IS_3828_EQ_3828(...) \,
#define Z_IS_3829_EQ_3829(...) \,
#define Z_IS_3830_EQ_3830(...) \,
#define Z_IS_3831_EQ_3831(...) \,
#define Z_IS_3832_EQ_3832(...) \,
#define Z_IS_3833_EQ_3833(...) \,
#define Z_IS_3834_EQ_3834(...) \,
#define Z_IS_3835_EQ_3835(...) \,
#define Z_IS_3836_EQ_3836(...) \,
#define Z_IS_3837_EQ_3837(...) \,
#define Z_IS_3838_EQ_3838(...) \,
#define Z_IS_3839_EQ_3839(...) \,
#define Z_IS_3840_EQ_3840(...) \,
#define Z_IS_3841_EQ_3841(...) \,
#define Z_IS_3842_EQ_3842(...) \,
#define Z_IS_3843_EQ_3843(...) \,
#define Z_IS_3844_EQ_3844(...) \,
#define Z_IS_3845_EQ_3845(...) \,
#define Z_IS_3846_EQ_3846(...) \,
#define Z_IS_3847_EQ_3847(...) \,
#define Z_IS_3848_EQ_3848(...) \,
#define Z_IS_3849_EQ_3849(...) \,
#define Z_IS_3850_EQ_3850(...) \,
#define Z_IS_3851_EQ_3851(...) \,
#define Z_IS_3852_EQ_3852(...) \,
#define Z_IS_3853_EQ_3853(...) \,
#define Z_IS_3854_EQ_3854(...) \,
#define Z_IS_3855_EQ_3855(...) \,
#define Z_IS_3856_EQ_3856(...) \,
#define Z_IS_3857_EQ_3857(...) \,
#define Z_IS_3858_EQ_3858(...) \,
#define Z_IS_3859_EQ_3859(...) \,
#define Z_IS_3860_EQ_3860(...) \,
#define Z_IS_3861_EQ_3861(...) \,
#define Z_IS_3862_EQ_3862(...) \,
#define Z_IS_3863_EQ_3863(...) \,
#define Z_IS_3864_EQ_3864(...) \,
#define Z_IS_3865_EQ_3865(...) \,
#define Z_IS_3866_EQ_3866(...) \,
#define Z_IS_3867_EQ_3867(...) \,
#define Z_IS_3868_EQ_3868(...) \,
#define Z_IS_3869_EQ_3869(...) \,
#define Z_IS_3870_EQ_3870(...) \,
#define Z_IS_3871_EQ_3871(...) \,
#define Z_IS_3872_EQ_3872(...) \,
#define Z_IS_3873_EQ_3873(...) \,
#define Z_IS_3874_EQ_3874(...) \,
#define Z_IS_3875_EQ_3875(...) \,
#define Z_IS_3876_EQ_3876(...) \,
#define Z_IS_3877_EQ_3877(...) \,
#define Z_IS_3878_EQ_3878(...) \,
#define Z_IS_3879_EQ_3879(...) \,
#define Z_IS_3880_EQ_3880(...) \,
#define Z_IS_3881_EQ_3881(...) \,
#define Z_IS_3882_EQ_3882(...) \,
#define Z_IS_3883_EQ_3883(...) \,
#define Z_IS_3884_EQ_3884(...) \,
#define Z_IS_3885_EQ_3885(...) \,
#define Z_IS_3886_EQ_3886(...) \,
#define Z_IS_3887_EQ_3887(...) \,
#define Z_IS_3888_EQ_3888(...) \,
#define Z_IS_3889_EQ_3889(...) \,
#define Z_IS_3890_EQ_3890(...) \,
#define Z_IS_3891_EQ_3891(...) \,
#define Z_IS_3892_EQ_3892(...) \,
#define Z_IS_3893_EQ_3893(...) \,
#define Z_IS_3894_EQ_3894(...) \,
#define Z_IS_3895_EQ_3895(...) \,
#define Z_IS_3896_EQ_3896(...) \,
#define Z_IS_3897_EQ_3897(...) \,
#define Z_IS_3898_EQ_3898(...) \,
#define Z_IS_3899_EQ_3899(...) \,
#define Z_IS_3900_EQ_3900(...) \,
#define Z_IS_3901_EQ_3901(...) \,
#define Z_IS_3902_EQ_3902(...) \,
#define Z_IS_3903_EQ_3903(...) \,
#define Z_IS_3904_EQ_3904(...) \,
#define Z_IS_3905_EQ_3905(...) \,
#define Z_IS_3906_EQ_3906(...) \,
#define Z_IS_3907_EQ_3907(...) \,
#define Z_IS_3908_EQ_3908(...) \,
#define Z_IS_3909_EQ_3909(...) \,
#define Z_IS_3910_EQ_3910(...) \,
#define Z_IS_3911_EQ_3911(...) \,
#define Z_IS_3912_EQ_3912(...) \,
#define Z_IS_3913_EQ_3913(...) \,
#define Z_IS_3914_EQ_3914(...) \,
#define Z_IS_3915_EQ_3915(...) \,
#define Z_IS_3916_EQ_3916(...) \,
#define Z_IS_3917_EQ_3917(...) \,
#define Z_IS_3918_EQ_3918(...) \,
#define Z_IS_3919_EQ_3919(...) \,
#define Z_IS_3920_EQ_3920(...) \,
#define Z_IS_3921_EQ_3921(...) \,
#define Z_IS_3922_EQ_3922(...) \,
#define Z_IS_3923_EQ_3923(...) \,
#define Z_IS_3924_EQ_3924(...) \,
#define Z_IS_3925_EQ_3925(...) \,
#define Z_IS_3926_EQ_3926(...) \,
#define Z_IS_3927_EQ_3927(...) \,
#define Z_IS_3928_EQ_3928(...) \,
#define Z_IS_3929_EQ_3929(...) \,
#define Z_IS_3930_EQ_3930(...) \,
#define Z_IS_3931_EQ_3931(...) \,
#define Z_IS_3932_EQ_3932(...) \,
#define Z_IS_3933_EQ_3933(...) \,
#define Z_IS_3934_EQ_3934(...) \,
#define Z_IS_3935_EQ_3935(...) \,
#define Z_IS_3936_EQ_3936(...) \,
#define Z_IS_3937_EQ_3937(...) \,
#define Z_IS_3938_EQ_3938(...) \,
#define Z_IS_3939_EQ_3939(...) \,
#define Z_IS_3940_EQ_3940(...) \,
#define Z_IS_3941_EQ_3941(...) \,
#define Z_IS_3942_EQ_3942(...) \,
#define Z_IS_3943_EQ_3943(...) \,
#define Z_IS_3944_EQ_3944(...) \,
#define Z_IS_3945_EQ_3945(...) \,
#define Z_IS_3946_EQ_3946(...) \,
#define Z_IS_3947_EQ_3947(...) \,
#define Z_IS_3948_EQ_3948(...) \,
#define Z_IS_3949_EQ_3949(...) \,
#define Z_IS_3950_EQ_3950(...) \,
#define Z_IS_3951_EQ_3951(...) \,
#define Z_IS_3952_EQ_3952(...) \,
#define Z_IS_3953_EQ_3953(...) \,
#define Z_IS_3954_EQ_3954(...) \,
#define Z_IS_3955_EQ_3955(...) \,
#define Z_IS_3956_EQ_3956(...) \,
#define Z_IS_3957_EQ_3957(...) \,
#define Z_IS_3958_EQ_3958(...) \,
#define Z_IS_3959_EQ_3959(...) \,
#define Z_IS_3960_EQ_3960(...) \,
#define Z_IS_3961_EQ_3961(...) \,
#define Z_IS_3962_EQ_3962(...) \,
#define Z_IS_3963_EQ_3963(...) \,
#define Z_IS_3964_EQ_3964(...) \,
#define Z_IS_3965_EQ_3965(...) \,
#define Z_IS_3966_EQ_3966(...) \,
#define Z_IS_3967_EQ_3967(...) \,
#define Z_IS_3968_EQ_3968(...) \,
#define Z_IS_3969_EQ_3969(...) \,
#define Z_IS_3970_EQ_3970(...) \,
#define Z_IS_3971_EQ_3971(...) \,
#define Z_IS_3972_EQ_3972(...) \,
#define Z_IS_3973_EQ_3973(...) \,
#define Z_IS_3974_EQ_3974(...) \,
#define Z_IS_3975_EQ_3975(...) \,
#define Z_IS_3976_EQ_3976(...) \,
#define Z_IS_3977_EQ_3977(...) \,
#define Z_IS_3978_EQ_3978(...) \,
#define Z_IS_3979_EQ_3979(...) \,
#define Z_IS_3980_EQ_3980(...) \,
#define Z_IS_3981_EQ_3981(...) \,
#define Z_IS_3982_EQ_3982(...) \,
#define Z_IS_3983_EQ_3983(...) \,
#define Z_IS_3984_EQ_3984(...) \,
#define Z_IS_3985_EQ_3985(...) \,
#define Z_IS_3986_EQ_3986(...) \,
#define Z_IS_3987_EQ_3987(...) \,
#define Z_IS_3988_EQ_3988(...) \,
#define Z_IS_3989_EQ_3989(...) \,
#define Z_IS_3990_EQ_3990(...) \,
#define Z_IS_3991_EQ_3991(...) \,
#define Z_IS_3992_EQ_3992(...) \,
#define Z_IS_3993_EQ_3993(...) \,
#define Z_IS_3994_EQ_3994(...) \,
#define Z_IS_3995_EQ_3995(...) \,
#define Z_IS_3996_EQ_3996(...) \,
#define Z_IS_3997_EQ_3997(...) \,
#define Z_IS_3998_EQ_3998(...) \,
#define Z_IS_3999_EQ_3999(...) \,
#define Z_IS_4000_EQ_4000(...) \,
#define Z_IS_4001_EQ_4001(...) \,
#define Z_IS_4002_EQ_4002(...) \,
#define Z_IS_4003_EQ_4003(...) \,
#define Z_IS_4004_EQ_4004(...) \,
#define Z_IS_4005_EQ_4005(...) \,
#define Z_IS_4006_EQ_4006(...) \,
#define Z_IS_4007_EQ_4007(...) \,
#define Z_IS_4008_EQ_4008(...) \,
#define Z_IS_4009_EQ_4009(...) \,
#define Z_IS_4010_EQ_4010(...) \,
#define Z_IS_4011_EQ_4011(...) \,
#define Z_IS_4012_EQ_4012(...) \,
#define Z_IS_4013_EQ_4013(...) \,
#define Z_IS_4014_EQ_4014(...) \,
#define Z_IS_4015_EQ_4015(...) \,
#define Z_IS_4016_EQ_4016(...) \,
#define Z_IS_4017_EQ_4017(...) \,
#define Z_IS_4018_EQ_4018(...) \,
#define Z_IS_4019_EQ_4019(...) \,
#define Z_IS_4020_EQ_4020(...) \,
#define Z_IS_4021_EQ_4021(...) \,
#define Z_IS_4022_EQ_4022(...) \,
#define Z_IS_4023_EQ_4023(...) \,
#define Z_IS_4024_EQ_4024(...) \,
#define Z_IS_4025_EQ_4025(...) \,
#define Z_IS_4026_EQ_4026(...) \,
#define Z_IS_4027_EQ_4027(...) \,
#define Z_IS_4028_EQ_4028(...) \,
#define Z_IS_4029_EQ_4029(...) \,
#define Z_IS_4030_EQ_4030(...) \,
#define Z_IS_4031_EQ_4031(...) \,
#define Z_IS_4032_EQ_4032(...) \,
#define Z_IS_4033_EQ_4033(...) \,
#define Z_IS_4034_EQ_4034(...) \,
#define Z_IS_4035_EQ_4035(...) \,
#define Z_IS_4036_EQ_4036(...) \,
#define Z_IS_4037_EQ_4037(...) \,
#define Z_IS_4038_EQ_4038(...) \,
#define Z_IS_4039_EQ_4039(...) \,
#define Z_IS_4040_EQ_4040(...) \,
#define Z_IS_4041_EQ_4041(...) \,
#define Z_IS_4042_EQ_4042(...) \,
#define Z_IS_4043_EQ_4043(...) \,
#define Z_IS_4044_EQ_4044(...) \,
#define Z_IS_4045_EQ_4045(...) \,
#define Z_IS_4046_EQ_4046(...) \,
#define Z_IS_4047_EQ_4047(...) \,
#define Z_IS_4048_EQ_4048(...) \,
#define Z_IS_4049_EQ_4049(...) \,
#define Z_IS_4050_EQ_4050(...) \,
#define Z_IS_4051_EQ_4051(...) \,
#define Z_IS_4052_EQ_4052(...) \,
#define Z_IS_4053_EQ_4053(...) \,
#define Z_IS_4054_EQ_4054(...) \,
#define Z_IS_4055_EQ_4055(...) \,
#define Z_IS_4056_EQ_4056(...) \,
#define Z_IS_4057_EQ_4057(...) \,
#define Z_IS_4058_EQ_4058(...) \,
#define Z_IS_4059_EQ_4059(...) \,
#define Z_IS_4060_EQ_4060(...) \,
#define Z_IS_4061_EQ_4061(...) \,
#define Z_IS_4062_EQ_4062(...) \,
#define Z_IS_4063_EQ_4063(...) \,
#define Z_IS_4064_EQ_4064(...) \,
#define Z_IS_4065_EQ_4065(...) \,
#define Z_IS_4066_EQ_4066(...) \,
#define Z_IS_4067_EQ_4067(...) \,
#define Z_IS_4068_EQ_4068(...) \,
#define Z_IS_4069_EQ_4069(...) \,
#define Z_IS_4070_EQ_4070(...) \,
#define Z_IS_4071_EQ_4071(...) \,
#define Z_IS_4072_EQ_4072(...) \,
#define Z_IS_4073_EQ_4073(...) \,
#define Z_IS_4074_EQ_4074(...) \,
#define Z_IS_4075_EQ_4075(...) \,
#define Z_IS_4076_EQ_4076(...) \,
#define Z_IS_4077_EQ_4077(...) \,
#define Z_IS_4078_EQ_4078(...) \,
#define Z_IS_4079_EQ_4079(...) \,
#define Z_IS_4080_EQ_4080(...) \,
#define Z_IS_4081_EQ_4081(...) \,
#define Z_IS_4082_EQ_4082(...) \,
#define Z_IS_4083_EQ_4083(...) \,
#define Z_IS_4084_EQ_4084(...) \,
#define Z_IS_4085_EQ_4085(...) \,
#define Z_IS_4086_EQ_4086(...) \,
#define Z_IS_4087_EQ_4087(...) \,
#define Z_IS_4088_EQ_4088(...) \,
#define Z_IS_4089_EQ_4089(...) \,
#define Z_IS_4090_EQ_4090(...) \,
#define Z_IS_4091_EQ_4091(...) \,
#define Z_IS_4092_EQ_4092(...) \,
#define Z_IS_4093_EQ_4093(...) \,
#define Z_IS_4094_EQ_4094(...) \,
#define Z_IS_4095_EQ_4095(...) \,
#define Z_IS_4096_EQ_4096(...) \,
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util_internal_is_eq.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 51,347 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_NOTIFY_H_
#define ZEPHYR_INCLUDE_SYS_NOTIFY_H_
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#ifdef __cplusplus
extern "C" {
#endif
struct sys_notify;
/*
* Flag value that overwrites the method field when the operation has
* completed.
*/
#define SYS_NOTIFY_METHOD_COMPLETED 0
/*
* Indicates that no notification will be provided.
*
* Callers must check for completions using
* sys_notify_fetch_result().
*
* See sys_notify_init_spinwait().
*/
#define SYS_NOTIFY_METHOD_SPINWAIT 1
/*
* Select notification through @ref k_poll signal
*
* See sys_notify_init_signal().
*/
#define SYS_NOTIFY_METHOD_SIGNAL 2
/*
* Select notification through a user-provided callback.
*
* See sys_notify_init_callback().
*/
#define SYS_NOTIFY_METHOD_CALLBACK 3
#define SYS_NOTIFY_METHOD_MASK 0x03U
#define SYS_NOTIFY_METHOD_POS 0
/**
* @brief Identify the region of sys_notify flags available for
* containing services.
*
* Bits of the flags field of the sys_notify structure at and above
* this position may be used by extensions to the sys_notify
* structure.
*
* These bits are intended for use by containing service
* implementations to record client-specific information. The bits
* are cleared by sys_notify_validate(). Use of these does not
* imply that the flags field becomes public API.
*/
#define SYS_NOTIFY_EXTENSION_POS 2
/*
* Mask isolating the bits of sys_notify::flags that are available
* for extension.
*/
#define SYS_NOTIFY_EXTENSION_MASK (~BIT_MASK(SYS_NOTIFY_EXTENSION_POS))
/**
* @defgroup sys_notify_apis Asynchronous Notification APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Generic signature used to notify of result completion by
* callback.
*
* Functions with this role may be invoked from any context including
* pre-kernel, ISR, or cooperative or pre-emptible threads.
* Compatible functions must be isr-ok and not sleep.
*
* Parameters that should generally be passed to such functions include:
*
* * a pointer to a specific client request structure, i.e. the one
* that contains the sys_notify structure.
* * the result of the operation, either as passed to
* sys_notify_finalize() or extracted afterwards using
* sys_notify_fetch_result(). Expected values are
* service-specific, but the value shall be non-negative if the
* operation succeeded, and negative if the operation failed.
*/
typedef void (*sys_notify_generic_callback)();
/**
* @brief State associated with notification for an asynchronous
* operation.
*
* Objects of this type are allocated by a client, which must use an
* initialization function (e.g. sys_notify_init_signal()) to
* configure them. Generally the structure is a member of a
* service-specific client structure, such as onoff_client.
*
* Control of the containing object transfers to the service provider
* when a pointer to the object is passed to a service function that
* is documented to take control of the object, such as
* onoff_service_request(). While the service provider controls the
* object the client must not change any object fields. Control
* reverts to the client:
* * if the call to the service API returns an error;
* * when operation completion is posted. This may occur before the
* call to the service API returns.
*
* Operation completion is technically posted when the flags field is
* updated so that sys_notify_fetch_result() returns success. This
* will happen before the signal is posted or callback is invoked.
* Note that although the manager will no longer reference the
* sys_notify object past this point, the containing object may have
* state that will be referenced within the callback. Where callbacks
* are used control of the containing object does not revert to the
* client until the callback has been invoked. (Re-use within the
* callback is explicitly permitted.)
*
* After control has reverted to the client the notify object must be
* reinitialized for the next operation.
*
* The content of this structure is not public API to clients: all
* configuration and inspection should be done with functions like
* sys_notify_init_callback() and sys_notify_fetch_result().
* However, services that use this structure may access certain
* fields directly.
*/
struct sys_notify {
union method {
/* Pointer to signal used to notify client.
*
* The signal value corresponds to the res parameter
* of sys_notify_callback.
*/
struct k_poll_signal *signal;
/* Generic callback function for callback notification. */
sys_notify_generic_callback callback;
} method;
/*
* Flags recording information about the operation.
*
* Bits below SYS_NOTIFY_EXTENSION_POS are initialized by
* async notify API init functions like
* sys_notify_init_callback(), and must not by modified by
* extensions or client code.
*
* Bits at and above SYS_NOTIFY_EXTENSION_POS are available
* for use by service extensions while the containing object
* is managed by the service. They are not for client use,
* are zeroed by the async notify API init functions, and will
* be zeroed by sys_notify_finalize().
*/
uint32_t volatile flags;
/*
* The result of the operation.
*
* This is the value that was (or would be) passed to the
* async infrastructure. This field is the sole record of
* success or failure for spin-wait synchronous operations.
*/
int volatile result;
};
/** @internal */
static inline uint32_t sys_notify_get_method(const struct sys_notify *notify)
{
uint32_t method = notify->flags >> SYS_NOTIFY_METHOD_POS;
return method & SYS_NOTIFY_METHOD_MASK;
}
/**
* @brief Validate and initialize the notify structure.
*
* This should be invoked at the start of any service-specific
* configuration validation. It ensures that the basic asynchronous
* notification configuration is consistent, and clears the result.
*
* Note that this function does not validate extension bits (zeroed by
* async notify API init functions like sys_notify_init_callback()).
* It may fail to recognize that an uninitialized structure has been
* passed because only method bits of flags are tested against method
* settings. To reduce the chance of accepting an uninitialized
* operation service validation of structures that contain an
* sys_notify instance should confirm that the extension bits are
* set or cleared as expected.
*
* @retval 0 on successful validation and reinitialization
* @retval -EINVAL if the configuration is not valid.
*/
int sys_notify_validate(struct sys_notify *notify);
/**
* @brief Record and signal the operation completion.
*
* @param notify pointer to the notification state structure.
*
* @param res the result of the operation. Expected values are
* service-specific, but the value shall be non-negative if the
* operation succeeded, and negative if the operation failed.
*
* @return If the notification is to be done by callback this returns
* the generic version of the function to be invoked. The caller must
* immediately invoke that function with whatever arguments are
* expected by the callback. If notification is by spin-wait or
* signal, the notification has been completed by the point this
* function returns, and a null pointer is returned.
*/
sys_notify_generic_callback sys_notify_finalize(struct sys_notify *notify,
int res);
/**
* @brief Check for and read the result of an asynchronous operation.
*
* @param notify pointer to the object used to specify asynchronous
* function behavior and store completion information.
*
* @param result pointer to storage for the result of the operation.
* The result is stored only if the operation has completed.
*
* @retval 0 if the operation has completed.
* @retval -EAGAIN if the operation has not completed.
*/
static inline int sys_notify_fetch_result(const struct sys_notify *notify,
int *result)
{
__ASSERT_NO_MSG(notify != NULL);
__ASSERT_NO_MSG(result != NULL);
int rv = -EAGAIN;
if (sys_notify_get_method(notify) == SYS_NOTIFY_METHOD_COMPLETED) {
rv = 0;
*result = notify->result;
}
return rv;
}
/**
* @brief Initialize a notify object for spin-wait notification.
*
* Clients that use this initialization receive no asynchronous
* notification, and instead must periodically check for completion
* using sys_notify_fetch_result().
*
* On completion of the operation the client object must be
* reinitialized before it can be re-used.
*
* @param notify pointer to the notification configuration object.
*/
static inline void sys_notify_init_spinwait(struct sys_notify *notify)
{
__ASSERT_NO_MSG(notify != NULL);
*notify = (struct sys_notify){
.flags = SYS_NOTIFY_METHOD_SPINWAIT,
};
}
/**
* @brief Initialize a notify object for (k_poll) signal notification.
*
* Clients that use this initialization will be notified of the
* completion of operations through the provided signal.
*
* On completion of the operation the client object must be
* reinitialized before it can be re-used.
*
* @note
* This capability is available only when @kconfig{CONFIG_POLL} is
* selected.
*
* @param notify pointer to the notification configuration object.
*
* @param sigp pointer to the signal to use for notification. The
* value must not be null. The signal must be reset before the client
* object is passed to the on-off service API.
*/
static inline void sys_notify_init_signal(struct sys_notify *notify,
struct k_poll_signal *sigp)
{
__ASSERT_NO_MSG(notify != NULL);
__ASSERT_NO_MSG(sigp != NULL);
*notify = (struct sys_notify){
.method = {
.signal = sigp,
},
.flags = SYS_NOTIFY_METHOD_SIGNAL,
};
}
/**
* @brief Initialize a notify object for callback notification.
*
* Clients that use this initialization will be notified of the
* completion of operations through the provided callback. Note that
* callbacks may be invoked from various contexts depending on the
* specific service; see @ref sys_notify_generic_callback.
*
* On completion of the operation the client object must be
* reinitialized before it can be re-used.
*
* @param notify pointer to the notification configuration object.
*
* @param handler a function pointer to use for notification.
*/
static inline void sys_notify_init_callback(struct sys_notify *notify,
sys_notify_generic_callback handler)
{
__ASSERT_NO_MSG(notify != NULL);
__ASSERT_NO_MSG(handler != NULL);
*notify = (struct sys_notify){
.method = {
.callback = handler,
},
.flags = SYS_NOTIFY_METHOD_CALLBACK,
};
}
/**
* @brief Detect whether a particular notification uses a callback.
*
* The generic handler does not capture the signature expected by the
* callback, and the translation to a service-specific callback must
* be provided by the service. This check allows abstracted services
* to reject callback notification requests when the service doesn't
* provide a translation function.
*
* @return true if and only if a callback is to be used for notification.
*/
static inline bool sys_notify_uses_callback(const struct sys_notify *notify)
{
__ASSERT_NO_MSG(notify != NULL);
return sys_notify_get_method(notify) == SYS_NOTIFY_METHOD_CALLBACK;
}
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_NOTIFY_H_ */
``` | /content/code_sandbox/include/zephyr/sys/notify.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,441 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief public sys_sem APIs.
*/
#ifndef ZEPHYR_INCLUDE_SYS_SEM_H_
#define ZEPHYR_INCLUDE_SYS_SEM_H_
/*
* sys_sem exists in user memory working as counter semaphore for
* user mode thread when user mode enabled. When user mode isn't
* enabled, sys_sem behaves like k_sem.
*/
#include <zephyr/kernel.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/types.h>
#include <zephyr/sys/iterable_sections.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* sys_sem structure
*/
struct sys_sem {
#ifdef CONFIG_USERSPACE
struct k_futex futex;
int limit;
#else
struct k_sem kernel_sem;
#endif
};
/**
* @defgroup user_semaphore_apis User mode semaphore APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Statically define and initialize a sys_sem
*
* The semaphore can be accessed outside the module where it is defined using:
*
* @code extern struct sys_sem <name>; @endcode
*
* Route this to memory domains using K_APP_DMEM().
*
* @param _name Name of the semaphore.
* @param _initial_count Initial semaphore count.
* @param _count_limit Maximum permitted semaphore count.
*/
#ifdef CONFIG_USERSPACE
#define SYS_SEM_DEFINE(_name, _initial_count, _count_limit) \
struct sys_sem _name = { \
.futex = { _initial_count }, \
.limit = _count_limit \
}; \
BUILD_ASSERT(((_count_limit) != 0) && \
((_initial_count) <= (_count_limit)))
#else
/* Stuff this in the section with the rest of the k_sem objects, since they
* are identical and can be treated as a k_sem in the boot initialization code
*/
#define SYS_SEM_DEFINE(_name, _initial_count, _count_limit) \
STRUCT_SECTION_ITERABLE_ALTERNATE(k_sem, sys_sem, _name) = { \
.kernel_sem = Z_SEM_INITIALIZER(_name.kernel_sem, \
_initial_count, _count_limit) \
}; \
BUILD_ASSERT(((_count_limit) != 0) && \
((_initial_count) <= (_count_limit)))
#endif
/**
* @brief Initialize a semaphore.
*
* This routine initializes a semaphore instance, prior to its first use.
*
* @param sem Address of the semaphore.
* @param initial_count Initial semaphore count.
* @param limit Maximum permitted semaphore count.
*
* @retval 0 Initial success.
* @retval -EINVAL Bad parameters, the value of limit should be located in
* (0, INT_MAX] and initial_count shouldn't be greater than limit.
*/
int sys_sem_init(struct sys_sem *sem, unsigned int initial_count,
unsigned int limit);
/**
* @brief Give a semaphore.
*
* This routine gives @a sem, unless the semaphore is already at its
* maximum permitted count.
*
* @param sem Address of the semaphore.
*
* @retval 0 Semaphore given.
* @retval -EINVAL Parameter address not recognized.
* @retval -EACCES Caller does not have enough access.
* @retval -EAGAIN Count reached Maximum permitted count and try again.
*/
int sys_sem_give(struct sys_sem *sem);
/**
* @brief Take a sys_sem.
*
* This routine takes @a sem.
*
* @param sem Address of the sys_sem.
* @param timeout Waiting period to take the sys_sem,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 sys_sem taken.
* @retval -EINVAL Parameter address not recognized.
* @retval -ETIMEDOUT Waiting period timed out.
* @retval -EACCES Caller does not have enough access.
*/
int sys_sem_take(struct sys_sem *sem, k_timeout_t timeout);
/**
* @brief Get sys_sem's value
*
* This routine returns the current value of @a sem.
*
* @param sem Address of the sys_sem.
*
* @return Current value of sys_sem.
*/
unsigned int sys_sem_count_get(struct sys_sem *sem);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/include/zephyr/sys/sem.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 891 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_CBPRINTF_H_
#define ZEPHYR_INCLUDE_SYS_CBPRINTF_H_
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/toolchain.h>
#include <string.h>
#ifdef CONFIG_CBPRINTF_LIBC_SUBSTS
#include <stdio.h>
#endif /* CONFIG_CBPRINTF_LIBC_SUBSTS */
/* Determine if _Generic is supported using macro from toolchain.h.
*
* @note Z_C_GENERIC is also set for C++ where functionality is implemented
* using overloading and templates.
*/
#ifndef Z_C_GENERIC
#if defined(__cplusplus) || TOOLCHAIN_HAS_C_GENERIC
#define Z_C_GENERIC 1
#else
#define Z_C_GENERIC 0
#endif
#endif
#ifdef __xtensa__
#define Z_PKG_HDR_EXT_XTENSA_ALIGNMENT 8
#ifdef CONFIG_CBPRINTF_PACKAGE_HEADER_STORE_CREATION_FLAGS
#define Z_PKG_DESC_XTENSA_PADDING 1
#else
#define Z_PKG_DESC_XTENSA_PADDING 0
#endif
#endif /* __xtensa__ */
/**
* @brief cbprintf package descriptor.
*/
struct cbprintf_package_desc {
/** Package length (in 32 bit words) */
uint8_t len;
/** Number of appended strings in the package. */
uint8_t str_cnt;
/** Number of read-only strings, indexes appended to the package */
uint8_t ro_str_cnt;
/** Number of read-write strings, indexes appended to the package */
uint8_t rw_str_cnt;
#ifdef CONFIG_CBPRINTF_PACKAGE_HEADER_STORE_CREATION_FLAGS
/** Flags used to create the package */
uint32_t pkg_flags;
#endif
#ifdef __xtensa__
/*
* On Xtensa, the first argument needs to be aligned to 8-byte.
* With 32-bit pointers, we need another 4 bytes padding so
* that whole struct cbprintf_package_hdr_ext is of multiple of
* 8 bytes.
*/
uint32_t xtensa_padding[Z_PKG_DESC_XTENSA_PADDING];
#endif
} __packed;
/** @brief cbprintf package header
*
* cbprintf package header, without the format string pointer.
*/
union cbprintf_package_hdr {
/** Header description */
struct cbprintf_package_desc desc;
void *raw;
#if defined(CONFIG_CBPRINTF_PACKAGE_HEADER_STORE_CREATION_FLAGS) && !defined(CONFIG_64BIT)
void *raw2[2];
#endif
} __packed;
/** @brief cbprintf package header with format string pointer.
*
* cbprintf package header with format string pointer.
*/
struct cbprintf_package_hdr_ext {
/** Header of package */
union cbprintf_package_hdr hdr;
/** Pointer to format string */
char *fmt;
/*
* When extending this struct, make sure this align
* to pointer size.
*/
} __packed;
/**
* @cond INTERNAL_HIDDEN
*
* Assert that the package hdr does indeed align properly.
*/
#ifdef __xtensa__
BUILD_ASSERT(sizeof(struct cbprintf_package_hdr_ext) % Z_PKG_HDR_EXT_XTENSA_ALIGNMENT == 0,
"Package header size on Xtensa must be aligned");
#endif
/**
* @endcond
*/
/* Z_C_GENERIC is used there */
#include <zephyr/sys/cbprintf_internal.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup cbprintf_apis Formatted Output APIs
* @ingroup utilities
* @{
*/
/** @brief Required alignment of the buffer used for packaging. */
#ifdef __xtensa__
#define CBPRINTF_PACKAGE_ALIGNMENT 16
#else
#define CBPRINTF_PACKAGE_ALIGNMENT \
Z_POW2_CEIL(COND_CODE_1(CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE, \
(sizeof(long double)), (MAX(sizeof(double), sizeof(long long)))))
#endif
BUILD_ASSERT(Z_IS_POW2(CBPRINTF_PACKAGE_ALIGNMENT));
/**@defgroup CBPRINTF_PACKAGE_FLAGS Package flags
* @{
*/
/** @brief Assume that const char pointer is pointing to read only (constant) strings.
*
* Flag is valid only for @ref CBPRINTF_STATIC_PACKAGE.
*/
#define CBPRINTF_PACKAGE_CONST_CHAR_RO BIT(0)
/** @brief Append locations (within the package) of read-only string pointers. */
#define CBPRINTF_PACKAGE_ADD_RO_STR_POS BIT(1)
/** @brief Append locations (within the package) of read-write string pointers.
*
* When this flag is not used then read-write strings are appended to the package.
*/
#define CBPRINTF_PACKAGE_ADD_RW_STR_POS BIT(2)
#define Z_CBPRINTF_PACKAGE_FIRST_RO_STR_BITS 3
#define Z_CBPRINTF_PACKAGE_FIRST_RO_STR_OFFSET 3
#define Z_CBPRINTF_PACKAGE_FIRST_RO_STR_MASK BIT_MASK(Z_CBPRINTF_PACKAGE_FIRST_RO_STR_BITS)
/** @brief Indicate that @p n first string format arguments are char pointers to
* read-only location.
*
* Runtime algorithm (address analysis) is skipped for those strings.
*
* @param n Number of string arguments considered as read-only.
*/
#define CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(n) \
(n << Z_CBPRINTF_PACKAGE_FIRST_RO_STR_OFFSET)
/** @brief Get number of first format string arguments which are known to be read-only
* string.
*/
#define Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(flags) \
(((flags) >> Z_CBPRINTF_PACKAGE_FIRST_RO_STR_OFFSET) & Z_CBPRINTF_PACKAGE_FIRST_RO_STR_MASK)
/** @brief Append indexes of read-only string arguments in the package.
*
* When used, package contains locations of read-only string arguments. Package
* with that information can be converted to fully self-contain package using
* @ref cbprintf_fsc_package.
*/
#define CBPRINTF_PACKAGE_ADD_STRING_IDXS \
(CBPRINTF_PACKAGE_ADD_RO_STR_POS | CBPRINTF_PACKAGE_CONST_CHAR_RO)
/** @brief Indicate the incoming arguments are tagged.
*
* When set, this indicates that the incoming arguments are tagged, and
* need to be processed accordingly.
*/
#define CBPRINTF_PACKAGE_ARGS_ARE_TAGGED BIT(6)
/**@} */
/**
* @defgroup CBPRINTF_PACKAGE_CONVERT_FLAGS Package convert flags
* @{
*/
/** @brief Append read-only strings from source package to destination package.
*
* If package was created with @ref CBPRINTF_PACKAGE_ADD_RO_STR_POS
* or @ref CBPRINTF_PACKAGE_ADD_RW_STR_POS it contains arrays of indexes where
* string address can be found in the package. When flag is set, read-only strings
* are copied into destination package. Address of strings indicated as read-write
* are also checked and if determined to be read-only they are also copied.
*/
#define CBPRINTF_PACKAGE_CONVERT_RO_STR BIT(0)
/** @deprecated Use @ref CBPRINTF_PACKAGE_CONVERT_RO_STR instead. */
#define CBPRINTF_PACKAGE_COPY_RO_STR CBPRINTF_PACKAGE_CONVERT_RO_STR __DEPRECATED_MACRO
/** @brief Append read-write strings from source package to destination package.
*
* If package was created with @ref CBPRINTF_PACKAGE_ADD_RW_STR_POS it contains
* arrays of indexes where string address can be found in the package. When flag
* is set, list of read-write strings is examined and if they are not determined
* to be read-only, they are copied into the destination package.
* If @ref CBPRINTF_PACKAGE_CONVERT_RO_STR is not set, remaining string locations
* are considered as pointing to read-only location and they are copy to the
* package if @ref CBPRINTF_PACKAGE_CONVERT_KEEP_RO_STR is set.
*/
#define CBPRINTF_PACKAGE_CONVERT_RW_STR BIT(1)
/** @deprecated Use @ref CBPRINTF_PACKAGE_CONVERT_RW_STR instead. */
#define CBPRINTF_PACKAGE_COPY_RW_STR CBPRINTF_PACKAGE_CONVERT_RW_STR __DEPRECATED_MACRO
/** @brief Keep read-only location indexes in the package.
*
* If it is set read-only string pointers are kept in the package after copy. If
* not set they are discarded.
*/
#define CBPRINTF_PACKAGE_CONVERT_KEEP_RO_STR BIT(2)
/** @deprecated Use @ref CBPRINTF_PACKAGE_CONVERT_KEEP_RO_STR instead. */
#define CBPRINTF_PACKAGE_COPY_KEEP_RO_STR CBPRINTF_PACKAGE_CONVERT_KEEP_RO_STR __DEPRECATED_MACRO
/** @brief Check format string if %p argument was treated as %s in the package.
*
* Static packaging is done based only on types of arguments used for a format
* string. Without looking into format specifiers present in the string. Because
* of that if (unsigned) char pointer is used for %p it will be considered as
* a string location and during conversion an attempt to append a string to a
* package may be performed. This can lead to misbehavior, in the best case
* package will be bigger and in the worst case memory fault or security violation
* may occur.
*
* When this flag is set, format string will be checked to detect cases when
* string candidate is a pointer used for %p and string appending from unexpected
* location is avoided. Additionally, an log warning is generated to encourage
* user to cast such argument to void *. It is recommended because there are
* configurations where string is not accessible and inspection cannot be done.
* In those cases there are no means to detect such cases.
*/
#define CBPRINTF_PACKAGE_CONVERT_PTR_CHECK BIT(3)
/**@} */
/**
* @defgroup Z_CBVPRINTF_PROCESS_FLAGS cbvprintf processing flags.
* @{
*/
/** @brief Indicates the arguments are tagged.
*
* This tells z_cbvprintf_impl() that the incoming arguments are
* tagged, and should be processed accordingly.
*/
#define Z_CBVPRINTF_PROCESS_FLAG_TAGGED_ARGS BIT(0)
/**@} */
#include <zephyr/sys/cbprintf_enums.h>
/** @brief Signature for a cbprintf callback function.
*
* This function expects two parameters:
*
* * @p c a character to output. The output behavior should be as if
* this was cast to an unsigned char.
* * @p ctx a pointer to an object that provides context for the
* output operation.
*
* The declaration does not specify the parameter types. This allows a
* function like @c fputc to be used without requiring all context pointers to
* be to a @c FILE object.
*
* @return the value of @p c cast to an unsigned char then back to
* int, or a negative error code that will be returned from
* cbprintf().
*/
#ifdef __CHECKER__
typedef int (*cbprintf_cb)(int c, void *ctx);
#else
typedef int (*cbprintf_cb)(/* int c, void *ctx */);
#endif
/* Create local cbprintf_cb type to make calng-based compilers happy when handles
* OUTC() macro (see below). With strict rules (Wincompatible-function-pointer-types-strict)
* it's prohibited to pass arguments with mismatched types.
*/
typedef int (*cbprintf_cb_local)(int c, void *ctx);
/** @brief Signature for a cbprintf multibyte callback function.
*
* @param buf data.
* @param len data length.
* @param ctx a pointer to an object that provides context for the operation.
*
* return Amount of copied data or negative error code.
*/
typedef int (*cbprintf_convert_cb)(const void *buf, size_t len, void *ctx);
/** @brief Signature for a external formatter function identical to cbvprintf.
*
* This function expects the following parameters:
*
* @param out the function used to emit each generated character.
*
* @param ctx a pointer to an object that provides context for the
* external formatter.
*
* @param fmt a standard ISO C format string with characters and
* conversion specifications.
*
* @param ap captured stack arguments corresponding to the conversion
* specifications found within @p fmt.
*
* @return vprintf like return values: the number of characters printed,
* or a negative error value returned from external formatter.
*/
typedef int (*cbvprintf_external_formatter_func)(cbprintf_cb out, void *ctx,
const char *fmt, va_list ap);
/** @brief Determine if string must be packaged in run time.
*
* Static packaging can be applied if size of the package can be determined
* at compile time. In general, package size can be determined at compile time
* if there are no string arguments which might be copied into package body if
* they are considered transient.
*
* @note By default any char pointers are considered to be pointing at transient
* strings. This can be narrowed down to non const pointers by using
* @ref CBPRINTF_PACKAGE_CONST_CHAR_RO.
*
* @param ... String with arguments.
* @param flags option flags. See @ref CBPRINTF_PACKAGE_FLAGS.
*
* @retval 1 if string must be packaged in run time.
* @retval 0 string can be statically packaged.
*/
#define CBPRINTF_MUST_RUNTIME_PACKAGE(flags, ... /* fmt, ... */) \
Z_CBPRINTF_MUST_RUNTIME_PACKAGE(flags, __VA_ARGS__)
/** @brief Statically package string.
*
* Build string package from formatted string. It assumes that formatted
* string is in the read only memory.
*
* If _Generic is not supported then runtime packaging is performed.
*
* @param packaged pointer to where the packaged data can be stored. Pass a null
* pointer to skip packaging but still calculate the total space required.
* The data stored here is relocatable, that is it can be moved to another
* contiguous block of memory. It must be aligned to the size of the longest
* argument. It is recommended to use CBPRINTF_PACKAGE_ALIGNMENT for alignment.
*
* @param inlen set to the number of bytes available at @p packaged. If
* @p packaged is NULL the value is ignored.
*
* @param outlen variable updated to the number of bytes required to completely
* store the packed information. If input buffer was too small it is set to
* -ENOSPC.
*
* @param align_offset input buffer alignment offset in bytes. Where offset 0
* means that buffer is aligned to CBPRINTF_PACKAGE_ALIGNMENT. Xtensa requires
* that @p packaged is aligned to CBPRINTF_PACKAGE_ALIGNMENT so it must be
* multiply of CBPRINTF_PACKAGE_ALIGNMENT or 0.
*
* @param flags option flags. See @ref CBPRINTF_PACKAGE_FLAGS.
*
* @param ... formatted string with arguments. Format string must be constant.
*/
#define CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, align_offset, flags, \
... /* fmt, ... */) \
Z_CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, \
align_offset, flags, __VA_ARGS__)
/** @brief Capture state required to output formatted data later.
*
* Like cbprintf() but instead of processing the arguments and emitting the
* formatted results immediately all arguments are captured so this can be
* done in a different context, e.g. when the output function can block.
*
* In addition to the values extracted from arguments this will ensure that
* copies are made of the necessary portions of any string parameters that are
* not confirmed to be stored in read-only memory (hence assumed to be safe to
* refer to directly later).
*
* @param packaged pointer to where the packaged data can be stored. Pass a
* null pointer to store nothing but still calculate the total space required.
* The data stored here is relocatable, that is it can be moved to another
* contiguous block of memory. However, under condition that alignment is
* maintained. It must be aligned to at least the size of a pointer.
*
* @param len this must be set to the number of bytes available at @p packaged
* if it is not null. If @p packaged is null then it indicates hypothetical
* buffer alignment offset in bytes compared to CBPRINTF_PACKAGE_ALIGNMENT
* alignment. Buffer alignment offset impacts returned size of the package.
* Xtensa requires that buffer is always aligned to CBPRINTF_PACKAGE_ALIGNMENT
* so it must be multiply of CBPRINTF_PACKAGE_ALIGNMENT or 0 when @p packaged is
* null.
*
* @param flags option flags. See @ref CBPRINTF_PACKAGE_FLAGS.
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ... arguments corresponding to the conversion specifications found
* within @p format.
*
* @retval nonegative the number of bytes successfully stored at @p packaged.
* This will not exceed @p len.
* @retval -EINVAL if @p format is not acceptable
* @retval -EFAULT if @p packaged alignment is not acceptable
* @retval -ENOSPC if @p packaged was not null and the space required to store
* exceed @p len.
*/
__printf_like(4, 5)
int cbprintf_package(void *packaged,
size_t len,
uint32_t flags,
const char *format,
...);
/** @brief Capture state required to output formatted data later.
*
* Like cbprintf() but instead of processing the arguments and emitting the
* formatted results immediately all arguments are captured so this can be
* done in a different context, e.g. when the output function can block.
*
* In addition to the values extracted from arguments this will ensure that
* copies are made of the necessary portions of any string parameters that are
* not confirmed to be stored in read-only memory (hence assumed to be safe to
* refer to directly later).
*
* @param packaged pointer to where the packaged data can be stored. Pass a
* null pointer to store nothing but still calculate the total space required.
* The data stored here is relocatable, that is it can be moved to another
* contiguous block of memory. The pointer must be aligned to a multiple of
* the largest element in the argument list.
*
* @param len this must be set to the number of bytes available at @p packaged.
* Ignored if @p packaged is NULL.
*
* @param flags option flags. See @ref CBPRINTF_PACKAGE_FLAGS.
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap captured stack arguments corresponding to the conversion
* specifications found within @p format.
*
* @retval nonegative the number of bytes successfully stored at @p packaged.
* This will not exceed @p len.
* @retval -EINVAL if @p format is not acceptable
* @retval -ENOSPC if @p packaged was not null and the space required to store
* exceed @p len.
*/
int cbvprintf_package(void *packaged,
size_t len,
uint32_t flags,
const char *format,
va_list ap);
/** @brief Convert a package.
*
* Converting may include appending strings used in the package to the package body.
* If input package was created with @ref CBPRINTF_PACKAGE_ADD_RO_STR_POS or
* @ref CBPRINTF_PACKAGE_ADD_RW_STR_POS, it contains information where strings
* are located within the package. This information can be used to copy strings
* during the conversion.
*
* @p cb is called with portions of the output package. At the end of the conversion
* @p cb is called with null buffer.
*
* @param in_packaged Input package.
*
* @param in_len Input package length. If 0 package length will be retrieved
* from the @p in_packaged
*
* @param cb callback called with portions of the converted package. If null only
* length of the output package is calculated.
*
* @param ctx Context provided to the @p cb.
*
* @param flags Flags. See @ref CBPRINTF_PACKAGE_CONVERT_FLAGS.
*
* @param[in, out] strl if @p packaged is null, it is a pointer to the array where
* @p strl_len first string lengths will is stored. If @p packaged is not null,
* it contains lengths of first @p strl_len strings. It can be used to optimize
* copying so that string length is calculated only once (at length calculation
* phase when @p packaged is null.)
*
* @param strl_len Number of elements in @p strl array.
*
* @retval Positive output package size.
* @retval -ENOSPC if @p packaged was not null and the space required to store
* exceed @p len.
*/
int cbprintf_package_convert(void *in_packaged,
size_t in_len,
cbprintf_convert_cb cb,
void *ctx,
uint32_t flags,
uint16_t *strl,
size_t strl_len);
/* @internal Context used for package copying. */
struct z_cbprintf_buf_desc {
void *buf;
size_t size;
size_t off;
};
/* @internal Function callback used for package copying. */
static inline int z_cbprintf_cpy(const void *buf, size_t len, void *ctx)
{
struct z_cbprintf_buf_desc *desc = (struct z_cbprintf_buf_desc *)ctx;
if ((desc->size - desc->off) < len) {
return -ENOSPC;
}
memcpy(&((uint8_t *)desc->buf)[desc->off], buf, len);
desc->off += len;
return len;
}
/** @brief Copy package with optional appending of strings.
*
* @ref cbprintf_package_convert is used to convert and store converted package
* in the new location.
*
* @param in_packaged Input package.
*
* @param in_len Input package length. If 0 package length will be retrieved
* from the @p in_packaged
*
* @param[out] packaged Output package. If null only length of the output package
* is calculated.
*
* @param len Available space in the location pointed by @p packaged. Not used when
* @p packaged is null.
*
* @param flags Flags. See @ref CBPRINTF_PACKAGE_CONVERT_FLAGS.
*
* @param[in, out] strl if @p packaged is null, it is a pointer to the array where
* @p strl_len first string lengths will is stored. If @p packaged is not null,
* it contains lengths of first @p strl_len strings. It can be used to optimize
* copying so that string length is calculated only once (at length calculation
* phase when @p packaged is null.)
*
* @param strl_len Number of elements in @p strl array.
*
* @retval Positive Output package size.
* @retval -ENOSPC if @p packaged was not null and the space required to store
* exceed @p len.
*/
static inline int cbprintf_package_copy(void *in_packaged,
size_t in_len,
void *packaged,
size_t len,
uint32_t flags,
uint16_t *strl,
size_t strl_len)
{
struct z_cbprintf_buf_desc buf_desc = {
.buf = packaged,
.size = len,
.off = 0,
};
return cbprintf_package_convert(in_packaged, in_len,
packaged ? z_cbprintf_cpy : NULL, &buf_desc,
flags, strl, strl_len);
}
/** @brief Convert package to fully self-contained (fsc) package.
*
* Package may not be self contain since strings by default are stored by address.
* Package may be partially self-contained when transient (not read only) strings
* are appended to the package. Such package can be decoded only when there is an
* access to read-only strings.
*
* Fully self-contained has (fsc) contains all strings used in the package. A package
* can be converted to fsc package if it was create with @ref CBPRINTF_PACKAGE_ADD_RO_STR_POS
* flag. Such package will contain necessary data to find read only strings in
* the package and copy them into the package body.
*
* @param in_packaged pointer to original package created with
* @ref CBPRINTF_PACKAGE_ADD_RO_STR_POS.
*
* @param in_len @p in_packaged length.
*
* @param packaged pointer to location where fully self-contained version of the
* input package will be written. Pass a null pointer to calculate space required.
*
* @param len must be set to the number of bytes available at @p packaged. Not
* used if @p packaged is null.
*
* @retval nonegative the number of bytes successfully stored at @p packaged.
* This will not exceed @p len. If @p packaged is null, calculated length.
* @retval -ENOSPC if @p packaged was not null and the space required to store
* exceed @p len.
* @retval -EINVAL if @p in_packaged is null.
*/
static inline int cbprintf_fsc_package(void *in_packaged,
size_t in_len,
void *packaged,
size_t len)
{
return cbprintf_package_copy(in_packaged, in_len, packaged, len,
CBPRINTF_PACKAGE_CONVERT_RO_STR |
CBPRINTF_PACKAGE_CONVERT_RW_STR, NULL, 0);
}
/** @brief Generate the output for a previously captured format
* operation using an external formatter.
*
* @param out the function used to emit each generated character.
*
* @param formatter external formatter function.
*
* @param ctx a pointer to an object that provides context for the
* external formatter.
*
* @param packaged the data required to generate the formatted output, as
* captured by cbprintf_package() or cbvprintf_package(). The alignment
* requirement on this data is the same as when it was initially created.
*
* @note Memory indicated by @p packaged will be modified in a non-destructive
* way, meaning that it could still be reused with this function again.
*
* @return printf like return values: the number of characters printed,
* or a negative error value returned from external formatter.
*/
int cbpprintf_external(cbprintf_cb out,
cbvprintf_external_formatter_func formatter,
void *ctx,
void *packaged);
/** @brief *printf-like output through a callback.
*
* This is essentially printf() except the output is generated
* character-by-character using the provided @p out function. This allows
* formatting text of unbounded length without incurring the cost of a
* temporary buffer.
*
* All formatting specifiers of C99 are recognized, and most are supported if
* the functionality is enabled.
*
* @note The functionality of this function is significantly reduced
* when @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param out the function used to emit each generated character.
*
* @param ctx context provided when invoking out
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ... arguments corresponding to the conversion specifications found
* within @p format.
*
* @return the number of characters printed, or a negative error value
* returned from invoking @p out.
*/
__printf_like(3, 4)
int cbprintf(cbprintf_cb out, void *ctx, const char *format, ...);
/** @brief varargs-aware *printf-like output through a callback.
*
* This is essentially vsprintf() except the output is generated
* character-by-character using the provided @p out function. This allows
* formatting text of unbounded length without incurring the cost of a
* temporary buffer.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param out the function used to emit each generated character.
*
* @param ctx context provided when invoking out
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @param flags flags on how to process the inputs.
* @see Z_CBVPRINTF_PROCESS_FLAGS.
*
* @return the number of characters generated, or a negative error value
* returned from invoking @p out.
*/
int z_cbvprintf_impl(cbprintf_cb out, void *ctx, const char *format,
va_list ap, uint32_t flags);
/** @brief varargs-aware *printf-like output through a callback.
*
* This is essentially vsprintf() except the output is generated
* character-by-character using the provided @p out function. This allows
* formatting text of unbounded length without incurring the cost of a
* temporary buffer.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param out the function used to emit each generated character.
*
* @param ctx context provided when invoking out
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @return the number of characters generated, or a negative error value
* returned from invoking @p out.
*/
#ifdef CONFIG_PICOLIBC
int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap);
#else
static inline
int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
{
return z_cbvprintf_impl(out, ctx, format, ap, 0);
}
#endif
/** @brief varargs-aware *printf-like output through a callback with tagged arguments.
*
* This is essentially vsprintf() except the output is generated
* character-by-character using the provided @p out function. This allows
* formatting text of unbounded length without incurring the cost of a
* temporary buffer.
*
* Note that the argument list @p ap are tagged.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param out the function used to emit each generated character.
*
* @param ctx context provided when invoking out
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @return the number of characters generated, or a negative error value
* returned from invoking @p out.
*/
static inline
int cbvprintf_tagged_args(cbprintf_cb out, void *ctx,
const char *format, va_list ap)
{
return z_cbvprintf_impl(out, ctx, format, ap,
Z_CBVPRINTF_PROCESS_FLAG_TAGGED_ARGS);
}
/** @brief Generate the output for a previously captured format
* operation.
*
* @param out the function used to emit each generated character.
*
* @param ctx context provided when invoking out
*
* @param packaged the data required to generate the formatted output, as
* captured by cbprintf_package() or cbvprintf_package(). The alignment
* requirement on this data is the same as when it was initially created.
*
* @note Memory indicated by @p packaged will be modified in a non-destructive
* way, meaning that it could still be reused with this function again.
*
* @return the number of characters printed, or a negative error value
* returned from invoking @p out.
*/
static inline
int cbpprintf(cbprintf_cb out, void *ctx, void *packaged)
{
#if defined(CONFIG_CBPRINTF_PACKAGE_SUPPORT_TAGGED_ARGUMENTS)
union cbprintf_package_hdr *hdr =
(union cbprintf_package_hdr *)packaged;
if ((hdr->desc.pkg_flags & CBPRINTF_PACKAGE_ARGS_ARE_TAGGED)
== CBPRINTF_PACKAGE_ARGS_ARE_TAGGED) {
return cbpprintf_external(out, cbvprintf_tagged_args,
ctx, packaged);
}
#endif
return cbpprintf_external(out, cbvprintf, ctx, packaged);
}
#ifdef CONFIG_CBPRINTF_LIBC_SUBSTS
#ifdef CONFIG_PICOLIBC
#define fprintfcb(stream, ...) fprintf(stream, __VA_ARGS__)
#define vfprintfcb(stream, format, ap) vfprintf(stream, format, ap)
#define printfcb(format, ...) printf(format, __VA_ARGS__)
#define vprintfcb(format, ap) vprintf(format, ap)
#define snprintfcb(str, size, ...) snprintf(str, size, __VA_ARGS__)
#define vsnprintfcb(str, size, format, ap) vsnprintf(str, size, format, ap)
#else
/** @brief fprintf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced
* when @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param stream the stream to which the output should be written.
*
* @param format a standard ISO C format string with characters and
* conversion specifications.
*
* @param ... arguments corresponding to the conversion specifications found
* within @p format.
*
* return The number of characters printed.
*/
__printf_like(2, 3)
int fprintfcb(FILE * stream, const char *format, ...);
/** @brief vfprintf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param stream the stream to which the output should be written.
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @return The number of characters printed.
*/
int vfprintfcb(FILE *stream, const char *format, va_list ap);
/** @brief printf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced
* when @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param format a standard ISO C format string with characters and
* conversion specifications.
*
* @param ... arguments corresponding to the conversion specifications found
* within @p format.
*
* @return The number of characters printed.
*/
__printf_like(1, 2)
int printfcb(const char *format, ...);
/** @brief vprintf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @return The number of characters printed.
*/
int vprintfcb(const char *format, va_list ap);
/** @brief snprintf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced
* when @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param str where the formatted content should be written
*
* @param size maximum number of chaacters for the formatted output,
* including the terminating null byte.
*
* @param format a standard ISO C format string with characters and
* conversion specifications.
*
* @param ... arguments corresponding to the conversion specifications found
* within @p format.
*
* @return The number of characters that would have been written to @p
* str, excluding the terminating null byte. This is greater than the
* number actually written if @p size is too small.
*/
__printf_like(3, 4)
int snprintfcb(char *str, size_t size, const char *format, ...);
/** @brief vsnprintf using Zephyrs cbprintf infrastructure.
*
* @note This function is available only when
* @kconfig{CONFIG_CBPRINTF_LIBC_SUBSTS} is selected.
*
* @note The functionality of this function is significantly reduced when
* @kconfig{CONFIG_CBPRINTF_NANO} is selected.
*
* @param str where the formatted content should be written
*
* @param size maximum number of chaacters for the formatted output, including
* the terminating null byte.
*
* @param format a standard ISO C format string with characters and conversion
* specifications.
*
* @param ap a reference to the values to be converted.
*
* @return The number of characters that would have been written to @p
* str, excluding the terminating null byte. This is greater than the
* number actually written if @p size is too small.
*/
int vsnprintfcb(char *str, size_t size, const char *format, va_list ap);
#endif /* CONFIG_PICOLIBC */
#endif /* CONFIG_CBPRINTF_LIBC_SUBSTS */
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_CBPRINTF_H_ */
``` | /content/code_sandbox/include/zephyr/sys/cbprintf.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,820 |
```objective-c
/*
*
*/
/**
* @cond INTERNAL_HIDDEN
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_
#error "This header should not be used directly, please include util_internal.h instead"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_
#define Z_UTIL_X2_0 0
#define Z_UTIL_X2_1 2
#define Z_UTIL_X2_2 4
#define Z_UTIL_X2_3 6
#define Z_UTIL_X2_4 8
#define Z_UTIL_X2_5 10
#define Z_UTIL_X2_6 12
#define Z_UTIL_X2_7 14
#define Z_UTIL_X2_8 16
#define Z_UTIL_X2_9 18
#define Z_UTIL_X2_10 20
#define Z_UTIL_X2_11 22
#define Z_UTIL_X2_12 24
#define Z_UTIL_X2_13 26
#define Z_UTIL_X2_14 28
#define Z_UTIL_X2_15 30
#define Z_UTIL_X2_16 32
#define Z_UTIL_X2_17 34
#define Z_UTIL_X2_18 36
#define Z_UTIL_X2_19 38
#define Z_UTIL_X2_20 40
#define Z_UTIL_X2_21 42
#define Z_UTIL_X2_22 44
#define Z_UTIL_X2_23 46
#define Z_UTIL_X2_24 48
#define Z_UTIL_X2_25 50
#define Z_UTIL_X2_26 52
#define Z_UTIL_X2_27 54
#define Z_UTIL_X2_28 56
#define Z_UTIL_X2_29 58
#define Z_UTIL_X2_30 60
#define Z_UTIL_X2_31 62
#define Z_UTIL_X2_32 64
#define Z_UTIL_X2_33 66
#define Z_UTIL_X2_34 68
#define Z_UTIL_X2_35 70
#define Z_UTIL_X2_36 72
#define Z_UTIL_X2_37 74
#define Z_UTIL_X2_38 76
#define Z_UTIL_X2_39 78
#define Z_UTIL_X2_40 80
#define Z_UTIL_X2_41 82
#define Z_UTIL_X2_42 84
#define Z_UTIL_X2_43 86
#define Z_UTIL_X2_44 88
#define Z_UTIL_X2_45 90
#define Z_UTIL_X2_46 92
#define Z_UTIL_X2_47 94
#define Z_UTIL_X2_48 96
#define Z_UTIL_X2_49 98
#define Z_UTIL_X2_50 100
#define Z_UTIL_X2_51 102
#define Z_UTIL_X2_52 104
#define Z_UTIL_X2_53 106
#define Z_UTIL_X2_54 108
#define Z_UTIL_X2_55 110
#define Z_UTIL_X2_56 112
#define Z_UTIL_X2_57 114
#define Z_UTIL_X2_58 116
#define Z_UTIL_X2_59 118
#define Z_UTIL_X2_60 120
#define Z_UTIL_X2_61 122
#define Z_UTIL_X2_62 124
#define Z_UTIL_X2_63 126
#define Z_UTIL_X2_64 128
#define Z_UTIL_X2_65 130
#define Z_UTIL_X2_66 132
#define Z_UTIL_X2_67 134
#define Z_UTIL_X2_68 136
#define Z_UTIL_X2_69 138
#define Z_UTIL_X2_70 140
#define Z_UTIL_X2_71 142
#define Z_UTIL_X2_72 144
#define Z_UTIL_X2_73 146
#define Z_UTIL_X2_74 148
#define Z_UTIL_X2_75 150
#define Z_UTIL_X2_76 152
#define Z_UTIL_X2_77 154
#define Z_UTIL_X2_78 156
#define Z_UTIL_X2_79 158
#define Z_UTIL_X2_80 160
#define Z_UTIL_X2_81 162
#define Z_UTIL_X2_82 164
#define Z_UTIL_X2_83 166
#define Z_UTIL_X2_84 168
#define Z_UTIL_X2_85 170
#define Z_UTIL_X2_86 172
#define Z_UTIL_X2_87 174
#define Z_UTIL_X2_88 176
#define Z_UTIL_X2_89 178
#define Z_UTIL_X2_90 180
#define Z_UTIL_X2_91 182
#define Z_UTIL_X2_92 184
#define Z_UTIL_X2_93 186
#define Z_UTIL_X2_94 188
#define Z_UTIL_X2_95 190
#define Z_UTIL_X2_96 192
#define Z_UTIL_X2_97 194
#define Z_UTIL_X2_98 196
#define Z_UTIL_X2_99 198
#define Z_UTIL_X2_100 200
#define Z_UTIL_X2_101 202
#define Z_UTIL_X2_102 204
#define Z_UTIL_X2_103 206
#define Z_UTIL_X2_104 208
#define Z_UTIL_X2_105 210
#define Z_UTIL_X2_106 212
#define Z_UTIL_X2_107 214
#define Z_UTIL_X2_108 216
#define Z_UTIL_X2_109 218
#define Z_UTIL_X2_110 220
#define Z_UTIL_X2_111 222
#define Z_UTIL_X2_112 224
#define Z_UTIL_X2_113 226
#define Z_UTIL_X2_114 228
#define Z_UTIL_X2_115 230
#define Z_UTIL_X2_116 232
#define Z_UTIL_X2_117 234
#define Z_UTIL_X2_118 236
#define Z_UTIL_X2_119 238
#define Z_UTIL_X2_120 240
#define Z_UTIL_X2_121 242
#define Z_UTIL_X2_122 244
#define Z_UTIL_X2_123 246
#define Z_UTIL_X2_124 248
#define Z_UTIL_X2_125 250
#define Z_UTIL_X2_126 252
#define Z_UTIL_X2_127 254
#define Z_UTIL_X2_128 256
#define Z_UTIL_X2_129 258
#define Z_UTIL_X2_130 260
#define Z_UTIL_X2_131 262
#define Z_UTIL_X2_132 264
#define Z_UTIL_X2_133 266
#define Z_UTIL_X2_134 268
#define Z_UTIL_X2_135 270
#define Z_UTIL_X2_136 272
#define Z_UTIL_X2_137 274
#define Z_UTIL_X2_138 276
#define Z_UTIL_X2_139 278
#define Z_UTIL_X2_140 280
#define Z_UTIL_X2_141 282
#define Z_UTIL_X2_142 284
#define Z_UTIL_X2_143 286
#define Z_UTIL_X2_144 288
#define Z_UTIL_X2_145 290
#define Z_UTIL_X2_146 292
#define Z_UTIL_X2_147 294
#define Z_UTIL_X2_148 296
#define Z_UTIL_X2_149 298
#define Z_UTIL_X2_150 300
#define Z_UTIL_X2_151 302
#define Z_UTIL_X2_152 304
#define Z_UTIL_X2_153 306
#define Z_UTIL_X2_154 308
#define Z_UTIL_X2_155 310
#define Z_UTIL_X2_156 312
#define Z_UTIL_X2_157 314
#define Z_UTIL_X2_158 316
#define Z_UTIL_X2_159 318
#define Z_UTIL_X2_160 320
#define Z_UTIL_X2_161 322
#define Z_UTIL_X2_162 324
#define Z_UTIL_X2_163 326
#define Z_UTIL_X2_164 328
#define Z_UTIL_X2_165 330
#define Z_UTIL_X2_166 332
#define Z_UTIL_X2_167 334
#define Z_UTIL_X2_168 336
#define Z_UTIL_X2_169 338
#define Z_UTIL_X2_170 340
#define Z_UTIL_X2_171 342
#define Z_UTIL_X2_172 344
#define Z_UTIL_X2_173 346
#define Z_UTIL_X2_174 348
#define Z_UTIL_X2_175 350
#define Z_UTIL_X2_176 352
#define Z_UTIL_X2_177 354
#define Z_UTIL_X2_178 356
#define Z_UTIL_X2_179 358
#define Z_UTIL_X2_180 360
#define Z_UTIL_X2_181 362
#define Z_UTIL_X2_182 364
#define Z_UTIL_X2_183 366
#define Z_UTIL_X2_184 368
#define Z_UTIL_X2_185 370
#define Z_UTIL_X2_186 372
#define Z_UTIL_X2_187 374
#define Z_UTIL_X2_188 376
#define Z_UTIL_X2_189 378
#define Z_UTIL_X2_190 380
#define Z_UTIL_X2_191 382
#define Z_UTIL_X2_192 384
#define Z_UTIL_X2_193 386
#define Z_UTIL_X2_194 388
#define Z_UTIL_X2_195 390
#define Z_UTIL_X2_196 392
#define Z_UTIL_X2_197 394
#define Z_UTIL_X2_198 396
#define Z_UTIL_X2_199 398
#define Z_UTIL_X2_200 400
#define Z_UTIL_X2_201 402
#define Z_UTIL_X2_202 404
#define Z_UTIL_X2_203 406
#define Z_UTIL_X2_204 408
#define Z_UTIL_X2_205 410
#define Z_UTIL_X2_206 412
#define Z_UTIL_X2_207 414
#define Z_UTIL_X2_208 416
#define Z_UTIL_X2_209 418
#define Z_UTIL_X2_210 420
#define Z_UTIL_X2_211 422
#define Z_UTIL_X2_212 424
#define Z_UTIL_X2_213 426
#define Z_UTIL_X2_214 428
#define Z_UTIL_X2_215 430
#define Z_UTIL_X2_216 432
#define Z_UTIL_X2_217 434
#define Z_UTIL_X2_218 436
#define Z_UTIL_X2_219 438
#define Z_UTIL_X2_220 440
#define Z_UTIL_X2_221 442
#define Z_UTIL_X2_222 444
#define Z_UTIL_X2_223 446
#define Z_UTIL_X2_224 448
#define Z_UTIL_X2_225 450
#define Z_UTIL_X2_226 452
#define Z_UTIL_X2_227 454
#define Z_UTIL_X2_228 456
#define Z_UTIL_X2_229 458
#define Z_UTIL_X2_230 460
#define Z_UTIL_X2_231 462
#define Z_UTIL_X2_232 464
#define Z_UTIL_X2_233 466
#define Z_UTIL_X2_234 468
#define Z_UTIL_X2_235 470
#define Z_UTIL_X2_236 472
#define Z_UTIL_X2_237 474
#define Z_UTIL_X2_238 476
#define Z_UTIL_X2_239 478
#define Z_UTIL_X2_240 480
#define Z_UTIL_X2_241 482
#define Z_UTIL_X2_242 484
#define Z_UTIL_X2_243 486
#define Z_UTIL_X2_244 488
#define Z_UTIL_X2_245 490
#define Z_UTIL_X2_246 492
#define Z_UTIL_X2_247 494
#define Z_UTIL_X2_248 496
#define Z_UTIL_X2_249 498
#define Z_UTIL_X2_250 500
#define Z_UTIL_X2_251 502
#define Z_UTIL_X2_252 504
#define Z_UTIL_X2_253 506
#define Z_UTIL_X2_254 508
#define Z_UTIL_X2_255 510
#define Z_UTIL_X2_256 512
#define Z_UTIL_X2_257 514
#define Z_UTIL_X2_258 516
#define Z_UTIL_X2_259 518
#define Z_UTIL_X2_260 520
#define Z_UTIL_X2_261 522
#define Z_UTIL_X2_262 524
#define Z_UTIL_X2_263 526
#define Z_UTIL_X2_264 528
#define Z_UTIL_X2_265 530
#define Z_UTIL_X2_266 532
#define Z_UTIL_X2_267 534
#define Z_UTIL_X2_268 536
#define Z_UTIL_X2_269 538
#define Z_UTIL_X2_270 540
#define Z_UTIL_X2_271 542
#define Z_UTIL_X2_272 544
#define Z_UTIL_X2_273 546
#define Z_UTIL_X2_274 548
#define Z_UTIL_X2_275 550
#define Z_UTIL_X2_276 552
#define Z_UTIL_X2_277 554
#define Z_UTIL_X2_278 556
#define Z_UTIL_X2_279 558
#define Z_UTIL_X2_280 560
#define Z_UTIL_X2_281 562
#define Z_UTIL_X2_282 564
#define Z_UTIL_X2_283 566
#define Z_UTIL_X2_284 568
#define Z_UTIL_X2_285 570
#define Z_UTIL_X2_286 572
#define Z_UTIL_X2_287 574
#define Z_UTIL_X2_288 576
#define Z_UTIL_X2_289 578
#define Z_UTIL_X2_290 580
#define Z_UTIL_X2_291 582
#define Z_UTIL_X2_292 584
#define Z_UTIL_X2_293 586
#define Z_UTIL_X2_294 588
#define Z_UTIL_X2_295 590
#define Z_UTIL_X2_296 592
#define Z_UTIL_X2_297 594
#define Z_UTIL_X2_298 596
#define Z_UTIL_X2_299 598
#define Z_UTIL_X2_300 600
#define Z_UTIL_X2_301 602
#define Z_UTIL_X2_302 604
#define Z_UTIL_X2_303 606
#define Z_UTIL_X2_304 608
#define Z_UTIL_X2_305 610
#define Z_UTIL_X2_306 612
#define Z_UTIL_X2_307 614
#define Z_UTIL_X2_308 616
#define Z_UTIL_X2_309 618
#define Z_UTIL_X2_310 620
#define Z_UTIL_X2_311 622
#define Z_UTIL_X2_312 624
#define Z_UTIL_X2_313 626
#define Z_UTIL_X2_314 628
#define Z_UTIL_X2_315 630
#define Z_UTIL_X2_316 632
#define Z_UTIL_X2_317 634
#define Z_UTIL_X2_318 636
#define Z_UTIL_X2_319 638
#define Z_UTIL_X2_320 640
#define Z_UTIL_X2_321 642
#define Z_UTIL_X2_322 644
#define Z_UTIL_X2_323 646
#define Z_UTIL_X2_324 648
#define Z_UTIL_X2_325 650
#define Z_UTIL_X2_326 652
#define Z_UTIL_X2_327 654
#define Z_UTIL_X2_328 656
#define Z_UTIL_X2_329 658
#define Z_UTIL_X2_330 660
#define Z_UTIL_X2_331 662
#define Z_UTIL_X2_332 664
#define Z_UTIL_X2_333 666
#define Z_UTIL_X2_334 668
#define Z_UTIL_X2_335 670
#define Z_UTIL_X2_336 672
#define Z_UTIL_X2_337 674
#define Z_UTIL_X2_338 676
#define Z_UTIL_X2_339 678
#define Z_UTIL_X2_340 680
#define Z_UTIL_X2_341 682
#define Z_UTIL_X2_342 684
#define Z_UTIL_X2_343 686
#define Z_UTIL_X2_344 688
#define Z_UTIL_X2_345 690
#define Z_UTIL_X2_346 692
#define Z_UTIL_X2_347 694
#define Z_UTIL_X2_348 696
#define Z_UTIL_X2_349 698
#define Z_UTIL_X2_350 700
#define Z_UTIL_X2_351 702
#define Z_UTIL_X2_352 704
#define Z_UTIL_X2_353 706
#define Z_UTIL_X2_354 708
#define Z_UTIL_X2_355 710
#define Z_UTIL_X2_356 712
#define Z_UTIL_X2_357 714
#define Z_UTIL_X2_358 716
#define Z_UTIL_X2_359 718
#define Z_UTIL_X2_360 720
#define Z_UTIL_X2_361 722
#define Z_UTIL_X2_362 724
#define Z_UTIL_X2_363 726
#define Z_UTIL_X2_364 728
#define Z_UTIL_X2_365 730
#define Z_UTIL_X2_366 732
#define Z_UTIL_X2_367 734
#define Z_UTIL_X2_368 736
#define Z_UTIL_X2_369 738
#define Z_UTIL_X2_370 740
#define Z_UTIL_X2_371 742
#define Z_UTIL_X2_372 744
#define Z_UTIL_X2_373 746
#define Z_UTIL_X2_374 748
#define Z_UTIL_X2_375 750
#define Z_UTIL_X2_376 752
#define Z_UTIL_X2_377 754
#define Z_UTIL_X2_378 756
#define Z_UTIL_X2_379 758
#define Z_UTIL_X2_380 760
#define Z_UTIL_X2_381 762
#define Z_UTIL_X2_382 764
#define Z_UTIL_X2_383 766
#define Z_UTIL_X2_384 768
#define Z_UTIL_X2_385 770
#define Z_UTIL_X2_386 772
#define Z_UTIL_X2_387 774
#define Z_UTIL_X2_388 776
#define Z_UTIL_X2_389 778
#define Z_UTIL_X2_390 780
#define Z_UTIL_X2_391 782
#define Z_UTIL_X2_392 784
#define Z_UTIL_X2_393 786
#define Z_UTIL_X2_394 788
#define Z_UTIL_X2_395 790
#define Z_UTIL_X2_396 792
#define Z_UTIL_X2_397 794
#define Z_UTIL_X2_398 796
#define Z_UTIL_X2_399 798
#define Z_UTIL_X2_400 800
#define Z_UTIL_X2_401 802
#define Z_UTIL_X2_402 804
#define Z_UTIL_X2_403 806
#define Z_UTIL_X2_404 808
#define Z_UTIL_X2_405 810
#define Z_UTIL_X2_406 812
#define Z_UTIL_X2_407 814
#define Z_UTIL_X2_408 816
#define Z_UTIL_X2_409 818
#define Z_UTIL_X2_410 820
#define Z_UTIL_X2_411 822
#define Z_UTIL_X2_412 824
#define Z_UTIL_X2_413 826
#define Z_UTIL_X2_414 828
#define Z_UTIL_X2_415 830
#define Z_UTIL_X2_416 832
#define Z_UTIL_X2_417 834
#define Z_UTIL_X2_418 836
#define Z_UTIL_X2_419 838
#define Z_UTIL_X2_420 840
#define Z_UTIL_X2_421 842
#define Z_UTIL_X2_422 844
#define Z_UTIL_X2_423 846
#define Z_UTIL_X2_424 848
#define Z_UTIL_X2_425 850
#define Z_UTIL_X2_426 852
#define Z_UTIL_X2_427 854
#define Z_UTIL_X2_428 856
#define Z_UTIL_X2_429 858
#define Z_UTIL_X2_430 860
#define Z_UTIL_X2_431 862
#define Z_UTIL_X2_432 864
#define Z_UTIL_X2_433 866
#define Z_UTIL_X2_434 868
#define Z_UTIL_X2_435 870
#define Z_UTIL_X2_436 872
#define Z_UTIL_X2_437 874
#define Z_UTIL_X2_438 876
#define Z_UTIL_X2_439 878
#define Z_UTIL_X2_440 880
#define Z_UTIL_X2_441 882
#define Z_UTIL_X2_442 884
#define Z_UTIL_X2_443 886
#define Z_UTIL_X2_444 888
#define Z_UTIL_X2_445 890
#define Z_UTIL_X2_446 892
#define Z_UTIL_X2_447 894
#define Z_UTIL_X2_448 896
#define Z_UTIL_X2_449 898
#define Z_UTIL_X2_450 900
#define Z_UTIL_X2_451 902
#define Z_UTIL_X2_452 904
#define Z_UTIL_X2_453 906
#define Z_UTIL_X2_454 908
#define Z_UTIL_X2_455 910
#define Z_UTIL_X2_456 912
#define Z_UTIL_X2_457 914
#define Z_UTIL_X2_458 916
#define Z_UTIL_X2_459 918
#define Z_UTIL_X2_460 920
#define Z_UTIL_X2_461 922
#define Z_UTIL_X2_462 924
#define Z_UTIL_X2_463 926
#define Z_UTIL_X2_464 928
#define Z_UTIL_X2_465 930
#define Z_UTIL_X2_466 932
#define Z_UTIL_X2_467 934
#define Z_UTIL_X2_468 936
#define Z_UTIL_X2_469 938
#define Z_UTIL_X2_470 940
#define Z_UTIL_X2_471 942
#define Z_UTIL_X2_472 944
#define Z_UTIL_X2_473 946
#define Z_UTIL_X2_474 948
#define Z_UTIL_X2_475 950
#define Z_UTIL_X2_476 952
#define Z_UTIL_X2_477 954
#define Z_UTIL_X2_478 956
#define Z_UTIL_X2_479 958
#define Z_UTIL_X2_480 960
#define Z_UTIL_X2_481 962
#define Z_UTIL_X2_482 964
#define Z_UTIL_X2_483 966
#define Z_UTIL_X2_484 968
#define Z_UTIL_X2_485 970
#define Z_UTIL_X2_486 972
#define Z_UTIL_X2_487 974
#define Z_UTIL_X2_488 976
#define Z_UTIL_X2_489 978
#define Z_UTIL_X2_490 980
#define Z_UTIL_X2_491 982
#define Z_UTIL_X2_492 984
#define Z_UTIL_X2_493 986
#define Z_UTIL_X2_494 988
#define Z_UTIL_X2_495 990
#define Z_UTIL_X2_496 992
#define Z_UTIL_X2_497 994
#define Z_UTIL_X2_498 996
#define Z_UTIL_X2_499 998
#define Z_UTIL_X2_500 1000
#define Z_UTIL_X2_501 1002
#define Z_UTIL_X2_502 1004
#define Z_UTIL_X2_503 1006
#define Z_UTIL_X2_504 1008
#define Z_UTIL_X2_505 1010
#define Z_UTIL_X2_506 1012
#define Z_UTIL_X2_507 1014
#define Z_UTIL_X2_508 1016
#define Z_UTIL_X2_509 1018
#define Z_UTIL_X2_510 1020
#define Z_UTIL_X2_511 1022
#define Z_UTIL_X2_512 1024
#define Z_UTIL_X2_513 1026
#define Z_UTIL_X2_514 1028
#define Z_UTIL_X2_515 1030
#define Z_UTIL_X2_516 1032
#define Z_UTIL_X2_517 1034
#define Z_UTIL_X2_518 1036
#define Z_UTIL_X2_519 1038
#define Z_UTIL_X2_520 1040
#define Z_UTIL_X2_521 1042
#define Z_UTIL_X2_522 1044
#define Z_UTIL_X2_523 1046
#define Z_UTIL_X2_524 1048
#define Z_UTIL_X2_525 1050
#define Z_UTIL_X2_526 1052
#define Z_UTIL_X2_527 1054
#define Z_UTIL_X2_528 1056
#define Z_UTIL_X2_529 1058
#define Z_UTIL_X2_530 1060
#define Z_UTIL_X2_531 1062
#define Z_UTIL_X2_532 1064
#define Z_UTIL_X2_533 1066
#define Z_UTIL_X2_534 1068
#define Z_UTIL_X2_535 1070
#define Z_UTIL_X2_536 1072
#define Z_UTIL_X2_537 1074
#define Z_UTIL_X2_538 1076
#define Z_UTIL_X2_539 1078
#define Z_UTIL_X2_540 1080
#define Z_UTIL_X2_541 1082
#define Z_UTIL_X2_542 1084
#define Z_UTIL_X2_543 1086
#define Z_UTIL_X2_544 1088
#define Z_UTIL_X2_545 1090
#define Z_UTIL_X2_546 1092
#define Z_UTIL_X2_547 1094
#define Z_UTIL_X2_548 1096
#define Z_UTIL_X2_549 1098
#define Z_UTIL_X2_550 1100
#define Z_UTIL_X2_551 1102
#define Z_UTIL_X2_552 1104
#define Z_UTIL_X2_553 1106
#define Z_UTIL_X2_554 1108
#define Z_UTIL_X2_555 1110
#define Z_UTIL_X2_556 1112
#define Z_UTIL_X2_557 1114
#define Z_UTIL_X2_558 1116
#define Z_UTIL_X2_559 1118
#define Z_UTIL_X2_560 1120
#define Z_UTIL_X2_561 1122
#define Z_UTIL_X2_562 1124
#define Z_UTIL_X2_563 1126
#define Z_UTIL_X2_564 1128
#define Z_UTIL_X2_565 1130
#define Z_UTIL_X2_566 1132
#define Z_UTIL_X2_567 1134
#define Z_UTIL_X2_568 1136
#define Z_UTIL_X2_569 1138
#define Z_UTIL_X2_570 1140
#define Z_UTIL_X2_571 1142
#define Z_UTIL_X2_572 1144
#define Z_UTIL_X2_573 1146
#define Z_UTIL_X2_574 1148
#define Z_UTIL_X2_575 1150
#define Z_UTIL_X2_576 1152
#define Z_UTIL_X2_577 1154
#define Z_UTIL_X2_578 1156
#define Z_UTIL_X2_579 1158
#define Z_UTIL_X2_580 1160
#define Z_UTIL_X2_581 1162
#define Z_UTIL_X2_582 1164
#define Z_UTIL_X2_583 1166
#define Z_UTIL_X2_584 1168
#define Z_UTIL_X2_585 1170
#define Z_UTIL_X2_586 1172
#define Z_UTIL_X2_587 1174
#define Z_UTIL_X2_588 1176
#define Z_UTIL_X2_589 1178
#define Z_UTIL_X2_590 1180
#define Z_UTIL_X2_591 1182
#define Z_UTIL_X2_592 1184
#define Z_UTIL_X2_593 1186
#define Z_UTIL_X2_594 1188
#define Z_UTIL_X2_595 1190
#define Z_UTIL_X2_596 1192
#define Z_UTIL_X2_597 1194
#define Z_UTIL_X2_598 1196
#define Z_UTIL_X2_599 1198
#define Z_UTIL_X2_600 1200
#define Z_UTIL_X2_601 1202
#define Z_UTIL_X2_602 1204
#define Z_UTIL_X2_603 1206
#define Z_UTIL_X2_604 1208
#define Z_UTIL_X2_605 1210
#define Z_UTIL_X2_606 1212
#define Z_UTIL_X2_607 1214
#define Z_UTIL_X2_608 1216
#define Z_UTIL_X2_609 1218
#define Z_UTIL_X2_610 1220
#define Z_UTIL_X2_611 1222
#define Z_UTIL_X2_612 1224
#define Z_UTIL_X2_613 1226
#define Z_UTIL_X2_614 1228
#define Z_UTIL_X2_615 1230
#define Z_UTIL_X2_616 1232
#define Z_UTIL_X2_617 1234
#define Z_UTIL_X2_618 1236
#define Z_UTIL_X2_619 1238
#define Z_UTIL_X2_620 1240
#define Z_UTIL_X2_621 1242
#define Z_UTIL_X2_622 1244
#define Z_UTIL_X2_623 1246
#define Z_UTIL_X2_624 1248
#define Z_UTIL_X2_625 1250
#define Z_UTIL_X2_626 1252
#define Z_UTIL_X2_627 1254
#define Z_UTIL_X2_628 1256
#define Z_UTIL_X2_629 1258
#define Z_UTIL_X2_630 1260
#define Z_UTIL_X2_631 1262
#define Z_UTIL_X2_632 1264
#define Z_UTIL_X2_633 1266
#define Z_UTIL_X2_634 1268
#define Z_UTIL_X2_635 1270
#define Z_UTIL_X2_636 1272
#define Z_UTIL_X2_637 1274
#define Z_UTIL_X2_638 1276
#define Z_UTIL_X2_639 1278
#define Z_UTIL_X2_640 1280
#define Z_UTIL_X2_641 1282
#define Z_UTIL_X2_642 1284
#define Z_UTIL_X2_643 1286
#define Z_UTIL_X2_644 1288
#define Z_UTIL_X2_645 1290
#define Z_UTIL_X2_646 1292
#define Z_UTIL_X2_647 1294
#define Z_UTIL_X2_648 1296
#define Z_UTIL_X2_649 1298
#define Z_UTIL_X2_650 1300
#define Z_UTIL_X2_651 1302
#define Z_UTIL_X2_652 1304
#define Z_UTIL_X2_653 1306
#define Z_UTIL_X2_654 1308
#define Z_UTIL_X2_655 1310
#define Z_UTIL_X2_656 1312
#define Z_UTIL_X2_657 1314
#define Z_UTIL_X2_658 1316
#define Z_UTIL_X2_659 1318
#define Z_UTIL_X2_660 1320
#define Z_UTIL_X2_661 1322
#define Z_UTIL_X2_662 1324
#define Z_UTIL_X2_663 1326
#define Z_UTIL_X2_664 1328
#define Z_UTIL_X2_665 1330
#define Z_UTIL_X2_666 1332
#define Z_UTIL_X2_667 1334
#define Z_UTIL_X2_668 1336
#define Z_UTIL_X2_669 1338
#define Z_UTIL_X2_670 1340
#define Z_UTIL_X2_671 1342
#define Z_UTIL_X2_672 1344
#define Z_UTIL_X2_673 1346
#define Z_UTIL_X2_674 1348
#define Z_UTIL_X2_675 1350
#define Z_UTIL_X2_676 1352
#define Z_UTIL_X2_677 1354
#define Z_UTIL_X2_678 1356
#define Z_UTIL_X2_679 1358
#define Z_UTIL_X2_680 1360
#define Z_UTIL_X2_681 1362
#define Z_UTIL_X2_682 1364
#define Z_UTIL_X2_683 1366
#define Z_UTIL_X2_684 1368
#define Z_UTIL_X2_685 1370
#define Z_UTIL_X2_686 1372
#define Z_UTIL_X2_687 1374
#define Z_UTIL_X2_688 1376
#define Z_UTIL_X2_689 1378
#define Z_UTIL_X2_690 1380
#define Z_UTIL_X2_691 1382
#define Z_UTIL_X2_692 1384
#define Z_UTIL_X2_693 1386
#define Z_UTIL_X2_694 1388
#define Z_UTIL_X2_695 1390
#define Z_UTIL_X2_696 1392
#define Z_UTIL_X2_697 1394
#define Z_UTIL_X2_698 1396
#define Z_UTIL_X2_699 1398
#define Z_UTIL_X2_700 1400
#define Z_UTIL_X2_701 1402
#define Z_UTIL_X2_702 1404
#define Z_UTIL_X2_703 1406
#define Z_UTIL_X2_704 1408
#define Z_UTIL_X2_705 1410
#define Z_UTIL_X2_706 1412
#define Z_UTIL_X2_707 1414
#define Z_UTIL_X2_708 1416
#define Z_UTIL_X2_709 1418
#define Z_UTIL_X2_710 1420
#define Z_UTIL_X2_711 1422
#define Z_UTIL_X2_712 1424
#define Z_UTIL_X2_713 1426
#define Z_UTIL_X2_714 1428
#define Z_UTIL_X2_715 1430
#define Z_UTIL_X2_716 1432
#define Z_UTIL_X2_717 1434
#define Z_UTIL_X2_718 1436
#define Z_UTIL_X2_719 1438
#define Z_UTIL_X2_720 1440
#define Z_UTIL_X2_721 1442
#define Z_UTIL_X2_722 1444
#define Z_UTIL_X2_723 1446
#define Z_UTIL_X2_724 1448
#define Z_UTIL_X2_725 1450
#define Z_UTIL_X2_726 1452
#define Z_UTIL_X2_727 1454
#define Z_UTIL_X2_728 1456
#define Z_UTIL_X2_729 1458
#define Z_UTIL_X2_730 1460
#define Z_UTIL_X2_731 1462
#define Z_UTIL_X2_732 1464
#define Z_UTIL_X2_733 1466
#define Z_UTIL_X2_734 1468
#define Z_UTIL_X2_735 1470
#define Z_UTIL_X2_736 1472
#define Z_UTIL_X2_737 1474
#define Z_UTIL_X2_738 1476
#define Z_UTIL_X2_739 1478
#define Z_UTIL_X2_740 1480
#define Z_UTIL_X2_741 1482
#define Z_UTIL_X2_742 1484
#define Z_UTIL_X2_743 1486
#define Z_UTIL_X2_744 1488
#define Z_UTIL_X2_745 1490
#define Z_UTIL_X2_746 1492
#define Z_UTIL_X2_747 1494
#define Z_UTIL_X2_748 1496
#define Z_UTIL_X2_749 1498
#define Z_UTIL_X2_750 1500
#define Z_UTIL_X2_751 1502
#define Z_UTIL_X2_752 1504
#define Z_UTIL_X2_753 1506
#define Z_UTIL_X2_754 1508
#define Z_UTIL_X2_755 1510
#define Z_UTIL_X2_756 1512
#define Z_UTIL_X2_757 1514
#define Z_UTIL_X2_758 1516
#define Z_UTIL_X2_759 1518
#define Z_UTIL_X2_760 1520
#define Z_UTIL_X2_761 1522
#define Z_UTIL_X2_762 1524
#define Z_UTIL_X2_763 1526
#define Z_UTIL_X2_764 1528
#define Z_UTIL_X2_765 1530
#define Z_UTIL_X2_766 1532
#define Z_UTIL_X2_767 1534
#define Z_UTIL_X2_768 1536
#define Z_UTIL_X2_769 1538
#define Z_UTIL_X2_770 1540
#define Z_UTIL_X2_771 1542
#define Z_UTIL_X2_772 1544
#define Z_UTIL_X2_773 1546
#define Z_UTIL_X2_774 1548
#define Z_UTIL_X2_775 1550
#define Z_UTIL_X2_776 1552
#define Z_UTIL_X2_777 1554
#define Z_UTIL_X2_778 1556
#define Z_UTIL_X2_779 1558
#define Z_UTIL_X2_780 1560
#define Z_UTIL_X2_781 1562
#define Z_UTIL_X2_782 1564
#define Z_UTIL_X2_783 1566
#define Z_UTIL_X2_784 1568
#define Z_UTIL_X2_785 1570
#define Z_UTIL_X2_786 1572
#define Z_UTIL_X2_787 1574
#define Z_UTIL_X2_788 1576
#define Z_UTIL_X2_789 1578
#define Z_UTIL_X2_790 1580
#define Z_UTIL_X2_791 1582
#define Z_UTIL_X2_792 1584
#define Z_UTIL_X2_793 1586
#define Z_UTIL_X2_794 1588
#define Z_UTIL_X2_795 1590
#define Z_UTIL_X2_796 1592
#define Z_UTIL_X2_797 1594
#define Z_UTIL_X2_798 1596
#define Z_UTIL_X2_799 1598
#define Z_UTIL_X2_800 1600
#define Z_UTIL_X2_801 1602
#define Z_UTIL_X2_802 1604
#define Z_UTIL_X2_803 1606
#define Z_UTIL_X2_804 1608
#define Z_UTIL_X2_805 1610
#define Z_UTIL_X2_806 1612
#define Z_UTIL_X2_807 1614
#define Z_UTIL_X2_808 1616
#define Z_UTIL_X2_809 1618
#define Z_UTIL_X2_810 1620
#define Z_UTIL_X2_811 1622
#define Z_UTIL_X2_812 1624
#define Z_UTIL_X2_813 1626
#define Z_UTIL_X2_814 1628
#define Z_UTIL_X2_815 1630
#define Z_UTIL_X2_816 1632
#define Z_UTIL_X2_817 1634
#define Z_UTIL_X2_818 1636
#define Z_UTIL_X2_819 1638
#define Z_UTIL_X2_820 1640
#define Z_UTIL_X2_821 1642
#define Z_UTIL_X2_822 1644
#define Z_UTIL_X2_823 1646
#define Z_UTIL_X2_824 1648
#define Z_UTIL_X2_825 1650
#define Z_UTIL_X2_826 1652
#define Z_UTIL_X2_827 1654
#define Z_UTIL_X2_828 1656
#define Z_UTIL_X2_829 1658
#define Z_UTIL_X2_830 1660
#define Z_UTIL_X2_831 1662
#define Z_UTIL_X2_832 1664
#define Z_UTIL_X2_833 1666
#define Z_UTIL_X2_834 1668
#define Z_UTIL_X2_835 1670
#define Z_UTIL_X2_836 1672
#define Z_UTIL_X2_837 1674
#define Z_UTIL_X2_838 1676
#define Z_UTIL_X2_839 1678
#define Z_UTIL_X2_840 1680
#define Z_UTIL_X2_841 1682
#define Z_UTIL_X2_842 1684
#define Z_UTIL_X2_843 1686
#define Z_UTIL_X2_844 1688
#define Z_UTIL_X2_845 1690
#define Z_UTIL_X2_846 1692
#define Z_UTIL_X2_847 1694
#define Z_UTIL_X2_848 1696
#define Z_UTIL_X2_849 1698
#define Z_UTIL_X2_850 1700
#define Z_UTIL_X2_851 1702
#define Z_UTIL_X2_852 1704
#define Z_UTIL_X2_853 1706
#define Z_UTIL_X2_854 1708
#define Z_UTIL_X2_855 1710
#define Z_UTIL_X2_856 1712
#define Z_UTIL_X2_857 1714
#define Z_UTIL_X2_858 1716
#define Z_UTIL_X2_859 1718
#define Z_UTIL_X2_860 1720
#define Z_UTIL_X2_861 1722
#define Z_UTIL_X2_862 1724
#define Z_UTIL_X2_863 1726
#define Z_UTIL_X2_864 1728
#define Z_UTIL_X2_865 1730
#define Z_UTIL_X2_866 1732
#define Z_UTIL_X2_867 1734
#define Z_UTIL_X2_868 1736
#define Z_UTIL_X2_869 1738
#define Z_UTIL_X2_870 1740
#define Z_UTIL_X2_871 1742
#define Z_UTIL_X2_872 1744
#define Z_UTIL_X2_873 1746
#define Z_UTIL_X2_874 1748
#define Z_UTIL_X2_875 1750
#define Z_UTIL_X2_876 1752
#define Z_UTIL_X2_877 1754
#define Z_UTIL_X2_878 1756
#define Z_UTIL_X2_879 1758
#define Z_UTIL_X2_880 1760
#define Z_UTIL_X2_881 1762
#define Z_UTIL_X2_882 1764
#define Z_UTIL_X2_883 1766
#define Z_UTIL_X2_884 1768
#define Z_UTIL_X2_885 1770
#define Z_UTIL_X2_886 1772
#define Z_UTIL_X2_887 1774
#define Z_UTIL_X2_888 1776
#define Z_UTIL_X2_889 1778
#define Z_UTIL_X2_890 1780
#define Z_UTIL_X2_891 1782
#define Z_UTIL_X2_892 1784
#define Z_UTIL_X2_893 1786
#define Z_UTIL_X2_894 1788
#define Z_UTIL_X2_895 1790
#define Z_UTIL_X2_896 1792
#define Z_UTIL_X2_897 1794
#define Z_UTIL_X2_898 1796
#define Z_UTIL_X2_899 1798
#define Z_UTIL_X2_900 1800
#define Z_UTIL_X2_901 1802
#define Z_UTIL_X2_902 1804
#define Z_UTIL_X2_903 1806
#define Z_UTIL_X2_904 1808
#define Z_UTIL_X2_905 1810
#define Z_UTIL_X2_906 1812
#define Z_UTIL_X2_907 1814
#define Z_UTIL_X2_908 1816
#define Z_UTIL_X2_909 1818
#define Z_UTIL_X2_910 1820
#define Z_UTIL_X2_911 1822
#define Z_UTIL_X2_912 1824
#define Z_UTIL_X2_913 1826
#define Z_UTIL_X2_914 1828
#define Z_UTIL_X2_915 1830
#define Z_UTIL_X2_916 1832
#define Z_UTIL_X2_917 1834
#define Z_UTIL_X2_918 1836
#define Z_UTIL_X2_919 1838
#define Z_UTIL_X2_920 1840
#define Z_UTIL_X2_921 1842
#define Z_UTIL_X2_922 1844
#define Z_UTIL_X2_923 1846
#define Z_UTIL_X2_924 1848
#define Z_UTIL_X2_925 1850
#define Z_UTIL_X2_926 1852
#define Z_UTIL_X2_927 1854
#define Z_UTIL_X2_928 1856
#define Z_UTIL_X2_929 1858
#define Z_UTIL_X2_930 1860
#define Z_UTIL_X2_931 1862
#define Z_UTIL_X2_932 1864
#define Z_UTIL_X2_933 1866
#define Z_UTIL_X2_934 1868
#define Z_UTIL_X2_935 1870
#define Z_UTIL_X2_936 1872
#define Z_UTIL_X2_937 1874
#define Z_UTIL_X2_938 1876
#define Z_UTIL_X2_939 1878
#define Z_UTIL_X2_940 1880
#define Z_UTIL_X2_941 1882
#define Z_UTIL_X2_942 1884
#define Z_UTIL_X2_943 1886
#define Z_UTIL_X2_944 1888
#define Z_UTIL_X2_945 1890
#define Z_UTIL_X2_946 1892
#define Z_UTIL_X2_947 1894
#define Z_UTIL_X2_948 1896
#define Z_UTIL_X2_949 1898
#define Z_UTIL_X2_950 1900
#define Z_UTIL_X2_951 1902
#define Z_UTIL_X2_952 1904
#define Z_UTIL_X2_953 1906
#define Z_UTIL_X2_954 1908
#define Z_UTIL_X2_955 1910
#define Z_UTIL_X2_956 1912
#define Z_UTIL_X2_957 1914
#define Z_UTIL_X2_958 1916
#define Z_UTIL_X2_959 1918
#define Z_UTIL_X2_960 1920
#define Z_UTIL_X2_961 1922
#define Z_UTIL_X2_962 1924
#define Z_UTIL_X2_963 1926
#define Z_UTIL_X2_964 1928
#define Z_UTIL_X2_965 1930
#define Z_UTIL_X2_966 1932
#define Z_UTIL_X2_967 1934
#define Z_UTIL_X2_968 1936
#define Z_UTIL_X2_969 1938
#define Z_UTIL_X2_970 1940
#define Z_UTIL_X2_971 1942
#define Z_UTIL_X2_972 1944
#define Z_UTIL_X2_973 1946
#define Z_UTIL_X2_974 1948
#define Z_UTIL_X2_975 1950
#define Z_UTIL_X2_976 1952
#define Z_UTIL_X2_977 1954
#define Z_UTIL_X2_978 1956
#define Z_UTIL_X2_979 1958
#define Z_UTIL_X2_980 1960
#define Z_UTIL_X2_981 1962
#define Z_UTIL_X2_982 1964
#define Z_UTIL_X2_983 1966
#define Z_UTIL_X2_984 1968
#define Z_UTIL_X2_985 1970
#define Z_UTIL_X2_986 1972
#define Z_UTIL_X2_987 1974
#define Z_UTIL_X2_988 1976
#define Z_UTIL_X2_989 1978
#define Z_UTIL_X2_990 1980
#define Z_UTIL_X2_991 1982
#define Z_UTIL_X2_992 1984
#define Z_UTIL_X2_993 1986
#define Z_UTIL_X2_994 1988
#define Z_UTIL_X2_995 1990
#define Z_UTIL_X2_996 1992
#define Z_UTIL_X2_997 1994
#define Z_UTIL_X2_998 1996
#define Z_UTIL_X2_999 1998
#define Z_UTIL_X2_1000 2000
#define Z_UTIL_X2_1001 2002
#define Z_UTIL_X2_1002 2004
#define Z_UTIL_X2_1003 2006
#define Z_UTIL_X2_1004 2008
#define Z_UTIL_X2_1005 2010
#define Z_UTIL_X2_1006 2012
#define Z_UTIL_X2_1007 2014
#define Z_UTIL_X2_1008 2016
#define Z_UTIL_X2_1009 2018
#define Z_UTIL_X2_1010 2020
#define Z_UTIL_X2_1011 2022
#define Z_UTIL_X2_1012 2024
#define Z_UTIL_X2_1013 2026
#define Z_UTIL_X2_1014 2028
#define Z_UTIL_X2_1015 2030
#define Z_UTIL_X2_1016 2032
#define Z_UTIL_X2_1017 2034
#define Z_UTIL_X2_1018 2036
#define Z_UTIL_X2_1019 2038
#define Z_UTIL_X2_1020 2040
#define Z_UTIL_X2_1021 2042
#define Z_UTIL_X2_1022 2044
#define Z_UTIL_X2_1023 2046
#define Z_UTIL_X2_1024 2048
#define Z_UTIL_X2_1025 2050
#define Z_UTIL_X2_1026 2052
#define Z_UTIL_X2_1027 2054
#define Z_UTIL_X2_1028 2056
#define Z_UTIL_X2_1029 2058
#define Z_UTIL_X2_1030 2060
#define Z_UTIL_X2_1031 2062
#define Z_UTIL_X2_1032 2064
#define Z_UTIL_X2_1033 2066
#define Z_UTIL_X2_1034 2068
#define Z_UTIL_X2_1035 2070
#define Z_UTIL_X2_1036 2072
#define Z_UTIL_X2_1037 2074
#define Z_UTIL_X2_1038 2076
#define Z_UTIL_X2_1039 2078
#define Z_UTIL_X2_1040 2080
#define Z_UTIL_X2_1041 2082
#define Z_UTIL_X2_1042 2084
#define Z_UTIL_X2_1043 2086
#define Z_UTIL_X2_1044 2088
#define Z_UTIL_X2_1045 2090
#define Z_UTIL_X2_1046 2092
#define Z_UTIL_X2_1047 2094
#define Z_UTIL_X2_1048 2096
#define Z_UTIL_X2_1049 2098
#define Z_UTIL_X2_1050 2100
#define Z_UTIL_X2_1051 2102
#define Z_UTIL_X2_1052 2104
#define Z_UTIL_X2_1053 2106
#define Z_UTIL_X2_1054 2108
#define Z_UTIL_X2_1055 2110
#define Z_UTIL_X2_1056 2112
#define Z_UTIL_X2_1057 2114
#define Z_UTIL_X2_1058 2116
#define Z_UTIL_X2_1059 2118
#define Z_UTIL_X2_1060 2120
#define Z_UTIL_X2_1061 2122
#define Z_UTIL_X2_1062 2124
#define Z_UTIL_X2_1063 2126
#define Z_UTIL_X2_1064 2128
#define Z_UTIL_X2_1065 2130
#define Z_UTIL_X2_1066 2132
#define Z_UTIL_X2_1067 2134
#define Z_UTIL_X2_1068 2136
#define Z_UTIL_X2_1069 2138
#define Z_UTIL_X2_1070 2140
#define Z_UTIL_X2_1071 2142
#define Z_UTIL_X2_1072 2144
#define Z_UTIL_X2_1073 2146
#define Z_UTIL_X2_1074 2148
#define Z_UTIL_X2_1075 2150
#define Z_UTIL_X2_1076 2152
#define Z_UTIL_X2_1077 2154
#define Z_UTIL_X2_1078 2156
#define Z_UTIL_X2_1079 2158
#define Z_UTIL_X2_1080 2160
#define Z_UTIL_X2_1081 2162
#define Z_UTIL_X2_1082 2164
#define Z_UTIL_X2_1083 2166
#define Z_UTIL_X2_1084 2168
#define Z_UTIL_X2_1085 2170
#define Z_UTIL_X2_1086 2172
#define Z_UTIL_X2_1087 2174
#define Z_UTIL_X2_1088 2176
#define Z_UTIL_X2_1089 2178
#define Z_UTIL_X2_1090 2180
#define Z_UTIL_X2_1091 2182
#define Z_UTIL_X2_1092 2184
#define Z_UTIL_X2_1093 2186
#define Z_UTIL_X2_1094 2188
#define Z_UTIL_X2_1095 2190
#define Z_UTIL_X2_1096 2192
#define Z_UTIL_X2_1097 2194
#define Z_UTIL_X2_1098 2196
#define Z_UTIL_X2_1099 2198
#define Z_UTIL_X2_1100 2200
#define Z_UTIL_X2_1101 2202
#define Z_UTIL_X2_1102 2204
#define Z_UTIL_X2_1103 2206
#define Z_UTIL_X2_1104 2208
#define Z_UTIL_X2_1105 2210
#define Z_UTIL_X2_1106 2212
#define Z_UTIL_X2_1107 2214
#define Z_UTIL_X2_1108 2216
#define Z_UTIL_X2_1109 2218
#define Z_UTIL_X2_1110 2220
#define Z_UTIL_X2_1111 2222
#define Z_UTIL_X2_1112 2224
#define Z_UTIL_X2_1113 2226
#define Z_UTIL_X2_1114 2228
#define Z_UTIL_X2_1115 2230
#define Z_UTIL_X2_1116 2232
#define Z_UTIL_X2_1117 2234
#define Z_UTIL_X2_1118 2236
#define Z_UTIL_X2_1119 2238
#define Z_UTIL_X2_1120 2240
#define Z_UTIL_X2_1121 2242
#define Z_UTIL_X2_1122 2244
#define Z_UTIL_X2_1123 2246
#define Z_UTIL_X2_1124 2248
#define Z_UTIL_X2_1125 2250
#define Z_UTIL_X2_1126 2252
#define Z_UTIL_X2_1127 2254
#define Z_UTIL_X2_1128 2256
#define Z_UTIL_X2_1129 2258
#define Z_UTIL_X2_1130 2260
#define Z_UTIL_X2_1131 2262
#define Z_UTIL_X2_1132 2264
#define Z_UTIL_X2_1133 2266
#define Z_UTIL_X2_1134 2268
#define Z_UTIL_X2_1135 2270
#define Z_UTIL_X2_1136 2272
#define Z_UTIL_X2_1137 2274
#define Z_UTIL_X2_1138 2276
#define Z_UTIL_X2_1139 2278
#define Z_UTIL_X2_1140 2280
#define Z_UTIL_X2_1141 2282
#define Z_UTIL_X2_1142 2284
#define Z_UTIL_X2_1143 2286
#define Z_UTIL_X2_1144 2288
#define Z_UTIL_X2_1145 2290
#define Z_UTIL_X2_1146 2292
#define Z_UTIL_X2_1147 2294
#define Z_UTIL_X2_1148 2296
#define Z_UTIL_X2_1149 2298
#define Z_UTIL_X2_1150 2300
#define Z_UTIL_X2_1151 2302
#define Z_UTIL_X2_1152 2304
#define Z_UTIL_X2_1153 2306
#define Z_UTIL_X2_1154 2308
#define Z_UTIL_X2_1155 2310
#define Z_UTIL_X2_1156 2312
#define Z_UTIL_X2_1157 2314
#define Z_UTIL_X2_1158 2316
#define Z_UTIL_X2_1159 2318
#define Z_UTIL_X2_1160 2320
#define Z_UTIL_X2_1161 2322
#define Z_UTIL_X2_1162 2324
#define Z_UTIL_X2_1163 2326
#define Z_UTIL_X2_1164 2328
#define Z_UTIL_X2_1165 2330
#define Z_UTIL_X2_1166 2332
#define Z_UTIL_X2_1167 2334
#define Z_UTIL_X2_1168 2336
#define Z_UTIL_X2_1169 2338
#define Z_UTIL_X2_1170 2340
#define Z_UTIL_X2_1171 2342
#define Z_UTIL_X2_1172 2344
#define Z_UTIL_X2_1173 2346
#define Z_UTIL_X2_1174 2348
#define Z_UTIL_X2_1175 2350
#define Z_UTIL_X2_1176 2352
#define Z_UTIL_X2_1177 2354
#define Z_UTIL_X2_1178 2356
#define Z_UTIL_X2_1179 2358
#define Z_UTIL_X2_1180 2360
#define Z_UTIL_X2_1181 2362
#define Z_UTIL_X2_1182 2364
#define Z_UTIL_X2_1183 2366
#define Z_UTIL_X2_1184 2368
#define Z_UTIL_X2_1185 2370
#define Z_UTIL_X2_1186 2372
#define Z_UTIL_X2_1187 2374
#define Z_UTIL_X2_1188 2376
#define Z_UTIL_X2_1189 2378
#define Z_UTIL_X2_1190 2380
#define Z_UTIL_X2_1191 2382
#define Z_UTIL_X2_1192 2384
#define Z_UTIL_X2_1193 2386
#define Z_UTIL_X2_1194 2388
#define Z_UTIL_X2_1195 2390
#define Z_UTIL_X2_1196 2392
#define Z_UTIL_X2_1197 2394
#define Z_UTIL_X2_1198 2396
#define Z_UTIL_X2_1199 2398
#define Z_UTIL_X2_1200 2400
#define Z_UTIL_X2_1201 2402
#define Z_UTIL_X2_1202 2404
#define Z_UTIL_X2_1203 2406
#define Z_UTIL_X2_1204 2408
#define Z_UTIL_X2_1205 2410
#define Z_UTIL_X2_1206 2412
#define Z_UTIL_X2_1207 2414
#define Z_UTIL_X2_1208 2416
#define Z_UTIL_X2_1209 2418
#define Z_UTIL_X2_1210 2420
#define Z_UTIL_X2_1211 2422
#define Z_UTIL_X2_1212 2424
#define Z_UTIL_X2_1213 2426
#define Z_UTIL_X2_1214 2428
#define Z_UTIL_X2_1215 2430
#define Z_UTIL_X2_1216 2432
#define Z_UTIL_X2_1217 2434
#define Z_UTIL_X2_1218 2436
#define Z_UTIL_X2_1219 2438
#define Z_UTIL_X2_1220 2440
#define Z_UTIL_X2_1221 2442
#define Z_UTIL_X2_1222 2444
#define Z_UTIL_X2_1223 2446
#define Z_UTIL_X2_1224 2448
#define Z_UTIL_X2_1225 2450
#define Z_UTIL_X2_1226 2452
#define Z_UTIL_X2_1227 2454
#define Z_UTIL_X2_1228 2456
#define Z_UTIL_X2_1229 2458
#define Z_UTIL_X2_1230 2460
#define Z_UTIL_X2_1231 2462
#define Z_UTIL_X2_1232 2464
#define Z_UTIL_X2_1233 2466
#define Z_UTIL_X2_1234 2468
#define Z_UTIL_X2_1235 2470
#define Z_UTIL_X2_1236 2472
#define Z_UTIL_X2_1237 2474
#define Z_UTIL_X2_1238 2476
#define Z_UTIL_X2_1239 2478
#define Z_UTIL_X2_1240 2480
#define Z_UTIL_X2_1241 2482
#define Z_UTIL_X2_1242 2484
#define Z_UTIL_X2_1243 2486
#define Z_UTIL_X2_1244 2488
#define Z_UTIL_X2_1245 2490
#define Z_UTIL_X2_1246 2492
#define Z_UTIL_X2_1247 2494
#define Z_UTIL_X2_1248 2496
#define Z_UTIL_X2_1249 2498
#define Z_UTIL_X2_1250 2500
#define Z_UTIL_X2_1251 2502
#define Z_UTIL_X2_1252 2504
#define Z_UTIL_X2_1253 2506
#define Z_UTIL_X2_1254 2508
#define Z_UTIL_X2_1255 2510
#define Z_UTIL_X2_1256 2512
#define Z_UTIL_X2_1257 2514
#define Z_UTIL_X2_1258 2516
#define Z_UTIL_X2_1259 2518
#define Z_UTIL_X2_1260 2520
#define Z_UTIL_X2_1261 2522
#define Z_UTIL_X2_1262 2524
#define Z_UTIL_X2_1263 2526
#define Z_UTIL_X2_1264 2528
#define Z_UTIL_X2_1265 2530
#define Z_UTIL_X2_1266 2532
#define Z_UTIL_X2_1267 2534
#define Z_UTIL_X2_1268 2536
#define Z_UTIL_X2_1269 2538
#define Z_UTIL_X2_1270 2540
#define Z_UTIL_X2_1271 2542
#define Z_UTIL_X2_1272 2544
#define Z_UTIL_X2_1273 2546
#define Z_UTIL_X2_1274 2548
#define Z_UTIL_X2_1275 2550
#define Z_UTIL_X2_1276 2552
#define Z_UTIL_X2_1277 2554
#define Z_UTIL_X2_1278 2556
#define Z_UTIL_X2_1279 2558
#define Z_UTIL_X2_1280 2560
#define Z_UTIL_X2_1281 2562
#define Z_UTIL_X2_1282 2564
#define Z_UTIL_X2_1283 2566
#define Z_UTIL_X2_1284 2568
#define Z_UTIL_X2_1285 2570
#define Z_UTIL_X2_1286 2572
#define Z_UTIL_X2_1287 2574
#define Z_UTIL_X2_1288 2576
#define Z_UTIL_X2_1289 2578
#define Z_UTIL_X2_1290 2580
#define Z_UTIL_X2_1291 2582
#define Z_UTIL_X2_1292 2584
#define Z_UTIL_X2_1293 2586
#define Z_UTIL_X2_1294 2588
#define Z_UTIL_X2_1295 2590
#define Z_UTIL_X2_1296 2592
#define Z_UTIL_X2_1297 2594
#define Z_UTIL_X2_1298 2596
#define Z_UTIL_X2_1299 2598
#define Z_UTIL_X2_1300 2600
#define Z_UTIL_X2_1301 2602
#define Z_UTIL_X2_1302 2604
#define Z_UTIL_X2_1303 2606
#define Z_UTIL_X2_1304 2608
#define Z_UTIL_X2_1305 2610
#define Z_UTIL_X2_1306 2612
#define Z_UTIL_X2_1307 2614
#define Z_UTIL_X2_1308 2616
#define Z_UTIL_X2_1309 2618
#define Z_UTIL_X2_1310 2620
#define Z_UTIL_X2_1311 2622
#define Z_UTIL_X2_1312 2624
#define Z_UTIL_X2_1313 2626
#define Z_UTIL_X2_1314 2628
#define Z_UTIL_X2_1315 2630
#define Z_UTIL_X2_1316 2632
#define Z_UTIL_X2_1317 2634
#define Z_UTIL_X2_1318 2636
#define Z_UTIL_X2_1319 2638
#define Z_UTIL_X2_1320 2640
#define Z_UTIL_X2_1321 2642
#define Z_UTIL_X2_1322 2644
#define Z_UTIL_X2_1323 2646
#define Z_UTIL_X2_1324 2648
#define Z_UTIL_X2_1325 2650
#define Z_UTIL_X2_1326 2652
#define Z_UTIL_X2_1327 2654
#define Z_UTIL_X2_1328 2656
#define Z_UTIL_X2_1329 2658
#define Z_UTIL_X2_1330 2660
#define Z_UTIL_X2_1331 2662
#define Z_UTIL_X2_1332 2664
#define Z_UTIL_X2_1333 2666
#define Z_UTIL_X2_1334 2668
#define Z_UTIL_X2_1335 2670
#define Z_UTIL_X2_1336 2672
#define Z_UTIL_X2_1337 2674
#define Z_UTIL_X2_1338 2676
#define Z_UTIL_X2_1339 2678
#define Z_UTIL_X2_1340 2680
#define Z_UTIL_X2_1341 2682
#define Z_UTIL_X2_1342 2684
#define Z_UTIL_X2_1343 2686
#define Z_UTIL_X2_1344 2688
#define Z_UTIL_X2_1345 2690
#define Z_UTIL_X2_1346 2692
#define Z_UTIL_X2_1347 2694
#define Z_UTIL_X2_1348 2696
#define Z_UTIL_X2_1349 2698
#define Z_UTIL_X2_1350 2700
#define Z_UTIL_X2_1351 2702
#define Z_UTIL_X2_1352 2704
#define Z_UTIL_X2_1353 2706
#define Z_UTIL_X2_1354 2708
#define Z_UTIL_X2_1355 2710
#define Z_UTIL_X2_1356 2712
#define Z_UTIL_X2_1357 2714
#define Z_UTIL_X2_1358 2716
#define Z_UTIL_X2_1359 2718
#define Z_UTIL_X2_1360 2720
#define Z_UTIL_X2_1361 2722
#define Z_UTIL_X2_1362 2724
#define Z_UTIL_X2_1363 2726
#define Z_UTIL_X2_1364 2728
#define Z_UTIL_X2_1365 2730
#define Z_UTIL_X2_1366 2732
#define Z_UTIL_X2_1367 2734
#define Z_UTIL_X2_1368 2736
#define Z_UTIL_X2_1369 2738
#define Z_UTIL_X2_1370 2740
#define Z_UTIL_X2_1371 2742
#define Z_UTIL_X2_1372 2744
#define Z_UTIL_X2_1373 2746
#define Z_UTIL_X2_1374 2748
#define Z_UTIL_X2_1375 2750
#define Z_UTIL_X2_1376 2752
#define Z_UTIL_X2_1377 2754
#define Z_UTIL_X2_1378 2756
#define Z_UTIL_X2_1379 2758
#define Z_UTIL_X2_1380 2760
#define Z_UTIL_X2_1381 2762
#define Z_UTIL_X2_1382 2764
#define Z_UTIL_X2_1383 2766
#define Z_UTIL_X2_1384 2768
#define Z_UTIL_X2_1385 2770
#define Z_UTIL_X2_1386 2772
#define Z_UTIL_X2_1387 2774
#define Z_UTIL_X2_1388 2776
#define Z_UTIL_X2_1389 2778
#define Z_UTIL_X2_1390 2780
#define Z_UTIL_X2_1391 2782
#define Z_UTIL_X2_1392 2784
#define Z_UTIL_X2_1393 2786
#define Z_UTIL_X2_1394 2788
#define Z_UTIL_X2_1395 2790
#define Z_UTIL_X2_1396 2792
#define Z_UTIL_X2_1397 2794
#define Z_UTIL_X2_1398 2796
#define Z_UTIL_X2_1399 2798
#define Z_UTIL_X2_1400 2800
#define Z_UTIL_X2_1401 2802
#define Z_UTIL_X2_1402 2804
#define Z_UTIL_X2_1403 2806
#define Z_UTIL_X2_1404 2808
#define Z_UTIL_X2_1405 2810
#define Z_UTIL_X2_1406 2812
#define Z_UTIL_X2_1407 2814
#define Z_UTIL_X2_1408 2816
#define Z_UTIL_X2_1409 2818
#define Z_UTIL_X2_1410 2820
#define Z_UTIL_X2_1411 2822
#define Z_UTIL_X2_1412 2824
#define Z_UTIL_X2_1413 2826
#define Z_UTIL_X2_1414 2828
#define Z_UTIL_X2_1415 2830
#define Z_UTIL_X2_1416 2832
#define Z_UTIL_X2_1417 2834
#define Z_UTIL_X2_1418 2836
#define Z_UTIL_X2_1419 2838
#define Z_UTIL_X2_1420 2840
#define Z_UTIL_X2_1421 2842
#define Z_UTIL_X2_1422 2844
#define Z_UTIL_X2_1423 2846
#define Z_UTIL_X2_1424 2848
#define Z_UTIL_X2_1425 2850
#define Z_UTIL_X2_1426 2852
#define Z_UTIL_X2_1427 2854
#define Z_UTIL_X2_1428 2856
#define Z_UTIL_X2_1429 2858
#define Z_UTIL_X2_1430 2860
#define Z_UTIL_X2_1431 2862
#define Z_UTIL_X2_1432 2864
#define Z_UTIL_X2_1433 2866
#define Z_UTIL_X2_1434 2868
#define Z_UTIL_X2_1435 2870
#define Z_UTIL_X2_1436 2872
#define Z_UTIL_X2_1437 2874
#define Z_UTIL_X2_1438 2876
#define Z_UTIL_X2_1439 2878
#define Z_UTIL_X2_1440 2880
#define Z_UTIL_X2_1441 2882
#define Z_UTIL_X2_1442 2884
#define Z_UTIL_X2_1443 2886
#define Z_UTIL_X2_1444 2888
#define Z_UTIL_X2_1445 2890
#define Z_UTIL_X2_1446 2892
#define Z_UTIL_X2_1447 2894
#define Z_UTIL_X2_1448 2896
#define Z_UTIL_X2_1449 2898
#define Z_UTIL_X2_1450 2900
#define Z_UTIL_X2_1451 2902
#define Z_UTIL_X2_1452 2904
#define Z_UTIL_X2_1453 2906
#define Z_UTIL_X2_1454 2908
#define Z_UTIL_X2_1455 2910
#define Z_UTIL_X2_1456 2912
#define Z_UTIL_X2_1457 2914
#define Z_UTIL_X2_1458 2916
#define Z_UTIL_X2_1459 2918
#define Z_UTIL_X2_1460 2920
#define Z_UTIL_X2_1461 2922
#define Z_UTIL_X2_1462 2924
#define Z_UTIL_X2_1463 2926
#define Z_UTIL_X2_1464 2928
#define Z_UTIL_X2_1465 2930
#define Z_UTIL_X2_1466 2932
#define Z_UTIL_X2_1467 2934
#define Z_UTIL_X2_1468 2936
#define Z_UTIL_X2_1469 2938
#define Z_UTIL_X2_1470 2940
#define Z_UTIL_X2_1471 2942
#define Z_UTIL_X2_1472 2944
#define Z_UTIL_X2_1473 2946
#define Z_UTIL_X2_1474 2948
#define Z_UTIL_X2_1475 2950
#define Z_UTIL_X2_1476 2952
#define Z_UTIL_X2_1477 2954
#define Z_UTIL_X2_1478 2956
#define Z_UTIL_X2_1479 2958
#define Z_UTIL_X2_1480 2960
#define Z_UTIL_X2_1481 2962
#define Z_UTIL_X2_1482 2964
#define Z_UTIL_X2_1483 2966
#define Z_UTIL_X2_1484 2968
#define Z_UTIL_X2_1485 2970
#define Z_UTIL_X2_1486 2972
#define Z_UTIL_X2_1487 2974
#define Z_UTIL_X2_1488 2976
#define Z_UTIL_X2_1489 2978
#define Z_UTIL_X2_1490 2980
#define Z_UTIL_X2_1491 2982
#define Z_UTIL_X2_1492 2984
#define Z_UTIL_X2_1493 2986
#define Z_UTIL_X2_1494 2988
#define Z_UTIL_X2_1495 2990
#define Z_UTIL_X2_1496 2992
#define Z_UTIL_X2_1497 2994
#define Z_UTIL_X2_1498 2996
#define Z_UTIL_X2_1499 2998
#define Z_UTIL_X2_1500 3000
#define Z_UTIL_X2_1501 3002
#define Z_UTIL_X2_1502 3004
#define Z_UTIL_X2_1503 3006
#define Z_UTIL_X2_1504 3008
#define Z_UTIL_X2_1505 3010
#define Z_UTIL_X2_1506 3012
#define Z_UTIL_X2_1507 3014
#define Z_UTIL_X2_1508 3016
#define Z_UTIL_X2_1509 3018
#define Z_UTIL_X2_1510 3020
#define Z_UTIL_X2_1511 3022
#define Z_UTIL_X2_1512 3024
#define Z_UTIL_X2_1513 3026
#define Z_UTIL_X2_1514 3028
#define Z_UTIL_X2_1515 3030
#define Z_UTIL_X2_1516 3032
#define Z_UTIL_X2_1517 3034
#define Z_UTIL_X2_1518 3036
#define Z_UTIL_X2_1519 3038
#define Z_UTIL_X2_1520 3040
#define Z_UTIL_X2_1521 3042
#define Z_UTIL_X2_1522 3044
#define Z_UTIL_X2_1523 3046
#define Z_UTIL_X2_1524 3048
#define Z_UTIL_X2_1525 3050
#define Z_UTIL_X2_1526 3052
#define Z_UTIL_X2_1527 3054
#define Z_UTIL_X2_1528 3056
#define Z_UTIL_X2_1529 3058
#define Z_UTIL_X2_1530 3060
#define Z_UTIL_X2_1531 3062
#define Z_UTIL_X2_1532 3064
#define Z_UTIL_X2_1533 3066
#define Z_UTIL_X2_1534 3068
#define Z_UTIL_X2_1535 3070
#define Z_UTIL_X2_1536 3072
#define Z_UTIL_X2_1537 3074
#define Z_UTIL_X2_1538 3076
#define Z_UTIL_X2_1539 3078
#define Z_UTIL_X2_1540 3080
#define Z_UTIL_X2_1541 3082
#define Z_UTIL_X2_1542 3084
#define Z_UTIL_X2_1543 3086
#define Z_UTIL_X2_1544 3088
#define Z_UTIL_X2_1545 3090
#define Z_UTIL_X2_1546 3092
#define Z_UTIL_X2_1547 3094
#define Z_UTIL_X2_1548 3096
#define Z_UTIL_X2_1549 3098
#define Z_UTIL_X2_1550 3100
#define Z_UTIL_X2_1551 3102
#define Z_UTIL_X2_1552 3104
#define Z_UTIL_X2_1553 3106
#define Z_UTIL_X2_1554 3108
#define Z_UTIL_X2_1555 3110
#define Z_UTIL_X2_1556 3112
#define Z_UTIL_X2_1557 3114
#define Z_UTIL_X2_1558 3116
#define Z_UTIL_X2_1559 3118
#define Z_UTIL_X2_1560 3120
#define Z_UTIL_X2_1561 3122
#define Z_UTIL_X2_1562 3124
#define Z_UTIL_X2_1563 3126
#define Z_UTIL_X2_1564 3128
#define Z_UTIL_X2_1565 3130
#define Z_UTIL_X2_1566 3132
#define Z_UTIL_X2_1567 3134
#define Z_UTIL_X2_1568 3136
#define Z_UTIL_X2_1569 3138
#define Z_UTIL_X2_1570 3140
#define Z_UTIL_X2_1571 3142
#define Z_UTIL_X2_1572 3144
#define Z_UTIL_X2_1573 3146
#define Z_UTIL_X2_1574 3148
#define Z_UTIL_X2_1575 3150
#define Z_UTIL_X2_1576 3152
#define Z_UTIL_X2_1577 3154
#define Z_UTIL_X2_1578 3156
#define Z_UTIL_X2_1579 3158
#define Z_UTIL_X2_1580 3160
#define Z_UTIL_X2_1581 3162
#define Z_UTIL_X2_1582 3164
#define Z_UTIL_X2_1583 3166
#define Z_UTIL_X2_1584 3168
#define Z_UTIL_X2_1585 3170
#define Z_UTIL_X2_1586 3172
#define Z_UTIL_X2_1587 3174
#define Z_UTIL_X2_1588 3176
#define Z_UTIL_X2_1589 3178
#define Z_UTIL_X2_1590 3180
#define Z_UTIL_X2_1591 3182
#define Z_UTIL_X2_1592 3184
#define Z_UTIL_X2_1593 3186
#define Z_UTIL_X2_1594 3188
#define Z_UTIL_X2_1595 3190
#define Z_UTIL_X2_1596 3192
#define Z_UTIL_X2_1597 3194
#define Z_UTIL_X2_1598 3196
#define Z_UTIL_X2_1599 3198
#define Z_UTIL_X2_1600 3200
#define Z_UTIL_X2_1601 3202
#define Z_UTIL_X2_1602 3204
#define Z_UTIL_X2_1603 3206
#define Z_UTIL_X2_1604 3208
#define Z_UTIL_X2_1605 3210
#define Z_UTIL_X2_1606 3212
#define Z_UTIL_X2_1607 3214
#define Z_UTIL_X2_1608 3216
#define Z_UTIL_X2_1609 3218
#define Z_UTIL_X2_1610 3220
#define Z_UTIL_X2_1611 3222
#define Z_UTIL_X2_1612 3224
#define Z_UTIL_X2_1613 3226
#define Z_UTIL_X2_1614 3228
#define Z_UTIL_X2_1615 3230
#define Z_UTIL_X2_1616 3232
#define Z_UTIL_X2_1617 3234
#define Z_UTIL_X2_1618 3236
#define Z_UTIL_X2_1619 3238
#define Z_UTIL_X2_1620 3240
#define Z_UTIL_X2_1621 3242
#define Z_UTIL_X2_1622 3244
#define Z_UTIL_X2_1623 3246
#define Z_UTIL_X2_1624 3248
#define Z_UTIL_X2_1625 3250
#define Z_UTIL_X2_1626 3252
#define Z_UTIL_X2_1627 3254
#define Z_UTIL_X2_1628 3256
#define Z_UTIL_X2_1629 3258
#define Z_UTIL_X2_1630 3260
#define Z_UTIL_X2_1631 3262
#define Z_UTIL_X2_1632 3264
#define Z_UTIL_X2_1633 3266
#define Z_UTIL_X2_1634 3268
#define Z_UTIL_X2_1635 3270
#define Z_UTIL_X2_1636 3272
#define Z_UTIL_X2_1637 3274
#define Z_UTIL_X2_1638 3276
#define Z_UTIL_X2_1639 3278
#define Z_UTIL_X2_1640 3280
#define Z_UTIL_X2_1641 3282
#define Z_UTIL_X2_1642 3284
#define Z_UTIL_X2_1643 3286
#define Z_UTIL_X2_1644 3288
#define Z_UTIL_X2_1645 3290
#define Z_UTIL_X2_1646 3292
#define Z_UTIL_X2_1647 3294
#define Z_UTIL_X2_1648 3296
#define Z_UTIL_X2_1649 3298
#define Z_UTIL_X2_1650 3300
#define Z_UTIL_X2_1651 3302
#define Z_UTIL_X2_1652 3304
#define Z_UTIL_X2_1653 3306
#define Z_UTIL_X2_1654 3308
#define Z_UTIL_X2_1655 3310
#define Z_UTIL_X2_1656 3312
#define Z_UTIL_X2_1657 3314
#define Z_UTIL_X2_1658 3316
#define Z_UTIL_X2_1659 3318
#define Z_UTIL_X2_1660 3320
#define Z_UTIL_X2_1661 3322
#define Z_UTIL_X2_1662 3324
#define Z_UTIL_X2_1663 3326
#define Z_UTIL_X2_1664 3328
#define Z_UTIL_X2_1665 3330
#define Z_UTIL_X2_1666 3332
#define Z_UTIL_X2_1667 3334
#define Z_UTIL_X2_1668 3336
#define Z_UTIL_X2_1669 3338
#define Z_UTIL_X2_1670 3340
#define Z_UTIL_X2_1671 3342
#define Z_UTIL_X2_1672 3344
#define Z_UTIL_X2_1673 3346
#define Z_UTIL_X2_1674 3348
#define Z_UTIL_X2_1675 3350
#define Z_UTIL_X2_1676 3352
#define Z_UTIL_X2_1677 3354
#define Z_UTIL_X2_1678 3356
#define Z_UTIL_X2_1679 3358
#define Z_UTIL_X2_1680 3360
#define Z_UTIL_X2_1681 3362
#define Z_UTIL_X2_1682 3364
#define Z_UTIL_X2_1683 3366
#define Z_UTIL_X2_1684 3368
#define Z_UTIL_X2_1685 3370
#define Z_UTIL_X2_1686 3372
#define Z_UTIL_X2_1687 3374
#define Z_UTIL_X2_1688 3376
#define Z_UTIL_X2_1689 3378
#define Z_UTIL_X2_1690 3380
#define Z_UTIL_X2_1691 3382
#define Z_UTIL_X2_1692 3384
#define Z_UTIL_X2_1693 3386
#define Z_UTIL_X2_1694 3388
#define Z_UTIL_X2_1695 3390
#define Z_UTIL_X2_1696 3392
#define Z_UTIL_X2_1697 3394
#define Z_UTIL_X2_1698 3396
#define Z_UTIL_X2_1699 3398
#define Z_UTIL_X2_1700 3400
#define Z_UTIL_X2_1701 3402
#define Z_UTIL_X2_1702 3404
#define Z_UTIL_X2_1703 3406
#define Z_UTIL_X2_1704 3408
#define Z_UTIL_X2_1705 3410
#define Z_UTIL_X2_1706 3412
#define Z_UTIL_X2_1707 3414
#define Z_UTIL_X2_1708 3416
#define Z_UTIL_X2_1709 3418
#define Z_UTIL_X2_1710 3420
#define Z_UTIL_X2_1711 3422
#define Z_UTIL_X2_1712 3424
#define Z_UTIL_X2_1713 3426
#define Z_UTIL_X2_1714 3428
#define Z_UTIL_X2_1715 3430
#define Z_UTIL_X2_1716 3432
#define Z_UTIL_X2_1717 3434
#define Z_UTIL_X2_1718 3436
#define Z_UTIL_X2_1719 3438
#define Z_UTIL_X2_1720 3440
#define Z_UTIL_X2_1721 3442
#define Z_UTIL_X2_1722 3444
#define Z_UTIL_X2_1723 3446
#define Z_UTIL_X2_1724 3448
#define Z_UTIL_X2_1725 3450
#define Z_UTIL_X2_1726 3452
#define Z_UTIL_X2_1727 3454
#define Z_UTIL_X2_1728 3456
#define Z_UTIL_X2_1729 3458
#define Z_UTIL_X2_1730 3460
#define Z_UTIL_X2_1731 3462
#define Z_UTIL_X2_1732 3464
#define Z_UTIL_X2_1733 3466
#define Z_UTIL_X2_1734 3468
#define Z_UTIL_X2_1735 3470
#define Z_UTIL_X2_1736 3472
#define Z_UTIL_X2_1737 3474
#define Z_UTIL_X2_1738 3476
#define Z_UTIL_X2_1739 3478
#define Z_UTIL_X2_1740 3480
#define Z_UTIL_X2_1741 3482
#define Z_UTIL_X2_1742 3484
#define Z_UTIL_X2_1743 3486
#define Z_UTIL_X2_1744 3488
#define Z_UTIL_X2_1745 3490
#define Z_UTIL_X2_1746 3492
#define Z_UTIL_X2_1747 3494
#define Z_UTIL_X2_1748 3496
#define Z_UTIL_X2_1749 3498
#define Z_UTIL_X2_1750 3500
#define Z_UTIL_X2_1751 3502
#define Z_UTIL_X2_1752 3504
#define Z_UTIL_X2_1753 3506
#define Z_UTIL_X2_1754 3508
#define Z_UTIL_X2_1755 3510
#define Z_UTIL_X2_1756 3512
#define Z_UTIL_X2_1757 3514
#define Z_UTIL_X2_1758 3516
#define Z_UTIL_X2_1759 3518
#define Z_UTIL_X2_1760 3520
#define Z_UTIL_X2_1761 3522
#define Z_UTIL_X2_1762 3524
#define Z_UTIL_X2_1763 3526
#define Z_UTIL_X2_1764 3528
#define Z_UTIL_X2_1765 3530
#define Z_UTIL_X2_1766 3532
#define Z_UTIL_X2_1767 3534
#define Z_UTIL_X2_1768 3536
#define Z_UTIL_X2_1769 3538
#define Z_UTIL_X2_1770 3540
#define Z_UTIL_X2_1771 3542
#define Z_UTIL_X2_1772 3544
#define Z_UTIL_X2_1773 3546
#define Z_UTIL_X2_1774 3548
#define Z_UTIL_X2_1775 3550
#define Z_UTIL_X2_1776 3552
#define Z_UTIL_X2_1777 3554
#define Z_UTIL_X2_1778 3556
#define Z_UTIL_X2_1779 3558
#define Z_UTIL_X2_1780 3560
#define Z_UTIL_X2_1781 3562
#define Z_UTIL_X2_1782 3564
#define Z_UTIL_X2_1783 3566
#define Z_UTIL_X2_1784 3568
#define Z_UTIL_X2_1785 3570
#define Z_UTIL_X2_1786 3572
#define Z_UTIL_X2_1787 3574
#define Z_UTIL_X2_1788 3576
#define Z_UTIL_X2_1789 3578
#define Z_UTIL_X2_1790 3580
#define Z_UTIL_X2_1791 3582
#define Z_UTIL_X2_1792 3584
#define Z_UTIL_X2_1793 3586
#define Z_UTIL_X2_1794 3588
#define Z_UTIL_X2_1795 3590
#define Z_UTIL_X2_1796 3592
#define Z_UTIL_X2_1797 3594
#define Z_UTIL_X2_1798 3596
#define Z_UTIL_X2_1799 3598
#define Z_UTIL_X2_1800 3600
#define Z_UTIL_X2_1801 3602
#define Z_UTIL_X2_1802 3604
#define Z_UTIL_X2_1803 3606
#define Z_UTIL_X2_1804 3608
#define Z_UTIL_X2_1805 3610
#define Z_UTIL_X2_1806 3612
#define Z_UTIL_X2_1807 3614
#define Z_UTIL_X2_1808 3616
#define Z_UTIL_X2_1809 3618
#define Z_UTIL_X2_1810 3620
#define Z_UTIL_X2_1811 3622
#define Z_UTIL_X2_1812 3624
#define Z_UTIL_X2_1813 3626
#define Z_UTIL_X2_1814 3628
#define Z_UTIL_X2_1815 3630
#define Z_UTIL_X2_1816 3632
#define Z_UTIL_X2_1817 3634
#define Z_UTIL_X2_1818 3636
#define Z_UTIL_X2_1819 3638
#define Z_UTIL_X2_1820 3640
#define Z_UTIL_X2_1821 3642
#define Z_UTIL_X2_1822 3644
#define Z_UTIL_X2_1823 3646
#define Z_UTIL_X2_1824 3648
#define Z_UTIL_X2_1825 3650
#define Z_UTIL_X2_1826 3652
#define Z_UTIL_X2_1827 3654
#define Z_UTIL_X2_1828 3656
#define Z_UTIL_X2_1829 3658
#define Z_UTIL_X2_1830 3660
#define Z_UTIL_X2_1831 3662
#define Z_UTIL_X2_1832 3664
#define Z_UTIL_X2_1833 3666
#define Z_UTIL_X2_1834 3668
#define Z_UTIL_X2_1835 3670
#define Z_UTIL_X2_1836 3672
#define Z_UTIL_X2_1837 3674
#define Z_UTIL_X2_1838 3676
#define Z_UTIL_X2_1839 3678
#define Z_UTIL_X2_1840 3680
#define Z_UTIL_X2_1841 3682
#define Z_UTIL_X2_1842 3684
#define Z_UTIL_X2_1843 3686
#define Z_UTIL_X2_1844 3688
#define Z_UTIL_X2_1845 3690
#define Z_UTIL_X2_1846 3692
#define Z_UTIL_X2_1847 3694
#define Z_UTIL_X2_1848 3696
#define Z_UTIL_X2_1849 3698
#define Z_UTIL_X2_1850 3700
#define Z_UTIL_X2_1851 3702
#define Z_UTIL_X2_1852 3704
#define Z_UTIL_X2_1853 3706
#define Z_UTIL_X2_1854 3708
#define Z_UTIL_X2_1855 3710
#define Z_UTIL_X2_1856 3712
#define Z_UTIL_X2_1857 3714
#define Z_UTIL_X2_1858 3716
#define Z_UTIL_X2_1859 3718
#define Z_UTIL_X2_1860 3720
#define Z_UTIL_X2_1861 3722
#define Z_UTIL_X2_1862 3724
#define Z_UTIL_X2_1863 3726
#define Z_UTIL_X2_1864 3728
#define Z_UTIL_X2_1865 3730
#define Z_UTIL_X2_1866 3732
#define Z_UTIL_X2_1867 3734
#define Z_UTIL_X2_1868 3736
#define Z_UTIL_X2_1869 3738
#define Z_UTIL_X2_1870 3740
#define Z_UTIL_X2_1871 3742
#define Z_UTIL_X2_1872 3744
#define Z_UTIL_X2_1873 3746
#define Z_UTIL_X2_1874 3748
#define Z_UTIL_X2_1875 3750
#define Z_UTIL_X2_1876 3752
#define Z_UTIL_X2_1877 3754
#define Z_UTIL_X2_1878 3756
#define Z_UTIL_X2_1879 3758
#define Z_UTIL_X2_1880 3760
#define Z_UTIL_X2_1881 3762
#define Z_UTIL_X2_1882 3764
#define Z_UTIL_X2_1883 3766
#define Z_UTIL_X2_1884 3768
#define Z_UTIL_X2_1885 3770
#define Z_UTIL_X2_1886 3772
#define Z_UTIL_X2_1887 3774
#define Z_UTIL_X2_1888 3776
#define Z_UTIL_X2_1889 3778
#define Z_UTIL_X2_1890 3780
#define Z_UTIL_X2_1891 3782
#define Z_UTIL_X2_1892 3784
#define Z_UTIL_X2_1893 3786
#define Z_UTIL_X2_1894 3788
#define Z_UTIL_X2_1895 3790
#define Z_UTIL_X2_1896 3792
#define Z_UTIL_X2_1897 3794
#define Z_UTIL_X2_1898 3796
#define Z_UTIL_X2_1899 3798
#define Z_UTIL_X2_1900 3800
#define Z_UTIL_X2_1901 3802
#define Z_UTIL_X2_1902 3804
#define Z_UTIL_X2_1903 3806
#define Z_UTIL_X2_1904 3808
#define Z_UTIL_X2_1905 3810
#define Z_UTIL_X2_1906 3812
#define Z_UTIL_X2_1907 3814
#define Z_UTIL_X2_1908 3816
#define Z_UTIL_X2_1909 3818
#define Z_UTIL_X2_1910 3820
#define Z_UTIL_X2_1911 3822
#define Z_UTIL_X2_1912 3824
#define Z_UTIL_X2_1913 3826
#define Z_UTIL_X2_1914 3828
#define Z_UTIL_X2_1915 3830
#define Z_UTIL_X2_1916 3832
#define Z_UTIL_X2_1917 3834
#define Z_UTIL_X2_1918 3836
#define Z_UTIL_X2_1919 3838
#define Z_UTIL_X2_1920 3840
#define Z_UTIL_X2_1921 3842
#define Z_UTIL_X2_1922 3844
#define Z_UTIL_X2_1923 3846
#define Z_UTIL_X2_1924 3848
#define Z_UTIL_X2_1925 3850
#define Z_UTIL_X2_1926 3852
#define Z_UTIL_X2_1927 3854
#define Z_UTIL_X2_1928 3856
#define Z_UTIL_X2_1929 3858
#define Z_UTIL_X2_1930 3860
#define Z_UTIL_X2_1931 3862
#define Z_UTIL_X2_1932 3864
#define Z_UTIL_X2_1933 3866
#define Z_UTIL_X2_1934 3868
#define Z_UTIL_X2_1935 3870
#define Z_UTIL_X2_1936 3872
#define Z_UTIL_X2_1937 3874
#define Z_UTIL_X2_1938 3876
#define Z_UTIL_X2_1939 3878
#define Z_UTIL_X2_1940 3880
#define Z_UTIL_X2_1941 3882
#define Z_UTIL_X2_1942 3884
#define Z_UTIL_X2_1943 3886
#define Z_UTIL_X2_1944 3888
#define Z_UTIL_X2_1945 3890
#define Z_UTIL_X2_1946 3892
#define Z_UTIL_X2_1947 3894
#define Z_UTIL_X2_1948 3896
#define Z_UTIL_X2_1949 3898
#define Z_UTIL_X2_1950 3900
#define Z_UTIL_X2_1951 3902
#define Z_UTIL_X2_1952 3904
#define Z_UTIL_X2_1953 3906
#define Z_UTIL_X2_1954 3908
#define Z_UTIL_X2_1955 3910
#define Z_UTIL_X2_1956 3912
#define Z_UTIL_X2_1957 3914
#define Z_UTIL_X2_1958 3916
#define Z_UTIL_X2_1959 3918
#define Z_UTIL_X2_1960 3920
#define Z_UTIL_X2_1961 3922
#define Z_UTIL_X2_1962 3924
#define Z_UTIL_X2_1963 3926
#define Z_UTIL_X2_1964 3928
#define Z_UTIL_X2_1965 3930
#define Z_UTIL_X2_1966 3932
#define Z_UTIL_X2_1967 3934
#define Z_UTIL_X2_1968 3936
#define Z_UTIL_X2_1969 3938
#define Z_UTIL_X2_1970 3940
#define Z_UTIL_X2_1971 3942
#define Z_UTIL_X2_1972 3944
#define Z_UTIL_X2_1973 3946
#define Z_UTIL_X2_1974 3948
#define Z_UTIL_X2_1975 3950
#define Z_UTIL_X2_1976 3952
#define Z_UTIL_X2_1977 3954
#define Z_UTIL_X2_1978 3956
#define Z_UTIL_X2_1979 3958
#define Z_UTIL_X2_1980 3960
#define Z_UTIL_X2_1981 3962
#define Z_UTIL_X2_1982 3964
#define Z_UTIL_X2_1983 3966
#define Z_UTIL_X2_1984 3968
#define Z_UTIL_X2_1985 3970
#define Z_UTIL_X2_1986 3972
#define Z_UTIL_X2_1987 3974
#define Z_UTIL_X2_1988 3976
#define Z_UTIL_X2_1989 3978
#define Z_UTIL_X2_1990 3980
#define Z_UTIL_X2_1991 3982
#define Z_UTIL_X2_1992 3984
#define Z_UTIL_X2_1993 3986
#define Z_UTIL_X2_1994 3988
#define Z_UTIL_X2_1995 3990
#define Z_UTIL_X2_1996 3992
#define Z_UTIL_X2_1997 3994
#define Z_UTIL_X2_1998 3996
#define Z_UTIL_X2_1999 3998
#define Z_UTIL_X2_2000 4000
#define Z_UTIL_X2_2001 4002
#define Z_UTIL_X2_2002 4004
#define Z_UTIL_X2_2003 4006
#define Z_UTIL_X2_2004 4008
#define Z_UTIL_X2_2005 4010
#define Z_UTIL_X2_2006 4012
#define Z_UTIL_X2_2007 4014
#define Z_UTIL_X2_2008 4016
#define Z_UTIL_X2_2009 4018
#define Z_UTIL_X2_2010 4020
#define Z_UTIL_X2_2011 4022
#define Z_UTIL_X2_2012 4024
#define Z_UTIL_X2_2013 4026
#define Z_UTIL_X2_2014 4028
#define Z_UTIL_X2_2015 4030
#define Z_UTIL_X2_2016 4032
#define Z_UTIL_X2_2017 4034
#define Z_UTIL_X2_2018 4036
#define Z_UTIL_X2_2019 4038
#define Z_UTIL_X2_2020 4040
#define Z_UTIL_X2_2021 4042
#define Z_UTIL_X2_2022 4044
#define Z_UTIL_X2_2023 4046
#define Z_UTIL_X2_2024 4048
#define Z_UTIL_X2_2025 4050
#define Z_UTIL_X2_2026 4052
#define Z_UTIL_X2_2027 4054
#define Z_UTIL_X2_2028 4056
#define Z_UTIL_X2_2029 4058
#define Z_UTIL_X2_2030 4060
#define Z_UTIL_X2_2031 4062
#define Z_UTIL_X2_2032 4064
#define Z_UTIL_X2_2033 4066
#define Z_UTIL_X2_2034 4068
#define Z_UTIL_X2_2035 4070
#define Z_UTIL_X2_2036 4072
#define Z_UTIL_X2_2037 4074
#define Z_UTIL_X2_2038 4076
#define Z_UTIL_X2_2039 4078
#define Z_UTIL_X2_2040 4080
#define Z_UTIL_X2_2041 4082
#define Z_UTIL_X2_2042 4084
#define Z_UTIL_X2_2043 4086
#define Z_UTIL_X2_2044 4088
#define Z_UTIL_X2_2045 4090
#define Z_UTIL_X2_2046 4092
#define Z_UTIL_X2_2047 4094
#define Z_UTIL_X2_2048 4096
#define Z_UTIL_X2_2049 4098
#define Z_UTIL_X2_2050 4100
#define Z_UTIL_X2_2051 4102
#define Z_UTIL_X2_2052 4104
#define Z_UTIL_X2_2053 4106
#define Z_UTIL_X2_2054 4108
#define Z_UTIL_X2_2055 4110
#define Z_UTIL_X2_2056 4112
#define Z_UTIL_X2_2057 4114
#define Z_UTIL_X2_2058 4116
#define Z_UTIL_X2_2059 4118
#define Z_UTIL_X2_2060 4120
#define Z_UTIL_X2_2061 4122
#define Z_UTIL_X2_2062 4124
#define Z_UTIL_X2_2063 4126
#define Z_UTIL_X2_2064 4128
#define Z_UTIL_X2_2065 4130
#define Z_UTIL_X2_2066 4132
#define Z_UTIL_X2_2067 4134
#define Z_UTIL_X2_2068 4136
#define Z_UTIL_X2_2069 4138
#define Z_UTIL_X2_2070 4140
#define Z_UTIL_X2_2071 4142
#define Z_UTIL_X2_2072 4144
#define Z_UTIL_X2_2073 4146
#define Z_UTIL_X2_2074 4148
#define Z_UTIL_X2_2075 4150
#define Z_UTIL_X2_2076 4152
#define Z_UTIL_X2_2077 4154
#define Z_UTIL_X2_2078 4156
#define Z_UTIL_X2_2079 4158
#define Z_UTIL_X2_2080 4160
#define Z_UTIL_X2_2081 4162
#define Z_UTIL_X2_2082 4164
#define Z_UTIL_X2_2083 4166
#define Z_UTIL_X2_2084 4168
#define Z_UTIL_X2_2085 4170
#define Z_UTIL_X2_2086 4172
#define Z_UTIL_X2_2087 4174
#define Z_UTIL_X2_2088 4176
#define Z_UTIL_X2_2089 4178
#define Z_UTIL_X2_2090 4180
#define Z_UTIL_X2_2091 4182
#define Z_UTIL_X2_2092 4184
#define Z_UTIL_X2_2093 4186
#define Z_UTIL_X2_2094 4188
#define Z_UTIL_X2_2095 4190
#define Z_UTIL_X2_2096 4192
#define Z_UTIL_X2_2097 4194
#define Z_UTIL_X2_2098 4196
#define Z_UTIL_X2_2099 4198
#define Z_UTIL_X2_2100 4200
#define Z_UTIL_X2_2101 4202
#define Z_UTIL_X2_2102 4204
#define Z_UTIL_X2_2103 4206
#define Z_UTIL_X2_2104 4208
#define Z_UTIL_X2_2105 4210
#define Z_UTIL_X2_2106 4212
#define Z_UTIL_X2_2107 4214
#define Z_UTIL_X2_2108 4216
#define Z_UTIL_X2_2109 4218
#define Z_UTIL_X2_2110 4220
#define Z_UTIL_X2_2111 4222
#define Z_UTIL_X2_2112 4224
#define Z_UTIL_X2_2113 4226
#define Z_UTIL_X2_2114 4228
#define Z_UTIL_X2_2115 4230
#define Z_UTIL_X2_2116 4232
#define Z_UTIL_X2_2117 4234
#define Z_UTIL_X2_2118 4236
#define Z_UTIL_X2_2119 4238
#define Z_UTIL_X2_2120 4240
#define Z_UTIL_X2_2121 4242
#define Z_UTIL_X2_2122 4244
#define Z_UTIL_X2_2123 4246
#define Z_UTIL_X2_2124 4248
#define Z_UTIL_X2_2125 4250
#define Z_UTIL_X2_2126 4252
#define Z_UTIL_X2_2127 4254
#define Z_UTIL_X2_2128 4256
#define Z_UTIL_X2_2129 4258
#define Z_UTIL_X2_2130 4260
#define Z_UTIL_X2_2131 4262
#define Z_UTIL_X2_2132 4264
#define Z_UTIL_X2_2133 4266
#define Z_UTIL_X2_2134 4268
#define Z_UTIL_X2_2135 4270
#define Z_UTIL_X2_2136 4272
#define Z_UTIL_X2_2137 4274
#define Z_UTIL_X2_2138 4276
#define Z_UTIL_X2_2139 4278
#define Z_UTIL_X2_2140 4280
#define Z_UTIL_X2_2141 4282
#define Z_UTIL_X2_2142 4284
#define Z_UTIL_X2_2143 4286
#define Z_UTIL_X2_2144 4288
#define Z_UTIL_X2_2145 4290
#define Z_UTIL_X2_2146 4292
#define Z_UTIL_X2_2147 4294
#define Z_UTIL_X2_2148 4296
#define Z_UTIL_X2_2149 4298
#define Z_UTIL_X2_2150 4300
#define Z_UTIL_X2_2151 4302
#define Z_UTIL_X2_2152 4304
#define Z_UTIL_X2_2153 4306
#define Z_UTIL_X2_2154 4308
#define Z_UTIL_X2_2155 4310
#define Z_UTIL_X2_2156 4312
#define Z_UTIL_X2_2157 4314
#define Z_UTIL_X2_2158 4316
#define Z_UTIL_X2_2159 4318
#define Z_UTIL_X2_2160 4320
#define Z_UTIL_X2_2161 4322
#define Z_UTIL_X2_2162 4324
#define Z_UTIL_X2_2163 4326
#define Z_UTIL_X2_2164 4328
#define Z_UTIL_X2_2165 4330
#define Z_UTIL_X2_2166 4332
#define Z_UTIL_X2_2167 4334
#define Z_UTIL_X2_2168 4336
#define Z_UTIL_X2_2169 4338
#define Z_UTIL_X2_2170 4340
#define Z_UTIL_X2_2171 4342
#define Z_UTIL_X2_2172 4344
#define Z_UTIL_X2_2173 4346
#define Z_UTIL_X2_2174 4348
#define Z_UTIL_X2_2175 4350
#define Z_UTIL_X2_2176 4352
#define Z_UTIL_X2_2177 4354
#define Z_UTIL_X2_2178 4356
#define Z_UTIL_X2_2179 4358
#define Z_UTIL_X2_2180 4360
#define Z_UTIL_X2_2181 4362
#define Z_UTIL_X2_2182 4364
#define Z_UTIL_X2_2183 4366
#define Z_UTIL_X2_2184 4368
#define Z_UTIL_X2_2185 4370
#define Z_UTIL_X2_2186 4372
#define Z_UTIL_X2_2187 4374
#define Z_UTIL_X2_2188 4376
#define Z_UTIL_X2_2189 4378
#define Z_UTIL_X2_2190 4380
#define Z_UTIL_X2_2191 4382
#define Z_UTIL_X2_2192 4384
#define Z_UTIL_X2_2193 4386
#define Z_UTIL_X2_2194 4388
#define Z_UTIL_X2_2195 4390
#define Z_UTIL_X2_2196 4392
#define Z_UTIL_X2_2197 4394
#define Z_UTIL_X2_2198 4396
#define Z_UTIL_X2_2199 4398
#define Z_UTIL_X2_2200 4400
#define Z_UTIL_X2_2201 4402
#define Z_UTIL_X2_2202 4404
#define Z_UTIL_X2_2203 4406
#define Z_UTIL_X2_2204 4408
#define Z_UTIL_X2_2205 4410
#define Z_UTIL_X2_2206 4412
#define Z_UTIL_X2_2207 4414
#define Z_UTIL_X2_2208 4416
#define Z_UTIL_X2_2209 4418
#define Z_UTIL_X2_2210 4420
#define Z_UTIL_X2_2211 4422
#define Z_UTIL_X2_2212 4424
#define Z_UTIL_X2_2213 4426
#define Z_UTIL_X2_2214 4428
#define Z_UTIL_X2_2215 4430
#define Z_UTIL_X2_2216 4432
#define Z_UTIL_X2_2217 4434
#define Z_UTIL_X2_2218 4436
#define Z_UTIL_X2_2219 4438
#define Z_UTIL_X2_2220 4440
#define Z_UTIL_X2_2221 4442
#define Z_UTIL_X2_2222 4444
#define Z_UTIL_X2_2223 4446
#define Z_UTIL_X2_2224 4448
#define Z_UTIL_X2_2225 4450
#define Z_UTIL_X2_2226 4452
#define Z_UTIL_X2_2227 4454
#define Z_UTIL_X2_2228 4456
#define Z_UTIL_X2_2229 4458
#define Z_UTIL_X2_2230 4460
#define Z_UTIL_X2_2231 4462
#define Z_UTIL_X2_2232 4464
#define Z_UTIL_X2_2233 4466
#define Z_UTIL_X2_2234 4468
#define Z_UTIL_X2_2235 4470
#define Z_UTIL_X2_2236 4472
#define Z_UTIL_X2_2237 4474
#define Z_UTIL_X2_2238 4476
#define Z_UTIL_X2_2239 4478
#define Z_UTIL_X2_2240 4480
#define Z_UTIL_X2_2241 4482
#define Z_UTIL_X2_2242 4484
#define Z_UTIL_X2_2243 4486
#define Z_UTIL_X2_2244 4488
#define Z_UTIL_X2_2245 4490
#define Z_UTIL_X2_2246 4492
#define Z_UTIL_X2_2247 4494
#define Z_UTIL_X2_2248 4496
#define Z_UTIL_X2_2249 4498
#define Z_UTIL_X2_2250 4500
#define Z_UTIL_X2_2251 4502
#define Z_UTIL_X2_2252 4504
#define Z_UTIL_X2_2253 4506
#define Z_UTIL_X2_2254 4508
#define Z_UTIL_X2_2255 4510
#define Z_UTIL_X2_2256 4512
#define Z_UTIL_X2_2257 4514
#define Z_UTIL_X2_2258 4516
#define Z_UTIL_X2_2259 4518
#define Z_UTIL_X2_2260 4520
#define Z_UTIL_X2_2261 4522
#define Z_UTIL_X2_2262 4524
#define Z_UTIL_X2_2263 4526
#define Z_UTIL_X2_2264 4528
#define Z_UTIL_X2_2265 4530
#define Z_UTIL_X2_2266 4532
#define Z_UTIL_X2_2267 4534
#define Z_UTIL_X2_2268 4536
#define Z_UTIL_X2_2269 4538
#define Z_UTIL_X2_2270 4540
#define Z_UTIL_X2_2271 4542
#define Z_UTIL_X2_2272 4544
#define Z_UTIL_X2_2273 4546
#define Z_UTIL_X2_2274 4548
#define Z_UTIL_X2_2275 4550
#define Z_UTIL_X2_2276 4552
#define Z_UTIL_X2_2277 4554
#define Z_UTIL_X2_2278 4556
#define Z_UTIL_X2_2279 4558
#define Z_UTIL_X2_2280 4560
#define Z_UTIL_X2_2281 4562
#define Z_UTIL_X2_2282 4564
#define Z_UTIL_X2_2283 4566
#define Z_UTIL_X2_2284 4568
#define Z_UTIL_X2_2285 4570
#define Z_UTIL_X2_2286 4572
#define Z_UTIL_X2_2287 4574
#define Z_UTIL_X2_2288 4576
#define Z_UTIL_X2_2289 4578
#define Z_UTIL_X2_2290 4580
#define Z_UTIL_X2_2291 4582
#define Z_UTIL_X2_2292 4584
#define Z_UTIL_X2_2293 4586
#define Z_UTIL_X2_2294 4588
#define Z_UTIL_X2_2295 4590
#define Z_UTIL_X2_2296 4592
#define Z_UTIL_X2_2297 4594
#define Z_UTIL_X2_2298 4596
#define Z_UTIL_X2_2299 4598
#define Z_UTIL_X2_2300 4600
#define Z_UTIL_X2_2301 4602
#define Z_UTIL_X2_2302 4604
#define Z_UTIL_X2_2303 4606
#define Z_UTIL_X2_2304 4608
#define Z_UTIL_X2_2305 4610
#define Z_UTIL_X2_2306 4612
#define Z_UTIL_X2_2307 4614
#define Z_UTIL_X2_2308 4616
#define Z_UTIL_X2_2309 4618
#define Z_UTIL_X2_2310 4620
#define Z_UTIL_X2_2311 4622
#define Z_UTIL_X2_2312 4624
#define Z_UTIL_X2_2313 4626
#define Z_UTIL_X2_2314 4628
#define Z_UTIL_X2_2315 4630
#define Z_UTIL_X2_2316 4632
#define Z_UTIL_X2_2317 4634
#define Z_UTIL_X2_2318 4636
#define Z_UTIL_X2_2319 4638
#define Z_UTIL_X2_2320 4640
#define Z_UTIL_X2_2321 4642
#define Z_UTIL_X2_2322 4644
#define Z_UTIL_X2_2323 4646
#define Z_UTIL_X2_2324 4648
#define Z_UTIL_X2_2325 4650
#define Z_UTIL_X2_2326 4652
#define Z_UTIL_X2_2327 4654
#define Z_UTIL_X2_2328 4656
#define Z_UTIL_X2_2329 4658
#define Z_UTIL_X2_2330 4660
#define Z_UTIL_X2_2331 4662
#define Z_UTIL_X2_2332 4664
#define Z_UTIL_X2_2333 4666
#define Z_UTIL_X2_2334 4668
#define Z_UTIL_X2_2335 4670
#define Z_UTIL_X2_2336 4672
#define Z_UTIL_X2_2337 4674
#define Z_UTIL_X2_2338 4676
#define Z_UTIL_X2_2339 4678
#define Z_UTIL_X2_2340 4680
#define Z_UTIL_X2_2341 4682
#define Z_UTIL_X2_2342 4684
#define Z_UTIL_X2_2343 4686
#define Z_UTIL_X2_2344 4688
#define Z_UTIL_X2_2345 4690
#define Z_UTIL_X2_2346 4692
#define Z_UTIL_X2_2347 4694
#define Z_UTIL_X2_2348 4696
#define Z_UTIL_X2_2349 4698
#define Z_UTIL_X2_2350 4700
#define Z_UTIL_X2_2351 4702
#define Z_UTIL_X2_2352 4704
#define Z_UTIL_X2_2353 4706
#define Z_UTIL_X2_2354 4708
#define Z_UTIL_X2_2355 4710
#define Z_UTIL_X2_2356 4712
#define Z_UTIL_X2_2357 4714
#define Z_UTIL_X2_2358 4716
#define Z_UTIL_X2_2359 4718
#define Z_UTIL_X2_2360 4720
#define Z_UTIL_X2_2361 4722
#define Z_UTIL_X2_2362 4724
#define Z_UTIL_X2_2363 4726
#define Z_UTIL_X2_2364 4728
#define Z_UTIL_X2_2365 4730
#define Z_UTIL_X2_2366 4732
#define Z_UTIL_X2_2367 4734
#define Z_UTIL_X2_2368 4736
#define Z_UTIL_X2_2369 4738
#define Z_UTIL_X2_2370 4740
#define Z_UTIL_X2_2371 4742
#define Z_UTIL_X2_2372 4744
#define Z_UTIL_X2_2373 4746
#define Z_UTIL_X2_2374 4748
#define Z_UTIL_X2_2375 4750
#define Z_UTIL_X2_2376 4752
#define Z_UTIL_X2_2377 4754
#define Z_UTIL_X2_2378 4756
#define Z_UTIL_X2_2379 4758
#define Z_UTIL_X2_2380 4760
#define Z_UTIL_X2_2381 4762
#define Z_UTIL_X2_2382 4764
#define Z_UTIL_X2_2383 4766
#define Z_UTIL_X2_2384 4768
#define Z_UTIL_X2_2385 4770
#define Z_UTIL_X2_2386 4772
#define Z_UTIL_X2_2387 4774
#define Z_UTIL_X2_2388 4776
#define Z_UTIL_X2_2389 4778
#define Z_UTIL_X2_2390 4780
#define Z_UTIL_X2_2391 4782
#define Z_UTIL_X2_2392 4784
#define Z_UTIL_X2_2393 4786
#define Z_UTIL_X2_2394 4788
#define Z_UTIL_X2_2395 4790
#define Z_UTIL_X2_2396 4792
#define Z_UTIL_X2_2397 4794
#define Z_UTIL_X2_2398 4796
#define Z_UTIL_X2_2399 4798
#define Z_UTIL_X2_2400 4800
#define Z_UTIL_X2_2401 4802
#define Z_UTIL_X2_2402 4804
#define Z_UTIL_X2_2403 4806
#define Z_UTIL_X2_2404 4808
#define Z_UTIL_X2_2405 4810
#define Z_UTIL_X2_2406 4812
#define Z_UTIL_X2_2407 4814
#define Z_UTIL_X2_2408 4816
#define Z_UTIL_X2_2409 4818
#define Z_UTIL_X2_2410 4820
#define Z_UTIL_X2_2411 4822
#define Z_UTIL_X2_2412 4824
#define Z_UTIL_X2_2413 4826
#define Z_UTIL_X2_2414 4828
#define Z_UTIL_X2_2415 4830
#define Z_UTIL_X2_2416 4832
#define Z_UTIL_X2_2417 4834
#define Z_UTIL_X2_2418 4836
#define Z_UTIL_X2_2419 4838
#define Z_UTIL_X2_2420 4840
#define Z_UTIL_X2_2421 4842
#define Z_UTIL_X2_2422 4844
#define Z_UTIL_X2_2423 4846
#define Z_UTIL_X2_2424 4848
#define Z_UTIL_X2_2425 4850
#define Z_UTIL_X2_2426 4852
#define Z_UTIL_X2_2427 4854
#define Z_UTIL_X2_2428 4856
#define Z_UTIL_X2_2429 4858
#define Z_UTIL_X2_2430 4860
#define Z_UTIL_X2_2431 4862
#define Z_UTIL_X2_2432 4864
#define Z_UTIL_X2_2433 4866
#define Z_UTIL_X2_2434 4868
#define Z_UTIL_X2_2435 4870
#define Z_UTIL_X2_2436 4872
#define Z_UTIL_X2_2437 4874
#define Z_UTIL_X2_2438 4876
#define Z_UTIL_X2_2439 4878
#define Z_UTIL_X2_2440 4880
#define Z_UTIL_X2_2441 4882
#define Z_UTIL_X2_2442 4884
#define Z_UTIL_X2_2443 4886
#define Z_UTIL_X2_2444 4888
#define Z_UTIL_X2_2445 4890
#define Z_UTIL_X2_2446 4892
#define Z_UTIL_X2_2447 4894
#define Z_UTIL_X2_2448 4896
#define Z_UTIL_X2_2449 4898
#define Z_UTIL_X2_2450 4900
#define Z_UTIL_X2_2451 4902
#define Z_UTIL_X2_2452 4904
#define Z_UTIL_X2_2453 4906
#define Z_UTIL_X2_2454 4908
#define Z_UTIL_X2_2455 4910
#define Z_UTIL_X2_2456 4912
#define Z_UTIL_X2_2457 4914
#define Z_UTIL_X2_2458 4916
#define Z_UTIL_X2_2459 4918
#define Z_UTIL_X2_2460 4920
#define Z_UTIL_X2_2461 4922
#define Z_UTIL_X2_2462 4924
#define Z_UTIL_X2_2463 4926
#define Z_UTIL_X2_2464 4928
#define Z_UTIL_X2_2465 4930
#define Z_UTIL_X2_2466 4932
#define Z_UTIL_X2_2467 4934
#define Z_UTIL_X2_2468 4936
#define Z_UTIL_X2_2469 4938
#define Z_UTIL_X2_2470 4940
#define Z_UTIL_X2_2471 4942
#define Z_UTIL_X2_2472 4944
#define Z_UTIL_X2_2473 4946
#define Z_UTIL_X2_2474 4948
#define Z_UTIL_X2_2475 4950
#define Z_UTIL_X2_2476 4952
#define Z_UTIL_X2_2477 4954
#define Z_UTIL_X2_2478 4956
#define Z_UTIL_X2_2479 4958
#define Z_UTIL_X2_2480 4960
#define Z_UTIL_X2_2481 4962
#define Z_UTIL_X2_2482 4964
#define Z_UTIL_X2_2483 4966
#define Z_UTIL_X2_2484 4968
#define Z_UTIL_X2_2485 4970
#define Z_UTIL_X2_2486 4972
#define Z_UTIL_X2_2487 4974
#define Z_UTIL_X2_2488 4976
#define Z_UTIL_X2_2489 4978
#define Z_UTIL_X2_2490 4980
#define Z_UTIL_X2_2491 4982
#define Z_UTIL_X2_2492 4984
#define Z_UTIL_X2_2493 4986
#define Z_UTIL_X2_2494 4988
#define Z_UTIL_X2_2495 4990
#define Z_UTIL_X2_2496 4992
#define Z_UTIL_X2_2497 4994
#define Z_UTIL_X2_2498 4996
#define Z_UTIL_X2_2499 4998
#define Z_UTIL_X2_2500 5000
#define Z_UTIL_X2_2501 5002
#define Z_UTIL_X2_2502 5004
#define Z_UTIL_X2_2503 5006
#define Z_UTIL_X2_2504 5008
#define Z_UTIL_X2_2505 5010
#define Z_UTIL_X2_2506 5012
#define Z_UTIL_X2_2507 5014
#define Z_UTIL_X2_2508 5016
#define Z_UTIL_X2_2509 5018
#define Z_UTIL_X2_2510 5020
#define Z_UTIL_X2_2511 5022
#define Z_UTIL_X2_2512 5024
#define Z_UTIL_X2_2513 5026
#define Z_UTIL_X2_2514 5028
#define Z_UTIL_X2_2515 5030
#define Z_UTIL_X2_2516 5032
#define Z_UTIL_X2_2517 5034
#define Z_UTIL_X2_2518 5036
#define Z_UTIL_X2_2519 5038
#define Z_UTIL_X2_2520 5040
#define Z_UTIL_X2_2521 5042
#define Z_UTIL_X2_2522 5044
#define Z_UTIL_X2_2523 5046
#define Z_UTIL_X2_2524 5048
#define Z_UTIL_X2_2525 5050
#define Z_UTIL_X2_2526 5052
#define Z_UTIL_X2_2527 5054
#define Z_UTIL_X2_2528 5056
#define Z_UTIL_X2_2529 5058
#define Z_UTIL_X2_2530 5060
#define Z_UTIL_X2_2531 5062
#define Z_UTIL_X2_2532 5064
#define Z_UTIL_X2_2533 5066
#define Z_UTIL_X2_2534 5068
#define Z_UTIL_X2_2535 5070
#define Z_UTIL_X2_2536 5072
#define Z_UTIL_X2_2537 5074
#define Z_UTIL_X2_2538 5076
#define Z_UTIL_X2_2539 5078
#define Z_UTIL_X2_2540 5080
#define Z_UTIL_X2_2541 5082
#define Z_UTIL_X2_2542 5084
#define Z_UTIL_X2_2543 5086
#define Z_UTIL_X2_2544 5088
#define Z_UTIL_X2_2545 5090
#define Z_UTIL_X2_2546 5092
#define Z_UTIL_X2_2547 5094
#define Z_UTIL_X2_2548 5096
#define Z_UTIL_X2_2549 5098
#define Z_UTIL_X2_2550 5100
#define Z_UTIL_X2_2551 5102
#define Z_UTIL_X2_2552 5104
#define Z_UTIL_X2_2553 5106
#define Z_UTIL_X2_2554 5108
#define Z_UTIL_X2_2555 5110
#define Z_UTIL_X2_2556 5112
#define Z_UTIL_X2_2557 5114
#define Z_UTIL_X2_2558 5116
#define Z_UTIL_X2_2559 5118
#define Z_UTIL_X2_2560 5120
#define Z_UTIL_X2_2561 5122
#define Z_UTIL_X2_2562 5124
#define Z_UTIL_X2_2563 5126
#define Z_UTIL_X2_2564 5128
#define Z_UTIL_X2_2565 5130
#define Z_UTIL_X2_2566 5132
#define Z_UTIL_X2_2567 5134
#define Z_UTIL_X2_2568 5136
#define Z_UTIL_X2_2569 5138
#define Z_UTIL_X2_2570 5140
#define Z_UTIL_X2_2571 5142
#define Z_UTIL_X2_2572 5144
#define Z_UTIL_X2_2573 5146
#define Z_UTIL_X2_2574 5148
#define Z_UTIL_X2_2575 5150
#define Z_UTIL_X2_2576 5152
#define Z_UTIL_X2_2577 5154
#define Z_UTIL_X2_2578 5156
#define Z_UTIL_X2_2579 5158
#define Z_UTIL_X2_2580 5160
#define Z_UTIL_X2_2581 5162
#define Z_UTIL_X2_2582 5164
#define Z_UTIL_X2_2583 5166
#define Z_UTIL_X2_2584 5168
#define Z_UTIL_X2_2585 5170
#define Z_UTIL_X2_2586 5172
#define Z_UTIL_X2_2587 5174
#define Z_UTIL_X2_2588 5176
#define Z_UTIL_X2_2589 5178
#define Z_UTIL_X2_2590 5180
#define Z_UTIL_X2_2591 5182
#define Z_UTIL_X2_2592 5184
#define Z_UTIL_X2_2593 5186
#define Z_UTIL_X2_2594 5188
#define Z_UTIL_X2_2595 5190
#define Z_UTIL_X2_2596 5192
#define Z_UTIL_X2_2597 5194
#define Z_UTIL_X2_2598 5196
#define Z_UTIL_X2_2599 5198
#define Z_UTIL_X2_2600 5200
#define Z_UTIL_X2_2601 5202
#define Z_UTIL_X2_2602 5204
#define Z_UTIL_X2_2603 5206
#define Z_UTIL_X2_2604 5208
#define Z_UTIL_X2_2605 5210
#define Z_UTIL_X2_2606 5212
#define Z_UTIL_X2_2607 5214
#define Z_UTIL_X2_2608 5216
#define Z_UTIL_X2_2609 5218
#define Z_UTIL_X2_2610 5220
#define Z_UTIL_X2_2611 5222
#define Z_UTIL_X2_2612 5224
#define Z_UTIL_X2_2613 5226
#define Z_UTIL_X2_2614 5228
#define Z_UTIL_X2_2615 5230
#define Z_UTIL_X2_2616 5232
#define Z_UTIL_X2_2617 5234
#define Z_UTIL_X2_2618 5236
#define Z_UTIL_X2_2619 5238
#define Z_UTIL_X2_2620 5240
#define Z_UTIL_X2_2621 5242
#define Z_UTIL_X2_2622 5244
#define Z_UTIL_X2_2623 5246
#define Z_UTIL_X2_2624 5248
#define Z_UTIL_X2_2625 5250
#define Z_UTIL_X2_2626 5252
#define Z_UTIL_X2_2627 5254
#define Z_UTIL_X2_2628 5256
#define Z_UTIL_X2_2629 5258
#define Z_UTIL_X2_2630 5260
#define Z_UTIL_X2_2631 5262
#define Z_UTIL_X2_2632 5264
#define Z_UTIL_X2_2633 5266
#define Z_UTIL_X2_2634 5268
#define Z_UTIL_X2_2635 5270
#define Z_UTIL_X2_2636 5272
#define Z_UTIL_X2_2637 5274
#define Z_UTIL_X2_2638 5276
#define Z_UTIL_X2_2639 5278
#define Z_UTIL_X2_2640 5280
#define Z_UTIL_X2_2641 5282
#define Z_UTIL_X2_2642 5284
#define Z_UTIL_X2_2643 5286
#define Z_UTIL_X2_2644 5288
#define Z_UTIL_X2_2645 5290
#define Z_UTIL_X2_2646 5292
#define Z_UTIL_X2_2647 5294
#define Z_UTIL_X2_2648 5296
#define Z_UTIL_X2_2649 5298
#define Z_UTIL_X2_2650 5300
#define Z_UTIL_X2_2651 5302
#define Z_UTIL_X2_2652 5304
#define Z_UTIL_X2_2653 5306
#define Z_UTIL_X2_2654 5308
#define Z_UTIL_X2_2655 5310
#define Z_UTIL_X2_2656 5312
#define Z_UTIL_X2_2657 5314
#define Z_UTIL_X2_2658 5316
#define Z_UTIL_X2_2659 5318
#define Z_UTIL_X2_2660 5320
#define Z_UTIL_X2_2661 5322
#define Z_UTIL_X2_2662 5324
#define Z_UTIL_X2_2663 5326
#define Z_UTIL_X2_2664 5328
#define Z_UTIL_X2_2665 5330
#define Z_UTIL_X2_2666 5332
#define Z_UTIL_X2_2667 5334
#define Z_UTIL_X2_2668 5336
#define Z_UTIL_X2_2669 5338
#define Z_UTIL_X2_2670 5340
#define Z_UTIL_X2_2671 5342
#define Z_UTIL_X2_2672 5344
#define Z_UTIL_X2_2673 5346
#define Z_UTIL_X2_2674 5348
#define Z_UTIL_X2_2675 5350
#define Z_UTIL_X2_2676 5352
#define Z_UTIL_X2_2677 5354
#define Z_UTIL_X2_2678 5356
#define Z_UTIL_X2_2679 5358
#define Z_UTIL_X2_2680 5360
#define Z_UTIL_X2_2681 5362
#define Z_UTIL_X2_2682 5364
#define Z_UTIL_X2_2683 5366
#define Z_UTIL_X2_2684 5368
#define Z_UTIL_X2_2685 5370
#define Z_UTIL_X2_2686 5372
#define Z_UTIL_X2_2687 5374
#define Z_UTIL_X2_2688 5376
#define Z_UTIL_X2_2689 5378
#define Z_UTIL_X2_2690 5380
#define Z_UTIL_X2_2691 5382
#define Z_UTIL_X2_2692 5384
#define Z_UTIL_X2_2693 5386
#define Z_UTIL_X2_2694 5388
#define Z_UTIL_X2_2695 5390
#define Z_UTIL_X2_2696 5392
#define Z_UTIL_X2_2697 5394
#define Z_UTIL_X2_2698 5396
#define Z_UTIL_X2_2699 5398
#define Z_UTIL_X2_2700 5400
#define Z_UTIL_X2_2701 5402
#define Z_UTIL_X2_2702 5404
#define Z_UTIL_X2_2703 5406
#define Z_UTIL_X2_2704 5408
#define Z_UTIL_X2_2705 5410
#define Z_UTIL_X2_2706 5412
#define Z_UTIL_X2_2707 5414
#define Z_UTIL_X2_2708 5416
#define Z_UTIL_X2_2709 5418
#define Z_UTIL_X2_2710 5420
#define Z_UTIL_X2_2711 5422
#define Z_UTIL_X2_2712 5424
#define Z_UTIL_X2_2713 5426
#define Z_UTIL_X2_2714 5428
#define Z_UTIL_X2_2715 5430
#define Z_UTIL_X2_2716 5432
#define Z_UTIL_X2_2717 5434
#define Z_UTIL_X2_2718 5436
#define Z_UTIL_X2_2719 5438
#define Z_UTIL_X2_2720 5440
#define Z_UTIL_X2_2721 5442
#define Z_UTIL_X2_2722 5444
#define Z_UTIL_X2_2723 5446
#define Z_UTIL_X2_2724 5448
#define Z_UTIL_X2_2725 5450
#define Z_UTIL_X2_2726 5452
#define Z_UTIL_X2_2727 5454
#define Z_UTIL_X2_2728 5456
#define Z_UTIL_X2_2729 5458
#define Z_UTIL_X2_2730 5460
#define Z_UTIL_X2_2731 5462
#define Z_UTIL_X2_2732 5464
#define Z_UTIL_X2_2733 5466
#define Z_UTIL_X2_2734 5468
#define Z_UTIL_X2_2735 5470
#define Z_UTIL_X2_2736 5472
#define Z_UTIL_X2_2737 5474
#define Z_UTIL_X2_2738 5476
#define Z_UTIL_X2_2739 5478
#define Z_UTIL_X2_2740 5480
#define Z_UTIL_X2_2741 5482
#define Z_UTIL_X2_2742 5484
#define Z_UTIL_X2_2743 5486
#define Z_UTIL_X2_2744 5488
#define Z_UTIL_X2_2745 5490
#define Z_UTIL_X2_2746 5492
#define Z_UTIL_X2_2747 5494
#define Z_UTIL_X2_2748 5496
#define Z_UTIL_X2_2749 5498
#define Z_UTIL_X2_2750 5500
#define Z_UTIL_X2_2751 5502
#define Z_UTIL_X2_2752 5504
#define Z_UTIL_X2_2753 5506
#define Z_UTIL_X2_2754 5508
#define Z_UTIL_X2_2755 5510
#define Z_UTIL_X2_2756 5512
#define Z_UTIL_X2_2757 5514
#define Z_UTIL_X2_2758 5516
#define Z_UTIL_X2_2759 5518
#define Z_UTIL_X2_2760 5520
#define Z_UTIL_X2_2761 5522
#define Z_UTIL_X2_2762 5524
#define Z_UTIL_X2_2763 5526
#define Z_UTIL_X2_2764 5528
#define Z_UTIL_X2_2765 5530
#define Z_UTIL_X2_2766 5532
#define Z_UTIL_X2_2767 5534
#define Z_UTIL_X2_2768 5536
#define Z_UTIL_X2_2769 5538
#define Z_UTIL_X2_2770 5540
#define Z_UTIL_X2_2771 5542
#define Z_UTIL_X2_2772 5544
#define Z_UTIL_X2_2773 5546
#define Z_UTIL_X2_2774 5548
#define Z_UTIL_X2_2775 5550
#define Z_UTIL_X2_2776 5552
#define Z_UTIL_X2_2777 5554
#define Z_UTIL_X2_2778 5556
#define Z_UTIL_X2_2779 5558
#define Z_UTIL_X2_2780 5560
#define Z_UTIL_X2_2781 5562
#define Z_UTIL_X2_2782 5564
#define Z_UTIL_X2_2783 5566
#define Z_UTIL_X2_2784 5568
#define Z_UTIL_X2_2785 5570
#define Z_UTIL_X2_2786 5572
#define Z_UTIL_X2_2787 5574
#define Z_UTIL_X2_2788 5576
#define Z_UTIL_X2_2789 5578
#define Z_UTIL_X2_2790 5580
#define Z_UTIL_X2_2791 5582
#define Z_UTIL_X2_2792 5584
#define Z_UTIL_X2_2793 5586
#define Z_UTIL_X2_2794 5588
#define Z_UTIL_X2_2795 5590
#define Z_UTIL_X2_2796 5592
#define Z_UTIL_X2_2797 5594
#define Z_UTIL_X2_2798 5596
#define Z_UTIL_X2_2799 5598
#define Z_UTIL_X2_2800 5600
#define Z_UTIL_X2_2801 5602
#define Z_UTIL_X2_2802 5604
#define Z_UTIL_X2_2803 5606
#define Z_UTIL_X2_2804 5608
#define Z_UTIL_X2_2805 5610
#define Z_UTIL_X2_2806 5612
#define Z_UTIL_X2_2807 5614
#define Z_UTIL_X2_2808 5616
#define Z_UTIL_X2_2809 5618
#define Z_UTIL_X2_2810 5620
#define Z_UTIL_X2_2811 5622
#define Z_UTIL_X2_2812 5624
#define Z_UTIL_X2_2813 5626
#define Z_UTIL_X2_2814 5628
#define Z_UTIL_X2_2815 5630
#define Z_UTIL_X2_2816 5632
#define Z_UTIL_X2_2817 5634
#define Z_UTIL_X2_2818 5636
#define Z_UTIL_X2_2819 5638
#define Z_UTIL_X2_2820 5640
#define Z_UTIL_X2_2821 5642
#define Z_UTIL_X2_2822 5644
#define Z_UTIL_X2_2823 5646
#define Z_UTIL_X2_2824 5648
#define Z_UTIL_X2_2825 5650
#define Z_UTIL_X2_2826 5652
#define Z_UTIL_X2_2827 5654
#define Z_UTIL_X2_2828 5656
#define Z_UTIL_X2_2829 5658
#define Z_UTIL_X2_2830 5660
#define Z_UTIL_X2_2831 5662
#define Z_UTIL_X2_2832 5664
#define Z_UTIL_X2_2833 5666
#define Z_UTIL_X2_2834 5668
#define Z_UTIL_X2_2835 5670
#define Z_UTIL_X2_2836 5672
#define Z_UTIL_X2_2837 5674
#define Z_UTIL_X2_2838 5676
#define Z_UTIL_X2_2839 5678
#define Z_UTIL_X2_2840 5680
#define Z_UTIL_X2_2841 5682
#define Z_UTIL_X2_2842 5684
#define Z_UTIL_X2_2843 5686
#define Z_UTIL_X2_2844 5688
#define Z_UTIL_X2_2845 5690
#define Z_UTIL_X2_2846 5692
#define Z_UTIL_X2_2847 5694
#define Z_UTIL_X2_2848 5696
#define Z_UTIL_X2_2849 5698
#define Z_UTIL_X2_2850 5700
#define Z_UTIL_X2_2851 5702
#define Z_UTIL_X2_2852 5704
#define Z_UTIL_X2_2853 5706
#define Z_UTIL_X2_2854 5708
#define Z_UTIL_X2_2855 5710
#define Z_UTIL_X2_2856 5712
#define Z_UTIL_X2_2857 5714
#define Z_UTIL_X2_2858 5716
#define Z_UTIL_X2_2859 5718
#define Z_UTIL_X2_2860 5720
#define Z_UTIL_X2_2861 5722
#define Z_UTIL_X2_2862 5724
#define Z_UTIL_X2_2863 5726
#define Z_UTIL_X2_2864 5728
#define Z_UTIL_X2_2865 5730
#define Z_UTIL_X2_2866 5732
#define Z_UTIL_X2_2867 5734
#define Z_UTIL_X2_2868 5736
#define Z_UTIL_X2_2869 5738
#define Z_UTIL_X2_2870 5740
#define Z_UTIL_X2_2871 5742
#define Z_UTIL_X2_2872 5744
#define Z_UTIL_X2_2873 5746
#define Z_UTIL_X2_2874 5748
#define Z_UTIL_X2_2875 5750
#define Z_UTIL_X2_2876 5752
#define Z_UTIL_X2_2877 5754
#define Z_UTIL_X2_2878 5756
#define Z_UTIL_X2_2879 5758
#define Z_UTIL_X2_2880 5760
#define Z_UTIL_X2_2881 5762
#define Z_UTIL_X2_2882 5764
#define Z_UTIL_X2_2883 5766
#define Z_UTIL_X2_2884 5768
#define Z_UTIL_X2_2885 5770
#define Z_UTIL_X2_2886 5772
#define Z_UTIL_X2_2887 5774
#define Z_UTIL_X2_2888 5776
#define Z_UTIL_X2_2889 5778
#define Z_UTIL_X2_2890 5780
#define Z_UTIL_X2_2891 5782
#define Z_UTIL_X2_2892 5784
#define Z_UTIL_X2_2893 5786
#define Z_UTIL_X2_2894 5788
#define Z_UTIL_X2_2895 5790
#define Z_UTIL_X2_2896 5792
#define Z_UTIL_X2_2897 5794
#define Z_UTIL_X2_2898 5796
#define Z_UTIL_X2_2899 5798
#define Z_UTIL_X2_2900 5800
#define Z_UTIL_X2_2901 5802
#define Z_UTIL_X2_2902 5804
#define Z_UTIL_X2_2903 5806
#define Z_UTIL_X2_2904 5808
#define Z_UTIL_X2_2905 5810
#define Z_UTIL_X2_2906 5812
#define Z_UTIL_X2_2907 5814
#define Z_UTIL_X2_2908 5816
#define Z_UTIL_X2_2909 5818
#define Z_UTIL_X2_2910 5820
#define Z_UTIL_X2_2911 5822
#define Z_UTIL_X2_2912 5824
#define Z_UTIL_X2_2913 5826
#define Z_UTIL_X2_2914 5828
#define Z_UTIL_X2_2915 5830
#define Z_UTIL_X2_2916 5832
#define Z_UTIL_X2_2917 5834
#define Z_UTIL_X2_2918 5836
#define Z_UTIL_X2_2919 5838
#define Z_UTIL_X2_2920 5840
#define Z_UTIL_X2_2921 5842
#define Z_UTIL_X2_2922 5844
#define Z_UTIL_X2_2923 5846
#define Z_UTIL_X2_2924 5848
#define Z_UTIL_X2_2925 5850
#define Z_UTIL_X2_2926 5852
#define Z_UTIL_X2_2927 5854
#define Z_UTIL_X2_2928 5856
#define Z_UTIL_X2_2929 5858
#define Z_UTIL_X2_2930 5860
#define Z_UTIL_X2_2931 5862
#define Z_UTIL_X2_2932 5864
#define Z_UTIL_X2_2933 5866
#define Z_UTIL_X2_2934 5868
#define Z_UTIL_X2_2935 5870
#define Z_UTIL_X2_2936 5872
#define Z_UTIL_X2_2937 5874
#define Z_UTIL_X2_2938 5876
#define Z_UTIL_X2_2939 5878
#define Z_UTIL_X2_2940 5880
#define Z_UTIL_X2_2941 5882
#define Z_UTIL_X2_2942 5884
#define Z_UTIL_X2_2943 5886
#define Z_UTIL_X2_2944 5888
#define Z_UTIL_X2_2945 5890
#define Z_UTIL_X2_2946 5892
#define Z_UTIL_X2_2947 5894
#define Z_UTIL_X2_2948 5896
#define Z_UTIL_X2_2949 5898
#define Z_UTIL_X2_2950 5900
#define Z_UTIL_X2_2951 5902
#define Z_UTIL_X2_2952 5904
#define Z_UTIL_X2_2953 5906
#define Z_UTIL_X2_2954 5908
#define Z_UTIL_X2_2955 5910
#define Z_UTIL_X2_2956 5912
#define Z_UTIL_X2_2957 5914
#define Z_UTIL_X2_2958 5916
#define Z_UTIL_X2_2959 5918
#define Z_UTIL_X2_2960 5920
#define Z_UTIL_X2_2961 5922
#define Z_UTIL_X2_2962 5924
#define Z_UTIL_X2_2963 5926
#define Z_UTIL_X2_2964 5928
#define Z_UTIL_X2_2965 5930
#define Z_UTIL_X2_2966 5932
#define Z_UTIL_X2_2967 5934
#define Z_UTIL_X2_2968 5936
#define Z_UTIL_X2_2969 5938
#define Z_UTIL_X2_2970 5940
#define Z_UTIL_X2_2971 5942
#define Z_UTIL_X2_2972 5944
#define Z_UTIL_X2_2973 5946
#define Z_UTIL_X2_2974 5948
#define Z_UTIL_X2_2975 5950
#define Z_UTIL_X2_2976 5952
#define Z_UTIL_X2_2977 5954
#define Z_UTIL_X2_2978 5956
#define Z_UTIL_X2_2979 5958
#define Z_UTIL_X2_2980 5960
#define Z_UTIL_X2_2981 5962
#define Z_UTIL_X2_2982 5964
#define Z_UTIL_X2_2983 5966
#define Z_UTIL_X2_2984 5968
#define Z_UTIL_X2_2985 5970
#define Z_UTIL_X2_2986 5972
#define Z_UTIL_X2_2987 5974
#define Z_UTIL_X2_2988 5976
#define Z_UTIL_X2_2989 5978
#define Z_UTIL_X2_2990 5980
#define Z_UTIL_X2_2991 5982
#define Z_UTIL_X2_2992 5984
#define Z_UTIL_X2_2993 5986
#define Z_UTIL_X2_2994 5988
#define Z_UTIL_X2_2995 5990
#define Z_UTIL_X2_2996 5992
#define Z_UTIL_X2_2997 5994
#define Z_UTIL_X2_2998 5996
#define Z_UTIL_X2_2999 5998
#define Z_UTIL_X2_3000 6000
#define Z_UTIL_X2_3001 6002
#define Z_UTIL_X2_3002 6004
#define Z_UTIL_X2_3003 6006
#define Z_UTIL_X2_3004 6008
#define Z_UTIL_X2_3005 6010
#define Z_UTIL_X2_3006 6012
#define Z_UTIL_X2_3007 6014
#define Z_UTIL_X2_3008 6016
#define Z_UTIL_X2_3009 6018
#define Z_UTIL_X2_3010 6020
#define Z_UTIL_X2_3011 6022
#define Z_UTIL_X2_3012 6024
#define Z_UTIL_X2_3013 6026
#define Z_UTIL_X2_3014 6028
#define Z_UTIL_X2_3015 6030
#define Z_UTIL_X2_3016 6032
#define Z_UTIL_X2_3017 6034
#define Z_UTIL_X2_3018 6036
#define Z_UTIL_X2_3019 6038
#define Z_UTIL_X2_3020 6040
#define Z_UTIL_X2_3021 6042
#define Z_UTIL_X2_3022 6044
#define Z_UTIL_X2_3023 6046
#define Z_UTIL_X2_3024 6048
#define Z_UTIL_X2_3025 6050
#define Z_UTIL_X2_3026 6052
#define Z_UTIL_X2_3027 6054
#define Z_UTIL_X2_3028 6056
#define Z_UTIL_X2_3029 6058
#define Z_UTIL_X2_3030 6060
#define Z_UTIL_X2_3031 6062
#define Z_UTIL_X2_3032 6064
#define Z_UTIL_X2_3033 6066
#define Z_UTIL_X2_3034 6068
#define Z_UTIL_X2_3035 6070
#define Z_UTIL_X2_3036 6072
#define Z_UTIL_X2_3037 6074
#define Z_UTIL_X2_3038 6076
#define Z_UTIL_X2_3039 6078
#define Z_UTIL_X2_3040 6080
#define Z_UTIL_X2_3041 6082
#define Z_UTIL_X2_3042 6084
#define Z_UTIL_X2_3043 6086
#define Z_UTIL_X2_3044 6088
#define Z_UTIL_X2_3045 6090
#define Z_UTIL_X2_3046 6092
#define Z_UTIL_X2_3047 6094
#define Z_UTIL_X2_3048 6096
#define Z_UTIL_X2_3049 6098
#define Z_UTIL_X2_3050 6100
#define Z_UTIL_X2_3051 6102
#define Z_UTIL_X2_3052 6104
#define Z_UTIL_X2_3053 6106
#define Z_UTIL_X2_3054 6108
#define Z_UTIL_X2_3055 6110
#define Z_UTIL_X2_3056 6112
#define Z_UTIL_X2_3057 6114
#define Z_UTIL_X2_3058 6116
#define Z_UTIL_X2_3059 6118
#define Z_UTIL_X2_3060 6120
#define Z_UTIL_X2_3061 6122
#define Z_UTIL_X2_3062 6124
#define Z_UTIL_X2_3063 6126
#define Z_UTIL_X2_3064 6128
#define Z_UTIL_X2_3065 6130
#define Z_UTIL_X2_3066 6132
#define Z_UTIL_X2_3067 6134
#define Z_UTIL_X2_3068 6136
#define Z_UTIL_X2_3069 6138
#define Z_UTIL_X2_3070 6140
#define Z_UTIL_X2_3071 6142
#define Z_UTIL_X2_3072 6144
#define Z_UTIL_X2_3073 6146
#define Z_UTIL_X2_3074 6148
#define Z_UTIL_X2_3075 6150
#define Z_UTIL_X2_3076 6152
#define Z_UTIL_X2_3077 6154
#define Z_UTIL_X2_3078 6156
#define Z_UTIL_X2_3079 6158
#define Z_UTIL_X2_3080 6160
#define Z_UTIL_X2_3081 6162
#define Z_UTIL_X2_3082 6164
#define Z_UTIL_X2_3083 6166
#define Z_UTIL_X2_3084 6168
#define Z_UTIL_X2_3085 6170
#define Z_UTIL_X2_3086 6172
#define Z_UTIL_X2_3087 6174
#define Z_UTIL_X2_3088 6176
#define Z_UTIL_X2_3089 6178
#define Z_UTIL_X2_3090 6180
#define Z_UTIL_X2_3091 6182
#define Z_UTIL_X2_3092 6184
#define Z_UTIL_X2_3093 6186
#define Z_UTIL_X2_3094 6188
#define Z_UTIL_X2_3095 6190
#define Z_UTIL_X2_3096 6192
#define Z_UTIL_X2_3097 6194
#define Z_UTIL_X2_3098 6196
#define Z_UTIL_X2_3099 6198
#define Z_UTIL_X2_3100 6200
#define Z_UTIL_X2_3101 6202
#define Z_UTIL_X2_3102 6204
#define Z_UTIL_X2_3103 6206
#define Z_UTIL_X2_3104 6208
#define Z_UTIL_X2_3105 6210
#define Z_UTIL_X2_3106 6212
#define Z_UTIL_X2_3107 6214
#define Z_UTIL_X2_3108 6216
#define Z_UTIL_X2_3109 6218
#define Z_UTIL_X2_3110 6220
#define Z_UTIL_X2_3111 6222
#define Z_UTIL_X2_3112 6224
#define Z_UTIL_X2_3113 6226
#define Z_UTIL_X2_3114 6228
#define Z_UTIL_X2_3115 6230
#define Z_UTIL_X2_3116 6232
#define Z_UTIL_X2_3117 6234
#define Z_UTIL_X2_3118 6236
#define Z_UTIL_X2_3119 6238
#define Z_UTIL_X2_3120 6240
#define Z_UTIL_X2_3121 6242
#define Z_UTIL_X2_3122 6244
#define Z_UTIL_X2_3123 6246
#define Z_UTIL_X2_3124 6248
#define Z_UTIL_X2_3125 6250
#define Z_UTIL_X2_3126 6252
#define Z_UTIL_X2_3127 6254
#define Z_UTIL_X2_3128 6256
#define Z_UTIL_X2_3129 6258
#define Z_UTIL_X2_3130 6260
#define Z_UTIL_X2_3131 6262
#define Z_UTIL_X2_3132 6264
#define Z_UTIL_X2_3133 6266
#define Z_UTIL_X2_3134 6268
#define Z_UTIL_X2_3135 6270
#define Z_UTIL_X2_3136 6272
#define Z_UTIL_X2_3137 6274
#define Z_UTIL_X2_3138 6276
#define Z_UTIL_X2_3139 6278
#define Z_UTIL_X2_3140 6280
#define Z_UTIL_X2_3141 6282
#define Z_UTIL_X2_3142 6284
#define Z_UTIL_X2_3143 6286
#define Z_UTIL_X2_3144 6288
#define Z_UTIL_X2_3145 6290
#define Z_UTIL_X2_3146 6292
#define Z_UTIL_X2_3147 6294
#define Z_UTIL_X2_3148 6296
#define Z_UTIL_X2_3149 6298
#define Z_UTIL_X2_3150 6300
#define Z_UTIL_X2_3151 6302
#define Z_UTIL_X2_3152 6304
#define Z_UTIL_X2_3153 6306
#define Z_UTIL_X2_3154 6308
#define Z_UTIL_X2_3155 6310
#define Z_UTIL_X2_3156 6312
#define Z_UTIL_X2_3157 6314
#define Z_UTIL_X2_3158 6316
#define Z_UTIL_X2_3159 6318
#define Z_UTIL_X2_3160 6320
#define Z_UTIL_X2_3161 6322
#define Z_UTIL_X2_3162 6324
#define Z_UTIL_X2_3163 6326
#define Z_UTIL_X2_3164 6328
#define Z_UTIL_X2_3165 6330
#define Z_UTIL_X2_3166 6332
#define Z_UTIL_X2_3167 6334
#define Z_UTIL_X2_3168 6336
#define Z_UTIL_X2_3169 6338
#define Z_UTIL_X2_3170 6340
#define Z_UTIL_X2_3171 6342
#define Z_UTIL_X2_3172 6344
#define Z_UTIL_X2_3173 6346
#define Z_UTIL_X2_3174 6348
#define Z_UTIL_X2_3175 6350
#define Z_UTIL_X2_3176 6352
#define Z_UTIL_X2_3177 6354
#define Z_UTIL_X2_3178 6356
#define Z_UTIL_X2_3179 6358
#define Z_UTIL_X2_3180 6360
#define Z_UTIL_X2_3181 6362
#define Z_UTIL_X2_3182 6364
#define Z_UTIL_X2_3183 6366
#define Z_UTIL_X2_3184 6368
#define Z_UTIL_X2_3185 6370
#define Z_UTIL_X2_3186 6372
#define Z_UTIL_X2_3187 6374
#define Z_UTIL_X2_3188 6376
#define Z_UTIL_X2_3189 6378
#define Z_UTIL_X2_3190 6380
#define Z_UTIL_X2_3191 6382
#define Z_UTIL_X2_3192 6384
#define Z_UTIL_X2_3193 6386
#define Z_UTIL_X2_3194 6388
#define Z_UTIL_X2_3195 6390
#define Z_UTIL_X2_3196 6392
#define Z_UTIL_X2_3197 6394
#define Z_UTIL_X2_3198 6396
#define Z_UTIL_X2_3199 6398
#define Z_UTIL_X2_3200 6400
#define Z_UTIL_X2_3201 6402
#define Z_UTIL_X2_3202 6404
#define Z_UTIL_X2_3203 6406
#define Z_UTIL_X2_3204 6408
#define Z_UTIL_X2_3205 6410
#define Z_UTIL_X2_3206 6412
#define Z_UTIL_X2_3207 6414
#define Z_UTIL_X2_3208 6416
#define Z_UTIL_X2_3209 6418
#define Z_UTIL_X2_3210 6420
#define Z_UTIL_X2_3211 6422
#define Z_UTIL_X2_3212 6424
#define Z_UTIL_X2_3213 6426
#define Z_UTIL_X2_3214 6428
#define Z_UTIL_X2_3215 6430
#define Z_UTIL_X2_3216 6432
#define Z_UTIL_X2_3217 6434
#define Z_UTIL_X2_3218 6436
#define Z_UTIL_X2_3219 6438
#define Z_UTIL_X2_3220 6440
#define Z_UTIL_X2_3221 6442
#define Z_UTIL_X2_3222 6444
#define Z_UTIL_X2_3223 6446
#define Z_UTIL_X2_3224 6448
#define Z_UTIL_X2_3225 6450
#define Z_UTIL_X2_3226 6452
#define Z_UTIL_X2_3227 6454
#define Z_UTIL_X2_3228 6456
#define Z_UTIL_X2_3229 6458
#define Z_UTIL_X2_3230 6460
#define Z_UTIL_X2_3231 6462
#define Z_UTIL_X2_3232 6464
#define Z_UTIL_X2_3233 6466
#define Z_UTIL_X2_3234 6468
#define Z_UTIL_X2_3235 6470
#define Z_UTIL_X2_3236 6472
#define Z_UTIL_X2_3237 6474
#define Z_UTIL_X2_3238 6476
#define Z_UTIL_X2_3239 6478
#define Z_UTIL_X2_3240 6480
#define Z_UTIL_X2_3241 6482
#define Z_UTIL_X2_3242 6484
#define Z_UTIL_X2_3243 6486
#define Z_UTIL_X2_3244 6488
#define Z_UTIL_X2_3245 6490
#define Z_UTIL_X2_3246 6492
#define Z_UTIL_X2_3247 6494
#define Z_UTIL_X2_3248 6496
#define Z_UTIL_X2_3249 6498
#define Z_UTIL_X2_3250 6500
#define Z_UTIL_X2_3251 6502
#define Z_UTIL_X2_3252 6504
#define Z_UTIL_X2_3253 6506
#define Z_UTIL_X2_3254 6508
#define Z_UTIL_X2_3255 6510
#define Z_UTIL_X2_3256 6512
#define Z_UTIL_X2_3257 6514
#define Z_UTIL_X2_3258 6516
#define Z_UTIL_X2_3259 6518
#define Z_UTIL_X2_3260 6520
#define Z_UTIL_X2_3261 6522
#define Z_UTIL_X2_3262 6524
#define Z_UTIL_X2_3263 6526
#define Z_UTIL_X2_3264 6528
#define Z_UTIL_X2_3265 6530
#define Z_UTIL_X2_3266 6532
#define Z_UTIL_X2_3267 6534
#define Z_UTIL_X2_3268 6536
#define Z_UTIL_X2_3269 6538
#define Z_UTIL_X2_3270 6540
#define Z_UTIL_X2_3271 6542
#define Z_UTIL_X2_3272 6544
#define Z_UTIL_X2_3273 6546
#define Z_UTIL_X2_3274 6548
#define Z_UTIL_X2_3275 6550
#define Z_UTIL_X2_3276 6552
#define Z_UTIL_X2_3277 6554
#define Z_UTIL_X2_3278 6556
#define Z_UTIL_X2_3279 6558
#define Z_UTIL_X2_3280 6560
#define Z_UTIL_X2_3281 6562
#define Z_UTIL_X2_3282 6564
#define Z_UTIL_X2_3283 6566
#define Z_UTIL_X2_3284 6568
#define Z_UTIL_X2_3285 6570
#define Z_UTIL_X2_3286 6572
#define Z_UTIL_X2_3287 6574
#define Z_UTIL_X2_3288 6576
#define Z_UTIL_X2_3289 6578
#define Z_UTIL_X2_3290 6580
#define Z_UTIL_X2_3291 6582
#define Z_UTIL_X2_3292 6584
#define Z_UTIL_X2_3293 6586
#define Z_UTIL_X2_3294 6588
#define Z_UTIL_X2_3295 6590
#define Z_UTIL_X2_3296 6592
#define Z_UTIL_X2_3297 6594
#define Z_UTIL_X2_3298 6596
#define Z_UTIL_X2_3299 6598
#define Z_UTIL_X2_3300 6600
#define Z_UTIL_X2_3301 6602
#define Z_UTIL_X2_3302 6604
#define Z_UTIL_X2_3303 6606
#define Z_UTIL_X2_3304 6608
#define Z_UTIL_X2_3305 6610
#define Z_UTIL_X2_3306 6612
#define Z_UTIL_X2_3307 6614
#define Z_UTIL_X2_3308 6616
#define Z_UTIL_X2_3309 6618
#define Z_UTIL_X2_3310 6620
#define Z_UTIL_X2_3311 6622
#define Z_UTIL_X2_3312 6624
#define Z_UTIL_X2_3313 6626
#define Z_UTIL_X2_3314 6628
#define Z_UTIL_X2_3315 6630
#define Z_UTIL_X2_3316 6632
#define Z_UTIL_X2_3317 6634
#define Z_UTIL_X2_3318 6636
#define Z_UTIL_X2_3319 6638
#define Z_UTIL_X2_3320 6640
#define Z_UTIL_X2_3321 6642
#define Z_UTIL_X2_3322 6644
#define Z_UTIL_X2_3323 6646
#define Z_UTIL_X2_3324 6648
#define Z_UTIL_X2_3325 6650
#define Z_UTIL_X2_3326 6652
#define Z_UTIL_X2_3327 6654
#define Z_UTIL_X2_3328 6656
#define Z_UTIL_X2_3329 6658
#define Z_UTIL_X2_3330 6660
#define Z_UTIL_X2_3331 6662
#define Z_UTIL_X2_3332 6664
#define Z_UTIL_X2_3333 6666
#define Z_UTIL_X2_3334 6668
#define Z_UTIL_X2_3335 6670
#define Z_UTIL_X2_3336 6672
#define Z_UTIL_X2_3337 6674
#define Z_UTIL_X2_3338 6676
#define Z_UTIL_X2_3339 6678
#define Z_UTIL_X2_3340 6680
#define Z_UTIL_X2_3341 6682
#define Z_UTIL_X2_3342 6684
#define Z_UTIL_X2_3343 6686
#define Z_UTIL_X2_3344 6688
#define Z_UTIL_X2_3345 6690
#define Z_UTIL_X2_3346 6692
#define Z_UTIL_X2_3347 6694
#define Z_UTIL_X2_3348 6696
#define Z_UTIL_X2_3349 6698
#define Z_UTIL_X2_3350 6700
#define Z_UTIL_X2_3351 6702
#define Z_UTIL_X2_3352 6704
#define Z_UTIL_X2_3353 6706
#define Z_UTIL_X2_3354 6708
#define Z_UTIL_X2_3355 6710
#define Z_UTIL_X2_3356 6712
#define Z_UTIL_X2_3357 6714
#define Z_UTIL_X2_3358 6716
#define Z_UTIL_X2_3359 6718
#define Z_UTIL_X2_3360 6720
#define Z_UTIL_X2_3361 6722
#define Z_UTIL_X2_3362 6724
#define Z_UTIL_X2_3363 6726
#define Z_UTIL_X2_3364 6728
#define Z_UTIL_X2_3365 6730
#define Z_UTIL_X2_3366 6732
#define Z_UTIL_X2_3367 6734
#define Z_UTIL_X2_3368 6736
#define Z_UTIL_X2_3369 6738
#define Z_UTIL_X2_3370 6740
#define Z_UTIL_X2_3371 6742
#define Z_UTIL_X2_3372 6744
#define Z_UTIL_X2_3373 6746
#define Z_UTIL_X2_3374 6748
#define Z_UTIL_X2_3375 6750
#define Z_UTIL_X2_3376 6752
#define Z_UTIL_X2_3377 6754
#define Z_UTIL_X2_3378 6756
#define Z_UTIL_X2_3379 6758
#define Z_UTIL_X2_3380 6760
#define Z_UTIL_X2_3381 6762
#define Z_UTIL_X2_3382 6764
#define Z_UTIL_X2_3383 6766
#define Z_UTIL_X2_3384 6768
#define Z_UTIL_X2_3385 6770
#define Z_UTIL_X2_3386 6772
#define Z_UTIL_X2_3387 6774
#define Z_UTIL_X2_3388 6776
#define Z_UTIL_X2_3389 6778
#define Z_UTIL_X2_3390 6780
#define Z_UTIL_X2_3391 6782
#define Z_UTIL_X2_3392 6784
#define Z_UTIL_X2_3393 6786
#define Z_UTIL_X2_3394 6788
#define Z_UTIL_X2_3395 6790
#define Z_UTIL_X2_3396 6792
#define Z_UTIL_X2_3397 6794
#define Z_UTIL_X2_3398 6796
#define Z_UTIL_X2_3399 6798
#define Z_UTIL_X2_3400 6800
#define Z_UTIL_X2_3401 6802
#define Z_UTIL_X2_3402 6804
#define Z_UTIL_X2_3403 6806
#define Z_UTIL_X2_3404 6808
#define Z_UTIL_X2_3405 6810
#define Z_UTIL_X2_3406 6812
#define Z_UTIL_X2_3407 6814
#define Z_UTIL_X2_3408 6816
#define Z_UTIL_X2_3409 6818
#define Z_UTIL_X2_3410 6820
#define Z_UTIL_X2_3411 6822
#define Z_UTIL_X2_3412 6824
#define Z_UTIL_X2_3413 6826
#define Z_UTIL_X2_3414 6828
#define Z_UTIL_X2_3415 6830
#define Z_UTIL_X2_3416 6832
#define Z_UTIL_X2_3417 6834
#define Z_UTIL_X2_3418 6836
#define Z_UTIL_X2_3419 6838
#define Z_UTIL_X2_3420 6840
#define Z_UTIL_X2_3421 6842
#define Z_UTIL_X2_3422 6844
#define Z_UTIL_X2_3423 6846
#define Z_UTIL_X2_3424 6848
#define Z_UTIL_X2_3425 6850
#define Z_UTIL_X2_3426 6852
#define Z_UTIL_X2_3427 6854
#define Z_UTIL_X2_3428 6856
#define Z_UTIL_X2_3429 6858
#define Z_UTIL_X2_3430 6860
#define Z_UTIL_X2_3431 6862
#define Z_UTIL_X2_3432 6864
#define Z_UTIL_X2_3433 6866
#define Z_UTIL_X2_3434 6868
#define Z_UTIL_X2_3435 6870
#define Z_UTIL_X2_3436 6872
#define Z_UTIL_X2_3437 6874
#define Z_UTIL_X2_3438 6876
#define Z_UTIL_X2_3439 6878
#define Z_UTIL_X2_3440 6880
#define Z_UTIL_X2_3441 6882
#define Z_UTIL_X2_3442 6884
#define Z_UTIL_X2_3443 6886
#define Z_UTIL_X2_3444 6888
#define Z_UTIL_X2_3445 6890
#define Z_UTIL_X2_3446 6892
#define Z_UTIL_X2_3447 6894
#define Z_UTIL_X2_3448 6896
#define Z_UTIL_X2_3449 6898
#define Z_UTIL_X2_3450 6900
#define Z_UTIL_X2_3451 6902
#define Z_UTIL_X2_3452 6904
#define Z_UTIL_X2_3453 6906
#define Z_UTIL_X2_3454 6908
#define Z_UTIL_X2_3455 6910
#define Z_UTIL_X2_3456 6912
#define Z_UTIL_X2_3457 6914
#define Z_UTIL_X2_3458 6916
#define Z_UTIL_X2_3459 6918
#define Z_UTIL_X2_3460 6920
#define Z_UTIL_X2_3461 6922
#define Z_UTIL_X2_3462 6924
#define Z_UTIL_X2_3463 6926
#define Z_UTIL_X2_3464 6928
#define Z_UTIL_X2_3465 6930
#define Z_UTIL_X2_3466 6932
#define Z_UTIL_X2_3467 6934
#define Z_UTIL_X2_3468 6936
#define Z_UTIL_X2_3469 6938
#define Z_UTIL_X2_3470 6940
#define Z_UTIL_X2_3471 6942
#define Z_UTIL_X2_3472 6944
#define Z_UTIL_X2_3473 6946
#define Z_UTIL_X2_3474 6948
#define Z_UTIL_X2_3475 6950
#define Z_UTIL_X2_3476 6952
#define Z_UTIL_X2_3477 6954
#define Z_UTIL_X2_3478 6956
#define Z_UTIL_X2_3479 6958
#define Z_UTIL_X2_3480 6960
#define Z_UTIL_X2_3481 6962
#define Z_UTIL_X2_3482 6964
#define Z_UTIL_X2_3483 6966
#define Z_UTIL_X2_3484 6968
#define Z_UTIL_X2_3485 6970
#define Z_UTIL_X2_3486 6972
#define Z_UTIL_X2_3487 6974
#define Z_UTIL_X2_3488 6976
#define Z_UTIL_X2_3489 6978
#define Z_UTIL_X2_3490 6980
#define Z_UTIL_X2_3491 6982
#define Z_UTIL_X2_3492 6984
#define Z_UTIL_X2_3493 6986
#define Z_UTIL_X2_3494 6988
#define Z_UTIL_X2_3495 6990
#define Z_UTIL_X2_3496 6992
#define Z_UTIL_X2_3497 6994
#define Z_UTIL_X2_3498 6996
#define Z_UTIL_X2_3499 6998
#define Z_UTIL_X2_3500 7000
#define Z_UTIL_X2_3501 7002
#define Z_UTIL_X2_3502 7004
#define Z_UTIL_X2_3503 7006
#define Z_UTIL_X2_3504 7008
#define Z_UTIL_X2_3505 7010
#define Z_UTIL_X2_3506 7012
#define Z_UTIL_X2_3507 7014
#define Z_UTIL_X2_3508 7016
#define Z_UTIL_X2_3509 7018
#define Z_UTIL_X2_3510 7020
#define Z_UTIL_X2_3511 7022
#define Z_UTIL_X2_3512 7024
#define Z_UTIL_X2_3513 7026
#define Z_UTIL_X2_3514 7028
#define Z_UTIL_X2_3515 7030
#define Z_UTIL_X2_3516 7032
#define Z_UTIL_X2_3517 7034
#define Z_UTIL_X2_3518 7036
#define Z_UTIL_X2_3519 7038
#define Z_UTIL_X2_3520 7040
#define Z_UTIL_X2_3521 7042
#define Z_UTIL_X2_3522 7044
#define Z_UTIL_X2_3523 7046
#define Z_UTIL_X2_3524 7048
#define Z_UTIL_X2_3525 7050
#define Z_UTIL_X2_3526 7052
#define Z_UTIL_X2_3527 7054
#define Z_UTIL_X2_3528 7056
#define Z_UTIL_X2_3529 7058
#define Z_UTIL_X2_3530 7060
#define Z_UTIL_X2_3531 7062
#define Z_UTIL_X2_3532 7064
#define Z_UTIL_X2_3533 7066
#define Z_UTIL_X2_3534 7068
#define Z_UTIL_X2_3535 7070
#define Z_UTIL_X2_3536 7072
#define Z_UTIL_X2_3537 7074
#define Z_UTIL_X2_3538 7076
#define Z_UTIL_X2_3539 7078
#define Z_UTIL_X2_3540 7080
#define Z_UTIL_X2_3541 7082
#define Z_UTIL_X2_3542 7084
#define Z_UTIL_X2_3543 7086
#define Z_UTIL_X2_3544 7088
#define Z_UTIL_X2_3545 7090
#define Z_UTIL_X2_3546 7092
#define Z_UTIL_X2_3547 7094
#define Z_UTIL_X2_3548 7096
#define Z_UTIL_X2_3549 7098
#define Z_UTIL_X2_3550 7100
#define Z_UTIL_X2_3551 7102
#define Z_UTIL_X2_3552 7104
#define Z_UTIL_X2_3553 7106
#define Z_UTIL_X2_3554 7108
#define Z_UTIL_X2_3555 7110
#define Z_UTIL_X2_3556 7112
#define Z_UTIL_X2_3557 7114
#define Z_UTIL_X2_3558 7116
#define Z_UTIL_X2_3559 7118
#define Z_UTIL_X2_3560 7120
#define Z_UTIL_X2_3561 7122
#define Z_UTIL_X2_3562 7124
#define Z_UTIL_X2_3563 7126
#define Z_UTIL_X2_3564 7128
#define Z_UTIL_X2_3565 7130
#define Z_UTIL_X2_3566 7132
#define Z_UTIL_X2_3567 7134
#define Z_UTIL_X2_3568 7136
#define Z_UTIL_X2_3569 7138
#define Z_UTIL_X2_3570 7140
#define Z_UTIL_X2_3571 7142
#define Z_UTIL_X2_3572 7144
#define Z_UTIL_X2_3573 7146
#define Z_UTIL_X2_3574 7148
#define Z_UTIL_X2_3575 7150
#define Z_UTIL_X2_3576 7152
#define Z_UTIL_X2_3577 7154
#define Z_UTIL_X2_3578 7156
#define Z_UTIL_X2_3579 7158
#define Z_UTIL_X2_3580 7160
#define Z_UTIL_X2_3581 7162
#define Z_UTIL_X2_3582 7164
#define Z_UTIL_X2_3583 7166
#define Z_UTIL_X2_3584 7168
#define Z_UTIL_X2_3585 7170
#define Z_UTIL_X2_3586 7172
#define Z_UTIL_X2_3587 7174
#define Z_UTIL_X2_3588 7176
#define Z_UTIL_X2_3589 7178
#define Z_UTIL_X2_3590 7180
#define Z_UTIL_X2_3591 7182
#define Z_UTIL_X2_3592 7184
#define Z_UTIL_X2_3593 7186
#define Z_UTIL_X2_3594 7188
#define Z_UTIL_X2_3595 7190
#define Z_UTIL_X2_3596 7192
#define Z_UTIL_X2_3597 7194
#define Z_UTIL_X2_3598 7196
#define Z_UTIL_X2_3599 7198
#define Z_UTIL_X2_3600 7200
#define Z_UTIL_X2_3601 7202
#define Z_UTIL_X2_3602 7204
#define Z_UTIL_X2_3603 7206
#define Z_UTIL_X2_3604 7208
#define Z_UTIL_X2_3605 7210
#define Z_UTIL_X2_3606 7212
#define Z_UTIL_X2_3607 7214
#define Z_UTIL_X2_3608 7216
#define Z_UTIL_X2_3609 7218
#define Z_UTIL_X2_3610 7220
#define Z_UTIL_X2_3611 7222
#define Z_UTIL_X2_3612 7224
#define Z_UTIL_X2_3613 7226
#define Z_UTIL_X2_3614 7228
#define Z_UTIL_X2_3615 7230
#define Z_UTIL_X2_3616 7232
#define Z_UTIL_X2_3617 7234
#define Z_UTIL_X2_3618 7236
#define Z_UTIL_X2_3619 7238
#define Z_UTIL_X2_3620 7240
#define Z_UTIL_X2_3621 7242
#define Z_UTIL_X2_3622 7244
#define Z_UTIL_X2_3623 7246
#define Z_UTIL_X2_3624 7248
#define Z_UTIL_X2_3625 7250
#define Z_UTIL_X2_3626 7252
#define Z_UTIL_X2_3627 7254
#define Z_UTIL_X2_3628 7256
#define Z_UTIL_X2_3629 7258
#define Z_UTIL_X2_3630 7260
#define Z_UTIL_X2_3631 7262
#define Z_UTIL_X2_3632 7264
#define Z_UTIL_X2_3633 7266
#define Z_UTIL_X2_3634 7268
#define Z_UTIL_X2_3635 7270
#define Z_UTIL_X2_3636 7272
#define Z_UTIL_X2_3637 7274
#define Z_UTIL_X2_3638 7276
#define Z_UTIL_X2_3639 7278
#define Z_UTIL_X2_3640 7280
#define Z_UTIL_X2_3641 7282
#define Z_UTIL_X2_3642 7284
#define Z_UTIL_X2_3643 7286
#define Z_UTIL_X2_3644 7288
#define Z_UTIL_X2_3645 7290
#define Z_UTIL_X2_3646 7292
#define Z_UTIL_X2_3647 7294
#define Z_UTIL_X2_3648 7296
#define Z_UTIL_X2_3649 7298
#define Z_UTIL_X2_3650 7300
#define Z_UTIL_X2_3651 7302
#define Z_UTIL_X2_3652 7304
#define Z_UTIL_X2_3653 7306
#define Z_UTIL_X2_3654 7308
#define Z_UTIL_X2_3655 7310
#define Z_UTIL_X2_3656 7312
#define Z_UTIL_X2_3657 7314
#define Z_UTIL_X2_3658 7316
#define Z_UTIL_X2_3659 7318
#define Z_UTIL_X2_3660 7320
#define Z_UTIL_X2_3661 7322
#define Z_UTIL_X2_3662 7324
#define Z_UTIL_X2_3663 7326
#define Z_UTIL_X2_3664 7328
#define Z_UTIL_X2_3665 7330
#define Z_UTIL_X2_3666 7332
#define Z_UTIL_X2_3667 7334
#define Z_UTIL_X2_3668 7336
#define Z_UTIL_X2_3669 7338
#define Z_UTIL_X2_3670 7340
#define Z_UTIL_X2_3671 7342
#define Z_UTIL_X2_3672 7344
#define Z_UTIL_X2_3673 7346
#define Z_UTIL_X2_3674 7348
#define Z_UTIL_X2_3675 7350
#define Z_UTIL_X2_3676 7352
#define Z_UTIL_X2_3677 7354
#define Z_UTIL_X2_3678 7356
#define Z_UTIL_X2_3679 7358
#define Z_UTIL_X2_3680 7360
#define Z_UTIL_X2_3681 7362
#define Z_UTIL_X2_3682 7364
#define Z_UTIL_X2_3683 7366
#define Z_UTIL_X2_3684 7368
#define Z_UTIL_X2_3685 7370
#define Z_UTIL_X2_3686 7372
#define Z_UTIL_X2_3687 7374
#define Z_UTIL_X2_3688 7376
#define Z_UTIL_X2_3689 7378
#define Z_UTIL_X2_3690 7380
#define Z_UTIL_X2_3691 7382
#define Z_UTIL_X2_3692 7384
#define Z_UTIL_X2_3693 7386
#define Z_UTIL_X2_3694 7388
#define Z_UTIL_X2_3695 7390
#define Z_UTIL_X2_3696 7392
#define Z_UTIL_X2_3697 7394
#define Z_UTIL_X2_3698 7396
#define Z_UTIL_X2_3699 7398
#define Z_UTIL_X2_3700 7400
#define Z_UTIL_X2_3701 7402
#define Z_UTIL_X2_3702 7404
#define Z_UTIL_X2_3703 7406
#define Z_UTIL_X2_3704 7408
#define Z_UTIL_X2_3705 7410
#define Z_UTIL_X2_3706 7412
#define Z_UTIL_X2_3707 7414
#define Z_UTIL_X2_3708 7416
#define Z_UTIL_X2_3709 7418
#define Z_UTIL_X2_3710 7420
#define Z_UTIL_X2_3711 7422
#define Z_UTIL_X2_3712 7424
#define Z_UTIL_X2_3713 7426
#define Z_UTIL_X2_3714 7428
#define Z_UTIL_X2_3715 7430
#define Z_UTIL_X2_3716 7432
#define Z_UTIL_X2_3717 7434
#define Z_UTIL_X2_3718 7436
#define Z_UTIL_X2_3719 7438
#define Z_UTIL_X2_3720 7440
#define Z_UTIL_X2_3721 7442
#define Z_UTIL_X2_3722 7444
#define Z_UTIL_X2_3723 7446
#define Z_UTIL_X2_3724 7448
#define Z_UTIL_X2_3725 7450
#define Z_UTIL_X2_3726 7452
#define Z_UTIL_X2_3727 7454
#define Z_UTIL_X2_3728 7456
#define Z_UTIL_X2_3729 7458
#define Z_UTIL_X2_3730 7460
#define Z_UTIL_X2_3731 7462
#define Z_UTIL_X2_3732 7464
#define Z_UTIL_X2_3733 7466
#define Z_UTIL_X2_3734 7468
#define Z_UTIL_X2_3735 7470
#define Z_UTIL_X2_3736 7472
#define Z_UTIL_X2_3737 7474
#define Z_UTIL_X2_3738 7476
#define Z_UTIL_X2_3739 7478
#define Z_UTIL_X2_3740 7480
#define Z_UTIL_X2_3741 7482
#define Z_UTIL_X2_3742 7484
#define Z_UTIL_X2_3743 7486
#define Z_UTIL_X2_3744 7488
#define Z_UTIL_X2_3745 7490
#define Z_UTIL_X2_3746 7492
#define Z_UTIL_X2_3747 7494
#define Z_UTIL_X2_3748 7496
#define Z_UTIL_X2_3749 7498
#define Z_UTIL_X2_3750 7500
#define Z_UTIL_X2_3751 7502
#define Z_UTIL_X2_3752 7504
#define Z_UTIL_X2_3753 7506
#define Z_UTIL_X2_3754 7508
#define Z_UTIL_X2_3755 7510
#define Z_UTIL_X2_3756 7512
#define Z_UTIL_X2_3757 7514
#define Z_UTIL_X2_3758 7516
#define Z_UTIL_X2_3759 7518
#define Z_UTIL_X2_3760 7520
#define Z_UTIL_X2_3761 7522
#define Z_UTIL_X2_3762 7524
#define Z_UTIL_X2_3763 7526
#define Z_UTIL_X2_3764 7528
#define Z_UTIL_X2_3765 7530
#define Z_UTIL_X2_3766 7532
#define Z_UTIL_X2_3767 7534
#define Z_UTIL_X2_3768 7536
#define Z_UTIL_X2_3769 7538
#define Z_UTIL_X2_3770 7540
#define Z_UTIL_X2_3771 7542
#define Z_UTIL_X2_3772 7544
#define Z_UTIL_X2_3773 7546
#define Z_UTIL_X2_3774 7548
#define Z_UTIL_X2_3775 7550
#define Z_UTIL_X2_3776 7552
#define Z_UTIL_X2_3777 7554
#define Z_UTIL_X2_3778 7556
#define Z_UTIL_X2_3779 7558
#define Z_UTIL_X2_3780 7560
#define Z_UTIL_X2_3781 7562
#define Z_UTIL_X2_3782 7564
#define Z_UTIL_X2_3783 7566
#define Z_UTIL_X2_3784 7568
#define Z_UTIL_X2_3785 7570
#define Z_UTIL_X2_3786 7572
#define Z_UTIL_X2_3787 7574
#define Z_UTIL_X2_3788 7576
#define Z_UTIL_X2_3789 7578
#define Z_UTIL_X2_3790 7580
#define Z_UTIL_X2_3791 7582
#define Z_UTIL_X2_3792 7584
#define Z_UTIL_X2_3793 7586
#define Z_UTIL_X2_3794 7588
#define Z_UTIL_X2_3795 7590
#define Z_UTIL_X2_3796 7592
#define Z_UTIL_X2_3797 7594
#define Z_UTIL_X2_3798 7596
#define Z_UTIL_X2_3799 7598
#define Z_UTIL_X2_3800 7600
#define Z_UTIL_X2_3801 7602
#define Z_UTIL_X2_3802 7604
#define Z_UTIL_X2_3803 7606
#define Z_UTIL_X2_3804 7608
#define Z_UTIL_X2_3805 7610
#define Z_UTIL_X2_3806 7612
#define Z_UTIL_X2_3807 7614
#define Z_UTIL_X2_3808 7616
#define Z_UTIL_X2_3809 7618
#define Z_UTIL_X2_3810 7620
#define Z_UTIL_X2_3811 7622
#define Z_UTIL_X2_3812 7624
#define Z_UTIL_X2_3813 7626
#define Z_UTIL_X2_3814 7628
#define Z_UTIL_X2_3815 7630
#define Z_UTIL_X2_3816 7632
#define Z_UTIL_X2_3817 7634
#define Z_UTIL_X2_3818 7636
#define Z_UTIL_X2_3819 7638
#define Z_UTIL_X2_3820 7640
#define Z_UTIL_X2_3821 7642
#define Z_UTIL_X2_3822 7644
#define Z_UTIL_X2_3823 7646
#define Z_UTIL_X2_3824 7648
#define Z_UTIL_X2_3825 7650
#define Z_UTIL_X2_3826 7652
#define Z_UTIL_X2_3827 7654
#define Z_UTIL_X2_3828 7656
#define Z_UTIL_X2_3829 7658
#define Z_UTIL_X2_3830 7660
#define Z_UTIL_X2_3831 7662
#define Z_UTIL_X2_3832 7664
#define Z_UTIL_X2_3833 7666
#define Z_UTIL_X2_3834 7668
#define Z_UTIL_X2_3835 7670
#define Z_UTIL_X2_3836 7672
#define Z_UTIL_X2_3837 7674
#define Z_UTIL_X2_3838 7676
#define Z_UTIL_X2_3839 7678
#define Z_UTIL_X2_3840 7680
#define Z_UTIL_X2_3841 7682
#define Z_UTIL_X2_3842 7684
#define Z_UTIL_X2_3843 7686
#define Z_UTIL_X2_3844 7688
#define Z_UTIL_X2_3845 7690
#define Z_UTIL_X2_3846 7692
#define Z_UTIL_X2_3847 7694
#define Z_UTIL_X2_3848 7696
#define Z_UTIL_X2_3849 7698
#define Z_UTIL_X2_3850 7700
#define Z_UTIL_X2_3851 7702
#define Z_UTIL_X2_3852 7704
#define Z_UTIL_X2_3853 7706
#define Z_UTIL_X2_3854 7708
#define Z_UTIL_X2_3855 7710
#define Z_UTIL_X2_3856 7712
#define Z_UTIL_X2_3857 7714
#define Z_UTIL_X2_3858 7716
#define Z_UTIL_X2_3859 7718
#define Z_UTIL_X2_3860 7720
#define Z_UTIL_X2_3861 7722
#define Z_UTIL_X2_3862 7724
#define Z_UTIL_X2_3863 7726
#define Z_UTIL_X2_3864 7728
#define Z_UTIL_X2_3865 7730
#define Z_UTIL_X2_3866 7732
#define Z_UTIL_X2_3867 7734
#define Z_UTIL_X2_3868 7736
#define Z_UTIL_X2_3869 7738
#define Z_UTIL_X2_3870 7740
#define Z_UTIL_X2_3871 7742
#define Z_UTIL_X2_3872 7744
#define Z_UTIL_X2_3873 7746
#define Z_UTIL_X2_3874 7748
#define Z_UTIL_X2_3875 7750
#define Z_UTIL_X2_3876 7752
#define Z_UTIL_X2_3877 7754
#define Z_UTIL_X2_3878 7756
#define Z_UTIL_X2_3879 7758
#define Z_UTIL_X2_3880 7760
#define Z_UTIL_X2_3881 7762
#define Z_UTIL_X2_3882 7764
#define Z_UTIL_X2_3883 7766
#define Z_UTIL_X2_3884 7768
#define Z_UTIL_X2_3885 7770
#define Z_UTIL_X2_3886 7772
#define Z_UTIL_X2_3887 7774
#define Z_UTIL_X2_3888 7776
#define Z_UTIL_X2_3889 7778
#define Z_UTIL_X2_3890 7780
#define Z_UTIL_X2_3891 7782
#define Z_UTIL_X2_3892 7784
#define Z_UTIL_X2_3893 7786
#define Z_UTIL_X2_3894 7788
#define Z_UTIL_X2_3895 7790
#define Z_UTIL_X2_3896 7792
#define Z_UTIL_X2_3897 7794
#define Z_UTIL_X2_3898 7796
#define Z_UTIL_X2_3899 7798
#define Z_UTIL_X2_3900 7800
#define Z_UTIL_X2_3901 7802
#define Z_UTIL_X2_3902 7804
#define Z_UTIL_X2_3903 7806
#define Z_UTIL_X2_3904 7808
#define Z_UTIL_X2_3905 7810
#define Z_UTIL_X2_3906 7812
#define Z_UTIL_X2_3907 7814
#define Z_UTIL_X2_3908 7816
#define Z_UTIL_X2_3909 7818
#define Z_UTIL_X2_3910 7820
#define Z_UTIL_X2_3911 7822
#define Z_UTIL_X2_3912 7824
#define Z_UTIL_X2_3913 7826
#define Z_UTIL_X2_3914 7828
#define Z_UTIL_X2_3915 7830
#define Z_UTIL_X2_3916 7832
#define Z_UTIL_X2_3917 7834
#define Z_UTIL_X2_3918 7836
#define Z_UTIL_X2_3919 7838
#define Z_UTIL_X2_3920 7840
#define Z_UTIL_X2_3921 7842
#define Z_UTIL_X2_3922 7844
#define Z_UTIL_X2_3923 7846
#define Z_UTIL_X2_3924 7848
#define Z_UTIL_X2_3925 7850
#define Z_UTIL_X2_3926 7852
#define Z_UTIL_X2_3927 7854
#define Z_UTIL_X2_3928 7856
#define Z_UTIL_X2_3929 7858
#define Z_UTIL_X2_3930 7860
#define Z_UTIL_X2_3931 7862
#define Z_UTIL_X2_3932 7864
#define Z_UTIL_X2_3933 7866
#define Z_UTIL_X2_3934 7868
#define Z_UTIL_X2_3935 7870
#define Z_UTIL_X2_3936 7872
#define Z_UTIL_X2_3937 7874
#define Z_UTIL_X2_3938 7876
#define Z_UTIL_X2_3939 7878
#define Z_UTIL_X2_3940 7880
#define Z_UTIL_X2_3941 7882
#define Z_UTIL_X2_3942 7884
#define Z_UTIL_X2_3943 7886
#define Z_UTIL_X2_3944 7888
#define Z_UTIL_X2_3945 7890
#define Z_UTIL_X2_3946 7892
#define Z_UTIL_X2_3947 7894
#define Z_UTIL_X2_3948 7896
#define Z_UTIL_X2_3949 7898
#define Z_UTIL_X2_3950 7900
#define Z_UTIL_X2_3951 7902
#define Z_UTIL_X2_3952 7904
#define Z_UTIL_X2_3953 7906
#define Z_UTIL_X2_3954 7908
#define Z_UTIL_X2_3955 7910
#define Z_UTIL_X2_3956 7912
#define Z_UTIL_X2_3957 7914
#define Z_UTIL_X2_3958 7916
#define Z_UTIL_X2_3959 7918
#define Z_UTIL_X2_3960 7920
#define Z_UTIL_X2_3961 7922
#define Z_UTIL_X2_3962 7924
#define Z_UTIL_X2_3963 7926
#define Z_UTIL_X2_3964 7928
#define Z_UTIL_X2_3965 7930
#define Z_UTIL_X2_3966 7932
#define Z_UTIL_X2_3967 7934
#define Z_UTIL_X2_3968 7936
#define Z_UTIL_X2_3969 7938
#define Z_UTIL_X2_3970 7940
#define Z_UTIL_X2_3971 7942
#define Z_UTIL_X2_3972 7944
#define Z_UTIL_X2_3973 7946
#define Z_UTIL_X2_3974 7948
#define Z_UTIL_X2_3975 7950
#define Z_UTIL_X2_3976 7952
#define Z_UTIL_X2_3977 7954
#define Z_UTIL_X2_3978 7956
#define Z_UTIL_X2_3979 7958
#define Z_UTIL_X2_3980 7960
#define Z_UTIL_X2_3981 7962
#define Z_UTIL_X2_3982 7964
#define Z_UTIL_X2_3983 7966
#define Z_UTIL_X2_3984 7968
#define Z_UTIL_X2_3985 7970
#define Z_UTIL_X2_3986 7972
#define Z_UTIL_X2_3987 7974
#define Z_UTIL_X2_3988 7976
#define Z_UTIL_X2_3989 7978
#define Z_UTIL_X2_3990 7980
#define Z_UTIL_X2_3991 7982
#define Z_UTIL_X2_3992 7984
#define Z_UTIL_X2_3993 7986
#define Z_UTIL_X2_3994 7988
#define Z_UTIL_X2_3995 7990
#define Z_UTIL_X2_3996 7992
#define Z_UTIL_X2_3997 7994
#define Z_UTIL_X2_3998 7996
#define Z_UTIL_X2_3999 7998
#define Z_UTIL_X2_4000 8000
#define Z_UTIL_X2_4001 8002
#define Z_UTIL_X2_4002 8004
#define Z_UTIL_X2_4003 8006
#define Z_UTIL_X2_4004 8008
#define Z_UTIL_X2_4005 8010
#define Z_UTIL_X2_4006 8012
#define Z_UTIL_X2_4007 8014
#define Z_UTIL_X2_4008 8016
#define Z_UTIL_X2_4009 8018
#define Z_UTIL_X2_4010 8020
#define Z_UTIL_X2_4011 8022
#define Z_UTIL_X2_4012 8024
#define Z_UTIL_X2_4013 8026
#define Z_UTIL_X2_4014 8028
#define Z_UTIL_X2_4015 8030
#define Z_UTIL_X2_4016 8032
#define Z_UTIL_X2_4017 8034
#define Z_UTIL_X2_4018 8036
#define Z_UTIL_X2_4019 8038
#define Z_UTIL_X2_4020 8040
#define Z_UTIL_X2_4021 8042
#define Z_UTIL_X2_4022 8044
#define Z_UTIL_X2_4023 8046
#define Z_UTIL_X2_4024 8048
#define Z_UTIL_X2_4025 8050
#define Z_UTIL_X2_4026 8052
#define Z_UTIL_X2_4027 8054
#define Z_UTIL_X2_4028 8056
#define Z_UTIL_X2_4029 8058
#define Z_UTIL_X2_4030 8060
#define Z_UTIL_X2_4031 8062
#define Z_UTIL_X2_4032 8064
#define Z_UTIL_X2_4033 8066
#define Z_UTIL_X2_4034 8068
#define Z_UTIL_X2_4035 8070
#define Z_UTIL_X2_4036 8072
#define Z_UTIL_X2_4037 8074
#define Z_UTIL_X2_4038 8076
#define Z_UTIL_X2_4039 8078
#define Z_UTIL_X2_4040 8080
#define Z_UTIL_X2_4041 8082
#define Z_UTIL_X2_4042 8084
#define Z_UTIL_X2_4043 8086
#define Z_UTIL_X2_4044 8088
#define Z_UTIL_X2_4045 8090
#define Z_UTIL_X2_4046 8092
#define Z_UTIL_X2_4047 8094
#define Z_UTIL_X2_4048 8096
#define Z_UTIL_X2_4049 8098
#define Z_UTIL_X2_4050 8100
#define Z_UTIL_X2_4051 8102
#define Z_UTIL_X2_4052 8104
#define Z_UTIL_X2_4053 8106
#define Z_UTIL_X2_4054 8108
#define Z_UTIL_X2_4055 8110
#define Z_UTIL_X2_4056 8112
#define Z_UTIL_X2_4057 8114
#define Z_UTIL_X2_4058 8116
#define Z_UTIL_X2_4059 8118
#define Z_UTIL_X2_4060 8120
#define Z_UTIL_X2_4061 8122
#define Z_UTIL_X2_4062 8124
#define Z_UTIL_X2_4063 8126
#define Z_UTIL_X2_4064 8128
#define Z_UTIL_X2_4065 8130
#define Z_UTIL_X2_4066 8132
#define Z_UTIL_X2_4067 8134
#define Z_UTIL_X2_4068 8136
#define Z_UTIL_X2_4069 8138
#define Z_UTIL_X2_4070 8140
#define Z_UTIL_X2_4071 8142
#define Z_UTIL_X2_4072 8144
#define Z_UTIL_X2_4073 8146
#define Z_UTIL_X2_4074 8148
#define Z_UTIL_X2_4075 8150
#define Z_UTIL_X2_4076 8152
#define Z_UTIL_X2_4077 8154
#define Z_UTIL_X2_4078 8156
#define Z_UTIL_X2_4079 8158
#define Z_UTIL_X2_4080 8160
#define Z_UTIL_X2_4081 8162
#define Z_UTIL_X2_4082 8164
#define Z_UTIL_X2_4083 8166
#define Z_UTIL_X2_4084 8168
#define Z_UTIL_X2_4085 8170
#define Z_UTIL_X2_4086 8172
#define Z_UTIL_X2_4087 8174
#define Z_UTIL_X2_4088 8176
#define Z_UTIL_X2_4089 8178
#define Z_UTIL_X2_4090 8180
#define Z_UTIL_X2_4091 8182
#define Z_UTIL_X2_4092 8184
#define Z_UTIL_X2_4093 8186
#define Z_UTIL_X2_4094 8188
#define Z_UTIL_X2_4095 8190
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_ */
/**
* INTERNAL_HIDDEN @endcond
*/
``` | /content/code_sandbox/include/zephyr/sys/util_internal_util_x2.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47,758 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_HEAP_LISTENER_H
#define ZEPHYR_INCLUDE_SYS_HEAP_LISTENER_H
#include <stdint.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/slist.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(CONFIG_HEAP_LISTENER) || defined(__DOXYGEN__)
/**
* @defgroup heap_listener_apis Heap Listener APIs
* @ingroup heaps
* @{
*/
enum heap_event_types {
/*
* Dummy event so an un-initialized but zero-ed listener node
* will not trigger any callbacks.
*/
HEAP_EVT_UNKNOWN = 0,
HEAP_RESIZE,
HEAP_ALLOC,
HEAP_FREE,
HEAP_REALLOC,
HEAP_MAX_EVENTS
};
/**
* @typedef heap_listener_resize_cb_t
* @brief Callback used when heap is resized
*
* @note Minimal C library does not emit this event.
*
* @param heap_id Identifier of heap being resized
* @param old_heap_end Pointer to end of heap before resize
* @param new_heap_end Pointer to end of heap after resize
*/
typedef void (*heap_listener_resize_cb_t)(uintptr_t heap_id,
void *old_heap_end,
void *new_heap_end);
/**
* @typedef heap_listener_alloc_cb_t
* @brief Callback used when there is heap allocation
*
* @note Heaps managed by libraries outside of code in
* Zephyr main code repository may not emit this event.
*
* @note The number of bytes allocated may not match exactly
* to the request to the allocation function. Internal
* mechanism of the heap may allocate more than
* requested.
*
* @param heap_id Heap identifier
* @param mem Pointer to the allocated memory
* @param bytes Size of allocated memory
*/
typedef void (*heap_listener_alloc_cb_t)(uintptr_t heap_id,
void *mem, size_t bytes);
/**
* @typedef heap_listener_free_cb_t
* @brief Callback used when memory is freed from heap
*
* @note Heaps managed by libraries outside of code in
* Zephyr main code repository may not emit this event.
*
* @note The number of bytes freed may not match exactly to
* the request to the allocation function. Internal
* mechanism of the heap dictates how memory is
* allocated or freed.
*
* @param heap_id Heap identifier
* @param mem Pointer to the freed memory
* @param bytes Size of freed memory
*/
typedef void (*heap_listener_free_cb_t)(uintptr_t heap_id,
void *mem, size_t bytes);
struct heap_listener {
/** Singly linked list node */
sys_snode_t node;
/**
* Identifier of the heap whose events are listened.
*
* It can be a heap pointer, if the heap is represented as an object,
* or 0 in the case of the global libc heap.
*/
uintptr_t heap_id;
/**
* The heap event to be notified.
*/
enum heap_event_types event;
union {
heap_listener_alloc_cb_t alloc_cb;
heap_listener_free_cb_t free_cb;
heap_listener_resize_cb_t resize_cb;
};
};
/**
* @brief Register heap event listener
*
* Add the listener to the global list of heap listeners that can be notified by
* different heap implementations upon certain events related to the heap usage.
*
* @param listener Pointer to the heap_listener object
*/
void heap_listener_register(struct heap_listener *listener);
/**
* @brief Unregister heap event listener
*
* Remove the listener from the global list of heap listeners that can be
* notified by different heap implementations upon certain events related to the
* heap usage.
*
* @param listener Pointer to the heap_listener object
*/
void heap_listener_unregister(struct heap_listener *listener);
/**
* @brief Notify listeners of heap allocation event
*
* Notify registered heap event listeners with matching heap identifier that an
* allocation has been done on heap
*
* @param heap_id Heap identifier
* @param mem Pointer to the allocated memory
* @param bytes Size of allocated memory
*/
void heap_listener_notify_alloc(uintptr_t heap_id, void *mem, size_t bytes);
/**
* @brief Notify listeners of heap free event
*
* Notify registered heap event listeners with matching heap identifier that
* memory is freed on heap
*
* @param heap_id Heap identifier
* @param mem Pointer to the freed memory
* @param bytes Size of freed memory
*/
void heap_listener_notify_free(uintptr_t heap_id, void *mem, size_t bytes);
/**
* @brief Notify listeners of heap resize event
*
* Notify registered heap event listeners with matching heap identifier that the
* heap has been resized.
*
* @param heap_id Heap identifier
* @param old_heap_end Address of the heap end before the change
* @param new_heap_end Address of the heap end after the change
*/
void heap_listener_notify_resize(uintptr_t heap_id, void *old_heap_end, void *new_heap_end);
/**
* @brief Construct heap identifier from heap pointer
*
* Construct a heap identifier from a pointer to the heap object, such as
* sys_heap.
*
* @param heap_pointer Pointer to the heap object
*/
#define HEAP_ID_FROM_POINTER(heap_pointer) ((uintptr_t)heap_pointer)
/**
* @brief Libc heap identifier
*
* Identifier of the global libc heap.
*/
#define HEAP_ID_LIBC ((uintptr_t)0)
/**
* @brief Define heap event listener node for allocation event
*
* Sample usage:
* @code
* void on_heap_alloc(uintptr_t heap_id, void *mem, size_t bytes)
* {
* LOG_INF("Memory allocated at %p, size %ld", mem, bytes);
* }
*
* HEAP_LISTENER_ALLOC_DEFINE(my_listener, HEAP_ID_LIBC, on_heap_alloc);
* @endcode
*
* @param name Name of the heap event listener object
* @param _heap_id Identifier of the heap to be listened
* @param _alloc_cb Function to be called for allocation event
*/
#define HEAP_LISTENER_ALLOC_DEFINE(name, _heap_id, _alloc_cb) \
struct heap_listener name = { \
.heap_id = _heap_id, \
.event = HEAP_ALLOC, \
{ \
.alloc_cb = _alloc_cb \
}, \
}
/**
* @brief Define heap event listener node for free event
*
* Sample usage:
* @code
* void on_heap_free(uintptr_t heap_id, void *mem, size_t bytes)
* {
* LOG_INF("Memory freed at %p, size %ld", mem, bytes);
* }
*
* HEAP_LISTENER_FREE_DEFINE(my_listener, HEAP_ID_LIBC, on_heap_free);
* @endcode
*
* @param name Name of the heap event listener object
* @param _heap_id Identifier of the heap to be listened
* @param _free_cb Function to be called for free event
*/
#define HEAP_LISTENER_FREE_DEFINE(name, _heap_id, _free_cb) \
struct heap_listener name = { \
.heap_id = _heap_id, \
.event = HEAP_FREE, \
{ \
.free_cb = _free_cb \
}, \
}
/**
* @brief Define heap event listener node for resize event
*
* Sample usage:
* @code
* void on_heap_resized(uintptr_t heap_id, void *old_heap_end, void *new_heap_end)
* {
* LOG_INF("Libc heap end moved from %p to %p", old_heap_end, new_heap_end);
* }
*
* HEAP_LISTENER_RESIZE_DEFINE(my_listener, HEAP_ID_LIBC, on_heap_resized);
* @endcode
*
* @param name Name of the heap event listener object
* @param _heap_id Identifier of the heap to be listened
* @param _resize_cb Function to be called when the listened heap is resized
*/
#define HEAP_LISTENER_RESIZE_DEFINE(name, _heap_id, _resize_cb) \
struct heap_listener name = { \
.heap_id = _heap_id, \
.event = HEAP_RESIZE, \
{ \
.resize_cb = _resize_cb \
}, \
}
/** @} */
#else /* CONFIG_HEAP_LISTENER */
#define HEAP_ID_FROM_POINTER(heap_pointer) ((uintptr_t)NULL)
static inline void heap_listener_notify_alloc(uintptr_t heap_id, void *mem, size_t bytes)
{
ARG_UNUSED(heap_id);
ARG_UNUSED(mem);
ARG_UNUSED(bytes);
}
static inline void heap_listener_notify_free(uintptr_t heap_id, void *mem, size_t bytes)
{
ARG_UNUSED(heap_id);
ARG_UNUSED(mem);
ARG_UNUSED(bytes);
}
static inline void heap_listener_notify_resize(uintptr_t heap_id, void *old_heap_end,
void *new_heap_end)
{
ARG_UNUSED(heap_id);
ARG_UNUSED(old_heap_end);
ARG_UNUSED(new_heap_end);
}
#endif /* CONFIG_HEAP_LISTENER */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_HEAP_LISTENER_H */
``` | /content/code_sandbox/include/zephyr/sys/heap_listener.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,925 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_MISC_SPECULATION_H
#define ZEPHYR_MISC_SPECULATION_H
#include <zephyr/types.h>
/**
* Sanitize an array index against bounds check bypass attacks aka the
* Spectre V1 vulnerability.
*
* CPUs with speculative execution may speculate past any size checks and
* leak confidential data due to analysis of micro-architectural properties.
* This will unconditionally truncate any out-of-bounds indexes to
* zero in the speculative execution path using bit twiddling instead of
* any branch instructions.
*
* Example usage:
*
* if (index < size) {
* index = k_array_index_sanitize(index, size);
* data = array[index];
* }
*
* @param index Untrusted array index which has been validated, but not used
* @param array_size Size of the array
* @return The original index value if < size, or 0
*/
static inline uint32_t k_array_index_sanitize(uint32_t index, uint32_t array_size)
{
#ifdef CONFIG_BOUNDS_CHECK_BYPASS_MITIGATION
int32_t signed_index = index, signed_array_size = array_size;
/* Take the difference between index and max.
* A proper value will result in a negative result. We also AND in
* the complement of index, so that we automatically reject any large
* indexes which would wrap around the difference calculation.
*
* Sign-extend just the sign bit to produce a mask of all 1s (accept)
* or all 0s (truncate).
*/
uint32_t mask = ((signed_index - signed_array_size) & ~signed_index) >> 31;
return index & mask;
#else
ARG_UNUSED(array_size);
return index;
#endif /* CONFIG_BOUNDS_CHECK_BYPASS_MITIGATION */
}
#endif /* ZEPHYR_MISC_SPECULATION_H */
``` | /content/code_sandbox/include/zephyr/sys/speculation.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 395 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_FDTABLE_H_
#define ZEPHYR_INCLUDE_SYS_FDTABLE_H_
#include <stdarg.h>
#include <sys/types.h>
/* FIXME: For native_posix ssize_t, off_t. */
#include <zephyr/fs/fs.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
/* File mode bits */
#define ZVFS_MODE_IFMT 0170000
#define ZVFS_MODE_UNSPEC 0000000
#define ZVFS_MODE_IFIFO 0010000
#define ZVFS_MODE_IFCHR 0020000
#define ZVFS_MODE_IMSGQ 0030000
#define ZVFS_MODE_IFDIR 0040000
#define ZVFS_MODE_IFSEM 0050000
#define ZVFS_MODE_IFBLK 0060000
#define ZVFS_MODE_IFSHM 0070000
#define ZVFS_MODE_IFREG 0100000
#define ZVFS_MODE_IFLNK 0120000
#define ZVFS_MODE_IFSOCK 0140000
#ifdef __cplusplus
extern "C" {
#endif
/**
* File descriptor virtual method table.
* Currently all operations beyond read/write/close go thru ioctl method.
*/
struct fd_op_vtable {
union {
ssize_t (*read)(void *obj, void *buf, size_t sz);
ssize_t (*read_offs)(void *obj, void *buf, size_t sz, size_t offset);
};
union {
ssize_t (*write)(void *obj, const void *buf, size_t sz);
ssize_t (*write_offs)(void *obj, const void *buf, size_t sz, size_t offset);
};
int (*close)(void *obj);
int (*ioctl)(void *obj, unsigned int request, va_list args);
};
/**
* @brief Reserve file descriptor.
*
* This function allows to reserve a space for file descriptor entry in
* the underlying table, and thus allows caller to fail fast if no free
* descriptor is available. If this function succeeds, zvfs_finalize_fd()
* or zvfs_free_fd() must be called mandatorily.
*
* @return Allocated file descriptor, or -1 in case of error (errno is set)
*/
int zvfs_reserve_fd(void);
/**
* @brief Finalize creation of file descriptor, with type.
*
* This function should be called exactly once after zvfs_reserve_fd(), and
* should not be called in any other case.
*
* The difference between this function and @ref zvfs_finalize_fd is that the
* latter does not relay type information of the created file descriptor.
*
* Values permitted for @a mode are one of `ZVFS_MODE_..`.
*
* @param fd File descriptor previously returned by zvfs_reserve_fd()
* @param obj pointer to I/O object structure
* @param vtable pointer to I/O operation implementations for the object
* @param mode File type as specified above.
*/
void zvfs_finalize_typed_fd(int fd, void *obj, const struct fd_op_vtable *vtable, uint32_t mode);
/**
* @brief Finalize creation of file descriptor.
*
* This function should be called exactly once after zvfs_reserve_fd(), and
* should not be called in any other case.
*
* @param fd File descriptor previously returned by zvfs_reserve_fd()
* @param obj pointer to I/O object structure
* @param vtable pointer to I/O operation implementations for the object
*/
static inline void zvfs_finalize_fd(int fd, void *obj, const struct fd_op_vtable *vtable)
{
zvfs_finalize_typed_fd(fd, obj, vtable, ZVFS_MODE_UNSPEC);
}
/**
* @brief Allocate file descriptor for underlying I/O object.
*
* This function combines operations of zvfs_reserve_fd() and zvfs_finalize_fd()
* in one step, and provided for convenience.
*
* @param obj pointer to I/O object structure
* @param vtable pointer to I/O operation implementations for the object
*
* @return Allocated file descriptor, or -1 in case of error (errno is set)
*/
int zvfs_alloc_fd(void *obj, const struct fd_op_vtable *vtable);
/**
* @brief Release reserved file descriptor.
*
* This function may be called once after zvfs_reserve_fd(), and should
* not be called in any other case.
*
* @param fd File descriptor previously returned by zvfs_reserve_fd()
*/
void zvfs_free_fd(int fd);
/**
* @brief Get underlying object pointer from file descriptor.
*
* This function is useful for functions other than read/write/ioctl
* to look up underlying I/O object by fd, optionally checking its
* type (using vtable reference). If fd refers to invalid entry,
* NULL will be returned with errno set to EBADF. If fd is valid,
* but vtable param is not NULL and doesn't match object's vtable,
* NULL is returned and errno set to err param.
*
* @param fd File descriptor previously returned by zvfs_reserve_fd()
* @param vtable Expected object vtable or NULL
* @param err errno value to set if object vtable doesn't match
*
* @return Object pointer or NULL, with errno set
*/
void *zvfs_get_fd_obj(int fd, const struct fd_op_vtable *vtable, int err);
/**
* @brief Get underlying object pointer and vtable pointer from file descriptor.
*
* @param fd File descriptor previously returned by zvfs_reserve_fd()
* @param vtable A pointer to a pointer variable to store the vtable
* @param lock An optional pointer to a pointer variable to store the mutex
* preventing concurrent descriptor access. The lock is not taken,
* it is just returned for the caller to use if necessary. Pass NULL
* if the lock is not needed by the caller.
*
* @return Object pointer or NULL, with errno set
*/
void *zvfs_get_fd_obj_and_vtable(int fd, const struct fd_op_vtable **vtable,
struct k_mutex **lock);
/**
* @brief Get the mutex and condition variable associated with the given object and vtable.
*
* @param obj Object previously returned by a call to e.g. @ref zvfs_get_fd_obj.
* @param vtable A pointer the vtable associated with @p obj.
* @param lock An optional pointer to a pointer variable to store the mutex
* preventing concurrent descriptor access. The lock is not taken,
* it is just returned for the caller to use if necessary. Pass NULL
* if the lock is not needed by the caller.
* @param cond An optional pointer to a pointer variable to store the condition variable
* to notify waiting threads in the case of concurrent descriptor access. Pass NULL
* if the condition variable is not needed by the caller.
*
* @return `true` on success, `false` otherwise.
*/
bool zvfs_get_obj_lock_and_cond(void *obj, const struct fd_op_vtable *vtable, struct k_mutex **lock,
struct k_condvar **cond);
/**
* @brief Call ioctl vmethod on an object using varargs.
*
* We need this helper function because ioctl vmethod is declared to
* take va_list and the only portable way to construct va_list is from
* function's ... parameters.
*
* @param vtable vtable containing ioctl function pointer
* @param obj Object to call ioctl on
* @param request ioctl request number
* @param ... Variadic arguments to ioctl
*/
static inline int zvfs_fdtable_call_ioctl(const struct fd_op_vtable *vtable, void *obj,
unsigned long request, ...)
{
va_list args;
int res;
va_start(args, request);
res = vtable->ioctl(obj, request, args);
va_end(args);
return res;
}
/**
* Request codes for fd_op_vtable.ioctl().
*
* Note that these codes are internal Zephyr numbers, for internal
* Zephyr operations (and subject to change without notice, not part
* of "stable ABI"). These are however expected to co-exist with
* "well-known" POSIX/Linux ioctl numbers, and not clash with them.
*/
enum {
/* Codes below 0x100 are reserved for fcntl() codes. */
ZFD_IOCTL_FSYNC = 0x100,
ZFD_IOCTL_LSEEK,
ZFD_IOCTL_POLL_PREPARE,
ZFD_IOCTL_POLL_UPDATE,
ZFD_IOCTL_POLL_OFFLOAD,
ZFD_IOCTL_SET_LOCK,
ZFD_IOCTL_STAT,
ZFD_IOCTL_TRUNCATE,
ZFD_IOCTL_MMAP,
/* Codes above 0x5400 and below 0x5500 are reserved for termios, FIO, etc */
ZFD_IOCTL_FIONREAD = 0x541B,
ZFD_IOCTL_FIONBIO = 0x5421,
};
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_FDTABLE_H_ */
``` | /content/code_sandbox/include/zephyr/sys/fdtable.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,906 |
```objective-c
/*
*
*/
/**
* @file
*
* @brief Memory Blocks Allocator
*/
#ifndef ZEPHYR_INCLUDE_SYS_MEM_BLOCKS_H_
#define ZEPHYR_INCLUDE_SYS_MEM_BLOCKS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#include <stdint.h>
#include <zephyr/kernel.h>
#include <zephyr/math/ilog2.h>
#include <zephyr/sys/bitarray.h>
#include <zephyr/sys/mem_stats.h>
#define MAX_MULTI_ALLOCATORS 8
/**
* @defgroup mem_blocks_apis Memory Blocks APIs
* @ingroup memory_management
* @{
*/
/**
* @brief Memory Blocks Allocator
*/
struct sys_mem_blocks;
/**
* @brief Multi Memory Blocks Allocator
*/
struct sys_multi_mem_blocks;
/**
* @typedef sys_mem_blocks_t
*
* @brief Memory Blocks Allocator
*/
typedef struct sys_mem_blocks sys_mem_blocks_t;
/**
* @typedef sys_multi_mem_blocks_t
*
* @brief Multi Memory Blocks Allocator
*/
typedef struct sys_multi_mem_blocks sys_multi_mem_blocks_t;
/**
* @brief Multi memory blocks allocator choice function
*
* This is a user-provided functions whose responsibility is selecting
* a specific memory blocks allocator based on the opaque cfg value,
* which is specified by the user as an argument to
* sys_multi_mem_blocks_alloc(). The callback returns a pointer to
* the chosen allocator where the allocation is performed.
*
* NULL may be returned, which will cause the
* allocation to fail and a -EINVAL reported to the calling code.
*
* @param group Multi memory blocks allocator structure.
* @param cfg An opaque user-provided value. It may be interpreted in
* any way by the application.
*
* @return A pointer to the chosen allocator, or NULL if none is chosen.
*/
typedef sys_mem_blocks_t *(*sys_multi_mem_blocks_choice_fn_t)
(struct sys_multi_mem_blocks *group, void *cfg);
/**
* @cond INTERNAL_HIDDEN
*/
struct sys_mem_blocks_info {
uint32_t num_blocks; /* Total number of blocks */
uint8_t blk_sz_shift; /* Bit shift for block size */
#ifdef CONFIG_SYS_MEM_BLOCKS_RUNTIME_STATS
uint32_t used_blocks; /* Current number of blocks in use */
uint32_t max_used_blocks; /* Maximum number of blocks in use */
#endif
};
struct sys_mem_blocks {
struct sys_mem_blocks_info info;
/* Memory block buffer */
uint8_t *buffer;
/* Bitmap of allocated blocks */
sys_bitarray_t *bitmap;
#ifdef CONFIG_SYS_MEM_BLOCKS_RUNTIME_STATS
/* Spinlock guarding access to memory block internals */
struct k_spinlock lock;
#endif
#ifdef CONFIG_OBJ_CORE_SYS_MEM_BLOCKS
struct k_obj_core obj_core;
#endif
};
struct sys_multi_mem_blocks {
/* Number of allocators in this group */
int num_allocators;
sys_multi_mem_blocks_choice_fn_t choice_fn;
sys_mem_blocks_t *allocators[MAX_MULTI_ALLOCATORS];
};
/**
* @brief Create a memory block object with a providing backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes, power of 2).
* @param num_blks Total number of memory blocks.
* @param buf Backing buffer of type uint8_t.
* @param mbmod Modifier to the memory block struct
*/
#define _SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf, mbmod) \
_SYS_BITARRAY_DEFINE(_sys_mem_blocks_bitmap_##name, \
num_blks, mbmod); \
mbmod struct sys_mem_blocks name = { \
.info = {num_blks, ilog2(blk_sz)}, \
.buffer = buf, \
.bitmap = &_sys_mem_blocks_bitmap_##name, \
}; \
STRUCT_SECTION_ITERABLE_ALTERNATE(sys_mem_blocks_ptr, \
sys_mem_blocks *, \
__##name##_ptr) = &name; \
LINKER_KEEP(__##name##_ptr);
/**
* @brief Create a memory block object with a new backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes, power of 2).
* @param num_blks Total number of memory blocks.
* @param balign Alignment of the memory block buffer (power of 2).
* @param mbmod Modifier to the memory block struct
*/
#define _SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, balign, mbmod) \
mbmod uint8_t __noinit_named(sys_mem_blocks_buf_##name) \
__aligned(WB_UP(balign)) \
_sys_mem_blocks_buf_##name[num_blks * WB_UP(blk_sz)]; \
_SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, \
_sys_mem_blocks_buf_##name, \
mbmod);
/**
* INTERNAL_HIDDEN @endcond
*/
/**
* @brief Create a memory block object with a new backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes).
* @param num_blks Total number of memory blocks.
* @param buf_align Alignment of the memory block buffer (power of 2).
*/
#define SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align) \
_SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align,)
/**
* @brief Create a static memory block object with a new backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes).
* @param num_blks Total number of memory blocks.
* @param buf_align Alignment of the memory block buffer (power of 2).
*/
#define SYS_MEM_BLOCKS_DEFINE_STATIC(name, blk_sz, num_blks, buf_align) \
_SYS_MEM_BLOCKS_DEFINE(name, blk_sz, num_blks, buf_align, static)
/**
* @brief Create a memory block object with a providing backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes).
* @param num_blks Total number of memory blocks.
* @param buf Backing buffer of type uint8_t.
*/
#define SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf) \
_SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf,)
/**
* @brief Create a static memory block object with a providing backing buffer.
*
* @param name Name of the memory block object.
* @param blk_sz Size of each memory block (in bytes).
* @param num_blks Total number of memory blocks.
* @param buf Backing buffer of type uint8_t.
*/
#define SYS_MEM_BLOCKS_DEFINE_STATIC_WITH_EXT_BUF(name, blk_sz, num_blks, buf) \
_SYS_MEM_BLOCKS_DEFINE_WITH_EXT_BUF(name, blk_sz, num_blks, buf, static)
/**
* @brief Allocate multiple memory blocks
*
* Allocate multiple memory blocks, and place their pointers into
* the output array.
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] count Number of blocks to allocate.
* @param[out] out_blocks Output array to be populated by pointers to
* the memory blocks. It must have at least
* @p count elements.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied.
* @retval -ENOMEM Not enough blocks for allocation.
*/
int sys_mem_blocks_alloc(sys_mem_blocks_t *mem_block, size_t count,
void **out_blocks);
/**
* @brief Allocate a contiguous set of memory blocks
*
* Allocate multiple memory blocks, and place their pointers into
* the output array.
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] count Number of blocks to allocate.
* @param[out] out_block Output pointer to the start of the allocated block set
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied.
* @retval -ENOMEM Not enough contiguous blocks for allocation.
*/
int sys_mem_blocks_alloc_contiguous(sys_mem_blocks_t *mem_block, size_t count,
void **out_block);
/**
* @brief Force allocation of a specified blocks in a memory block object
*
* Allocate a specified blocks in a memory block object.
* Note: use caution when mixing sys_mem_blocks_get and sys_mem_blocks_alloc,
* allocation may take any of the free memory space
*
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] in_block Address of the first required block to allocate
* @param[in] count Number of blocks to allocate.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied.
* @retval -ENOMEM Some of blocks are taken and cannot be allocated
*/
int sys_mem_blocks_get(sys_mem_blocks_t *mem_block, void *in_block, size_t count);
/**
* @brief check if the region is free
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] in_block Address of the first block to check
* @param[in] count Number of blocks to check.
*
* @retval 1 All memory blocks are free
* @retval 0 At least one of the memory blocks is taken
*/
int sys_mem_blocks_is_region_free(sys_mem_blocks_t *mem_block, void *in_block, size_t count);
/**
* @brief Free multiple memory blocks
*
* Free multiple memory blocks according to the array of memory
* block pointers.
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] count Number of blocks to free.
* @param[in] in_blocks Input array of pointers to the memory blocks.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied.
* @retval -EFAULT Invalid pointers supplied.
*/
int sys_mem_blocks_free(sys_mem_blocks_t *mem_block, size_t count,
void **in_blocks);
/**
* @brief Free contiguous multiple memory blocks
*
* Free contiguous multiple memory blocks
*
* @param[in] mem_block Pointer to memory block object.
* @param[in] block Pointer to the first memory block
* @param[in] count Number of blocks to free.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied.
* @retval -EFAULT Invalid pointer supplied.
*/
int sys_mem_blocks_free_contiguous(sys_mem_blocks_t *mem_block, void *block, size_t count);
#ifdef CONFIG_SYS_MEM_BLOCKS_RUNTIME_STATS
/**
* @brief Get the runtime statistics of a memory block
*
* This function retrieves the runtime stats for the specified memory block
* @a mem_block and copies it into the memory pointed to by @a stats.
*
* @param mem_block Pointer to system memory block
* @param stats Pointer to struct to copy statistics into
*
* @return -EINVAL if NULL pointer was passed, otherwise 0
*/
int sys_mem_blocks_runtime_stats_get(sys_mem_blocks_t *mem_block,
struct sys_memory_stats *stats);
/**
* @brief Reset the maximum memory block usage
*
* This routine resets the maximum memory usage in the specified memory
* block @a mem_block to match that block's current memory usage.
*
* @param mem_block Pointer to system memory block
*
* @return -EINVAL if NULL pointer was passed, otherwise 0
*/
int sys_mem_blocks_runtime_stats_reset_max(sys_mem_blocks_t *mem_block);
#endif
/**
* @brief Initialize multi memory blocks allocator group
*
* Initialize a sys_multi_mem_block struct with the specified choice
* function. Note that individual allocator must be added later with
* sys_multi_mem_blocks_add_allocator.
*
* @param group Multi memory blocks allocator structure.
* @param choice_fn A sys_multi_mem_blocks_choice_fn_t callback used to
* select the allocator to be used at allocation time
*/
void sys_multi_mem_blocks_init(sys_multi_mem_blocks_t *group,
sys_multi_mem_blocks_choice_fn_t choice_fn);
/**
* @brief Add an allocator to an allocator group
*
* This adds a known allocator to an existing multi memory blocks
* allocator group.
*
* @param group Multi memory blocks allocator structure.
* @param alloc Allocator to add
*/
void sys_multi_mem_blocks_add_allocator(sys_multi_mem_blocks_t *group,
sys_mem_blocks_t *alloc);
/**
* @brief Allocate memory from multi memory blocks allocator group
*
* Just as for sys_mem_blocks_alloc(), allocates multiple blocks of
* memory. Takes an opaque configuration pointer passed to the choice
* function, which is used by integration code to choose an allocator.
*
* @param[in] group Multi memory blocks allocator structure.
* @param[in] cfg Opaque configuration parameter,
* as for sys_multi_mem_blocks_choice_fn_t
* @param[in] count Number of blocks to allocate
* @param[out] out_blocks Output array to be populated by pointers to
* the memory blocks. It must have at least
* @p count elements.
* @param[out] blk_size If not NULL, output the block size of
* the chosen allocator.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied, or no allocator chosen.
* @retval -ENOMEM Not enough blocks for allocation.
*/
int sys_multi_mem_blocks_alloc(sys_multi_mem_blocks_t *group,
void *cfg, size_t count,
void **out_blocks,
size_t *blk_size);
/**
* @brief Free memory allocated from multi memory blocks allocator group
*
* Free previous allocated memory blocks from sys_multi_mem_blocks_alloc().
*
* Note that all blocks in @p in_blocks must be from the same allocator.
*
* @param[in] group Multi memory blocks allocator structure.
* @param[in] count Number of blocks to free.
* @param[in] in_blocks Input array of pointers to the memory blocks.
*
* @retval 0 Successful
* @retval -EINVAL Invalid argument supplied, or no allocator chosen.
* @retval -EFAULT Invalid pointer(s) supplied.
*/
int sys_multi_mem_blocks_free(sys_multi_mem_blocks_t *group,
size_t count, void **in_blocks);
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_MEM_BLOCKS_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mem_blocks.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,097 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_LIST_GEN_H_
#define ZEPHYR_INCLUDE_SYS_LIST_GEN_H_
#include <stddef.h>
#include <stdbool.h>
#include <zephyr/sys/util.h>
#define Z_GENLIST_FOR_EACH_NODE(__lname, __l, __sn) \
for ((__sn) = sys_ ## __lname ## _peek_head(__l); (__sn) != NULL; \
(__sn) = sys_ ## __lname ## _peek_next(__sn))
#define Z_GENLIST_ITERATE_FROM_NODE(__lname, __l, __sn) \
for ((__sn) = (__sn) ? sys_ ## __lname ## _peek_next_no_check(__sn) \
: sys_ ## __lname ## _peek_head(__l); \
(__sn) != NULL; \
(__sn) = sys_ ## __lname ## _peek_next(__sn))
#define Z_GENLIST_FOR_EACH_NODE_SAFE(__lname, __l, __sn, __sns) \
for ((__sn) = sys_ ## __lname ## _peek_head(__l), \
(__sns) = sys_ ## __lname ## _peek_next(__sn); \
(__sn) != NULL ; (__sn) = (__sns), \
(__sns) = sys_ ## __lname ## _peek_next(__sn))
#define Z_GENLIST_CONTAINER(__ln, __cn, __n) \
((__ln) ? CONTAINER_OF((__ln), __typeof__(*(__cn)), __n) : NULL)
#define Z_GENLIST_PEEK_HEAD_CONTAINER(__lname, __l, __cn, __n) \
Z_GENLIST_CONTAINER(sys_ ## __lname ## _peek_head(__l), __cn, __n)
#define Z_GENLIST_PEEK_TAIL_CONTAINER(__lname, __l, __cn, __n) \
Z_GENLIST_CONTAINER(sys_ ## __lname ## _peek_tail(__l), __cn, __n)
#define Z_GENLIST_PEEK_NEXT_CONTAINER(__lname, __cn, __n) \
((__cn) ? Z_GENLIST_CONTAINER( \
sys_ ## __lname ## _peek_next(&((__cn)->__n)), \
__cn, __n) : NULL)
#define Z_GENLIST_FOR_EACH_CONTAINER(__lname, __l, __cn, __n) \
for ((__cn) = Z_GENLIST_PEEK_HEAD_CONTAINER(__lname, __l, __cn, \
__n); \
(__cn) != NULL; \
(__cn) = Z_GENLIST_PEEK_NEXT_CONTAINER(__lname, __cn, __n))
#define Z_GENLIST_FOR_EACH_CONTAINER_SAFE(__lname, __l, __cn, __cns, __n) \
for ((__cn) = Z_GENLIST_PEEK_HEAD_CONTAINER(__lname, __l, __cn, __n), \
(__cns) = Z_GENLIST_PEEK_NEXT_CONTAINER(__lname, __cn, __n); \
(__cn) != NULL; (__cn) = (__cns), \
(__cns) = Z_GENLIST_PEEK_NEXT_CONTAINER(__lname, __cn, __n))
#define Z_GENLIST_IS_EMPTY(__lname) \
static inline bool \
sys_ ## __lname ## _is_empty(sys_ ## __lname ## _t *list) \
{ \
return (sys_ ## __lname ## _peek_head(list) == NULL); \
}
#define Z_GENLIST_PEEK_NEXT_NO_CHECK(__lname, __nname) \
static inline sys_ ## __nname ## _t * \
sys_ ## __lname ## _peek_next_no_check(sys_ ## __nname ## _t *node) \
{ \
return z_ ## __nname ## _next_peek(node); \
}
#define Z_GENLIST_PEEK_NEXT(__lname, __nname) \
static inline sys_ ## __nname ## _t * \
sys_ ## __lname ## _peek_next(sys_ ## __nname ## _t *node) \
{ \
return (node != NULL) ? \
sys_ ## __lname ## _peek_next_no_check(node) : \
NULL; \
}
#define Z_GENLIST_PREPEND(__lname, __nname) \
static inline void \
sys_ ## __lname ## _prepend(sys_ ## __lname ## _t *list, \
sys_ ## __nname ## _t *node) \
{ \
z_ ## __nname ## _next_set(node, \
sys_ ## __lname ## _peek_head(list)); \
z_ ## __lname ## _head_set(list, node); \
\
if (sys_ ## __lname ## _peek_tail(list) == NULL) { \
z_ ## __lname ## _tail_set(list, \
sys_ ## __lname ## _peek_head(list)); \
} \
}
#define Z_GENLIST_APPEND(__lname, __nname) \
static inline void \
sys_ ## __lname ## _append(sys_ ## __lname ## _t *list, \
sys_ ## __nname ## _t *node) \
{ \
z_ ## __nname ## _next_set(node, NULL); \
\
if (sys_ ## __lname ## _peek_tail(list) == NULL) { \
z_ ## __lname ## _tail_set(list, node); \
z_ ## __lname ## _head_set(list, node); \
} else { \
z_ ## __nname ## _next_set( \
sys_ ## __lname ## _peek_tail(list), \
node); \
z_ ## __lname ## _tail_set(list, node); \
} \
}
#define Z_GENLIST_APPEND_LIST(__lname, __nname) \
static inline void \
sys_ ## __lname ## _append_list(sys_ ## __lname ## _t *list, \
void *head, void *tail) \
{ \
if (head != NULL && tail != NULL) { \
if (sys_ ## __lname ## _peek_tail(list) == NULL) { \
z_ ## __lname ## _head_set(list, \
(sys_ ## __nname ## _t *)head); \
} else { \
z_ ## __nname ## _next_set( \
sys_ ## __lname ## _peek_tail(list), \
(sys_ ## __nname ## _t *)head); \
} \
z_ ## __lname ## _tail_set(list, \
(sys_ ## __nname ## _t *)tail); \
} \
}
#define Z_GENLIST_MERGE_LIST(__lname, __nname) \
static inline void \
sys_ ## __lname ## _merge_ ## __lname ( \
sys_ ## __lname ## _t *list, \
sys_ ## __lname ## _t *list_to_append) \
{ \
sys_ ## __nname ## _t *head, *tail; \
head = sys_ ## __lname ## _peek_head(list_to_append); \
tail = sys_ ## __lname ## _peek_tail(list_to_append); \
sys_ ## __lname ## _append_list(list, head, tail); \
sys_ ## __lname ## _init(list_to_append); \
}
#define Z_GENLIST_INSERT(__lname, __nname) \
static inline void \
sys_ ## __lname ## _insert(sys_ ## __lname ## _t *list, \
sys_ ## __nname ## _t *prev, \
sys_ ## __nname ## _t *node) \
{ \
if (prev == NULL) { \
sys_ ## __lname ## _prepend(list, node); \
} else if (z_ ## __nname ## _next_peek(prev) == NULL) { \
sys_ ## __lname ## _append(list, node); \
} else { \
z_ ## __nname ## _next_set(node, \
z_ ## __nname ## _next_peek(prev)); \
z_ ## __nname ## _next_set(prev, node); \
} \
}
#define Z_GENLIST_GET_NOT_EMPTY(__lname, __nname) \
static inline sys_ ## __nname ## _t * \
sys_ ## __lname ## _get_not_empty(sys_ ## __lname ## _t *list) \
{ \
sys_ ## __nname ## _t *node = \
sys_ ## __lname ## _peek_head(list); \
\
z_ ## __lname ## _head_set(list, \
z_ ## __nname ## _next_peek(node)); \
if (sys_ ## __lname ## _peek_tail(list) == node) { \
z_ ## __lname ## _tail_set(list, \
sys_ ## __lname ## _peek_head(list)); \
} \
\
return node; \
}
#define Z_GENLIST_GET(__lname, __nname) \
static inline sys_ ## __nname ## _t * \
sys_ ## __lname ## _get(sys_ ## __lname ## _t *list) \
{ \
return sys_ ## __lname ## _is_empty(list) ? NULL : \
sys_ ## __lname ## _get_not_empty(list); \
}
#define Z_GENLIST_REMOVE(__lname, __nname) \
static inline void \
sys_ ## __lname ## _remove(sys_ ## __lname ## _t *list, \
sys_ ## __nname ## _t *prev_node, \
sys_ ## __nname ## _t *node) \
{ \
if (prev_node == NULL) { \
z_ ## __lname ## _head_set(list, \
z_ ## __nname ## _next_peek(node)); \
\
/* Was node also the tail? */ \
if (sys_ ## __lname ## _peek_tail(list) == node) { \
z_ ## __lname ## _tail_set(list, \
sys_ ## __lname ## _peek_head(list)); \
} \
} else { \
z_ ## __nname ## _next_set(prev_node, \
z_ ## __nname ## _next_peek(node)); \
\
/* Was node the tail? */ \
if (sys_ ## __lname ## _peek_tail(list) == node) { \
z_ ## __lname ## _tail_set(list, \
prev_node); \
} \
} \
\
z_ ## __nname ## _next_set(node, NULL); \
}
#define Z_GENLIST_FIND_AND_REMOVE(__lname, __nname) \
static inline bool \
sys_ ## __lname ## _find_and_remove(sys_ ## __lname ## _t *list, \
sys_ ## __nname ## _t *node) \
{ \
sys_ ## __nname ## _t *prev = NULL; \
sys_ ## __nname ## _t *test; \
\
Z_GENLIST_FOR_EACH_NODE(__lname, list, test) { \
if (test == node) { \
sys_ ## __lname ## _remove(list, prev, \
node); \
return true; \
} \
\
prev = test; \
} \
\
return false; \
}
#define Z_GENLIST_FIND(__lname, __nname) \
static inline bool sys_##__lname##_find( \
sys_##__lname##_t *list, sys_##__nname##_t *node, sys_##__nname##_t **prev) \
{ \
sys_##__nname##_t *current = NULL; \
sys_##__nname##_t *previous = NULL; \
\
Z_GENLIST_FOR_EACH_NODE(__lname, list, current) { \
if (current == node) { \
if (prev != NULL) { \
*prev = previous; \
} \
return true; \
} \
\
previous = current; \
} \
\
if (prev != NULL) { \
*prev = previous; \
} \
\
return false; \
}
#define Z_GENLIST_LEN(__lname, __nname) \
static inline size_t sys_##__lname##_len(sys_##__lname##_t * list) \
{ \
size_t len = 0; \
static sys_##__nname##_t * node; \
Z_GENLIST_FOR_EACH_NODE(__lname, list, node) { \
len++; \
} \
return len; \
}
#endif /* ZEPHYR_INCLUDE_SYS_LIST_GEN_H_ */
``` | /content/code_sandbox/include/zephyr/sys/list_gen.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,002 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_
#error "This header should not be used directly, please include util_loops.h instead"
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_ */
#ifndef ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_
#define ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_
#define Z_UTIL_LISTIFY_0(F, sep, ...)
#define Z_UTIL_LISTIFY_1(F, sep, ...) \
F(0, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2(F, sep, ...) \
Z_UTIL_LISTIFY_1(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3(F, sep, ...) \
Z_UTIL_LISTIFY_2(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4(F, sep, ...) \
Z_UTIL_LISTIFY_3(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3, __VA_ARGS__)
#define Z_UTIL_LISTIFY_5(F, sep, ...) \
Z_UTIL_LISTIFY_4(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4, __VA_ARGS__)
#define Z_UTIL_LISTIFY_6(F, sep, ...) \
Z_UTIL_LISTIFY_5(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(5, __VA_ARGS__)
#define Z_UTIL_LISTIFY_7(F, sep, ...) \
Z_UTIL_LISTIFY_6(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(6, __VA_ARGS__)
#define Z_UTIL_LISTIFY_8(F, sep, ...) \
Z_UTIL_LISTIFY_7(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(7, __VA_ARGS__)
#define Z_UTIL_LISTIFY_9(F, sep, ...) \
Z_UTIL_LISTIFY_8(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(8, __VA_ARGS__)
#define Z_UTIL_LISTIFY_10(F, sep, ...) \
Z_UTIL_LISTIFY_9(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(9, __VA_ARGS__)
#define Z_UTIL_LISTIFY_11(F, sep, ...) \
Z_UTIL_LISTIFY_10(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(10, __VA_ARGS__)
#define Z_UTIL_LISTIFY_12(F, sep, ...) \
Z_UTIL_LISTIFY_11(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(11, __VA_ARGS__)
#define Z_UTIL_LISTIFY_13(F, sep, ...) \
Z_UTIL_LISTIFY_12(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(12, __VA_ARGS__)
#define Z_UTIL_LISTIFY_14(F, sep, ...) \
Z_UTIL_LISTIFY_13(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(13, __VA_ARGS__)
#define Z_UTIL_LISTIFY_15(F, sep, ...) \
Z_UTIL_LISTIFY_14(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(14, __VA_ARGS__)
#define Z_UTIL_LISTIFY_16(F, sep, ...) \
Z_UTIL_LISTIFY_15(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(15, __VA_ARGS__)
#define Z_UTIL_LISTIFY_17(F, sep, ...) \
Z_UTIL_LISTIFY_16(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(16, __VA_ARGS__)
#define Z_UTIL_LISTIFY_18(F, sep, ...) \
Z_UTIL_LISTIFY_17(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(17, __VA_ARGS__)
#define Z_UTIL_LISTIFY_19(F, sep, ...) \
Z_UTIL_LISTIFY_18(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(18, __VA_ARGS__)
#define Z_UTIL_LISTIFY_20(F, sep, ...) \
Z_UTIL_LISTIFY_19(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(19, __VA_ARGS__)
#define Z_UTIL_LISTIFY_21(F, sep, ...) \
Z_UTIL_LISTIFY_20(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(20, __VA_ARGS__)
#define Z_UTIL_LISTIFY_22(F, sep, ...) \
Z_UTIL_LISTIFY_21(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(21, __VA_ARGS__)
#define Z_UTIL_LISTIFY_23(F, sep, ...) \
Z_UTIL_LISTIFY_22(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(22, __VA_ARGS__)
#define Z_UTIL_LISTIFY_24(F, sep, ...) \
Z_UTIL_LISTIFY_23(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(23, __VA_ARGS__)
#define Z_UTIL_LISTIFY_25(F, sep, ...) \
Z_UTIL_LISTIFY_24(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(24, __VA_ARGS__)
#define Z_UTIL_LISTIFY_26(F, sep, ...) \
Z_UTIL_LISTIFY_25(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(25, __VA_ARGS__)
#define Z_UTIL_LISTIFY_27(F, sep, ...) \
Z_UTIL_LISTIFY_26(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(26, __VA_ARGS__)
#define Z_UTIL_LISTIFY_28(F, sep, ...) \
Z_UTIL_LISTIFY_27(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(27, __VA_ARGS__)
#define Z_UTIL_LISTIFY_29(F, sep, ...) \
Z_UTIL_LISTIFY_28(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(28, __VA_ARGS__)
#define Z_UTIL_LISTIFY_30(F, sep, ...) \
Z_UTIL_LISTIFY_29(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(29, __VA_ARGS__)
#define Z_UTIL_LISTIFY_31(F, sep, ...) \
Z_UTIL_LISTIFY_30(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(30, __VA_ARGS__)
#define Z_UTIL_LISTIFY_32(F, sep, ...) \
Z_UTIL_LISTIFY_31(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(31, __VA_ARGS__)
#define Z_UTIL_LISTIFY_33(F, sep, ...) \
Z_UTIL_LISTIFY_32(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(32, __VA_ARGS__)
#define Z_UTIL_LISTIFY_34(F, sep, ...) \
Z_UTIL_LISTIFY_33(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(33, __VA_ARGS__)
#define Z_UTIL_LISTIFY_35(F, sep, ...) \
Z_UTIL_LISTIFY_34(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(34, __VA_ARGS__)
#define Z_UTIL_LISTIFY_36(F, sep, ...) \
Z_UTIL_LISTIFY_35(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(35, __VA_ARGS__)
#define Z_UTIL_LISTIFY_37(F, sep, ...) \
Z_UTIL_LISTIFY_36(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(36, __VA_ARGS__)
#define Z_UTIL_LISTIFY_38(F, sep, ...) \
Z_UTIL_LISTIFY_37(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(37, __VA_ARGS__)
#define Z_UTIL_LISTIFY_39(F, sep, ...) \
Z_UTIL_LISTIFY_38(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(38, __VA_ARGS__)
#define Z_UTIL_LISTIFY_40(F, sep, ...) \
Z_UTIL_LISTIFY_39(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(39, __VA_ARGS__)
#define Z_UTIL_LISTIFY_41(F, sep, ...) \
Z_UTIL_LISTIFY_40(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(40, __VA_ARGS__)
#define Z_UTIL_LISTIFY_42(F, sep, ...) \
Z_UTIL_LISTIFY_41(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(41, __VA_ARGS__)
#define Z_UTIL_LISTIFY_43(F, sep, ...) \
Z_UTIL_LISTIFY_42(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(42, __VA_ARGS__)
#define Z_UTIL_LISTIFY_44(F, sep, ...) \
Z_UTIL_LISTIFY_43(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(43, __VA_ARGS__)
#define Z_UTIL_LISTIFY_45(F, sep, ...) \
Z_UTIL_LISTIFY_44(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(44, __VA_ARGS__)
#define Z_UTIL_LISTIFY_46(F, sep, ...) \
Z_UTIL_LISTIFY_45(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(45, __VA_ARGS__)
#define Z_UTIL_LISTIFY_47(F, sep, ...) \
Z_UTIL_LISTIFY_46(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(46, __VA_ARGS__)
#define Z_UTIL_LISTIFY_48(F, sep, ...) \
Z_UTIL_LISTIFY_47(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(47, __VA_ARGS__)
#define Z_UTIL_LISTIFY_49(F, sep, ...) \
Z_UTIL_LISTIFY_48(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(48, __VA_ARGS__)
#define Z_UTIL_LISTIFY_50(F, sep, ...) \
Z_UTIL_LISTIFY_49(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(49, __VA_ARGS__)
#define Z_UTIL_LISTIFY_51(F, sep, ...) \
Z_UTIL_LISTIFY_50(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(50, __VA_ARGS__)
#define Z_UTIL_LISTIFY_52(F, sep, ...) \
Z_UTIL_LISTIFY_51(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(51, __VA_ARGS__)
#define Z_UTIL_LISTIFY_53(F, sep, ...) \
Z_UTIL_LISTIFY_52(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(52, __VA_ARGS__)
#define Z_UTIL_LISTIFY_54(F, sep, ...) \
Z_UTIL_LISTIFY_53(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(53, __VA_ARGS__)
#define Z_UTIL_LISTIFY_55(F, sep, ...) \
Z_UTIL_LISTIFY_54(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(54, __VA_ARGS__)
#define Z_UTIL_LISTIFY_56(F, sep, ...) \
Z_UTIL_LISTIFY_55(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(55, __VA_ARGS__)
#define Z_UTIL_LISTIFY_57(F, sep, ...) \
Z_UTIL_LISTIFY_56(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(56, __VA_ARGS__)
#define Z_UTIL_LISTIFY_58(F, sep, ...) \
Z_UTIL_LISTIFY_57(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(57, __VA_ARGS__)
#define Z_UTIL_LISTIFY_59(F, sep, ...) \
Z_UTIL_LISTIFY_58(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(58, __VA_ARGS__)
#define Z_UTIL_LISTIFY_60(F, sep, ...) \
Z_UTIL_LISTIFY_59(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(59, __VA_ARGS__)
#define Z_UTIL_LISTIFY_61(F, sep, ...) \
Z_UTIL_LISTIFY_60(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(60, __VA_ARGS__)
#define Z_UTIL_LISTIFY_62(F, sep, ...) \
Z_UTIL_LISTIFY_61(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(61, __VA_ARGS__)
#define Z_UTIL_LISTIFY_63(F, sep, ...) \
Z_UTIL_LISTIFY_62(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(62, __VA_ARGS__)
#define Z_UTIL_LISTIFY_64(F, sep, ...) \
Z_UTIL_LISTIFY_63(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(63, __VA_ARGS__)
#define Z_UTIL_LISTIFY_65(F, sep, ...) \
Z_UTIL_LISTIFY_64(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(64, __VA_ARGS__)
#define Z_UTIL_LISTIFY_66(F, sep, ...) \
Z_UTIL_LISTIFY_65(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(65, __VA_ARGS__)
#define Z_UTIL_LISTIFY_67(F, sep, ...) \
Z_UTIL_LISTIFY_66(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(66, __VA_ARGS__)
#define Z_UTIL_LISTIFY_68(F, sep, ...) \
Z_UTIL_LISTIFY_67(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(67, __VA_ARGS__)
#define Z_UTIL_LISTIFY_69(F, sep, ...) \
Z_UTIL_LISTIFY_68(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(68, __VA_ARGS__)
#define Z_UTIL_LISTIFY_70(F, sep, ...) \
Z_UTIL_LISTIFY_69(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(69, __VA_ARGS__)
#define Z_UTIL_LISTIFY_71(F, sep, ...) \
Z_UTIL_LISTIFY_70(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(70, __VA_ARGS__)
#define Z_UTIL_LISTIFY_72(F, sep, ...) \
Z_UTIL_LISTIFY_71(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(71, __VA_ARGS__)
#define Z_UTIL_LISTIFY_73(F, sep, ...) \
Z_UTIL_LISTIFY_72(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(72, __VA_ARGS__)
#define Z_UTIL_LISTIFY_74(F, sep, ...) \
Z_UTIL_LISTIFY_73(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(73, __VA_ARGS__)
#define Z_UTIL_LISTIFY_75(F, sep, ...) \
Z_UTIL_LISTIFY_74(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(74, __VA_ARGS__)
#define Z_UTIL_LISTIFY_76(F, sep, ...) \
Z_UTIL_LISTIFY_75(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(75, __VA_ARGS__)
#define Z_UTIL_LISTIFY_77(F, sep, ...) \
Z_UTIL_LISTIFY_76(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(76, __VA_ARGS__)
#define Z_UTIL_LISTIFY_78(F, sep, ...) \
Z_UTIL_LISTIFY_77(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(77, __VA_ARGS__)
#define Z_UTIL_LISTIFY_79(F, sep, ...) \
Z_UTIL_LISTIFY_78(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(78, __VA_ARGS__)
#define Z_UTIL_LISTIFY_80(F, sep, ...) \
Z_UTIL_LISTIFY_79(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(79, __VA_ARGS__)
#define Z_UTIL_LISTIFY_81(F, sep, ...) \
Z_UTIL_LISTIFY_80(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(80, __VA_ARGS__)
#define Z_UTIL_LISTIFY_82(F, sep, ...) \
Z_UTIL_LISTIFY_81(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(81, __VA_ARGS__)
#define Z_UTIL_LISTIFY_83(F, sep, ...) \
Z_UTIL_LISTIFY_82(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(82, __VA_ARGS__)
#define Z_UTIL_LISTIFY_84(F, sep, ...) \
Z_UTIL_LISTIFY_83(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(83, __VA_ARGS__)
#define Z_UTIL_LISTIFY_85(F, sep, ...) \
Z_UTIL_LISTIFY_84(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(84, __VA_ARGS__)
#define Z_UTIL_LISTIFY_86(F, sep, ...) \
Z_UTIL_LISTIFY_85(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(85, __VA_ARGS__)
#define Z_UTIL_LISTIFY_87(F, sep, ...) \
Z_UTIL_LISTIFY_86(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(86, __VA_ARGS__)
#define Z_UTIL_LISTIFY_88(F, sep, ...) \
Z_UTIL_LISTIFY_87(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(87, __VA_ARGS__)
#define Z_UTIL_LISTIFY_89(F, sep, ...) \
Z_UTIL_LISTIFY_88(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(88, __VA_ARGS__)
#define Z_UTIL_LISTIFY_90(F, sep, ...) \
Z_UTIL_LISTIFY_89(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(89, __VA_ARGS__)
#define Z_UTIL_LISTIFY_91(F, sep, ...) \
Z_UTIL_LISTIFY_90(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(90, __VA_ARGS__)
#define Z_UTIL_LISTIFY_92(F, sep, ...) \
Z_UTIL_LISTIFY_91(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(91, __VA_ARGS__)
#define Z_UTIL_LISTIFY_93(F, sep, ...) \
Z_UTIL_LISTIFY_92(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(92, __VA_ARGS__)
#define Z_UTIL_LISTIFY_94(F, sep, ...) \
Z_UTIL_LISTIFY_93(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(93, __VA_ARGS__)
#define Z_UTIL_LISTIFY_95(F, sep, ...) \
Z_UTIL_LISTIFY_94(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(94, __VA_ARGS__)
#define Z_UTIL_LISTIFY_96(F, sep, ...) \
Z_UTIL_LISTIFY_95(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(95, __VA_ARGS__)
#define Z_UTIL_LISTIFY_97(F, sep, ...) \
Z_UTIL_LISTIFY_96(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(96, __VA_ARGS__)
#define Z_UTIL_LISTIFY_98(F, sep, ...) \
Z_UTIL_LISTIFY_97(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(97, __VA_ARGS__)
#define Z_UTIL_LISTIFY_99(F, sep, ...) \
Z_UTIL_LISTIFY_98(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(98, __VA_ARGS__)
#define Z_UTIL_LISTIFY_100(F, sep, ...) \
Z_UTIL_LISTIFY_99(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(99, __VA_ARGS__)
#define Z_UTIL_LISTIFY_101(F, sep, ...) \
Z_UTIL_LISTIFY_100(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(100, __VA_ARGS__)
#define Z_UTIL_LISTIFY_102(F, sep, ...) \
Z_UTIL_LISTIFY_101(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(101, __VA_ARGS__)
#define Z_UTIL_LISTIFY_103(F, sep, ...) \
Z_UTIL_LISTIFY_102(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(102, __VA_ARGS__)
#define Z_UTIL_LISTIFY_104(F, sep, ...) \
Z_UTIL_LISTIFY_103(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(103, __VA_ARGS__)
#define Z_UTIL_LISTIFY_105(F, sep, ...) \
Z_UTIL_LISTIFY_104(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(104, __VA_ARGS__)
#define Z_UTIL_LISTIFY_106(F, sep, ...) \
Z_UTIL_LISTIFY_105(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(105, __VA_ARGS__)
#define Z_UTIL_LISTIFY_107(F, sep, ...) \
Z_UTIL_LISTIFY_106(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(106, __VA_ARGS__)
#define Z_UTIL_LISTIFY_108(F, sep, ...) \
Z_UTIL_LISTIFY_107(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(107, __VA_ARGS__)
#define Z_UTIL_LISTIFY_109(F, sep, ...) \
Z_UTIL_LISTIFY_108(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(108, __VA_ARGS__)
#define Z_UTIL_LISTIFY_110(F, sep, ...) \
Z_UTIL_LISTIFY_109(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(109, __VA_ARGS__)
#define Z_UTIL_LISTIFY_111(F, sep, ...) \
Z_UTIL_LISTIFY_110(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(110, __VA_ARGS__)
#define Z_UTIL_LISTIFY_112(F, sep, ...) \
Z_UTIL_LISTIFY_111(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(111, __VA_ARGS__)
#define Z_UTIL_LISTIFY_113(F, sep, ...) \
Z_UTIL_LISTIFY_112(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(112, __VA_ARGS__)
#define Z_UTIL_LISTIFY_114(F, sep, ...) \
Z_UTIL_LISTIFY_113(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(113, __VA_ARGS__)
#define Z_UTIL_LISTIFY_115(F, sep, ...) \
Z_UTIL_LISTIFY_114(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(114, __VA_ARGS__)
#define Z_UTIL_LISTIFY_116(F, sep, ...) \
Z_UTIL_LISTIFY_115(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(115, __VA_ARGS__)
#define Z_UTIL_LISTIFY_117(F, sep, ...) \
Z_UTIL_LISTIFY_116(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(116, __VA_ARGS__)
#define Z_UTIL_LISTIFY_118(F, sep, ...) \
Z_UTIL_LISTIFY_117(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(117, __VA_ARGS__)
#define Z_UTIL_LISTIFY_119(F, sep, ...) \
Z_UTIL_LISTIFY_118(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(118, __VA_ARGS__)
#define Z_UTIL_LISTIFY_120(F, sep, ...) \
Z_UTIL_LISTIFY_119(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(119, __VA_ARGS__)
#define Z_UTIL_LISTIFY_121(F, sep, ...) \
Z_UTIL_LISTIFY_120(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(120, __VA_ARGS__)
#define Z_UTIL_LISTIFY_122(F, sep, ...) \
Z_UTIL_LISTIFY_121(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(121, __VA_ARGS__)
#define Z_UTIL_LISTIFY_123(F, sep, ...) \
Z_UTIL_LISTIFY_122(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(122, __VA_ARGS__)
#define Z_UTIL_LISTIFY_124(F, sep, ...) \
Z_UTIL_LISTIFY_123(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(123, __VA_ARGS__)
#define Z_UTIL_LISTIFY_125(F, sep, ...) \
Z_UTIL_LISTIFY_124(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(124, __VA_ARGS__)
#define Z_UTIL_LISTIFY_126(F, sep, ...) \
Z_UTIL_LISTIFY_125(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(125, __VA_ARGS__)
#define Z_UTIL_LISTIFY_127(F, sep, ...) \
Z_UTIL_LISTIFY_126(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(126, __VA_ARGS__)
#define Z_UTIL_LISTIFY_128(F, sep, ...) \
Z_UTIL_LISTIFY_127(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(127, __VA_ARGS__)
#define Z_UTIL_LISTIFY_129(F, sep, ...) \
Z_UTIL_LISTIFY_128(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(128, __VA_ARGS__)
#define Z_UTIL_LISTIFY_130(F, sep, ...) \
Z_UTIL_LISTIFY_129(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(129, __VA_ARGS__)
#define Z_UTIL_LISTIFY_131(F, sep, ...) \
Z_UTIL_LISTIFY_130(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(130, __VA_ARGS__)
#define Z_UTIL_LISTIFY_132(F, sep, ...) \
Z_UTIL_LISTIFY_131(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(131, __VA_ARGS__)
#define Z_UTIL_LISTIFY_133(F, sep, ...) \
Z_UTIL_LISTIFY_132(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(132, __VA_ARGS__)
#define Z_UTIL_LISTIFY_134(F, sep, ...) \
Z_UTIL_LISTIFY_133(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(133, __VA_ARGS__)
#define Z_UTIL_LISTIFY_135(F, sep, ...) \
Z_UTIL_LISTIFY_134(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(134, __VA_ARGS__)
#define Z_UTIL_LISTIFY_136(F, sep, ...) \
Z_UTIL_LISTIFY_135(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(135, __VA_ARGS__)
#define Z_UTIL_LISTIFY_137(F, sep, ...) \
Z_UTIL_LISTIFY_136(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(136, __VA_ARGS__)
#define Z_UTIL_LISTIFY_138(F, sep, ...) \
Z_UTIL_LISTIFY_137(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(137, __VA_ARGS__)
#define Z_UTIL_LISTIFY_139(F, sep, ...) \
Z_UTIL_LISTIFY_138(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(138, __VA_ARGS__)
#define Z_UTIL_LISTIFY_140(F, sep, ...) \
Z_UTIL_LISTIFY_139(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(139, __VA_ARGS__)
#define Z_UTIL_LISTIFY_141(F, sep, ...) \
Z_UTIL_LISTIFY_140(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(140, __VA_ARGS__)
#define Z_UTIL_LISTIFY_142(F, sep, ...) \
Z_UTIL_LISTIFY_141(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(141, __VA_ARGS__)
#define Z_UTIL_LISTIFY_143(F, sep, ...) \
Z_UTIL_LISTIFY_142(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(142, __VA_ARGS__)
#define Z_UTIL_LISTIFY_144(F, sep, ...) \
Z_UTIL_LISTIFY_143(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(143, __VA_ARGS__)
#define Z_UTIL_LISTIFY_145(F, sep, ...) \
Z_UTIL_LISTIFY_144(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(144, __VA_ARGS__)
#define Z_UTIL_LISTIFY_146(F, sep, ...) \
Z_UTIL_LISTIFY_145(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(145, __VA_ARGS__)
#define Z_UTIL_LISTIFY_147(F, sep, ...) \
Z_UTIL_LISTIFY_146(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(146, __VA_ARGS__)
#define Z_UTIL_LISTIFY_148(F, sep, ...) \
Z_UTIL_LISTIFY_147(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(147, __VA_ARGS__)
#define Z_UTIL_LISTIFY_149(F, sep, ...) \
Z_UTIL_LISTIFY_148(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(148, __VA_ARGS__)
#define Z_UTIL_LISTIFY_150(F, sep, ...) \
Z_UTIL_LISTIFY_149(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(149, __VA_ARGS__)
#define Z_UTIL_LISTIFY_151(F, sep, ...) \
Z_UTIL_LISTIFY_150(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(150, __VA_ARGS__)
#define Z_UTIL_LISTIFY_152(F, sep, ...) \
Z_UTIL_LISTIFY_151(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(151, __VA_ARGS__)
#define Z_UTIL_LISTIFY_153(F, sep, ...) \
Z_UTIL_LISTIFY_152(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(152, __VA_ARGS__)
#define Z_UTIL_LISTIFY_154(F, sep, ...) \
Z_UTIL_LISTIFY_153(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(153, __VA_ARGS__)
#define Z_UTIL_LISTIFY_155(F, sep, ...) \
Z_UTIL_LISTIFY_154(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(154, __VA_ARGS__)
#define Z_UTIL_LISTIFY_156(F, sep, ...) \
Z_UTIL_LISTIFY_155(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(155, __VA_ARGS__)
#define Z_UTIL_LISTIFY_157(F, sep, ...) \
Z_UTIL_LISTIFY_156(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(156, __VA_ARGS__)
#define Z_UTIL_LISTIFY_158(F, sep, ...) \
Z_UTIL_LISTIFY_157(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(157, __VA_ARGS__)
#define Z_UTIL_LISTIFY_159(F, sep, ...) \
Z_UTIL_LISTIFY_158(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(158, __VA_ARGS__)
#define Z_UTIL_LISTIFY_160(F, sep, ...) \
Z_UTIL_LISTIFY_159(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(159, __VA_ARGS__)
#define Z_UTIL_LISTIFY_161(F, sep, ...) \
Z_UTIL_LISTIFY_160(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(160, __VA_ARGS__)
#define Z_UTIL_LISTIFY_162(F, sep, ...) \
Z_UTIL_LISTIFY_161(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(161, __VA_ARGS__)
#define Z_UTIL_LISTIFY_163(F, sep, ...) \
Z_UTIL_LISTIFY_162(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(162, __VA_ARGS__)
#define Z_UTIL_LISTIFY_164(F, sep, ...) \
Z_UTIL_LISTIFY_163(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(163, __VA_ARGS__)
#define Z_UTIL_LISTIFY_165(F, sep, ...) \
Z_UTIL_LISTIFY_164(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(164, __VA_ARGS__)
#define Z_UTIL_LISTIFY_166(F, sep, ...) \
Z_UTIL_LISTIFY_165(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(165, __VA_ARGS__)
#define Z_UTIL_LISTIFY_167(F, sep, ...) \
Z_UTIL_LISTIFY_166(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(166, __VA_ARGS__)
#define Z_UTIL_LISTIFY_168(F, sep, ...) \
Z_UTIL_LISTIFY_167(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(167, __VA_ARGS__)
#define Z_UTIL_LISTIFY_169(F, sep, ...) \
Z_UTIL_LISTIFY_168(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(168, __VA_ARGS__)
#define Z_UTIL_LISTIFY_170(F, sep, ...) \
Z_UTIL_LISTIFY_169(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(169, __VA_ARGS__)
#define Z_UTIL_LISTIFY_171(F, sep, ...) \
Z_UTIL_LISTIFY_170(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(170, __VA_ARGS__)
#define Z_UTIL_LISTIFY_172(F, sep, ...) \
Z_UTIL_LISTIFY_171(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(171, __VA_ARGS__)
#define Z_UTIL_LISTIFY_173(F, sep, ...) \
Z_UTIL_LISTIFY_172(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(172, __VA_ARGS__)
#define Z_UTIL_LISTIFY_174(F, sep, ...) \
Z_UTIL_LISTIFY_173(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(173, __VA_ARGS__)
#define Z_UTIL_LISTIFY_175(F, sep, ...) \
Z_UTIL_LISTIFY_174(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(174, __VA_ARGS__)
#define Z_UTIL_LISTIFY_176(F, sep, ...) \
Z_UTIL_LISTIFY_175(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(175, __VA_ARGS__)
#define Z_UTIL_LISTIFY_177(F, sep, ...) \
Z_UTIL_LISTIFY_176(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(176, __VA_ARGS__)
#define Z_UTIL_LISTIFY_178(F, sep, ...) \
Z_UTIL_LISTIFY_177(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(177, __VA_ARGS__)
#define Z_UTIL_LISTIFY_179(F, sep, ...) \
Z_UTIL_LISTIFY_178(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(178, __VA_ARGS__)
#define Z_UTIL_LISTIFY_180(F, sep, ...) \
Z_UTIL_LISTIFY_179(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(179, __VA_ARGS__)
#define Z_UTIL_LISTIFY_181(F, sep, ...) \
Z_UTIL_LISTIFY_180(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(180, __VA_ARGS__)
#define Z_UTIL_LISTIFY_182(F, sep, ...) \
Z_UTIL_LISTIFY_181(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(181, __VA_ARGS__)
#define Z_UTIL_LISTIFY_183(F, sep, ...) \
Z_UTIL_LISTIFY_182(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(182, __VA_ARGS__)
#define Z_UTIL_LISTIFY_184(F, sep, ...) \
Z_UTIL_LISTIFY_183(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(183, __VA_ARGS__)
#define Z_UTIL_LISTIFY_185(F, sep, ...) \
Z_UTIL_LISTIFY_184(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(184, __VA_ARGS__)
#define Z_UTIL_LISTIFY_186(F, sep, ...) \
Z_UTIL_LISTIFY_185(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(185, __VA_ARGS__)
#define Z_UTIL_LISTIFY_187(F, sep, ...) \
Z_UTIL_LISTIFY_186(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(186, __VA_ARGS__)
#define Z_UTIL_LISTIFY_188(F, sep, ...) \
Z_UTIL_LISTIFY_187(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(187, __VA_ARGS__)
#define Z_UTIL_LISTIFY_189(F, sep, ...) \
Z_UTIL_LISTIFY_188(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(188, __VA_ARGS__)
#define Z_UTIL_LISTIFY_190(F, sep, ...) \
Z_UTIL_LISTIFY_189(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(189, __VA_ARGS__)
#define Z_UTIL_LISTIFY_191(F, sep, ...) \
Z_UTIL_LISTIFY_190(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(190, __VA_ARGS__)
#define Z_UTIL_LISTIFY_192(F, sep, ...) \
Z_UTIL_LISTIFY_191(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(191, __VA_ARGS__)
#define Z_UTIL_LISTIFY_193(F, sep, ...) \
Z_UTIL_LISTIFY_192(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(192, __VA_ARGS__)
#define Z_UTIL_LISTIFY_194(F, sep, ...) \
Z_UTIL_LISTIFY_193(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(193, __VA_ARGS__)
#define Z_UTIL_LISTIFY_195(F, sep, ...) \
Z_UTIL_LISTIFY_194(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(194, __VA_ARGS__)
#define Z_UTIL_LISTIFY_196(F, sep, ...) \
Z_UTIL_LISTIFY_195(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(195, __VA_ARGS__)
#define Z_UTIL_LISTIFY_197(F, sep, ...) \
Z_UTIL_LISTIFY_196(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(196, __VA_ARGS__)
#define Z_UTIL_LISTIFY_198(F, sep, ...) \
Z_UTIL_LISTIFY_197(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(197, __VA_ARGS__)
#define Z_UTIL_LISTIFY_199(F, sep, ...) \
Z_UTIL_LISTIFY_198(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(198, __VA_ARGS__)
#define Z_UTIL_LISTIFY_200(F, sep, ...) \
Z_UTIL_LISTIFY_199(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(199, __VA_ARGS__)
#define Z_UTIL_LISTIFY_201(F, sep, ...) \
Z_UTIL_LISTIFY_200(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(200, __VA_ARGS__)
#define Z_UTIL_LISTIFY_202(F, sep, ...) \
Z_UTIL_LISTIFY_201(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(201, __VA_ARGS__)
#define Z_UTIL_LISTIFY_203(F, sep, ...) \
Z_UTIL_LISTIFY_202(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(202, __VA_ARGS__)
#define Z_UTIL_LISTIFY_204(F, sep, ...) \
Z_UTIL_LISTIFY_203(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(203, __VA_ARGS__)
#define Z_UTIL_LISTIFY_205(F, sep, ...) \
Z_UTIL_LISTIFY_204(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(204, __VA_ARGS__)
#define Z_UTIL_LISTIFY_206(F, sep, ...) \
Z_UTIL_LISTIFY_205(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(205, __VA_ARGS__)
#define Z_UTIL_LISTIFY_207(F, sep, ...) \
Z_UTIL_LISTIFY_206(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(206, __VA_ARGS__)
#define Z_UTIL_LISTIFY_208(F, sep, ...) \
Z_UTIL_LISTIFY_207(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(207, __VA_ARGS__)
#define Z_UTIL_LISTIFY_209(F, sep, ...) \
Z_UTIL_LISTIFY_208(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(208, __VA_ARGS__)
#define Z_UTIL_LISTIFY_210(F, sep, ...) \
Z_UTIL_LISTIFY_209(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(209, __VA_ARGS__)
#define Z_UTIL_LISTIFY_211(F, sep, ...) \
Z_UTIL_LISTIFY_210(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(210, __VA_ARGS__)
#define Z_UTIL_LISTIFY_212(F, sep, ...) \
Z_UTIL_LISTIFY_211(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(211, __VA_ARGS__)
#define Z_UTIL_LISTIFY_213(F, sep, ...) \
Z_UTIL_LISTIFY_212(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(212, __VA_ARGS__)
#define Z_UTIL_LISTIFY_214(F, sep, ...) \
Z_UTIL_LISTIFY_213(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(213, __VA_ARGS__)
#define Z_UTIL_LISTIFY_215(F, sep, ...) \
Z_UTIL_LISTIFY_214(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(214, __VA_ARGS__)
#define Z_UTIL_LISTIFY_216(F, sep, ...) \
Z_UTIL_LISTIFY_215(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(215, __VA_ARGS__)
#define Z_UTIL_LISTIFY_217(F, sep, ...) \
Z_UTIL_LISTIFY_216(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(216, __VA_ARGS__)
#define Z_UTIL_LISTIFY_218(F, sep, ...) \
Z_UTIL_LISTIFY_217(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(217, __VA_ARGS__)
#define Z_UTIL_LISTIFY_219(F, sep, ...) \
Z_UTIL_LISTIFY_218(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(218, __VA_ARGS__)
#define Z_UTIL_LISTIFY_220(F, sep, ...) \
Z_UTIL_LISTIFY_219(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(219, __VA_ARGS__)
#define Z_UTIL_LISTIFY_221(F, sep, ...) \
Z_UTIL_LISTIFY_220(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(220, __VA_ARGS__)
#define Z_UTIL_LISTIFY_222(F, sep, ...) \
Z_UTIL_LISTIFY_221(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(221, __VA_ARGS__)
#define Z_UTIL_LISTIFY_223(F, sep, ...) \
Z_UTIL_LISTIFY_222(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(222, __VA_ARGS__)
#define Z_UTIL_LISTIFY_224(F, sep, ...) \
Z_UTIL_LISTIFY_223(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(223, __VA_ARGS__)
#define Z_UTIL_LISTIFY_225(F, sep, ...) \
Z_UTIL_LISTIFY_224(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(224, __VA_ARGS__)
#define Z_UTIL_LISTIFY_226(F, sep, ...) \
Z_UTIL_LISTIFY_225(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(225, __VA_ARGS__)
#define Z_UTIL_LISTIFY_227(F, sep, ...) \
Z_UTIL_LISTIFY_226(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(226, __VA_ARGS__)
#define Z_UTIL_LISTIFY_228(F, sep, ...) \
Z_UTIL_LISTIFY_227(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(227, __VA_ARGS__)
#define Z_UTIL_LISTIFY_229(F, sep, ...) \
Z_UTIL_LISTIFY_228(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(228, __VA_ARGS__)
#define Z_UTIL_LISTIFY_230(F, sep, ...) \
Z_UTIL_LISTIFY_229(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(229, __VA_ARGS__)
#define Z_UTIL_LISTIFY_231(F, sep, ...) \
Z_UTIL_LISTIFY_230(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(230, __VA_ARGS__)
#define Z_UTIL_LISTIFY_232(F, sep, ...) \
Z_UTIL_LISTIFY_231(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(231, __VA_ARGS__)
#define Z_UTIL_LISTIFY_233(F, sep, ...) \
Z_UTIL_LISTIFY_232(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(232, __VA_ARGS__)
#define Z_UTIL_LISTIFY_234(F, sep, ...) \
Z_UTIL_LISTIFY_233(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(233, __VA_ARGS__)
#define Z_UTIL_LISTIFY_235(F, sep, ...) \
Z_UTIL_LISTIFY_234(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(234, __VA_ARGS__)
#define Z_UTIL_LISTIFY_236(F, sep, ...) \
Z_UTIL_LISTIFY_235(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(235, __VA_ARGS__)
#define Z_UTIL_LISTIFY_237(F, sep, ...) \
Z_UTIL_LISTIFY_236(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(236, __VA_ARGS__)
#define Z_UTIL_LISTIFY_238(F, sep, ...) \
Z_UTIL_LISTIFY_237(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(237, __VA_ARGS__)
#define Z_UTIL_LISTIFY_239(F, sep, ...) \
Z_UTIL_LISTIFY_238(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(238, __VA_ARGS__)
#define Z_UTIL_LISTIFY_240(F, sep, ...) \
Z_UTIL_LISTIFY_239(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(239, __VA_ARGS__)
#define Z_UTIL_LISTIFY_241(F, sep, ...) \
Z_UTIL_LISTIFY_240(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(240, __VA_ARGS__)
#define Z_UTIL_LISTIFY_242(F, sep, ...) \
Z_UTIL_LISTIFY_241(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(241, __VA_ARGS__)
#define Z_UTIL_LISTIFY_243(F, sep, ...) \
Z_UTIL_LISTIFY_242(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(242, __VA_ARGS__)
#define Z_UTIL_LISTIFY_244(F, sep, ...) \
Z_UTIL_LISTIFY_243(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(243, __VA_ARGS__)
#define Z_UTIL_LISTIFY_245(F, sep, ...) \
Z_UTIL_LISTIFY_244(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(244, __VA_ARGS__)
#define Z_UTIL_LISTIFY_246(F, sep, ...) \
Z_UTIL_LISTIFY_245(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(245, __VA_ARGS__)
#define Z_UTIL_LISTIFY_247(F, sep, ...) \
Z_UTIL_LISTIFY_246(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(246, __VA_ARGS__)
#define Z_UTIL_LISTIFY_248(F, sep, ...) \
Z_UTIL_LISTIFY_247(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(247, __VA_ARGS__)
#define Z_UTIL_LISTIFY_249(F, sep, ...) \
Z_UTIL_LISTIFY_248(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(248, __VA_ARGS__)
#define Z_UTIL_LISTIFY_250(F, sep, ...) \
Z_UTIL_LISTIFY_249(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(249, __VA_ARGS__)
#define Z_UTIL_LISTIFY_251(F, sep, ...) \
Z_UTIL_LISTIFY_250(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(250, __VA_ARGS__)
#define Z_UTIL_LISTIFY_252(F, sep, ...) \
Z_UTIL_LISTIFY_251(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(251, __VA_ARGS__)
#define Z_UTIL_LISTIFY_253(F, sep, ...) \
Z_UTIL_LISTIFY_252(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(252, __VA_ARGS__)
#define Z_UTIL_LISTIFY_254(F, sep, ...) \
Z_UTIL_LISTIFY_253(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(253, __VA_ARGS__)
#define Z_UTIL_LISTIFY_255(F, sep, ...) \
Z_UTIL_LISTIFY_254(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(254, __VA_ARGS__)
#define Z_UTIL_LISTIFY_256(F, sep, ...) \
Z_UTIL_LISTIFY_255(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(255, __VA_ARGS__)
#define Z_UTIL_LISTIFY_257(F, sep, ...) \
Z_UTIL_LISTIFY_256(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(256, __VA_ARGS__)
#define Z_UTIL_LISTIFY_258(F, sep, ...) \
Z_UTIL_LISTIFY_257(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(257, __VA_ARGS__)
#define Z_UTIL_LISTIFY_259(F, sep, ...) \
Z_UTIL_LISTIFY_258(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(258, __VA_ARGS__)
#define Z_UTIL_LISTIFY_260(F, sep, ...) \
Z_UTIL_LISTIFY_259(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(259, __VA_ARGS__)
#define Z_UTIL_LISTIFY_261(F, sep, ...) \
Z_UTIL_LISTIFY_260(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(260, __VA_ARGS__)
#define Z_UTIL_LISTIFY_262(F, sep, ...) \
Z_UTIL_LISTIFY_261(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(261, __VA_ARGS__)
#define Z_UTIL_LISTIFY_263(F, sep, ...) \
Z_UTIL_LISTIFY_262(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(262, __VA_ARGS__)
#define Z_UTIL_LISTIFY_264(F, sep, ...) \
Z_UTIL_LISTIFY_263(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(263, __VA_ARGS__)
#define Z_UTIL_LISTIFY_265(F, sep, ...) \
Z_UTIL_LISTIFY_264(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(264, __VA_ARGS__)
#define Z_UTIL_LISTIFY_266(F, sep, ...) \
Z_UTIL_LISTIFY_265(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(265, __VA_ARGS__)
#define Z_UTIL_LISTIFY_267(F, sep, ...) \
Z_UTIL_LISTIFY_266(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(266, __VA_ARGS__)
#define Z_UTIL_LISTIFY_268(F, sep, ...) \
Z_UTIL_LISTIFY_267(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(267, __VA_ARGS__)
#define Z_UTIL_LISTIFY_269(F, sep, ...) \
Z_UTIL_LISTIFY_268(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(268, __VA_ARGS__)
#define Z_UTIL_LISTIFY_270(F, sep, ...) \
Z_UTIL_LISTIFY_269(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(269, __VA_ARGS__)
#define Z_UTIL_LISTIFY_271(F, sep, ...) \
Z_UTIL_LISTIFY_270(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(270, __VA_ARGS__)
#define Z_UTIL_LISTIFY_272(F, sep, ...) \
Z_UTIL_LISTIFY_271(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(271, __VA_ARGS__)
#define Z_UTIL_LISTIFY_273(F, sep, ...) \
Z_UTIL_LISTIFY_272(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(272, __VA_ARGS__)
#define Z_UTIL_LISTIFY_274(F, sep, ...) \
Z_UTIL_LISTIFY_273(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(273, __VA_ARGS__)
#define Z_UTIL_LISTIFY_275(F, sep, ...) \
Z_UTIL_LISTIFY_274(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(274, __VA_ARGS__)
#define Z_UTIL_LISTIFY_276(F, sep, ...) \
Z_UTIL_LISTIFY_275(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(275, __VA_ARGS__)
#define Z_UTIL_LISTIFY_277(F, sep, ...) \
Z_UTIL_LISTIFY_276(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(276, __VA_ARGS__)
#define Z_UTIL_LISTIFY_278(F, sep, ...) \
Z_UTIL_LISTIFY_277(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(277, __VA_ARGS__)
#define Z_UTIL_LISTIFY_279(F, sep, ...) \
Z_UTIL_LISTIFY_278(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(278, __VA_ARGS__)
#define Z_UTIL_LISTIFY_280(F, sep, ...) \
Z_UTIL_LISTIFY_279(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(279, __VA_ARGS__)
#define Z_UTIL_LISTIFY_281(F, sep, ...) \
Z_UTIL_LISTIFY_280(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(280, __VA_ARGS__)
#define Z_UTIL_LISTIFY_282(F, sep, ...) \
Z_UTIL_LISTIFY_281(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(281, __VA_ARGS__)
#define Z_UTIL_LISTIFY_283(F, sep, ...) \
Z_UTIL_LISTIFY_282(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(282, __VA_ARGS__)
#define Z_UTIL_LISTIFY_284(F, sep, ...) \
Z_UTIL_LISTIFY_283(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(283, __VA_ARGS__)
#define Z_UTIL_LISTIFY_285(F, sep, ...) \
Z_UTIL_LISTIFY_284(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(284, __VA_ARGS__)
#define Z_UTIL_LISTIFY_286(F, sep, ...) \
Z_UTIL_LISTIFY_285(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(285, __VA_ARGS__)
#define Z_UTIL_LISTIFY_287(F, sep, ...) \
Z_UTIL_LISTIFY_286(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(286, __VA_ARGS__)
#define Z_UTIL_LISTIFY_288(F, sep, ...) \
Z_UTIL_LISTIFY_287(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(287, __VA_ARGS__)
#define Z_UTIL_LISTIFY_289(F, sep, ...) \
Z_UTIL_LISTIFY_288(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(288, __VA_ARGS__)
#define Z_UTIL_LISTIFY_290(F, sep, ...) \
Z_UTIL_LISTIFY_289(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(289, __VA_ARGS__)
#define Z_UTIL_LISTIFY_291(F, sep, ...) \
Z_UTIL_LISTIFY_290(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(290, __VA_ARGS__)
#define Z_UTIL_LISTIFY_292(F, sep, ...) \
Z_UTIL_LISTIFY_291(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(291, __VA_ARGS__)
#define Z_UTIL_LISTIFY_293(F, sep, ...) \
Z_UTIL_LISTIFY_292(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(292, __VA_ARGS__)
#define Z_UTIL_LISTIFY_294(F, sep, ...) \
Z_UTIL_LISTIFY_293(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(293, __VA_ARGS__)
#define Z_UTIL_LISTIFY_295(F, sep, ...) \
Z_UTIL_LISTIFY_294(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(294, __VA_ARGS__)
#define Z_UTIL_LISTIFY_296(F, sep, ...) \
Z_UTIL_LISTIFY_295(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(295, __VA_ARGS__)
#define Z_UTIL_LISTIFY_297(F, sep, ...) \
Z_UTIL_LISTIFY_296(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(296, __VA_ARGS__)
#define Z_UTIL_LISTIFY_298(F, sep, ...) \
Z_UTIL_LISTIFY_297(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(297, __VA_ARGS__)
#define Z_UTIL_LISTIFY_299(F, sep, ...) \
Z_UTIL_LISTIFY_298(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(298, __VA_ARGS__)
#define Z_UTIL_LISTIFY_300(F, sep, ...) \
Z_UTIL_LISTIFY_299(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(299, __VA_ARGS__)
#define Z_UTIL_LISTIFY_301(F, sep, ...) \
Z_UTIL_LISTIFY_300(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(300, __VA_ARGS__)
#define Z_UTIL_LISTIFY_302(F, sep, ...) \
Z_UTIL_LISTIFY_301(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(301, __VA_ARGS__)
#define Z_UTIL_LISTIFY_303(F, sep, ...) \
Z_UTIL_LISTIFY_302(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(302, __VA_ARGS__)
#define Z_UTIL_LISTIFY_304(F, sep, ...) \
Z_UTIL_LISTIFY_303(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(303, __VA_ARGS__)
#define Z_UTIL_LISTIFY_305(F, sep, ...) \
Z_UTIL_LISTIFY_304(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(304, __VA_ARGS__)
#define Z_UTIL_LISTIFY_306(F, sep, ...) \
Z_UTIL_LISTIFY_305(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(305, __VA_ARGS__)
#define Z_UTIL_LISTIFY_307(F, sep, ...) \
Z_UTIL_LISTIFY_306(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(306, __VA_ARGS__)
#define Z_UTIL_LISTIFY_308(F, sep, ...) \
Z_UTIL_LISTIFY_307(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(307, __VA_ARGS__)
#define Z_UTIL_LISTIFY_309(F, sep, ...) \
Z_UTIL_LISTIFY_308(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(308, __VA_ARGS__)
#define Z_UTIL_LISTIFY_310(F, sep, ...) \
Z_UTIL_LISTIFY_309(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(309, __VA_ARGS__)
#define Z_UTIL_LISTIFY_311(F, sep, ...) \
Z_UTIL_LISTIFY_310(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(310, __VA_ARGS__)
#define Z_UTIL_LISTIFY_312(F, sep, ...) \
Z_UTIL_LISTIFY_311(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(311, __VA_ARGS__)
#define Z_UTIL_LISTIFY_313(F, sep, ...) \
Z_UTIL_LISTIFY_312(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(312, __VA_ARGS__)
#define Z_UTIL_LISTIFY_314(F, sep, ...) \
Z_UTIL_LISTIFY_313(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(313, __VA_ARGS__)
#define Z_UTIL_LISTIFY_315(F, sep, ...) \
Z_UTIL_LISTIFY_314(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(314, __VA_ARGS__)
#define Z_UTIL_LISTIFY_316(F, sep, ...) \
Z_UTIL_LISTIFY_315(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(315, __VA_ARGS__)
#define Z_UTIL_LISTIFY_317(F, sep, ...) \
Z_UTIL_LISTIFY_316(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(316, __VA_ARGS__)
#define Z_UTIL_LISTIFY_318(F, sep, ...) \
Z_UTIL_LISTIFY_317(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(317, __VA_ARGS__)
#define Z_UTIL_LISTIFY_319(F, sep, ...) \
Z_UTIL_LISTIFY_318(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(318, __VA_ARGS__)
#define Z_UTIL_LISTIFY_320(F, sep, ...) \
Z_UTIL_LISTIFY_319(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(319, __VA_ARGS__)
#define Z_UTIL_LISTIFY_321(F, sep, ...) \
Z_UTIL_LISTIFY_320(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(320, __VA_ARGS__)
#define Z_UTIL_LISTIFY_322(F, sep, ...) \
Z_UTIL_LISTIFY_321(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(321, __VA_ARGS__)
#define Z_UTIL_LISTIFY_323(F, sep, ...) \
Z_UTIL_LISTIFY_322(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(322, __VA_ARGS__)
#define Z_UTIL_LISTIFY_324(F, sep, ...) \
Z_UTIL_LISTIFY_323(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(323, __VA_ARGS__)
#define Z_UTIL_LISTIFY_325(F, sep, ...) \
Z_UTIL_LISTIFY_324(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(324, __VA_ARGS__)
#define Z_UTIL_LISTIFY_326(F, sep, ...) \
Z_UTIL_LISTIFY_325(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(325, __VA_ARGS__)
#define Z_UTIL_LISTIFY_327(F, sep, ...) \
Z_UTIL_LISTIFY_326(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(326, __VA_ARGS__)
#define Z_UTIL_LISTIFY_328(F, sep, ...) \
Z_UTIL_LISTIFY_327(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(327, __VA_ARGS__)
#define Z_UTIL_LISTIFY_329(F, sep, ...) \
Z_UTIL_LISTIFY_328(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(328, __VA_ARGS__)
#define Z_UTIL_LISTIFY_330(F, sep, ...) \
Z_UTIL_LISTIFY_329(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(329, __VA_ARGS__)
#define Z_UTIL_LISTIFY_331(F, sep, ...) \
Z_UTIL_LISTIFY_330(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(330, __VA_ARGS__)
#define Z_UTIL_LISTIFY_332(F, sep, ...) \
Z_UTIL_LISTIFY_331(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(331, __VA_ARGS__)
#define Z_UTIL_LISTIFY_333(F, sep, ...) \
Z_UTIL_LISTIFY_332(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(332, __VA_ARGS__)
#define Z_UTIL_LISTIFY_334(F, sep, ...) \
Z_UTIL_LISTIFY_333(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(333, __VA_ARGS__)
#define Z_UTIL_LISTIFY_335(F, sep, ...) \
Z_UTIL_LISTIFY_334(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(334, __VA_ARGS__)
#define Z_UTIL_LISTIFY_336(F, sep, ...) \
Z_UTIL_LISTIFY_335(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(335, __VA_ARGS__)
#define Z_UTIL_LISTIFY_337(F, sep, ...) \
Z_UTIL_LISTIFY_336(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(336, __VA_ARGS__)
#define Z_UTIL_LISTIFY_338(F, sep, ...) \
Z_UTIL_LISTIFY_337(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(337, __VA_ARGS__)
#define Z_UTIL_LISTIFY_339(F, sep, ...) \
Z_UTIL_LISTIFY_338(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(338, __VA_ARGS__)
#define Z_UTIL_LISTIFY_340(F, sep, ...) \
Z_UTIL_LISTIFY_339(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(339, __VA_ARGS__)
#define Z_UTIL_LISTIFY_341(F, sep, ...) \
Z_UTIL_LISTIFY_340(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(340, __VA_ARGS__)
#define Z_UTIL_LISTIFY_342(F, sep, ...) \
Z_UTIL_LISTIFY_341(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(341, __VA_ARGS__)
#define Z_UTIL_LISTIFY_343(F, sep, ...) \
Z_UTIL_LISTIFY_342(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(342, __VA_ARGS__)
#define Z_UTIL_LISTIFY_344(F, sep, ...) \
Z_UTIL_LISTIFY_343(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(343, __VA_ARGS__)
#define Z_UTIL_LISTIFY_345(F, sep, ...) \
Z_UTIL_LISTIFY_344(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(344, __VA_ARGS__)
#define Z_UTIL_LISTIFY_346(F, sep, ...) \
Z_UTIL_LISTIFY_345(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(345, __VA_ARGS__)
#define Z_UTIL_LISTIFY_347(F, sep, ...) \
Z_UTIL_LISTIFY_346(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(346, __VA_ARGS__)
#define Z_UTIL_LISTIFY_348(F, sep, ...) \
Z_UTIL_LISTIFY_347(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(347, __VA_ARGS__)
#define Z_UTIL_LISTIFY_349(F, sep, ...) \
Z_UTIL_LISTIFY_348(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(348, __VA_ARGS__)
#define Z_UTIL_LISTIFY_350(F, sep, ...) \
Z_UTIL_LISTIFY_349(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(349, __VA_ARGS__)
#define Z_UTIL_LISTIFY_351(F, sep, ...) \
Z_UTIL_LISTIFY_350(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(350, __VA_ARGS__)
#define Z_UTIL_LISTIFY_352(F, sep, ...) \
Z_UTIL_LISTIFY_351(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(351, __VA_ARGS__)
#define Z_UTIL_LISTIFY_353(F, sep, ...) \
Z_UTIL_LISTIFY_352(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(352, __VA_ARGS__)
#define Z_UTIL_LISTIFY_354(F, sep, ...) \
Z_UTIL_LISTIFY_353(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(353, __VA_ARGS__)
#define Z_UTIL_LISTIFY_355(F, sep, ...) \
Z_UTIL_LISTIFY_354(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(354, __VA_ARGS__)
#define Z_UTIL_LISTIFY_356(F, sep, ...) \
Z_UTIL_LISTIFY_355(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(355, __VA_ARGS__)
#define Z_UTIL_LISTIFY_357(F, sep, ...) \
Z_UTIL_LISTIFY_356(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(356, __VA_ARGS__)
#define Z_UTIL_LISTIFY_358(F, sep, ...) \
Z_UTIL_LISTIFY_357(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(357, __VA_ARGS__)
#define Z_UTIL_LISTIFY_359(F, sep, ...) \
Z_UTIL_LISTIFY_358(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(358, __VA_ARGS__)
#define Z_UTIL_LISTIFY_360(F, sep, ...) \
Z_UTIL_LISTIFY_359(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(359, __VA_ARGS__)
#define Z_UTIL_LISTIFY_361(F, sep, ...) \
Z_UTIL_LISTIFY_360(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(360, __VA_ARGS__)
#define Z_UTIL_LISTIFY_362(F, sep, ...) \
Z_UTIL_LISTIFY_361(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(361, __VA_ARGS__)
#define Z_UTIL_LISTIFY_363(F, sep, ...) \
Z_UTIL_LISTIFY_362(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(362, __VA_ARGS__)
#define Z_UTIL_LISTIFY_364(F, sep, ...) \
Z_UTIL_LISTIFY_363(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(363, __VA_ARGS__)
#define Z_UTIL_LISTIFY_365(F, sep, ...) \
Z_UTIL_LISTIFY_364(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(364, __VA_ARGS__)
#define Z_UTIL_LISTIFY_366(F, sep, ...) \
Z_UTIL_LISTIFY_365(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(365, __VA_ARGS__)
#define Z_UTIL_LISTIFY_367(F, sep, ...) \
Z_UTIL_LISTIFY_366(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(366, __VA_ARGS__)
#define Z_UTIL_LISTIFY_368(F, sep, ...) \
Z_UTIL_LISTIFY_367(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(367, __VA_ARGS__)
#define Z_UTIL_LISTIFY_369(F, sep, ...) \
Z_UTIL_LISTIFY_368(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(368, __VA_ARGS__)
#define Z_UTIL_LISTIFY_370(F, sep, ...) \
Z_UTIL_LISTIFY_369(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(369, __VA_ARGS__)
#define Z_UTIL_LISTIFY_371(F, sep, ...) \
Z_UTIL_LISTIFY_370(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(370, __VA_ARGS__)
#define Z_UTIL_LISTIFY_372(F, sep, ...) \
Z_UTIL_LISTIFY_371(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(371, __VA_ARGS__)
#define Z_UTIL_LISTIFY_373(F, sep, ...) \
Z_UTIL_LISTIFY_372(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(372, __VA_ARGS__)
#define Z_UTIL_LISTIFY_374(F, sep, ...) \
Z_UTIL_LISTIFY_373(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(373, __VA_ARGS__)
#define Z_UTIL_LISTIFY_375(F, sep, ...) \
Z_UTIL_LISTIFY_374(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(374, __VA_ARGS__)
#define Z_UTIL_LISTIFY_376(F, sep, ...) \
Z_UTIL_LISTIFY_375(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(375, __VA_ARGS__)
#define Z_UTIL_LISTIFY_377(F, sep, ...) \
Z_UTIL_LISTIFY_376(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(376, __VA_ARGS__)
#define Z_UTIL_LISTIFY_378(F, sep, ...) \
Z_UTIL_LISTIFY_377(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(377, __VA_ARGS__)
#define Z_UTIL_LISTIFY_379(F, sep, ...) \
Z_UTIL_LISTIFY_378(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(378, __VA_ARGS__)
#define Z_UTIL_LISTIFY_380(F, sep, ...) \
Z_UTIL_LISTIFY_379(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(379, __VA_ARGS__)
#define Z_UTIL_LISTIFY_381(F, sep, ...) \
Z_UTIL_LISTIFY_380(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(380, __VA_ARGS__)
#define Z_UTIL_LISTIFY_382(F, sep, ...) \
Z_UTIL_LISTIFY_381(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(381, __VA_ARGS__)
#define Z_UTIL_LISTIFY_383(F, sep, ...) \
Z_UTIL_LISTIFY_382(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(382, __VA_ARGS__)
#define Z_UTIL_LISTIFY_384(F, sep, ...) \
Z_UTIL_LISTIFY_383(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(383, __VA_ARGS__)
#define Z_UTIL_LISTIFY_385(F, sep, ...) \
Z_UTIL_LISTIFY_384(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(384, __VA_ARGS__)
#define Z_UTIL_LISTIFY_386(F, sep, ...) \
Z_UTIL_LISTIFY_385(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(385, __VA_ARGS__)
#define Z_UTIL_LISTIFY_387(F, sep, ...) \
Z_UTIL_LISTIFY_386(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(386, __VA_ARGS__)
#define Z_UTIL_LISTIFY_388(F, sep, ...) \
Z_UTIL_LISTIFY_387(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(387, __VA_ARGS__)
#define Z_UTIL_LISTIFY_389(F, sep, ...) \
Z_UTIL_LISTIFY_388(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(388, __VA_ARGS__)
#define Z_UTIL_LISTIFY_390(F, sep, ...) \
Z_UTIL_LISTIFY_389(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(389, __VA_ARGS__)
#define Z_UTIL_LISTIFY_391(F, sep, ...) \
Z_UTIL_LISTIFY_390(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(390, __VA_ARGS__)
#define Z_UTIL_LISTIFY_392(F, sep, ...) \
Z_UTIL_LISTIFY_391(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(391, __VA_ARGS__)
#define Z_UTIL_LISTIFY_393(F, sep, ...) \
Z_UTIL_LISTIFY_392(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(392, __VA_ARGS__)
#define Z_UTIL_LISTIFY_394(F, sep, ...) \
Z_UTIL_LISTIFY_393(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(393, __VA_ARGS__)
#define Z_UTIL_LISTIFY_395(F, sep, ...) \
Z_UTIL_LISTIFY_394(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(394, __VA_ARGS__)
#define Z_UTIL_LISTIFY_396(F, sep, ...) \
Z_UTIL_LISTIFY_395(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(395, __VA_ARGS__)
#define Z_UTIL_LISTIFY_397(F, sep, ...) \
Z_UTIL_LISTIFY_396(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(396, __VA_ARGS__)
#define Z_UTIL_LISTIFY_398(F, sep, ...) \
Z_UTIL_LISTIFY_397(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(397, __VA_ARGS__)
#define Z_UTIL_LISTIFY_399(F, sep, ...) \
Z_UTIL_LISTIFY_398(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(398, __VA_ARGS__)
#define Z_UTIL_LISTIFY_400(F, sep, ...) \
Z_UTIL_LISTIFY_399(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(399, __VA_ARGS__)
#define Z_UTIL_LISTIFY_401(F, sep, ...) \
Z_UTIL_LISTIFY_400(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(400, __VA_ARGS__)
#define Z_UTIL_LISTIFY_402(F, sep, ...) \
Z_UTIL_LISTIFY_401(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(401, __VA_ARGS__)
#define Z_UTIL_LISTIFY_403(F, sep, ...) \
Z_UTIL_LISTIFY_402(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(402, __VA_ARGS__)
#define Z_UTIL_LISTIFY_404(F, sep, ...) \
Z_UTIL_LISTIFY_403(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(403, __VA_ARGS__)
#define Z_UTIL_LISTIFY_405(F, sep, ...) \
Z_UTIL_LISTIFY_404(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(404, __VA_ARGS__)
#define Z_UTIL_LISTIFY_406(F, sep, ...) \
Z_UTIL_LISTIFY_405(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(405, __VA_ARGS__)
#define Z_UTIL_LISTIFY_407(F, sep, ...) \
Z_UTIL_LISTIFY_406(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(406, __VA_ARGS__)
#define Z_UTIL_LISTIFY_408(F, sep, ...) \
Z_UTIL_LISTIFY_407(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(407, __VA_ARGS__)
#define Z_UTIL_LISTIFY_409(F, sep, ...) \
Z_UTIL_LISTIFY_408(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(408, __VA_ARGS__)
#define Z_UTIL_LISTIFY_410(F, sep, ...) \
Z_UTIL_LISTIFY_409(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(409, __VA_ARGS__)
#define Z_UTIL_LISTIFY_411(F, sep, ...) \
Z_UTIL_LISTIFY_410(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(410, __VA_ARGS__)
#define Z_UTIL_LISTIFY_412(F, sep, ...) \
Z_UTIL_LISTIFY_411(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(411, __VA_ARGS__)
#define Z_UTIL_LISTIFY_413(F, sep, ...) \
Z_UTIL_LISTIFY_412(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(412, __VA_ARGS__)
#define Z_UTIL_LISTIFY_414(F, sep, ...) \
Z_UTIL_LISTIFY_413(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(413, __VA_ARGS__)
#define Z_UTIL_LISTIFY_415(F, sep, ...) \
Z_UTIL_LISTIFY_414(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(414, __VA_ARGS__)
#define Z_UTIL_LISTIFY_416(F, sep, ...) \
Z_UTIL_LISTIFY_415(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(415, __VA_ARGS__)
#define Z_UTIL_LISTIFY_417(F, sep, ...) \
Z_UTIL_LISTIFY_416(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(416, __VA_ARGS__)
#define Z_UTIL_LISTIFY_418(F, sep, ...) \
Z_UTIL_LISTIFY_417(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(417, __VA_ARGS__)
#define Z_UTIL_LISTIFY_419(F, sep, ...) \
Z_UTIL_LISTIFY_418(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(418, __VA_ARGS__)
#define Z_UTIL_LISTIFY_420(F, sep, ...) \
Z_UTIL_LISTIFY_419(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(419, __VA_ARGS__)
#define Z_UTIL_LISTIFY_421(F, sep, ...) \
Z_UTIL_LISTIFY_420(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(420, __VA_ARGS__)
#define Z_UTIL_LISTIFY_422(F, sep, ...) \
Z_UTIL_LISTIFY_421(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(421, __VA_ARGS__)
#define Z_UTIL_LISTIFY_423(F, sep, ...) \
Z_UTIL_LISTIFY_422(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(422, __VA_ARGS__)
#define Z_UTIL_LISTIFY_424(F, sep, ...) \
Z_UTIL_LISTIFY_423(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(423, __VA_ARGS__)
#define Z_UTIL_LISTIFY_425(F, sep, ...) \
Z_UTIL_LISTIFY_424(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(424, __VA_ARGS__)
#define Z_UTIL_LISTIFY_426(F, sep, ...) \
Z_UTIL_LISTIFY_425(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(425, __VA_ARGS__)
#define Z_UTIL_LISTIFY_427(F, sep, ...) \
Z_UTIL_LISTIFY_426(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(426, __VA_ARGS__)
#define Z_UTIL_LISTIFY_428(F, sep, ...) \
Z_UTIL_LISTIFY_427(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(427, __VA_ARGS__)
#define Z_UTIL_LISTIFY_429(F, sep, ...) \
Z_UTIL_LISTIFY_428(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(428, __VA_ARGS__)
#define Z_UTIL_LISTIFY_430(F, sep, ...) \
Z_UTIL_LISTIFY_429(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(429, __VA_ARGS__)
#define Z_UTIL_LISTIFY_431(F, sep, ...) \
Z_UTIL_LISTIFY_430(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(430, __VA_ARGS__)
#define Z_UTIL_LISTIFY_432(F, sep, ...) \
Z_UTIL_LISTIFY_431(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(431, __VA_ARGS__)
#define Z_UTIL_LISTIFY_433(F, sep, ...) \
Z_UTIL_LISTIFY_432(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(432, __VA_ARGS__)
#define Z_UTIL_LISTIFY_434(F, sep, ...) \
Z_UTIL_LISTIFY_433(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(433, __VA_ARGS__)
#define Z_UTIL_LISTIFY_435(F, sep, ...) \
Z_UTIL_LISTIFY_434(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(434, __VA_ARGS__)
#define Z_UTIL_LISTIFY_436(F, sep, ...) \
Z_UTIL_LISTIFY_435(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(435, __VA_ARGS__)
#define Z_UTIL_LISTIFY_437(F, sep, ...) \
Z_UTIL_LISTIFY_436(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(436, __VA_ARGS__)
#define Z_UTIL_LISTIFY_438(F, sep, ...) \
Z_UTIL_LISTIFY_437(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(437, __VA_ARGS__)
#define Z_UTIL_LISTIFY_439(F, sep, ...) \
Z_UTIL_LISTIFY_438(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(438, __VA_ARGS__)
#define Z_UTIL_LISTIFY_440(F, sep, ...) \
Z_UTIL_LISTIFY_439(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(439, __VA_ARGS__)
#define Z_UTIL_LISTIFY_441(F, sep, ...) \
Z_UTIL_LISTIFY_440(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(440, __VA_ARGS__)
#define Z_UTIL_LISTIFY_442(F, sep, ...) \
Z_UTIL_LISTIFY_441(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(441, __VA_ARGS__)
#define Z_UTIL_LISTIFY_443(F, sep, ...) \
Z_UTIL_LISTIFY_442(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(442, __VA_ARGS__)
#define Z_UTIL_LISTIFY_444(F, sep, ...) \
Z_UTIL_LISTIFY_443(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(443, __VA_ARGS__)
#define Z_UTIL_LISTIFY_445(F, sep, ...) \
Z_UTIL_LISTIFY_444(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(444, __VA_ARGS__)
#define Z_UTIL_LISTIFY_446(F, sep, ...) \
Z_UTIL_LISTIFY_445(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(445, __VA_ARGS__)
#define Z_UTIL_LISTIFY_447(F, sep, ...) \
Z_UTIL_LISTIFY_446(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(446, __VA_ARGS__)
#define Z_UTIL_LISTIFY_448(F, sep, ...) \
Z_UTIL_LISTIFY_447(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(447, __VA_ARGS__)
#define Z_UTIL_LISTIFY_449(F, sep, ...) \
Z_UTIL_LISTIFY_448(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(448, __VA_ARGS__)
#define Z_UTIL_LISTIFY_450(F, sep, ...) \
Z_UTIL_LISTIFY_449(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(449, __VA_ARGS__)
#define Z_UTIL_LISTIFY_451(F, sep, ...) \
Z_UTIL_LISTIFY_450(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(450, __VA_ARGS__)
#define Z_UTIL_LISTIFY_452(F, sep, ...) \
Z_UTIL_LISTIFY_451(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(451, __VA_ARGS__)
#define Z_UTIL_LISTIFY_453(F, sep, ...) \
Z_UTIL_LISTIFY_452(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(452, __VA_ARGS__)
#define Z_UTIL_LISTIFY_454(F, sep, ...) \
Z_UTIL_LISTIFY_453(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(453, __VA_ARGS__)
#define Z_UTIL_LISTIFY_455(F, sep, ...) \
Z_UTIL_LISTIFY_454(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(454, __VA_ARGS__)
#define Z_UTIL_LISTIFY_456(F, sep, ...) \
Z_UTIL_LISTIFY_455(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(455, __VA_ARGS__)
#define Z_UTIL_LISTIFY_457(F, sep, ...) \
Z_UTIL_LISTIFY_456(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(456, __VA_ARGS__)
#define Z_UTIL_LISTIFY_458(F, sep, ...) \
Z_UTIL_LISTIFY_457(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(457, __VA_ARGS__)
#define Z_UTIL_LISTIFY_459(F, sep, ...) \
Z_UTIL_LISTIFY_458(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(458, __VA_ARGS__)
#define Z_UTIL_LISTIFY_460(F, sep, ...) \
Z_UTIL_LISTIFY_459(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(459, __VA_ARGS__)
#define Z_UTIL_LISTIFY_461(F, sep, ...) \
Z_UTIL_LISTIFY_460(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(460, __VA_ARGS__)
#define Z_UTIL_LISTIFY_462(F, sep, ...) \
Z_UTIL_LISTIFY_461(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(461, __VA_ARGS__)
#define Z_UTIL_LISTIFY_463(F, sep, ...) \
Z_UTIL_LISTIFY_462(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(462, __VA_ARGS__)
#define Z_UTIL_LISTIFY_464(F, sep, ...) \
Z_UTIL_LISTIFY_463(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(463, __VA_ARGS__)
#define Z_UTIL_LISTIFY_465(F, sep, ...) \
Z_UTIL_LISTIFY_464(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(464, __VA_ARGS__)
#define Z_UTIL_LISTIFY_466(F, sep, ...) \
Z_UTIL_LISTIFY_465(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(465, __VA_ARGS__)
#define Z_UTIL_LISTIFY_467(F, sep, ...) \
Z_UTIL_LISTIFY_466(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(466, __VA_ARGS__)
#define Z_UTIL_LISTIFY_468(F, sep, ...) \
Z_UTIL_LISTIFY_467(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(467, __VA_ARGS__)
#define Z_UTIL_LISTIFY_469(F, sep, ...) \
Z_UTIL_LISTIFY_468(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(468, __VA_ARGS__)
#define Z_UTIL_LISTIFY_470(F, sep, ...) \
Z_UTIL_LISTIFY_469(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(469, __VA_ARGS__)
#define Z_UTIL_LISTIFY_471(F, sep, ...) \
Z_UTIL_LISTIFY_470(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(470, __VA_ARGS__)
#define Z_UTIL_LISTIFY_472(F, sep, ...) \
Z_UTIL_LISTIFY_471(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(471, __VA_ARGS__)
#define Z_UTIL_LISTIFY_473(F, sep, ...) \
Z_UTIL_LISTIFY_472(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(472, __VA_ARGS__)
#define Z_UTIL_LISTIFY_474(F, sep, ...) \
Z_UTIL_LISTIFY_473(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(473, __VA_ARGS__)
#define Z_UTIL_LISTIFY_475(F, sep, ...) \
Z_UTIL_LISTIFY_474(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(474, __VA_ARGS__)
#define Z_UTIL_LISTIFY_476(F, sep, ...) \
Z_UTIL_LISTIFY_475(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(475, __VA_ARGS__)
#define Z_UTIL_LISTIFY_477(F, sep, ...) \
Z_UTIL_LISTIFY_476(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(476, __VA_ARGS__)
#define Z_UTIL_LISTIFY_478(F, sep, ...) \
Z_UTIL_LISTIFY_477(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(477, __VA_ARGS__)
#define Z_UTIL_LISTIFY_479(F, sep, ...) \
Z_UTIL_LISTIFY_478(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(478, __VA_ARGS__)
#define Z_UTIL_LISTIFY_480(F, sep, ...) \
Z_UTIL_LISTIFY_479(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(479, __VA_ARGS__)
#define Z_UTIL_LISTIFY_481(F, sep, ...) \
Z_UTIL_LISTIFY_480(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(480, __VA_ARGS__)
#define Z_UTIL_LISTIFY_482(F, sep, ...) \
Z_UTIL_LISTIFY_481(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(481, __VA_ARGS__)
#define Z_UTIL_LISTIFY_483(F, sep, ...) \
Z_UTIL_LISTIFY_482(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(482, __VA_ARGS__)
#define Z_UTIL_LISTIFY_484(F, sep, ...) \
Z_UTIL_LISTIFY_483(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(483, __VA_ARGS__)
#define Z_UTIL_LISTIFY_485(F, sep, ...) \
Z_UTIL_LISTIFY_484(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(484, __VA_ARGS__)
#define Z_UTIL_LISTIFY_486(F, sep, ...) \
Z_UTIL_LISTIFY_485(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(485, __VA_ARGS__)
#define Z_UTIL_LISTIFY_487(F, sep, ...) \
Z_UTIL_LISTIFY_486(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(486, __VA_ARGS__)
#define Z_UTIL_LISTIFY_488(F, sep, ...) \
Z_UTIL_LISTIFY_487(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(487, __VA_ARGS__)
#define Z_UTIL_LISTIFY_489(F, sep, ...) \
Z_UTIL_LISTIFY_488(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(488, __VA_ARGS__)
#define Z_UTIL_LISTIFY_490(F, sep, ...) \
Z_UTIL_LISTIFY_489(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(489, __VA_ARGS__)
#define Z_UTIL_LISTIFY_491(F, sep, ...) \
Z_UTIL_LISTIFY_490(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(490, __VA_ARGS__)
#define Z_UTIL_LISTIFY_492(F, sep, ...) \
Z_UTIL_LISTIFY_491(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(491, __VA_ARGS__)
#define Z_UTIL_LISTIFY_493(F, sep, ...) \
Z_UTIL_LISTIFY_492(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(492, __VA_ARGS__)
#define Z_UTIL_LISTIFY_494(F, sep, ...) \
Z_UTIL_LISTIFY_493(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(493, __VA_ARGS__)
#define Z_UTIL_LISTIFY_495(F, sep, ...) \
Z_UTIL_LISTIFY_494(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(494, __VA_ARGS__)
#define Z_UTIL_LISTIFY_496(F, sep, ...) \
Z_UTIL_LISTIFY_495(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(495, __VA_ARGS__)
#define Z_UTIL_LISTIFY_497(F, sep, ...) \
Z_UTIL_LISTIFY_496(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(496, __VA_ARGS__)
#define Z_UTIL_LISTIFY_498(F, sep, ...) \
Z_UTIL_LISTIFY_497(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(497, __VA_ARGS__)
#define Z_UTIL_LISTIFY_499(F, sep, ...) \
Z_UTIL_LISTIFY_498(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(498, __VA_ARGS__)
#define Z_UTIL_LISTIFY_500(F, sep, ...) \
Z_UTIL_LISTIFY_499(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(499, __VA_ARGS__)
#define Z_UTIL_LISTIFY_501(F, sep, ...) \
Z_UTIL_LISTIFY_500(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(500, __VA_ARGS__)
#define Z_UTIL_LISTIFY_502(F, sep, ...) \
Z_UTIL_LISTIFY_501(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(501, __VA_ARGS__)
#define Z_UTIL_LISTIFY_503(F, sep, ...) \
Z_UTIL_LISTIFY_502(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(502, __VA_ARGS__)
#define Z_UTIL_LISTIFY_504(F, sep, ...) \
Z_UTIL_LISTIFY_503(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(503, __VA_ARGS__)
#define Z_UTIL_LISTIFY_505(F, sep, ...) \
Z_UTIL_LISTIFY_504(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(504, __VA_ARGS__)
#define Z_UTIL_LISTIFY_506(F, sep, ...) \
Z_UTIL_LISTIFY_505(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(505, __VA_ARGS__)
#define Z_UTIL_LISTIFY_507(F, sep, ...) \
Z_UTIL_LISTIFY_506(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(506, __VA_ARGS__)
#define Z_UTIL_LISTIFY_508(F, sep, ...) \
Z_UTIL_LISTIFY_507(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(507, __VA_ARGS__)
#define Z_UTIL_LISTIFY_509(F, sep, ...) \
Z_UTIL_LISTIFY_508(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(508, __VA_ARGS__)
#define Z_UTIL_LISTIFY_510(F, sep, ...) \
Z_UTIL_LISTIFY_509(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(509, __VA_ARGS__)
#define Z_UTIL_LISTIFY_511(F, sep, ...) \
Z_UTIL_LISTIFY_510(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(510, __VA_ARGS__)
#define Z_UTIL_LISTIFY_512(F, sep, ...) \
Z_UTIL_LISTIFY_511(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(511, __VA_ARGS__)
#define Z_UTIL_LISTIFY_513(F, sep, ...) \
Z_UTIL_LISTIFY_512(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(512, __VA_ARGS__)
#define Z_UTIL_LISTIFY_514(F, sep, ...) \
Z_UTIL_LISTIFY_513(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(513, __VA_ARGS__)
#define Z_UTIL_LISTIFY_515(F, sep, ...) \
Z_UTIL_LISTIFY_514(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(514, __VA_ARGS__)
#define Z_UTIL_LISTIFY_516(F, sep, ...) \
Z_UTIL_LISTIFY_515(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(515, __VA_ARGS__)
#define Z_UTIL_LISTIFY_517(F, sep, ...) \
Z_UTIL_LISTIFY_516(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(516, __VA_ARGS__)
#define Z_UTIL_LISTIFY_518(F, sep, ...) \
Z_UTIL_LISTIFY_517(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(517, __VA_ARGS__)
#define Z_UTIL_LISTIFY_519(F, sep, ...) \
Z_UTIL_LISTIFY_518(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(518, __VA_ARGS__)
#define Z_UTIL_LISTIFY_520(F, sep, ...) \
Z_UTIL_LISTIFY_519(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(519, __VA_ARGS__)
#define Z_UTIL_LISTIFY_521(F, sep, ...) \
Z_UTIL_LISTIFY_520(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(520, __VA_ARGS__)
#define Z_UTIL_LISTIFY_522(F, sep, ...) \
Z_UTIL_LISTIFY_521(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(521, __VA_ARGS__)
#define Z_UTIL_LISTIFY_523(F, sep, ...) \
Z_UTIL_LISTIFY_522(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(522, __VA_ARGS__)
#define Z_UTIL_LISTIFY_524(F, sep, ...) \
Z_UTIL_LISTIFY_523(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(523, __VA_ARGS__)
#define Z_UTIL_LISTIFY_525(F, sep, ...) \
Z_UTIL_LISTIFY_524(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(524, __VA_ARGS__)
#define Z_UTIL_LISTIFY_526(F, sep, ...) \
Z_UTIL_LISTIFY_525(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(525, __VA_ARGS__)
#define Z_UTIL_LISTIFY_527(F, sep, ...) \
Z_UTIL_LISTIFY_526(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(526, __VA_ARGS__)
#define Z_UTIL_LISTIFY_528(F, sep, ...) \
Z_UTIL_LISTIFY_527(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(527, __VA_ARGS__)
#define Z_UTIL_LISTIFY_529(F, sep, ...) \
Z_UTIL_LISTIFY_528(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(528, __VA_ARGS__)
#define Z_UTIL_LISTIFY_530(F, sep, ...) \
Z_UTIL_LISTIFY_529(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(529, __VA_ARGS__)
#define Z_UTIL_LISTIFY_531(F, sep, ...) \
Z_UTIL_LISTIFY_530(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(530, __VA_ARGS__)
#define Z_UTIL_LISTIFY_532(F, sep, ...) \
Z_UTIL_LISTIFY_531(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(531, __VA_ARGS__)
#define Z_UTIL_LISTIFY_533(F, sep, ...) \
Z_UTIL_LISTIFY_532(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(532, __VA_ARGS__)
#define Z_UTIL_LISTIFY_534(F, sep, ...) \
Z_UTIL_LISTIFY_533(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(533, __VA_ARGS__)
#define Z_UTIL_LISTIFY_535(F, sep, ...) \
Z_UTIL_LISTIFY_534(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(534, __VA_ARGS__)
#define Z_UTIL_LISTIFY_536(F, sep, ...) \
Z_UTIL_LISTIFY_535(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(535, __VA_ARGS__)
#define Z_UTIL_LISTIFY_537(F, sep, ...) \
Z_UTIL_LISTIFY_536(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(536, __VA_ARGS__)
#define Z_UTIL_LISTIFY_538(F, sep, ...) \
Z_UTIL_LISTIFY_537(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(537, __VA_ARGS__)
#define Z_UTIL_LISTIFY_539(F, sep, ...) \
Z_UTIL_LISTIFY_538(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(538, __VA_ARGS__)
#define Z_UTIL_LISTIFY_540(F, sep, ...) \
Z_UTIL_LISTIFY_539(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(539, __VA_ARGS__)
#define Z_UTIL_LISTIFY_541(F, sep, ...) \
Z_UTIL_LISTIFY_540(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(540, __VA_ARGS__)
#define Z_UTIL_LISTIFY_542(F, sep, ...) \
Z_UTIL_LISTIFY_541(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(541, __VA_ARGS__)
#define Z_UTIL_LISTIFY_543(F, sep, ...) \
Z_UTIL_LISTIFY_542(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(542, __VA_ARGS__)
#define Z_UTIL_LISTIFY_544(F, sep, ...) \
Z_UTIL_LISTIFY_543(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(543, __VA_ARGS__)
#define Z_UTIL_LISTIFY_545(F, sep, ...) \
Z_UTIL_LISTIFY_544(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(544, __VA_ARGS__)
#define Z_UTIL_LISTIFY_546(F, sep, ...) \
Z_UTIL_LISTIFY_545(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(545, __VA_ARGS__)
#define Z_UTIL_LISTIFY_547(F, sep, ...) \
Z_UTIL_LISTIFY_546(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(546, __VA_ARGS__)
#define Z_UTIL_LISTIFY_548(F, sep, ...) \
Z_UTIL_LISTIFY_547(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(547, __VA_ARGS__)
#define Z_UTIL_LISTIFY_549(F, sep, ...) \
Z_UTIL_LISTIFY_548(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(548, __VA_ARGS__)
#define Z_UTIL_LISTIFY_550(F, sep, ...) \
Z_UTIL_LISTIFY_549(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(549, __VA_ARGS__)
#define Z_UTIL_LISTIFY_551(F, sep, ...) \
Z_UTIL_LISTIFY_550(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(550, __VA_ARGS__)
#define Z_UTIL_LISTIFY_552(F, sep, ...) \
Z_UTIL_LISTIFY_551(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(551, __VA_ARGS__)
#define Z_UTIL_LISTIFY_553(F, sep, ...) \
Z_UTIL_LISTIFY_552(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(552, __VA_ARGS__)
#define Z_UTIL_LISTIFY_554(F, sep, ...) \
Z_UTIL_LISTIFY_553(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(553, __VA_ARGS__)
#define Z_UTIL_LISTIFY_555(F, sep, ...) \
Z_UTIL_LISTIFY_554(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(554, __VA_ARGS__)
#define Z_UTIL_LISTIFY_556(F, sep, ...) \
Z_UTIL_LISTIFY_555(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(555, __VA_ARGS__)
#define Z_UTIL_LISTIFY_557(F, sep, ...) \
Z_UTIL_LISTIFY_556(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(556, __VA_ARGS__)
#define Z_UTIL_LISTIFY_558(F, sep, ...) \
Z_UTIL_LISTIFY_557(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(557, __VA_ARGS__)
#define Z_UTIL_LISTIFY_559(F, sep, ...) \
Z_UTIL_LISTIFY_558(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(558, __VA_ARGS__)
#define Z_UTIL_LISTIFY_560(F, sep, ...) \
Z_UTIL_LISTIFY_559(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(559, __VA_ARGS__)
#define Z_UTIL_LISTIFY_561(F, sep, ...) \
Z_UTIL_LISTIFY_560(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(560, __VA_ARGS__)
#define Z_UTIL_LISTIFY_562(F, sep, ...) \
Z_UTIL_LISTIFY_561(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(561, __VA_ARGS__)
#define Z_UTIL_LISTIFY_563(F, sep, ...) \
Z_UTIL_LISTIFY_562(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(562, __VA_ARGS__)
#define Z_UTIL_LISTIFY_564(F, sep, ...) \
Z_UTIL_LISTIFY_563(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(563, __VA_ARGS__)
#define Z_UTIL_LISTIFY_565(F, sep, ...) \
Z_UTIL_LISTIFY_564(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(564, __VA_ARGS__)
#define Z_UTIL_LISTIFY_566(F, sep, ...) \
Z_UTIL_LISTIFY_565(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(565, __VA_ARGS__)
#define Z_UTIL_LISTIFY_567(F, sep, ...) \
Z_UTIL_LISTIFY_566(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(566, __VA_ARGS__)
#define Z_UTIL_LISTIFY_568(F, sep, ...) \
Z_UTIL_LISTIFY_567(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(567, __VA_ARGS__)
#define Z_UTIL_LISTIFY_569(F, sep, ...) \
Z_UTIL_LISTIFY_568(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(568, __VA_ARGS__)
#define Z_UTIL_LISTIFY_570(F, sep, ...) \
Z_UTIL_LISTIFY_569(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(569, __VA_ARGS__)
#define Z_UTIL_LISTIFY_571(F, sep, ...) \
Z_UTIL_LISTIFY_570(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(570, __VA_ARGS__)
#define Z_UTIL_LISTIFY_572(F, sep, ...) \
Z_UTIL_LISTIFY_571(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(571, __VA_ARGS__)
#define Z_UTIL_LISTIFY_573(F, sep, ...) \
Z_UTIL_LISTIFY_572(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(572, __VA_ARGS__)
#define Z_UTIL_LISTIFY_574(F, sep, ...) \
Z_UTIL_LISTIFY_573(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(573, __VA_ARGS__)
#define Z_UTIL_LISTIFY_575(F, sep, ...) \
Z_UTIL_LISTIFY_574(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(574, __VA_ARGS__)
#define Z_UTIL_LISTIFY_576(F, sep, ...) \
Z_UTIL_LISTIFY_575(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(575, __VA_ARGS__)
#define Z_UTIL_LISTIFY_577(F, sep, ...) \
Z_UTIL_LISTIFY_576(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(576, __VA_ARGS__)
#define Z_UTIL_LISTIFY_578(F, sep, ...) \
Z_UTIL_LISTIFY_577(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(577, __VA_ARGS__)
#define Z_UTIL_LISTIFY_579(F, sep, ...) \
Z_UTIL_LISTIFY_578(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(578, __VA_ARGS__)
#define Z_UTIL_LISTIFY_580(F, sep, ...) \
Z_UTIL_LISTIFY_579(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(579, __VA_ARGS__)
#define Z_UTIL_LISTIFY_581(F, sep, ...) \
Z_UTIL_LISTIFY_580(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(580, __VA_ARGS__)
#define Z_UTIL_LISTIFY_582(F, sep, ...) \
Z_UTIL_LISTIFY_581(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(581, __VA_ARGS__)
#define Z_UTIL_LISTIFY_583(F, sep, ...) \
Z_UTIL_LISTIFY_582(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(582, __VA_ARGS__)
#define Z_UTIL_LISTIFY_584(F, sep, ...) \
Z_UTIL_LISTIFY_583(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(583, __VA_ARGS__)
#define Z_UTIL_LISTIFY_585(F, sep, ...) \
Z_UTIL_LISTIFY_584(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(584, __VA_ARGS__)
#define Z_UTIL_LISTIFY_586(F, sep, ...) \
Z_UTIL_LISTIFY_585(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(585, __VA_ARGS__)
#define Z_UTIL_LISTIFY_587(F, sep, ...) \
Z_UTIL_LISTIFY_586(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(586, __VA_ARGS__)
#define Z_UTIL_LISTIFY_588(F, sep, ...) \
Z_UTIL_LISTIFY_587(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(587, __VA_ARGS__)
#define Z_UTIL_LISTIFY_589(F, sep, ...) \
Z_UTIL_LISTIFY_588(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(588, __VA_ARGS__)
#define Z_UTIL_LISTIFY_590(F, sep, ...) \
Z_UTIL_LISTIFY_589(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(589, __VA_ARGS__)
#define Z_UTIL_LISTIFY_591(F, sep, ...) \
Z_UTIL_LISTIFY_590(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(590, __VA_ARGS__)
#define Z_UTIL_LISTIFY_592(F, sep, ...) \
Z_UTIL_LISTIFY_591(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(591, __VA_ARGS__)
#define Z_UTIL_LISTIFY_593(F, sep, ...) \
Z_UTIL_LISTIFY_592(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(592, __VA_ARGS__)
#define Z_UTIL_LISTIFY_594(F, sep, ...) \
Z_UTIL_LISTIFY_593(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(593, __VA_ARGS__)
#define Z_UTIL_LISTIFY_595(F, sep, ...) \
Z_UTIL_LISTIFY_594(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(594, __VA_ARGS__)
#define Z_UTIL_LISTIFY_596(F, sep, ...) \
Z_UTIL_LISTIFY_595(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(595, __VA_ARGS__)
#define Z_UTIL_LISTIFY_597(F, sep, ...) \
Z_UTIL_LISTIFY_596(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(596, __VA_ARGS__)
#define Z_UTIL_LISTIFY_598(F, sep, ...) \
Z_UTIL_LISTIFY_597(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(597, __VA_ARGS__)
#define Z_UTIL_LISTIFY_599(F, sep, ...) \
Z_UTIL_LISTIFY_598(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(598, __VA_ARGS__)
#define Z_UTIL_LISTIFY_600(F, sep, ...) \
Z_UTIL_LISTIFY_599(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(599, __VA_ARGS__)
#define Z_UTIL_LISTIFY_601(F, sep, ...) \
Z_UTIL_LISTIFY_600(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(600, __VA_ARGS__)
#define Z_UTIL_LISTIFY_602(F, sep, ...) \
Z_UTIL_LISTIFY_601(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(601, __VA_ARGS__)
#define Z_UTIL_LISTIFY_603(F, sep, ...) \
Z_UTIL_LISTIFY_602(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(602, __VA_ARGS__)
#define Z_UTIL_LISTIFY_604(F, sep, ...) \
Z_UTIL_LISTIFY_603(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(603, __VA_ARGS__)
#define Z_UTIL_LISTIFY_605(F, sep, ...) \
Z_UTIL_LISTIFY_604(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(604, __VA_ARGS__)
#define Z_UTIL_LISTIFY_606(F, sep, ...) \
Z_UTIL_LISTIFY_605(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(605, __VA_ARGS__)
#define Z_UTIL_LISTIFY_607(F, sep, ...) \
Z_UTIL_LISTIFY_606(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(606, __VA_ARGS__)
#define Z_UTIL_LISTIFY_608(F, sep, ...) \
Z_UTIL_LISTIFY_607(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(607, __VA_ARGS__)
#define Z_UTIL_LISTIFY_609(F, sep, ...) \
Z_UTIL_LISTIFY_608(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(608, __VA_ARGS__)
#define Z_UTIL_LISTIFY_610(F, sep, ...) \
Z_UTIL_LISTIFY_609(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(609, __VA_ARGS__)
#define Z_UTIL_LISTIFY_611(F, sep, ...) \
Z_UTIL_LISTIFY_610(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(610, __VA_ARGS__)
#define Z_UTIL_LISTIFY_612(F, sep, ...) \
Z_UTIL_LISTIFY_611(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(611, __VA_ARGS__)
#define Z_UTIL_LISTIFY_613(F, sep, ...) \
Z_UTIL_LISTIFY_612(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(612, __VA_ARGS__)
#define Z_UTIL_LISTIFY_614(F, sep, ...) \
Z_UTIL_LISTIFY_613(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(613, __VA_ARGS__)
#define Z_UTIL_LISTIFY_615(F, sep, ...) \
Z_UTIL_LISTIFY_614(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(614, __VA_ARGS__)
#define Z_UTIL_LISTIFY_616(F, sep, ...) \
Z_UTIL_LISTIFY_615(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(615, __VA_ARGS__)
#define Z_UTIL_LISTIFY_617(F, sep, ...) \
Z_UTIL_LISTIFY_616(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(616, __VA_ARGS__)
#define Z_UTIL_LISTIFY_618(F, sep, ...) \
Z_UTIL_LISTIFY_617(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(617, __VA_ARGS__)
#define Z_UTIL_LISTIFY_619(F, sep, ...) \
Z_UTIL_LISTIFY_618(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(618, __VA_ARGS__)
#define Z_UTIL_LISTIFY_620(F, sep, ...) \
Z_UTIL_LISTIFY_619(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(619, __VA_ARGS__)
#define Z_UTIL_LISTIFY_621(F, sep, ...) \
Z_UTIL_LISTIFY_620(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(620, __VA_ARGS__)
#define Z_UTIL_LISTIFY_622(F, sep, ...) \
Z_UTIL_LISTIFY_621(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(621, __VA_ARGS__)
#define Z_UTIL_LISTIFY_623(F, sep, ...) \
Z_UTIL_LISTIFY_622(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(622, __VA_ARGS__)
#define Z_UTIL_LISTIFY_624(F, sep, ...) \
Z_UTIL_LISTIFY_623(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(623, __VA_ARGS__)
#define Z_UTIL_LISTIFY_625(F, sep, ...) \
Z_UTIL_LISTIFY_624(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(624, __VA_ARGS__)
#define Z_UTIL_LISTIFY_626(F, sep, ...) \
Z_UTIL_LISTIFY_625(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(625, __VA_ARGS__)
#define Z_UTIL_LISTIFY_627(F, sep, ...) \
Z_UTIL_LISTIFY_626(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(626, __VA_ARGS__)
#define Z_UTIL_LISTIFY_628(F, sep, ...) \
Z_UTIL_LISTIFY_627(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(627, __VA_ARGS__)
#define Z_UTIL_LISTIFY_629(F, sep, ...) \
Z_UTIL_LISTIFY_628(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(628, __VA_ARGS__)
#define Z_UTIL_LISTIFY_630(F, sep, ...) \
Z_UTIL_LISTIFY_629(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(629, __VA_ARGS__)
#define Z_UTIL_LISTIFY_631(F, sep, ...) \
Z_UTIL_LISTIFY_630(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(630, __VA_ARGS__)
#define Z_UTIL_LISTIFY_632(F, sep, ...) \
Z_UTIL_LISTIFY_631(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(631, __VA_ARGS__)
#define Z_UTIL_LISTIFY_633(F, sep, ...) \
Z_UTIL_LISTIFY_632(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(632, __VA_ARGS__)
#define Z_UTIL_LISTIFY_634(F, sep, ...) \
Z_UTIL_LISTIFY_633(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(633, __VA_ARGS__)
#define Z_UTIL_LISTIFY_635(F, sep, ...) \
Z_UTIL_LISTIFY_634(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(634, __VA_ARGS__)
#define Z_UTIL_LISTIFY_636(F, sep, ...) \
Z_UTIL_LISTIFY_635(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(635, __VA_ARGS__)
#define Z_UTIL_LISTIFY_637(F, sep, ...) \
Z_UTIL_LISTIFY_636(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(636, __VA_ARGS__)
#define Z_UTIL_LISTIFY_638(F, sep, ...) \
Z_UTIL_LISTIFY_637(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(637, __VA_ARGS__)
#define Z_UTIL_LISTIFY_639(F, sep, ...) \
Z_UTIL_LISTIFY_638(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(638, __VA_ARGS__)
#define Z_UTIL_LISTIFY_640(F, sep, ...) \
Z_UTIL_LISTIFY_639(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(639, __VA_ARGS__)
#define Z_UTIL_LISTIFY_641(F, sep, ...) \
Z_UTIL_LISTIFY_640(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(640, __VA_ARGS__)
#define Z_UTIL_LISTIFY_642(F, sep, ...) \
Z_UTIL_LISTIFY_641(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(641, __VA_ARGS__)
#define Z_UTIL_LISTIFY_643(F, sep, ...) \
Z_UTIL_LISTIFY_642(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(642, __VA_ARGS__)
#define Z_UTIL_LISTIFY_644(F, sep, ...) \
Z_UTIL_LISTIFY_643(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(643, __VA_ARGS__)
#define Z_UTIL_LISTIFY_645(F, sep, ...) \
Z_UTIL_LISTIFY_644(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(644, __VA_ARGS__)
#define Z_UTIL_LISTIFY_646(F, sep, ...) \
Z_UTIL_LISTIFY_645(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(645, __VA_ARGS__)
#define Z_UTIL_LISTIFY_647(F, sep, ...) \
Z_UTIL_LISTIFY_646(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(646, __VA_ARGS__)
#define Z_UTIL_LISTIFY_648(F, sep, ...) \
Z_UTIL_LISTIFY_647(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(647, __VA_ARGS__)
#define Z_UTIL_LISTIFY_649(F, sep, ...) \
Z_UTIL_LISTIFY_648(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(648, __VA_ARGS__)
#define Z_UTIL_LISTIFY_650(F, sep, ...) \
Z_UTIL_LISTIFY_649(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(649, __VA_ARGS__)
#define Z_UTIL_LISTIFY_651(F, sep, ...) \
Z_UTIL_LISTIFY_650(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(650, __VA_ARGS__)
#define Z_UTIL_LISTIFY_652(F, sep, ...) \
Z_UTIL_LISTIFY_651(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(651, __VA_ARGS__)
#define Z_UTIL_LISTIFY_653(F, sep, ...) \
Z_UTIL_LISTIFY_652(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(652, __VA_ARGS__)
#define Z_UTIL_LISTIFY_654(F, sep, ...) \
Z_UTIL_LISTIFY_653(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(653, __VA_ARGS__)
#define Z_UTIL_LISTIFY_655(F, sep, ...) \
Z_UTIL_LISTIFY_654(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(654, __VA_ARGS__)
#define Z_UTIL_LISTIFY_656(F, sep, ...) \
Z_UTIL_LISTIFY_655(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(655, __VA_ARGS__)
#define Z_UTIL_LISTIFY_657(F, sep, ...) \
Z_UTIL_LISTIFY_656(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(656, __VA_ARGS__)
#define Z_UTIL_LISTIFY_658(F, sep, ...) \
Z_UTIL_LISTIFY_657(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(657, __VA_ARGS__)
#define Z_UTIL_LISTIFY_659(F, sep, ...) \
Z_UTIL_LISTIFY_658(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(658, __VA_ARGS__)
#define Z_UTIL_LISTIFY_660(F, sep, ...) \
Z_UTIL_LISTIFY_659(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(659, __VA_ARGS__)
#define Z_UTIL_LISTIFY_661(F, sep, ...) \
Z_UTIL_LISTIFY_660(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(660, __VA_ARGS__)
#define Z_UTIL_LISTIFY_662(F, sep, ...) \
Z_UTIL_LISTIFY_661(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(661, __VA_ARGS__)
#define Z_UTIL_LISTIFY_663(F, sep, ...) \
Z_UTIL_LISTIFY_662(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(662, __VA_ARGS__)
#define Z_UTIL_LISTIFY_664(F, sep, ...) \
Z_UTIL_LISTIFY_663(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(663, __VA_ARGS__)
#define Z_UTIL_LISTIFY_665(F, sep, ...) \
Z_UTIL_LISTIFY_664(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(664, __VA_ARGS__)
#define Z_UTIL_LISTIFY_666(F, sep, ...) \
Z_UTIL_LISTIFY_665(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(665, __VA_ARGS__)
#define Z_UTIL_LISTIFY_667(F, sep, ...) \
Z_UTIL_LISTIFY_666(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(666, __VA_ARGS__)
#define Z_UTIL_LISTIFY_668(F, sep, ...) \
Z_UTIL_LISTIFY_667(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(667, __VA_ARGS__)
#define Z_UTIL_LISTIFY_669(F, sep, ...) \
Z_UTIL_LISTIFY_668(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(668, __VA_ARGS__)
#define Z_UTIL_LISTIFY_670(F, sep, ...) \
Z_UTIL_LISTIFY_669(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(669, __VA_ARGS__)
#define Z_UTIL_LISTIFY_671(F, sep, ...) \
Z_UTIL_LISTIFY_670(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(670, __VA_ARGS__)
#define Z_UTIL_LISTIFY_672(F, sep, ...) \
Z_UTIL_LISTIFY_671(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(671, __VA_ARGS__)
#define Z_UTIL_LISTIFY_673(F, sep, ...) \
Z_UTIL_LISTIFY_672(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(672, __VA_ARGS__)
#define Z_UTIL_LISTIFY_674(F, sep, ...) \
Z_UTIL_LISTIFY_673(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(673, __VA_ARGS__)
#define Z_UTIL_LISTIFY_675(F, sep, ...) \
Z_UTIL_LISTIFY_674(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(674, __VA_ARGS__)
#define Z_UTIL_LISTIFY_676(F, sep, ...) \
Z_UTIL_LISTIFY_675(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(675, __VA_ARGS__)
#define Z_UTIL_LISTIFY_677(F, sep, ...) \
Z_UTIL_LISTIFY_676(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(676, __VA_ARGS__)
#define Z_UTIL_LISTIFY_678(F, sep, ...) \
Z_UTIL_LISTIFY_677(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(677, __VA_ARGS__)
#define Z_UTIL_LISTIFY_679(F, sep, ...) \
Z_UTIL_LISTIFY_678(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(678, __VA_ARGS__)
#define Z_UTIL_LISTIFY_680(F, sep, ...) \
Z_UTIL_LISTIFY_679(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(679, __VA_ARGS__)
#define Z_UTIL_LISTIFY_681(F, sep, ...) \
Z_UTIL_LISTIFY_680(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(680, __VA_ARGS__)
#define Z_UTIL_LISTIFY_682(F, sep, ...) \
Z_UTIL_LISTIFY_681(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(681, __VA_ARGS__)
#define Z_UTIL_LISTIFY_683(F, sep, ...) \
Z_UTIL_LISTIFY_682(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(682, __VA_ARGS__)
#define Z_UTIL_LISTIFY_684(F, sep, ...) \
Z_UTIL_LISTIFY_683(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(683, __VA_ARGS__)
#define Z_UTIL_LISTIFY_685(F, sep, ...) \
Z_UTIL_LISTIFY_684(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(684, __VA_ARGS__)
#define Z_UTIL_LISTIFY_686(F, sep, ...) \
Z_UTIL_LISTIFY_685(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(685, __VA_ARGS__)
#define Z_UTIL_LISTIFY_687(F, sep, ...) \
Z_UTIL_LISTIFY_686(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(686, __VA_ARGS__)
#define Z_UTIL_LISTIFY_688(F, sep, ...) \
Z_UTIL_LISTIFY_687(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(687, __VA_ARGS__)
#define Z_UTIL_LISTIFY_689(F, sep, ...) \
Z_UTIL_LISTIFY_688(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(688, __VA_ARGS__)
#define Z_UTIL_LISTIFY_690(F, sep, ...) \
Z_UTIL_LISTIFY_689(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(689, __VA_ARGS__)
#define Z_UTIL_LISTIFY_691(F, sep, ...) \
Z_UTIL_LISTIFY_690(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(690, __VA_ARGS__)
#define Z_UTIL_LISTIFY_692(F, sep, ...) \
Z_UTIL_LISTIFY_691(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(691, __VA_ARGS__)
#define Z_UTIL_LISTIFY_693(F, sep, ...) \
Z_UTIL_LISTIFY_692(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(692, __VA_ARGS__)
#define Z_UTIL_LISTIFY_694(F, sep, ...) \
Z_UTIL_LISTIFY_693(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(693, __VA_ARGS__)
#define Z_UTIL_LISTIFY_695(F, sep, ...) \
Z_UTIL_LISTIFY_694(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(694, __VA_ARGS__)
#define Z_UTIL_LISTIFY_696(F, sep, ...) \
Z_UTIL_LISTIFY_695(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(695, __VA_ARGS__)
#define Z_UTIL_LISTIFY_697(F, sep, ...) \
Z_UTIL_LISTIFY_696(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(696, __VA_ARGS__)
#define Z_UTIL_LISTIFY_698(F, sep, ...) \
Z_UTIL_LISTIFY_697(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(697, __VA_ARGS__)
#define Z_UTIL_LISTIFY_699(F, sep, ...) \
Z_UTIL_LISTIFY_698(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(698, __VA_ARGS__)
#define Z_UTIL_LISTIFY_700(F, sep, ...) \
Z_UTIL_LISTIFY_699(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(699, __VA_ARGS__)
#define Z_UTIL_LISTIFY_701(F, sep, ...) \
Z_UTIL_LISTIFY_700(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(700, __VA_ARGS__)
#define Z_UTIL_LISTIFY_702(F, sep, ...) \
Z_UTIL_LISTIFY_701(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(701, __VA_ARGS__)
#define Z_UTIL_LISTIFY_703(F, sep, ...) \
Z_UTIL_LISTIFY_702(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(702, __VA_ARGS__)
#define Z_UTIL_LISTIFY_704(F, sep, ...) \
Z_UTIL_LISTIFY_703(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(703, __VA_ARGS__)
#define Z_UTIL_LISTIFY_705(F, sep, ...) \
Z_UTIL_LISTIFY_704(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(704, __VA_ARGS__)
#define Z_UTIL_LISTIFY_706(F, sep, ...) \
Z_UTIL_LISTIFY_705(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(705, __VA_ARGS__)
#define Z_UTIL_LISTIFY_707(F, sep, ...) \
Z_UTIL_LISTIFY_706(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(706, __VA_ARGS__)
#define Z_UTIL_LISTIFY_708(F, sep, ...) \
Z_UTIL_LISTIFY_707(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(707, __VA_ARGS__)
#define Z_UTIL_LISTIFY_709(F, sep, ...) \
Z_UTIL_LISTIFY_708(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(708, __VA_ARGS__)
#define Z_UTIL_LISTIFY_710(F, sep, ...) \
Z_UTIL_LISTIFY_709(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(709, __VA_ARGS__)
#define Z_UTIL_LISTIFY_711(F, sep, ...) \
Z_UTIL_LISTIFY_710(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(710, __VA_ARGS__)
#define Z_UTIL_LISTIFY_712(F, sep, ...) \
Z_UTIL_LISTIFY_711(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(711, __VA_ARGS__)
#define Z_UTIL_LISTIFY_713(F, sep, ...) \
Z_UTIL_LISTIFY_712(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(712, __VA_ARGS__)
#define Z_UTIL_LISTIFY_714(F, sep, ...) \
Z_UTIL_LISTIFY_713(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(713, __VA_ARGS__)
#define Z_UTIL_LISTIFY_715(F, sep, ...) \
Z_UTIL_LISTIFY_714(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(714, __VA_ARGS__)
#define Z_UTIL_LISTIFY_716(F, sep, ...) \
Z_UTIL_LISTIFY_715(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(715, __VA_ARGS__)
#define Z_UTIL_LISTIFY_717(F, sep, ...) \
Z_UTIL_LISTIFY_716(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(716, __VA_ARGS__)
#define Z_UTIL_LISTIFY_718(F, sep, ...) \
Z_UTIL_LISTIFY_717(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(717, __VA_ARGS__)
#define Z_UTIL_LISTIFY_719(F, sep, ...) \
Z_UTIL_LISTIFY_718(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(718, __VA_ARGS__)
#define Z_UTIL_LISTIFY_720(F, sep, ...) \
Z_UTIL_LISTIFY_719(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(719, __VA_ARGS__)
#define Z_UTIL_LISTIFY_721(F, sep, ...) \
Z_UTIL_LISTIFY_720(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(720, __VA_ARGS__)
#define Z_UTIL_LISTIFY_722(F, sep, ...) \
Z_UTIL_LISTIFY_721(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(721, __VA_ARGS__)
#define Z_UTIL_LISTIFY_723(F, sep, ...) \
Z_UTIL_LISTIFY_722(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(722, __VA_ARGS__)
#define Z_UTIL_LISTIFY_724(F, sep, ...) \
Z_UTIL_LISTIFY_723(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(723, __VA_ARGS__)
#define Z_UTIL_LISTIFY_725(F, sep, ...) \
Z_UTIL_LISTIFY_724(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(724, __VA_ARGS__)
#define Z_UTIL_LISTIFY_726(F, sep, ...) \
Z_UTIL_LISTIFY_725(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(725, __VA_ARGS__)
#define Z_UTIL_LISTIFY_727(F, sep, ...) \
Z_UTIL_LISTIFY_726(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(726, __VA_ARGS__)
#define Z_UTIL_LISTIFY_728(F, sep, ...) \
Z_UTIL_LISTIFY_727(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(727, __VA_ARGS__)
#define Z_UTIL_LISTIFY_729(F, sep, ...) \
Z_UTIL_LISTIFY_728(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(728, __VA_ARGS__)
#define Z_UTIL_LISTIFY_730(F, sep, ...) \
Z_UTIL_LISTIFY_729(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(729, __VA_ARGS__)
#define Z_UTIL_LISTIFY_731(F, sep, ...) \
Z_UTIL_LISTIFY_730(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(730, __VA_ARGS__)
#define Z_UTIL_LISTIFY_732(F, sep, ...) \
Z_UTIL_LISTIFY_731(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(731, __VA_ARGS__)
#define Z_UTIL_LISTIFY_733(F, sep, ...) \
Z_UTIL_LISTIFY_732(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(732, __VA_ARGS__)
#define Z_UTIL_LISTIFY_734(F, sep, ...) \
Z_UTIL_LISTIFY_733(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(733, __VA_ARGS__)
#define Z_UTIL_LISTIFY_735(F, sep, ...) \
Z_UTIL_LISTIFY_734(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(734, __VA_ARGS__)
#define Z_UTIL_LISTIFY_736(F, sep, ...) \
Z_UTIL_LISTIFY_735(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(735, __VA_ARGS__)
#define Z_UTIL_LISTIFY_737(F, sep, ...) \
Z_UTIL_LISTIFY_736(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(736, __VA_ARGS__)
#define Z_UTIL_LISTIFY_738(F, sep, ...) \
Z_UTIL_LISTIFY_737(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(737, __VA_ARGS__)
#define Z_UTIL_LISTIFY_739(F, sep, ...) \
Z_UTIL_LISTIFY_738(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(738, __VA_ARGS__)
#define Z_UTIL_LISTIFY_740(F, sep, ...) \
Z_UTIL_LISTIFY_739(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(739, __VA_ARGS__)
#define Z_UTIL_LISTIFY_741(F, sep, ...) \
Z_UTIL_LISTIFY_740(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(740, __VA_ARGS__)
#define Z_UTIL_LISTIFY_742(F, sep, ...) \
Z_UTIL_LISTIFY_741(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(741, __VA_ARGS__)
#define Z_UTIL_LISTIFY_743(F, sep, ...) \
Z_UTIL_LISTIFY_742(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(742, __VA_ARGS__)
#define Z_UTIL_LISTIFY_744(F, sep, ...) \
Z_UTIL_LISTIFY_743(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(743, __VA_ARGS__)
#define Z_UTIL_LISTIFY_745(F, sep, ...) \
Z_UTIL_LISTIFY_744(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(744, __VA_ARGS__)
#define Z_UTIL_LISTIFY_746(F, sep, ...) \
Z_UTIL_LISTIFY_745(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(745, __VA_ARGS__)
#define Z_UTIL_LISTIFY_747(F, sep, ...) \
Z_UTIL_LISTIFY_746(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(746, __VA_ARGS__)
#define Z_UTIL_LISTIFY_748(F, sep, ...) \
Z_UTIL_LISTIFY_747(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(747, __VA_ARGS__)
#define Z_UTIL_LISTIFY_749(F, sep, ...) \
Z_UTIL_LISTIFY_748(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(748, __VA_ARGS__)
#define Z_UTIL_LISTIFY_750(F, sep, ...) \
Z_UTIL_LISTIFY_749(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(749, __VA_ARGS__)
#define Z_UTIL_LISTIFY_751(F, sep, ...) \
Z_UTIL_LISTIFY_750(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(750, __VA_ARGS__)
#define Z_UTIL_LISTIFY_752(F, sep, ...) \
Z_UTIL_LISTIFY_751(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(751, __VA_ARGS__)
#define Z_UTIL_LISTIFY_753(F, sep, ...) \
Z_UTIL_LISTIFY_752(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(752, __VA_ARGS__)
#define Z_UTIL_LISTIFY_754(F, sep, ...) \
Z_UTIL_LISTIFY_753(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(753, __VA_ARGS__)
#define Z_UTIL_LISTIFY_755(F, sep, ...) \
Z_UTIL_LISTIFY_754(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(754, __VA_ARGS__)
#define Z_UTIL_LISTIFY_756(F, sep, ...) \
Z_UTIL_LISTIFY_755(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(755, __VA_ARGS__)
#define Z_UTIL_LISTIFY_757(F, sep, ...) \
Z_UTIL_LISTIFY_756(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(756, __VA_ARGS__)
#define Z_UTIL_LISTIFY_758(F, sep, ...) \
Z_UTIL_LISTIFY_757(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(757, __VA_ARGS__)
#define Z_UTIL_LISTIFY_759(F, sep, ...) \
Z_UTIL_LISTIFY_758(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(758, __VA_ARGS__)
#define Z_UTIL_LISTIFY_760(F, sep, ...) \
Z_UTIL_LISTIFY_759(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(759, __VA_ARGS__)
#define Z_UTIL_LISTIFY_761(F, sep, ...) \
Z_UTIL_LISTIFY_760(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(760, __VA_ARGS__)
#define Z_UTIL_LISTIFY_762(F, sep, ...) \
Z_UTIL_LISTIFY_761(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(761, __VA_ARGS__)
#define Z_UTIL_LISTIFY_763(F, sep, ...) \
Z_UTIL_LISTIFY_762(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(762, __VA_ARGS__)
#define Z_UTIL_LISTIFY_764(F, sep, ...) \
Z_UTIL_LISTIFY_763(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(763, __VA_ARGS__)
#define Z_UTIL_LISTIFY_765(F, sep, ...) \
Z_UTIL_LISTIFY_764(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(764, __VA_ARGS__)
#define Z_UTIL_LISTIFY_766(F, sep, ...) \
Z_UTIL_LISTIFY_765(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(765, __VA_ARGS__)
#define Z_UTIL_LISTIFY_767(F, sep, ...) \
Z_UTIL_LISTIFY_766(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(766, __VA_ARGS__)
#define Z_UTIL_LISTIFY_768(F, sep, ...) \
Z_UTIL_LISTIFY_767(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(767, __VA_ARGS__)
#define Z_UTIL_LISTIFY_769(F, sep, ...) \
Z_UTIL_LISTIFY_768(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(768, __VA_ARGS__)
#define Z_UTIL_LISTIFY_770(F, sep, ...) \
Z_UTIL_LISTIFY_769(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(769, __VA_ARGS__)
#define Z_UTIL_LISTIFY_771(F, sep, ...) \
Z_UTIL_LISTIFY_770(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(770, __VA_ARGS__)
#define Z_UTIL_LISTIFY_772(F, sep, ...) \
Z_UTIL_LISTIFY_771(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(771, __VA_ARGS__)
#define Z_UTIL_LISTIFY_773(F, sep, ...) \
Z_UTIL_LISTIFY_772(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(772, __VA_ARGS__)
#define Z_UTIL_LISTIFY_774(F, sep, ...) \
Z_UTIL_LISTIFY_773(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(773, __VA_ARGS__)
#define Z_UTIL_LISTIFY_775(F, sep, ...) \
Z_UTIL_LISTIFY_774(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(774, __VA_ARGS__)
#define Z_UTIL_LISTIFY_776(F, sep, ...) \
Z_UTIL_LISTIFY_775(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(775, __VA_ARGS__)
#define Z_UTIL_LISTIFY_777(F, sep, ...) \
Z_UTIL_LISTIFY_776(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(776, __VA_ARGS__)
#define Z_UTIL_LISTIFY_778(F, sep, ...) \
Z_UTIL_LISTIFY_777(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(777, __VA_ARGS__)
#define Z_UTIL_LISTIFY_779(F, sep, ...) \
Z_UTIL_LISTIFY_778(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(778, __VA_ARGS__)
#define Z_UTIL_LISTIFY_780(F, sep, ...) \
Z_UTIL_LISTIFY_779(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(779, __VA_ARGS__)
#define Z_UTIL_LISTIFY_781(F, sep, ...) \
Z_UTIL_LISTIFY_780(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(780, __VA_ARGS__)
#define Z_UTIL_LISTIFY_782(F, sep, ...) \
Z_UTIL_LISTIFY_781(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(781, __VA_ARGS__)
#define Z_UTIL_LISTIFY_783(F, sep, ...) \
Z_UTIL_LISTIFY_782(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(782, __VA_ARGS__)
#define Z_UTIL_LISTIFY_784(F, sep, ...) \
Z_UTIL_LISTIFY_783(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(783, __VA_ARGS__)
#define Z_UTIL_LISTIFY_785(F, sep, ...) \
Z_UTIL_LISTIFY_784(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(784, __VA_ARGS__)
#define Z_UTIL_LISTIFY_786(F, sep, ...) \
Z_UTIL_LISTIFY_785(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(785, __VA_ARGS__)
#define Z_UTIL_LISTIFY_787(F, sep, ...) \
Z_UTIL_LISTIFY_786(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(786, __VA_ARGS__)
#define Z_UTIL_LISTIFY_788(F, sep, ...) \
Z_UTIL_LISTIFY_787(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(787, __VA_ARGS__)
#define Z_UTIL_LISTIFY_789(F, sep, ...) \
Z_UTIL_LISTIFY_788(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(788, __VA_ARGS__)
#define Z_UTIL_LISTIFY_790(F, sep, ...) \
Z_UTIL_LISTIFY_789(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(789, __VA_ARGS__)
#define Z_UTIL_LISTIFY_791(F, sep, ...) \
Z_UTIL_LISTIFY_790(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(790, __VA_ARGS__)
#define Z_UTIL_LISTIFY_792(F, sep, ...) \
Z_UTIL_LISTIFY_791(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(791, __VA_ARGS__)
#define Z_UTIL_LISTIFY_793(F, sep, ...) \
Z_UTIL_LISTIFY_792(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(792, __VA_ARGS__)
#define Z_UTIL_LISTIFY_794(F, sep, ...) \
Z_UTIL_LISTIFY_793(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(793, __VA_ARGS__)
#define Z_UTIL_LISTIFY_795(F, sep, ...) \
Z_UTIL_LISTIFY_794(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(794, __VA_ARGS__)
#define Z_UTIL_LISTIFY_796(F, sep, ...) \
Z_UTIL_LISTIFY_795(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(795, __VA_ARGS__)
#define Z_UTIL_LISTIFY_797(F, sep, ...) \
Z_UTIL_LISTIFY_796(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(796, __VA_ARGS__)
#define Z_UTIL_LISTIFY_798(F, sep, ...) \
Z_UTIL_LISTIFY_797(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(797, __VA_ARGS__)
#define Z_UTIL_LISTIFY_799(F, sep, ...) \
Z_UTIL_LISTIFY_798(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(798, __VA_ARGS__)
#define Z_UTIL_LISTIFY_800(F, sep, ...) \
Z_UTIL_LISTIFY_799(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(799, __VA_ARGS__)
#define Z_UTIL_LISTIFY_801(F, sep, ...) \
Z_UTIL_LISTIFY_800(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(800, __VA_ARGS__)
#define Z_UTIL_LISTIFY_802(F, sep, ...) \
Z_UTIL_LISTIFY_801(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(801, __VA_ARGS__)
#define Z_UTIL_LISTIFY_803(F, sep, ...) \
Z_UTIL_LISTIFY_802(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(802, __VA_ARGS__)
#define Z_UTIL_LISTIFY_804(F, sep, ...) \
Z_UTIL_LISTIFY_803(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(803, __VA_ARGS__)
#define Z_UTIL_LISTIFY_805(F, sep, ...) \
Z_UTIL_LISTIFY_804(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(804, __VA_ARGS__)
#define Z_UTIL_LISTIFY_806(F, sep, ...) \
Z_UTIL_LISTIFY_805(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(805, __VA_ARGS__)
#define Z_UTIL_LISTIFY_807(F, sep, ...) \
Z_UTIL_LISTIFY_806(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(806, __VA_ARGS__)
#define Z_UTIL_LISTIFY_808(F, sep, ...) \
Z_UTIL_LISTIFY_807(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(807, __VA_ARGS__)
#define Z_UTIL_LISTIFY_809(F, sep, ...) \
Z_UTIL_LISTIFY_808(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(808, __VA_ARGS__)
#define Z_UTIL_LISTIFY_810(F, sep, ...) \
Z_UTIL_LISTIFY_809(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(809, __VA_ARGS__)
#define Z_UTIL_LISTIFY_811(F, sep, ...) \
Z_UTIL_LISTIFY_810(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(810, __VA_ARGS__)
#define Z_UTIL_LISTIFY_812(F, sep, ...) \
Z_UTIL_LISTIFY_811(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(811, __VA_ARGS__)
#define Z_UTIL_LISTIFY_813(F, sep, ...) \
Z_UTIL_LISTIFY_812(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(812, __VA_ARGS__)
#define Z_UTIL_LISTIFY_814(F, sep, ...) \
Z_UTIL_LISTIFY_813(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(813, __VA_ARGS__)
#define Z_UTIL_LISTIFY_815(F, sep, ...) \
Z_UTIL_LISTIFY_814(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(814, __VA_ARGS__)
#define Z_UTIL_LISTIFY_816(F, sep, ...) \
Z_UTIL_LISTIFY_815(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(815, __VA_ARGS__)
#define Z_UTIL_LISTIFY_817(F, sep, ...) \
Z_UTIL_LISTIFY_816(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(816, __VA_ARGS__)
#define Z_UTIL_LISTIFY_818(F, sep, ...) \
Z_UTIL_LISTIFY_817(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(817, __VA_ARGS__)
#define Z_UTIL_LISTIFY_819(F, sep, ...) \
Z_UTIL_LISTIFY_818(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(818, __VA_ARGS__)
#define Z_UTIL_LISTIFY_820(F, sep, ...) \
Z_UTIL_LISTIFY_819(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(819, __VA_ARGS__)
#define Z_UTIL_LISTIFY_821(F, sep, ...) \
Z_UTIL_LISTIFY_820(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(820, __VA_ARGS__)
#define Z_UTIL_LISTIFY_822(F, sep, ...) \
Z_UTIL_LISTIFY_821(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(821, __VA_ARGS__)
#define Z_UTIL_LISTIFY_823(F, sep, ...) \
Z_UTIL_LISTIFY_822(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(822, __VA_ARGS__)
#define Z_UTIL_LISTIFY_824(F, sep, ...) \
Z_UTIL_LISTIFY_823(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(823, __VA_ARGS__)
#define Z_UTIL_LISTIFY_825(F, sep, ...) \
Z_UTIL_LISTIFY_824(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(824, __VA_ARGS__)
#define Z_UTIL_LISTIFY_826(F, sep, ...) \
Z_UTIL_LISTIFY_825(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(825, __VA_ARGS__)
#define Z_UTIL_LISTIFY_827(F, sep, ...) \
Z_UTIL_LISTIFY_826(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(826, __VA_ARGS__)
#define Z_UTIL_LISTIFY_828(F, sep, ...) \
Z_UTIL_LISTIFY_827(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(827, __VA_ARGS__)
#define Z_UTIL_LISTIFY_829(F, sep, ...) \
Z_UTIL_LISTIFY_828(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(828, __VA_ARGS__)
#define Z_UTIL_LISTIFY_830(F, sep, ...) \
Z_UTIL_LISTIFY_829(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(829, __VA_ARGS__)
#define Z_UTIL_LISTIFY_831(F, sep, ...) \
Z_UTIL_LISTIFY_830(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(830, __VA_ARGS__)
#define Z_UTIL_LISTIFY_832(F, sep, ...) \
Z_UTIL_LISTIFY_831(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(831, __VA_ARGS__)
#define Z_UTIL_LISTIFY_833(F, sep, ...) \
Z_UTIL_LISTIFY_832(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(832, __VA_ARGS__)
#define Z_UTIL_LISTIFY_834(F, sep, ...) \
Z_UTIL_LISTIFY_833(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(833, __VA_ARGS__)
#define Z_UTIL_LISTIFY_835(F, sep, ...) \
Z_UTIL_LISTIFY_834(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(834, __VA_ARGS__)
#define Z_UTIL_LISTIFY_836(F, sep, ...) \
Z_UTIL_LISTIFY_835(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(835, __VA_ARGS__)
#define Z_UTIL_LISTIFY_837(F, sep, ...) \
Z_UTIL_LISTIFY_836(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(836, __VA_ARGS__)
#define Z_UTIL_LISTIFY_838(F, sep, ...) \
Z_UTIL_LISTIFY_837(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(837, __VA_ARGS__)
#define Z_UTIL_LISTIFY_839(F, sep, ...) \
Z_UTIL_LISTIFY_838(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(838, __VA_ARGS__)
#define Z_UTIL_LISTIFY_840(F, sep, ...) \
Z_UTIL_LISTIFY_839(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(839, __VA_ARGS__)
#define Z_UTIL_LISTIFY_841(F, sep, ...) \
Z_UTIL_LISTIFY_840(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(840, __VA_ARGS__)
#define Z_UTIL_LISTIFY_842(F, sep, ...) \
Z_UTIL_LISTIFY_841(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(841, __VA_ARGS__)
#define Z_UTIL_LISTIFY_843(F, sep, ...) \
Z_UTIL_LISTIFY_842(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(842, __VA_ARGS__)
#define Z_UTIL_LISTIFY_844(F, sep, ...) \
Z_UTIL_LISTIFY_843(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(843, __VA_ARGS__)
#define Z_UTIL_LISTIFY_845(F, sep, ...) \
Z_UTIL_LISTIFY_844(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(844, __VA_ARGS__)
#define Z_UTIL_LISTIFY_846(F, sep, ...) \
Z_UTIL_LISTIFY_845(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(845, __VA_ARGS__)
#define Z_UTIL_LISTIFY_847(F, sep, ...) \
Z_UTIL_LISTIFY_846(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(846, __VA_ARGS__)
#define Z_UTIL_LISTIFY_848(F, sep, ...) \
Z_UTIL_LISTIFY_847(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(847, __VA_ARGS__)
#define Z_UTIL_LISTIFY_849(F, sep, ...) \
Z_UTIL_LISTIFY_848(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(848, __VA_ARGS__)
#define Z_UTIL_LISTIFY_850(F, sep, ...) \
Z_UTIL_LISTIFY_849(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(849, __VA_ARGS__)
#define Z_UTIL_LISTIFY_851(F, sep, ...) \
Z_UTIL_LISTIFY_850(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(850, __VA_ARGS__)
#define Z_UTIL_LISTIFY_852(F, sep, ...) \
Z_UTIL_LISTIFY_851(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(851, __VA_ARGS__)
#define Z_UTIL_LISTIFY_853(F, sep, ...) \
Z_UTIL_LISTIFY_852(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(852, __VA_ARGS__)
#define Z_UTIL_LISTIFY_854(F, sep, ...) \
Z_UTIL_LISTIFY_853(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(853, __VA_ARGS__)
#define Z_UTIL_LISTIFY_855(F, sep, ...) \
Z_UTIL_LISTIFY_854(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(854, __VA_ARGS__)
#define Z_UTIL_LISTIFY_856(F, sep, ...) \
Z_UTIL_LISTIFY_855(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(855, __VA_ARGS__)
#define Z_UTIL_LISTIFY_857(F, sep, ...) \
Z_UTIL_LISTIFY_856(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(856, __VA_ARGS__)
#define Z_UTIL_LISTIFY_858(F, sep, ...) \
Z_UTIL_LISTIFY_857(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(857, __VA_ARGS__)
#define Z_UTIL_LISTIFY_859(F, sep, ...) \
Z_UTIL_LISTIFY_858(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(858, __VA_ARGS__)
#define Z_UTIL_LISTIFY_860(F, sep, ...) \
Z_UTIL_LISTIFY_859(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(859, __VA_ARGS__)
#define Z_UTIL_LISTIFY_861(F, sep, ...) \
Z_UTIL_LISTIFY_860(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(860, __VA_ARGS__)
#define Z_UTIL_LISTIFY_862(F, sep, ...) \
Z_UTIL_LISTIFY_861(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(861, __VA_ARGS__)
#define Z_UTIL_LISTIFY_863(F, sep, ...) \
Z_UTIL_LISTIFY_862(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(862, __VA_ARGS__)
#define Z_UTIL_LISTIFY_864(F, sep, ...) \
Z_UTIL_LISTIFY_863(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(863, __VA_ARGS__)
#define Z_UTIL_LISTIFY_865(F, sep, ...) \
Z_UTIL_LISTIFY_864(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(864, __VA_ARGS__)
#define Z_UTIL_LISTIFY_866(F, sep, ...) \
Z_UTIL_LISTIFY_865(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(865, __VA_ARGS__)
#define Z_UTIL_LISTIFY_867(F, sep, ...) \
Z_UTIL_LISTIFY_866(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(866, __VA_ARGS__)
#define Z_UTIL_LISTIFY_868(F, sep, ...) \
Z_UTIL_LISTIFY_867(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(867, __VA_ARGS__)
#define Z_UTIL_LISTIFY_869(F, sep, ...) \
Z_UTIL_LISTIFY_868(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(868, __VA_ARGS__)
#define Z_UTIL_LISTIFY_870(F, sep, ...) \
Z_UTIL_LISTIFY_869(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(869, __VA_ARGS__)
#define Z_UTIL_LISTIFY_871(F, sep, ...) \
Z_UTIL_LISTIFY_870(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(870, __VA_ARGS__)
#define Z_UTIL_LISTIFY_872(F, sep, ...) \
Z_UTIL_LISTIFY_871(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(871, __VA_ARGS__)
#define Z_UTIL_LISTIFY_873(F, sep, ...) \
Z_UTIL_LISTIFY_872(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(872, __VA_ARGS__)
#define Z_UTIL_LISTIFY_874(F, sep, ...) \
Z_UTIL_LISTIFY_873(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(873, __VA_ARGS__)
#define Z_UTIL_LISTIFY_875(F, sep, ...) \
Z_UTIL_LISTIFY_874(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(874, __VA_ARGS__)
#define Z_UTIL_LISTIFY_876(F, sep, ...) \
Z_UTIL_LISTIFY_875(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(875, __VA_ARGS__)
#define Z_UTIL_LISTIFY_877(F, sep, ...) \
Z_UTIL_LISTIFY_876(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(876, __VA_ARGS__)
#define Z_UTIL_LISTIFY_878(F, sep, ...) \
Z_UTIL_LISTIFY_877(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(877, __VA_ARGS__)
#define Z_UTIL_LISTIFY_879(F, sep, ...) \
Z_UTIL_LISTIFY_878(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(878, __VA_ARGS__)
#define Z_UTIL_LISTIFY_880(F, sep, ...) \
Z_UTIL_LISTIFY_879(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(879, __VA_ARGS__)
#define Z_UTIL_LISTIFY_881(F, sep, ...) \
Z_UTIL_LISTIFY_880(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(880, __VA_ARGS__)
#define Z_UTIL_LISTIFY_882(F, sep, ...) \
Z_UTIL_LISTIFY_881(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(881, __VA_ARGS__)
#define Z_UTIL_LISTIFY_883(F, sep, ...) \
Z_UTIL_LISTIFY_882(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(882, __VA_ARGS__)
#define Z_UTIL_LISTIFY_884(F, sep, ...) \
Z_UTIL_LISTIFY_883(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(883, __VA_ARGS__)
#define Z_UTIL_LISTIFY_885(F, sep, ...) \
Z_UTIL_LISTIFY_884(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(884, __VA_ARGS__)
#define Z_UTIL_LISTIFY_886(F, sep, ...) \
Z_UTIL_LISTIFY_885(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(885, __VA_ARGS__)
#define Z_UTIL_LISTIFY_887(F, sep, ...) \
Z_UTIL_LISTIFY_886(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(886, __VA_ARGS__)
#define Z_UTIL_LISTIFY_888(F, sep, ...) \
Z_UTIL_LISTIFY_887(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(887, __VA_ARGS__)
#define Z_UTIL_LISTIFY_889(F, sep, ...) \
Z_UTIL_LISTIFY_888(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(888, __VA_ARGS__)
#define Z_UTIL_LISTIFY_890(F, sep, ...) \
Z_UTIL_LISTIFY_889(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(889, __VA_ARGS__)
#define Z_UTIL_LISTIFY_891(F, sep, ...) \
Z_UTIL_LISTIFY_890(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(890, __VA_ARGS__)
#define Z_UTIL_LISTIFY_892(F, sep, ...) \
Z_UTIL_LISTIFY_891(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(891, __VA_ARGS__)
#define Z_UTIL_LISTIFY_893(F, sep, ...) \
Z_UTIL_LISTIFY_892(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(892, __VA_ARGS__)
#define Z_UTIL_LISTIFY_894(F, sep, ...) \
Z_UTIL_LISTIFY_893(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(893, __VA_ARGS__)
#define Z_UTIL_LISTIFY_895(F, sep, ...) \
Z_UTIL_LISTIFY_894(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(894, __VA_ARGS__)
#define Z_UTIL_LISTIFY_896(F, sep, ...) \
Z_UTIL_LISTIFY_895(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(895, __VA_ARGS__)
#define Z_UTIL_LISTIFY_897(F, sep, ...) \
Z_UTIL_LISTIFY_896(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(896, __VA_ARGS__)
#define Z_UTIL_LISTIFY_898(F, sep, ...) \
Z_UTIL_LISTIFY_897(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(897, __VA_ARGS__)
#define Z_UTIL_LISTIFY_899(F, sep, ...) \
Z_UTIL_LISTIFY_898(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(898, __VA_ARGS__)
#define Z_UTIL_LISTIFY_900(F, sep, ...) \
Z_UTIL_LISTIFY_899(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(899, __VA_ARGS__)
#define Z_UTIL_LISTIFY_901(F, sep, ...) \
Z_UTIL_LISTIFY_900(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(900, __VA_ARGS__)
#define Z_UTIL_LISTIFY_902(F, sep, ...) \
Z_UTIL_LISTIFY_901(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(901, __VA_ARGS__)
#define Z_UTIL_LISTIFY_903(F, sep, ...) \
Z_UTIL_LISTIFY_902(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(902, __VA_ARGS__)
#define Z_UTIL_LISTIFY_904(F, sep, ...) \
Z_UTIL_LISTIFY_903(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(903, __VA_ARGS__)
#define Z_UTIL_LISTIFY_905(F, sep, ...) \
Z_UTIL_LISTIFY_904(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(904, __VA_ARGS__)
#define Z_UTIL_LISTIFY_906(F, sep, ...) \
Z_UTIL_LISTIFY_905(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(905, __VA_ARGS__)
#define Z_UTIL_LISTIFY_907(F, sep, ...) \
Z_UTIL_LISTIFY_906(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(906, __VA_ARGS__)
#define Z_UTIL_LISTIFY_908(F, sep, ...) \
Z_UTIL_LISTIFY_907(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(907, __VA_ARGS__)
#define Z_UTIL_LISTIFY_909(F, sep, ...) \
Z_UTIL_LISTIFY_908(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(908, __VA_ARGS__)
#define Z_UTIL_LISTIFY_910(F, sep, ...) \
Z_UTIL_LISTIFY_909(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(909, __VA_ARGS__)
#define Z_UTIL_LISTIFY_911(F, sep, ...) \
Z_UTIL_LISTIFY_910(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(910, __VA_ARGS__)
#define Z_UTIL_LISTIFY_912(F, sep, ...) \
Z_UTIL_LISTIFY_911(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(911, __VA_ARGS__)
#define Z_UTIL_LISTIFY_913(F, sep, ...) \
Z_UTIL_LISTIFY_912(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(912, __VA_ARGS__)
#define Z_UTIL_LISTIFY_914(F, sep, ...) \
Z_UTIL_LISTIFY_913(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(913, __VA_ARGS__)
#define Z_UTIL_LISTIFY_915(F, sep, ...) \
Z_UTIL_LISTIFY_914(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(914, __VA_ARGS__)
#define Z_UTIL_LISTIFY_916(F, sep, ...) \
Z_UTIL_LISTIFY_915(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(915, __VA_ARGS__)
#define Z_UTIL_LISTIFY_917(F, sep, ...) \
Z_UTIL_LISTIFY_916(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(916, __VA_ARGS__)
#define Z_UTIL_LISTIFY_918(F, sep, ...) \
Z_UTIL_LISTIFY_917(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(917, __VA_ARGS__)
#define Z_UTIL_LISTIFY_919(F, sep, ...) \
Z_UTIL_LISTIFY_918(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(918, __VA_ARGS__)
#define Z_UTIL_LISTIFY_920(F, sep, ...) \
Z_UTIL_LISTIFY_919(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(919, __VA_ARGS__)
#define Z_UTIL_LISTIFY_921(F, sep, ...) \
Z_UTIL_LISTIFY_920(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(920, __VA_ARGS__)
#define Z_UTIL_LISTIFY_922(F, sep, ...) \
Z_UTIL_LISTIFY_921(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(921, __VA_ARGS__)
#define Z_UTIL_LISTIFY_923(F, sep, ...) \
Z_UTIL_LISTIFY_922(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(922, __VA_ARGS__)
#define Z_UTIL_LISTIFY_924(F, sep, ...) \
Z_UTIL_LISTIFY_923(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(923, __VA_ARGS__)
#define Z_UTIL_LISTIFY_925(F, sep, ...) \
Z_UTIL_LISTIFY_924(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(924, __VA_ARGS__)
#define Z_UTIL_LISTIFY_926(F, sep, ...) \
Z_UTIL_LISTIFY_925(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(925, __VA_ARGS__)
#define Z_UTIL_LISTIFY_927(F, sep, ...) \
Z_UTIL_LISTIFY_926(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(926, __VA_ARGS__)
#define Z_UTIL_LISTIFY_928(F, sep, ...) \
Z_UTIL_LISTIFY_927(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(927, __VA_ARGS__)
#define Z_UTIL_LISTIFY_929(F, sep, ...) \
Z_UTIL_LISTIFY_928(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(928, __VA_ARGS__)
#define Z_UTIL_LISTIFY_930(F, sep, ...) \
Z_UTIL_LISTIFY_929(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(929, __VA_ARGS__)
#define Z_UTIL_LISTIFY_931(F, sep, ...) \
Z_UTIL_LISTIFY_930(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(930, __VA_ARGS__)
#define Z_UTIL_LISTIFY_932(F, sep, ...) \
Z_UTIL_LISTIFY_931(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(931, __VA_ARGS__)
#define Z_UTIL_LISTIFY_933(F, sep, ...) \
Z_UTIL_LISTIFY_932(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(932, __VA_ARGS__)
#define Z_UTIL_LISTIFY_934(F, sep, ...) \
Z_UTIL_LISTIFY_933(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(933, __VA_ARGS__)
#define Z_UTIL_LISTIFY_935(F, sep, ...) \
Z_UTIL_LISTIFY_934(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(934, __VA_ARGS__)
#define Z_UTIL_LISTIFY_936(F, sep, ...) \
Z_UTIL_LISTIFY_935(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(935, __VA_ARGS__)
#define Z_UTIL_LISTIFY_937(F, sep, ...) \
Z_UTIL_LISTIFY_936(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(936, __VA_ARGS__)
#define Z_UTIL_LISTIFY_938(F, sep, ...) \
Z_UTIL_LISTIFY_937(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(937, __VA_ARGS__)
#define Z_UTIL_LISTIFY_939(F, sep, ...) \
Z_UTIL_LISTIFY_938(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(938, __VA_ARGS__)
#define Z_UTIL_LISTIFY_940(F, sep, ...) \
Z_UTIL_LISTIFY_939(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(939, __VA_ARGS__)
#define Z_UTIL_LISTIFY_941(F, sep, ...) \
Z_UTIL_LISTIFY_940(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(940, __VA_ARGS__)
#define Z_UTIL_LISTIFY_942(F, sep, ...) \
Z_UTIL_LISTIFY_941(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(941, __VA_ARGS__)
#define Z_UTIL_LISTIFY_943(F, sep, ...) \
Z_UTIL_LISTIFY_942(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(942, __VA_ARGS__)
#define Z_UTIL_LISTIFY_944(F, sep, ...) \
Z_UTIL_LISTIFY_943(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(943, __VA_ARGS__)
#define Z_UTIL_LISTIFY_945(F, sep, ...) \
Z_UTIL_LISTIFY_944(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(944, __VA_ARGS__)
#define Z_UTIL_LISTIFY_946(F, sep, ...) \
Z_UTIL_LISTIFY_945(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(945, __VA_ARGS__)
#define Z_UTIL_LISTIFY_947(F, sep, ...) \
Z_UTIL_LISTIFY_946(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(946, __VA_ARGS__)
#define Z_UTIL_LISTIFY_948(F, sep, ...) \
Z_UTIL_LISTIFY_947(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(947, __VA_ARGS__)
#define Z_UTIL_LISTIFY_949(F, sep, ...) \
Z_UTIL_LISTIFY_948(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(948, __VA_ARGS__)
#define Z_UTIL_LISTIFY_950(F, sep, ...) \
Z_UTIL_LISTIFY_949(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(949, __VA_ARGS__)
#define Z_UTIL_LISTIFY_951(F, sep, ...) \
Z_UTIL_LISTIFY_950(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(950, __VA_ARGS__)
#define Z_UTIL_LISTIFY_952(F, sep, ...) \
Z_UTIL_LISTIFY_951(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(951, __VA_ARGS__)
#define Z_UTIL_LISTIFY_953(F, sep, ...) \
Z_UTIL_LISTIFY_952(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(952, __VA_ARGS__)
#define Z_UTIL_LISTIFY_954(F, sep, ...) \
Z_UTIL_LISTIFY_953(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(953, __VA_ARGS__)
#define Z_UTIL_LISTIFY_955(F, sep, ...) \
Z_UTIL_LISTIFY_954(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(954, __VA_ARGS__)
#define Z_UTIL_LISTIFY_956(F, sep, ...) \
Z_UTIL_LISTIFY_955(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(955, __VA_ARGS__)
#define Z_UTIL_LISTIFY_957(F, sep, ...) \
Z_UTIL_LISTIFY_956(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(956, __VA_ARGS__)
#define Z_UTIL_LISTIFY_958(F, sep, ...) \
Z_UTIL_LISTIFY_957(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(957, __VA_ARGS__)
#define Z_UTIL_LISTIFY_959(F, sep, ...) \
Z_UTIL_LISTIFY_958(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(958, __VA_ARGS__)
#define Z_UTIL_LISTIFY_960(F, sep, ...) \
Z_UTIL_LISTIFY_959(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(959, __VA_ARGS__)
#define Z_UTIL_LISTIFY_961(F, sep, ...) \
Z_UTIL_LISTIFY_960(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(960, __VA_ARGS__)
#define Z_UTIL_LISTIFY_962(F, sep, ...) \
Z_UTIL_LISTIFY_961(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(961, __VA_ARGS__)
#define Z_UTIL_LISTIFY_963(F, sep, ...) \
Z_UTIL_LISTIFY_962(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(962, __VA_ARGS__)
#define Z_UTIL_LISTIFY_964(F, sep, ...) \
Z_UTIL_LISTIFY_963(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(963, __VA_ARGS__)
#define Z_UTIL_LISTIFY_965(F, sep, ...) \
Z_UTIL_LISTIFY_964(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(964, __VA_ARGS__)
#define Z_UTIL_LISTIFY_966(F, sep, ...) \
Z_UTIL_LISTIFY_965(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(965, __VA_ARGS__)
#define Z_UTIL_LISTIFY_967(F, sep, ...) \
Z_UTIL_LISTIFY_966(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(966, __VA_ARGS__)
#define Z_UTIL_LISTIFY_968(F, sep, ...) \
Z_UTIL_LISTIFY_967(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(967, __VA_ARGS__)
#define Z_UTIL_LISTIFY_969(F, sep, ...) \
Z_UTIL_LISTIFY_968(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(968, __VA_ARGS__)
#define Z_UTIL_LISTIFY_970(F, sep, ...) \
Z_UTIL_LISTIFY_969(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(969, __VA_ARGS__)
#define Z_UTIL_LISTIFY_971(F, sep, ...) \
Z_UTIL_LISTIFY_970(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(970, __VA_ARGS__)
#define Z_UTIL_LISTIFY_972(F, sep, ...) \
Z_UTIL_LISTIFY_971(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(971, __VA_ARGS__)
#define Z_UTIL_LISTIFY_973(F, sep, ...) \
Z_UTIL_LISTIFY_972(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(972, __VA_ARGS__)
#define Z_UTIL_LISTIFY_974(F, sep, ...) \
Z_UTIL_LISTIFY_973(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(973, __VA_ARGS__)
#define Z_UTIL_LISTIFY_975(F, sep, ...) \
Z_UTIL_LISTIFY_974(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(974, __VA_ARGS__)
#define Z_UTIL_LISTIFY_976(F, sep, ...) \
Z_UTIL_LISTIFY_975(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(975, __VA_ARGS__)
#define Z_UTIL_LISTIFY_977(F, sep, ...) \
Z_UTIL_LISTIFY_976(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(976, __VA_ARGS__)
#define Z_UTIL_LISTIFY_978(F, sep, ...) \
Z_UTIL_LISTIFY_977(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(977, __VA_ARGS__)
#define Z_UTIL_LISTIFY_979(F, sep, ...) \
Z_UTIL_LISTIFY_978(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(978, __VA_ARGS__)
#define Z_UTIL_LISTIFY_980(F, sep, ...) \
Z_UTIL_LISTIFY_979(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(979, __VA_ARGS__)
#define Z_UTIL_LISTIFY_981(F, sep, ...) \
Z_UTIL_LISTIFY_980(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(980, __VA_ARGS__)
#define Z_UTIL_LISTIFY_982(F, sep, ...) \
Z_UTIL_LISTIFY_981(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(981, __VA_ARGS__)
#define Z_UTIL_LISTIFY_983(F, sep, ...) \
Z_UTIL_LISTIFY_982(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(982, __VA_ARGS__)
#define Z_UTIL_LISTIFY_984(F, sep, ...) \
Z_UTIL_LISTIFY_983(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(983, __VA_ARGS__)
#define Z_UTIL_LISTIFY_985(F, sep, ...) \
Z_UTIL_LISTIFY_984(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(984, __VA_ARGS__)
#define Z_UTIL_LISTIFY_986(F, sep, ...) \
Z_UTIL_LISTIFY_985(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(985, __VA_ARGS__)
#define Z_UTIL_LISTIFY_987(F, sep, ...) \
Z_UTIL_LISTIFY_986(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(986, __VA_ARGS__)
#define Z_UTIL_LISTIFY_988(F, sep, ...) \
Z_UTIL_LISTIFY_987(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(987, __VA_ARGS__)
#define Z_UTIL_LISTIFY_989(F, sep, ...) \
Z_UTIL_LISTIFY_988(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(988, __VA_ARGS__)
#define Z_UTIL_LISTIFY_990(F, sep, ...) \
Z_UTIL_LISTIFY_989(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(989, __VA_ARGS__)
#define Z_UTIL_LISTIFY_991(F, sep, ...) \
Z_UTIL_LISTIFY_990(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(990, __VA_ARGS__)
#define Z_UTIL_LISTIFY_992(F, sep, ...) \
Z_UTIL_LISTIFY_991(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(991, __VA_ARGS__)
#define Z_UTIL_LISTIFY_993(F, sep, ...) \
Z_UTIL_LISTIFY_992(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(992, __VA_ARGS__)
#define Z_UTIL_LISTIFY_994(F, sep, ...) \
Z_UTIL_LISTIFY_993(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(993, __VA_ARGS__)
#define Z_UTIL_LISTIFY_995(F, sep, ...) \
Z_UTIL_LISTIFY_994(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(994, __VA_ARGS__)
#define Z_UTIL_LISTIFY_996(F, sep, ...) \
Z_UTIL_LISTIFY_995(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(995, __VA_ARGS__)
#define Z_UTIL_LISTIFY_997(F, sep, ...) \
Z_UTIL_LISTIFY_996(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(996, __VA_ARGS__)
#define Z_UTIL_LISTIFY_998(F, sep, ...) \
Z_UTIL_LISTIFY_997(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(997, __VA_ARGS__)
#define Z_UTIL_LISTIFY_999(F, sep, ...) \
Z_UTIL_LISTIFY_998(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(998, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1000(F, sep, ...) \
Z_UTIL_LISTIFY_999(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(999, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1001(F, sep, ...) \
Z_UTIL_LISTIFY_1000(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1000, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1002(F, sep, ...) \
Z_UTIL_LISTIFY_1001(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1001, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1003(F, sep, ...) \
Z_UTIL_LISTIFY_1002(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1002, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1004(F, sep, ...) \
Z_UTIL_LISTIFY_1003(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1003, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1005(F, sep, ...) \
Z_UTIL_LISTIFY_1004(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1004, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1006(F, sep, ...) \
Z_UTIL_LISTIFY_1005(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1005, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1007(F, sep, ...) \
Z_UTIL_LISTIFY_1006(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1006, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1008(F, sep, ...) \
Z_UTIL_LISTIFY_1007(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1007, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1009(F, sep, ...) \
Z_UTIL_LISTIFY_1008(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1008, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1010(F, sep, ...) \
Z_UTIL_LISTIFY_1009(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1009, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1011(F, sep, ...) \
Z_UTIL_LISTIFY_1010(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1010, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1012(F, sep, ...) \
Z_UTIL_LISTIFY_1011(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1011, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1013(F, sep, ...) \
Z_UTIL_LISTIFY_1012(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1012, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1014(F, sep, ...) \
Z_UTIL_LISTIFY_1013(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1013, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1015(F, sep, ...) \
Z_UTIL_LISTIFY_1014(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1014, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1016(F, sep, ...) \
Z_UTIL_LISTIFY_1015(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1015, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1017(F, sep, ...) \
Z_UTIL_LISTIFY_1016(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1016, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1018(F, sep, ...) \
Z_UTIL_LISTIFY_1017(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1017, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1019(F, sep, ...) \
Z_UTIL_LISTIFY_1018(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1018, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1020(F, sep, ...) \
Z_UTIL_LISTIFY_1019(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1019, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1021(F, sep, ...) \
Z_UTIL_LISTIFY_1020(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1020, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1022(F, sep, ...) \
Z_UTIL_LISTIFY_1021(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1021, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1023(F, sep, ...) \
Z_UTIL_LISTIFY_1022(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1022, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1024(F, sep, ...) \
Z_UTIL_LISTIFY_1023(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1023, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1025(F, sep, ...) \
Z_UTIL_LISTIFY_1024(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1024, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1026(F, sep, ...) \
Z_UTIL_LISTIFY_1025(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1025, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1027(F, sep, ...) \
Z_UTIL_LISTIFY_1026(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1026, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1028(F, sep, ...) \
Z_UTIL_LISTIFY_1027(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1027, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1029(F, sep, ...) \
Z_UTIL_LISTIFY_1028(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1028, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1030(F, sep, ...) \
Z_UTIL_LISTIFY_1029(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1029, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1031(F, sep, ...) \
Z_UTIL_LISTIFY_1030(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1030, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1032(F, sep, ...) \
Z_UTIL_LISTIFY_1031(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1031, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1033(F, sep, ...) \
Z_UTIL_LISTIFY_1032(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1032, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1034(F, sep, ...) \
Z_UTIL_LISTIFY_1033(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1033, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1035(F, sep, ...) \
Z_UTIL_LISTIFY_1034(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1034, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1036(F, sep, ...) \
Z_UTIL_LISTIFY_1035(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1035, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1037(F, sep, ...) \
Z_UTIL_LISTIFY_1036(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1036, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1038(F, sep, ...) \
Z_UTIL_LISTIFY_1037(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1037, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1039(F, sep, ...) \
Z_UTIL_LISTIFY_1038(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1038, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1040(F, sep, ...) \
Z_UTIL_LISTIFY_1039(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1039, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1041(F, sep, ...) \
Z_UTIL_LISTIFY_1040(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1040, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1042(F, sep, ...) \
Z_UTIL_LISTIFY_1041(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1041, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1043(F, sep, ...) \
Z_UTIL_LISTIFY_1042(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1042, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1044(F, sep, ...) \
Z_UTIL_LISTIFY_1043(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1043, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1045(F, sep, ...) \
Z_UTIL_LISTIFY_1044(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1044, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1046(F, sep, ...) \
Z_UTIL_LISTIFY_1045(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1045, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1047(F, sep, ...) \
Z_UTIL_LISTIFY_1046(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1046, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1048(F, sep, ...) \
Z_UTIL_LISTIFY_1047(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1047, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1049(F, sep, ...) \
Z_UTIL_LISTIFY_1048(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1048, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1050(F, sep, ...) \
Z_UTIL_LISTIFY_1049(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1049, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1051(F, sep, ...) \
Z_UTIL_LISTIFY_1050(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1050, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1052(F, sep, ...) \
Z_UTIL_LISTIFY_1051(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1051, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1053(F, sep, ...) \
Z_UTIL_LISTIFY_1052(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1052, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1054(F, sep, ...) \
Z_UTIL_LISTIFY_1053(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1053, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1055(F, sep, ...) \
Z_UTIL_LISTIFY_1054(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1054, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1056(F, sep, ...) \
Z_UTIL_LISTIFY_1055(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1055, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1057(F, sep, ...) \
Z_UTIL_LISTIFY_1056(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1056, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1058(F, sep, ...) \
Z_UTIL_LISTIFY_1057(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1057, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1059(F, sep, ...) \
Z_UTIL_LISTIFY_1058(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1058, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1060(F, sep, ...) \
Z_UTIL_LISTIFY_1059(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1059, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1061(F, sep, ...) \
Z_UTIL_LISTIFY_1060(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1060, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1062(F, sep, ...) \
Z_UTIL_LISTIFY_1061(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1061, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1063(F, sep, ...) \
Z_UTIL_LISTIFY_1062(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1062, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1064(F, sep, ...) \
Z_UTIL_LISTIFY_1063(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1063, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1065(F, sep, ...) \
Z_UTIL_LISTIFY_1064(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1064, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1066(F, sep, ...) \
Z_UTIL_LISTIFY_1065(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1065, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1067(F, sep, ...) \
Z_UTIL_LISTIFY_1066(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1066, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1068(F, sep, ...) \
Z_UTIL_LISTIFY_1067(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1067, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1069(F, sep, ...) \
Z_UTIL_LISTIFY_1068(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1068, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1070(F, sep, ...) \
Z_UTIL_LISTIFY_1069(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1069, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1071(F, sep, ...) \
Z_UTIL_LISTIFY_1070(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1070, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1072(F, sep, ...) \
Z_UTIL_LISTIFY_1071(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1071, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1073(F, sep, ...) \
Z_UTIL_LISTIFY_1072(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1072, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1074(F, sep, ...) \
Z_UTIL_LISTIFY_1073(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1073, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1075(F, sep, ...) \
Z_UTIL_LISTIFY_1074(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1074, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1076(F, sep, ...) \
Z_UTIL_LISTIFY_1075(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1075, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1077(F, sep, ...) \
Z_UTIL_LISTIFY_1076(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1076, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1078(F, sep, ...) \
Z_UTIL_LISTIFY_1077(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1077, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1079(F, sep, ...) \
Z_UTIL_LISTIFY_1078(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1078, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1080(F, sep, ...) \
Z_UTIL_LISTIFY_1079(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1079, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1081(F, sep, ...) \
Z_UTIL_LISTIFY_1080(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1080, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1082(F, sep, ...) \
Z_UTIL_LISTIFY_1081(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1081, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1083(F, sep, ...) \
Z_UTIL_LISTIFY_1082(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1082, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1084(F, sep, ...) \
Z_UTIL_LISTIFY_1083(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1083, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1085(F, sep, ...) \
Z_UTIL_LISTIFY_1084(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1084, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1086(F, sep, ...) \
Z_UTIL_LISTIFY_1085(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1085, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1087(F, sep, ...) \
Z_UTIL_LISTIFY_1086(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1086, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1088(F, sep, ...) \
Z_UTIL_LISTIFY_1087(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1087, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1089(F, sep, ...) \
Z_UTIL_LISTIFY_1088(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1088, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1090(F, sep, ...) \
Z_UTIL_LISTIFY_1089(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1089, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1091(F, sep, ...) \
Z_UTIL_LISTIFY_1090(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1090, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1092(F, sep, ...) \
Z_UTIL_LISTIFY_1091(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1091, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1093(F, sep, ...) \
Z_UTIL_LISTIFY_1092(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1092, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1094(F, sep, ...) \
Z_UTIL_LISTIFY_1093(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1093, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1095(F, sep, ...) \
Z_UTIL_LISTIFY_1094(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1094, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1096(F, sep, ...) \
Z_UTIL_LISTIFY_1095(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1095, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1097(F, sep, ...) \
Z_UTIL_LISTIFY_1096(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1096, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1098(F, sep, ...) \
Z_UTIL_LISTIFY_1097(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1097, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1099(F, sep, ...) \
Z_UTIL_LISTIFY_1098(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1098, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1100(F, sep, ...) \
Z_UTIL_LISTIFY_1099(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1099, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1101(F, sep, ...) \
Z_UTIL_LISTIFY_1100(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1100, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1102(F, sep, ...) \
Z_UTIL_LISTIFY_1101(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1101, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1103(F, sep, ...) \
Z_UTIL_LISTIFY_1102(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1102, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1104(F, sep, ...) \
Z_UTIL_LISTIFY_1103(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1103, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1105(F, sep, ...) \
Z_UTIL_LISTIFY_1104(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1104, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1106(F, sep, ...) \
Z_UTIL_LISTIFY_1105(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1105, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1107(F, sep, ...) \
Z_UTIL_LISTIFY_1106(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1106, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1108(F, sep, ...) \
Z_UTIL_LISTIFY_1107(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1107, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1109(F, sep, ...) \
Z_UTIL_LISTIFY_1108(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1108, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1110(F, sep, ...) \
Z_UTIL_LISTIFY_1109(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1109, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1111(F, sep, ...) \
Z_UTIL_LISTIFY_1110(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1110, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1112(F, sep, ...) \
Z_UTIL_LISTIFY_1111(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1111, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1113(F, sep, ...) \
Z_UTIL_LISTIFY_1112(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1112, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1114(F, sep, ...) \
Z_UTIL_LISTIFY_1113(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1113, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1115(F, sep, ...) \
Z_UTIL_LISTIFY_1114(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1114, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1116(F, sep, ...) \
Z_UTIL_LISTIFY_1115(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1115, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1117(F, sep, ...) \
Z_UTIL_LISTIFY_1116(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1116, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1118(F, sep, ...) \
Z_UTIL_LISTIFY_1117(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1117, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1119(F, sep, ...) \
Z_UTIL_LISTIFY_1118(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1118, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1120(F, sep, ...) \
Z_UTIL_LISTIFY_1119(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1119, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1121(F, sep, ...) \
Z_UTIL_LISTIFY_1120(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1120, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1122(F, sep, ...) \
Z_UTIL_LISTIFY_1121(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1121, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1123(F, sep, ...) \
Z_UTIL_LISTIFY_1122(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1122, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1124(F, sep, ...) \
Z_UTIL_LISTIFY_1123(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1123, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1125(F, sep, ...) \
Z_UTIL_LISTIFY_1124(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1124, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1126(F, sep, ...) \
Z_UTIL_LISTIFY_1125(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1125, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1127(F, sep, ...) \
Z_UTIL_LISTIFY_1126(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1126, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1128(F, sep, ...) \
Z_UTIL_LISTIFY_1127(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1127, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1129(F, sep, ...) \
Z_UTIL_LISTIFY_1128(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1128, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1130(F, sep, ...) \
Z_UTIL_LISTIFY_1129(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1129, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1131(F, sep, ...) \
Z_UTIL_LISTIFY_1130(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1130, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1132(F, sep, ...) \
Z_UTIL_LISTIFY_1131(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1131, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1133(F, sep, ...) \
Z_UTIL_LISTIFY_1132(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1132, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1134(F, sep, ...) \
Z_UTIL_LISTIFY_1133(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1133, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1135(F, sep, ...) \
Z_UTIL_LISTIFY_1134(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1134, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1136(F, sep, ...) \
Z_UTIL_LISTIFY_1135(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1135, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1137(F, sep, ...) \
Z_UTIL_LISTIFY_1136(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1136, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1138(F, sep, ...) \
Z_UTIL_LISTIFY_1137(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1137, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1139(F, sep, ...) \
Z_UTIL_LISTIFY_1138(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1138, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1140(F, sep, ...) \
Z_UTIL_LISTIFY_1139(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1139, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1141(F, sep, ...) \
Z_UTIL_LISTIFY_1140(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1140, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1142(F, sep, ...) \
Z_UTIL_LISTIFY_1141(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1141, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1143(F, sep, ...) \
Z_UTIL_LISTIFY_1142(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1142, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1144(F, sep, ...) \
Z_UTIL_LISTIFY_1143(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1143, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1145(F, sep, ...) \
Z_UTIL_LISTIFY_1144(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1144, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1146(F, sep, ...) \
Z_UTIL_LISTIFY_1145(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1145, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1147(F, sep, ...) \
Z_UTIL_LISTIFY_1146(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1146, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1148(F, sep, ...) \
Z_UTIL_LISTIFY_1147(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1147, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1149(F, sep, ...) \
Z_UTIL_LISTIFY_1148(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1148, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1150(F, sep, ...) \
Z_UTIL_LISTIFY_1149(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1149, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1151(F, sep, ...) \
Z_UTIL_LISTIFY_1150(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1150, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1152(F, sep, ...) \
Z_UTIL_LISTIFY_1151(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1151, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1153(F, sep, ...) \
Z_UTIL_LISTIFY_1152(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1152, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1154(F, sep, ...) \
Z_UTIL_LISTIFY_1153(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1153, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1155(F, sep, ...) \
Z_UTIL_LISTIFY_1154(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1154, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1156(F, sep, ...) \
Z_UTIL_LISTIFY_1155(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1155, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1157(F, sep, ...) \
Z_UTIL_LISTIFY_1156(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1156, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1158(F, sep, ...) \
Z_UTIL_LISTIFY_1157(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1157, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1159(F, sep, ...) \
Z_UTIL_LISTIFY_1158(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1158, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1160(F, sep, ...) \
Z_UTIL_LISTIFY_1159(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1159, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1161(F, sep, ...) \
Z_UTIL_LISTIFY_1160(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1160, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1162(F, sep, ...) \
Z_UTIL_LISTIFY_1161(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1161, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1163(F, sep, ...) \
Z_UTIL_LISTIFY_1162(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1162, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1164(F, sep, ...) \
Z_UTIL_LISTIFY_1163(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1163, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1165(F, sep, ...) \
Z_UTIL_LISTIFY_1164(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1164, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1166(F, sep, ...) \
Z_UTIL_LISTIFY_1165(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1165, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1167(F, sep, ...) \
Z_UTIL_LISTIFY_1166(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1166, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1168(F, sep, ...) \
Z_UTIL_LISTIFY_1167(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1167, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1169(F, sep, ...) \
Z_UTIL_LISTIFY_1168(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1168, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1170(F, sep, ...) \
Z_UTIL_LISTIFY_1169(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1169, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1171(F, sep, ...) \
Z_UTIL_LISTIFY_1170(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1170, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1172(F, sep, ...) \
Z_UTIL_LISTIFY_1171(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1171, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1173(F, sep, ...) \
Z_UTIL_LISTIFY_1172(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1172, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1174(F, sep, ...) \
Z_UTIL_LISTIFY_1173(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1173, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1175(F, sep, ...) \
Z_UTIL_LISTIFY_1174(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1174, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1176(F, sep, ...) \
Z_UTIL_LISTIFY_1175(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1175, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1177(F, sep, ...) \
Z_UTIL_LISTIFY_1176(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1176, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1178(F, sep, ...) \
Z_UTIL_LISTIFY_1177(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1177, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1179(F, sep, ...) \
Z_UTIL_LISTIFY_1178(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1178, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1180(F, sep, ...) \
Z_UTIL_LISTIFY_1179(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1179, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1181(F, sep, ...) \
Z_UTIL_LISTIFY_1180(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1180, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1182(F, sep, ...) \
Z_UTIL_LISTIFY_1181(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1181, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1183(F, sep, ...) \
Z_UTIL_LISTIFY_1182(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1182, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1184(F, sep, ...) \
Z_UTIL_LISTIFY_1183(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1183, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1185(F, sep, ...) \
Z_UTIL_LISTIFY_1184(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1184, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1186(F, sep, ...) \
Z_UTIL_LISTIFY_1185(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1185, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1187(F, sep, ...) \
Z_UTIL_LISTIFY_1186(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1186, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1188(F, sep, ...) \
Z_UTIL_LISTIFY_1187(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1187, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1189(F, sep, ...) \
Z_UTIL_LISTIFY_1188(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1188, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1190(F, sep, ...) \
Z_UTIL_LISTIFY_1189(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1189, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1191(F, sep, ...) \
Z_UTIL_LISTIFY_1190(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1190, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1192(F, sep, ...) \
Z_UTIL_LISTIFY_1191(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1191, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1193(F, sep, ...) \
Z_UTIL_LISTIFY_1192(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1192, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1194(F, sep, ...) \
Z_UTIL_LISTIFY_1193(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1193, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1195(F, sep, ...) \
Z_UTIL_LISTIFY_1194(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1194, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1196(F, sep, ...) \
Z_UTIL_LISTIFY_1195(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1195, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1197(F, sep, ...) \
Z_UTIL_LISTIFY_1196(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1196, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1198(F, sep, ...) \
Z_UTIL_LISTIFY_1197(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1197, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1199(F, sep, ...) \
Z_UTIL_LISTIFY_1198(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1198, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1200(F, sep, ...) \
Z_UTIL_LISTIFY_1199(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1199, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1201(F, sep, ...) \
Z_UTIL_LISTIFY_1200(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1200, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1202(F, sep, ...) \
Z_UTIL_LISTIFY_1201(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1201, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1203(F, sep, ...) \
Z_UTIL_LISTIFY_1202(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1202, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1204(F, sep, ...) \
Z_UTIL_LISTIFY_1203(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1203, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1205(F, sep, ...) \
Z_UTIL_LISTIFY_1204(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1204, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1206(F, sep, ...) \
Z_UTIL_LISTIFY_1205(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1205, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1207(F, sep, ...) \
Z_UTIL_LISTIFY_1206(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1206, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1208(F, sep, ...) \
Z_UTIL_LISTIFY_1207(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1207, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1209(F, sep, ...) \
Z_UTIL_LISTIFY_1208(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1208, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1210(F, sep, ...) \
Z_UTIL_LISTIFY_1209(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1209, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1211(F, sep, ...) \
Z_UTIL_LISTIFY_1210(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1210, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1212(F, sep, ...) \
Z_UTIL_LISTIFY_1211(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1211, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1213(F, sep, ...) \
Z_UTIL_LISTIFY_1212(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1212, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1214(F, sep, ...) \
Z_UTIL_LISTIFY_1213(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1213, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1215(F, sep, ...) \
Z_UTIL_LISTIFY_1214(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1214, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1216(F, sep, ...) \
Z_UTIL_LISTIFY_1215(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1215, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1217(F, sep, ...) \
Z_UTIL_LISTIFY_1216(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1216, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1218(F, sep, ...) \
Z_UTIL_LISTIFY_1217(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1217, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1219(F, sep, ...) \
Z_UTIL_LISTIFY_1218(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1218, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1220(F, sep, ...) \
Z_UTIL_LISTIFY_1219(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1219, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1221(F, sep, ...) \
Z_UTIL_LISTIFY_1220(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1220, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1222(F, sep, ...) \
Z_UTIL_LISTIFY_1221(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1221, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1223(F, sep, ...) \
Z_UTIL_LISTIFY_1222(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1222, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1224(F, sep, ...) \
Z_UTIL_LISTIFY_1223(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1223, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1225(F, sep, ...) \
Z_UTIL_LISTIFY_1224(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1224, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1226(F, sep, ...) \
Z_UTIL_LISTIFY_1225(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1225, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1227(F, sep, ...) \
Z_UTIL_LISTIFY_1226(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1226, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1228(F, sep, ...) \
Z_UTIL_LISTIFY_1227(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1227, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1229(F, sep, ...) \
Z_UTIL_LISTIFY_1228(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1228, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1230(F, sep, ...) \
Z_UTIL_LISTIFY_1229(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1229, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1231(F, sep, ...) \
Z_UTIL_LISTIFY_1230(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1230, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1232(F, sep, ...) \
Z_UTIL_LISTIFY_1231(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1231, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1233(F, sep, ...) \
Z_UTIL_LISTIFY_1232(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1232, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1234(F, sep, ...) \
Z_UTIL_LISTIFY_1233(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1233, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1235(F, sep, ...) \
Z_UTIL_LISTIFY_1234(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1234, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1236(F, sep, ...) \
Z_UTIL_LISTIFY_1235(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1235, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1237(F, sep, ...) \
Z_UTIL_LISTIFY_1236(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1236, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1238(F, sep, ...) \
Z_UTIL_LISTIFY_1237(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1237, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1239(F, sep, ...) \
Z_UTIL_LISTIFY_1238(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1238, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1240(F, sep, ...) \
Z_UTIL_LISTIFY_1239(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1239, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1241(F, sep, ...) \
Z_UTIL_LISTIFY_1240(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1240, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1242(F, sep, ...) \
Z_UTIL_LISTIFY_1241(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1241, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1243(F, sep, ...) \
Z_UTIL_LISTIFY_1242(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1242, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1244(F, sep, ...) \
Z_UTIL_LISTIFY_1243(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1243, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1245(F, sep, ...) \
Z_UTIL_LISTIFY_1244(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1244, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1246(F, sep, ...) \
Z_UTIL_LISTIFY_1245(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1245, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1247(F, sep, ...) \
Z_UTIL_LISTIFY_1246(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1246, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1248(F, sep, ...) \
Z_UTIL_LISTIFY_1247(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1247, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1249(F, sep, ...) \
Z_UTIL_LISTIFY_1248(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1248, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1250(F, sep, ...) \
Z_UTIL_LISTIFY_1249(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1249, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1251(F, sep, ...) \
Z_UTIL_LISTIFY_1250(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1250, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1252(F, sep, ...) \
Z_UTIL_LISTIFY_1251(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1251, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1253(F, sep, ...) \
Z_UTIL_LISTIFY_1252(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1252, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1254(F, sep, ...) \
Z_UTIL_LISTIFY_1253(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1253, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1255(F, sep, ...) \
Z_UTIL_LISTIFY_1254(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1254, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1256(F, sep, ...) \
Z_UTIL_LISTIFY_1255(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1255, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1257(F, sep, ...) \
Z_UTIL_LISTIFY_1256(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1256, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1258(F, sep, ...) \
Z_UTIL_LISTIFY_1257(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1257, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1259(F, sep, ...) \
Z_UTIL_LISTIFY_1258(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1258, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1260(F, sep, ...) \
Z_UTIL_LISTIFY_1259(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1259, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1261(F, sep, ...) \
Z_UTIL_LISTIFY_1260(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1260, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1262(F, sep, ...) \
Z_UTIL_LISTIFY_1261(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1261, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1263(F, sep, ...) \
Z_UTIL_LISTIFY_1262(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1262, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1264(F, sep, ...) \
Z_UTIL_LISTIFY_1263(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1263, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1265(F, sep, ...) \
Z_UTIL_LISTIFY_1264(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1264, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1266(F, sep, ...) \
Z_UTIL_LISTIFY_1265(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1265, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1267(F, sep, ...) \
Z_UTIL_LISTIFY_1266(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1266, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1268(F, sep, ...) \
Z_UTIL_LISTIFY_1267(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1267, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1269(F, sep, ...) \
Z_UTIL_LISTIFY_1268(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1268, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1270(F, sep, ...) \
Z_UTIL_LISTIFY_1269(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1269, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1271(F, sep, ...) \
Z_UTIL_LISTIFY_1270(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1270, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1272(F, sep, ...) \
Z_UTIL_LISTIFY_1271(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1271, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1273(F, sep, ...) \
Z_UTIL_LISTIFY_1272(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1272, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1274(F, sep, ...) \
Z_UTIL_LISTIFY_1273(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1273, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1275(F, sep, ...) \
Z_UTIL_LISTIFY_1274(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1274, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1276(F, sep, ...) \
Z_UTIL_LISTIFY_1275(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1275, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1277(F, sep, ...) \
Z_UTIL_LISTIFY_1276(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1276, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1278(F, sep, ...) \
Z_UTIL_LISTIFY_1277(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1277, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1279(F, sep, ...) \
Z_UTIL_LISTIFY_1278(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1278, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1280(F, sep, ...) \
Z_UTIL_LISTIFY_1279(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1279, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1281(F, sep, ...) \
Z_UTIL_LISTIFY_1280(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1280, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1282(F, sep, ...) \
Z_UTIL_LISTIFY_1281(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1281, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1283(F, sep, ...) \
Z_UTIL_LISTIFY_1282(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1282, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1284(F, sep, ...) \
Z_UTIL_LISTIFY_1283(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1283, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1285(F, sep, ...) \
Z_UTIL_LISTIFY_1284(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1284, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1286(F, sep, ...) \
Z_UTIL_LISTIFY_1285(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1285, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1287(F, sep, ...) \
Z_UTIL_LISTIFY_1286(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1286, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1288(F, sep, ...) \
Z_UTIL_LISTIFY_1287(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1287, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1289(F, sep, ...) \
Z_UTIL_LISTIFY_1288(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1288, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1290(F, sep, ...) \
Z_UTIL_LISTIFY_1289(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1289, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1291(F, sep, ...) \
Z_UTIL_LISTIFY_1290(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1290, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1292(F, sep, ...) \
Z_UTIL_LISTIFY_1291(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1291, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1293(F, sep, ...) \
Z_UTIL_LISTIFY_1292(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1292, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1294(F, sep, ...) \
Z_UTIL_LISTIFY_1293(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1293, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1295(F, sep, ...) \
Z_UTIL_LISTIFY_1294(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1294, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1296(F, sep, ...) \
Z_UTIL_LISTIFY_1295(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1295, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1297(F, sep, ...) \
Z_UTIL_LISTIFY_1296(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1296, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1298(F, sep, ...) \
Z_UTIL_LISTIFY_1297(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1297, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1299(F, sep, ...) \
Z_UTIL_LISTIFY_1298(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1298, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1300(F, sep, ...) \
Z_UTIL_LISTIFY_1299(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1299, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1301(F, sep, ...) \
Z_UTIL_LISTIFY_1300(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1300, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1302(F, sep, ...) \
Z_UTIL_LISTIFY_1301(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1301, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1303(F, sep, ...) \
Z_UTIL_LISTIFY_1302(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1302, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1304(F, sep, ...) \
Z_UTIL_LISTIFY_1303(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1303, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1305(F, sep, ...) \
Z_UTIL_LISTIFY_1304(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1304, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1306(F, sep, ...) \
Z_UTIL_LISTIFY_1305(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1305, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1307(F, sep, ...) \
Z_UTIL_LISTIFY_1306(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1306, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1308(F, sep, ...) \
Z_UTIL_LISTIFY_1307(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1307, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1309(F, sep, ...) \
Z_UTIL_LISTIFY_1308(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1308, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1310(F, sep, ...) \
Z_UTIL_LISTIFY_1309(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1309, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1311(F, sep, ...) \
Z_UTIL_LISTIFY_1310(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1310, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1312(F, sep, ...) \
Z_UTIL_LISTIFY_1311(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1311, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1313(F, sep, ...) \
Z_UTIL_LISTIFY_1312(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1312, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1314(F, sep, ...) \
Z_UTIL_LISTIFY_1313(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1313, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1315(F, sep, ...) \
Z_UTIL_LISTIFY_1314(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1314, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1316(F, sep, ...) \
Z_UTIL_LISTIFY_1315(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1315, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1317(F, sep, ...) \
Z_UTIL_LISTIFY_1316(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1316, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1318(F, sep, ...) \
Z_UTIL_LISTIFY_1317(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1317, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1319(F, sep, ...) \
Z_UTIL_LISTIFY_1318(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1318, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1320(F, sep, ...) \
Z_UTIL_LISTIFY_1319(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1319, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1321(F, sep, ...) \
Z_UTIL_LISTIFY_1320(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1320, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1322(F, sep, ...) \
Z_UTIL_LISTIFY_1321(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1321, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1323(F, sep, ...) \
Z_UTIL_LISTIFY_1322(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1322, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1324(F, sep, ...) \
Z_UTIL_LISTIFY_1323(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1323, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1325(F, sep, ...) \
Z_UTIL_LISTIFY_1324(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1324, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1326(F, sep, ...) \
Z_UTIL_LISTIFY_1325(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1325, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1327(F, sep, ...) \
Z_UTIL_LISTIFY_1326(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1326, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1328(F, sep, ...) \
Z_UTIL_LISTIFY_1327(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1327, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1329(F, sep, ...) \
Z_UTIL_LISTIFY_1328(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1328, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1330(F, sep, ...) \
Z_UTIL_LISTIFY_1329(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1329, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1331(F, sep, ...) \
Z_UTIL_LISTIFY_1330(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1330, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1332(F, sep, ...) \
Z_UTIL_LISTIFY_1331(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1331, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1333(F, sep, ...) \
Z_UTIL_LISTIFY_1332(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1332, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1334(F, sep, ...) \
Z_UTIL_LISTIFY_1333(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1333, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1335(F, sep, ...) \
Z_UTIL_LISTIFY_1334(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1334, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1336(F, sep, ...) \
Z_UTIL_LISTIFY_1335(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1335, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1337(F, sep, ...) \
Z_UTIL_LISTIFY_1336(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1336, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1338(F, sep, ...) \
Z_UTIL_LISTIFY_1337(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1337, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1339(F, sep, ...) \
Z_UTIL_LISTIFY_1338(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1338, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1340(F, sep, ...) \
Z_UTIL_LISTIFY_1339(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1339, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1341(F, sep, ...) \
Z_UTIL_LISTIFY_1340(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1340, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1342(F, sep, ...) \
Z_UTIL_LISTIFY_1341(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1341, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1343(F, sep, ...) \
Z_UTIL_LISTIFY_1342(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1342, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1344(F, sep, ...) \
Z_UTIL_LISTIFY_1343(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1343, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1345(F, sep, ...) \
Z_UTIL_LISTIFY_1344(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1344, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1346(F, sep, ...) \
Z_UTIL_LISTIFY_1345(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1345, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1347(F, sep, ...) \
Z_UTIL_LISTIFY_1346(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1346, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1348(F, sep, ...) \
Z_UTIL_LISTIFY_1347(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1347, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1349(F, sep, ...) \
Z_UTIL_LISTIFY_1348(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1348, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1350(F, sep, ...) \
Z_UTIL_LISTIFY_1349(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1349, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1351(F, sep, ...) \
Z_UTIL_LISTIFY_1350(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1350, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1352(F, sep, ...) \
Z_UTIL_LISTIFY_1351(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1351, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1353(F, sep, ...) \
Z_UTIL_LISTIFY_1352(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1352, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1354(F, sep, ...) \
Z_UTIL_LISTIFY_1353(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1353, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1355(F, sep, ...) \
Z_UTIL_LISTIFY_1354(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1354, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1356(F, sep, ...) \
Z_UTIL_LISTIFY_1355(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1355, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1357(F, sep, ...) \
Z_UTIL_LISTIFY_1356(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1356, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1358(F, sep, ...) \
Z_UTIL_LISTIFY_1357(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1357, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1359(F, sep, ...) \
Z_UTIL_LISTIFY_1358(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1358, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1360(F, sep, ...) \
Z_UTIL_LISTIFY_1359(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1359, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1361(F, sep, ...) \
Z_UTIL_LISTIFY_1360(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1360, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1362(F, sep, ...) \
Z_UTIL_LISTIFY_1361(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1361, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1363(F, sep, ...) \
Z_UTIL_LISTIFY_1362(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1362, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1364(F, sep, ...) \
Z_UTIL_LISTIFY_1363(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1363, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1365(F, sep, ...) \
Z_UTIL_LISTIFY_1364(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1364, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1366(F, sep, ...) \
Z_UTIL_LISTIFY_1365(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1365, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1367(F, sep, ...) \
Z_UTIL_LISTIFY_1366(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1366, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1368(F, sep, ...) \
Z_UTIL_LISTIFY_1367(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1367, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1369(F, sep, ...) \
Z_UTIL_LISTIFY_1368(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1368, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1370(F, sep, ...) \
Z_UTIL_LISTIFY_1369(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1369, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1371(F, sep, ...) \
Z_UTIL_LISTIFY_1370(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1370, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1372(F, sep, ...) \
Z_UTIL_LISTIFY_1371(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1371, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1373(F, sep, ...) \
Z_UTIL_LISTIFY_1372(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1372, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1374(F, sep, ...) \
Z_UTIL_LISTIFY_1373(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1373, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1375(F, sep, ...) \
Z_UTIL_LISTIFY_1374(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1374, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1376(F, sep, ...) \
Z_UTIL_LISTIFY_1375(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1375, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1377(F, sep, ...) \
Z_UTIL_LISTIFY_1376(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1376, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1378(F, sep, ...) \
Z_UTIL_LISTIFY_1377(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1377, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1379(F, sep, ...) \
Z_UTIL_LISTIFY_1378(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1378, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1380(F, sep, ...) \
Z_UTIL_LISTIFY_1379(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1379, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1381(F, sep, ...) \
Z_UTIL_LISTIFY_1380(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1380, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1382(F, sep, ...) \
Z_UTIL_LISTIFY_1381(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1381, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1383(F, sep, ...) \
Z_UTIL_LISTIFY_1382(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1382, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1384(F, sep, ...) \
Z_UTIL_LISTIFY_1383(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1383, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1385(F, sep, ...) \
Z_UTIL_LISTIFY_1384(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1384, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1386(F, sep, ...) \
Z_UTIL_LISTIFY_1385(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1385, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1387(F, sep, ...) \
Z_UTIL_LISTIFY_1386(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1386, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1388(F, sep, ...) \
Z_UTIL_LISTIFY_1387(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1387, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1389(F, sep, ...) \
Z_UTIL_LISTIFY_1388(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1388, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1390(F, sep, ...) \
Z_UTIL_LISTIFY_1389(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1389, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1391(F, sep, ...) \
Z_UTIL_LISTIFY_1390(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1390, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1392(F, sep, ...) \
Z_UTIL_LISTIFY_1391(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1391, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1393(F, sep, ...) \
Z_UTIL_LISTIFY_1392(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1392, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1394(F, sep, ...) \
Z_UTIL_LISTIFY_1393(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1393, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1395(F, sep, ...) \
Z_UTIL_LISTIFY_1394(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1394, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1396(F, sep, ...) \
Z_UTIL_LISTIFY_1395(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1395, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1397(F, sep, ...) \
Z_UTIL_LISTIFY_1396(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1396, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1398(F, sep, ...) \
Z_UTIL_LISTIFY_1397(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1397, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1399(F, sep, ...) \
Z_UTIL_LISTIFY_1398(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1398, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1400(F, sep, ...) \
Z_UTIL_LISTIFY_1399(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1399, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1401(F, sep, ...) \
Z_UTIL_LISTIFY_1400(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1400, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1402(F, sep, ...) \
Z_UTIL_LISTIFY_1401(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1401, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1403(F, sep, ...) \
Z_UTIL_LISTIFY_1402(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1402, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1404(F, sep, ...) \
Z_UTIL_LISTIFY_1403(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1403, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1405(F, sep, ...) \
Z_UTIL_LISTIFY_1404(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1404, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1406(F, sep, ...) \
Z_UTIL_LISTIFY_1405(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1405, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1407(F, sep, ...) \
Z_UTIL_LISTIFY_1406(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1406, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1408(F, sep, ...) \
Z_UTIL_LISTIFY_1407(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1407, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1409(F, sep, ...) \
Z_UTIL_LISTIFY_1408(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1408, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1410(F, sep, ...) \
Z_UTIL_LISTIFY_1409(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1409, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1411(F, sep, ...) \
Z_UTIL_LISTIFY_1410(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1410, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1412(F, sep, ...) \
Z_UTIL_LISTIFY_1411(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1411, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1413(F, sep, ...) \
Z_UTIL_LISTIFY_1412(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1412, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1414(F, sep, ...) \
Z_UTIL_LISTIFY_1413(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1413, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1415(F, sep, ...) \
Z_UTIL_LISTIFY_1414(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1414, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1416(F, sep, ...) \
Z_UTIL_LISTIFY_1415(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1415, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1417(F, sep, ...) \
Z_UTIL_LISTIFY_1416(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1416, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1418(F, sep, ...) \
Z_UTIL_LISTIFY_1417(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1417, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1419(F, sep, ...) \
Z_UTIL_LISTIFY_1418(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1418, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1420(F, sep, ...) \
Z_UTIL_LISTIFY_1419(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1419, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1421(F, sep, ...) \
Z_UTIL_LISTIFY_1420(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1420, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1422(F, sep, ...) \
Z_UTIL_LISTIFY_1421(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1421, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1423(F, sep, ...) \
Z_UTIL_LISTIFY_1422(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1422, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1424(F, sep, ...) \
Z_UTIL_LISTIFY_1423(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1423, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1425(F, sep, ...) \
Z_UTIL_LISTIFY_1424(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1424, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1426(F, sep, ...) \
Z_UTIL_LISTIFY_1425(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1425, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1427(F, sep, ...) \
Z_UTIL_LISTIFY_1426(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1426, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1428(F, sep, ...) \
Z_UTIL_LISTIFY_1427(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1427, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1429(F, sep, ...) \
Z_UTIL_LISTIFY_1428(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1428, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1430(F, sep, ...) \
Z_UTIL_LISTIFY_1429(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1429, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1431(F, sep, ...) \
Z_UTIL_LISTIFY_1430(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1430, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1432(F, sep, ...) \
Z_UTIL_LISTIFY_1431(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1431, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1433(F, sep, ...) \
Z_UTIL_LISTIFY_1432(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1432, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1434(F, sep, ...) \
Z_UTIL_LISTIFY_1433(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1433, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1435(F, sep, ...) \
Z_UTIL_LISTIFY_1434(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1434, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1436(F, sep, ...) \
Z_UTIL_LISTIFY_1435(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1435, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1437(F, sep, ...) \
Z_UTIL_LISTIFY_1436(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1436, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1438(F, sep, ...) \
Z_UTIL_LISTIFY_1437(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1437, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1439(F, sep, ...) \
Z_UTIL_LISTIFY_1438(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1438, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1440(F, sep, ...) \
Z_UTIL_LISTIFY_1439(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1439, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1441(F, sep, ...) \
Z_UTIL_LISTIFY_1440(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1440, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1442(F, sep, ...) \
Z_UTIL_LISTIFY_1441(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1441, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1443(F, sep, ...) \
Z_UTIL_LISTIFY_1442(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1442, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1444(F, sep, ...) \
Z_UTIL_LISTIFY_1443(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1443, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1445(F, sep, ...) \
Z_UTIL_LISTIFY_1444(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1444, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1446(F, sep, ...) \
Z_UTIL_LISTIFY_1445(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1445, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1447(F, sep, ...) \
Z_UTIL_LISTIFY_1446(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1446, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1448(F, sep, ...) \
Z_UTIL_LISTIFY_1447(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1447, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1449(F, sep, ...) \
Z_UTIL_LISTIFY_1448(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1448, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1450(F, sep, ...) \
Z_UTIL_LISTIFY_1449(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1449, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1451(F, sep, ...) \
Z_UTIL_LISTIFY_1450(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1450, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1452(F, sep, ...) \
Z_UTIL_LISTIFY_1451(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1451, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1453(F, sep, ...) \
Z_UTIL_LISTIFY_1452(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1452, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1454(F, sep, ...) \
Z_UTIL_LISTIFY_1453(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1453, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1455(F, sep, ...) \
Z_UTIL_LISTIFY_1454(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1454, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1456(F, sep, ...) \
Z_UTIL_LISTIFY_1455(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1455, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1457(F, sep, ...) \
Z_UTIL_LISTIFY_1456(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1456, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1458(F, sep, ...) \
Z_UTIL_LISTIFY_1457(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1457, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1459(F, sep, ...) \
Z_UTIL_LISTIFY_1458(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1458, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1460(F, sep, ...) \
Z_UTIL_LISTIFY_1459(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1459, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1461(F, sep, ...) \
Z_UTIL_LISTIFY_1460(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1460, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1462(F, sep, ...) \
Z_UTIL_LISTIFY_1461(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1461, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1463(F, sep, ...) \
Z_UTIL_LISTIFY_1462(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1462, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1464(F, sep, ...) \
Z_UTIL_LISTIFY_1463(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1463, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1465(F, sep, ...) \
Z_UTIL_LISTIFY_1464(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1464, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1466(F, sep, ...) \
Z_UTIL_LISTIFY_1465(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1465, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1467(F, sep, ...) \
Z_UTIL_LISTIFY_1466(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1466, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1468(F, sep, ...) \
Z_UTIL_LISTIFY_1467(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1467, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1469(F, sep, ...) \
Z_UTIL_LISTIFY_1468(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1468, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1470(F, sep, ...) \
Z_UTIL_LISTIFY_1469(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1469, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1471(F, sep, ...) \
Z_UTIL_LISTIFY_1470(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1470, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1472(F, sep, ...) \
Z_UTIL_LISTIFY_1471(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1471, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1473(F, sep, ...) \
Z_UTIL_LISTIFY_1472(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1472, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1474(F, sep, ...) \
Z_UTIL_LISTIFY_1473(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1473, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1475(F, sep, ...) \
Z_UTIL_LISTIFY_1474(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1474, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1476(F, sep, ...) \
Z_UTIL_LISTIFY_1475(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1475, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1477(F, sep, ...) \
Z_UTIL_LISTIFY_1476(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1476, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1478(F, sep, ...) \
Z_UTIL_LISTIFY_1477(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1477, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1479(F, sep, ...) \
Z_UTIL_LISTIFY_1478(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1478, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1480(F, sep, ...) \
Z_UTIL_LISTIFY_1479(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1479, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1481(F, sep, ...) \
Z_UTIL_LISTIFY_1480(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1480, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1482(F, sep, ...) \
Z_UTIL_LISTIFY_1481(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1481, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1483(F, sep, ...) \
Z_UTIL_LISTIFY_1482(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1482, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1484(F, sep, ...) \
Z_UTIL_LISTIFY_1483(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1483, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1485(F, sep, ...) \
Z_UTIL_LISTIFY_1484(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1484, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1486(F, sep, ...) \
Z_UTIL_LISTIFY_1485(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1485, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1487(F, sep, ...) \
Z_UTIL_LISTIFY_1486(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1486, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1488(F, sep, ...) \
Z_UTIL_LISTIFY_1487(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1487, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1489(F, sep, ...) \
Z_UTIL_LISTIFY_1488(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1488, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1490(F, sep, ...) \
Z_UTIL_LISTIFY_1489(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1489, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1491(F, sep, ...) \
Z_UTIL_LISTIFY_1490(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1490, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1492(F, sep, ...) \
Z_UTIL_LISTIFY_1491(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1491, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1493(F, sep, ...) \
Z_UTIL_LISTIFY_1492(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1492, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1494(F, sep, ...) \
Z_UTIL_LISTIFY_1493(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1493, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1495(F, sep, ...) \
Z_UTIL_LISTIFY_1494(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1494, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1496(F, sep, ...) \
Z_UTIL_LISTIFY_1495(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1495, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1497(F, sep, ...) \
Z_UTIL_LISTIFY_1496(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1496, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1498(F, sep, ...) \
Z_UTIL_LISTIFY_1497(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1497, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1499(F, sep, ...) \
Z_UTIL_LISTIFY_1498(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1498, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1500(F, sep, ...) \
Z_UTIL_LISTIFY_1499(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1499, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1501(F, sep, ...) \
Z_UTIL_LISTIFY_1500(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1500, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1502(F, sep, ...) \
Z_UTIL_LISTIFY_1501(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1501, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1503(F, sep, ...) \
Z_UTIL_LISTIFY_1502(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1502, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1504(F, sep, ...) \
Z_UTIL_LISTIFY_1503(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1503, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1505(F, sep, ...) \
Z_UTIL_LISTIFY_1504(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1504, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1506(F, sep, ...) \
Z_UTIL_LISTIFY_1505(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1505, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1507(F, sep, ...) \
Z_UTIL_LISTIFY_1506(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1506, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1508(F, sep, ...) \
Z_UTIL_LISTIFY_1507(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1507, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1509(F, sep, ...) \
Z_UTIL_LISTIFY_1508(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1508, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1510(F, sep, ...) \
Z_UTIL_LISTIFY_1509(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1509, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1511(F, sep, ...) \
Z_UTIL_LISTIFY_1510(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1510, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1512(F, sep, ...) \
Z_UTIL_LISTIFY_1511(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1511, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1513(F, sep, ...) \
Z_UTIL_LISTIFY_1512(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1512, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1514(F, sep, ...) \
Z_UTIL_LISTIFY_1513(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1513, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1515(F, sep, ...) \
Z_UTIL_LISTIFY_1514(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1514, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1516(F, sep, ...) \
Z_UTIL_LISTIFY_1515(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1515, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1517(F, sep, ...) \
Z_UTIL_LISTIFY_1516(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1516, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1518(F, sep, ...) \
Z_UTIL_LISTIFY_1517(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1517, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1519(F, sep, ...) \
Z_UTIL_LISTIFY_1518(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1518, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1520(F, sep, ...) \
Z_UTIL_LISTIFY_1519(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1519, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1521(F, sep, ...) \
Z_UTIL_LISTIFY_1520(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1520, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1522(F, sep, ...) \
Z_UTIL_LISTIFY_1521(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1521, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1523(F, sep, ...) \
Z_UTIL_LISTIFY_1522(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1522, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1524(F, sep, ...) \
Z_UTIL_LISTIFY_1523(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1523, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1525(F, sep, ...) \
Z_UTIL_LISTIFY_1524(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1524, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1526(F, sep, ...) \
Z_UTIL_LISTIFY_1525(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1525, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1527(F, sep, ...) \
Z_UTIL_LISTIFY_1526(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1526, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1528(F, sep, ...) \
Z_UTIL_LISTIFY_1527(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1527, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1529(F, sep, ...) \
Z_UTIL_LISTIFY_1528(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1528, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1530(F, sep, ...) \
Z_UTIL_LISTIFY_1529(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1529, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1531(F, sep, ...) \
Z_UTIL_LISTIFY_1530(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1530, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1532(F, sep, ...) \
Z_UTIL_LISTIFY_1531(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1531, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1533(F, sep, ...) \
Z_UTIL_LISTIFY_1532(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1532, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1534(F, sep, ...) \
Z_UTIL_LISTIFY_1533(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1533, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1535(F, sep, ...) \
Z_UTIL_LISTIFY_1534(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1534, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1536(F, sep, ...) \
Z_UTIL_LISTIFY_1535(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1535, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1537(F, sep, ...) \
Z_UTIL_LISTIFY_1536(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1536, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1538(F, sep, ...) \
Z_UTIL_LISTIFY_1537(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1537, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1539(F, sep, ...) \
Z_UTIL_LISTIFY_1538(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1538, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1540(F, sep, ...) \
Z_UTIL_LISTIFY_1539(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1539, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1541(F, sep, ...) \
Z_UTIL_LISTIFY_1540(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1540, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1542(F, sep, ...) \
Z_UTIL_LISTIFY_1541(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1541, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1543(F, sep, ...) \
Z_UTIL_LISTIFY_1542(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1542, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1544(F, sep, ...) \
Z_UTIL_LISTIFY_1543(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1543, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1545(F, sep, ...) \
Z_UTIL_LISTIFY_1544(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1544, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1546(F, sep, ...) \
Z_UTIL_LISTIFY_1545(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1545, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1547(F, sep, ...) \
Z_UTIL_LISTIFY_1546(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1546, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1548(F, sep, ...) \
Z_UTIL_LISTIFY_1547(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1547, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1549(F, sep, ...) \
Z_UTIL_LISTIFY_1548(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1548, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1550(F, sep, ...) \
Z_UTIL_LISTIFY_1549(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1549, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1551(F, sep, ...) \
Z_UTIL_LISTIFY_1550(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1550, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1552(F, sep, ...) \
Z_UTIL_LISTIFY_1551(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1551, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1553(F, sep, ...) \
Z_UTIL_LISTIFY_1552(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1552, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1554(F, sep, ...) \
Z_UTIL_LISTIFY_1553(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1553, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1555(F, sep, ...) \
Z_UTIL_LISTIFY_1554(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1554, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1556(F, sep, ...) \
Z_UTIL_LISTIFY_1555(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1555, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1557(F, sep, ...) \
Z_UTIL_LISTIFY_1556(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1556, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1558(F, sep, ...) \
Z_UTIL_LISTIFY_1557(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1557, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1559(F, sep, ...) \
Z_UTIL_LISTIFY_1558(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1558, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1560(F, sep, ...) \
Z_UTIL_LISTIFY_1559(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1559, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1561(F, sep, ...) \
Z_UTIL_LISTIFY_1560(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1560, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1562(F, sep, ...) \
Z_UTIL_LISTIFY_1561(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1561, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1563(F, sep, ...) \
Z_UTIL_LISTIFY_1562(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1562, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1564(F, sep, ...) \
Z_UTIL_LISTIFY_1563(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1563, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1565(F, sep, ...) \
Z_UTIL_LISTIFY_1564(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1564, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1566(F, sep, ...) \
Z_UTIL_LISTIFY_1565(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1565, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1567(F, sep, ...) \
Z_UTIL_LISTIFY_1566(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1566, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1568(F, sep, ...) \
Z_UTIL_LISTIFY_1567(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1567, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1569(F, sep, ...) \
Z_UTIL_LISTIFY_1568(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1568, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1570(F, sep, ...) \
Z_UTIL_LISTIFY_1569(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1569, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1571(F, sep, ...) \
Z_UTIL_LISTIFY_1570(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1570, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1572(F, sep, ...) \
Z_UTIL_LISTIFY_1571(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1571, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1573(F, sep, ...) \
Z_UTIL_LISTIFY_1572(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1572, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1574(F, sep, ...) \
Z_UTIL_LISTIFY_1573(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1573, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1575(F, sep, ...) \
Z_UTIL_LISTIFY_1574(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1574, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1576(F, sep, ...) \
Z_UTIL_LISTIFY_1575(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1575, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1577(F, sep, ...) \
Z_UTIL_LISTIFY_1576(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1576, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1578(F, sep, ...) \
Z_UTIL_LISTIFY_1577(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1577, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1579(F, sep, ...) \
Z_UTIL_LISTIFY_1578(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1578, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1580(F, sep, ...) \
Z_UTIL_LISTIFY_1579(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1579, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1581(F, sep, ...) \
Z_UTIL_LISTIFY_1580(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1580, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1582(F, sep, ...) \
Z_UTIL_LISTIFY_1581(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1581, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1583(F, sep, ...) \
Z_UTIL_LISTIFY_1582(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1582, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1584(F, sep, ...) \
Z_UTIL_LISTIFY_1583(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1583, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1585(F, sep, ...) \
Z_UTIL_LISTIFY_1584(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1584, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1586(F, sep, ...) \
Z_UTIL_LISTIFY_1585(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1585, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1587(F, sep, ...) \
Z_UTIL_LISTIFY_1586(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1586, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1588(F, sep, ...) \
Z_UTIL_LISTIFY_1587(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1587, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1589(F, sep, ...) \
Z_UTIL_LISTIFY_1588(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1588, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1590(F, sep, ...) \
Z_UTIL_LISTIFY_1589(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1589, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1591(F, sep, ...) \
Z_UTIL_LISTIFY_1590(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1590, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1592(F, sep, ...) \
Z_UTIL_LISTIFY_1591(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1591, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1593(F, sep, ...) \
Z_UTIL_LISTIFY_1592(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1592, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1594(F, sep, ...) \
Z_UTIL_LISTIFY_1593(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1593, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1595(F, sep, ...) \
Z_UTIL_LISTIFY_1594(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1594, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1596(F, sep, ...) \
Z_UTIL_LISTIFY_1595(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1595, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1597(F, sep, ...) \
Z_UTIL_LISTIFY_1596(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1596, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1598(F, sep, ...) \
Z_UTIL_LISTIFY_1597(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1597, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1599(F, sep, ...) \
Z_UTIL_LISTIFY_1598(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1598, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1600(F, sep, ...) \
Z_UTIL_LISTIFY_1599(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1599, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1601(F, sep, ...) \
Z_UTIL_LISTIFY_1600(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1600, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1602(F, sep, ...) \
Z_UTIL_LISTIFY_1601(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1601, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1603(F, sep, ...) \
Z_UTIL_LISTIFY_1602(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1602, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1604(F, sep, ...) \
Z_UTIL_LISTIFY_1603(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1603, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1605(F, sep, ...) \
Z_UTIL_LISTIFY_1604(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1604, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1606(F, sep, ...) \
Z_UTIL_LISTIFY_1605(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1605, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1607(F, sep, ...) \
Z_UTIL_LISTIFY_1606(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1606, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1608(F, sep, ...) \
Z_UTIL_LISTIFY_1607(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1607, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1609(F, sep, ...) \
Z_UTIL_LISTIFY_1608(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1608, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1610(F, sep, ...) \
Z_UTIL_LISTIFY_1609(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1609, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1611(F, sep, ...) \
Z_UTIL_LISTIFY_1610(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1610, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1612(F, sep, ...) \
Z_UTIL_LISTIFY_1611(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1611, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1613(F, sep, ...) \
Z_UTIL_LISTIFY_1612(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1612, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1614(F, sep, ...) \
Z_UTIL_LISTIFY_1613(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1613, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1615(F, sep, ...) \
Z_UTIL_LISTIFY_1614(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1614, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1616(F, sep, ...) \
Z_UTIL_LISTIFY_1615(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1615, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1617(F, sep, ...) \
Z_UTIL_LISTIFY_1616(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1616, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1618(F, sep, ...) \
Z_UTIL_LISTIFY_1617(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1617, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1619(F, sep, ...) \
Z_UTIL_LISTIFY_1618(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1618, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1620(F, sep, ...) \
Z_UTIL_LISTIFY_1619(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1619, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1621(F, sep, ...) \
Z_UTIL_LISTIFY_1620(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1620, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1622(F, sep, ...) \
Z_UTIL_LISTIFY_1621(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1621, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1623(F, sep, ...) \
Z_UTIL_LISTIFY_1622(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1622, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1624(F, sep, ...) \
Z_UTIL_LISTIFY_1623(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1623, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1625(F, sep, ...) \
Z_UTIL_LISTIFY_1624(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1624, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1626(F, sep, ...) \
Z_UTIL_LISTIFY_1625(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1625, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1627(F, sep, ...) \
Z_UTIL_LISTIFY_1626(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1626, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1628(F, sep, ...) \
Z_UTIL_LISTIFY_1627(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1627, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1629(F, sep, ...) \
Z_UTIL_LISTIFY_1628(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1628, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1630(F, sep, ...) \
Z_UTIL_LISTIFY_1629(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1629, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1631(F, sep, ...) \
Z_UTIL_LISTIFY_1630(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1630, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1632(F, sep, ...) \
Z_UTIL_LISTIFY_1631(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1631, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1633(F, sep, ...) \
Z_UTIL_LISTIFY_1632(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1632, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1634(F, sep, ...) \
Z_UTIL_LISTIFY_1633(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1633, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1635(F, sep, ...) \
Z_UTIL_LISTIFY_1634(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1634, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1636(F, sep, ...) \
Z_UTIL_LISTIFY_1635(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1635, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1637(F, sep, ...) \
Z_UTIL_LISTIFY_1636(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1636, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1638(F, sep, ...) \
Z_UTIL_LISTIFY_1637(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1637, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1639(F, sep, ...) \
Z_UTIL_LISTIFY_1638(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1638, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1640(F, sep, ...) \
Z_UTIL_LISTIFY_1639(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1639, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1641(F, sep, ...) \
Z_UTIL_LISTIFY_1640(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1640, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1642(F, sep, ...) \
Z_UTIL_LISTIFY_1641(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1641, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1643(F, sep, ...) \
Z_UTIL_LISTIFY_1642(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1642, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1644(F, sep, ...) \
Z_UTIL_LISTIFY_1643(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1643, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1645(F, sep, ...) \
Z_UTIL_LISTIFY_1644(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1644, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1646(F, sep, ...) \
Z_UTIL_LISTIFY_1645(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1645, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1647(F, sep, ...) \
Z_UTIL_LISTIFY_1646(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1646, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1648(F, sep, ...) \
Z_UTIL_LISTIFY_1647(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1647, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1649(F, sep, ...) \
Z_UTIL_LISTIFY_1648(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1648, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1650(F, sep, ...) \
Z_UTIL_LISTIFY_1649(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1649, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1651(F, sep, ...) \
Z_UTIL_LISTIFY_1650(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1650, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1652(F, sep, ...) \
Z_UTIL_LISTIFY_1651(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1651, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1653(F, sep, ...) \
Z_UTIL_LISTIFY_1652(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1652, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1654(F, sep, ...) \
Z_UTIL_LISTIFY_1653(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1653, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1655(F, sep, ...) \
Z_UTIL_LISTIFY_1654(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1654, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1656(F, sep, ...) \
Z_UTIL_LISTIFY_1655(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1655, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1657(F, sep, ...) \
Z_UTIL_LISTIFY_1656(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1656, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1658(F, sep, ...) \
Z_UTIL_LISTIFY_1657(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1657, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1659(F, sep, ...) \
Z_UTIL_LISTIFY_1658(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1658, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1660(F, sep, ...) \
Z_UTIL_LISTIFY_1659(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1659, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1661(F, sep, ...) \
Z_UTIL_LISTIFY_1660(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1660, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1662(F, sep, ...) \
Z_UTIL_LISTIFY_1661(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1661, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1663(F, sep, ...) \
Z_UTIL_LISTIFY_1662(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1662, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1664(F, sep, ...) \
Z_UTIL_LISTIFY_1663(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1663, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1665(F, sep, ...) \
Z_UTIL_LISTIFY_1664(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1664, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1666(F, sep, ...) \
Z_UTIL_LISTIFY_1665(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1665, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1667(F, sep, ...) \
Z_UTIL_LISTIFY_1666(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1666, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1668(F, sep, ...) \
Z_UTIL_LISTIFY_1667(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1667, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1669(F, sep, ...) \
Z_UTIL_LISTIFY_1668(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1668, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1670(F, sep, ...) \
Z_UTIL_LISTIFY_1669(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1669, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1671(F, sep, ...) \
Z_UTIL_LISTIFY_1670(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1670, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1672(F, sep, ...) \
Z_UTIL_LISTIFY_1671(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1671, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1673(F, sep, ...) \
Z_UTIL_LISTIFY_1672(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1672, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1674(F, sep, ...) \
Z_UTIL_LISTIFY_1673(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1673, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1675(F, sep, ...) \
Z_UTIL_LISTIFY_1674(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1674, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1676(F, sep, ...) \
Z_UTIL_LISTIFY_1675(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1675, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1677(F, sep, ...) \
Z_UTIL_LISTIFY_1676(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1676, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1678(F, sep, ...) \
Z_UTIL_LISTIFY_1677(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1677, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1679(F, sep, ...) \
Z_UTIL_LISTIFY_1678(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1678, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1680(F, sep, ...) \
Z_UTIL_LISTIFY_1679(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1679, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1681(F, sep, ...) \
Z_UTIL_LISTIFY_1680(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1680, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1682(F, sep, ...) \
Z_UTIL_LISTIFY_1681(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1681, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1683(F, sep, ...) \
Z_UTIL_LISTIFY_1682(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1682, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1684(F, sep, ...) \
Z_UTIL_LISTIFY_1683(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1683, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1685(F, sep, ...) \
Z_UTIL_LISTIFY_1684(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1684, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1686(F, sep, ...) \
Z_UTIL_LISTIFY_1685(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1685, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1687(F, sep, ...) \
Z_UTIL_LISTIFY_1686(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1686, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1688(F, sep, ...) \
Z_UTIL_LISTIFY_1687(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1687, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1689(F, sep, ...) \
Z_UTIL_LISTIFY_1688(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1688, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1690(F, sep, ...) \
Z_UTIL_LISTIFY_1689(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1689, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1691(F, sep, ...) \
Z_UTIL_LISTIFY_1690(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1690, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1692(F, sep, ...) \
Z_UTIL_LISTIFY_1691(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1691, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1693(F, sep, ...) \
Z_UTIL_LISTIFY_1692(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1692, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1694(F, sep, ...) \
Z_UTIL_LISTIFY_1693(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1693, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1695(F, sep, ...) \
Z_UTIL_LISTIFY_1694(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1694, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1696(F, sep, ...) \
Z_UTIL_LISTIFY_1695(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1695, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1697(F, sep, ...) \
Z_UTIL_LISTIFY_1696(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1696, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1698(F, sep, ...) \
Z_UTIL_LISTIFY_1697(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1697, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1699(F, sep, ...) \
Z_UTIL_LISTIFY_1698(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1698, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1700(F, sep, ...) \
Z_UTIL_LISTIFY_1699(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1699, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1701(F, sep, ...) \
Z_UTIL_LISTIFY_1700(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1700, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1702(F, sep, ...) \
Z_UTIL_LISTIFY_1701(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1701, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1703(F, sep, ...) \
Z_UTIL_LISTIFY_1702(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1702, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1704(F, sep, ...) \
Z_UTIL_LISTIFY_1703(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1703, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1705(F, sep, ...) \
Z_UTIL_LISTIFY_1704(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1704, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1706(F, sep, ...) \
Z_UTIL_LISTIFY_1705(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1705, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1707(F, sep, ...) \
Z_UTIL_LISTIFY_1706(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1706, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1708(F, sep, ...) \
Z_UTIL_LISTIFY_1707(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1707, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1709(F, sep, ...) \
Z_UTIL_LISTIFY_1708(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1708, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1710(F, sep, ...) \
Z_UTIL_LISTIFY_1709(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1709, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1711(F, sep, ...) \
Z_UTIL_LISTIFY_1710(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1710, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1712(F, sep, ...) \
Z_UTIL_LISTIFY_1711(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1711, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1713(F, sep, ...) \
Z_UTIL_LISTIFY_1712(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1712, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1714(F, sep, ...) \
Z_UTIL_LISTIFY_1713(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1713, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1715(F, sep, ...) \
Z_UTIL_LISTIFY_1714(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1714, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1716(F, sep, ...) \
Z_UTIL_LISTIFY_1715(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1715, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1717(F, sep, ...) \
Z_UTIL_LISTIFY_1716(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1716, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1718(F, sep, ...) \
Z_UTIL_LISTIFY_1717(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1717, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1719(F, sep, ...) \
Z_UTIL_LISTIFY_1718(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1718, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1720(F, sep, ...) \
Z_UTIL_LISTIFY_1719(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1719, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1721(F, sep, ...) \
Z_UTIL_LISTIFY_1720(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1720, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1722(F, sep, ...) \
Z_UTIL_LISTIFY_1721(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1721, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1723(F, sep, ...) \
Z_UTIL_LISTIFY_1722(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1722, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1724(F, sep, ...) \
Z_UTIL_LISTIFY_1723(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1723, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1725(F, sep, ...) \
Z_UTIL_LISTIFY_1724(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1724, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1726(F, sep, ...) \
Z_UTIL_LISTIFY_1725(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1725, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1727(F, sep, ...) \
Z_UTIL_LISTIFY_1726(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1726, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1728(F, sep, ...) \
Z_UTIL_LISTIFY_1727(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1727, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1729(F, sep, ...) \
Z_UTIL_LISTIFY_1728(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1728, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1730(F, sep, ...) \
Z_UTIL_LISTIFY_1729(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1729, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1731(F, sep, ...) \
Z_UTIL_LISTIFY_1730(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1730, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1732(F, sep, ...) \
Z_UTIL_LISTIFY_1731(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1731, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1733(F, sep, ...) \
Z_UTIL_LISTIFY_1732(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1732, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1734(F, sep, ...) \
Z_UTIL_LISTIFY_1733(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1733, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1735(F, sep, ...) \
Z_UTIL_LISTIFY_1734(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1734, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1736(F, sep, ...) \
Z_UTIL_LISTIFY_1735(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1735, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1737(F, sep, ...) \
Z_UTIL_LISTIFY_1736(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1736, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1738(F, sep, ...) \
Z_UTIL_LISTIFY_1737(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1737, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1739(F, sep, ...) \
Z_UTIL_LISTIFY_1738(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1738, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1740(F, sep, ...) \
Z_UTIL_LISTIFY_1739(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1739, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1741(F, sep, ...) \
Z_UTIL_LISTIFY_1740(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1740, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1742(F, sep, ...) \
Z_UTIL_LISTIFY_1741(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1741, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1743(F, sep, ...) \
Z_UTIL_LISTIFY_1742(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1742, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1744(F, sep, ...) \
Z_UTIL_LISTIFY_1743(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1743, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1745(F, sep, ...) \
Z_UTIL_LISTIFY_1744(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1744, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1746(F, sep, ...) \
Z_UTIL_LISTIFY_1745(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1745, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1747(F, sep, ...) \
Z_UTIL_LISTIFY_1746(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1746, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1748(F, sep, ...) \
Z_UTIL_LISTIFY_1747(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1747, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1749(F, sep, ...) \
Z_UTIL_LISTIFY_1748(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1748, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1750(F, sep, ...) \
Z_UTIL_LISTIFY_1749(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1749, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1751(F, sep, ...) \
Z_UTIL_LISTIFY_1750(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1750, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1752(F, sep, ...) \
Z_UTIL_LISTIFY_1751(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1751, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1753(F, sep, ...) \
Z_UTIL_LISTIFY_1752(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1752, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1754(F, sep, ...) \
Z_UTIL_LISTIFY_1753(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1753, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1755(F, sep, ...) \
Z_UTIL_LISTIFY_1754(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1754, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1756(F, sep, ...) \
Z_UTIL_LISTIFY_1755(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1755, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1757(F, sep, ...) \
Z_UTIL_LISTIFY_1756(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1756, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1758(F, sep, ...) \
Z_UTIL_LISTIFY_1757(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1757, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1759(F, sep, ...) \
Z_UTIL_LISTIFY_1758(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1758, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1760(F, sep, ...) \
Z_UTIL_LISTIFY_1759(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1759, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1761(F, sep, ...) \
Z_UTIL_LISTIFY_1760(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1760, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1762(F, sep, ...) \
Z_UTIL_LISTIFY_1761(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1761, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1763(F, sep, ...) \
Z_UTIL_LISTIFY_1762(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1762, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1764(F, sep, ...) \
Z_UTIL_LISTIFY_1763(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1763, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1765(F, sep, ...) \
Z_UTIL_LISTIFY_1764(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1764, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1766(F, sep, ...) \
Z_UTIL_LISTIFY_1765(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1765, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1767(F, sep, ...) \
Z_UTIL_LISTIFY_1766(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1766, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1768(F, sep, ...) \
Z_UTIL_LISTIFY_1767(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1767, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1769(F, sep, ...) \
Z_UTIL_LISTIFY_1768(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1768, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1770(F, sep, ...) \
Z_UTIL_LISTIFY_1769(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1769, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1771(F, sep, ...) \
Z_UTIL_LISTIFY_1770(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1770, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1772(F, sep, ...) \
Z_UTIL_LISTIFY_1771(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1771, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1773(F, sep, ...) \
Z_UTIL_LISTIFY_1772(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1772, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1774(F, sep, ...) \
Z_UTIL_LISTIFY_1773(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1773, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1775(F, sep, ...) \
Z_UTIL_LISTIFY_1774(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1774, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1776(F, sep, ...) \
Z_UTIL_LISTIFY_1775(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1775, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1777(F, sep, ...) \
Z_UTIL_LISTIFY_1776(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1776, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1778(F, sep, ...) \
Z_UTIL_LISTIFY_1777(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1777, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1779(F, sep, ...) \
Z_UTIL_LISTIFY_1778(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1778, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1780(F, sep, ...) \
Z_UTIL_LISTIFY_1779(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1779, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1781(F, sep, ...) \
Z_UTIL_LISTIFY_1780(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1780, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1782(F, sep, ...) \
Z_UTIL_LISTIFY_1781(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1781, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1783(F, sep, ...) \
Z_UTIL_LISTIFY_1782(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1782, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1784(F, sep, ...) \
Z_UTIL_LISTIFY_1783(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1783, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1785(F, sep, ...) \
Z_UTIL_LISTIFY_1784(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1784, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1786(F, sep, ...) \
Z_UTIL_LISTIFY_1785(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1785, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1787(F, sep, ...) \
Z_UTIL_LISTIFY_1786(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1786, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1788(F, sep, ...) \
Z_UTIL_LISTIFY_1787(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1787, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1789(F, sep, ...) \
Z_UTIL_LISTIFY_1788(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1788, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1790(F, sep, ...) \
Z_UTIL_LISTIFY_1789(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1789, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1791(F, sep, ...) \
Z_UTIL_LISTIFY_1790(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1790, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1792(F, sep, ...) \
Z_UTIL_LISTIFY_1791(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1791, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1793(F, sep, ...) \
Z_UTIL_LISTIFY_1792(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1792, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1794(F, sep, ...) \
Z_UTIL_LISTIFY_1793(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1793, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1795(F, sep, ...) \
Z_UTIL_LISTIFY_1794(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1794, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1796(F, sep, ...) \
Z_UTIL_LISTIFY_1795(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1795, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1797(F, sep, ...) \
Z_UTIL_LISTIFY_1796(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1796, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1798(F, sep, ...) \
Z_UTIL_LISTIFY_1797(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1797, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1799(F, sep, ...) \
Z_UTIL_LISTIFY_1798(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1798, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1800(F, sep, ...) \
Z_UTIL_LISTIFY_1799(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1799, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1801(F, sep, ...) \
Z_UTIL_LISTIFY_1800(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1800, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1802(F, sep, ...) \
Z_UTIL_LISTIFY_1801(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1801, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1803(F, sep, ...) \
Z_UTIL_LISTIFY_1802(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1802, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1804(F, sep, ...) \
Z_UTIL_LISTIFY_1803(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1803, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1805(F, sep, ...) \
Z_UTIL_LISTIFY_1804(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1804, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1806(F, sep, ...) \
Z_UTIL_LISTIFY_1805(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1805, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1807(F, sep, ...) \
Z_UTIL_LISTIFY_1806(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1806, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1808(F, sep, ...) \
Z_UTIL_LISTIFY_1807(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1807, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1809(F, sep, ...) \
Z_UTIL_LISTIFY_1808(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1808, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1810(F, sep, ...) \
Z_UTIL_LISTIFY_1809(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1809, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1811(F, sep, ...) \
Z_UTIL_LISTIFY_1810(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1810, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1812(F, sep, ...) \
Z_UTIL_LISTIFY_1811(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1811, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1813(F, sep, ...) \
Z_UTIL_LISTIFY_1812(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1812, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1814(F, sep, ...) \
Z_UTIL_LISTIFY_1813(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1813, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1815(F, sep, ...) \
Z_UTIL_LISTIFY_1814(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1814, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1816(F, sep, ...) \
Z_UTIL_LISTIFY_1815(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1815, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1817(F, sep, ...) \
Z_UTIL_LISTIFY_1816(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1816, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1818(F, sep, ...) \
Z_UTIL_LISTIFY_1817(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1817, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1819(F, sep, ...) \
Z_UTIL_LISTIFY_1818(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1818, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1820(F, sep, ...) \
Z_UTIL_LISTIFY_1819(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1819, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1821(F, sep, ...) \
Z_UTIL_LISTIFY_1820(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1820, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1822(F, sep, ...) \
Z_UTIL_LISTIFY_1821(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1821, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1823(F, sep, ...) \
Z_UTIL_LISTIFY_1822(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1822, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1824(F, sep, ...) \
Z_UTIL_LISTIFY_1823(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1823, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1825(F, sep, ...) \
Z_UTIL_LISTIFY_1824(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1824, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1826(F, sep, ...) \
Z_UTIL_LISTIFY_1825(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1825, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1827(F, sep, ...) \
Z_UTIL_LISTIFY_1826(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1826, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1828(F, sep, ...) \
Z_UTIL_LISTIFY_1827(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1827, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1829(F, sep, ...) \
Z_UTIL_LISTIFY_1828(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1828, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1830(F, sep, ...) \
Z_UTIL_LISTIFY_1829(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1829, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1831(F, sep, ...) \
Z_UTIL_LISTIFY_1830(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1830, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1832(F, sep, ...) \
Z_UTIL_LISTIFY_1831(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1831, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1833(F, sep, ...) \
Z_UTIL_LISTIFY_1832(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1832, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1834(F, sep, ...) \
Z_UTIL_LISTIFY_1833(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1833, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1835(F, sep, ...) \
Z_UTIL_LISTIFY_1834(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1834, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1836(F, sep, ...) \
Z_UTIL_LISTIFY_1835(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1835, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1837(F, sep, ...) \
Z_UTIL_LISTIFY_1836(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1836, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1838(F, sep, ...) \
Z_UTIL_LISTIFY_1837(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1837, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1839(F, sep, ...) \
Z_UTIL_LISTIFY_1838(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1838, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1840(F, sep, ...) \
Z_UTIL_LISTIFY_1839(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1839, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1841(F, sep, ...) \
Z_UTIL_LISTIFY_1840(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1840, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1842(F, sep, ...) \
Z_UTIL_LISTIFY_1841(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1841, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1843(F, sep, ...) \
Z_UTIL_LISTIFY_1842(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1842, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1844(F, sep, ...) \
Z_UTIL_LISTIFY_1843(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1843, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1845(F, sep, ...) \
Z_UTIL_LISTIFY_1844(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1844, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1846(F, sep, ...) \
Z_UTIL_LISTIFY_1845(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1845, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1847(F, sep, ...) \
Z_UTIL_LISTIFY_1846(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1846, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1848(F, sep, ...) \
Z_UTIL_LISTIFY_1847(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1847, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1849(F, sep, ...) \
Z_UTIL_LISTIFY_1848(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1848, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1850(F, sep, ...) \
Z_UTIL_LISTIFY_1849(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1849, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1851(F, sep, ...) \
Z_UTIL_LISTIFY_1850(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1850, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1852(F, sep, ...) \
Z_UTIL_LISTIFY_1851(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1851, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1853(F, sep, ...) \
Z_UTIL_LISTIFY_1852(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1852, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1854(F, sep, ...) \
Z_UTIL_LISTIFY_1853(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1853, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1855(F, sep, ...) \
Z_UTIL_LISTIFY_1854(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1854, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1856(F, sep, ...) \
Z_UTIL_LISTIFY_1855(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1855, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1857(F, sep, ...) \
Z_UTIL_LISTIFY_1856(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1856, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1858(F, sep, ...) \
Z_UTIL_LISTIFY_1857(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1857, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1859(F, sep, ...) \
Z_UTIL_LISTIFY_1858(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1858, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1860(F, sep, ...) \
Z_UTIL_LISTIFY_1859(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1859, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1861(F, sep, ...) \
Z_UTIL_LISTIFY_1860(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1860, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1862(F, sep, ...) \
Z_UTIL_LISTIFY_1861(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1861, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1863(F, sep, ...) \
Z_UTIL_LISTIFY_1862(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1862, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1864(F, sep, ...) \
Z_UTIL_LISTIFY_1863(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1863, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1865(F, sep, ...) \
Z_UTIL_LISTIFY_1864(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1864, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1866(F, sep, ...) \
Z_UTIL_LISTIFY_1865(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1865, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1867(F, sep, ...) \
Z_UTIL_LISTIFY_1866(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1866, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1868(F, sep, ...) \
Z_UTIL_LISTIFY_1867(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1867, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1869(F, sep, ...) \
Z_UTIL_LISTIFY_1868(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1868, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1870(F, sep, ...) \
Z_UTIL_LISTIFY_1869(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1869, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1871(F, sep, ...) \
Z_UTIL_LISTIFY_1870(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1870, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1872(F, sep, ...) \
Z_UTIL_LISTIFY_1871(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1871, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1873(F, sep, ...) \
Z_UTIL_LISTIFY_1872(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1872, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1874(F, sep, ...) \
Z_UTIL_LISTIFY_1873(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1873, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1875(F, sep, ...) \
Z_UTIL_LISTIFY_1874(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1874, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1876(F, sep, ...) \
Z_UTIL_LISTIFY_1875(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1875, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1877(F, sep, ...) \
Z_UTIL_LISTIFY_1876(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1876, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1878(F, sep, ...) \
Z_UTIL_LISTIFY_1877(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1877, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1879(F, sep, ...) \
Z_UTIL_LISTIFY_1878(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1878, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1880(F, sep, ...) \
Z_UTIL_LISTIFY_1879(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1879, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1881(F, sep, ...) \
Z_UTIL_LISTIFY_1880(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1880, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1882(F, sep, ...) \
Z_UTIL_LISTIFY_1881(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1881, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1883(F, sep, ...) \
Z_UTIL_LISTIFY_1882(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1882, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1884(F, sep, ...) \
Z_UTIL_LISTIFY_1883(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1883, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1885(F, sep, ...) \
Z_UTIL_LISTIFY_1884(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1884, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1886(F, sep, ...) \
Z_UTIL_LISTIFY_1885(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1885, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1887(F, sep, ...) \
Z_UTIL_LISTIFY_1886(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1886, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1888(F, sep, ...) \
Z_UTIL_LISTIFY_1887(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1887, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1889(F, sep, ...) \
Z_UTIL_LISTIFY_1888(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1888, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1890(F, sep, ...) \
Z_UTIL_LISTIFY_1889(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1889, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1891(F, sep, ...) \
Z_UTIL_LISTIFY_1890(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1890, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1892(F, sep, ...) \
Z_UTIL_LISTIFY_1891(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1891, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1893(F, sep, ...) \
Z_UTIL_LISTIFY_1892(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1892, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1894(F, sep, ...) \
Z_UTIL_LISTIFY_1893(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1893, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1895(F, sep, ...) \
Z_UTIL_LISTIFY_1894(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1894, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1896(F, sep, ...) \
Z_UTIL_LISTIFY_1895(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1895, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1897(F, sep, ...) \
Z_UTIL_LISTIFY_1896(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1896, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1898(F, sep, ...) \
Z_UTIL_LISTIFY_1897(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1897, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1899(F, sep, ...) \
Z_UTIL_LISTIFY_1898(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1898, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1900(F, sep, ...) \
Z_UTIL_LISTIFY_1899(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1899, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1901(F, sep, ...) \
Z_UTIL_LISTIFY_1900(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1900, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1902(F, sep, ...) \
Z_UTIL_LISTIFY_1901(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1901, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1903(F, sep, ...) \
Z_UTIL_LISTIFY_1902(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1902, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1904(F, sep, ...) \
Z_UTIL_LISTIFY_1903(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1903, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1905(F, sep, ...) \
Z_UTIL_LISTIFY_1904(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1904, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1906(F, sep, ...) \
Z_UTIL_LISTIFY_1905(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1905, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1907(F, sep, ...) \
Z_UTIL_LISTIFY_1906(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1906, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1908(F, sep, ...) \
Z_UTIL_LISTIFY_1907(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1907, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1909(F, sep, ...) \
Z_UTIL_LISTIFY_1908(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1908, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1910(F, sep, ...) \
Z_UTIL_LISTIFY_1909(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1909, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1911(F, sep, ...) \
Z_UTIL_LISTIFY_1910(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1910, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1912(F, sep, ...) \
Z_UTIL_LISTIFY_1911(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1911, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1913(F, sep, ...) \
Z_UTIL_LISTIFY_1912(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1912, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1914(F, sep, ...) \
Z_UTIL_LISTIFY_1913(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1913, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1915(F, sep, ...) \
Z_UTIL_LISTIFY_1914(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1914, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1916(F, sep, ...) \
Z_UTIL_LISTIFY_1915(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1915, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1917(F, sep, ...) \
Z_UTIL_LISTIFY_1916(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1916, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1918(F, sep, ...) \
Z_UTIL_LISTIFY_1917(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1917, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1919(F, sep, ...) \
Z_UTIL_LISTIFY_1918(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1918, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1920(F, sep, ...) \
Z_UTIL_LISTIFY_1919(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1919, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1921(F, sep, ...) \
Z_UTIL_LISTIFY_1920(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1920, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1922(F, sep, ...) \
Z_UTIL_LISTIFY_1921(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1921, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1923(F, sep, ...) \
Z_UTIL_LISTIFY_1922(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1922, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1924(F, sep, ...) \
Z_UTIL_LISTIFY_1923(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1923, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1925(F, sep, ...) \
Z_UTIL_LISTIFY_1924(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1924, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1926(F, sep, ...) \
Z_UTIL_LISTIFY_1925(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1925, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1927(F, sep, ...) \
Z_UTIL_LISTIFY_1926(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1926, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1928(F, sep, ...) \
Z_UTIL_LISTIFY_1927(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1927, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1929(F, sep, ...) \
Z_UTIL_LISTIFY_1928(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1928, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1930(F, sep, ...) \
Z_UTIL_LISTIFY_1929(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1929, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1931(F, sep, ...) \
Z_UTIL_LISTIFY_1930(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1930, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1932(F, sep, ...) \
Z_UTIL_LISTIFY_1931(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1931, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1933(F, sep, ...) \
Z_UTIL_LISTIFY_1932(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1932, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1934(F, sep, ...) \
Z_UTIL_LISTIFY_1933(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1933, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1935(F, sep, ...) \
Z_UTIL_LISTIFY_1934(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1934, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1936(F, sep, ...) \
Z_UTIL_LISTIFY_1935(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1935, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1937(F, sep, ...) \
Z_UTIL_LISTIFY_1936(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1936, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1938(F, sep, ...) \
Z_UTIL_LISTIFY_1937(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1937, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1939(F, sep, ...) \
Z_UTIL_LISTIFY_1938(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1938, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1940(F, sep, ...) \
Z_UTIL_LISTIFY_1939(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1939, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1941(F, sep, ...) \
Z_UTIL_LISTIFY_1940(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1940, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1942(F, sep, ...) \
Z_UTIL_LISTIFY_1941(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1941, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1943(F, sep, ...) \
Z_UTIL_LISTIFY_1942(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1942, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1944(F, sep, ...) \
Z_UTIL_LISTIFY_1943(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1943, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1945(F, sep, ...) \
Z_UTIL_LISTIFY_1944(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1944, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1946(F, sep, ...) \
Z_UTIL_LISTIFY_1945(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1945, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1947(F, sep, ...) \
Z_UTIL_LISTIFY_1946(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1946, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1948(F, sep, ...) \
Z_UTIL_LISTIFY_1947(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1947, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1949(F, sep, ...) \
Z_UTIL_LISTIFY_1948(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1948, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1950(F, sep, ...) \
Z_UTIL_LISTIFY_1949(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1949, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1951(F, sep, ...) \
Z_UTIL_LISTIFY_1950(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1950, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1952(F, sep, ...) \
Z_UTIL_LISTIFY_1951(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1951, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1953(F, sep, ...) \
Z_UTIL_LISTIFY_1952(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1952, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1954(F, sep, ...) \
Z_UTIL_LISTIFY_1953(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1953, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1955(F, sep, ...) \
Z_UTIL_LISTIFY_1954(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1954, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1956(F, sep, ...) \
Z_UTIL_LISTIFY_1955(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1955, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1957(F, sep, ...) \
Z_UTIL_LISTIFY_1956(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1956, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1958(F, sep, ...) \
Z_UTIL_LISTIFY_1957(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1957, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1959(F, sep, ...) \
Z_UTIL_LISTIFY_1958(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1958, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1960(F, sep, ...) \
Z_UTIL_LISTIFY_1959(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1959, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1961(F, sep, ...) \
Z_UTIL_LISTIFY_1960(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1960, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1962(F, sep, ...) \
Z_UTIL_LISTIFY_1961(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1961, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1963(F, sep, ...) \
Z_UTIL_LISTIFY_1962(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1962, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1964(F, sep, ...) \
Z_UTIL_LISTIFY_1963(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1963, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1965(F, sep, ...) \
Z_UTIL_LISTIFY_1964(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1964, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1966(F, sep, ...) \
Z_UTIL_LISTIFY_1965(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1965, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1967(F, sep, ...) \
Z_UTIL_LISTIFY_1966(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1966, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1968(F, sep, ...) \
Z_UTIL_LISTIFY_1967(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1967, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1969(F, sep, ...) \
Z_UTIL_LISTIFY_1968(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1968, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1970(F, sep, ...) \
Z_UTIL_LISTIFY_1969(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1969, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1971(F, sep, ...) \
Z_UTIL_LISTIFY_1970(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1970, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1972(F, sep, ...) \
Z_UTIL_LISTIFY_1971(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1971, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1973(F, sep, ...) \
Z_UTIL_LISTIFY_1972(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1972, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1974(F, sep, ...) \
Z_UTIL_LISTIFY_1973(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1973, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1975(F, sep, ...) \
Z_UTIL_LISTIFY_1974(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1974, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1976(F, sep, ...) \
Z_UTIL_LISTIFY_1975(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1975, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1977(F, sep, ...) \
Z_UTIL_LISTIFY_1976(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1976, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1978(F, sep, ...) \
Z_UTIL_LISTIFY_1977(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1977, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1979(F, sep, ...) \
Z_UTIL_LISTIFY_1978(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1978, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1980(F, sep, ...) \
Z_UTIL_LISTIFY_1979(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1979, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1981(F, sep, ...) \
Z_UTIL_LISTIFY_1980(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1980, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1982(F, sep, ...) \
Z_UTIL_LISTIFY_1981(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1981, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1983(F, sep, ...) \
Z_UTIL_LISTIFY_1982(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1982, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1984(F, sep, ...) \
Z_UTIL_LISTIFY_1983(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1983, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1985(F, sep, ...) \
Z_UTIL_LISTIFY_1984(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1984, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1986(F, sep, ...) \
Z_UTIL_LISTIFY_1985(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1985, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1987(F, sep, ...) \
Z_UTIL_LISTIFY_1986(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1986, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1988(F, sep, ...) \
Z_UTIL_LISTIFY_1987(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1987, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1989(F, sep, ...) \
Z_UTIL_LISTIFY_1988(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1988, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1990(F, sep, ...) \
Z_UTIL_LISTIFY_1989(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1989, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1991(F, sep, ...) \
Z_UTIL_LISTIFY_1990(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1990, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1992(F, sep, ...) \
Z_UTIL_LISTIFY_1991(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1991, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1993(F, sep, ...) \
Z_UTIL_LISTIFY_1992(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1992, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1994(F, sep, ...) \
Z_UTIL_LISTIFY_1993(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1993, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1995(F, sep, ...) \
Z_UTIL_LISTIFY_1994(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1994, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1996(F, sep, ...) \
Z_UTIL_LISTIFY_1995(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1995, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1997(F, sep, ...) \
Z_UTIL_LISTIFY_1996(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1996, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1998(F, sep, ...) \
Z_UTIL_LISTIFY_1997(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1997, __VA_ARGS__)
#define Z_UTIL_LISTIFY_1999(F, sep, ...) \
Z_UTIL_LISTIFY_1998(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1998, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2000(F, sep, ...) \
Z_UTIL_LISTIFY_1999(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(1999, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2001(F, sep, ...) \
Z_UTIL_LISTIFY_2000(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2000, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2002(F, sep, ...) \
Z_UTIL_LISTIFY_2001(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2001, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2003(F, sep, ...) \
Z_UTIL_LISTIFY_2002(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2002, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2004(F, sep, ...) \
Z_UTIL_LISTIFY_2003(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2003, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2005(F, sep, ...) \
Z_UTIL_LISTIFY_2004(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2004, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2006(F, sep, ...) \
Z_UTIL_LISTIFY_2005(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2005, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2007(F, sep, ...) \
Z_UTIL_LISTIFY_2006(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2006, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2008(F, sep, ...) \
Z_UTIL_LISTIFY_2007(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2007, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2009(F, sep, ...) \
Z_UTIL_LISTIFY_2008(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2008, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2010(F, sep, ...) \
Z_UTIL_LISTIFY_2009(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2009, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2011(F, sep, ...) \
Z_UTIL_LISTIFY_2010(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2010, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2012(F, sep, ...) \
Z_UTIL_LISTIFY_2011(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2011, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2013(F, sep, ...) \
Z_UTIL_LISTIFY_2012(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2012, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2014(F, sep, ...) \
Z_UTIL_LISTIFY_2013(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2013, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2015(F, sep, ...) \
Z_UTIL_LISTIFY_2014(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2014, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2016(F, sep, ...) \
Z_UTIL_LISTIFY_2015(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2015, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2017(F, sep, ...) \
Z_UTIL_LISTIFY_2016(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2016, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2018(F, sep, ...) \
Z_UTIL_LISTIFY_2017(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2017, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2019(F, sep, ...) \
Z_UTIL_LISTIFY_2018(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2018, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2020(F, sep, ...) \
Z_UTIL_LISTIFY_2019(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2019, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2021(F, sep, ...) \
Z_UTIL_LISTIFY_2020(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2020, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2022(F, sep, ...) \
Z_UTIL_LISTIFY_2021(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2021, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2023(F, sep, ...) \
Z_UTIL_LISTIFY_2022(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2022, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2024(F, sep, ...) \
Z_UTIL_LISTIFY_2023(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2023, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2025(F, sep, ...) \
Z_UTIL_LISTIFY_2024(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2024, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2026(F, sep, ...) \
Z_UTIL_LISTIFY_2025(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2025, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2027(F, sep, ...) \
Z_UTIL_LISTIFY_2026(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2026, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2028(F, sep, ...) \
Z_UTIL_LISTIFY_2027(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2027, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2029(F, sep, ...) \
Z_UTIL_LISTIFY_2028(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2028, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2030(F, sep, ...) \
Z_UTIL_LISTIFY_2029(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2029, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2031(F, sep, ...) \
Z_UTIL_LISTIFY_2030(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2030, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2032(F, sep, ...) \
Z_UTIL_LISTIFY_2031(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2031, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2033(F, sep, ...) \
Z_UTIL_LISTIFY_2032(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2032, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2034(F, sep, ...) \
Z_UTIL_LISTIFY_2033(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2033, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2035(F, sep, ...) \
Z_UTIL_LISTIFY_2034(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2034, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2036(F, sep, ...) \
Z_UTIL_LISTIFY_2035(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2035, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2037(F, sep, ...) \
Z_UTIL_LISTIFY_2036(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2036, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2038(F, sep, ...) \
Z_UTIL_LISTIFY_2037(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2037, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2039(F, sep, ...) \
Z_UTIL_LISTIFY_2038(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2038, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2040(F, sep, ...) \
Z_UTIL_LISTIFY_2039(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2039, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2041(F, sep, ...) \
Z_UTIL_LISTIFY_2040(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2040, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2042(F, sep, ...) \
Z_UTIL_LISTIFY_2041(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2041, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2043(F, sep, ...) \
Z_UTIL_LISTIFY_2042(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2042, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2044(F, sep, ...) \
Z_UTIL_LISTIFY_2043(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2043, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2045(F, sep, ...) \
Z_UTIL_LISTIFY_2044(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2044, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2046(F, sep, ...) \
Z_UTIL_LISTIFY_2045(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2045, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2047(F, sep, ...) \
Z_UTIL_LISTIFY_2046(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2046, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2048(F, sep, ...) \
Z_UTIL_LISTIFY_2047(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2047, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2049(F, sep, ...) \
Z_UTIL_LISTIFY_2048(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2048, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2050(F, sep, ...) \
Z_UTIL_LISTIFY_2049(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2049, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2051(F, sep, ...) \
Z_UTIL_LISTIFY_2050(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2050, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2052(F, sep, ...) \
Z_UTIL_LISTIFY_2051(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2051, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2053(F, sep, ...) \
Z_UTIL_LISTIFY_2052(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2052, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2054(F, sep, ...) \
Z_UTIL_LISTIFY_2053(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2053, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2055(F, sep, ...) \
Z_UTIL_LISTIFY_2054(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2054, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2056(F, sep, ...) \
Z_UTIL_LISTIFY_2055(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2055, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2057(F, sep, ...) \
Z_UTIL_LISTIFY_2056(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2056, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2058(F, sep, ...) \
Z_UTIL_LISTIFY_2057(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2057, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2059(F, sep, ...) \
Z_UTIL_LISTIFY_2058(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2058, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2060(F, sep, ...) \
Z_UTIL_LISTIFY_2059(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2059, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2061(F, sep, ...) \
Z_UTIL_LISTIFY_2060(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2060, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2062(F, sep, ...) \
Z_UTIL_LISTIFY_2061(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2061, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2063(F, sep, ...) \
Z_UTIL_LISTIFY_2062(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2062, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2064(F, sep, ...) \
Z_UTIL_LISTIFY_2063(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2063, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2065(F, sep, ...) \
Z_UTIL_LISTIFY_2064(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2064, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2066(F, sep, ...) \
Z_UTIL_LISTIFY_2065(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2065, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2067(F, sep, ...) \
Z_UTIL_LISTIFY_2066(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2066, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2068(F, sep, ...) \
Z_UTIL_LISTIFY_2067(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2067, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2069(F, sep, ...) \
Z_UTIL_LISTIFY_2068(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2068, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2070(F, sep, ...) \
Z_UTIL_LISTIFY_2069(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2069, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2071(F, sep, ...) \
Z_UTIL_LISTIFY_2070(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2070, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2072(F, sep, ...) \
Z_UTIL_LISTIFY_2071(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2071, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2073(F, sep, ...) \
Z_UTIL_LISTIFY_2072(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2072, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2074(F, sep, ...) \
Z_UTIL_LISTIFY_2073(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2073, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2075(F, sep, ...) \
Z_UTIL_LISTIFY_2074(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2074, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2076(F, sep, ...) \
Z_UTIL_LISTIFY_2075(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2075, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2077(F, sep, ...) \
Z_UTIL_LISTIFY_2076(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2076, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2078(F, sep, ...) \
Z_UTIL_LISTIFY_2077(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2077, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2079(F, sep, ...) \
Z_UTIL_LISTIFY_2078(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2078, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2080(F, sep, ...) \
Z_UTIL_LISTIFY_2079(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2079, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2081(F, sep, ...) \
Z_UTIL_LISTIFY_2080(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2080, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2082(F, sep, ...) \
Z_UTIL_LISTIFY_2081(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2081, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2083(F, sep, ...) \
Z_UTIL_LISTIFY_2082(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2082, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2084(F, sep, ...) \
Z_UTIL_LISTIFY_2083(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2083, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2085(F, sep, ...) \
Z_UTIL_LISTIFY_2084(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2084, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2086(F, sep, ...) \
Z_UTIL_LISTIFY_2085(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2085, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2087(F, sep, ...) \
Z_UTIL_LISTIFY_2086(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2086, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2088(F, sep, ...) \
Z_UTIL_LISTIFY_2087(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2087, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2089(F, sep, ...) \
Z_UTIL_LISTIFY_2088(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2088, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2090(F, sep, ...) \
Z_UTIL_LISTIFY_2089(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2089, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2091(F, sep, ...) \
Z_UTIL_LISTIFY_2090(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2090, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2092(F, sep, ...) \
Z_UTIL_LISTIFY_2091(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2091, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2093(F, sep, ...) \
Z_UTIL_LISTIFY_2092(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2092, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2094(F, sep, ...) \
Z_UTIL_LISTIFY_2093(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2093, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2095(F, sep, ...) \
Z_UTIL_LISTIFY_2094(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2094, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2096(F, sep, ...) \
Z_UTIL_LISTIFY_2095(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2095, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2097(F, sep, ...) \
Z_UTIL_LISTIFY_2096(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2096, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2098(F, sep, ...) \
Z_UTIL_LISTIFY_2097(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2097, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2099(F, sep, ...) \
Z_UTIL_LISTIFY_2098(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2098, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2100(F, sep, ...) \
Z_UTIL_LISTIFY_2099(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2099, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2101(F, sep, ...) \
Z_UTIL_LISTIFY_2100(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2100, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2102(F, sep, ...) \
Z_UTIL_LISTIFY_2101(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2101, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2103(F, sep, ...) \
Z_UTIL_LISTIFY_2102(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2102, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2104(F, sep, ...) \
Z_UTIL_LISTIFY_2103(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2103, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2105(F, sep, ...) \
Z_UTIL_LISTIFY_2104(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2104, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2106(F, sep, ...) \
Z_UTIL_LISTIFY_2105(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2105, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2107(F, sep, ...) \
Z_UTIL_LISTIFY_2106(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2106, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2108(F, sep, ...) \
Z_UTIL_LISTIFY_2107(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2107, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2109(F, sep, ...) \
Z_UTIL_LISTIFY_2108(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2108, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2110(F, sep, ...) \
Z_UTIL_LISTIFY_2109(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2109, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2111(F, sep, ...) \
Z_UTIL_LISTIFY_2110(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2110, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2112(F, sep, ...) \
Z_UTIL_LISTIFY_2111(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2111, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2113(F, sep, ...) \
Z_UTIL_LISTIFY_2112(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2112, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2114(F, sep, ...) \
Z_UTIL_LISTIFY_2113(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2113, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2115(F, sep, ...) \
Z_UTIL_LISTIFY_2114(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2114, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2116(F, sep, ...) \
Z_UTIL_LISTIFY_2115(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2115, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2117(F, sep, ...) \
Z_UTIL_LISTIFY_2116(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2116, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2118(F, sep, ...) \
Z_UTIL_LISTIFY_2117(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2117, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2119(F, sep, ...) \
Z_UTIL_LISTIFY_2118(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2118, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2120(F, sep, ...) \
Z_UTIL_LISTIFY_2119(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2119, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2121(F, sep, ...) \
Z_UTIL_LISTIFY_2120(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2120, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2122(F, sep, ...) \
Z_UTIL_LISTIFY_2121(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2121, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2123(F, sep, ...) \
Z_UTIL_LISTIFY_2122(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2122, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2124(F, sep, ...) \
Z_UTIL_LISTIFY_2123(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2123, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2125(F, sep, ...) \
Z_UTIL_LISTIFY_2124(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2124, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2126(F, sep, ...) \
Z_UTIL_LISTIFY_2125(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2125, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2127(F, sep, ...) \
Z_UTIL_LISTIFY_2126(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2126, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2128(F, sep, ...) \
Z_UTIL_LISTIFY_2127(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2127, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2129(F, sep, ...) \
Z_UTIL_LISTIFY_2128(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2128, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2130(F, sep, ...) \
Z_UTIL_LISTIFY_2129(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2129, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2131(F, sep, ...) \
Z_UTIL_LISTIFY_2130(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2130, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2132(F, sep, ...) \
Z_UTIL_LISTIFY_2131(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2131, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2133(F, sep, ...) \
Z_UTIL_LISTIFY_2132(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2132, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2134(F, sep, ...) \
Z_UTIL_LISTIFY_2133(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2133, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2135(F, sep, ...) \
Z_UTIL_LISTIFY_2134(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2134, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2136(F, sep, ...) \
Z_UTIL_LISTIFY_2135(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2135, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2137(F, sep, ...) \
Z_UTIL_LISTIFY_2136(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2136, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2138(F, sep, ...) \
Z_UTIL_LISTIFY_2137(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2137, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2139(F, sep, ...) \
Z_UTIL_LISTIFY_2138(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2138, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2140(F, sep, ...) \
Z_UTIL_LISTIFY_2139(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2139, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2141(F, sep, ...) \
Z_UTIL_LISTIFY_2140(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2140, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2142(F, sep, ...) \
Z_UTIL_LISTIFY_2141(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2141, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2143(F, sep, ...) \
Z_UTIL_LISTIFY_2142(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2142, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2144(F, sep, ...) \
Z_UTIL_LISTIFY_2143(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2143, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2145(F, sep, ...) \
Z_UTIL_LISTIFY_2144(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2144, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2146(F, sep, ...) \
Z_UTIL_LISTIFY_2145(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2145, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2147(F, sep, ...) \
Z_UTIL_LISTIFY_2146(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2146, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2148(F, sep, ...) \
Z_UTIL_LISTIFY_2147(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2147, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2149(F, sep, ...) \
Z_UTIL_LISTIFY_2148(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2148, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2150(F, sep, ...) \
Z_UTIL_LISTIFY_2149(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2149, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2151(F, sep, ...) \
Z_UTIL_LISTIFY_2150(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2150, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2152(F, sep, ...) \
Z_UTIL_LISTIFY_2151(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2151, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2153(F, sep, ...) \
Z_UTIL_LISTIFY_2152(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2152, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2154(F, sep, ...) \
Z_UTIL_LISTIFY_2153(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2153, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2155(F, sep, ...) \
Z_UTIL_LISTIFY_2154(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2154, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2156(F, sep, ...) \
Z_UTIL_LISTIFY_2155(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2155, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2157(F, sep, ...) \
Z_UTIL_LISTIFY_2156(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2156, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2158(F, sep, ...) \
Z_UTIL_LISTIFY_2157(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2157, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2159(F, sep, ...) \
Z_UTIL_LISTIFY_2158(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2158, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2160(F, sep, ...) \
Z_UTIL_LISTIFY_2159(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2159, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2161(F, sep, ...) \
Z_UTIL_LISTIFY_2160(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2160, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2162(F, sep, ...) \
Z_UTIL_LISTIFY_2161(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2161, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2163(F, sep, ...) \
Z_UTIL_LISTIFY_2162(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2162, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2164(F, sep, ...) \
Z_UTIL_LISTIFY_2163(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2163, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2165(F, sep, ...) \
Z_UTIL_LISTIFY_2164(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2164, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2166(F, sep, ...) \
Z_UTIL_LISTIFY_2165(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2165, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2167(F, sep, ...) \
Z_UTIL_LISTIFY_2166(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2166, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2168(F, sep, ...) \
Z_UTIL_LISTIFY_2167(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2167, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2169(F, sep, ...) \
Z_UTIL_LISTIFY_2168(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2168, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2170(F, sep, ...) \
Z_UTIL_LISTIFY_2169(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2169, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2171(F, sep, ...) \
Z_UTIL_LISTIFY_2170(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2170, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2172(F, sep, ...) \
Z_UTIL_LISTIFY_2171(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2171, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2173(F, sep, ...) \
Z_UTIL_LISTIFY_2172(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2172, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2174(F, sep, ...) \
Z_UTIL_LISTIFY_2173(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2173, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2175(F, sep, ...) \
Z_UTIL_LISTIFY_2174(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2174, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2176(F, sep, ...) \
Z_UTIL_LISTIFY_2175(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2175, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2177(F, sep, ...) \
Z_UTIL_LISTIFY_2176(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2176, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2178(F, sep, ...) \
Z_UTIL_LISTIFY_2177(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2177, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2179(F, sep, ...) \
Z_UTIL_LISTIFY_2178(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2178, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2180(F, sep, ...) \
Z_UTIL_LISTIFY_2179(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2179, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2181(F, sep, ...) \
Z_UTIL_LISTIFY_2180(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2180, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2182(F, sep, ...) \
Z_UTIL_LISTIFY_2181(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2181, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2183(F, sep, ...) \
Z_UTIL_LISTIFY_2182(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2182, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2184(F, sep, ...) \
Z_UTIL_LISTIFY_2183(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2183, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2185(F, sep, ...) \
Z_UTIL_LISTIFY_2184(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2184, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2186(F, sep, ...) \
Z_UTIL_LISTIFY_2185(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2185, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2187(F, sep, ...) \
Z_UTIL_LISTIFY_2186(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2186, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2188(F, sep, ...) \
Z_UTIL_LISTIFY_2187(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2187, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2189(F, sep, ...) \
Z_UTIL_LISTIFY_2188(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2188, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2190(F, sep, ...) \
Z_UTIL_LISTIFY_2189(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2189, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2191(F, sep, ...) \
Z_UTIL_LISTIFY_2190(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2190, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2192(F, sep, ...) \
Z_UTIL_LISTIFY_2191(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2191, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2193(F, sep, ...) \
Z_UTIL_LISTIFY_2192(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2192, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2194(F, sep, ...) \
Z_UTIL_LISTIFY_2193(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2193, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2195(F, sep, ...) \
Z_UTIL_LISTIFY_2194(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2194, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2196(F, sep, ...) \
Z_UTIL_LISTIFY_2195(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2195, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2197(F, sep, ...) \
Z_UTIL_LISTIFY_2196(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2196, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2198(F, sep, ...) \
Z_UTIL_LISTIFY_2197(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2197, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2199(F, sep, ...) \
Z_UTIL_LISTIFY_2198(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2198, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2200(F, sep, ...) \
Z_UTIL_LISTIFY_2199(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2199, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2201(F, sep, ...) \
Z_UTIL_LISTIFY_2200(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2200, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2202(F, sep, ...) \
Z_UTIL_LISTIFY_2201(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2201, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2203(F, sep, ...) \
Z_UTIL_LISTIFY_2202(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2202, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2204(F, sep, ...) \
Z_UTIL_LISTIFY_2203(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2203, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2205(F, sep, ...) \
Z_UTIL_LISTIFY_2204(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2204, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2206(F, sep, ...) \
Z_UTIL_LISTIFY_2205(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2205, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2207(F, sep, ...) \
Z_UTIL_LISTIFY_2206(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2206, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2208(F, sep, ...) \
Z_UTIL_LISTIFY_2207(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2207, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2209(F, sep, ...) \
Z_UTIL_LISTIFY_2208(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2208, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2210(F, sep, ...) \
Z_UTIL_LISTIFY_2209(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2209, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2211(F, sep, ...) \
Z_UTIL_LISTIFY_2210(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2210, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2212(F, sep, ...) \
Z_UTIL_LISTIFY_2211(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2211, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2213(F, sep, ...) \
Z_UTIL_LISTIFY_2212(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2212, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2214(F, sep, ...) \
Z_UTIL_LISTIFY_2213(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2213, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2215(F, sep, ...) \
Z_UTIL_LISTIFY_2214(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2214, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2216(F, sep, ...) \
Z_UTIL_LISTIFY_2215(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2215, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2217(F, sep, ...) \
Z_UTIL_LISTIFY_2216(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2216, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2218(F, sep, ...) \
Z_UTIL_LISTIFY_2217(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2217, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2219(F, sep, ...) \
Z_UTIL_LISTIFY_2218(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2218, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2220(F, sep, ...) \
Z_UTIL_LISTIFY_2219(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2219, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2221(F, sep, ...) \
Z_UTIL_LISTIFY_2220(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2220, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2222(F, sep, ...) \
Z_UTIL_LISTIFY_2221(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2221, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2223(F, sep, ...) \
Z_UTIL_LISTIFY_2222(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2222, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2224(F, sep, ...) \
Z_UTIL_LISTIFY_2223(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2223, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2225(F, sep, ...) \
Z_UTIL_LISTIFY_2224(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2224, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2226(F, sep, ...) \
Z_UTIL_LISTIFY_2225(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2225, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2227(F, sep, ...) \
Z_UTIL_LISTIFY_2226(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2226, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2228(F, sep, ...) \
Z_UTIL_LISTIFY_2227(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2227, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2229(F, sep, ...) \
Z_UTIL_LISTIFY_2228(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2228, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2230(F, sep, ...) \
Z_UTIL_LISTIFY_2229(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2229, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2231(F, sep, ...) \
Z_UTIL_LISTIFY_2230(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2230, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2232(F, sep, ...) \
Z_UTIL_LISTIFY_2231(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2231, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2233(F, sep, ...) \
Z_UTIL_LISTIFY_2232(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2232, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2234(F, sep, ...) \
Z_UTIL_LISTIFY_2233(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2233, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2235(F, sep, ...) \
Z_UTIL_LISTIFY_2234(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2234, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2236(F, sep, ...) \
Z_UTIL_LISTIFY_2235(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2235, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2237(F, sep, ...) \
Z_UTIL_LISTIFY_2236(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2236, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2238(F, sep, ...) \
Z_UTIL_LISTIFY_2237(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2237, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2239(F, sep, ...) \
Z_UTIL_LISTIFY_2238(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2238, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2240(F, sep, ...) \
Z_UTIL_LISTIFY_2239(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2239, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2241(F, sep, ...) \
Z_UTIL_LISTIFY_2240(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2240, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2242(F, sep, ...) \
Z_UTIL_LISTIFY_2241(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2241, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2243(F, sep, ...) \
Z_UTIL_LISTIFY_2242(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2242, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2244(F, sep, ...) \
Z_UTIL_LISTIFY_2243(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2243, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2245(F, sep, ...) \
Z_UTIL_LISTIFY_2244(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2244, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2246(F, sep, ...) \
Z_UTIL_LISTIFY_2245(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2245, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2247(F, sep, ...) \
Z_UTIL_LISTIFY_2246(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2246, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2248(F, sep, ...) \
Z_UTIL_LISTIFY_2247(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2247, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2249(F, sep, ...) \
Z_UTIL_LISTIFY_2248(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2248, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2250(F, sep, ...) \
Z_UTIL_LISTIFY_2249(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2249, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2251(F, sep, ...) \
Z_UTIL_LISTIFY_2250(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2250, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2252(F, sep, ...) \
Z_UTIL_LISTIFY_2251(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2251, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2253(F, sep, ...) \
Z_UTIL_LISTIFY_2252(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2252, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2254(F, sep, ...) \
Z_UTIL_LISTIFY_2253(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2253, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2255(F, sep, ...) \
Z_UTIL_LISTIFY_2254(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2254, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2256(F, sep, ...) \
Z_UTIL_LISTIFY_2255(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2255, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2257(F, sep, ...) \
Z_UTIL_LISTIFY_2256(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2256, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2258(F, sep, ...) \
Z_UTIL_LISTIFY_2257(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2257, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2259(F, sep, ...) \
Z_UTIL_LISTIFY_2258(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2258, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2260(F, sep, ...) \
Z_UTIL_LISTIFY_2259(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2259, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2261(F, sep, ...) \
Z_UTIL_LISTIFY_2260(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2260, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2262(F, sep, ...) \
Z_UTIL_LISTIFY_2261(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2261, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2263(F, sep, ...) \
Z_UTIL_LISTIFY_2262(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2262, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2264(F, sep, ...) \
Z_UTIL_LISTIFY_2263(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2263, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2265(F, sep, ...) \
Z_UTIL_LISTIFY_2264(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2264, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2266(F, sep, ...) \
Z_UTIL_LISTIFY_2265(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2265, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2267(F, sep, ...) \
Z_UTIL_LISTIFY_2266(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2266, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2268(F, sep, ...) \
Z_UTIL_LISTIFY_2267(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2267, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2269(F, sep, ...) \
Z_UTIL_LISTIFY_2268(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2268, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2270(F, sep, ...) \
Z_UTIL_LISTIFY_2269(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2269, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2271(F, sep, ...) \
Z_UTIL_LISTIFY_2270(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2270, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2272(F, sep, ...) \
Z_UTIL_LISTIFY_2271(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2271, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2273(F, sep, ...) \
Z_UTIL_LISTIFY_2272(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2272, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2274(F, sep, ...) \
Z_UTIL_LISTIFY_2273(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2273, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2275(F, sep, ...) \
Z_UTIL_LISTIFY_2274(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2274, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2276(F, sep, ...) \
Z_UTIL_LISTIFY_2275(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2275, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2277(F, sep, ...) \
Z_UTIL_LISTIFY_2276(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2276, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2278(F, sep, ...) \
Z_UTIL_LISTIFY_2277(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2277, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2279(F, sep, ...) \
Z_UTIL_LISTIFY_2278(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2278, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2280(F, sep, ...) \
Z_UTIL_LISTIFY_2279(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2279, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2281(F, sep, ...) \
Z_UTIL_LISTIFY_2280(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2280, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2282(F, sep, ...) \
Z_UTIL_LISTIFY_2281(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2281, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2283(F, sep, ...) \
Z_UTIL_LISTIFY_2282(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2282, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2284(F, sep, ...) \
Z_UTIL_LISTIFY_2283(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2283, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2285(F, sep, ...) \
Z_UTIL_LISTIFY_2284(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2284, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2286(F, sep, ...) \
Z_UTIL_LISTIFY_2285(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2285, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2287(F, sep, ...) \
Z_UTIL_LISTIFY_2286(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2286, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2288(F, sep, ...) \
Z_UTIL_LISTIFY_2287(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2287, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2289(F, sep, ...) \
Z_UTIL_LISTIFY_2288(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2288, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2290(F, sep, ...) \
Z_UTIL_LISTIFY_2289(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2289, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2291(F, sep, ...) \
Z_UTIL_LISTIFY_2290(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2290, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2292(F, sep, ...) \
Z_UTIL_LISTIFY_2291(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2291, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2293(F, sep, ...) \
Z_UTIL_LISTIFY_2292(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2292, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2294(F, sep, ...) \
Z_UTIL_LISTIFY_2293(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2293, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2295(F, sep, ...) \
Z_UTIL_LISTIFY_2294(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2294, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2296(F, sep, ...) \
Z_UTIL_LISTIFY_2295(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2295, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2297(F, sep, ...) \
Z_UTIL_LISTIFY_2296(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2296, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2298(F, sep, ...) \
Z_UTIL_LISTIFY_2297(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2297, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2299(F, sep, ...) \
Z_UTIL_LISTIFY_2298(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2298, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2300(F, sep, ...) \
Z_UTIL_LISTIFY_2299(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2299, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2301(F, sep, ...) \
Z_UTIL_LISTIFY_2300(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2300, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2302(F, sep, ...) \
Z_UTIL_LISTIFY_2301(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2301, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2303(F, sep, ...) \
Z_UTIL_LISTIFY_2302(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2302, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2304(F, sep, ...) \
Z_UTIL_LISTIFY_2303(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2303, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2305(F, sep, ...) \
Z_UTIL_LISTIFY_2304(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2304, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2306(F, sep, ...) \
Z_UTIL_LISTIFY_2305(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2305, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2307(F, sep, ...) \
Z_UTIL_LISTIFY_2306(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2306, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2308(F, sep, ...) \
Z_UTIL_LISTIFY_2307(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2307, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2309(F, sep, ...) \
Z_UTIL_LISTIFY_2308(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2308, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2310(F, sep, ...) \
Z_UTIL_LISTIFY_2309(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2309, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2311(F, sep, ...) \
Z_UTIL_LISTIFY_2310(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2310, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2312(F, sep, ...) \
Z_UTIL_LISTIFY_2311(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2311, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2313(F, sep, ...) \
Z_UTIL_LISTIFY_2312(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2312, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2314(F, sep, ...) \
Z_UTIL_LISTIFY_2313(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2313, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2315(F, sep, ...) \
Z_UTIL_LISTIFY_2314(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2314, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2316(F, sep, ...) \
Z_UTIL_LISTIFY_2315(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2315, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2317(F, sep, ...) \
Z_UTIL_LISTIFY_2316(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2316, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2318(F, sep, ...) \
Z_UTIL_LISTIFY_2317(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2317, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2319(F, sep, ...) \
Z_UTIL_LISTIFY_2318(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2318, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2320(F, sep, ...) \
Z_UTIL_LISTIFY_2319(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2319, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2321(F, sep, ...) \
Z_UTIL_LISTIFY_2320(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2320, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2322(F, sep, ...) \
Z_UTIL_LISTIFY_2321(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2321, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2323(F, sep, ...) \
Z_UTIL_LISTIFY_2322(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2322, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2324(F, sep, ...) \
Z_UTIL_LISTIFY_2323(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2323, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2325(F, sep, ...) \
Z_UTIL_LISTIFY_2324(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2324, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2326(F, sep, ...) \
Z_UTIL_LISTIFY_2325(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2325, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2327(F, sep, ...) \
Z_UTIL_LISTIFY_2326(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2326, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2328(F, sep, ...) \
Z_UTIL_LISTIFY_2327(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2327, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2329(F, sep, ...) \
Z_UTIL_LISTIFY_2328(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2328, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2330(F, sep, ...) \
Z_UTIL_LISTIFY_2329(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2329, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2331(F, sep, ...) \
Z_UTIL_LISTIFY_2330(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2330, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2332(F, sep, ...) \
Z_UTIL_LISTIFY_2331(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2331, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2333(F, sep, ...) \
Z_UTIL_LISTIFY_2332(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2332, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2334(F, sep, ...) \
Z_UTIL_LISTIFY_2333(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2333, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2335(F, sep, ...) \
Z_UTIL_LISTIFY_2334(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2334, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2336(F, sep, ...) \
Z_UTIL_LISTIFY_2335(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2335, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2337(F, sep, ...) \
Z_UTIL_LISTIFY_2336(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2336, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2338(F, sep, ...) \
Z_UTIL_LISTIFY_2337(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2337, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2339(F, sep, ...) \
Z_UTIL_LISTIFY_2338(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2338, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2340(F, sep, ...) \
Z_UTIL_LISTIFY_2339(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2339, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2341(F, sep, ...) \
Z_UTIL_LISTIFY_2340(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2340, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2342(F, sep, ...) \
Z_UTIL_LISTIFY_2341(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2341, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2343(F, sep, ...) \
Z_UTIL_LISTIFY_2342(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2342, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2344(F, sep, ...) \
Z_UTIL_LISTIFY_2343(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2343, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2345(F, sep, ...) \
Z_UTIL_LISTIFY_2344(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2344, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2346(F, sep, ...) \
Z_UTIL_LISTIFY_2345(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2345, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2347(F, sep, ...) \
Z_UTIL_LISTIFY_2346(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2346, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2348(F, sep, ...) \
Z_UTIL_LISTIFY_2347(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2347, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2349(F, sep, ...) \
Z_UTIL_LISTIFY_2348(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2348, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2350(F, sep, ...) \
Z_UTIL_LISTIFY_2349(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2349, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2351(F, sep, ...) \
Z_UTIL_LISTIFY_2350(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2350, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2352(F, sep, ...) \
Z_UTIL_LISTIFY_2351(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2351, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2353(F, sep, ...) \
Z_UTIL_LISTIFY_2352(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2352, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2354(F, sep, ...) \
Z_UTIL_LISTIFY_2353(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2353, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2355(F, sep, ...) \
Z_UTIL_LISTIFY_2354(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2354, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2356(F, sep, ...) \
Z_UTIL_LISTIFY_2355(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2355, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2357(F, sep, ...) \
Z_UTIL_LISTIFY_2356(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2356, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2358(F, sep, ...) \
Z_UTIL_LISTIFY_2357(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2357, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2359(F, sep, ...) \
Z_UTIL_LISTIFY_2358(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2358, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2360(F, sep, ...) \
Z_UTIL_LISTIFY_2359(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2359, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2361(F, sep, ...) \
Z_UTIL_LISTIFY_2360(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2360, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2362(F, sep, ...) \
Z_UTIL_LISTIFY_2361(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2361, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2363(F, sep, ...) \
Z_UTIL_LISTIFY_2362(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2362, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2364(F, sep, ...) \
Z_UTIL_LISTIFY_2363(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2363, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2365(F, sep, ...) \
Z_UTIL_LISTIFY_2364(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2364, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2366(F, sep, ...) \
Z_UTIL_LISTIFY_2365(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2365, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2367(F, sep, ...) \
Z_UTIL_LISTIFY_2366(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2366, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2368(F, sep, ...) \
Z_UTIL_LISTIFY_2367(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2367, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2369(F, sep, ...) \
Z_UTIL_LISTIFY_2368(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2368, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2370(F, sep, ...) \
Z_UTIL_LISTIFY_2369(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2369, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2371(F, sep, ...) \
Z_UTIL_LISTIFY_2370(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2370, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2372(F, sep, ...) \
Z_UTIL_LISTIFY_2371(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2371, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2373(F, sep, ...) \
Z_UTIL_LISTIFY_2372(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2372, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2374(F, sep, ...) \
Z_UTIL_LISTIFY_2373(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2373, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2375(F, sep, ...) \
Z_UTIL_LISTIFY_2374(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2374, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2376(F, sep, ...) \
Z_UTIL_LISTIFY_2375(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2375, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2377(F, sep, ...) \
Z_UTIL_LISTIFY_2376(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2376, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2378(F, sep, ...) \
Z_UTIL_LISTIFY_2377(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2377, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2379(F, sep, ...) \
Z_UTIL_LISTIFY_2378(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2378, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2380(F, sep, ...) \
Z_UTIL_LISTIFY_2379(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2379, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2381(F, sep, ...) \
Z_UTIL_LISTIFY_2380(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2380, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2382(F, sep, ...) \
Z_UTIL_LISTIFY_2381(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2381, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2383(F, sep, ...) \
Z_UTIL_LISTIFY_2382(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2382, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2384(F, sep, ...) \
Z_UTIL_LISTIFY_2383(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2383, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2385(F, sep, ...) \
Z_UTIL_LISTIFY_2384(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2384, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2386(F, sep, ...) \
Z_UTIL_LISTIFY_2385(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2385, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2387(F, sep, ...) \
Z_UTIL_LISTIFY_2386(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2386, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2388(F, sep, ...) \
Z_UTIL_LISTIFY_2387(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2387, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2389(F, sep, ...) \
Z_UTIL_LISTIFY_2388(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2388, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2390(F, sep, ...) \
Z_UTIL_LISTIFY_2389(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2389, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2391(F, sep, ...) \
Z_UTIL_LISTIFY_2390(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2390, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2392(F, sep, ...) \
Z_UTIL_LISTIFY_2391(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2391, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2393(F, sep, ...) \
Z_UTIL_LISTIFY_2392(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2392, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2394(F, sep, ...) \
Z_UTIL_LISTIFY_2393(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2393, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2395(F, sep, ...) \
Z_UTIL_LISTIFY_2394(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2394, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2396(F, sep, ...) \
Z_UTIL_LISTIFY_2395(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2395, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2397(F, sep, ...) \
Z_UTIL_LISTIFY_2396(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2396, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2398(F, sep, ...) \
Z_UTIL_LISTIFY_2397(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2397, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2399(F, sep, ...) \
Z_UTIL_LISTIFY_2398(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2398, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2400(F, sep, ...) \
Z_UTIL_LISTIFY_2399(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2399, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2401(F, sep, ...) \
Z_UTIL_LISTIFY_2400(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2400, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2402(F, sep, ...) \
Z_UTIL_LISTIFY_2401(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2401, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2403(F, sep, ...) \
Z_UTIL_LISTIFY_2402(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2402, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2404(F, sep, ...) \
Z_UTIL_LISTIFY_2403(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2403, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2405(F, sep, ...) \
Z_UTIL_LISTIFY_2404(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2404, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2406(F, sep, ...) \
Z_UTIL_LISTIFY_2405(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2405, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2407(F, sep, ...) \
Z_UTIL_LISTIFY_2406(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2406, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2408(F, sep, ...) \
Z_UTIL_LISTIFY_2407(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2407, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2409(F, sep, ...) \
Z_UTIL_LISTIFY_2408(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2408, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2410(F, sep, ...) \
Z_UTIL_LISTIFY_2409(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2409, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2411(F, sep, ...) \
Z_UTIL_LISTIFY_2410(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2410, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2412(F, sep, ...) \
Z_UTIL_LISTIFY_2411(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2411, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2413(F, sep, ...) \
Z_UTIL_LISTIFY_2412(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2412, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2414(F, sep, ...) \
Z_UTIL_LISTIFY_2413(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2413, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2415(F, sep, ...) \
Z_UTIL_LISTIFY_2414(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2414, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2416(F, sep, ...) \
Z_UTIL_LISTIFY_2415(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2415, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2417(F, sep, ...) \
Z_UTIL_LISTIFY_2416(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2416, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2418(F, sep, ...) \
Z_UTIL_LISTIFY_2417(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2417, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2419(F, sep, ...) \
Z_UTIL_LISTIFY_2418(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2418, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2420(F, sep, ...) \
Z_UTIL_LISTIFY_2419(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2419, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2421(F, sep, ...) \
Z_UTIL_LISTIFY_2420(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2420, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2422(F, sep, ...) \
Z_UTIL_LISTIFY_2421(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2421, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2423(F, sep, ...) \
Z_UTIL_LISTIFY_2422(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2422, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2424(F, sep, ...) \
Z_UTIL_LISTIFY_2423(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2423, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2425(F, sep, ...) \
Z_UTIL_LISTIFY_2424(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2424, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2426(F, sep, ...) \
Z_UTIL_LISTIFY_2425(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2425, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2427(F, sep, ...) \
Z_UTIL_LISTIFY_2426(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2426, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2428(F, sep, ...) \
Z_UTIL_LISTIFY_2427(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2427, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2429(F, sep, ...) \
Z_UTIL_LISTIFY_2428(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2428, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2430(F, sep, ...) \
Z_UTIL_LISTIFY_2429(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2429, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2431(F, sep, ...) \
Z_UTIL_LISTIFY_2430(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2430, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2432(F, sep, ...) \
Z_UTIL_LISTIFY_2431(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2431, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2433(F, sep, ...) \
Z_UTIL_LISTIFY_2432(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2432, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2434(F, sep, ...) \
Z_UTIL_LISTIFY_2433(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2433, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2435(F, sep, ...) \
Z_UTIL_LISTIFY_2434(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2434, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2436(F, sep, ...) \
Z_UTIL_LISTIFY_2435(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2435, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2437(F, sep, ...) \
Z_UTIL_LISTIFY_2436(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2436, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2438(F, sep, ...) \
Z_UTIL_LISTIFY_2437(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2437, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2439(F, sep, ...) \
Z_UTIL_LISTIFY_2438(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2438, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2440(F, sep, ...) \
Z_UTIL_LISTIFY_2439(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2439, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2441(F, sep, ...) \
Z_UTIL_LISTIFY_2440(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2440, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2442(F, sep, ...) \
Z_UTIL_LISTIFY_2441(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2441, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2443(F, sep, ...) \
Z_UTIL_LISTIFY_2442(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2442, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2444(F, sep, ...) \
Z_UTIL_LISTIFY_2443(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2443, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2445(F, sep, ...) \
Z_UTIL_LISTIFY_2444(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2444, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2446(F, sep, ...) \
Z_UTIL_LISTIFY_2445(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2445, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2447(F, sep, ...) \
Z_UTIL_LISTIFY_2446(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2446, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2448(F, sep, ...) \
Z_UTIL_LISTIFY_2447(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2447, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2449(F, sep, ...) \
Z_UTIL_LISTIFY_2448(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2448, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2450(F, sep, ...) \
Z_UTIL_LISTIFY_2449(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2449, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2451(F, sep, ...) \
Z_UTIL_LISTIFY_2450(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2450, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2452(F, sep, ...) \
Z_UTIL_LISTIFY_2451(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2451, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2453(F, sep, ...) \
Z_UTIL_LISTIFY_2452(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2452, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2454(F, sep, ...) \
Z_UTIL_LISTIFY_2453(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2453, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2455(F, sep, ...) \
Z_UTIL_LISTIFY_2454(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2454, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2456(F, sep, ...) \
Z_UTIL_LISTIFY_2455(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2455, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2457(F, sep, ...) \
Z_UTIL_LISTIFY_2456(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2456, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2458(F, sep, ...) \
Z_UTIL_LISTIFY_2457(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2457, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2459(F, sep, ...) \
Z_UTIL_LISTIFY_2458(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2458, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2460(F, sep, ...) \
Z_UTIL_LISTIFY_2459(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2459, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2461(F, sep, ...) \
Z_UTIL_LISTIFY_2460(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2460, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2462(F, sep, ...) \
Z_UTIL_LISTIFY_2461(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2461, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2463(F, sep, ...) \
Z_UTIL_LISTIFY_2462(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2462, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2464(F, sep, ...) \
Z_UTIL_LISTIFY_2463(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2463, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2465(F, sep, ...) \
Z_UTIL_LISTIFY_2464(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2464, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2466(F, sep, ...) \
Z_UTIL_LISTIFY_2465(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2465, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2467(F, sep, ...) \
Z_UTIL_LISTIFY_2466(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2466, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2468(F, sep, ...) \
Z_UTIL_LISTIFY_2467(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2467, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2469(F, sep, ...) \
Z_UTIL_LISTIFY_2468(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2468, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2470(F, sep, ...) \
Z_UTIL_LISTIFY_2469(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2469, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2471(F, sep, ...) \
Z_UTIL_LISTIFY_2470(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2470, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2472(F, sep, ...) \
Z_UTIL_LISTIFY_2471(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2471, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2473(F, sep, ...) \
Z_UTIL_LISTIFY_2472(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2472, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2474(F, sep, ...) \
Z_UTIL_LISTIFY_2473(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2473, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2475(F, sep, ...) \
Z_UTIL_LISTIFY_2474(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2474, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2476(F, sep, ...) \
Z_UTIL_LISTIFY_2475(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2475, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2477(F, sep, ...) \
Z_UTIL_LISTIFY_2476(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2476, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2478(F, sep, ...) \
Z_UTIL_LISTIFY_2477(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2477, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2479(F, sep, ...) \
Z_UTIL_LISTIFY_2478(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2478, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2480(F, sep, ...) \
Z_UTIL_LISTIFY_2479(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2479, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2481(F, sep, ...) \
Z_UTIL_LISTIFY_2480(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2480, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2482(F, sep, ...) \
Z_UTIL_LISTIFY_2481(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2481, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2483(F, sep, ...) \
Z_UTIL_LISTIFY_2482(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2482, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2484(F, sep, ...) \
Z_UTIL_LISTIFY_2483(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2483, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2485(F, sep, ...) \
Z_UTIL_LISTIFY_2484(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2484, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2486(F, sep, ...) \
Z_UTIL_LISTIFY_2485(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2485, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2487(F, sep, ...) \
Z_UTIL_LISTIFY_2486(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2486, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2488(F, sep, ...) \
Z_UTIL_LISTIFY_2487(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2487, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2489(F, sep, ...) \
Z_UTIL_LISTIFY_2488(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2488, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2490(F, sep, ...) \
Z_UTIL_LISTIFY_2489(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2489, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2491(F, sep, ...) \
Z_UTIL_LISTIFY_2490(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2490, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2492(F, sep, ...) \
Z_UTIL_LISTIFY_2491(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2491, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2493(F, sep, ...) \
Z_UTIL_LISTIFY_2492(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2492, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2494(F, sep, ...) \
Z_UTIL_LISTIFY_2493(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2493, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2495(F, sep, ...) \
Z_UTIL_LISTIFY_2494(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2494, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2496(F, sep, ...) \
Z_UTIL_LISTIFY_2495(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2495, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2497(F, sep, ...) \
Z_UTIL_LISTIFY_2496(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2496, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2498(F, sep, ...) \
Z_UTIL_LISTIFY_2497(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2497, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2499(F, sep, ...) \
Z_UTIL_LISTIFY_2498(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2498, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2500(F, sep, ...) \
Z_UTIL_LISTIFY_2499(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2499, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2501(F, sep, ...) \
Z_UTIL_LISTIFY_2500(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2500, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2502(F, sep, ...) \
Z_UTIL_LISTIFY_2501(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2501, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2503(F, sep, ...) \
Z_UTIL_LISTIFY_2502(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2502, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2504(F, sep, ...) \
Z_UTIL_LISTIFY_2503(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2503, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2505(F, sep, ...) \
Z_UTIL_LISTIFY_2504(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2504, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2506(F, sep, ...) \
Z_UTIL_LISTIFY_2505(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2505, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2507(F, sep, ...) \
Z_UTIL_LISTIFY_2506(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2506, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2508(F, sep, ...) \
Z_UTIL_LISTIFY_2507(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2507, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2509(F, sep, ...) \
Z_UTIL_LISTIFY_2508(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2508, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2510(F, sep, ...) \
Z_UTIL_LISTIFY_2509(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2509, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2511(F, sep, ...) \
Z_UTIL_LISTIFY_2510(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2510, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2512(F, sep, ...) \
Z_UTIL_LISTIFY_2511(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2511, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2513(F, sep, ...) \
Z_UTIL_LISTIFY_2512(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2512, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2514(F, sep, ...) \
Z_UTIL_LISTIFY_2513(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2513, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2515(F, sep, ...) \
Z_UTIL_LISTIFY_2514(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2514, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2516(F, sep, ...) \
Z_UTIL_LISTIFY_2515(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2515, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2517(F, sep, ...) \
Z_UTIL_LISTIFY_2516(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2516, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2518(F, sep, ...) \
Z_UTIL_LISTIFY_2517(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2517, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2519(F, sep, ...) \
Z_UTIL_LISTIFY_2518(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2518, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2520(F, sep, ...) \
Z_UTIL_LISTIFY_2519(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2519, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2521(F, sep, ...) \
Z_UTIL_LISTIFY_2520(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2520, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2522(F, sep, ...) \
Z_UTIL_LISTIFY_2521(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2521, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2523(F, sep, ...) \
Z_UTIL_LISTIFY_2522(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2522, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2524(F, sep, ...) \
Z_UTIL_LISTIFY_2523(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2523, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2525(F, sep, ...) \
Z_UTIL_LISTIFY_2524(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2524, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2526(F, sep, ...) \
Z_UTIL_LISTIFY_2525(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2525, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2527(F, sep, ...) \
Z_UTIL_LISTIFY_2526(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2526, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2528(F, sep, ...) \
Z_UTIL_LISTIFY_2527(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2527, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2529(F, sep, ...) \
Z_UTIL_LISTIFY_2528(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2528, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2530(F, sep, ...) \
Z_UTIL_LISTIFY_2529(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2529, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2531(F, sep, ...) \
Z_UTIL_LISTIFY_2530(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2530, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2532(F, sep, ...) \
Z_UTIL_LISTIFY_2531(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2531, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2533(F, sep, ...) \
Z_UTIL_LISTIFY_2532(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2532, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2534(F, sep, ...) \
Z_UTIL_LISTIFY_2533(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2533, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2535(F, sep, ...) \
Z_UTIL_LISTIFY_2534(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2534, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2536(F, sep, ...) \
Z_UTIL_LISTIFY_2535(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2535, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2537(F, sep, ...) \
Z_UTIL_LISTIFY_2536(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2536, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2538(F, sep, ...) \
Z_UTIL_LISTIFY_2537(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2537, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2539(F, sep, ...) \
Z_UTIL_LISTIFY_2538(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2538, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2540(F, sep, ...) \
Z_UTIL_LISTIFY_2539(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2539, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2541(F, sep, ...) \
Z_UTIL_LISTIFY_2540(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2540, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2542(F, sep, ...) \
Z_UTIL_LISTIFY_2541(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2541, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2543(F, sep, ...) \
Z_UTIL_LISTIFY_2542(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2542, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2544(F, sep, ...) \
Z_UTIL_LISTIFY_2543(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2543, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2545(F, sep, ...) \
Z_UTIL_LISTIFY_2544(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2544, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2546(F, sep, ...) \
Z_UTIL_LISTIFY_2545(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2545, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2547(F, sep, ...) \
Z_UTIL_LISTIFY_2546(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2546, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2548(F, sep, ...) \
Z_UTIL_LISTIFY_2547(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2547, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2549(F, sep, ...) \
Z_UTIL_LISTIFY_2548(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2548, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2550(F, sep, ...) \
Z_UTIL_LISTIFY_2549(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2549, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2551(F, sep, ...) \
Z_UTIL_LISTIFY_2550(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2550, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2552(F, sep, ...) \
Z_UTIL_LISTIFY_2551(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2551, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2553(F, sep, ...) \
Z_UTIL_LISTIFY_2552(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2552, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2554(F, sep, ...) \
Z_UTIL_LISTIFY_2553(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2553, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2555(F, sep, ...) \
Z_UTIL_LISTIFY_2554(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2554, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2556(F, sep, ...) \
Z_UTIL_LISTIFY_2555(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2555, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2557(F, sep, ...) \
Z_UTIL_LISTIFY_2556(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2556, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2558(F, sep, ...) \
Z_UTIL_LISTIFY_2557(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2557, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2559(F, sep, ...) \
Z_UTIL_LISTIFY_2558(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2558, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2560(F, sep, ...) \
Z_UTIL_LISTIFY_2559(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2559, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2561(F, sep, ...) \
Z_UTIL_LISTIFY_2560(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2560, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2562(F, sep, ...) \
Z_UTIL_LISTIFY_2561(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2561, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2563(F, sep, ...) \
Z_UTIL_LISTIFY_2562(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2562, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2564(F, sep, ...) \
Z_UTIL_LISTIFY_2563(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2563, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2565(F, sep, ...) \
Z_UTIL_LISTIFY_2564(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2564, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2566(F, sep, ...) \
Z_UTIL_LISTIFY_2565(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2565, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2567(F, sep, ...) \
Z_UTIL_LISTIFY_2566(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2566, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2568(F, sep, ...) \
Z_UTIL_LISTIFY_2567(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2567, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2569(F, sep, ...) \
Z_UTIL_LISTIFY_2568(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2568, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2570(F, sep, ...) \
Z_UTIL_LISTIFY_2569(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2569, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2571(F, sep, ...) \
Z_UTIL_LISTIFY_2570(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2570, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2572(F, sep, ...) \
Z_UTIL_LISTIFY_2571(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2571, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2573(F, sep, ...) \
Z_UTIL_LISTIFY_2572(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2572, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2574(F, sep, ...) \
Z_UTIL_LISTIFY_2573(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2573, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2575(F, sep, ...) \
Z_UTIL_LISTIFY_2574(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2574, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2576(F, sep, ...) \
Z_UTIL_LISTIFY_2575(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2575, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2577(F, sep, ...) \
Z_UTIL_LISTIFY_2576(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2576, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2578(F, sep, ...) \
Z_UTIL_LISTIFY_2577(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2577, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2579(F, sep, ...) \
Z_UTIL_LISTIFY_2578(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2578, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2580(F, sep, ...) \
Z_UTIL_LISTIFY_2579(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2579, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2581(F, sep, ...) \
Z_UTIL_LISTIFY_2580(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2580, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2582(F, sep, ...) \
Z_UTIL_LISTIFY_2581(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2581, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2583(F, sep, ...) \
Z_UTIL_LISTIFY_2582(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2582, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2584(F, sep, ...) \
Z_UTIL_LISTIFY_2583(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2583, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2585(F, sep, ...) \
Z_UTIL_LISTIFY_2584(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2584, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2586(F, sep, ...) \
Z_UTIL_LISTIFY_2585(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2585, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2587(F, sep, ...) \
Z_UTIL_LISTIFY_2586(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2586, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2588(F, sep, ...) \
Z_UTIL_LISTIFY_2587(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2587, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2589(F, sep, ...) \
Z_UTIL_LISTIFY_2588(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2588, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2590(F, sep, ...) \
Z_UTIL_LISTIFY_2589(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2589, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2591(F, sep, ...) \
Z_UTIL_LISTIFY_2590(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2590, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2592(F, sep, ...) \
Z_UTIL_LISTIFY_2591(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2591, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2593(F, sep, ...) \
Z_UTIL_LISTIFY_2592(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2592, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2594(F, sep, ...) \
Z_UTIL_LISTIFY_2593(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2593, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2595(F, sep, ...) \
Z_UTIL_LISTIFY_2594(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2594, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2596(F, sep, ...) \
Z_UTIL_LISTIFY_2595(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2595, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2597(F, sep, ...) \
Z_UTIL_LISTIFY_2596(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2596, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2598(F, sep, ...) \
Z_UTIL_LISTIFY_2597(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2597, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2599(F, sep, ...) \
Z_UTIL_LISTIFY_2598(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2598, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2600(F, sep, ...) \
Z_UTIL_LISTIFY_2599(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2599, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2601(F, sep, ...) \
Z_UTIL_LISTIFY_2600(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2600, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2602(F, sep, ...) \
Z_UTIL_LISTIFY_2601(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2601, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2603(F, sep, ...) \
Z_UTIL_LISTIFY_2602(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2602, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2604(F, sep, ...) \
Z_UTIL_LISTIFY_2603(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2603, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2605(F, sep, ...) \
Z_UTIL_LISTIFY_2604(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2604, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2606(F, sep, ...) \
Z_UTIL_LISTIFY_2605(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2605, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2607(F, sep, ...) \
Z_UTIL_LISTIFY_2606(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2606, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2608(F, sep, ...) \
Z_UTIL_LISTIFY_2607(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2607, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2609(F, sep, ...) \
Z_UTIL_LISTIFY_2608(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2608, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2610(F, sep, ...) \
Z_UTIL_LISTIFY_2609(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2609, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2611(F, sep, ...) \
Z_UTIL_LISTIFY_2610(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2610, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2612(F, sep, ...) \
Z_UTIL_LISTIFY_2611(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2611, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2613(F, sep, ...) \
Z_UTIL_LISTIFY_2612(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2612, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2614(F, sep, ...) \
Z_UTIL_LISTIFY_2613(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2613, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2615(F, sep, ...) \
Z_UTIL_LISTIFY_2614(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2614, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2616(F, sep, ...) \
Z_UTIL_LISTIFY_2615(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2615, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2617(F, sep, ...) \
Z_UTIL_LISTIFY_2616(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2616, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2618(F, sep, ...) \
Z_UTIL_LISTIFY_2617(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2617, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2619(F, sep, ...) \
Z_UTIL_LISTIFY_2618(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2618, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2620(F, sep, ...) \
Z_UTIL_LISTIFY_2619(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2619, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2621(F, sep, ...) \
Z_UTIL_LISTIFY_2620(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2620, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2622(F, sep, ...) \
Z_UTIL_LISTIFY_2621(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2621, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2623(F, sep, ...) \
Z_UTIL_LISTIFY_2622(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2622, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2624(F, sep, ...) \
Z_UTIL_LISTIFY_2623(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2623, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2625(F, sep, ...) \
Z_UTIL_LISTIFY_2624(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2624, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2626(F, sep, ...) \
Z_UTIL_LISTIFY_2625(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2625, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2627(F, sep, ...) \
Z_UTIL_LISTIFY_2626(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2626, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2628(F, sep, ...) \
Z_UTIL_LISTIFY_2627(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2627, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2629(F, sep, ...) \
Z_UTIL_LISTIFY_2628(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2628, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2630(F, sep, ...) \
Z_UTIL_LISTIFY_2629(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2629, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2631(F, sep, ...) \
Z_UTIL_LISTIFY_2630(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2630, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2632(F, sep, ...) \
Z_UTIL_LISTIFY_2631(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2631, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2633(F, sep, ...) \
Z_UTIL_LISTIFY_2632(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2632, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2634(F, sep, ...) \
Z_UTIL_LISTIFY_2633(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2633, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2635(F, sep, ...) \
Z_UTIL_LISTIFY_2634(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2634, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2636(F, sep, ...) \
Z_UTIL_LISTIFY_2635(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2635, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2637(F, sep, ...) \
Z_UTIL_LISTIFY_2636(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2636, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2638(F, sep, ...) \
Z_UTIL_LISTIFY_2637(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2637, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2639(F, sep, ...) \
Z_UTIL_LISTIFY_2638(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2638, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2640(F, sep, ...) \
Z_UTIL_LISTIFY_2639(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2639, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2641(F, sep, ...) \
Z_UTIL_LISTIFY_2640(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2640, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2642(F, sep, ...) \
Z_UTIL_LISTIFY_2641(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2641, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2643(F, sep, ...) \
Z_UTIL_LISTIFY_2642(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2642, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2644(F, sep, ...) \
Z_UTIL_LISTIFY_2643(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2643, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2645(F, sep, ...) \
Z_UTIL_LISTIFY_2644(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2644, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2646(F, sep, ...) \
Z_UTIL_LISTIFY_2645(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2645, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2647(F, sep, ...) \
Z_UTIL_LISTIFY_2646(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2646, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2648(F, sep, ...) \
Z_UTIL_LISTIFY_2647(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2647, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2649(F, sep, ...) \
Z_UTIL_LISTIFY_2648(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2648, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2650(F, sep, ...) \
Z_UTIL_LISTIFY_2649(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2649, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2651(F, sep, ...) \
Z_UTIL_LISTIFY_2650(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2650, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2652(F, sep, ...) \
Z_UTIL_LISTIFY_2651(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2651, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2653(F, sep, ...) \
Z_UTIL_LISTIFY_2652(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2652, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2654(F, sep, ...) \
Z_UTIL_LISTIFY_2653(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2653, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2655(F, sep, ...) \
Z_UTIL_LISTIFY_2654(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2654, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2656(F, sep, ...) \
Z_UTIL_LISTIFY_2655(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2655, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2657(F, sep, ...) \
Z_UTIL_LISTIFY_2656(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2656, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2658(F, sep, ...) \
Z_UTIL_LISTIFY_2657(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2657, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2659(F, sep, ...) \
Z_UTIL_LISTIFY_2658(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2658, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2660(F, sep, ...) \
Z_UTIL_LISTIFY_2659(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2659, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2661(F, sep, ...) \
Z_UTIL_LISTIFY_2660(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2660, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2662(F, sep, ...) \
Z_UTIL_LISTIFY_2661(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2661, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2663(F, sep, ...) \
Z_UTIL_LISTIFY_2662(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2662, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2664(F, sep, ...) \
Z_UTIL_LISTIFY_2663(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2663, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2665(F, sep, ...) \
Z_UTIL_LISTIFY_2664(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2664, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2666(F, sep, ...) \
Z_UTIL_LISTIFY_2665(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2665, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2667(F, sep, ...) \
Z_UTIL_LISTIFY_2666(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2666, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2668(F, sep, ...) \
Z_UTIL_LISTIFY_2667(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2667, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2669(F, sep, ...) \
Z_UTIL_LISTIFY_2668(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2668, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2670(F, sep, ...) \
Z_UTIL_LISTIFY_2669(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2669, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2671(F, sep, ...) \
Z_UTIL_LISTIFY_2670(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2670, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2672(F, sep, ...) \
Z_UTIL_LISTIFY_2671(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2671, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2673(F, sep, ...) \
Z_UTIL_LISTIFY_2672(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2672, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2674(F, sep, ...) \
Z_UTIL_LISTIFY_2673(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2673, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2675(F, sep, ...) \
Z_UTIL_LISTIFY_2674(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2674, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2676(F, sep, ...) \
Z_UTIL_LISTIFY_2675(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2675, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2677(F, sep, ...) \
Z_UTIL_LISTIFY_2676(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2676, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2678(F, sep, ...) \
Z_UTIL_LISTIFY_2677(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2677, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2679(F, sep, ...) \
Z_UTIL_LISTIFY_2678(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2678, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2680(F, sep, ...) \
Z_UTIL_LISTIFY_2679(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2679, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2681(F, sep, ...) \
Z_UTIL_LISTIFY_2680(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2680, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2682(F, sep, ...) \
Z_UTIL_LISTIFY_2681(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2681, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2683(F, sep, ...) \
Z_UTIL_LISTIFY_2682(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2682, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2684(F, sep, ...) \
Z_UTIL_LISTIFY_2683(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2683, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2685(F, sep, ...) \
Z_UTIL_LISTIFY_2684(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2684, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2686(F, sep, ...) \
Z_UTIL_LISTIFY_2685(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2685, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2687(F, sep, ...) \
Z_UTIL_LISTIFY_2686(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2686, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2688(F, sep, ...) \
Z_UTIL_LISTIFY_2687(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2687, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2689(F, sep, ...) \
Z_UTIL_LISTIFY_2688(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2688, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2690(F, sep, ...) \
Z_UTIL_LISTIFY_2689(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2689, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2691(F, sep, ...) \
Z_UTIL_LISTIFY_2690(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2690, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2692(F, sep, ...) \
Z_UTIL_LISTIFY_2691(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2691, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2693(F, sep, ...) \
Z_UTIL_LISTIFY_2692(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2692, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2694(F, sep, ...) \
Z_UTIL_LISTIFY_2693(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2693, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2695(F, sep, ...) \
Z_UTIL_LISTIFY_2694(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2694, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2696(F, sep, ...) \
Z_UTIL_LISTIFY_2695(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2695, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2697(F, sep, ...) \
Z_UTIL_LISTIFY_2696(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2696, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2698(F, sep, ...) \
Z_UTIL_LISTIFY_2697(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2697, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2699(F, sep, ...) \
Z_UTIL_LISTIFY_2698(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2698, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2700(F, sep, ...) \
Z_UTIL_LISTIFY_2699(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2699, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2701(F, sep, ...) \
Z_UTIL_LISTIFY_2700(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2700, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2702(F, sep, ...) \
Z_UTIL_LISTIFY_2701(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2701, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2703(F, sep, ...) \
Z_UTIL_LISTIFY_2702(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2702, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2704(F, sep, ...) \
Z_UTIL_LISTIFY_2703(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2703, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2705(F, sep, ...) \
Z_UTIL_LISTIFY_2704(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2704, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2706(F, sep, ...) \
Z_UTIL_LISTIFY_2705(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2705, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2707(F, sep, ...) \
Z_UTIL_LISTIFY_2706(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2706, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2708(F, sep, ...) \
Z_UTIL_LISTIFY_2707(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2707, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2709(F, sep, ...) \
Z_UTIL_LISTIFY_2708(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2708, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2710(F, sep, ...) \
Z_UTIL_LISTIFY_2709(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2709, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2711(F, sep, ...) \
Z_UTIL_LISTIFY_2710(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2710, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2712(F, sep, ...) \
Z_UTIL_LISTIFY_2711(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2711, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2713(F, sep, ...) \
Z_UTIL_LISTIFY_2712(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2712, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2714(F, sep, ...) \
Z_UTIL_LISTIFY_2713(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2713, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2715(F, sep, ...) \
Z_UTIL_LISTIFY_2714(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2714, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2716(F, sep, ...) \
Z_UTIL_LISTIFY_2715(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2715, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2717(F, sep, ...) \
Z_UTIL_LISTIFY_2716(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2716, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2718(F, sep, ...) \
Z_UTIL_LISTIFY_2717(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2717, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2719(F, sep, ...) \
Z_UTIL_LISTIFY_2718(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2718, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2720(F, sep, ...) \
Z_UTIL_LISTIFY_2719(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2719, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2721(F, sep, ...) \
Z_UTIL_LISTIFY_2720(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2720, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2722(F, sep, ...) \
Z_UTIL_LISTIFY_2721(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2721, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2723(F, sep, ...) \
Z_UTIL_LISTIFY_2722(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2722, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2724(F, sep, ...) \
Z_UTIL_LISTIFY_2723(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2723, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2725(F, sep, ...) \
Z_UTIL_LISTIFY_2724(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2724, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2726(F, sep, ...) \
Z_UTIL_LISTIFY_2725(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2725, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2727(F, sep, ...) \
Z_UTIL_LISTIFY_2726(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2726, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2728(F, sep, ...) \
Z_UTIL_LISTIFY_2727(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2727, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2729(F, sep, ...) \
Z_UTIL_LISTIFY_2728(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2728, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2730(F, sep, ...) \
Z_UTIL_LISTIFY_2729(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2729, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2731(F, sep, ...) \
Z_UTIL_LISTIFY_2730(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2730, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2732(F, sep, ...) \
Z_UTIL_LISTIFY_2731(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2731, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2733(F, sep, ...) \
Z_UTIL_LISTIFY_2732(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2732, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2734(F, sep, ...) \
Z_UTIL_LISTIFY_2733(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2733, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2735(F, sep, ...) \
Z_UTIL_LISTIFY_2734(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2734, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2736(F, sep, ...) \
Z_UTIL_LISTIFY_2735(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2735, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2737(F, sep, ...) \
Z_UTIL_LISTIFY_2736(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2736, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2738(F, sep, ...) \
Z_UTIL_LISTIFY_2737(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2737, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2739(F, sep, ...) \
Z_UTIL_LISTIFY_2738(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2738, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2740(F, sep, ...) \
Z_UTIL_LISTIFY_2739(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2739, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2741(F, sep, ...) \
Z_UTIL_LISTIFY_2740(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2740, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2742(F, sep, ...) \
Z_UTIL_LISTIFY_2741(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2741, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2743(F, sep, ...) \
Z_UTIL_LISTIFY_2742(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2742, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2744(F, sep, ...) \
Z_UTIL_LISTIFY_2743(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2743, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2745(F, sep, ...) \
Z_UTIL_LISTIFY_2744(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2744, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2746(F, sep, ...) \
Z_UTIL_LISTIFY_2745(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2745, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2747(F, sep, ...) \
Z_UTIL_LISTIFY_2746(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2746, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2748(F, sep, ...) \
Z_UTIL_LISTIFY_2747(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2747, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2749(F, sep, ...) \
Z_UTIL_LISTIFY_2748(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2748, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2750(F, sep, ...) \
Z_UTIL_LISTIFY_2749(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2749, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2751(F, sep, ...) \
Z_UTIL_LISTIFY_2750(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2750, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2752(F, sep, ...) \
Z_UTIL_LISTIFY_2751(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2751, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2753(F, sep, ...) \
Z_UTIL_LISTIFY_2752(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2752, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2754(F, sep, ...) \
Z_UTIL_LISTIFY_2753(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2753, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2755(F, sep, ...) \
Z_UTIL_LISTIFY_2754(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2754, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2756(F, sep, ...) \
Z_UTIL_LISTIFY_2755(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2755, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2757(F, sep, ...) \
Z_UTIL_LISTIFY_2756(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2756, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2758(F, sep, ...) \
Z_UTIL_LISTIFY_2757(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2757, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2759(F, sep, ...) \
Z_UTIL_LISTIFY_2758(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2758, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2760(F, sep, ...) \
Z_UTIL_LISTIFY_2759(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2759, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2761(F, sep, ...) \
Z_UTIL_LISTIFY_2760(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2760, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2762(F, sep, ...) \
Z_UTIL_LISTIFY_2761(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2761, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2763(F, sep, ...) \
Z_UTIL_LISTIFY_2762(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2762, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2764(F, sep, ...) \
Z_UTIL_LISTIFY_2763(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2763, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2765(F, sep, ...) \
Z_UTIL_LISTIFY_2764(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2764, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2766(F, sep, ...) \
Z_UTIL_LISTIFY_2765(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2765, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2767(F, sep, ...) \
Z_UTIL_LISTIFY_2766(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2766, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2768(F, sep, ...) \
Z_UTIL_LISTIFY_2767(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2767, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2769(F, sep, ...) \
Z_UTIL_LISTIFY_2768(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2768, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2770(F, sep, ...) \
Z_UTIL_LISTIFY_2769(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2769, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2771(F, sep, ...) \
Z_UTIL_LISTIFY_2770(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2770, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2772(F, sep, ...) \
Z_UTIL_LISTIFY_2771(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2771, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2773(F, sep, ...) \
Z_UTIL_LISTIFY_2772(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2772, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2774(F, sep, ...) \
Z_UTIL_LISTIFY_2773(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2773, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2775(F, sep, ...) \
Z_UTIL_LISTIFY_2774(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2774, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2776(F, sep, ...) \
Z_UTIL_LISTIFY_2775(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2775, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2777(F, sep, ...) \
Z_UTIL_LISTIFY_2776(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2776, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2778(F, sep, ...) \
Z_UTIL_LISTIFY_2777(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2777, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2779(F, sep, ...) \
Z_UTIL_LISTIFY_2778(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2778, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2780(F, sep, ...) \
Z_UTIL_LISTIFY_2779(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2779, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2781(F, sep, ...) \
Z_UTIL_LISTIFY_2780(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2780, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2782(F, sep, ...) \
Z_UTIL_LISTIFY_2781(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2781, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2783(F, sep, ...) \
Z_UTIL_LISTIFY_2782(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2782, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2784(F, sep, ...) \
Z_UTIL_LISTIFY_2783(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2783, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2785(F, sep, ...) \
Z_UTIL_LISTIFY_2784(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2784, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2786(F, sep, ...) \
Z_UTIL_LISTIFY_2785(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2785, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2787(F, sep, ...) \
Z_UTIL_LISTIFY_2786(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2786, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2788(F, sep, ...) \
Z_UTIL_LISTIFY_2787(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2787, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2789(F, sep, ...) \
Z_UTIL_LISTIFY_2788(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2788, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2790(F, sep, ...) \
Z_UTIL_LISTIFY_2789(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2789, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2791(F, sep, ...) \
Z_UTIL_LISTIFY_2790(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2790, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2792(F, sep, ...) \
Z_UTIL_LISTIFY_2791(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2791, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2793(F, sep, ...) \
Z_UTIL_LISTIFY_2792(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2792, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2794(F, sep, ...) \
Z_UTIL_LISTIFY_2793(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2793, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2795(F, sep, ...) \
Z_UTIL_LISTIFY_2794(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2794, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2796(F, sep, ...) \
Z_UTIL_LISTIFY_2795(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2795, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2797(F, sep, ...) \
Z_UTIL_LISTIFY_2796(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2796, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2798(F, sep, ...) \
Z_UTIL_LISTIFY_2797(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2797, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2799(F, sep, ...) \
Z_UTIL_LISTIFY_2798(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2798, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2800(F, sep, ...) \
Z_UTIL_LISTIFY_2799(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2799, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2801(F, sep, ...) \
Z_UTIL_LISTIFY_2800(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2800, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2802(F, sep, ...) \
Z_UTIL_LISTIFY_2801(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2801, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2803(F, sep, ...) \
Z_UTIL_LISTIFY_2802(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2802, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2804(F, sep, ...) \
Z_UTIL_LISTIFY_2803(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2803, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2805(F, sep, ...) \
Z_UTIL_LISTIFY_2804(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2804, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2806(F, sep, ...) \
Z_UTIL_LISTIFY_2805(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2805, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2807(F, sep, ...) \
Z_UTIL_LISTIFY_2806(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2806, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2808(F, sep, ...) \
Z_UTIL_LISTIFY_2807(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2807, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2809(F, sep, ...) \
Z_UTIL_LISTIFY_2808(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2808, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2810(F, sep, ...) \
Z_UTIL_LISTIFY_2809(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2809, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2811(F, sep, ...) \
Z_UTIL_LISTIFY_2810(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2810, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2812(F, sep, ...) \
Z_UTIL_LISTIFY_2811(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2811, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2813(F, sep, ...) \
Z_UTIL_LISTIFY_2812(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2812, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2814(F, sep, ...) \
Z_UTIL_LISTIFY_2813(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2813, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2815(F, sep, ...) \
Z_UTIL_LISTIFY_2814(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2814, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2816(F, sep, ...) \
Z_UTIL_LISTIFY_2815(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2815, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2817(F, sep, ...) \
Z_UTIL_LISTIFY_2816(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2816, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2818(F, sep, ...) \
Z_UTIL_LISTIFY_2817(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2817, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2819(F, sep, ...) \
Z_UTIL_LISTIFY_2818(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2818, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2820(F, sep, ...) \
Z_UTIL_LISTIFY_2819(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2819, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2821(F, sep, ...) \
Z_UTIL_LISTIFY_2820(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2820, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2822(F, sep, ...) \
Z_UTIL_LISTIFY_2821(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2821, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2823(F, sep, ...) \
Z_UTIL_LISTIFY_2822(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2822, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2824(F, sep, ...) \
Z_UTIL_LISTIFY_2823(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2823, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2825(F, sep, ...) \
Z_UTIL_LISTIFY_2824(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2824, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2826(F, sep, ...) \
Z_UTIL_LISTIFY_2825(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2825, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2827(F, sep, ...) \
Z_UTIL_LISTIFY_2826(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2826, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2828(F, sep, ...) \
Z_UTIL_LISTIFY_2827(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2827, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2829(F, sep, ...) \
Z_UTIL_LISTIFY_2828(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2828, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2830(F, sep, ...) \
Z_UTIL_LISTIFY_2829(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2829, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2831(F, sep, ...) \
Z_UTIL_LISTIFY_2830(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2830, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2832(F, sep, ...) \
Z_UTIL_LISTIFY_2831(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2831, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2833(F, sep, ...) \
Z_UTIL_LISTIFY_2832(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2832, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2834(F, sep, ...) \
Z_UTIL_LISTIFY_2833(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2833, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2835(F, sep, ...) \
Z_UTIL_LISTIFY_2834(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2834, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2836(F, sep, ...) \
Z_UTIL_LISTIFY_2835(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2835, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2837(F, sep, ...) \
Z_UTIL_LISTIFY_2836(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2836, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2838(F, sep, ...) \
Z_UTIL_LISTIFY_2837(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2837, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2839(F, sep, ...) \
Z_UTIL_LISTIFY_2838(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2838, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2840(F, sep, ...) \
Z_UTIL_LISTIFY_2839(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2839, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2841(F, sep, ...) \
Z_UTIL_LISTIFY_2840(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2840, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2842(F, sep, ...) \
Z_UTIL_LISTIFY_2841(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2841, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2843(F, sep, ...) \
Z_UTIL_LISTIFY_2842(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2842, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2844(F, sep, ...) \
Z_UTIL_LISTIFY_2843(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2843, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2845(F, sep, ...) \
Z_UTIL_LISTIFY_2844(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2844, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2846(F, sep, ...) \
Z_UTIL_LISTIFY_2845(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2845, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2847(F, sep, ...) \
Z_UTIL_LISTIFY_2846(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2846, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2848(F, sep, ...) \
Z_UTIL_LISTIFY_2847(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2847, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2849(F, sep, ...) \
Z_UTIL_LISTIFY_2848(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2848, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2850(F, sep, ...) \
Z_UTIL_LISTIFY_2849(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2849, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2851(F, sep, ...) \
Z_UTIL_LISTIFY_2850(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2850, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2852(F, sep, ...) \
Z_UTIL_LISTIFY_2851(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2851, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2853(F, sep, ...) \
Z_UTIL_LISTIFY_2852(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2852, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2854(F, sep, ...) \
Z_UTIL_LISTIFY_2853(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2853, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2855(F, sep, ...) \
Z_UTIL_LISTIFY_2854(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2854, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2856(F, sep, ...) \
Z_UTIL_LISTIFY_2855(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2855, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2857(F, sep, ...) \
Z_UTIL_LISTIFY_2856(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2856, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2858(F, sep, ...) \
Z_UTIL_LISTIFY_2857(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2857, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2859(F, sep, ...) \
Z_UTIL_LISTIFY_2858(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2858, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2860(F, sep, ...) \
Z_UTIL_LISTIFY_2859(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2859, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2861(F, sep, ...) \
Z_UTIL_LISTIFY_2860(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2860, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2862(F, sep, ...) \
Z_UTIL_LISTIFY_2861(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2861, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2863(F, sep, ...) \
Z_UTIL_LISTIFY_2862(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2862, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2864(F, sep, ...) \
Z_UTIL_LISTIFY_2863(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2863, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2865(F, sep, ...) \
Z_UTIL_LISTIFY_2864(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2864, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2866(F, sep, ...) \
Z_UTIL_LISTIFY_2865(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2865, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2867(F, sep, ...) \
Z_UTIL_LISTIFY_2866(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2866, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2868(F, sep, ...) \
Z_UTIL_LISTIFY_2867(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2867, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2869(F, sep, ...) \
Z_UTIL_LISTIFY_2868(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2868, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2870(F, sep, ...) \
Z_UTIL_LISTIFY_2869(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2869, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2871(F, sep, ...) \
Z_UTIL_LISTIFY_2870(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2870, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2872(F, sep, ...) \
Z_UTIL_LISTIFY_2871(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2871, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2873(F, sep, ...) \
Z_UTIL_LISTIFY_2872(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2872, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2874(F, sep, ...) \
Z_UTIL_LISTIFY_2873(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2873, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2875(F, sep, ...) \
Z_UTIL_LISTIFY_2874(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2874, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2876(F, sep, ...) \
Z_UTIL_LISTIFY_2875(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2875, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2877(F, sep, ...) \
Z_UTIL_LISTIFY_2876(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2876, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2878(F, sep, ...) \
Z_UTIL_LISTIFY_2877(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2877, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2879(F, sep, ...) \
Z_UTIL_LISTIFY_2878(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2878, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2880(F, sep, ...) \
Z_UTIL_LISTIFY_2879(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2879, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2881(F, sep, ...) \
Z_UTIL_LISTIFY_2880(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2880, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2882(F, sep, ...) \
Z_UTIL_LISTIFY_2881(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2881, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2883(F, sep, ...) \
Z_UTIL_LISTIFY_2882(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2882, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2884(F, sep, ...) \
Z_UTIL_LISTIFY_2883(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2883, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2885(F, sep, ...) \
Z_UTIL_LISTIFY_2884(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2884, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2886(F, sep, ...) \
Z_UTIL_LISTIFY_2885(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2885, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2887(F, sep, ...) \
Z_UTIL_LISTIFY_2886(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2886, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2888(F, sep, ...) \
Z_UTIL_LISTIFY_2887(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2887, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2889(F, sep, ...) \
Z_UTIL_LISTIFY_2888(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2888, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2890(F, sep, ...) \
Z_UTIL_LISTIFY_2889(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2889, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2891(F, sep, ...) \
Z_UTIL_LISTIFY_2890(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2890, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2892(F, sep, ...) \
Z_UTIL_LISTIFY_2891(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2891, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2893(F, sep, ...) \
Z_UTIL_LISTIFY_2892(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2892, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2894(F, sep, ...) \
Z_UTIL_LISTIFY_2893(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2893, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2895(F, sep, ...) \
Z_UTIL_LISTIFY_2894(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2894, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2896(F, sep, ...) \
Z_UTIL_LISTIFY_2895(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2895, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2897(F, sep, ...) \
Z_UTIL_LISTIFY_2896(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2896, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2898(F, sep, ...) \
Z_UTIL_LISTIFY_2897(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2897, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2899(F, sep, ...) \
Z_UTIL_LISTIFY_2898(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2898, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2900(F, sep, ...) \
Z_UTIL_LISTIFY_2899(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2899, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2901(F, sep, ...) \
Z_UTIL_LISTIFY_2900(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2900, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2902(F, sep, ...) \
Z_UTIL_LISTIFY_2901(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2901, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2903(F, sep, ...) \
Z_UTIL_LISTIFY_2902(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2902, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2904(F, sep, ...) \
Z_UTIL_LISTIFY_2903(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2903, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2905(F, sep, ...) \
Z_UTIL_LISTIFY_2904(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2904, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2906(F, sep, ...) \
Z_UTIL_LISTIFY_2905(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2905, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2907(F, sep, ...) \
Z_UTIL_LISTIFY_2906(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2906, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2908(F, sep, ...) \
Z_UTIL_LISTIFY_2907(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2907, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2909(F, sep, ...) \
Z_UTIL_LISTIFY_2908(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2908, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2910(F, sep, ...) \
Z_UTIL_LISTIFY_2909(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2909, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2911(F, sep, ...) \
Z_UTIL_LISTIFY_2910(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2910, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2912(F, sep, ...) \
Z_UTIL_LISTIFY_2911(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2911, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2913(F, sep, ...) \
Z_UTIL_LISTIFY_2912(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2912, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2914(F, sep, ...) \
Z_UTIL_LISTIFY_2913(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2913, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2915(F, sep, ...) \
Z_UTIL_LISTIFY_2914(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2914, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2916(F, sep, ...) \
Z_UTIL_LISTIFY_2915(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2915, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2917(F, sep, ...) \
Z_UTIL_LISTIFY_2916(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2916, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2918(F, sep, ...) \
Z_UTIL_LISTIFY_2917(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2917, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2919(F, sep, ...) \
Z_UTIL_LISTIFY_2918(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2918, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2920(F, sep, ...) \
Z_UTIL_LISTIFY_2919(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2919, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2921(F, sep, ...) \
Z_UTIL_LISTIFY_2920(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2920, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2922(F, sep, ...) \
Z_UTIL_LISTIFY_2921(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2921, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2923(F, sep, ...) \
Z_UTIL_LISTIFY_2922(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2922, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2924(F, sep, ...) \
Z_UTIL_LISTIFY_2923(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2923, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2925(F, sep, ...) \
Z_UTIL_LISTIFY_2924(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2924, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2926(F, sep, ...) \
Z_UTIL_LISTIFY_2925(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2925, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2927(F, sep, ...) \
Z_UTIL_LISTIFY_2926(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2926, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2928(F, sep, ...) \
Z_UTIL_LISTIFY_2927(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2927, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2929(F, sep, ...) \
Z_UTIL_LISTIFY_2928(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2928, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2930(F, sep, ...) \
Z_UTIL_LISTIFY_2929(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2929, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2931(F, sep, ...) \
Z_UTIL_LISTIFY_2930(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2930, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2932(F, sep, ...) \
Z_UTIL_LISTIFY_2931(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2931, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2933(F, sep, ...) \
Z_UTIL_LISTIFY_2932(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2932, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2934(F, sep, ...) \
Z_UTIL_LISTIFY_2933(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2933, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2935(F, sep, ...) \
Z_UTIL_LISTIFY_2934(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2934, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2936(F, sep, ...) \
Z_UTIL_LISTIFY_2935(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2935, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2937(F, sep, ...) \
Z_UTIL_LISTIFY_2936(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2936, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2938(F, sep, ...) \
Z_UTIL_LISTIFY_2937(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2937, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2939(F, sep, ...) \
Z_UTIL_LISTIFY_2938(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2938, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2940(F, sep, ...) \
Z_UTIL_LISTIFY_2939(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2939, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2941(F, sep, ...) \
Z_UTIL_LISTIFY_2940(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2940, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2942(F, sep, ...) \
Z_UTIL_LISTIFY_2941(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2941, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2943(F, sep, ...) \
Z_UTIL_LISTIFY_2942(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2942, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2944(F, sep, ...) \
Z_UTIL_LISTIFY_2943(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2943, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2945(F, sep, ...) \
Z_UTIL_LISTIFY_2944(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2944, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2946(F, sep, ...) \
Z_UTIL_LISTIFY_2945(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2945, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2947(F, sep, ...) \
Z_UTIL_LISTIFY_2946(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2946, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2948(F, sep, ...) \
Z_UTIL_LISTIFY_2947(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2947, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2949(F, sep, ...) \
Z_UTIL_LISTIFY_2948(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2948, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2950(F, sep, ...) \
Z_UTIL_LISTIFY_2949(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2949, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2951(F, sep, ...) \
Z_UTIL_LISTIFY_2950(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2950, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2952(F, sep, ...) \
Z_UTIL_LISTIFY_2951(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2951, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2953(F, sep, ...) \
Z_UTIL_LISTIFY_2952(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2952, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2954(F, sep, ...) \
Z_UTIL_LISTIFY_2953(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2953, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2955(F, sep, ...) \
Z_UTIL_LISTIFY_2954(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2954, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2956(F, sep, ...) \
Z_UTIL_LISTIFY_2955(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2955, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2957(F, sep, ...) \
Z_UTIL_LISTIFY_2956(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2956, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2958(F, sep, ...) \
Z_UTIL_LISTIFY_2957(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2957, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2959(F, sep, ...) \
Z_UTIL_LISTIFY_2958(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2958, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2960(F, sep, ...) \
Z_UTIL_LISTIFY_2959(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2959, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2961(F, sep, ...) \
Z_UTIL_LISTIFY_2960(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2960, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2962(F, sep, ...) \
Z_UTIL_LISTIFY_2961(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2961, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2963(F, sep, ...) \
Z_UTIL_LISTIFY_2962(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2962, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2964(F, sep, ...) \
Z_UTIL_LISTIFY_2963(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2963, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2965(F, sep, ...) \
Z_UTIL_LISTIFY_2964(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2964, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2966(F, sep, ...) \
Z_UTIL_LISTIFY_2965(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2965, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2967(F, sep, ...) \
Z_UTIL_LISTIFY_2966(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2966, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2968(F, sep, ...) \
Z_UTIL_LISTIFY_2967(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2967, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2969(F, sep, ...) \
Z_UTIL_LISTIFY_2968(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2968, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2970(F, sep, ...) \
Z_UTIL_LISTIFY_2969(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2969, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2971(F, sep, ...) \
Z_UTIL_LISTIFY_2970(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2970, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2972(F, sep, ...) \
Z_UTIL_LISTIFY_2971(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2971, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2973(F, sep, ...) \
Z_UTIL_LISTIFY_2972(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2972, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2974(F, sep, ...) \
Z_UTIL_LISTIFY_2973(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2973, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2975(F, sep, ...) \
Z_UTIL_LISTIFY_2974(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2974, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2976(F, sep, ...) \
Z_UTIL_LISTIFY_2975(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2975, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2977(F, sep, ...) \
Z_UTIL_LISTIFY_2976(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2976, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2978(F, sep, ...) \
Z_UTIL_LISTIFY_2977(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2977, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2979(F, sep, ...) \
Z_UTIL_LISTIFY_2978(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2978, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2980(F, sep, ...) \
Z_UTIL_LISTIFY_2979(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2979, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2981(F, sep, ...) \
Z_UTIL_LISTIFY_2980(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2980, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2982(F, sep, ...) \
Z_UTIL_LISTIFY_2981(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2981, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2983(F, sep, ...) \
Z_UTIL_LISTIFY_2982(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2982, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2984(F, sep, ...) \
Z_UTIL_LISTIFY_2983(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2983, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2985(F, sep, ...) \
Z_UTIL_LISTIFY_2984(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2984, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2986(F, sep, ...) \
Z_UTIL_LISTIFY_2985(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2985, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2987(F, sep, ...) \
Z_UTIL_LISTIFY_2986(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2986, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2988(F, sep, ...) \
Z_UTIL_LISTIFY_2987(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2987, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2989(F, sep, ...) \
Z_UTIL_LISTIFY_2988(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2988, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2990(F, sep, ...) \
Z_UTIL_LISTIFY_2989(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2989, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2991(F, sep, ...) \
Z_UTIL_LISTIFY_2990(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2990, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2992(F, sep, ...) \
Z_UTIL_LISTIFY_2991(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2991, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2993(F, sep, ...) \
Z_UTIL_LISTIFY_2992(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2992, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2994(F, sep, ...) \
Z_UTIL_LISTIFY_2993(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2993, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2995(F, sep, ...) \
Z_UTIL_LISTIFY_2994(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2994, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2996(F, sep, ...) \
Z_UTIL_LISTIFY_2995(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2995, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2997(F, sep, ...) \
Z_UTIL_LISTIFY_2996(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2996, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2998(F, sep, ...) \
Z_UTIL_LISTIFY_2997(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2997, __VA_ARGS__)
#define Z_UTIL_LISTIFY_2999(F, sep, ...) \
Z_UTIL_LISTIFY_2998(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2998, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3000(F, sep, ...) \
Z_UTIL_LISTIFY_2999(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(2999, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3001(F, sep, ...) \
Z_UTIL_LISTIFY_3000(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3000, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3002(F, sep, ...) \
Z_UTIL_LISTIFY_3001(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3001, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3003(F, sep, ...) \
Z_UTIL_LISTIFY_3002(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3002, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3004(F, sep, ...) \
Z_UTIL_LISTIFY_3003(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3003, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3005(F, sep, ...) \
Z_UTIL_LISTIFY_3004(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3004, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3006(F, sep, ...) \
Z_UTIL_LISTIFY_3005(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3005, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3007(F, sep, ...) \
Z_UTIL_LISTIFY_3006(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3006, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3008(F, sep, ...) \
Z_UTIL_LISTIFY_3007(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3007, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3009(F, sep, ...) \
Z_UTIL_LISTIFY_3008(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3008, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3010(F, sep, ...) \
Z_UTIL_LISTIFY_3009(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3009, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3011(F, sep, ...) \
Z_UTIL_LISTIFY_3010(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3010, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3012(F, sep, ...) \
Z_UTIL_LISTIFY_3011(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3011, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3013(F, sep, ...) \
Z_UTIL_LISTIFY_3012(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3012, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3014(F, sep, ...) \
Z_UTIL_LISTIFY_3013(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3013, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3015(F, sep, ...) \
Z_UTIL_LISTIFY_3014(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3014, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3016(F, sep, ...) \
Z_UTIL_LISTIFY_3015(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3015, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3017(F, sep, ...) \
Z_UTIL_LISTIFY_3016(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3016, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3018(F, sep, ...) \
Z_UTIL_LISTIFY_3017(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3017, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3019(F, sep, ...) \
Z_UTIL_LISTIFY_3018(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3018, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3020(F, sep, ...) \
Z_UTIL_LISTIFY_3019(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3019, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3021(F, sep, ...) \
Z_UTIL_LISTIFY_3020(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3020, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3022(F, sep, ...) \
Z_UTIL_LISTIFY_3021(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3021, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3023(F, sep, ...) \
Z_UTIL_LISTIFY_3022(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3022, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3024(F, sep, ...) \
Z_UTIL_LISTIFY_3023(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3023, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3025(F, sep, ...) \
Z_UTIL_LISTIFY_3024(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3024, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3026(F, sep, ...) \
Z_UTIL_LISTIFY_3025(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3025, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3027(F, sep, ...) \
Z_UTIL_LISTIFY_3026(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3026, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3028(F, sep, ...) \
Z_UTIL_LISTIFY_3027(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3027, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3029(F, sep, ...) \
Z_UTIL_LISTIFY_3028(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3028, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3030(F, sep, ...) \
Z_UTIL_LISTIFY_3029(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3029, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3031(F, sep, ...) \
Z_UTIL_LISTIFY_3030(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3030, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3032(F, sep, ...) \
Z_UTIL_LISTIFY_3031(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3031, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3033(F, sep, ...) \
Z_UTIL_LISTIFY_3032(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3032, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3034(F, sep, ...) \
Z_UTIL_LISTIFY_3033(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3033, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3035(F, sep, ...) \
Z_UTIL_LISTIFY_3034(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3034, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3036(F, sep, ...) \
Z_UTIL_LISTIFY_3035(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3035, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3037(F, sep, ...) \
Z_UTIL_LISTIFY_3036(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3036, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3038(F, sep, ...) \
Z_UTIL_LISTIFY_3037(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3037, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3039(F, sep, ...) \
Z_UTIL_LISTIFY_3038(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3038, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3040(F, sep, ...) \
Z_UTIL_LISTIFY_3039(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3039, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3041(F, sep, ...) \
Z_UTIL_LISTIFY_3040(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3040, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3042(F, sep, ...) \
Z_UTIL_LISTIFY_3041(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3041, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3043(F, sep, ...) \
Z_UTIL_LISTIFY_3042(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3042, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3044(F, sep, ...) \
Z_UTIL_LISTIFY_3043(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3043, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3045(F, sep, ...) \
Z_UTIL_LISTIFY_3044(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3044, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3046(F, sep, ...) \
Z_UTIL_LISTIFY_3045(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3045, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3047(F, sep, ...) \
Z_UTIL_LISTIFY_3046(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3046, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3048(F, sep, ...) \
Z_UTIL_LISTIFY_3047(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3047, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3049(F, sep, ...) \
Z_UTIL_LISTIFY_3048(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3048, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3050(F, sep, ...) \
Z_UTIL_LISTIFY_3049(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3049, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3051(F, sep, ...) \
Z_UTIL_LISTIFY_3050(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3050, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3052(F, sep, ...) \
Z_UTIL_LISTIFY_3051(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3051, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3053(F, sep, ...) \
Z_UTIL_LISTIFY_3052(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3052, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3054(F, sep, ...) \
Z_UTIL_LISTIFY_3053(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3053, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3055(F, sep, ...) \
Z_UTIL_LISTIFY_3054(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3054, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3056(F, sep, ...) \
Z_UTIL_LISTIFY_3055(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3055, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3057(F, sep, ...) \
Z_UTIL_LISTIFY_3056(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3056, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3058(F, sep, ...) \
Z_UTIL_LISTIFY_3057(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3057, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3059(F, sep, ...) \
Z_UTIL_LISTIFY_3058(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3058, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3060(F, sep, ...) \
Z_UTIL_LISTIFY_3059(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3059, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3061(F, sep, ...) \
Z_UTIL_LISTIFY_3060(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3060, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3062(F, sep, ...) \
Z_UTIL_LISTIFY_3061(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3061, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3063(F, sep, ...) \
Z_UTIL_LISTIFY_3062(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3062, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3064(F, sep, ...) \
Z_UTIL_LISTIFY_3063(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3063, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3065(F, sep, ...) \
Z_UTIL_LISTIFY_3064(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3064, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3066(F, sep, ...) \
Z_UTIL_LISTIFY_3065(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3065, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3067(F, sep, ...) \
Z_UTIL_LISTIFY_3066(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3066, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3068(F, sep, ...) \
Z_UTIL_LISTIFY_3067(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3067, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3069(F, sep, ...) \
Z_UTIL_LISTIFY_3068(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3068, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3070(F, sep, ...) \
Z_UTIL_LISTIFY_3069(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3069, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3071(F, sep, ...) \
Z_UTIL_LISTIFY_3070(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3070, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3072(F, sep, ...) \
Z_UTIL_LISTIFY_3071(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3071, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3073(F, sep, ...) \
Z_UTIL_LISTIFY_3072(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3072, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3074(F, sep, ...) \
Z_UTIL_LISTIFY_3073(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3073, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3075(F, sep, ...) \
Z_UTIL_LISTIFY_3074(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3074, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3076(F, sep, ...) \
Z_UTIL_LISTIFY_3075(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3075, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3077(F, sep, ...) \
Z_UTIL_LISTIFY_3076(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3076, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3078(F, sep, ...) \
Z_UTIL_LISTIFY_3077(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3077, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3079(F, sep, ...) \
Z_UTIL_LISTIFY_3078(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3078, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3080(F, sep, ...) \
Z_UTIL_LISTIFY_3079(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3079, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3081(F, sep, ...) \
Z_UTIL_LISTIFY_3080(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3080, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3082(F, sep, ...) \
Z_UTIL_LISTIFY_3081(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3081, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3083(F, sep, ...) \
Z_UTIL_LISTIFY_3082(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3082, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3084(F, sep, ...) \
Z_UTIL_LISTIFY_3083(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3083, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3085(F, sep, ...) \
Z_UTIL_LISTIFY_3084(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3084, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3086(F, sep, ...) \
Z_UTIL_LISTIFY_3085(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3085, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3087(F, sep, ...) \
Z_UTIL_LISTIFY_3086(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3086, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3088(F, sep, ...) \
Z_UTIL_LISTIFY_3087(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3087, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3089(F, sep, ...) \
Z_UTIL_LISTIFY_3088(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3088, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3090(F, sep, ...) \
Z_UTIL_LISTIFY_3089(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3089, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3091(F, sep, ...) \
Z_UTIL_LISTIFY_3090(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3090, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3092(F, sep, ...) \
Z_UTIL_LISTIFY_3091(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3091, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3093(F, sep, ...) \
Z_UTIL_LISTIFY_3092(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3092, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3094(F, sep, ...) \
Z_UTIL_LISTIFY_3093(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3093, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3095(F, sep, ...) \
Z_UTIL_LISTIFY_3094(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3094, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3096(F, sep, ...) \
Z_UTIL_LISTIFY_3095(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3095, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3097(F, sep, ...) \
Z_UTIL_LISTIFY_3096(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3096, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3098(F, sep, ...) \
Z_UTIL_LISTIFY_3097(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3097, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3099(F, sep, ...) \
Z_UTIL_LISTIFY_3098(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3098, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3100(F, sep, ...) \
Z_UTIL_LISTIFY_3099(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3099, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3101(F, sep, ...) \
Z_UTIL_LISTIFY_3100(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3100, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3102(F, sep, ...) \
Z_UTIL_LISTIFY_3101(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3101, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3103(F, sep, ...) \
Z_UTIL_LISTIFY_3102(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3102, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3104(F, sep, ...) \
Z_UTIL_LISTIFY_3103(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3103, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3105(F, sep, ...) \
Z_UTIL_LISTIFY_3104(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3104, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3106(F, sep, ...) \
Z_UTIL_LISTIFY_3105(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3105, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3107(F, sep, ...) \
Z_UTIL_LISTIFY_3106(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3106, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3108(F, sep, ...) \
Z_UTIL_LISTIFY_3107(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3107, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3109(F, sep, ...) \
Z_UTIL_LISTIFY_3108(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3108, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3110(F, sep, ...) \
Z_UTIL_LISTIFY_3109(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3109, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3111(F, sep, ...) \
Z_UTIL_LISTIFY_3110(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3110, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3112(F, sep, ...) \
Z_UTIL_LISTIFY_3111(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3111, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3113(F, sep, ...) \
Z_UTIL_LISTIFY_3112(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3112, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3114(F, sep, ...) \
Z_UTIL_LISTIFY_3113(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3113, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3115(F, sep, ...) \
Z_UTIL_LISTIFY_3114(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3114, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3116(F, sep, ...) \
Z_UTIL_LISTIFY_3115(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3115, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3117(F, sep, ...) \
Z_UTIL_LISTIFY_3116(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3116, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3118(F, sep, ...) \
Z_UTIL_LISTIFY_3117(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3117, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3119(F, sep, ...) \
Z_UTIL_LISTIFY_3118(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3118, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3120(F, sep, ...) \
Z_UTIL_LISTIFY_3119(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3119, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3121(F, sep, ...) \
Z_UTIL_LISTIFY_3120(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3120, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3122(F, sep, ...) \
Z_UTIL_LISTIFY_3121(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3121, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3123(F, sep, ...) \
Z_UTIL_LISTIFY_3122(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3122, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3124(F, sep, ...) \
Z_UTIL_LISTIFY_3123(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3123, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3125(F, sep, ...) \
Z_UTIL_LISTIFY_3124(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3124, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3126(F, sep, ...) \
Z_UTIL_LISTIFY_3125(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3125, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3127(F, sep, ...) \
Z_UTIL_LISTIFY_3126(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3126, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3128(F, sep, ...) \
Z_UTIL_LISTIFY_3127(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3127, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3129(F, sep, ...) \
Z_UTIL_LISTIFY_3128(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3128, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3130(F, sep, ...) \
Z_UTIL_LISTIFY_3129(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3129, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3131(F, sep, ...) \
Z_UTIL_LISTIFY_3130(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3130, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3132(F, sep, ...) \
Z_UTIL_LISTIFY_3131(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3131, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3133(F, sep, ...) \
Z_UTIL_LISTIFY_3132(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3132, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3134(F, sep, ...) \
Z_UTIL_LISTIFY_3133(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3133, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3135(F, sep, ...) \
Z_UTIL_LISTIFY_3134(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3134, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3136(F, sep, ...) \
Z_UTIL_LISTIFY_3135(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3135, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3137(F, sep, ...) \
Z_UTIL_LISTIFY_3136(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3136, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3138(F, sep, ...) \
Z_UTIL_LISTIFY_3137(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3137, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3139(F, sep, ...) \
Z_UTIL_LISTIFY_3138(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3138, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3140(F, sep, ...) \
Z_UTIL_LISTIFY_3139(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3139, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3141(F, sep, ...) \
Z_UTIL_LISTIFY_3140(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3140, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3142(F, sep, ...) \
Z_UTIL_LISTIFY_3141(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3141, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3143(F, sep, ...) \
Z_UTIL_LISTIFY_3142(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3142, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3144(F, sep, ...) \
Z_UTIL_LISTIFY_3143(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3143, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3145(F, sep, ...) \
Z_UTIL_LISTIFY_3144(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3144, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3146(F, sep, ...) \
Z_UTIL_LISTIFY_3145(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3145, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3147(F, sep, ...) \
Z_UTIL_LISTIFY_3146(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3146, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3148(F, sep, ...) \
Z_UTIL_LISTIFY_3147(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3147, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3149(F, sep, ...) \
Z_UTIL_LISTIFY_3148(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3148, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3150(F, sep, ...) \
Z_UTIL_LISTIFY_3149(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3149, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3151(F, sep, ...) \
Z_UTIL_LISTIFY_3150(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3150, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3152(F, sep, ...) \
Z_UTIL_LISTIFY_3151(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3151, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3153(F, sep, ...) \
Z_UTIL_LISTIFY_3152(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3152, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3154(F, sep, ...) \
Z_UTIL_LISTIFY_3153(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3153, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3155(F, sep, ...) \
Z_UTIL_LISTIFY_3154(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3154, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3156(F, sep, ...) \
Z_UTIL_LISTIFY_3155(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3155, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3157(F, sep, ...) \
Z_UTIL_LISTIFY_3156(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3156, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3158(F, sep, ...) \
Z_UTIL_LISTIFY_3157(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3157, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3159(F, sep, ...) \
Z_UTIL_LISTIFY_3158(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3158, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3160(F, sep, ...) \
Z_UTIL_LISTIFY_3159(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3159, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3161(F, sep, ...) \
Z_UTIL_LISTIFY_3160(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3160, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3162(F, sep, ...) \
Z_UTIL_LISTIFY_3161(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3161, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3163(F, sep, ...) \
Z_UTIL_LISTIFY_3162(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3162, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3164(F, sep, ...) \
Z_UTIL_LISTIFY_3163(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3163, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3165(F, sep, ...) \
Z_UTIL_LISTIFY_3164(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3164, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3166(F, sep, ...) \
Z_UTIL_LISTIFY_3165(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3165, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3167(F, sep, ...) \
Z_UTIL_LISTIFY_3166(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3166, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3168(F, sep, ...) \
Z_UTIL_LISTIFY_3167(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3167, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3169(F, sep, ...) \
Z_UTIL_LISTIFY_3168(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3168, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3170(F, sep, ...) \
Z_UTIL_LISTIFY_3169(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3169, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3171(F, sep, ...) \
Z_UTIL_LISTIFY_3170(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3170, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3172(F, sep, ...) \
Z_UTIL_LISTIFY_3171(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3171, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3173(F, sep, ...) \
Z_UTIL_LISTIFY_3172(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3172, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3174(F, sep, ...) \
Z_UTIL_LISTIFY_3173(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3173, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3175(F, sep, ...) \
Z_UTIL_LISTIFY_3174(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3174, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3176(F, sep, ...) \
Z_UTIL_LISTIFY_3175(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3175, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3177(F, sep, ...) \
Z_UTIL_LISTIFY_3176(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3176, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3178(F, sep, ...) \
Z_UTIL_LISTIFY_3177(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3177, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3179(F, sep, ...) \
Z_UTIL_LISTIFY_3178(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3178, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3180(F, sep, ...) \
Z_UTIL_LISTIFY_3179(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3179, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3181(F, sep, ...) \
Z_UTIL_LISTIFY_3180(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3180, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3182(F, sep, ...) \
Z_UTIL_LISTIFY_3181(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3181, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3183(F, sep, ...) \
Z_UTIL_LISTIFY_3182(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3182, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3184(F, sep, ...) \
Z_UTIL_LISTIFY_3183(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3183, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3185(F, sep, ...) \
Z_UTIL_LISTIFY_3184(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3184, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3186(F, sep, ...) \
Z_UTIL_LISTIFY_3185(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3185, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3187(F, sep, ...) \
Z_UTIL_LISTIFY_3186(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3186, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3188(F, sep, ...) \
Z_UTIL_LISTIFY_3187(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3187, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3189(F, sep, ...) \
Z_UTIL_LISTIFY_3188(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3188, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3190(F, sep, ...) \
Z_UTIL_LISTIFY_3189(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3189, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3191(F, sep, ...) \
Z_UTIL_LISTIFY_3190(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3190, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3192(F, sep, ...) \
Z_UTIL_LISTIFY_3191(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3191, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3193(F, sep, ...) \
Z_UTIL_LISTIFY_3192(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3192, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3194(F, sep, ...) \
Z_UTIL_LISTIFY_3193(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3193, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3195(F, sep, ...) \
Z_UTIL_LISTIFY_3194(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3194, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3196(F, sep, ...) \
Z_UTIL_LISTIFY_3195(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3195, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3197(F, sep, ...) \
Z_UTIL_LISTIFY_3196(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3196, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3198(F, sep, ...) \
Z_UTIL_LISTIFY_3197(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3197, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3199(F, sep, ...) \
Z_UTIL_LISTIFY_3198(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3198, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3200(F, sep, ...) \
Z_UTIL_LISTIFY_3199(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3199, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3201(F, sep, ...) \
Z_UTIL_LISTIFY_3200(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3200, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3202(F, sep, ...) \
Z_UTIL_LISTIFY_3201(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3201, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3203(F, sep, ...) \
Z_UTIL_LISTIFY_3202(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3202, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3204(F, sep, ...) \
Z_UTIL_LISTIFY_3203(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3203, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3205(F, sep, ...) \
Z_UTIL_LISTIFY_3204(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3204, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3206(F, sep, ...) \
Z_UTIL_LISTIFY_3205(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3205, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3207(F, sep, ...) \
Z_UTIL_LISTIFY_3206(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3206, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3208(F, sep, ...) \
Z_UTIL_LISTIFY_3207(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3207, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3209(F, sep, ...) \
Z_UTIL_LISTIFY_3208(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3208, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3210(F, sep, ...) \
Z_UTIL_LISTIFY_3209(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3209, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3211(F, sep, ...) \
Z_UTIL_LISTIFY_3210(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3210, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3212(F, sep, ...) \
Z_UTIL_LISTIFY_3211(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3211, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3213(F, sep, ...) \
Z_UTIL_LISTIFY_3212(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3212, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3214(F, sep, ...) \
Z_UTIL_LISTIFY_3213(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3213, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3215(F, sep, ...) \
Z_UTIL_LISTIFY_3214(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3214, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3216(F, sep, ...) \
Z_UTIL_LISTIFY_3215(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3215, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3217(F, sep, ...) \
Z_UTIL_LISTIFY_3216(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3216, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3218(F, sep, ...) \
Z_UTIL_LISTIFY_3217(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3217, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3219(F, sep, ...) \
Z_UTIL_LISTIFY_3218(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3218, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3220(F, sep, ...) \
Z_UTIL_LISTIFY_3219(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3219, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3221(F, sep, ...) \
Z_UTIL_LISTIFY_3220(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3220, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3222(F, sep, ...) \
Z_UTIL_LISTIFY_3221(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3221, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3223(F, sep, ...) \
Z_UTIL_LISTIFY_3222(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3222, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3224(F, sep, ...) \
Z_UTIL_LISTIFY_3223(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3223, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3225(F, sep, ...) \
Z_UTIL_LISTIFY_3224(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3224, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3226(F, sep, ...) \
Z_UTIL_LISTIFY_3225(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3225, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3227(F, sep, ...) \
Z_UTIL_LISTIFY_3226(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3226, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3228(F, sep, ...) \
Z_UTIL_LISTIFY_3227(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3227, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3229(F, sep, ...) \
Z_UTIL_LISTIFY_3228(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3228, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3230(F, sep, ...) \
Z_UTIL_LISTIFY_3229(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3229, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3231(F, sep, ...) \
Z_UTIL_LISTIFY_3230(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3230, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3232(F, sep, ...) \
Z_UTIL_LISTIFY_3231(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3231, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3233(F, sep, ...) \
Z_UTIL_LISTIFY_3232(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3232, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3234(F, sep, ...) \
Z_UTIL_LISTIFY_3233(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3233, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3235(F, sep, ...) \
Z_UTIL_LISTIFY_3234(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3234, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3236(F, sep, ...) \
Z_UTIL_LISTIFY_3235(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3235, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3237(F, sep, ...) \
Z_UTIL_LISTIFY_3236(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3236, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3238(F, sep, ...) \
Z_UTIL_LISTIFY_3237(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3237, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3239(F, sep, ...) \
Z_UTIL_LISTIFY_3238(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3238, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3240(F, sep, ...) \
Z_UTIL_LISTIFY_3239(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3239, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3241(F, sep, ...) \
Z_UTIL_LISTIFY_3240(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3240, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3242(F, sep, ...) \
Z_UTIL_LISTIFY_3241(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3241, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3243(F, sep, ...) \
Z_UTIL_LISTIFY_3242(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3242, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3244(F, sep, ...) \
Z_UTIL_LISTIFY_3243(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3243, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3245(F, sep, ...) \
Z_UTIL_LISTIFY_3244(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3244, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3246(F, sep, ...) \
Z_UTIL_LISTIFY_3245(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3245, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3247(F, sep, ...) \
Z_UTIL_LISTIFY_3246(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3246, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3248(F, sep, ...) \
Z_UTIL_LISTIFY_3247(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3247, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3249(F, sep, ...) \
Z_UTIL_LISTIFY_3248(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3248, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3250(F, sep, ...) \
Z_UTIL_LISTIFY_3249(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3249, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3251(F, sep, ...) \
Z_UTIL_LISTIFY_3250(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3250, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3252(F, sep, ...) \
Z_UTIL_LISTIFY_3251(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3251, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3253(F, sep, ...) \
Z_UTIL_LISTIFY_3252(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3252, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3254(F, sep, ...) \
Z_UTIL_LISTIFY_3253(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3253, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3255(F, sep, ...) \
Z_UTIL_LISTIFY_3254(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3254, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3256(F, sep, ...) \
Z_UTIL_LISTIFY_3255(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3255, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3257(F, sep, ...) \
Z_UTIL_LISTIFY_3256(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3256, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3258(F, sep, ...) \
Z_UTIL_LISTIFY_3257(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3257, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3259(F, sep, ...) \
Z_UTIL_LISTIFY_3258(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3258, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3260(F, sep, ...) \
Z_UTIL_LISTIFY_3259(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3259, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3261(F, sep, ...) \
Z_UTIL_LISTIFY_3260(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3260, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3262(F, sep, ...) \
Z_UTIL_LISTIFY_3261(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3261, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3263(F, sep, ...) \
Z_UTIL_LISTIFY_3262(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3262, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3264(F, sep, ...) \
Z_UTIL_LISTIFY_3263(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3263, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3265(F, sep, ...) \
Z_UTIL_LISTIFY_3264(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3264, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3266(F, sep, ...) \
Z_UTIL_LISTIFY_3265(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3265, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3267(F, sep, ...) \
Z_UTIL_LISTIFY_3266(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3266, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3268(F, sep, ...) \
Z_UTIL_LISTIFY_3267(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3267, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3269(F, sep, ...) \
Z_UTIL_LISTIFY_3268(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3268, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3270(F, sep, ...) \
Z_UTIL_LISTIFY_3269(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3269, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3271(F, sep, ...) \
Z_UTIL_LISTIFY_3270(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3270, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3272(F, sep, ...) \
Z_UTIL_LISTIFY_3271(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3271, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3273(F, sep, ...) \
Z_UTIL_LISTIFY_3272(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3272, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3274(F, sep, ...) \
Z_UTIL_LISTIFY_3273(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3273, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3275(F, sep, ...) \
Z_UTIL_LISTIFY_3274(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3274, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3276(F, sep, ...) \
Z_UTIL_LISTIFY_3275(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3275, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3277(F, sep, ...) \
Z_UTIL_LISTIFY_3276(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3276, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3278(F, sep, ...) \
Z_UTIL_LISTIFY_3277(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3277, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3279(F, sep, ...) \
Z_UTIL_LISTIFY_3278(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3278, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3280(F, sep, ...) \
Z_UTIL_LISTIFY_3279(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3279, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3281(F, sep, ...) \
Z_UTIL_LISTIFY_3280(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3280, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3282(F, sep, ...) \
Z_UTIL_LISTIFY_3281(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3281, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3283(F, sep, ...) \
Z_UTIL_LISTIFY_3282(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3282, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3284(F, sep, ...) \
Z_UTIL_LISTIFY_3283(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3283, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3285(F, sep, ...) \
Z_UTIL_LISTIFY_3284(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3284, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3286(F, sep, ...) \
Z_UTIL_LISTIFY_3285(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3285, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3287(F, sep, ...) \
Z_UTIL_LISTIFY_3286(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3286, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3288(F, sep, ...) \
Z_UTIL_LISTIFY_3287(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3287, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3289(F, sep, ...) \
Z_UTIL_LISTIFY_3288(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3288, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3290(F, sep, ...) \
Z_UTIL_LISTIFY_3289(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3289, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3291(F, sep, ...) \
Z_UTIL_LISTIFY_3290(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3290, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3292(F, sep, ...) \
Z_UTIL_LISTIFY_3291(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3291, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3293(F, sep, ...) \
Z_UTIL_LISTIFY_3292(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3292, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3294(F, sep, ...) \
Z_UTIL_LISTIFY_3293(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3293, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3295(F, sep, ...) \
Z_UTIL_LISTIFY_3294(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3294, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3296(F, sep, ...) \
Z_UTIL_LISTIFY_3295(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3295, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3297(F, sep, ...) \
Z_UTIL_LISTIFY_3296(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3296, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3298(F, sep, ...) \
Z_UTIL_LISTIFY_3297(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3297, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3299(F, sep, ...) \
Z_UTIL_LISTIFY_3298(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3298, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3300(F, sep, ...) \
Z_UTIL_LISTIFY_3299(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3299, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3301(F, sep, ...) \
Z_UTIL_LISTIFY_3300(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3300, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3302(F, sep, ...) \
Z_UTIL_LISTIFY_3301(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3301, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3303(F, sep, ...) \
Z_UTIL_LISTIFY_3302(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3302, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3304(F, sep, ...) \
Z_UTIL_LISTIFY_3303(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3303, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3305(F, sep, ...) \
Z_UTIL_LISTIFY_3304(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3304, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3306(F, sep, ...) \
Z_UTIL_LISTIFY_3305(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3305, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3307(F, sep, ...) \
Z_UTIL_LISTIFY_3306(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3306, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3308(F, sep, ...) \
Z_UTIL_LISTIFY_3307(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3307, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3309(F, sep, ...) \
Z_UTIL_LISTIFY_3308(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3308, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3310(F, sep, ...) \
Z_UTIL_LISTIFY_3309(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3309, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3311(F, sep, ...) \
Z_UTIL_LISTIFY_3310(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3310, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3312(F, sep, ...) \
Z_UTIL_LISTIFY_3311(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3311, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3313(F, sep, ...) \
Z_UTIL_LISTIFY_3312(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3312, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3314(F, sep, ...) \
Z_UTIL_LISTIFY_3313(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3313, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3315(F, sep, ...) \
Z_UTIL_LISTIFY_3314(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3314, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3316(F, sep, ...) \
Z_UTIL_LISTIFY_3315(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3315, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3317(F, sep, ...) \
Z_UTIL_LISTIFY_3316(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3316, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3318(F, sep, ...) \
Z_UTIL_LISTIFY_3317(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3317, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3319(F, sep, ...) \
Z_UTIL_LISTIFY_3318(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3318, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3320(F, sep, ...) \
Z_UTIL_LISTIFY_3319(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3319, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3321(F, sep, ...) \
Z_UTIL_LISTIFY_3320(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3320, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3322(F, sep, ...) \
Z_UTIL_LISTIFY_3321(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3321, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3323(F, sep, ...) \
Z_UTIL_LISTIFY_3322(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3322, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3324(F, sep, ...) \
Z_UTIL_LISTIFY_3323(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3323, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3325(F, sep, ...) \
Z_UTIL_LISTIFY_3324(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3324, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3326(F, sep, ...) \
Z_UTIL_LISTIFY_3325(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3325, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3327(F, sep, ...) \
Z_UTIL_LISTIFY_3326(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3326, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3328(F, sep, ...) \
Z_UTIL_LISTIFY_3327(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3327, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3329(F, sep, ...) \
Z_UTIL_LISTIFY_3328(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3328, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3330(F, sep, ...) \
Z_UTIL_LISTIFY_3329(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3329, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3331(F, sep, ...) \
Z_UTIL_LISTIFY_3330(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3330, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3332(F, sep, ...) \
Z_UTIL_LISTIFY_3331(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3331, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3333(F, sep, ...) \
Z_UTIL_LISTIFY_3332(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3332, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3334(F, sep, ...) \
Z_UTIL_LISTIFY_3333(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3333, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3335(F, sep, ...) \
Z_UTIL_LISTIFY_3334(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3334, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3336(F, sep, ...) \
Z_UTIL_LISTIFY_3335(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3335, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3337(F, sep, ...) \
Z_UTIL_LISTIFY_3336(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3336, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3338(F, sep, ...) \
Z_UTIL_LISTIFY_3337(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3337, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3339(F, sep, ...) \
Z_UTIL_LISTIFY_3338(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3338, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3340(F, sep, ...) \
Z_UTIL_LISTIFY_3339(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3339, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3341(F, sep, ...) \
Z_UTIL_LISTIFY_3340(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3340, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3342(F, sep, ...) \
Z_UTIL_LISTIFY_3341(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3341, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3343(F, sep, ...) \
Z_UTIL_LISTIFY_3342(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3342, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3344(F, sep, ...) \
Z_UTIL_LISTIFY_3343(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3343, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3345(F, sep, ...) \
Z_UTIL_LISTIFY_3344(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3344, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3346(F, sep, ...) \
Z_UTIL_LISTIFY_3345(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3345, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3347(F, sep, ...) \
Z_UTIL_LISTIFY_3346(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3346, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3348(F, sep, ...) \
Z_UTIL_LISTIFY_3347(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3347, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3349(F, sep, ...) \
Z_UTIL_LISTIFY_3348(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3348, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3350(F, sep, ...) \
Z_UTIL_LISTIFY_3349(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3349, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3351(F, sep, ...) \
Z_UTIL_LISTIFY_3350(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3350, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3352(F, sep, ...) \
Z_UTIL_LISTIFY_3351(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3351, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3353(F, sep, ...) \
Z_UTIL_LISTIFY_3352(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3352, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3354(F, sep, ...) \
Z_UTIL_LISTIFY_3353(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3353, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3355(F, sep, ...) \
Z_UTIL_LISTIFY_3354(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3354, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3356(F, sep, ...) \
Z_UTIL_LISTIFY_3355(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3355, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3357(F, sep, ...) \
Z_UTIL_LISTIFY_3356(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3356, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3358(F, sep, ...) \
Z_UTIL_LISTIFY_3357(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3357, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3359(F, sep, ...) \
Z_UTIL_LISTIFY_3358(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3358, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3360(F, sep, ...) \
Z_UTIL_LISTIFY_3359(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3359, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3361(F, sep, ...) \
Z_UTIL_LISTIFY_3360(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3360, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3362(F, sep, ...) \
Z_UTIL_LISTIFY_3361(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3361, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3363(F, sep, ...) \
Z_UTIL_LISTIFY_3362(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3362, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3364(F, sep, ...) \
Z_UTIL_LISTIFY_3363(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3363, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3365(F, sep, ...) \
Z_UTIL_LISTIFY_3364(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3364, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3366(F, sep, ...) \
Z_UTIL_LISTIFY_3365(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3365, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3367(F, sep, ...) \
Z_UTIL_LISTIFY_3366(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3366, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3368(F, sep, ...) \
Z_UTIL_LISTIFY_3367(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3367, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3369(F, sep, ...) \
Z_UTIL_LISTIFY_3368(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3368, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3370(F, sep, ...) \
Z_UTIL_LISTIFY_3369(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3369, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3371(F, sep, ...) \
Z_UTIL_LISTIFY_3370(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3370, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3372(F, sep, ...) \
Z_UTIL_LISTIFY_3371(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3371, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3373(F, sep, ...) \
Z_UTIL_LISTIFY_3372(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3372, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3374(F, sep, ...) \
Z_UTIL_LISTIFY_3373(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3373, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3375(F, sep, ...) \
Z_UTIL_LISTIFY_3374(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3374, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3376(F, sep, ...) \
Z_UTIL_LISTIFY_3375(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3375, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3377(F, sep, ...) \
Z_UTIL_LISTIFY_3376(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3376, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3378(F, sep, ...) \
Z_UTIL_LISTIFY_3377(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3377, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3379(F, sep, ...) \
Z_UTIL_LISTIFY_3378(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3378, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3380(F, sep, ...) \
Z_UTIL_LISTIFY_3379(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3379, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3381(F, sep, ...) \
Z_UTIL_LISTIFY_3380(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3380, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3382(F, sep, ...) \
Z_UTIL_LISTIFY_3381(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3381, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3383(F, sep, ...) \
Z_UTIL_LISTIFY_3382(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3382, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3384(F, sep, ...) \
Z_UTIL_LISTIFY_3383(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3383, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3385(F, sep, ...) \
Z_UTIL_LISTIFY_3384(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3384, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3386(F, sep, ...) \
Z_UTIL_LISTIFY_3385(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3385, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3387(F, sep, ...) \
Z_UTIL_LISTIFY_3386(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3386, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3388(F, sep, ...) \
Z_UTIL_LISTIFY_3387(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3387, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3389(F, sep, ...) \
Z_UTIL_LISTIFY_3388(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3388, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3390(F, sep, ...) \
Z_UTIL_LISTIFY_3389(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3389, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3391(F, sep, ...) \
Z_UTIL_LISTIFY_3390(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3390, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3392(F, sep, ...) \
Z_UTIL_LISTIFY_3391(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3391, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3393(F, sep, ...) \
Z_UTIL_LISTIFY_3392(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3392, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3394(F, sep, ...) \
Z_UTIL_LISTIFY_3393(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3393, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3395(F, sep, ...) \
Z_UTIL_LISTIFY_3394(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3394, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3396(F, sep, ...) \
Z_UTIL_LISTIFY_3395(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3395, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3397(F, sep, ...) \
Z_UTIL_LISTIFY_3396(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3396, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3398(F, sep, ...) \
Z_UTIL_LISTIFY_3397(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3397, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3399(F, sep, ...) \
Z_UTIL_LISTIFY_3398(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3398, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3400(F, sep, ...) \
Z_UTIL_LISTIFY_3399(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3399, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3401(F, sep, ...) \
Z_UTIL_LISTIFY_3400(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3400, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3402(F, sep, ...) \
Z_UTIL_LISTIFY_3401(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3401, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3403(F, sep, ...) \
Z_UTIL_LISTIFY_3402(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3402, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3404(F, sep, ...) \
Z_UTIL_LISTIFY_3403(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3403, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3405(F, sep, ...) \
Z_UTIL_LISTIFY_3404(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3404, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3406(F, sep, ...) \
Z_UTIL_LISTIFY_3405(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3405, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3407(F, sep, ...) \
Z_UTIL_LISTIFY_3406(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3406, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3408(F, sep, ...) \
Z_UTIL_LISTIFY_3407(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3407, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3409(F, sep, ...) \
Z_UTIL_LISTIFY_3408(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3408, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3410(F, sep, ...) \
Z_UTIL_LISTIFY_3409(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3409, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3411(F, sep, ...) \
Z_UTIL_LISTIFY_3410(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3410, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3412(F, sep, ...) \
Z_UTIL_LISTIFY_3411(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3411, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3413(F, sep, ...) \
Z_UTIL_LISTIFY_3412(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3412, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3414(F, sep, ...) \
Z_UTIL_LISTIFY_3413(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3413, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3415(F, sep, ...) \
Z_UTIL_LISTIFY_3414(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3414, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3416(F, sep, ...) \
Z_UTIL_LISTIFY_3415(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3415, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3417(F, sep, ...) \
Z_UTIL_LISTIFY_3416(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3416, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3418(F, sep, ...) \
Z_UTIL_LISTIFY_3417(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3417, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3419(F, sep, ...) \
Z_UTIL_LISTIFY_3418(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3418, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3420(F, sep, ...) \
Z_UTIL_LISTIFY_3419(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3419, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3421(F, sep, ...) \
Z_UTIL_LISTIFY_3420(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3420, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3422(F, sep, ...) \
Z_UTIL_LISTIFY_3421(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3421, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3423(F, sep, ...) \
Z_UTIL_LISTIFY_3422(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3422, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3424(F, sep, ...) \
Z_UTIL_LISTIFY_3423(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3423, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3425(F, sep, ...) \
Z_UTIL_LISTIFY_3424(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3424, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3426(F, sep, ...) \
Z_UTIL_LISTIFY_3425(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3425, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3427(F, sep, ...) \
Z_UTIL_LISTIFY_3426(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3426, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3428(F, sep, ...) \
Z_UTIL_LISTIFY_3427(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3427, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3429(F, sep, ...) \
Z_UTIL_LISTIFY_3428(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3428, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3430(F, sep, ...) \
Z_UTIL_LISTIFY_3429(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3429, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3431(F, sep, ...) \
Z_UTIL_LISTIFY_3430(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3430, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3432(F, sep, ...) \
Z_UTIL_LISTIFY_3431(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3431, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3433(F, sep, ...) \
Z_UTIL_LISTIFY_3432(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3432, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3434(F, sep, ...) \
Z_UTIL_LISTIFY_3433(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3433, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3435(F, sep, ...) \
Z_UTIL_LISTIFY_3434(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3434, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3436(F, sep, ...) \
Z_UTIL_LISTIFY_3435(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3435, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3437(F, sep, ...) \
Z_UTIL_LISTIFY_3436(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3436, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3438(F, sep, ...) \
Z_UTIL_LISTIFY_3437(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3437, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3439(F, sep, ...) \
Z_UTIL_LISTIFY_3438(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3438, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3440(F, sep, ...) \
Z_UTIL_LISTIFY_3439(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3439, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3441(F, sep, ...) \
Z_UTIL_LISTIFY_3440(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3440, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3442(F, sep, ...) \
Z_UTIL_LISTIFY_3441(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3441, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3443(F, sep, ...) \
Z_UTIL_LISTIFY_3442(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3442, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3444(F, sep, ...) \
Z_UTIL_LISTIFY_3443(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3443, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3445(F, sep, ...) \
Z_UTIL_LISTIFY_3444(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3444, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3446(F, sep, ...) \
Z_UTIL_LISTIFY_3445(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3445, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3447(F, sep, ...) \
Z_UTIL_LISTIFY_3446(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3446, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3448(F, sep, ...) \
Z_UTIL_LISTIFY_3447(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3447, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3449(F, sep, ...) \
Z_UTIL_LISTIFY_3448(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3448, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3450(F, sep, ...) \
Z_UTIL_LISTIFY_3449(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3449, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3451(F, sep, ...) \
Z_UTIL_LISTIFY_3450(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3450, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3452(F, sep, ...) \
Z_UTIL_LISTIFY_3451(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3451, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3453(F, sep, ...) \
Z_UTIL_LISTIFY_3452(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3452, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3454(F, sep, ...) \
Z_UTIL_LISTIFY_3453(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3453, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3455(F, sep, ...) \
Z_UTIL_LISTIFY_3454(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3454, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3456(F, sep, ...) \
Z_UTIL_LISTIFY_3455(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3455, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3457(F, sep, ...) \
Z_UTIL_LISTIFY_3456(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3456, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3458(F, sep, ...) \
Z_UTIL_LISTIFY_3457(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3457, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3459(F, sep, ...) \
Z_UTIL_LISTIFY_3458(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3458, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3460(F, sep, ...) \
Z_UTIL_LISTIFY_3459(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3459, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3461(F, sep, ...) \
Z_UTIL_LISTIFY_3460(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3460, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3462(F, sep, ...) \
Z_UTIL_LISTIFY_3461(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3461, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3463(F, sep, ...) \
Z_UTIL_LISTIFY_3462(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3462, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3464(F, sep, ...) \
Z_UTIL_LISTIFY_3463(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3463, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3465(F, sep, ...) \
Z_UTIL_LISTIFY_3464(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3464, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3466(F, sep, ...) \
Z_UTIL_LISTIFY_3465(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3465, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3467(F, sep, ...) \
Z_UTIL_LISTIFY_3466(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3466, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3468(F, sep, ...) \
Z_UTIL_LISTIFY_3467(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3467, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3469(F, sep, ...) \
Z_UTIL_LISTIFY_3468(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3468, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3470(F, sep, ...) \
Z_UTIL_LISTIFY_3469(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3469, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3471(F, sep, ...) \
Z_UTIL_LISTIFY_3470(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3470, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3472(F, sep, ...) \
Z_UTIL_LISTIFY_3471(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3471, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3473(F, sep, ...) \
Z_UTIL_LISTIFY_3472(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3472, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3474(F, sep, ...) \
Z_UTIL_LISTIFY_3473(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3473, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3475(F, sep, ...) \
Z_UTIL_LISTIFY_3474(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3474, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3476(F, sep, ...) \
Z_UTIL_LISTIFY_3475(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3475, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3477(F, sep, ...) \
Z_UTIL_LISTIFY_3476(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3476, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3478(F, sep, ...) \
Z_UTIL_LISTIFY_3477(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3477, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3479(F, sep, ...) \
Z_UTIL_LISTIFY_3478(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3478, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3480(F, sep, ...) \
Z_UTIL_LISTIFY_3479(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3479, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3481(F, sep, ...) \
Z_UTIL_LISTIFY_3480(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3480, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3482(F, sep, ...) \
Z_UTIL_LISTIFY_3481(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3481, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3483(F, sep, ...) \
Z_UTIL_LISTIFY_3482(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3482, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3484(F, sep, ...) \
Z_UTIL_LISTIFY_3483(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3483, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3485(F, sep, ...) \
Z_UTIL_LISTIFY_3484(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3484, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3486(F, sep, ...) \
Z_UTIL_LISTIFY_3485(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3485, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3487(F, sep, ...) \
Z_UTIL_LISTIFY_3486(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3486, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3488(F, sep, ...) \
Z_UTIL_LISTIFY_3487(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3487, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3489(F, sep, ...) \
Z_UTIL_LISTIFY_3488(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3488, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3490(F, sep, ...) \
Z_UTIL_LISTIFY_3489(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3489, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3491(F, sep, ...) \
Z_UTIL_LISTIFY_3490(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3490, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3492(F, sep, ...) \
Z_UTIL_LISTIFY_3491(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3491, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3493(F, sep, ...) \
Z_UTIL_LISTIFY_3492(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3492, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3494(F, sep, ...) \
Z_UTIL_LISTIFY_3493(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3493, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3495(F, sep, ...) \
Z_UTIL_LISTIFY_3494(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3494, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3496(F, sep, ...) \
Z_UTIL_LISTIFY_3495(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3495, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3497(F, sep, ...) \
Z_UTIL_LISTIFY_3496(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3496, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3498(F, sep, ...) \
Z_UTIL_LISTIFY_3497(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3497, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3499(F, sep, ...) \
Z_UTIL_LISTIFY_3498(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3498, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3500(F, sep, ...) \
Z_UTIL_LISTIFY_3499(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3499, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3501(F, sep, ...) \
Z_UTIL_LISTIFY_3500(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3500, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3502(F, sep, ...) \
Z_UTIL_LISTIFY_3501(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3501, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3503(F, sep, ...) \
Z_UTIL_LISTIFY_3502(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3502, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3504(F, sep, ...) \
Z_UTIL_LISTIFY_3503(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3503, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3505(F, sep, ...) \
Z_UTIL_LISTIFY_3504(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3504, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3506(F, sep, ...) \
Z_UTIL_LISTIFY_3505(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3505, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3507(F, sep, ...) \
Z_UTIL_LISTIFY_3506(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3506, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3508(F, sep, ...) \
Z_UTIL_LISTIFY_3507(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3507, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3509(F, sep, ...) \
Z_UTIL_LISTIFY_3508(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3508, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3510(F, sep, ...) \
Z_UTIL_LISTIFY_3509(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3509, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3511(F, sep, ...) \
Z_UTIL_LISTIFY_3510(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3510, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3512(F, sep, ...) \
Z_UTIL_LISTIFY_3511(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3511, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3513(F, sep, ...) \
Z_UTIL_LISTIFY_3512(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3512, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3514(F, sep, ...) \
Z_UTIL_LISTIFY_3513(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3513, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3515(F, sep, ...) \
Z_UTIL_LISTIFY_3514(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3514, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3516(F, sep, ...) \
Z_UTIL_LISTIFY_3515(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3515, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3517(F, sep, ...) \
Z_UTIL_LISTIFY_3516(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3516, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3518(F, sep, ...) \
Z_UTIL_LISTIFY_3517(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3517, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3519(F, sep, ...) \
Z_UTIL_LISTIFY_3518(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3518, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3520(F, sep, ...) \
Z_UTIL_LISTIFY_3519(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3519, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3521(F, sep, ...) \
Z_UTIL_LISTIFY_3520(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3520, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3522(F, sep, ...) \
Z_UTIL_LISTIFY_3521(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3521, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3523(F, sep, ...) \
Z_UTIL_LISTIFY_3522(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3522, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3524(F, sep, ...) \
Z_UTIL_LISTIFY_3523(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3523, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3525(F, sep, ...) \
Z_UTIL_LISTIFY_3524(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3524, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3526(F, sep, ...) \
Z_UTIL_LISTIFY_3525(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3525, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3527(F, sep, ...) \
Z_UTIL_LISTIFY_3526(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3526, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3528(F, sep, ...) \
Z_UTIL_LISTIFY_3527(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3527, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3529(F, sep, ...) \
Z_UTIL_LISTIFY_3528(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3528, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3530(F, sep, ...) \
Z_UTIL_LISTIFY_3529(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3529, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3531(F, sep, ...) \
Z_UTIL_LISTIFY_3530(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3530, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3532(F, sep, ...) \
Z_UTIL_LISTIFY_3531(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3531, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3533(F, sep, ...) \
Z_UTIL_LISTIFY_3532(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3532, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3534(F, sep, ...) \
Z_UTIL_LISTIFY_3533(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3533, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3535(F, sep, ...) \
Z_UTIL_LISTIFY_3534(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3534, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3536(F, sep, ...) \
Z_UTIL_LISTIFY_3535(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3535, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3537(F, sep, ...) \
Z_UTIL_LISTIFY_3536(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3536, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3538(F, sep, ...) \
Z_UTIL_LISTIFY_3537(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3537, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3539(F, sep, ...) \
Z_UTIL_LISTIFY_3538(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3538, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3540(F, sep, ...) \
Z_UTIL_LISTIFY_3539(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3539, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3541(F, sep, ...) \
Z_UTIL_LISTIFY_3540(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3540, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3542(F, sep, ...) \
Z_UTIL_LISTIFY_3541(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3541, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3543(F, sep, ...) \
Z_UTIL_LISTIFY_3542(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3542, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3544(F, sep, ...) \
Z_UTIL_LISTIFY_3543(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3543, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3545(F, sep, ...) \
Z_UTIL_LISTIFY_3544(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3544, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3546(F, sep, ...) \
Z_UTIL_LISTIFY_3545(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3545, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3547(F, sep, ...) \
Z_UTIL_LISTIFY_3546(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3546, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3548(F, sep, ...) \
Z_UTIL_LISTIFY_3547(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3547, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3549(F, sep, ...) \
Z_UTIL_LISTIFY_3548(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3548, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3550(F, sep, ...) \
Z_UTIL_LISTIFY_3549(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3549, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3551(F, sep, ...) \
Z_UTIL_LISTIFY_3550(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3550, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3552(F, sep, ...) \
Z_UTIL_LISTIFY_3551(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3551, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3553(F, sep, ...) \
Z_UTIL_LISTIFY_3552(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3552, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3554(F, sep, ...) \
Z_UTIL_LISTIFY_3553(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3553, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3555(F, sep, ...) \
Z_UTIL_LISTIFY_3554(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3554, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3556(F, sep, ...) \
Z_UTIL_LISTIFY_3555(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3555, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3557(F, sep, ...) \
Z_UTIL_LISTIFY_3556(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3556, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3558(F, sep, ...) \
Z_UTIL_LISTIFY_3557(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3557, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3559(F, sep, ...) \
Z_UTIL_LISTIFY_3558(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3558, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3560(F, sep, ...) \
Z_UTIL_LISTIFY_3559(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3559, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3561(F, sep, ...) \
Z_UTIL_LISTIFY_3560(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3560, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3562(F, sep, ...) \
Z_UTIL_LISTIFY_3561(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3561, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3563(F, sep, ...) \
Z_UTIL_LISTIFY_3562(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3562, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3564(F, sep, ...) \
Z_UTIL_LISTIFY_3563(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3563, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3565(F, sep, ...) \
Z_UTIL_LISTIFY_3564(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3564, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3566(F, sep, ...) \
Z_UTIL_LISTIFY_3565(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3565, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3567(F, sep, ...) \
Z_UTIL_LISTIFY_3566(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3566, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3568(F, sep, ...) \
Z_UTIL_LISTIFY_3567(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3567, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3569(F, sep, ...) \
Z_UTIL_LISTIFY_3568(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3568, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3570(F, sep, ...) \
Z_UTIL_LISTIFY_3569(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3569, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3571(F, sep, ...) \
Z_UTIL_LISTIFY_3570(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3570, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3572(F, sep, ...) \
Z_UTIL_LISTIFY_3571(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3571, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3573(F, sep, ...) \
Z_UTIL_LISTIFY_3572(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3572, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3574(F, sep, ...) \
Z_UTIL_LISTIFY_3573(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3573, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3575(F, sep, ...) \
Z_UTIL_LISTIFY_3574(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3574, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3576(F, sep, ...) \
Z_UTIL_LISTIFY_3575(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3575, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3577(F, sep, ...) \
Z_UTIL_LISTIFY_3576(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3576, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3578(F, sep, ...) \
Z_UTIL_LISTIFY_3577(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3577, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3579(F, sep, ...) \
Z_UTIL_LISTIFY_3578(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3578, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3580(F, sep, ...) \
Z_UTIL_LISTIFY_3579(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3579, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3581(F, sep, ...) \
Z_UTIL_LISTIFY_3580(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3580, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3582(F, sep, ...) \
Z_UTIL_LISTIFY_3581(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3581, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3583(F, sep, ...) \
Z_UTIL_LISTIFY_3582(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3582, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3584(F, sep, ...) \
Z_UTIL_LISTIFY_3583(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3583, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3585(F, sep, ...) \
Z_UTIL_LISTIFY_3584(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3584, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3586(F, sep, ...) \
Z_UTIL_LISTIFY_3585(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3585, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3587(F, sep, ...) \
Z_UTIL_LISTIFY_3586(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3586, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3588(F, sep, ...) \
Z_UTIL_LISTIFY_3587(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3587, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3589(F, sep, ...) \
Z_UTIL_LISTIFY_3588(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3588, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3590(F, sep, ...) \
Z_UTIL_LISTIFY_3589(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3589, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3591(F, sep, ...) \
Z_UTIL_LISTIFY_3590(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3590, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3592(F, sep, ...) \
Z_UTIL_LISTIFY_3591(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3591, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3593(F, sep, ...) \
Z_UTIL_LISTIFY_3592(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3592, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3594(F, sep, ...) \
Z_UTIL_LISTIFY_3593(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3593, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3595(F, sep, ...) \
Z_UTIL_LISTIFY_3594(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3594, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3596(F, sep, ...) \
Z_UTIL_LISTIFY_3595(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3595, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3597(F, sep, ...) \
Z_UTIL_LISTIFY_3596(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3596, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3598(F, sep, ...) \
Z_UTIL_LISTIFY_3597(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3597, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3599(F, sep, ...) \
Z_UTIL_LISTIFY_3598(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3598, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3600(F, sep, ...) \
Z_UTIL_LISTIFY_3599(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3599, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3601(F, sep, ...) \
Z_UTIL_LISTIFY_3600(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3600, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3602(F, sep, ...) \
Z_UTIL_LISTIFY_3601(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3601, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3603(F, sep, ...) \
Z_UTIL_LISTIFY_3602(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3602, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3604(F, sep, ...) \
Z_UTIL_LISTIFY_3603(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3603, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3605(F, sep, ...) \
Z_UTIL_LISTIFY_3604(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3604, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3606(F, sep, ...) \
Z_UTIL_LISTIFY_3605(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3605, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3607(F, sep, ...) \
Z_UTIL_LISTIFY_3606(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3606, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3608(F, sep, ...) \
Z_UTIL_LISTIFY_3607(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3607, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3609(F, sep, ...) \
Z_UTIL_LISTIFY_3608(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3608, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3610(F, sep, ...) \
Z_UTIL_LISTIFY_3609(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3609, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3611(F, sep, ...) \
Z_UTIL_LISTIFY_3610(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3610, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3612(F, sep, ...) \
Z_UTIL_LISTIFY_3611(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3611, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3613(F, sep, ...) \
Z_UTIL_LISTIFY_3612(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3612, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3614(F, sep, ...) \
Z_UTIL_LISTIFY_3613(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3613, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3615(F, sep, ...) \
Z_UTIL_LISTIFY_3614(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3614, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3616(F, sep, ...) \
Z_UTIL_LISTIFY_3615(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3615, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3617(F, sep, ...) \
Z_UTIL_LISTIFY_3616(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3616, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3618(F, sep, ...) \
Z_UTIL_LISTIFY_3617(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3617, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3619(F, sep, ...) \
Z_UTIL_LISTIFY_3618(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3618, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3620(F, sep, ...) \
Z_UTIL_LISTIFY_3619(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3619, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3621(F, sep, ...) \
Z_UTIL_LISTIFY_3620(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3620, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3622(F, sep, ...) \
Z_UTIL_LISTIFY_3621(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3621, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3623(F, sep, ...) \
Z_UTIL_LISTIFY_3622(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3622, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3624(F, sep, ...) \
Z_UTIL_LISTIFY_3623(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3623, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3625(F, sep, ...) \
Z_UTIL_LISTIFY_3624(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3624, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3626(F, sep, ...) \
Z_UTIL_LISTIFY_3625(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3625, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3627(F, sep, ...) \
Z_UTIL_LISTIFY_3626(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3626, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3628(F, sep, ...) \
Z_UTIL_LISTIFY_3627(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3627, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3629(F, sep, ...) \
Z_UTIL_LISTIFY_3628(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3628, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3630(F, sep, ...) \
Z_UTIL_LISTIFY_3629(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3629, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3631(F, sep, ...) \
Z_UTIL_LISTIFY_3630(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3630, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3632(F, sep, ...) \
Z_UTIL_LISTIFY_3631(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3631, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3633(F, sep, ...) \
Z_UTIL_LISTIFY_3632(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3632, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3634(F, sep, ...) \
Z_UTIL_LISTIFY_3633(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3633, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3635(F, sep, ...) \
Z_UTIL_LISTIFY_3634(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3634, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3636(F, sep, ...) \
Z_UTIL_LISTIFY_3635(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3635, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3637(F, sep, ...) \
Z_UTIL_LISTIFY_3636(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3636, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3638(F, sep, ...) \
Z_UTIL_LISTIFY_3637(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3637, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3639(F, sep, ...) \
Z_UTIL_LISTIFY_3638(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3638, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3640(F, sep, ...) \
Z_UTIL_LISTIFY_3639(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3639, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3641(F, sep, ...) \
Z_UTIL_LISTIFY_3640(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3640, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3642(F, sep, ...) \
Z_UTIL_LISTIFY_3641(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3641, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3643(F, sep, ...) \
Z_UTIL_LISTIFY_3642(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3642, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3644(F, sep, ...) \
Z_UTIL_LISTIFY_3643(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3643, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3645(F, sep, ...) \
Z_UTIL_LISTIFY_3644(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3644, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3646(F, sep, ...) \
Z_UTIL_LISTIFY_3645(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3645, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3647(F, sep, ...) \
Z_UTIL_LISTIFY_3646(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3646, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3648(F, sep, ...) \
Z_UTIL_LISTIFY_3647(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3647, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3649(F, sep, ...) \
Z_UTIL_LISTIFY_3648(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3648, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3650(F, sep, ...) \
Z_UTIL_LISTIFY_3649(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3649, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3651(F, sep, ...) \
Z_UTIL_LISTIFY_3650(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3650, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3652(F, sep, ...) \
Z_UTIL_LISTIFY_3651(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3651, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3653(F, sep, ...) \
Z_UTIL_LISTIFY_3652(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3652, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3654(F, sep, ...) \
Z_UTIL_LISTIFY_3653(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3653, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3655(F, sep, ...) \
Z_UTIL_LISTIFY_3654(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3654, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3656(F, sep, ...) \
Z_UTIL_LISTIFY_3655(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3655, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3657(F, sep, ...) \
Z_UTIL_LISTIFY_3656(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3656, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3658(F, sep, ...) \
Z_UTIL_LISTIFY_3657(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3657, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3659(F, sep, ...) \
Z_UTIL_LISTIFY_3658(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3658, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3660(F, sep, ...) \
Z_UTIL_LISTIFY_3659(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3659, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3661(F, sep, ...) \
Z_UTIL_LISTIFY_3660(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3660, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3662(F, sep, ...) \
Z_UTIL_LISTIFY_3661(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3661, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3663(F, sep, ...) \
Z_UTIL_LISTIFY_3662(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3662, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3664(F, sep, ...) \
Z_UTIL_LISTIFY_3663(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3663, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3665(F, sep, ...) \
Z_UTIL_LISTIFY_3664(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3664, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3666(F, sep, ...) \
Z_UTIL_LISTIFY_3665(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3665, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3667(F, sep, ...) \
Z_UTIL_LISTIFY_3666(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3666, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3668(F, sep, ...) \
Z_UTIL_LISTIFY_3667(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3667, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3669(F, sep, ...) \
Z_UTIL_LISTIFY_3668(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3668, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3670(F, sep, ...) \
Z_UTIL_LISTIFY_3669(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3669, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3671(F, sep, ...) \
Z_UTIL_LISTIFY_3670(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3670, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3672(F, sep, ...) \
Z_UTIL_LISTIFY_3671(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3671, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3673(F, sep, ...) \
Z_UTIL_LISTIFY_3672(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3672, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3674(F, sep, ...) \
Z_UTIL_LISTIFY_3673(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3673, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3675(F, sep, ...) \
Z_UTIL_LISTIFY_3674(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3674, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3676(F, sep, ...) \
Z_UTIL_LISTIFY_3675(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3675, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3677(F, sep, ...) \
Z_UTIL_LISTIFY_3676(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3676, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3678(F, sep, ...) \
Z_UTIL_LISTIFY_3677(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3677, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3679(F, sep, ...) \
Z_UTIL_LISTIFY_3678(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3678, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3680(F, sep, ...) \
Z_UTIL_LISTIFY_3679(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3679, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3681(F, sep, ...) \
Z_UTIL_LISTIFY_3680(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3680, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3682(F, sep, ...) \
Z_UTIL_LISTIFY_3681(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3681, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3683(F, sep, ...) \
Z_UTIL_LISTIFY_3682(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3682, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3684(F, sep, ...) \
Z_UTIL_LISTIFY_3683(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3683, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3685(F, sep, ...) \
Z_UTIL_LISTIFY_3684(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3684, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3686(F, sep, ...) \
Z_UTIL_LISTIFY_3685(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3685, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3687(F, sep, ...) \
Z_UTIL_LISTIFY_3686(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3686, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3688(F, sep, ...) \
Z_UTIL_LISTIFY_3687(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3687, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3689(F, sep, ...) \
Z_UTIL_LISTIFY_3688(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3688, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3690(F, sep, ...) \
Z_UTIL_LISTIFY_3689(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3689, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3691(F, sep, ...) \
Z_UTIL_LISTIFY_3690(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3690, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3692(F, sep, ...) \
Z_UTIL_LISTIFY_3691(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3691, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3693(F, sep, ...) \
Z_UTIL_LISTIFY_3692(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3692, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3694(F, sep, ...) \
Z_UTIL_LISTIFY_3693(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3693, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3695(F, sep, ...) \
Z_UTIL_LISTIFY_3694(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3694, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3696(F, sep, ...) \
Z_UTIL_LISTIFY_3695(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3695, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3697(F, sep, ...) \
Z_UTIL_LISTIFY_3696(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3696, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3698(F, sep, ...) \
Z_UTIL_LISTIFY_3697(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3697, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3699(F, sep, ...) \
Z_UTIL_LISTIFY_3698(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3698, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3700(F, sep, ...) \
Z_UTIL_LISTIFY_3699(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3699, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3701(F, sep, ...) \
Z_UTIL_LISTIFY_3700(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3700, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3702(F, sep, ...) \
Z_UTIL_LISTIFY_3701(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3701, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3703(F, sep, ...) \
Z_UTIL_LISTIFY_3702(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3702, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3704(F, sep, ...) \
Z_UTIL_LISTIFY_3703(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3703, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3705(F, sep, ...) \
Z_UTIL_LISTIFY_3704(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3704, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3706(F, sep, ...) \
Z_UTIL_LISTIFY_3705(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3705, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3707(F, sep, ...) \
Z_UTIL_LISTIFY_3706(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3706, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3708(F, sep, ...) \
Z_UTIL_LISTIFY_3707(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3707, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3709(F, sep, ...) \
Z_UTIL_LISTIFY_3708(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3708, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3710(F, sep, ...) \
Z_UTIL_LISTIFY_3709(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3709, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3711(F, sep, ...) \
Z_UTIL_LISTIFY_3710(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3710, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3712(F, sep, ...) \
Z_UTIL_LISTIFY_3711(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3711, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3713(F, sep, ...) \
Z_UTIL_LISTIFY_3712(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3712, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3714(F, sep, ...) \
Z_UTIL_LISTIFY_3713(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3713, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3715(F, sep, ...) \
Z_UTIL_LISTIFY_3714(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3714, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3716(F, sep, ...) \
Z_UTIL_LISTIFY_3715(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3715, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3717(F, sep, ...) \
Z_UTIL_LISTIFY_3716(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3716, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3718(F, sep, ...) \
Z_UTIL_LISTIFY_3717(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3717, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3719(F, sep, ...) \
Z_UTIL_LISTIFY_3718(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3718, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3720(F, sep, ...) \
Z_UTIL_LISTIFY_3719(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3719, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3721(F, sep, ...) \
Z_UTIL_LISTIFY_3720(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3720, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3722(F, sep, ...) \
Z_UTIL_LISTIFY_3721(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3721, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3723(F, sep, ...) \
Z_UTIL_LISTIFY_3722(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3722, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3724(F, sep, ...) \
Z_UTIL_LISTIFY_3723(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3723, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3725(F, sep, ...) \
Z_UTIL_LISTIFY_3724(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3724, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3726(F, sep, ...) \
Z_UTIL_LISTIFY_3725(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3725, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3727(F, sep, ...) \
Z_UTIL_LISTIFY_3726(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3726, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3728(F, sep, ...) \
Z_UTIL_LISTIFY_3727(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3727, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3729(F, sep, ...) \
Z_UTIL_LISTIFY_3728(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3728, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3730(F, sep, ...) \
Z_UTIL_LISTIFY_3729(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3729, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3731(F, sep, ...) \
Z_UTIL_LISTIFY_3730(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3730, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3732(F, sep, ...) \
Z_UTIL_LISTIFY_3731(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3731, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3733(F, sep, ...) \
Z_UTIL_LISTIFY_3732(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3732, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3734(F, sep, ...) \
Z_UTIL_LISTIFY_3733(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3733, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3735(F, sep, ...) \
Z_UTIL_LISTIFY_3734(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3734, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3736(F, sep, ...) \
Z_UTIL_LISTIFY_3735(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3735, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3737(F, sep, ...) \
Z_UTIL_LISTIFY_3736(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3736, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3738(F, sep, ...) \
Z_UTIL_LISTIFY_3737(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3737, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3739(F, sep, ...) \
Z_UTIL_LISTIFY_3738(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3738, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3740(F, sep, ...) \
Z_UTIL_LISTIFY_3739(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3739, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3741(F, sep, ...) \
Z_UTIL_LISTIFY_3740(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3740, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3742(F, sep, ...) \
Z_UTIL_LISTIFY_3741(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3741, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3743(F, sep, ...) \
Z_UTIL_LISTIFY_3742(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3742, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3744(F, sep, ...) \
Z_UTIL_LISTIFY_3743(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3743, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3745(F, sep, ...) \
Z_UTIL_LISTIFY_3744(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3744, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3746(F, sep, ...) \
Z_UTIL_LISTIFY_3745(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3745, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3747(F, sep, ...) \
Z_UTIL_LISTIFY_3746(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3746, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3748(F, sep, ...) \
Z_UTIL_LISTIFY_3747(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3747, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3749(F, sep, ...) \
Z_UTIL_LISTIFY_3748(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3748, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3750(F, sep, ...) \
Z_UTIL_LISTIFY_3749(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3749, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3751(F, sep, ...) \
Z_UTIL_LISTIFY_3750(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3750, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3752(F, sep, ...) \
Z_UTIL_LISTIFY_3751(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3751, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3753(F, sep, ...) \
Z_UTIL_LISTIFY_3752(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3752, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3754(F, sep, ...) \
Z_UTIL_LISTIFY_3753(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3753, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3755(F, sep, ...) \
Z_UTIL_LISTIFY_3754(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3754, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3756(F, sep, ...) \
Z_UTIL_LISTIFY_3755(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3755, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3757(F, sep, ...) \
Z_UTIL_LISTIFY_3756(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3756, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3758(F, sep, ...) \
Z_UTIL_LISTIFY_3757(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3757, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3759(F, sep, ...) \
Z_UTIL_LISTIFY_3758(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3758, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3760(F, sep, ...) \
Z_UTIL_LISTIFY_3759(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3759, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3761(F, sep, ...) \
Z_UTIL_LISTIFY_3760(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3760, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3762(F, sep, ...) \
Z_UTIL_LISTIFY_3761(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3761, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3763(F, sep, ...) \
Z_UTIL_LISTIFY_3762(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3762, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3764(F, sep, ...) \
Z_UTIL_LISTIFY_3763(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3763, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3765(F, sep, ...) \
Z_UTIL_LISTIFY_3764(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3764, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3766(F, sep, ...) \
Z_UTIL_LISTIFY_3765(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3765, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3767(F, sep, ...) \
Z_UTIL_LISTIFY_3766(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3766, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3768(F, sep, ...) \
Z_UTIL_LISTIFY_3767(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3767, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3769(F, sep, ...) \
Z_UTIL_LISTIFY_3768(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3768, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3770(F, sep, ...) \
Z_UTIL_LISTIFY_3769(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3769, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3771(F, sep, ...) \
Z_UTIL_LISTIFY_3770(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3770, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3772(F, sep, ...) \
Z_UTIL_LISTIFY_3771(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3771, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3773(F, sep, ...) \
Z_UTIL_LISTIFY_3772(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3772, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3774(F, sep, ...) \
Z_UTIL_LISTIFY_3773(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3773, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3775(F, sep, ...) \
Z_UTIL_LISTIFY_3774(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3774, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3776(F, sep, ...) \
Z_UTIL_LISTIFY_3775(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3775, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3777(F, sep, ...) \
Z_UTIL_LISTIFY_3776(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3776, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3778(F, sep, ...) \
Z_UTIL_LISTIFY_3777(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3777, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3779(F, sep, ...) \
Z_UTIL_LISTIFY_3778(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3778, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3780(F, sep, ...) \
Z_UTIL_LISTIFY_3779(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3779, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3781(F, sep, ...) \
Z_UTIL_LISTIFY_3780(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3780, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3782(F, sep, ...) \
Z_UTIL_LISTIFY_3781(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3781, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3783(F, sep, ...) \
Z_UTIL_LISTIFY_3782(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3782, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3784(F, sep, ...) \
Z_UTIL_LISTIFY_3783(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3783, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3785(F, sep, ...) \
Z_UTIL_LISTIFY_3784(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3784, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3786(F, sep, ...) \
Z_UTIL_LISTIFY_3785(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3785, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3787(F, sep, ...) \
Z_UTIL_LISTIFY_3786(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3786, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3788(F, sep, ...) \
Z_UTIL_LISTIFY_3787(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3787, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3789(F, sep, ...) \
Z_UTIL_LISTIFY_3788(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3788, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3790(F, sep, ...) \
Z_UTIL_LISTIFY_3789(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3789, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3791(F, sep, ...) \
Z_UTIL_LISTIFY_3790(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3790, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3792(F, sep, ...) \
Z_UTIL_LISTIFY_3791(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3791, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3793(F, sep, ...) \
Z_UTIL_LISTIFY_3792(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3792, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3794(F, sep, ...) \
Z_UTIL_LISTIFY_3793(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3793, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3795(F, sep, ...) \
Z_UTIL_LISTIFY_3794(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3794, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3796(F, sep, ...) \
Z_UTIL_LISTIFY_3795(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3795, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3797(F, sep, ...) \
Z_UTIL_LISTIFY_3796(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3796, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3798(F, sep, ...) \
Z_UTIL_LISTIFY_3797(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3797, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3799(F, sep, ...) \
Z_UTIL_LISTIFY_3798(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3798, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3800(F, sep, ...) \
Z_UTIL_LISTIFY_3799(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3799, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3801(F, sep, ...) \
Z_UTIL_LISTIFY_3800(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3800, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3802(F, sep, ...) \
Z_UTIL_LISTIFY_3801(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3801, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3803(F, sep, ...) \
Z_UTIL_LISTIFY_3802(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3802, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3804(F, sep, ...) \
Z_UTIL_LISTIFY_3803(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3803, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3805(F, sep, ...) \
Z_UTIL_LISTIFY_3804(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3804, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3806(F, sep, ...) \
Z_UTIL_LISTIFY_3805(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3805, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3807(F, sep, ...) \
Z_UTIL_LISTIFY_3806(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3806, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3808(F, sep, ...) \
Z_UTIL_LISTIFY_3807(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3807, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3809(F, sep, ...) \
Z_UTIL_LISTIFY_3808(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3808, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3810(F, sep, ...) \
Z_UTIL_LISTIFY_3809(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3809, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3811(F, sep, ...) \
Z_UTIL_LISTIFY_3810(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3810, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3812(F, sep, ...) \
Z_UTIL_LISTIFY_3811(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3811, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3813(F, sep, ...) \
Z_UTIL_LISTIFY_3812(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3812, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3814(F, sep, ...) \
Z_UTIL_LISTIFY_3813(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3813, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3815(F, sep, ...) \
Z_UTIL_LISTIFY_3814(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3814, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3816(F, sep, ...) \
Z_UTIL_LISTIFY_3815(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3815, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3817(F, sep, ...) \
Z_UTIL_LISTIFY_3816(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3816, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3818(F, sep, ...) \
Z_UTIL_LISTIFY_3817(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3817, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3819(F, sep, ...) \
Z_UTIL_LISTIFY_3818(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3818, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3820(F, sep, ...) \
Z_UTIL_LISTIFY_3819(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3819, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3821(F, sep, ...) \
Z_UTIL_LISTIFY_3820(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3820, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3822(F, sep, ...) \
Z_UTIL_LISTIFY_3821(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3821, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3823(F, sep, ...) \
Z_UTIL_LISTIFY_3822(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3822, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3824(F, sep, ...) \
Z_UTIL_LISTIFY_3823(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3823, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3825(F, sep, ...) \
Z_UTIL_LISTIFY_3824(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3824, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3826(F, sep, ...) \
Z_UTIL_LISTIFY_3825(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3825, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3827(F, sep, ...) \
Z_UTIL_LISTIFY_3826(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3826, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3828(F, sep, ...) \
Z_UTIL_LISTIFY_3827(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3827, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3829(F, sep, ...) \
Z_UTIL_LISTIFY_3828(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3828, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3830(F, sep, ...) \
Z_UTIL_LISTIFY_3829(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3829, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3831(F, sep, ...) \
Z_UTIL_LISTIFY_3830(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3830, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3832(F, sep, ...) \
Z_UTIL_LISTIFY_3831(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3831, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3833(F, sep, ...) \
Z_UTIL_LISTIFY_3832(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3832, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3834(F, sep, ...) \
Z_UTIL_LISTIFY_3833(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3833, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3835(F, sep, ...) \
Z_UTIL_LISTIFY_3834(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3834, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3836(F, sep, ...) \
Z_UTIL_LISTIFY_3835(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3835, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3837(F, sep, ...) \
Z_UTIL_LISTIFY_3836(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3836, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3838(F, sep, ...) \
Z_UTIL_LISTIFY_3837(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3837, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3839(F, sep, ...) \
Z_UTIL_LISTIFY_3838(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3838, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3840(F, sep, ...) \
Z_UTIL_LISTIFY_3839(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3839, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3841(F, sep, ...) \
Z_UTIL_LISTIFY_3840(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3840, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3842(F, sep, ...) \
Z_UTIL_LISTIFY_3841(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3841, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3843(F, sep, ...) \
Z_UTIL_LISTIFY_3842(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3842, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3844(F, sep, ...) \
Z_UTIL_LISTIFY_3843(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3843, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3845(F, sep, ...) \
Z_UTIL_LISTIFY_3844(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3844, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3846(F, sep, ...) \
Z_UTIL_LISTIFY_3845(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3845, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3847(F, sep, ...) \
Z_UTIL_LISTIFY_3846(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3846, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3848(F, sep, ...) \
Z_UTIL_LISTIFY_3847(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3847, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3849(F, sep, ...) \
Z_UTIL_LISTIFY_3848(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3848, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3850(F, sep, ...) \
Z_UTIL_LISTIFY_3849(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3849, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3851(F, sep, ...) \
Z_UTIL_LISTIFY_3850(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3850, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3852(F, sep, ...) \
Z_UTIL_LISTIFY_3851(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3851, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3853(F, sep, ...) \
Z_UTIL_LISTIFY_3852(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3852, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3854(F, sep, ...) \
Z_UTIL_LISTIFY_3853(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3853, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3855(F, sep, ...) \
Z_UTIL_LISTIFY_3854(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3854, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3856(F, sep, ...) \
Z_UTIL_LISTIFY_3855(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3855, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3857(F, sep, ...) \
Z_UTIL_LISTIFY_3856(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3856, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3858(F, sep, ...) \
Z_UTIL_LISTIFY_3857(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3857, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3859(F, sep, ...) \
Z_UTIL_LISTIFY_3858(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3858, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3860(F, sep, ...) \
Z_UTIL_LISTIFY_3859(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3859, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3861(F, sep, ...) \
Z_UTIL_LISTIFY_3860(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3860, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3862(F, sep, ...) \
Z_UTIL_LISTIFY_3861(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3861, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3863(F, sep, ...) \
Z_UTIL_LISTIFY_3862(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3862, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3864(F, sep, ...) \
Z_UTIL_LISTIFY_3863(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3863, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3865(F, sep, ...) \
Z_UTIL_LISTIFY_3864(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3864, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3866(F, sep, ...) \
Z_UTIL_LISTIFY_3865(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3865, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3867(F, sep, ...) \
Z_UTIL_LISTIFY_3866(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3866, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3868(F, sep, ...) \
Z_UTIL_LISTIFY_3867(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3867, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3869(F, sep, ...) \
Z_UTIL_LISTIFY_3868(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3868, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3870(F, sep, ...) \
Z_UTIL_LISTIFY_3869(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3869, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3871(F, sep, ...) \
Z_UTIL_LISTIFY_3870(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3870, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3872(F, sep, ...) \
Z_UTIL_LISTIFY_3871(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3871, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3873(F, sep, ...) \
Z_UTIL_LISTIFY_3872(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3872, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3874(F, sep, ...) \
Z_UTIL_LISTIFY_3873(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3873, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3875(F, sep, ...) \
Z_UTIL_LISTIFY_3874(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3874, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3876(F, sep, ...) \
Z_UTIL_LISTIFY_3875(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3875, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3877(F, sep, ...) \
Z_UTIL_LISTIFY_3876(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3876, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3878(F, sep, ...) \
Z_UTIL_LISTIFY_3877(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3877, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3879(F, sep, ...) \
Z_UTIL_LISTIFY_3878(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3878, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3880(F, sep, ...) \
Z_UTIL_LISTIFY_3879(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3879, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3881(F, sep, ...) \
Z_UTIL_LISTIFY_3880(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3880, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3882(F, sep, ...) \
Z_UTIL_LISTIFY_3881(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3881, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3883(F, sep, ...) \
Z_UTIL_LISTIFY_3882(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3882, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3884(F, sep, ...) \
Z_UTIL_LISTIFY_3883(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3883, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3885(F, sep, ...) \
Z_UTIL_LISTIFY_3884(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3884, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3886(F, sep, ...) \
Z_UTIL_LISTIFY_3885(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3885, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3887(F, sep, ...) \
Z_UTIL_LISTIFY_3886(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3886, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3888(F, sep, ...) \
Z_UTIL_LISTIFY_3887(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3887, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3889(F, sep, ...) \
Z_UTIL_LISTIFY_3888(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3888, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3890(F, sep, ...) \
Z_UTIL_LISTIFY_3889(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3889, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3891(F, sep, ...) \
Z_UTIL_LISTIFY_3890(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3890, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3892(F, sep, ...) \
Z_UTIL_LISTIFY_3891(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3891, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3893(F, sep, ...) \
Z_UTIL_LISTIFY_3892(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3892, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3894(F, sep, ...) \
Z_UTIL_LISTIFY_3893(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3893, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3895(F, sep, ...) \
Z_UTIL_LISTIFY_3894(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3894, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3896(F, sep, ...) \
Z_UTIL_LISTIFY_3895(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3895, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3897(F, sep, ...) \
Z_UTIL_LISTIFY_3896(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3896, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3898(F, sep, ...) \
Z_UTIL_LISTIFY_3897(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3897, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3899(F, sep, ...) \
Z_UTIL_LISTIFY_3898(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3898, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3900(F, sep, ...) \
Z_UTIL_LISTIFY_3899(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3899, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3901(F, sep, ...) \
Z_UTIL_LISTIFY_3900(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3900, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3902(F, sep, ...) \
Z_UTIL_LISTIFY_3901(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3901, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3903(F, sep, ...) \
Z_UTIL_LISTIFY_3902(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3902, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3904(F, sep, ...) \
Z_UTIL_LISTIFY_3903(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3903, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3905(F, sep, ...) \
Z_UTIL_LISTIFY_3904(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3904, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3906(F, sep, ...) \
Z_UTIL_LISTIFY_3905(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3905, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3907(F, sep, ...) \
Z_UTIL_LISTIFY_3906(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3906, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3908(F, sep, ...) \
Z_UTIL_LISTIFY_3907(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3907, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3909(F, sep, ...) \
Z_UTIL_LISTIFY_3908(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3908, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3910(F, sep, ...) \
Z_UTIL_LISTIFY_3909(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3909, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3911(F, sep, ...) \
Z_UTIL_LISTIFY_3910(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3910, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3912(F, sep, ...) \
Z_UTIL_LISTIFY_3911(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3911, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3913(F, sep, ...) \
Z_UTIL_LISTIFY_3912(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3912, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3914(F, sep, ...) \
Z_UTIL_LISTIFY_3913(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3913, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3915(F, sep, ...) \
Z_UTIL_LISTIFY_3914(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3914, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3916(F, sep, ...) \
Z_UTIL_LISTIFY_3915(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3915, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3917(F, sep, ...) \
Z_UTIL_LISTIFY_3916(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3916, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3918(F, sep, ...) \
Z_UTIL_LISTIFY_3917(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3917, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3919(F, sep, ...) \
Z_UTIL_LISTIFY_3918(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3918, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3920(F, sep, ...) \
Z_UTIL_LISTIFY_3919(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3919, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3921(F, sep, ...) \
Z_UTIL_LISTIFY_3920(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3920, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3922(F, sep, ...) \
Z_UTIL_LISTIFY_3921(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3921, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3923(F, sep, ...) \
Z_UTIL_LISTIFY_3922(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3922, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3924(F, sep, ...) \
Z_UTIL_LISTIFY_3923(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3923, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3925(F, sep, ...) \
Z_UTIL_LISTIFY_3924(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3924, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3926(F, sep, ...) \
Z_UTIL_LISTIFY_3925(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3925, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3927(F, sep, ...) \
Z_UTIL_LISTIFY_3926(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3926, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3928(F, sep, ...) \
Z_UTIL_LISTIFY_3927(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3927, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3929(F, sep, ...) \
Z_UTIL_LISTIFY_3928(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3928, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3930(F, sep, ...) \
Z_UTIL_LISTIFY_3929(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3929, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3931(F, sep, ...) \
Z_UTIL_LISTIFY_3930(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3930, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3932(F, sep, ...) \
Z_UTIL_LISTIFY_3931(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3931, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3933(F, sep, ...) \
Z_UTIL_LISTIFY_3932(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3932, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3934(F, sep, ...) \
Z_UTIL_LISTIFY_3933(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3933, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3935(F, sep, ...) \
Z_UTIL_LISTIFY_3934(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3934, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3936(F, sep, ...) \
Z_UTIL_LISTIFY_3935(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3935, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3937(F, sep, ...) \
Z_UTIL_LISTIFY_3936(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3936, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3938(F, sep, ...) \
Z_UTIL_LISTIFY_3937(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3937, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3939(F, sep, ...) \
Z_UTIL_LISTIFY_3938(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3938, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3940(F, sep, ...) \
Z_UTIL_LISTIFY_3939(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3939, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3941(F, sep, ...) \
Z_UTIL_LISTIFY_3940(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3940, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3942(F, sep, ...) \
Z_UTIL_LISTIFY_3941(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3941, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3943(F, sep, ...) \
Z_UTIL_LISTIFY_3942(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3942, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3944(F, sep, ...) \
Z_UTIL_LISTIFY_3943(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3943, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3945(F, sep, ...) \
Z_UTIL_LISTIFY_3944(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3944, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3946(F, sep, ...) \
Z_UTIL_LISTIFY_3945(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3945, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3947(F, sep, ...) \
Z_UTIL_LISTIFY_3946(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3946, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3948(F, sep, ...) \
Z_UTIL_LISTIFY_3947(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3947, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3949(F, sep, ...) \
Z_UTIL_LISTIFY_3948(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3948, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3950(F, sep, ...) \
Z_UTIL_LISTIFY_3949(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3949, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3951(F, sep, ...) \
Z_UTIL_LISTIFY_3950(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3950, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3952(F, sep, ...) \
Z_UTIL_LISTIFY_3951(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3951, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3953(F, sep, ...) \
Z_UTIL_LISTIFY_3952(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3952, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3954(F, sep, ...) \
Z_UTIL_LISTIFY_3953(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3953, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3955(F, sep, ...) \
Z_UTIL_LISTIFY_3954(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3954, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3956(F, sep, ...) \
Z_UTIL_LISTIFY_3955(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3955, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3957(F, sep, ...) \
Z_UTIL_LISTIFY_3956(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3956, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3958(F, sep, ...) \
Z_UTIL_LISTIFY_3957(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3957, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3959(F, sep, ...) \
Z_UTIL_LISTIFY_3958(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3958, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3960(F, sep, ...) \
Z_UTIL_LISTIFY_3959(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3959, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3961(F, sep, ...) \
Z_UTIL_LISTIFY_3960(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3960, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3962(F, sep, ...) \
Z_UTIL_LISTIFY_3961(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3961, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3963(F, sep, ...) \
Z_UTIL_LISTIFY_3962(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3962, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3964(F, sep, ...) \
Z_UTIL_LISTIFY_3963(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3963, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3965(F, sep, ...) \
Z_UTIL_LISTIFY_3964(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3964, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3966(F, sep, ...) \
Z_UTIL_LISTIFY_3965(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3965, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3967(F, sep, ...) \
Z_UTIL_LISTIFY_3966(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3966, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3968(F, sep, ...) \
Z_UTIL_LISTIFY_3967(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3967, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3969(F, sep, ...) \
Z_UTIL_LISTIFY_3968(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3968, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3970(F, sep, ...) \
Z_UTIL_LISTIFY_3969(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3969, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3971(F, sep, ...) \
Z_UTIL_LISTIFY_3970(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3970, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3972(F, sep, ...) \
Z_UTIL_LISTIFY_3971(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3971, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3973(F, sep, ...) \
Z_UTIL_LISTIFY_3972(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3972, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3974(F, sep, ...) \
Z_UTIL_LISTIFY_3973(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3973, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3975(F, sep, ...) \
Z_UTIL_LISTIFY_3974(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3974, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3976(F, sep, ...) \
Z_UTIL_LISTIFY_3975(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3975, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3977(F, sep, ...) \
Z_UTIL_LISTIFY_3976(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3976, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3978(F, sep, ...) \
Z_UTIL_LISTIFY_3977(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3977, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3979(F, sep, ...) \
Z_UTIL_LISTIFY_3978(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3978, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3980(F, sep, ...) \
Z_UTIL_LISTIFY_3979(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3979, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3981(F, sep, ...) \
Z_UTIL_LISTIFY_3980(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3980, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3982(F, sep, ...) \
Z_UTIL_LISTIFY_3981(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3981, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3983(F, sep, ...) \
Z_UTIL_LISTIFY_3982(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3982, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3984(F, sep, ...) \
Z_UTIL_LISTIFY_3983(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3983, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3985(F, sep, ...) \
Z_UTIL_LISTIFY_3984(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3984, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3986(F, sep, ...) \
Z_UTIL_LISTIFY_3985(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3985, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3987(F, sep, ...) \
Z_UTIL_LISTIFY_3986(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3986, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3988(F, sep, ...) \
Z_UTIL_LISTIFY_3987(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3987, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3989(F, sep, ...) \
Z_UTIL_LISTIFY_3988(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3988, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3990(F, sep, ...) \
Z_UTIL_LISTIFY_3989(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3989, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3991(F, sep, ...) \
Z_UTIL_LISTIFY_3990(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3990, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3992(F, sep, ...) \
Z_UTIL_LISTIFY_3991(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3991, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3993(F, sep, ...) \
Z_UTIL_LISTIFY_3992(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3992, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3994(F, sep, ...) \
Z_UTIL_LISTIFY_3993(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3993, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3995(F, sep, ...) \
Z_UTIL_LISTIFY_3994(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3994, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3996(F, sep, ...) \
Z_UTIL_LISTIFY_3995(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3995, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3997(F, sep, ...) \
Z_UTIL_LISTIFY_3996(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3996, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3998(F, sep, ...) \
Z_UTIL_LISTIFY_3997(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3997, __VA_ARGS__)
#define Z_UTIL_LISTIFY_3999(F, sep, ...) \
Z_UTIL_LISTIFY_3998(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3998, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4000(F, sep, ...) \
Z_UTIL_LISTIFY_3999(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(3999, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4001(F, sep, ...) \
Z_UTIL_LISTIFY_4000(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4000, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4002(F, sep, ...) \
Z_UTIL_LISTIFY_4001(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4001, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4003(F, sep, ...) \
Z_UTIL_LISTIFY_4002(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4002, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4004(F, sep, ...) \
Z_UTIL_LISTIFY_4003(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4003, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4005(F, sep, ...) \
Z_UTIL_LISTIFY_4004(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4004, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4006(F, sep, ...) \
Z_UTIL_LISTIFY_4005(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4005, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4007(F, sep, ...) \
Z_UTIL_LISTIFY_4006(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4006, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4008(F, sep, ...) \
Z_UTIL_LISTIFY_4007(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4007, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4009(F, sep, ...) \
Z_UTIL_LISTIFY_4008(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4008, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4010(F, sep, ...) \
Z_UTIL_LISTIFY_4009(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4009, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4011(F, sep, ...) \
Z_UTIL_LISTIFY_4010(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4010, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4012(F, sep, ...) \
Z_UTIL_LISTIFY_4011(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4011, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4013(F, sep, ...) \
Z_UTIL_LISTIFY_4012(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4012, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4014(F, sep, ...) \
Z_UTIL_LISTIFY_4013(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4013, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4015(F, sep, ...) \
Z_UTIL_LISTIFY_4014(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4014, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4016(F, sep, ...) \
Z_UTIL_LISTIFY_4015(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4015, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4017(F, sep, ...) \
Z_UTIL_LISTIFY_4016(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4016, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4018(F, sep, ...) \
Z_UTIL_LISTIFY_4017(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4017, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4019(F, sep, ...) \
Z_UTIL_LISTIFY_4018(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4018, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4020(F, sep, ...) \
Z_UTIL_LISTIFY_4019(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4019, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4021(F, sep, ...) \
Z_UTIL_LISTIFY_4020(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4020, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4022(F, sep, ...) \
Z_UTIL_LISTIFY_4021(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4021, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4023(F, sep, ...) \
Z_UTIL_LISTIFY_4022(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4022, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4024(F, sep, ...) \
Z_UTIL_LISTIFY_4023(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4023, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4025(F, sep, ...) \
Z_UTIL_LISTIFY_4024(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4024, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4026(F, sep, ...) \
Z_UTIL_LISTIFY_4025(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4025, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4027(F, sep, ...) \
Z_UTIL_LISTIFY_4026(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4026, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4028(F, sep, ...) \
Z_UTIL_LISTIFY_4027(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4027, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4029(F, sep, ...) \
Z_UTIL_LISTIFY_4028(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4028, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4030(F, sep, ...) \
Z_UTIL_LISTIFY_4029(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4029, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4031(F, sep, ...) \
Z_UTIL_LISTIFY_4030(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4030, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4032(F, sep, ...) \
Z_UTIL_LISTIFY_4031(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4031, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4033(F, sep, ...) \
Z_UTIL_LISTIFY_4032(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4032, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4034(F, sep, ...) \
Z_UTIL_LISTIFY_4033(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4033, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4035(F, sep, ...) \
Z_UTIL_LISTIFY_4034(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4034, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4036(F, sep, ...) \
Z_UTIL_LISTIFY_4035(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4035, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4037(F, sep, ...) \
Z_UTIL_LISTIFY_4036(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4036, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4038(F, sep, ...) \
Z_UTIL_LISTIFY_4037(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4037, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4039(F, sep, ...) \
Z_UTIL_LISTIFY_4038(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4038, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4040(F, sep, ...) \
Z_UTIL_LISTIFY_4039(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4039, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4041(F, sep, ...) \
Z_UTIL_LISTIFY_4040(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4040, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4042(F, sep, ...) \
Z_UTIL_LISTIFY_4041(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4041, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4043(F, sep, ...) \
Z_UTIL_LISTIFY_4042(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4042, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4044(F, sep, ...) \
Z_UTIL_LISTIFY_4043(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4043, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4045(F, sep, ...) \
Z_UTIL_LISTIFY_4044(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4044, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4046(F, sep, ...) \
Z_UTIL_LISTIFY_4045(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4045, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4047(F, sep, ...) \
Z_UTIL_LISTIFY_4046(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4046, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4048(F, sep, ...) \
Z_UTIL_LISTIFY_4047(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4047, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4049(F, sep, ...) \
Z_UTIL_LISTIFY_4048(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4048, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4050(F, sep, ...) \
Z_UTIL_LISTIFY_4049(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4049, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4051(F, sep, ...) \
Z_UTIL_LISTIFY_4050(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4050, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4052(F, sep, ...) \
Z_UTIL_LISTIFY_4051(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4051, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4053(F, sep, ...) \
Z_UTIL_LISTIFY_4052(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4052, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4054(F, sep, ...) \
Z_UTIL_LISTIFY_4053(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4053, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4055(F, sep, ...) \
Z_UTIL_LISTIFY_4054(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4054, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4056(F, sep, ...) \
Z_UTIL_LISTIFY_4055(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4055, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4057(F, sep, ...) \
Z_UTIL_LISTIFY_4056(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4056, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4058(F, sep, ...) \
Z_UTIL_LISTIFY_4057(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4057, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4059(F, sep, ...) \
Z_UTIL_LISTIFY_4058(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4058, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4060(F, sep, ...) \
Z_UTIL_LISTIFY_4059(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4059, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4061(F, sep, ...) \
Z_UTIL_LISTIFY_4060(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4060, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4062(F, sep, ...) \
Z_UTIL_LISTIFY_4061(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4061, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4063(F, sep, ...) \
Z_UTIL_LISTIFY_4062(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4062, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4064(F, sep, ...) \
Z_UTIL_LISTIFY_4063(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4063, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4065(F, sep, ...) \
Z_UTIL_LISTIFY_4064(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4064, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4066(F, sep, ...) \
Z_UTIL_LISTIFY_4065(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4065, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4067(F, sep, ...) \
Z_UTIL_LISTIFY_4066(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4066, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4068(F, sep, ...) \
Z_UTIL_LISTIFY_4067(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4067, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4069(F, sep, ...) \
Z_UTIL_LISTIFY_4068(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4068, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4070(F, sep, ...) \
Z_UTIL_LISTIFY_4069(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4069, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4071(F, sep, ...) \
Z_UTIL_LISTIFY_4070(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4070, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4072(F, sep, ...) \
Z_UTIL_LISTIFY_4071(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4071, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4073(F, sep, ...) \
Z_UTIL_LISTIFY_4072(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4072, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4074(F, sep, ...) \
Z_UTIL_LISTIFY_4073(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4073, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4075(F, sep, ...) \
Z_UTIL_LISTIFY_4074(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4074, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4076(F, sep, ...) \
Z_UTIL_LISTIFY_4075(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4075, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4077(F, sep, ...) \
Z_UTIL_LISTIFY_4076(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4076, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4078(F, sep, ...) \
Z_UTIL_LISTIFY_4077(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4077, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4079(F, sep, ...) \
Z_UTIL_LISTIFY_4078(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4078, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4080(F, sep, ...) \
Z_UTIL_LISTIFY_4079(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4079, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4081(F, sep, ...) \
Z_UTIL_LISTIFY_4080(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4080, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4082(F, sep, ...) \
Z_UTIL_LISTIFY_4081(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4081, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4083(F, sep, ...) \
Z_UTIL_LISTIFY_4082(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4082, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4084(F, sep, ...) \
Z_UTIL_LISTIFY_4083(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4083, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4085(F, sep, ...) \
Z_UTIL_LISTIFY_4084(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4084, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4086(F, sep, ...) \
Z_UTIL_LISTIFY_4085(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4085, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4087(F, sep, ...) \
Z_UTIL_LISTIFY_4086(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4086, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4088(F, sep, ...) \
Z_UTIL_LISTIFY_4087(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4087, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4089(F, sep, ...) \
Z_UTIL_LISTIFY_4088(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4088, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4090(F, sep, ...) \
Z_UTIL_LISTIFY_4089(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4089, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4091(F, sep, ...) \
Z_UTIL_LISTIFY_4090(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4090, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4092(F, sep, ...) \
Z_UTIL_LISTIFY_4091(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4091, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4093(F, sep, ...) \
Z_UTIL_LISTIFY_4092(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4092, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4094(F, sep, ...) \
Z_UTIL_LISTIFY_4093(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4093, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4095(F, sep, ...) \
Z_UTIL_LISTIFY_4094(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4094, __VA_ARGS__)
#define Z_UTIL_LISTIFY_4096(F, sep, ...) \
Z_UTIL_LISTIFY_4095(F, sep, __VA_ARGS__) __DEBRACKET sep \
F(4095, __VA_ARGS__)
#endif /* ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_ */
``` | /content/code_sandbox/include/zephyr/sys/util_listify.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 177,304 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_INTERNAL_KOBJECT_INTERNAL_H
#define ZEPHYR_INCLUDE_SYS_INTERNAL_KOBJECT_INTERNAL_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @defgroup usermode_internal_apis User Mode Internal APIs
* @ingroup internal_api
* @{
*/
#if defined(CONFIG_USERSPACE) || defined(__DOXYGEN__)
#if defined(CONFIG_GEN_PRIV_STACKS) || defined(__DOXYGEN__)
/* Metadata struct for K_OBJ_THREAD_STACK_ELEMENT */
struct z_stack_data {
/* Size of the entire stack object, including reserved areas */
size_t size;
/* Stack buffer for privilege mode elevations */
uint8_t *priv;
};
#endif /* CONFIG_GEN_PRIV_STACKS */
/* Object extra data. Only some objects use this, determined by object type */
union k_object_data {
/* Backing mutex for K_OBJ_SYS_MUTEX */
struct k_mutex *mutex;
/* Numerical thread ID for K_OBJ_THREAD */
unsigned int thread_id;
#if defined(CONFIG_GEN_PRIV_STACKS) || defined(__DOXYGEN__)
/* Metadata for K_OBJ_THREAD_STACK_ELEMENT */
const struct z_stack_data *stack_data;
#else
/* Stack buffer size for K_OBJ_THREAD_STACK_ELEMENT */
size_t stack_size;
#endif /* CONFIG_GEN_PRIV_STACKS */
/* Futex wait queue and spinlock for K_OBJ_FUTEX */
struct z_futex_data *futex_data;
/* All other objects */
int unused;
};
/**
* @brief Table generated by gperf, these objects are retrieved via
* k_object_find().
*
* @note This is an internal API. Do not use unless you are extending
* functionality in the Zephyr tree.
*/
struct k_object {
void *name;
uint8_t perms[CONFIG_MAX_THREAD_BYTES];
uint8_t type;
uint8_t flags;
union k_object_data data;
} __packed __aligned(4);
struct k_object_assignment {
struct k_thread *thread;
void * const *objects;
};
/**
* Lookup a kernel object and init its metadata if it exists
*
* Calling this on an object will make it usable from userspace.
* Intended to be called as the last statement in kernel object init
* functions.
*
* @param obj Address of the kernel object
*
* @note This is an internal API. Do not use unless you are extending
* functionality in the Zephyr tree.
*/
void k_object_init(const void *obj);
#else
/* LCOV_EXCL_START */
static inline void k_object_init(const void *obj)
{
ARG_UNUSED(obj);
}
/* LCOV_EXCL_STOP */
#endif /* !CONFIG_USERSPACE */
#ifdef CONFIG_DYNAMIC_OBJECTS
/**
* Allocate memory and install as a generic kernel object
*
* This is a low-level function to allocate some memory, and register that
* allocated memory in the kernel object lookup tables with type K_OBJ_ANY.
* Initialization state and thread permissions will be cleared. The
* returned k_object's data value will be uninitialized.
*
* Most users will want to use k_object_alloc() instead.
*
* Memory allocated will be drawn from the calling thread's reasource pool
* and may be freed later by passing the actual object pointer (found
* in the returned k_object's 'name' member) to k_object_free().
*
* @param align Required memory alignment for the allocated object
* @param size Size of the allocated object
* @return NULL on insufficient memory
* @return A pointer to the associated k_object that is installed in the
* kernel object tables
*
* @note This is an internal API. Do not use unless you are extending
* functionality in the Zephyr tree.
*/
struct k_object *k_object_create_dynamic_aligned(size_t align, size_t size);
/**
* Allocate memory and install as a generic kernel object
*
* This is a low-level function to allocate some memory, and register that
* allocated memory in the kernel object lookup tables with type K_OBJ_ANY.
* Initialization state and thread permissions will be cleared. The
* returned k_object's data value will be uninitialized.
*
* Most users will want to use k_object_alloc() instead.
*
* Memory allocated will be drawn from the calling thread's reasource pool
* and may be freed later by passing the actual object pointer (found
* in the returned k_object's 'name' member) to k_object_free().
*
* @param size Size of the allocated object
* @return NULL on insufficient memory
* @return A pointer to the associated k_object that is installed in the
* kernel object tables
*
* @note This is an internal API. Do not use unless you are extending
* functionality in the Zephyr tree.
*/
static inline struct k_object *k_object_create_dynamic(size_t size)
{
return k_object_create_dynamic_aligned(0, size);
}
#else
/* LCOV_EXCL_START */
static inline struct k_object *k_object_create_dynamic_aligned(size_t align,
size_t size)
{
ARG_UNUSED(align);
ARG_UNUSED(size);
return NULL;
}
static inline struct k_object *k_object_create_dynamic(size_t size)
{
ARG_UNUSED(size);
return NULL;
}
/* LCOV_EXCL_STOP */
#endif /* CONFIG_DYNAMIC_OBJECTS */
/** @} */
#ifdef __cplusplus
}
#endif
#endif
``` | /content/code_sandbox/include/zephyr/sys/internal/kobject_internal.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,109 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_INCLUDE_SYS_MUTEX_H_
#define ZEPHYR_INCLUDE_SYS_MUTEX_H_
/*
* sys_mutex behaves almost exactly like k_mutex, with the added advantage
* that a sys_mutex instance can reside in user memory.
*
* Further enhancements will support locking/unlocking uncontended sys_mutexes
* with simple atomic ops instead of syscalls, similar to Linux's
* FUTEX_LOCK_PI and FUTEX_UNLOCK_PI
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifdef CONFIG_USERSPACE
#include <zephyr/sys/atomic.h>
#include <zephyr/types.h>
#include <zephyr/sys_clock.h>
struct sys_mutex {
/* Currently unused, but will be used to store state for fast mutexes
* that can be locked/unlocked with atomic ops if there is no
* contention
*/
atomic_t val;
};
/**
* @defgroup user_mutex_apis User mode mutex APIs
* @ingroup kernel_apis
* @{
*/
/**
* @brief Statically define and initialize a sys_mutex
*
* The mutex can be accessed outside the module where it is defined using:
*
* @code extern struct sys_mutex <name>; @endcode
*
* Route this to memory domains using K_APP_DMEM().
*
* @param name Name of the mutex.
*/
#define SYS_MUTEX_DEFINE(name) \
struct sys_mutex name
/**
* @brief Initialize a mutex.
*
* This routine initializes a mutex object, prior to its first use.
*
* Upon completion, the mutex is available and does not have an owner.
*
* This routine is only necessary to call when userspace is disabled
* and the mutex was not created with SYS_MUTEX_DEFINE().
*
* @param mutex Address of the mutex.
*/
static inline void sys_mutex_init(struct sys_mutex *mutex)
{
ARG_UNUSED(mutex);
/* Nothing to do, kernel-side data structures are initialized at
* boot
*/
}
__syscall int z_sys_mutex_kernel_lock(struct sys_mutex *mutex,
k_timeout_t timeout);
__syscall int z_sys_mutex_kernel_unlock(struct sys_mutex *mutex);
/**
* @brief Lock a mutex.
*
* This routine locks @a mutex. If the mutex is locked by another thread,
* the calling thread waits until the mutex becomes available or until
* a timeout occurs.
*
* A thread is permitted to lock a mutex it has already locked. The operation
* completes immediately and the lock count is increased by 1.
*
* @param mutex Address of the mutex, which may reside in user memory
* @param timeout Waiting period to lock the mutex,
* or one of the special values K_NO_WAIT and K_FOREVER.
*
* @retval 0 Mutex locked.
* @retval -EBUSY Returned without waiting.
* @retval -EAGAIN Waiting period timed out.
* @retval -EACCES Caller has no access to provided mutex address
* @retval -EINVAL Provided mutex not recognized by the kernel
*/
static inline int sys_mutex_lock(struct sys_mutex *mutex, k_timeout_t timeout)
{
/* For now, make the syscall unconditionally */
return z_sys_mutex_kernel_lock(mutex, timeout);
}
/**
* @brief Unlock a mutex.
*
* This routine unlocks @a mutex. The mutex must already be locked by the
* calling thread.
*
* The mutex cannot be claimed by another thread until it has been unlocked by
* the calling thread as many times as it was previously locked by that
* thread.
*
* @param mutex Address of the mutex, which may reside in user memory
* @retval 0 Mutex unlocked
* @retval -EACCES Caller has no access to provided mutex address
* @retval -EINVAL Provided mutex not recognized by the kernel or mutex wasn't
* locked
* @retval -EPERM Caller does not own the mutex
*/
static inline int sys_mutex_unlock(struct sys_mutex *mutex)
{
/* For now, make the syscall unconditionally */
return z_sys_mutex_kernel_unlock(mutex);
}
#include <zephyr/syscalls/mutex.h>
#else
#include <zephyr/kernel.h>
#include <zephyr/kernel_structs.h>
struct sys_mutex {
struct k_mutex kernel_mutex;
};
#define SYS_MUTEX_DEFINE(name) \
struct sys_mutex name = { \
.kernel_mutex = Z_MUTEX_INITIALIZER(name.kernel_mutex) \
}
static inline void sys_mutex_init(struct sys_mutex *mutex)
{
k_mutex_init(&mutex->kernel_mutex);
}
static inline int sys_mutex_lock(struct sys_mutex *mutex, k_timeout_t timeout)
{
return k_mutex_lock(&mutex->kernel_mutex, timeout);
}
static inline int sys_mutex_unlock(struct sys_mutex *mutex)
{
return k_mutex_unlock(&mutex->kernel_mutex);
}
#endif /* CONFIG_USERSPACE */
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_SYS_MUTEX_H_ */
``` | /content/code_sandbox/include/zephyr/sys/mutex.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,012 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.