Searched refs:INDEX_MAX (Results 1 - 16 of 16) sorted by relevance
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | It_los_lms.h | 46 #define INDEX_MAX 20
macro
|
/kernel/linux/common_modules/newip/examples/ |
H A D | nip_lib.c | 55 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 D | nip.h | 105 INDEX_MAX, enumerator
|
/kernel/linux/common_modules/newip/src/common/ |
H A D | nip_addr.h | 106 INDEX_MAX, enumerator
|
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | skx_common.h | 93 INDEX_MAX enumerator
|
H A D | skx_common.c | 55 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | skx_common.h | 147 INDEX_MAX enumerator
|
H A D | skx_common.c | 62 for (i = 0; i < INDEX_MAX; i++) { in skx_adxl_get()
|
Completed in 8 milliseconds