Home
last modified time | relevance | path

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

/external/selinux/mcstrans/src/
Dmcstransd.c188 uint32_t data2_size; in service_request() local
199 req_hdr[2].iov_base = &data2_size; in service_request()
200 req_hdr[2].iov_len = sizeof(data2_size); in service_request()
207 sizeof(data2_size) )) { in service_request()
210 sizeof(data2_size) )); in service_request()
214 if (!data1_size || !data2_size || data1_size > MAX_DATA_BUF || in service_request()
215 data2_size > MAX_DATA_BUF ) { in service_request()
217 data1_size, data2_size); in service_request()
226 data2 = malloc(data2_size); in service_request()
229 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.c86 uint32_t data2_size; in send_request() local
99 data2_size = strlen(data2) + 1; in send_request()
105 iov[2].iov_base = &data2_size; in send_request()
106 iov[2].iov_len = sizeof(data2_size); in send_request()
110 iov[4].iov_len = data2_size; in send_request()
/external/libchrome/mojo/core/
Dchannel_unittest.cc92 size_t data2_size) { in TestMemoryEqual() argument
93 ASSERT_EQ(data1_size, data2_size); in TestMemoryEqual()