Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
Dshm_test_002.cpp42 int leftShmIds; in Testcase() local
46 leftShmIds = SHMID_MAX - shmInfo.used_ids; in Testcase()
60 for (i = 0; i < leftShmIds; i++) { in Testcase()
65 shmid[leftShmIds] = shmget(IPC_PRIVATE, PAGE_SIZE, SHM_FLAG | IPC_CREAT); in Testcase()
66 ICUNIT_ASSERT_EQUAL(shmid[leftShmIds], -1, shmid[leftShmIds]); in Testcase()
68 for (i = 0; i < leftShmIds; i++) { in Testcase()
73 for (i = 0; i < leftShmIds; i++) { in Testcase()