Lines Matching refs:write
40 * @tc.name mmap function anonymous private map and read and write permission test
80 * @tc.name mmap function anonymous share map and read and write permission test
130 /* Only read permit and write data to this area cause process crash */
143 * @tc.name mmap function anonymous share map and only write permission test
312 * @tc.name mmap function file private map and read and write permission test
327 int wByte = write(fd, buf, len);
328 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
358 * @tc.name mmap function file share map and read and write permission test
373 int wByte = write(fd, buf, len);
374 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
418 int wByte = write(fd, buf, len);
419 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
428 /* Only read permit and write data to this area cause process crash */
445 * @tc.name mmap function file share map and only write permission test
459 int wByte = write(fd, buf, len);
460 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
505 int wByte = write(fd, fnReturnFive, sizeof(fnReturnFive));
506 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
552 int wByte = write(fd, fnReturnFive, sizeof(fnReturnFive));
553 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
599 int wByte = write(fd, fnReturnFive, sizeof(fnReturnFive));
600 EXPECT_TRUE(wByte > 0) << "ERROR: write() <= 0";
697 * @tc.name mmap function write back to the file test
718 EXPECT_TRUE(write(fd, wBuffer, bufSize) == bufSize) << "ERROR: write() != bufSize";