Searched refs:data1_size (Results 1 – 4 of 4) sorted by relevance
/external/google-breakpad/src/common/linux/ |
D | memory_mapped_file_unittest.cc | 130 size_t data1_size = sizeof(data1); in TEST_F() local 131 for (size_t i = 0; i < data1_size; ++i) { in TEST_F() 144 ASSERT_TRUE(WriteFile(test_file1.c_str(), data1, data1_size)); in TEST_F() 151 EXPECT_EQ(data1_size, mapped_file.size()); in TEST_F() 152 EXPECT_EQ(0, memcmp(data1, mapped_file.data(), data1_size)); in TEST_F() 165 EXPECT_EQ(data1_size, mapped_file.size()); in TEST_F() 166 EXPECT_EQ(0, memcmp(data1, mapped_file.data(), data1_size)); in TEST_F() 181 size_t data1_size = sizeof(data1); in TEST_F() local 182 for (size_t i = 0; i < data1_size; ++i) { in TEST_F() 188 ASSERT_TRUE(WriteFile(test_file1.c_str(), data1, data1_size)); in TEST_F() [all …]
|
/external/selinux/mcstrans/src/ |
D | mcstransd.c | 187 uint32_t data1_size; in service_request() local 197 req_hdr[1].iov_base = &data1_size; in service_request() 198 req_hdr[1].iov_len = sizeof(data1_size); in service_request() 206 if (count != (sizeof(function) + sizeof(data1_size) + in service_request() 209 (unsigned)(sizeof(function) + sizeof(data1_size) + in service_request() 214 if (!data1_size || !data2_size || data1_size > MAX_DATA_BUF || in service_request() 217 data1_size, data2_size); in service_request() 221 data1 = malloc(data1_size); in service_request() 223 log_debug("Could not allocate %d bytes\n", data1_size); in service_request() 234 req_data[0].iov_len = data1_size; in service_request() [all …]
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 85 uint32_t data1_size; in send_request() local 98 data1_size = strlen(data1) + 1; in send_request() 103 iov[1].iov_base = &data1_size; in send_request() 104 iov[1].iov_len = sizeof(data1_size); in send_request() 108 iov[3].iov_len = data1_size; in send_request()
|
/external/libchrome/mojo/core/ |
D | channel_unittest.cc | 90 size_t data1_size, in TestMemoryEqual() argument 93 ASSERT_EQ(data1_size, data2_size); in TestMemoryEqual() 96 for (size_t i = 0; i < data1_size; i++) { in TestMemoryEqual()
|