Home
last modified time | relevance | path

Searched refs:INDEX_MAX (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-mini-memory-lms.md113 #define INDEX_MAX 20
128 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
129 …PRINTK("str[%2d]=0x%2x ", INDEX_MAX, str[INDEX_MAX]); /* trigger heap overflow at str[INDEX_MAX] */
136 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
H A Dkernel-small-memory-lms.md118 #define INDEX_MAX 20
133 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
134 …PRINTK("str[%2d]=0x%2x ", INDEX_MAX, str[INDEX_MAX]); /* trigger heap overflow at str[INDEX_MAX] */
141 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-memory-lms.md117 #define INDEX_MAX 20
132 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
133 …PRINTK("str[%2d]=0x%2x ", INDEX_MAX, str[INDEX_MAX]); /* trigger heap overflow at str[INDEX_MAX] */
140 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
H A Dkernel-small-memory-lms.md118 #define INDEX_MAX 20
133 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
134 …PRINTK("str[%2d]=0x%2x ", INDEX_MAX, str[INDEX_MAX]); /* trigger heap overflow at str[INDEX_MAX] */
141 CHAR *str = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX);
/ohos5.0/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/
H A Dhe_vibrator_decoder.cpp30 constexpr int32_t INDEX_MAX = 2; variable
268 if (event.index < INDEX_MIN || event.index > INDEX_MAX) { in CheckCommonParameters()