Searched refs:data1_size (Results 1 – 3 of 3) 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/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 216 uint32_t data1_size; in service_request() local 226 req_hdr[1].iov_base = &data1_size; in service_request() 227 req_hdr[1].iov_len = sizeof(data1_size); in service_request() 235 if (count != (sizeof(function) + sizeof(data1_size) + in service_request() 238 (unsigned)(sizeof(function) + sizeof(data1_size) + in service_request() 243 if (!data1_size || !data2_size || data1_size > MAX_DATA_BUF || in service_request() 246 data1_size, data2_size); in service_request() 250 data1 = malloc(data1_size); in service_request() 252 log_debug("Could not allocate %d bytes\n", data1_size); in service_request() 263 req_data[0].iov_len = data1_size; in service_request() [all …]
|
/external/selinux/libselinux/src/ |
D | setrans_client.c | 84 uint32_t data1_size; in send_request() local 97 data1_size = strlen(data1) + 1; in send_request() 102 iov[1].iov_base = &data1_size; in send_request() 103 iov[1].iov_len = sizeof(data1_size); in send_request() 107 iov[3].iov_len = data1_size; in send_request()
|