Lines Matching refs:VALID_MODE
24 #define VALID_MODE 0666 macro
48 zassert_not_ok(shm_open(NULL, INVALID_FLAGS, VALID_MODE)); in ZTEST()
50 zassert_not_ok(shm_open(NULL, VALID_FLAGS, VALID_MODE)); in ZTEST()
51 zassert_not_ok(shm_open(INVALID_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
52 zassert_not_ok(shm_open(EMPTY_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
53 zassert_not_ok(shm_open(TOO_SHORT_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST()
55 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, VALID_MODE)); in ZTEST()
60 fd[0] = shm_open(VALID_SHM_PATH, VALID_FLAGS, VALID_MODE); in ZTEST()
62 VALID_MODE, errno); in ZTEST()
77 fd[i] = shm_open(VALID_SHM_PATH, i == 0 ? CREATE_FLAGS : OPEN_FLAGS, VALID_MODE); in ZTEST()
79 VALID_FLAGS, VALID_MODE, errno); in ZTEST()
100 fd = shm_open(VALID_SHM_PATH, VALID_FLAGS, VALID_MODE); in ZTEST()
102 VALID_MODE, errno); in ZTEST()
107 zassert_not_ok(shm_open(VALID_SHM_PATH, OPEN_FLAGS, VALID_MODE)); in ZTEST()
117 fd[i] = shm_open(VALID_SHM_PATH, i == 0 ? CREATE_FLAGS : OPEN_FLAGS, VALID_MODE); in ZTEST()
119 VALID_FLAGS, VALID_MODE, errno); in ZTEST()
161 fd[i] = shm_open(VALID_SHM_PATH, i == 0 ? CREATE_FLAGS : OPEN_FLAGS, VALID_MODE); in ZTEST()
163 VALID_FLAGS, VALID_MODE, errno); in ZTEST()