Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 33) sorted by relevance

12

/system/core/fastboot/
Dsocket.cpp115 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
141 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
143 for (const auto& buffer : buffers) { in Send()
148 sock_, buffers.data(), buffers.size())) == static_cast<ssize_t>(total_length); in Send()
173 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
196 bool TcpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
197 while (!buffers.empty()) { in Send()
199 socket_send_buffers_function_(sock_, buffers.data(), buffers.size())); in Send()
206 auto iter = buffers.begin(); in Send()
221 if (iter == buffers.end()) { in Send()
[all …]
Dsocket_test.cpp177 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
184 sock->socket_send_buffers_function_ = [&buffers, &mock_return_value]( in TEST()
187 EXPECT_EQ(buffers.size(), num_sent_buffers); in TEST()
189 EXPECT_EQ(buffers[i].data, sent_buffers[i].data); in TEST()
190 EXPECT_EQ(buffers[i].length, sent_buffers[i].length); in TEST()
196 EXPECT_TRUE(sock->Send(buffers)); in TEST()
199 EXPECT_FALSE(sock->Send(buffers)); in TEST()
202 EXPECT_FALSE(sock->Send(buffers)); in TEST()
205 EXPECT_FALSE(sock->Send(buffers)); in TEST()
214 std::vector<cutils_socket_buffer_t> buffers{{data[0].data(), data[0].length()}, in TEST() local
[all …]
Dsocket_mock.cpp65 bool SocketMock::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send() argument
67 for (const auto& buffer : buffers) { in Send()
Dsocket_mock.h60 bool Send(std::vector<cutils_socket_buffer_t> buffers) override;
Dsocket.h81 virtual bool Send(std::vector<cutils_socket_buffer_t> buffers) = 0;
/system/core/libcutils/
Dsockets_windows.cpp63 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
75 reinterpret_cast<char*>(const_cast<void*>(buffers[i].data)); in socket_send_buffers()
76 wsa_buffers[i].len = buffers[i].length; in socket_send_buffers()
Dsockets_unix.cpp78 const cutils_socket_buffer_t* buffers, in socket_send_buffers() argument
89 iovec_buffers[i].iov_base = const_cast<void*>(buffers[i].data); in socket_send_buffers()
90 iovec_buffers[i].iov_len = buffers[i].length; in socket_send_buffers()
/system/core/libpixelflinger/
Dclear.cpp108 if (c->state.buffers.color.format == 0) in ggl_clear()
111 if (c->state.buffers.depth.format == 0) in ggl_clear()
114 if (c->state.buffers.stencil.format == 0) in ggl_clear()
122 c->state.buffers.color.format, in ggl_clear()
131 memset2d(c, c->state.buffers.color, packed, l, t, w, h); in ggl_clear()
140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h); in ggl_clear()
Dpixelflinger.cpp112 if (surface->format != c->state.buffers.color.format) in ggl_colorBuffer()
115 if (surface->width > c->state.buffers.coverageBufferSize) { in ggl_colorBuffer()
117 free(c->state.buffers.coverage); in ggl_colorBuffer()
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2); in ggl_colorBuffer()
119 c->state.buffers.coverageBufferSize = in ggl_colorBuffer()
120 c->state.buffers.coverage ? surface->width : 0; in ggl_colorBuffer()
122 ggl_set_surface(c, &(c->state.buffers.color), surface); in ggl_colorBuffer()
123 if (c->state.buffers.read.format == 0) { in ggl_colorBuffer()
124 ggl_set_surface(c, &(c->state.buffers.read), surface); in ggl_colorBuffer()
132 ggl_set_surface(c, &(c->state.buffers.read), surface); in ggl_readBuffer()
[all …]
Dpicker.cpp44 new_needs.n |= GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
50 uint32_t n = GGL_BUILD_NEEDS(c->state.buffers.color.format, CB_FORMAT); in ggl_pick()
57 const GGLFormat& cbf = c->formats[ c->state.buffers.color.format ]; in ggl_pick()
Dscanline.cpp317 if (c->state.buffers.coverage) in ggl_uninit_scanline()
318 free(c->state.buffers.coverage); in ggl_uninit_scanline()
650 const int16_t* covPtr = c->state.buffers.coverage + xs; in scanline()
874 if (c->state.buffers.depth.format) { in scanline()
876 surface_t* cb = &(c->state.buffers.depth); in scanline()
920 c->state.buffers.color.read( in scanline()
921 &(c->state.buffers.color), c, x, y, &fb); in scanline()
926 c->state.buffers.color.write( in scanline()
927 &(c->state.buffers.color), c, x, y, &fragment); in scanline()
1436 const surface_t* cb = &(c->state.buffers.color); in dst_iterator16()
[all …]
Draster.cpp59 surface_t* cb = &(c->state.buffers.color); in ggl_copyPixels()
156 const GGLSurface& cbSurface = c->state.buffers.color.s; in gglBitBlit()
Dtrap.cpp236 int16_t* covPtr = c->state.buffers.coverage; in aa_nice_pointx()
301 int16_t* covPtr = c->state.buffers.coverage; in aa_pointx()
456 surface_t* cb = &(c->state.buffers.color); in scanline_set()
982 int16_t* const covPtr = c->state.buffers.coverage; in aapolyx()
Dbuffer.cpp102 surface_t& s = c->state.buffers.color; in ggl_pick_cb()
/system/sepolicy/private/
Dmediadrmserver.te5 # allocate and use graphic buffers
Dmediaserver.te5 # allocate and use graphic buffers
/system/core/libcutils/include/cutils/
Dsockets.h143 const cutils_socket_buffer_t* buffers,
/system/core/libcutils/include_vndk/cutils/
Dsockets.h143 const cutils_socket_buffer_t* buffers,
/system/sepolicy/public/
Dvr_hwc.te17 # Window Manager to receive the layers/buffers.
Dmediacodec.te40 # allocate and use graphic buffers
/system/core/logd/
DREADME.property18 logd.logpersistd.buffer persist logpersistd buffers to collect
22 persist.logd.logpersistd.buffer all logpersistd buffers to collect
/system/core/libziparchive/
DAndroid.bp19 // ZLIB_CONST turns on const for input buffers, which is pretty standard.
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.cpp395 CONTEXT_LOAD(Rs, state.buffers.color.stride); in build_scanline_prolog()
396 CONTEXT_ADDR_LOAD(parts.cbPtr.reg, state.buffers.color.data); in build_scanline_prolog()
431 CONTEXT_LOAD(Rs, state.buffers.depth.stride); in build_scanline_prolog()
432 CONTEXT_ADDR_LOAD(zbase, state.buffers.depth.data); in build_scanline_prolog()
449 CONTEXT_ADDR_LOAD(parts.covPtr.reg, state.buffers.coverage); in build_scanline_prolog()
/system/extras/micro_bench/
Dmicro_bench.cpp174 uint8_t *buffers = reinterpret_cast<uint8_t*>(malloc(num_buffers * incr + 3 * alignment)); in getColdBuffer() local
175 if (!buffers) { in getColdBuffer()
178 return getAlignedMemory(buffers, alignment, or_mask); in getColdBuffer()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h510 framebuffer_t buffers;

12