Lines Matching full:c_str
77 EXPECT_TRUE(utils::WriteFile(file.value().c_str(), data.data(), data.size()));
79 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), kSize, 10, &in_data));
81 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 0, -1, &in_data));
84 EXPECT_TRUE(utils::ReadFileChunk(file.value().c_str(), 10, 20, &in_data));
97 EXPECT_TRUE(utils::WriteFile(temp_file.c_str(), "", 0));
99 EXPECT_EQ(0, symlink(temp_file.c_str(), temp_symlink.c_str()));
100 EXPECT_FALSE(utils::IsSymlink(temp_dir.c_str()));
101 EXPECT_FALSE(utils::IsSymlink(temp_file.c_str()));
102 EXPECT_TRUE(utils::IsSymlink(temp_symlink.c_str()));
205 img.c_str())));
285 ASSERT_TRUE(utils::WriteFile(file.path().c_str(),
575 int fd = HANDLE_EINTR(open(target_file.c_str(), O_RDONLY));