Home
last modified time | relevance | path

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

/kernel/liteos_m/testsuites/sample/kernel/lms/
DIt_los_lms_021.c37 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()
DIt_los_lms_022.c37 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()
DIt_los_lms_020.c37 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()
DIt_los_lms_013.c38 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()
DIt_los_lms_014.c38 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()
DIt_los_lms_001.c38 char *str = (char*)LOS_MemAlloc(g_testLmsPool, INDEX_MAX); in TestCase()
39 for (i = 0; i < INDEX_MAX + 1; i++) { in TestCase()
DIt_los_lms_011.c38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase()
39 for (i = 0; i < INDEX_MAX; i++) { in TestCase()
DIt_los_lms_012.c38 char *str = (char*)LOS_MemAlloc(m_aucSysMem0, INDEX_MAX); in TestCase()
39 for (i = 0; i < INDEX_MAX; i++) { in TestCase()
DIt_los_lms.h46 #define INDEX_MAX 20 macro
/kernel/linux/linux-5.10/drivers/edac/
Dskx_common.h93 INDEX_MAX enumerator
Dskx_common.c55 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()