Searched refs:num_buffers (Results 1 – 6 of 6) sorted by relevance
/system/core/libcutils/ |
D | sockets_windows.cpp | 64 size_t num_buffers) { in socket_send_buffers() argument 65 if (num_buffers > SOCKET_SEND_BUFFERS_MAX_BUFFERS) { in socket_send_buffers() 70 for (size_t i = 0; i < num_buffers; ++i) { in socket_send_buffers() 80 if (WSASend(sock, wsa_buffers, num_buffers, &bytes_sent, 0, nullptr, in socket_send_buffers()
|
D | sockets_unix.cpp | 79 size_t num_buffers) { in socket_send_buffers() argument 80 if (num_buffers > SOCKET_SEND_BUFFERS_MAX_BUFFERS) { in socket_send_buffers() 85 for (size_t i = 0; i < num_buffers; ++i) { in socket_send_buffers() 93 return writev(sock, iovec_buffers, num_buffers); in socket_send_buffers()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 173 uint8_t *getColdBuffer(int num_buffers, size_t incr, int alignment, int or_mask) { in getColdBuffer() argument 174 uint8_t *buffers = reinterpret_cast<uint8_t*>(malloc(num_buffers * incr + 3 * alignment)); in getColdBuffer() 181 …nline double computeColdAverage(uint64_t time_ns, size_t size, size_t copies, size_t num_buffers) { in computeColdAverage() argument 182 return ((size/1024.0) * copies * num_buffers) / ((double)time_ns/NS_PER_SEC); in computeColdAverage() 185 …r(uint64_t time_ns, const char *name, size_t size, size_t copies, size_t num_buffers, double avg) { in printColdIter() argument 187 name, copies, num_buffers, size, (double)time_ns/NS_PER_SEC, avg/1024.0); in printColdIter() 191 uint64_t /*time_ns*/, const char *name, size_t size, size_t copies, size_t num_buffers, in printColdSummary() argument 194 name, copies, num_buffers, size, running_avg/1024.0, in printColdSummary() 242 size_t num_strides = num_buffers / (num_incrs); \ 243 if ((num_buffers % (num_incrs)) != 0) { \ [all …]
|
/system/core/libcutils/include/cutils/ |
D | sockets.h | 144 size_t num_buffers);
|
/system/core/libcutils/include_vndk/cutils/ |
D | sockets.h | 144 size_t num_buffers);
|
/system/core/fastboot/ |
D | socket_test.cpp | 245 size_t num_buffers) -> ssize_t { in TEST() argument 246 EXPECT_TRUE(num_buffers > 0); in TEST() 268 EXPECT_EQ(data.size() - data_index, num_buffers); in TEST()
|