Searched refs:INDEX_MAX (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-mini-memory-lms.md | 113 #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 D | kernel-small-memory-lms.md | 118 #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 D | kernel-mini-memory-lms.md | 117 #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 D | kernel-small-memory-lms.md | 118 #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 D | he_vibrator_decoder.cpp | 30 constexpr int32_t INDEX_MAX = 2; variable 268 if (event.index < INDEX_MIN || event.index > INDEX_MAX) { in CheckCommonParameters()
|