Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 25 of 48) 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.h48 SocketStream(int sock, size_t bufSize);
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp33 QemuPipeStream::QemuPipeStream(size_t bufSize) : in QemuPipeStream() argument
34 IOStream(bufSize), in QemuPipeStream()
36 m_bufsize(bufSize), in QemuPipeStream()
43 QemuPipeStream::QemuPipeStream(QEMU_PIPE_HANDLE sock, size_t bufSize) : in QemuPipeStream() argument
44 IOStream(bufSize), in QemuPipeStream()
46 m_bufsize(bufSize), in QemuPipeStream()
DQemuPipeStreamFuchsia.cpp37 QemuPipeStream::QemuPipeStream(size_t bufSize) : in QemuPipeStream() argument
38 IOStream(bufSize), in QemuPipeStream()
40 m_bufsize(bufSize), in QemuPipeStream()
47 QemuPipeStream::QemuPipeStream(QEMU_PIPE_HANDLE sock, size_t bufSize) : in QemuPipeStream() argument
48 IOStream(bufSize), in QemuPipeStream()
50 m_bufsize(bufSize), in QemuPipeStream()
DAddressSpaceStream.h26 AddressSpaceStream* createAddressSpaceStream(size_t bufSize);
27 AddressSpaceStream* createVirtioGpuAddressSpaceStream(size_t bufSize);
DVirtioGpuPipeStream.cpp42 VirtioGpuPipeStream::VirtioGpuPipeStream(size_t bufSize) : in VirtioGpuPipeStream() argument
43 IOStream(bufSize), in VirtioGpuPipeStream()
48 m_bufsize(bufSize), in VirtioGpuPipeStream()
DQemuPipeStream.h69 QemuPipeStream(QEMU_PIPE_HANDLE sock, size_t bufSize);
DVirtioGpuPipeStream.h75 VirtioGpuPipeStream(int sock, size_t bufSize);
DVirtioGpuStream.h39 explicit VirtioGpuStream(size_t bufSize);
/device/generic/opengl-transport/host/libs/virglrenderer/
DContext.h86 void submitCommand(void* buf, size_t bufSize) { in submitCommand()
87 char* cmdBufCopy = new char[bufSize]; in submitCommand()
88 memcpy(cmdBufCopy, buf, bufSize); in submitCommand()
91 cmdBufSize = bufSize; in submitCommand()
DAVDVirglRenderer.cpp498 static void process_cmd(Context* ctx, char* buf, size_t bufSize, int fence) { in process_cmd() argument
507 decodedBytes = ctx->render_control.decode(buf, bufSize, &stream, &ctx->checksum_calc); in process_cmd()
508 bufSize -= decodedBytes; in process_cmd()
511 decodedBytes = ctx->gles1.decode(buf, bufSize, &stream, &ctx->checksum_calc); in process_cmd()
512 bufSize -= decodedBytes; in process_cmd()
515 decodedBytes = ctx->gles3.decode(buf, bufSize, &stream, &ctx->checksum_calc); in process_cmd()
516 bufSize -= decodedBytes; in process_cmd()
520 assert(bufSize == 0); in process_cmd()
548 size_t bufSize = sizeof(uint32_t) * ndw; in virgl_renderer_submit_cmd() local
550 if (bufSize < sizeof(*cmd)) { in virgl_renderer_submit_cmd()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.attrib546 len uniformBlockName bufSize
547 param_check bufSize if(bufSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
675 param_check bufSize if(bufSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
680 len values (bufSize * sizeof(GLint))
684 len params (sizeof(GLint) * bufSize)
714 len name bufSize
715 param_check bufSize if(bufSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
761 param_check bufSize if(bufSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
763 len binary bufSize
835 len infoLog bufSize
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenglRender/
DIOStream.h25 IOStream(unsigned char* buf, size_t bufSize) : m_buf(buf), m_bufSize(bufSize) { in IOStream() argument
/device/generic/goldfish-opengl/host/include/libOpenglRender/
DIOStream.h27 IOStream(size_t bufSize) { in IOStream() argument
29 m_bufsize = bufSize; in IOStream()
/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/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 …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles3_only.entries46 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, …
74 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei…
84 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
104 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, voi…
111 void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLi…
Dgles2_core.entries59 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size,…
60 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size…
70 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
73 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
75 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
Dgles31_only.entries13 …ourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length,…
14 …Interface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length,…
58 void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog…
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl.attrib25 len buffer bufSize
/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 …]
/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