Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 25 of 41) sorted by relevance

12

/device/google/contexthub/contexthubhal/
Dmessage_buf.h46 MessageBuf(char *buf, size_t bufSize) { in MessageBuf() argument
47 size = bufSize; in MessageBuf()
52 MessageBuf(const char *buf, size_t bufSize) { in MessageBuf() argument
53 size = bufSize; in MessageBuf()
125 const void *readRaw(size_t bufSize) { in readRaw() argument
126 if (pos > (size - bufSize)) { in readRaw()
130 pos += bufSize; in readRaw()
133 void writeRaw(const void *buf, size_t bufSize) { in writeRaw() argument
134 if (pos > (size - bufSize) || readOnly) { in writeRaw()
137 memcpy(&data[pos], buf, bufSize); in writeRaw()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSocketStream.cpp32 SocketStream::SocketStream(size_t bufSize) : in SocketStream() argument
33 IOStream(bufSize), in SocketStream()
35 m_bufsize(bufSize), in SocketStream()
40 SocketStream::SocketStream(int sock, size_t bufSize) : in SocketStream() argument
41 IOStream(bufSize), in SocketStream()
43 m_bufsize(bufSize), in SocketStream()
DTcpStream.cpp63 TcpStream::TcpStream(size_t bufSize) : in TcpStream() argument
64 SocketStream(bufSize) in TcpStream()
68 TcpStream::TcpStream(int sock, size_t bufSize) : in TcpStream() argument
69 SocketStream(sock, bufSize) in TcpStream()
DTcpStream.h29 TcpStream(int sock, size_t bufSize);
DSocketStream.h47 SocketStream(int sock, size_t bufSize);
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp25 QemuPipeStream::QemuPipeStream(size_t bufSize) : in QemuPipeStream() argument
26 IOStream(bufSize), in QemuPipeStream()
28 m_bufsize(bufSize), in QemuPipeStream()
33 QemuPipeStream::QemuPipeStream(int sock, size_t bufSize) : in QemuPipeStream() argument
34 IOStream(bufSize), in QemuPipeStream()
36 m_bufsize(bufSize), in QemuPipeStream()
DQemuPipeStream.h49 QemuPipeStream(int sock, size_t bufSize);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraStream.cpp475 ssize_t bufSize = BAD_INDEX; in unMapBuf() local
480 bufSize = Buf->getSize(i); in unMapBuf()
481 if (BAD_INDEX != bufSize) { in unMapBuf()
521 ssize_t bufSize = BAD_INDEX; in mapBuf() local
526 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
527 if (BAD_INDEX != bufSize) { in mapBuf()
531 Buf->getFd((uint32_t)i), (uint32_t)bufSize); in mapBuf()
534 (uint32_t)bufSize, bufType, ops_tbl->userdata); in mapBuf()
551 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
552 if (BAD_INDEX != bufSize) { in mapBuf()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraStream.cpp475 ssize_t bufSize = BAD_INDEX; in unMapBuf() local
480 bufSize = Buf->getSize(i); in unMapBuf()
481 if (BAD_INDEX != bufSize) { in unMapBuf()
521 ssize_t bufSize = BAD_INDEX; in mapBuf() local
526 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
527 if (BAD_INDEX != bufSize) { in mapBuf()
531 Buf->getFd((uint32_t)i), (uint32_t)bufSize); in mapBuf()
534 (uint32_t)bufSize, bufType, ops_tbl->userdata); in mapBuf()
551 bufSize = Buf->getSize((uint32_t)i); in mapBuf()
552 if (BAD_INDEX != bufSize) { in mapBuf()
[all …]
/device/generic/goldfish-opengl/host/include/libOpenglRender/
DIOStream.h27 IOStream(size_t bufSize) { in IOStream() argument
29 m_bufsize = bufSize; in IOStream()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraStream.cpp579 ssize_t bufSize = BAD_INDEX; in unMapBuf() local
584 bufSize = Buf->getSize(i); in unMapBuf()
585 if (BAD_INDEX != bufSize) { in unMapBuf()
628 ssize_t bufSize = Buf->getSize(i); in mapBufs() local
629 if (BAD_INDEX == bufSize) { in mapBufs()
635 0 /*cookie*/, Buf->getFd(i), bufSize, Buf->getPtr(i)); in mapBufs()
1337 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
1338 if (BAD_INDEX == bufSize) { in getBufs()
1345 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in getBufs()
1505 ssize_t bufSize = mStreamBufs->getSize(index); in mapNewBuffer() local
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp317 ssize_t bufSize = BAD_INDEX; in init() local
355 bufSize = mStreamInfoBuf->getSize(0); in init()
356 if (BAD_INDEX != bufSize) { in init()
359 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize); in init()
632 ssize_t bufSize = mStreamBufs->getSize(index); in bufDone() local
634 if (BAD_INDEX != bufSize) { in bufDone()
637 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, mMemOps->userdata); in bufDone()
752 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
753 if (BAD_INDEX != bufSize) { in getBufs()
755 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, in getBufs()
DQCamera3PostProc.cpp302 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
303 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
354 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
391 ssize_t bufSize = 0; in getJpegEncodeConfig() local
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
434 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
439 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
463 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
464 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
469 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp317 ssize_t bufSize = BAD_INDEX; in init() local
355 bufSize = mStreamInfoBuf->getSize(0); in init()
356 if (BAD_INDEX != bufSize) { in init()
359 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize); in init()
632 ssize_t bufSize = mStreamBufs->getSize(index); in bufDone() local
634 if (BAD_INDEX != bufSize) { in bufDone()
637 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, mMemOps->userdata); in bufDone()
752 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
753 if (BAD_INDEX != bufSize) { in getBufs()
755 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, in getBufs()
DQCamera3PostProc.cpp302 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
303 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
354 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
391 ssize_t bufSize = 0; in getJpegEncodeConfig() local
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
434 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
439 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
463 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
464 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
469 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Stream.cpp378 ssize_t bufSize = BAD_INDEX; in init() local
428 bufSize = mStreamInfoBuf->getSize(0); in init()
429 if (BAD_INDEX != bufSize) { in init()
432 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize, in init()
757 ssize_t bufSize = mStreamBufs->getSize(index); in bufDone() local
759 if (BAD_INDEX != bufSize) { in bufDone()
762 (size_t)bufSize, mStreamBufs->getPtr(index), in bufDone()
926 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
927 if (BAD_INDEX != bufSize) { in getBufs()
929 (size_t)bufSize, mStreamBufs->getPtr(i), in getBufs()
DQCamera3PostProc.cpp336 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
337 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
388 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
424 ssize_t bufSize = 0; in getJpegEncodeConfig() local
466 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
467 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
472 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
496 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
497 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
502 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/device/generic/goldfish-opengl/system/include/GLES2/
Dgl2ext.h125 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum…
129 …RYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length,…
131 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsize…
137 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sourc…
141 GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, G…
143 GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *leng…
253 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei …
256 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length…
486 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, G…
487 …TPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length,…
[all …]
Dgl2.h431 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz…
432 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi…
442 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, …
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_entry.cpp152 …void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat,…
171 …void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupS…
172 …void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* leng…
192 …void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* …
245 …void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsize…
284 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values);
290 void glGetSyncivAEMU(uint64_t sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values);
299 …void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GL…
310 …void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length,…
330 …void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, vo…
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl.attrib25 len buffer bufSize
DrenderControl_entry.cpp13 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer);
82 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) in rcGetConfigs() argument
85 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs()
/device/generic/goldfish-opengl/system/include/GLES3/
Dgl31.h431 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz…
432 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi…
442 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, …
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
867 …TRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length,…
895 …ctiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length,…
905 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *lengt…
925 GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, G…
932 …ernalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
[all …]
Dgl3.h431 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz…
432 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi…
442 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, …
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
867 …TRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length,…
895 …ctiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length,…
905 GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *lengt…
925 GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, G…
932 …ernalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
/device/generic/goldfish-opengl/system/include/GLES/
Dglext.h979 GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *leng…
987 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GL…
1075 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1076 GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, float …
1077 GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint …
1080 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1081 …ENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, float *params);
1082 …ENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1204 GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsize…
1209 …TRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length,…

12