Searched refs:INDEX_MAX (Results 1 – 11 of 11) sorted by relevance
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
D | It_los_lms_021.c | 37 CHAR src[INDEX_MAX + 1] = {0}; in TestCase() 38 CHAR *p = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX); in TestCase() 41 memcpy_s(p, INDEX_MAX, src, INDEX_MAX + 1); in TestCase() 43 (void)memcpy_s(p, INDEX_MAX + 1, 0, INDEX_MAX + 1); /* trigger overflow */ in TestCase()
|
D | It_los_lms_022.c | 37 CHAR *p = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX); in TestCase() 40 memmove_s(p, INDEX_MAX, 0, INDEX_MAX + 1); in TestCase() 42 memmove_s(p, INDEX_MAX + 1, 0, INDEX_MAX + 1); /* trigger overflow */ in TestCase()
|
D | It_los_lms_020.c | 37 CHAR *p = (CHAR *)LOS_MemAlloc(g_testLmsPool, INDEX_MAX); in TestCase() 39 (void)memset_s(p, INDEX_MAX, 0, INDEX_MAX + 1); in TestCase() 41 (void)memset_s(p, INDEX_MAX + 1, 0, INDEX_MAX + 1); /* trigger overflow */ in TestCase()
|
D | It_los_lms_013.c | 38 char str2[INDEX_MAX + 1] = "1234567890abcdefghij"; in TestCase() 39 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase() 40 memcpy(str, str2, INDEX_MAX + 1); in TestCase() 41 for (i = 0; i < INDEX_MAX + 1; i++) { in TestCase()
|
D | It_los_lms_014.c | 38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase() 39 memset(str, 0xca, INDEX_MAX + 1); in TestCase() 40 for (i = 0; i < INDEX_MAX + 1; i++) { in TestCase()
|
D | It_los_lms_001.c | 38 char *str = (char*)LOS_MemAlloc(g_testLmsPool, INDEX_MAX); in TestCase() 39 for (i = 0; i < INDEX_MAX + 1; i++) { in TestCase()
|
D | It_los_lms_011.c | 38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase() 39 for (i = 0; i < INDEX_MAX; i++) { in TestCase()
|
D | It_los_lms_012.c | 38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase() 39 for (i = 0; i < INDEX_MAX; i++) { in TestCase()
|
D | It_los_lms.h | 46 #define INDEX_MAX 20 macro
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | skx_common.h | 93 INDEX_MAX enumerator
|
D | skx_common.c | 55 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()
|