Home
last modified time | relevance | path

Searched refs:INDEX_MAX (Results 1 - 16 of 16) sorted by relevance

/kernel/liteos_m/testsuites/sample/kernel/lms/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A DIt_los_lms.h46 #define INDEX_MAX 20 macro
/kernel/linux/common_modules/newip/examples/
H A Dnip_lib.c55 for (i = 0; i < INDEX_MAX; i++) { in nip_addr_fmt()
114 __u8 addr_str[INDEX_MAX] = {0}; in nip_get_addr()
127 if (!len || len >= (INDEX_MAX - 1)) in nip_get_addr()
H A Dnip.h105 INDEX_MAX, enumerator
/kernel/linux/common_modules/newip/src/common/
H A Dnip_addr.h106 INDEX_MAX, enumerator
/kernel/linux/linux-5.10/drivers/edac/
H A Dskx_common.h93 INDEX_MAX enumerator
H A Dskx_common.c55 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()
/kernel/linux/linux-6.6/drivers/edac/
H A Dskx_common.h147 INDEX_MAX enumerator
H A Dskx_common.c62 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()

Completed in 6 milliseconds