Home
last modified time | relevance | path

Searched refs:data2_size (Results 1 – 3 of 3) sorted by relevance

/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c199 uint32_t data2_size; in service_request() local
210 req_hdr[2].iov_base = &data2_size; in service_request()
211 req_hdr[2].iov_len = sizeof(data2_size); in service_request()
218 sizeof(data2_size) )) { in service_request()
221 sizeof(data2_size) )); in service_request()
225 if (!data1_size || !data2_size || data1_size > MAX_DATA_BUF || in service_request()
226 data2_size > MAX_DATA_BUF ) { in service_request()
228 data1_size, data2_size); in service_request()
237 data2 = malloc(data2_size); in service_request()
240 log_debug("Could not allocate %d bytes\n", data2_size); in service_request()
[all …]
/external/google-breakpad/src/common/linux/
Dmemory_mapped_file_unittest.cc136 size_t data2_size = sizeof(data2); in TEST_F() local
137 for (size_t i = 0; i < data2_size; ++i) { in TEST_F()
145 ASSERT_TRUE(WriteFile(test_file2.c_str(), data2, data2_size)); in TEST_F()
157 EXPECT_EQ(data2_size, mapped_file.size()); in TEST_F()
158 EXPECT_EQ(0, memcmp(data2, mapped_file.data(), data2_size)); in TEST_F()
171 EXPECT_EQ(data2_size, mapped_file.size()); in TEST_F()
172 EXPECT_EQ(0, memcmp(data2, mapped_file.data(), data2_size)); in TEST_F()
/external/selinux/libselinux/src/
Dsetrans_client.c85 uint32_t data2_size; in send_request() local
98 data2_size = strlen(data2) + 1; in send_request()
104 iov[2].iov_base = &data2_size; in send_request()
105 iov[2].iov_len = sizeof(data2_size); in send_request()
109 iov[4].iov_len = data2_size; in send_request()