Lines Matching refs:open
25 * @tc.desc : Verify file open mode is O_RDONLY
32 int fd = open(path, O_RDONLY + O_CREAT, TEST_MODE);
45 * @tc.desc : Verify file open mode is O_RDONLY (file does not exist)
50 int fd = open(path, O_RDONLY);
56 * @tc.desc : Verify file open mode is O_WRONLY
63 int fd = open(path, O_WRONLY + O_CREAT, TEST_MODE);
75 * @tc.desc : Verify file open mode is O_WRONLY(file does not exist)
80 int fd = open(path, O_WRONLY);
86 * @tc.desc : Verify file open mode is O_RDWR | O_APPEND
93 int fd = open(path, O_RDWR | O_APPEND + O_CREAT, TEST_MODE);
105 * @tc.desc : Verify file open mode is O_RDWR | O_APPEND(file does not exist)
112 int fd = open(path, O_RDWR | O_APPEND);
123 * @tc.desc : Verify file open mode is O_RDWR | O_APPEND(file pathname is invalid)
128 int fd = open(path, O_RDWR | O_APPEND);
134 * @tc.desc : Verify file open mode is O_RDWR | O_CREAT
141 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE);
153 * @tc.desc : Verify file open mode is O_RDWR | O_CLOEXEC
160 int fd = open(path, O_RDWR | O_CLOEXEC + O_CREAT, TEST_MODE);