Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 266) sorted by relevance

1234567891011

/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.h183 static GLenum s_glGetError(void * self);
186 static void s_glFlush(void * self);
189 static void s_glPixelStorei(void *self, GLenum param, GLint value);
192 static const GLubyte * s_glGetString(void *self, GLenum name);
195 static void s_glBindBuffer(void *self, GLenum target, GLuint id);
199 …static void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum…
201 …static void s_glBufferSubData(void *self, GLenum target, GLintptr offset, GLsizeiptr size, const G…
204 static void s_glGenBuffers(void *self, GLsizei n, GLuint * buffers);
207 static void s_glDeleteBuffers(void *self, GLsizei n, const GLuint * buffers);
210 static void s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count);
[all …]
DGL2Encoder.cpp385 GLenum GL2Encoder::s_glGetError(void * self) in s_glGetError() argument
387 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError()
398 return ctx->m_glGetError_enc(self); in s_glGetError()
502 void GL2Encoder::s_glFlush(void *self) in s_glFlush() argument
504 GL2Encoder *ctx = (GL2Encoder *) self; in s_glFlush()
505 ctx->m_glFlush_enc(self); in s_glFlush()
509 const GLubyte *GL2Encoder::s_glGetString(void *self, GLenum name) in s_glGetString() argument
511 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetString()
538 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei() argument
540 GL2Encoder *ctx = (GL2Encoder *)self; in s_glPixelStorei()
[all …]
DGL2EncoderUtils.cpp25 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
27 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize()
32 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLe… in pixelDataSize3D() argument
34 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize3D()
39 GLenum uniformType(void * self, GLuint program, GLint location) in uniformType() argument
41 GL2Encoder * ctx = (GL2Encoder *) self; in uniformType()
46 size_t clearBufferNumElts(void* self, GLenum buffer) { in clearBufferNumElts() argument
47 GL2Encoder *ctx = (GL2Encoder *)self; in clearBufferNumElts()
52 size_t numActiveUniformsInUniformBlock(void* self, GLuint program, GLuint blockIndex) { in numActiveUniformsInUniformBlock() argument
53 GL2Encoder *ctx = (GL2Encoder *)self; in numActiveUniformsInUniformBlock()
[all …]
DGL2EncoderUtils.h21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac…
22 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLe…
23 GLenum uniformType(void * self, GLuint program, GLint location);
24 size_t clearBufferNumElts(void* self, GLenum buffer);
25 size_t numActiveUniformsInUniformBlock(void* self, GLuint program, GLuint blockIndex);
26 size_t glActiveUniformBlockivParamSize(void* self, GLuint program, GLuint blockIndex, GLenum pname);
Dgl2_enc.cpp22 void glActiveTexture_enc(void *self , GLenum texture) in glActiveTexture_enc() argument
25 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glActiveTexture_enc()
47 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument
50 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glAttachShader_enc()
73 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name) in glBindAttribLocation_enc() argument
76 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindAttribLocation_enc()
102 void glBindBuffer_enc(void *self , GLenum target, GLuint buffer) in glBindBuffer_enc() argument
105 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindBuffer_enc()
128 void glBindFramebuffer_enc(void *self , GLenum target, GLuint framebuffer) in glBindFramebuffer_enc() argument
131 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindFramebuffer_enc()
[all …]
/device/linaro/dragonboard/qcom/qrtr/
Dqrtr.py14 def __init__(self, port=0): argument
15 self.sock = _qrtr.qrtr_open(port)
16 if self.sock < 0:
18 self.service = None
19 self._qrtr = _qrtr
21 def __del__(self): argument
22 self._qrtr.qrtr_close(self.sock)
24 def _lookup_list_add(self, ptr, srv, instance, node, port): argument
28 def lookup(self, srv, instance=0, ifilter=0): argument
30 err = _qrtr.qrtr_lookup(self.sock, srv, instance, ifilter,
[all …]
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.h115 static GLenum s_glGetError(void * self);
116 static void s_glGetIntegerv(void *self, GLenum pname, GLint *ptr);
117 static void s_glGetBooleanv(void *self, GLenum pname, GLboolean *ptr);
118 static void s_glGetFloatv(void *self, GLenum pname, GLfloat *ptr);
119 static void s_glGetFixedv(void *self, GLenum pname, GLfixed *ptr);
120 static void s_glGetPointerv(void *self, GLenum pname, GLvoid **params);
122 static void s_glFlush(void * self);
123 static const GLubyte * s_glGetString(void *self, GLenum name);
124 …static void s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
125 static void s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data);
[all …]
DGLEncoder.cpp44 GLenum GLEncoder::s_glGetError(void * self) in s_glGetError() argument
46 GLEncoder *ctx = (GLEncoder *)self; in s_glGetError()
53 return ctx->m_glGetError_enc(self); in s_glGetError()
71 void GLEncoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
73 GLEncoder *ctx = (GLEncoder *)self; in s_glGetIntegerv()
89 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
108 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
114 void GLEncoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
116 GLEncoder *ctx = (GLEncoder *)self; in s_glGetFloatv()
133 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
[all …]
Dgl_enc.cpp22 void glAlphaFunc_enc(void *self , GLenum func, GLclampf ref) in glAlphaFunc_enc() argument
25 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glAlphaFunc_enc()
48 void glClearColor_enc(void *self , GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) in glClearColor_enc() argument
51 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearColor_enc()
76 void glClearDepthf_enc(void *self , GLclampf depth) in glClearDepthf_enc() argument
79 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearDepthf_enc()
101 void glClipPlanef_enc(void *self , GLenum plane, const GLfloat* equation) in glClipPlanef_enc() argument
104 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClipPlanef_enc()
129 void glColor4f_enc(void *self , GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f_enc() argument
132 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glColor4f_enc()
[all …]
/device/generic/goldfish/sepolicy/common/
Dnetmgr.te18 allow netmgr self:capability { net_raw net_admin };
19 allow netmgr self:socket { create };
20 allow netmgr self:unix_dgram_socket ioctl;
21 allow netmgr self:packet_socket { ioctl getopt map };
22 allow netmgr self:udp_socket { ioctl };
24 allowxperm netmgr self:unix_dgram_socket ioctl { SIOCETHTOOL };
25 allowxperm netmgr self:udp_socket ioctl { SIOCSIFFLAGS
29 allowxperm netmgr self:packet_socket ioctl { SIOCGIFINDEX SIOCGIFHWADDR };
33 allow netmgr self:netlink_route_socket nlmsg_write;
35 allow netmgr self:packet_socket { bind create read setopt write };
[all …]
Ddhcprelay.te13 allow dhcprelay self:capability { net_admin net_bind_service net_raw };
14 allow dhcprelay self:udp_socket create;
15 allow dhcprelay self:netlink_route_socket { write nlmsg_write };
17 allow dhcprelay self:packet_socket { create bind write read };
18 allowxperm dhcprelay self:udp_socket ioctl { SIOCSIFFLAGS
Dhostapd_nohidl.te13 allow hostapd_nohidl self:capability { net_admin net_raw setgid setuid };
14 allow hostapd_nohidl self:netlink_generic_socket { bind create getattr read setopt write };
15 allow hostapd_nohidl self:netlink_route_socket nlmsg_write;
16 allow hostapd_nohidl self:packet_socket { create setopt read write };
17 allowxperm hostapd_nohidl self:udp_socket ioctl priv_sock_ioctls;
Dgoldfish_setup.te9 allow goldfish_setup self:capability { fowner chown net_admin net_raw };
10 allow goldfish_setup self:udp_socket { create ioctl };
13 allowxperm goldfish_setup self:udp_socket ioctl priv_sock_ioctls;
25 allow goldfish_setup self:netlink_route_socket { create nlmsg_write setopt bind getattr read write …
26 allow goldfish_setup self:netlink_generic_socket create_socket_perms_no_ioctl;
27 allow goldfish_setup self:capability { sys_module sys_admin };
45 allow goldfish_setup self:rawip_socket { create getopt setopt };
54 dontaudit goldfish_setup self:capability dac_override;
/device/google/bonito-sepolicy/vendor/qcom/common/
Dnetmgrd.te11 allow netmgrd self:netlink_xfrm_socket { create_socket_perms_no_ioctl nlmsg_write };
12 allow netmgrd self:netlink_generic_socket create_socket_perms_no_ioctl;
13 allow netmgrd self:netlink_route_socket nlmsg_write;
14 allow netmgrd self:netlink_socket create_socket_perms_no_ioctl;
15 allow netmgrd self:socket create_socket_perms;
16 allowxperm netmgrd self:socket ioctl msm_sock_ipc_ioctls;
17 allowxperm netmgrd self:udp_socket ioctl priv_sock_ioctls;
53 allow netmgrd self:capability { net_admin net_raw setgid setpcap setuid };
64 dontaudit netmgrd self:system module_request;
65 dontaudit netmgrd self:capability sys_module;
Dlocation.te10 allow location self:capability { net_admin };
11 auditallow location self:capability { net_admin };
13 allow location self:capability { setgid setuid };
25 allow location self:netlink_generic_socket create_socket_perms_no_ioctl;
26 allow location self:netlink_socket create_socket_perms_no_ioctl;
27 allowxperm location self:udp_socket ioctl { SIOCGIFINDEX SIOCGIFHWADDR SIOCIWFIRSTPRIV_05 };
29 allow location self:socket create_socket_perms;
30 allowxperm location self:socket ioctl msm_sock_ipc_ioctls;
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dnetmgrd.te11 allow netmgrd self:netlink_xfrm_socket { create_socket_perms_no_ioctl nlmsg_write };
12 allow netmgrd self:netlink_generic_socket create_socket_perms_no_ioctl;
13 allow netmgrd self:netlink_route_socket nlmsg_write;
14 allow netmgrd self:netlink_socket create_socket_perms_no_ioctl;
15 allow netmgrd self:socket create_socket_perms;
16 allowxperm netmgrd self:socket ioctl msm_sock_ipc_ioctls;
17 allowxperm netmgrd self:udp_socket ioctl priv_sock_ioctls;
53 allow netmgrd self:capability { net_admin net_raw setgid setpcap setuid };
64 dontaudit netmgrd self:system module_request;
65 dontaudit netmgrd self:capability sys_module;
Dlocation.te10 allow location self:capability { net_admin };
11 auditallow location self:capability { net_admin };
13 allow location self:capability { setgid setuid };
25 allow location self:netlink_generic_socket create_socket_perms_no_ioctl;
26 allow location self:netlink_socket create_socket_perms_no_ioctl;
27 allowxperm location self:udp_socket ioctl { SIOCGIFINDEX SIOCGIFHWADDR SIOCIWFIRSTPRIV_05 };
29 allow location self:socket create_socket_perms;
30 allowxperm location self:socket ioctl msm_sock_ipc_ioctls;
/device/google/wahoo/sepolicy/vendor/
Dlocation.te10 allow location self:capability { net_admin };
11 auditallow location self:capability { net_admin };
13 allow location self:capability { setgid setuid };
25 allow location self:netlink_generic_socket create_socket_perms_no_ioctl;
26 allow location self:netlink_socket create_socket_perms_no_ioctl;
27 allowxperm location self:udp_socket ioctl { SIOCGIFINDEX SIOCGIFHWADDR SIOCIWFIRSTPRIV_05 };
29 allow location self:socket create_socket_perms;
30 allowxperm location self:socket ioctl msm_sock_ipc_ioctls;
Dnetmgrd.te12 allow netmgrd self:netlink_xfrm_socket { create_socket_perms_no_ioctl nlmsg_write };
13 allow netmgrd self:netlink_generic_socket create_socket_perms_no_ioctl;
14 allow netmgrd self:netlink_route_socket nlmsg_write;
15 allow netmgrd self:netlink_socket create_socket_perms_no_ioctl;
16 allow netmgrd self:socket create_socket_perms;
17 allowxperm netmgrd self:socket ioctl msm_sock_ipc_ioctls;
18 allowxperm netmgrd self:udp_socket ioctl priv_sock_ioctls;
50 allow netmgrd self:capability { net_admin net_raw setgid setpcap setuid };
61 dontaudit netmgrd self:system module_request;
Dcnd.te8 allow cnd self:capability { net_bind_service };
11 allow cnd self:udp_socket create_socket_perms;
12 allowxperm cnd self:udp_socket ioctl SIOCGIFMTU;
23 allow cnd self:socket create_socket_perms;
24 allowxperm cnd self:socket ioctl msm_sock_ipc_ioctls;
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidThread_pthread.cpp129 Thread* self = reinterpret_cast<Thread*>(arg); in thread_main() local
130 if ((self->mFlags & ThreadFlags::MaskSignals) != ThreadFlags::NoFlags) { in thread_main()
134 if ((self->mFlags & ThreadFlags::Detach) != ThreadFlags::NoFlags) { in thread_main()
141 ret = self->main(); in thread_main()
144 AutoLock lock(self->mLock); in thread_main()
145 self->mFinished = true; in thread_main()
146 self->mExitStatus = ret; in thread_main()
149 self->onExit(); in thread_main()
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py37 def __init__(self, func_name, return_type, parameters): argument
42 self.func_name = func_name
43 self.return_type = return_type
44 self.parameters = ""
45 self.vartypes = []
46 self.varnames = []
47 self.call = ""
50 self.vartypes.append(param[0])
51 self.varnames.append(param[1])
52 self.parameters += "%s%s %s" % (comma, param[0], param[1])
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp22 GLint rcGetRendererVersion_enc(void *self ) in rcGetRendererVersion_enc() argument
25 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetRendererVersion_enc()
61 EGLint rcGetEGLVersion_enc(void *self , EGLint* major, EGLint* minor) in rcGetEGLVersion_enc() argument
64 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetEGLVersion_enc()
108 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString_enc() argument
111 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcQueryEGLString_enc()
153 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString_enc() argument
156 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetGLString_enc()
198 EGLint rcGetNumConfigs_enc(void *self , uint32_t* numAttribs) in rcGetNumConfigs_enc() argument
201 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetNumConfigs_enc()
[all …]
/device/linaro/dragonboard/sepolicy/
Dqrtr.te5 allow qrtr self:capability net_admin;
6 allow qrtr self:capability sys_admin;
7 allow qrtr self:qipcrtr_socket create_socket_perms_no_ioctl;
8 allow qrtr self:netlink_route_socket { create nlmsg_write read write };
/device/generic/goldfish-opengl/system/GLESv1/
Dgl.cpp56 void glEGLImageTargetTexture2DOES(void * self, GLenum target, GLeglImageOES img) in glEGLImageTargetTexture2DOES() argument
58 (void)self; in glEGLImageTargetTexture2DOES()
88 ctx->m_glEGLImageTargetTexture2DOES_enc(self, target, hostImage); in glEGLImageTargetTexture2DOES()
93 void glEGLImageTargetRenderbufferStorageOES(void *self, GLenum target, GLeglImageOES img) in glEGLImageTargetRenderbufferStorageOES() argument
95 (void)self; in glEGLImageTargetRenderbufferStorageOES()
144 const GLubyte *my_glGetString (void *self, GLenum name) in my_glGetString() argument
146 (void)self; in my_glGetString()

1234567891011