Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_prctl_test.cpp43 std::string file_data; in TEST() local
44 ASSERT_TRUE(android::base::ReadFileToString("/proc/self/maps", &file_data)); in TEST()
47 std::vector<std::string> lines = android::base::Split(file_data, "\n"); in TEST()
Dstdio_test.cpp2172 char file_data[12288]; in TEST() local
2174 file_data[i] = i; in TEST()
2176 ASSERT_EQ(12288U, fwrite(file_data, 1, 12288, fp)); in TEST()
2186 ASSERT_EQ(memcmp(file_data, buffer, 100), 0); in TEST()
2192 ASSERT_EQ(memcmp(file_data+cur_location, buffer, 8192), 0); in TEST()
2198 ASSERT_EQ(memcmp(file_data+cur_location, buffer, 22), 0); in TEST()