Home
last modified time | relevance | path

Searched refs:buftype (Results 1 – 25 of 69) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_memoryio.py20 buf = self.buftype("1234567890")
24 buf = self.buftype("1234567890")
33 buf = self.buftype("1234567890")
40 buf = self.buftype("1234567890")
52 buf = self.buftype("1234567890")
82 buf = self.buftype("hello world\n")
85 self.write_ops(memio, self.buftype)
88 self.write_ops(memio, self.buftype)
92 self.assertRaises(ValueError, memio.write, self.buftype(""))
95 buf = self.buftype("1234567890")
[all …]
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp27 egl::Error GetD3D11TextureInfo(EGLenum buftype, in GetD3D11TextureInfo() argument
38 if (buftype == EGL_D3D_TEXTURE_ANGLE) in GetD3D11TextureInfo()
101 egl::Error GetD3D9TextureInfo(EGLenum buftype, in GetD3D9TextureInfo() argument
116 if (buftype == EGL_D3D_TEXTURE_ANGLE) in GetD3D9TextureInfo()
179 egl::Error GetD3DTextureInfo(EGLenum buftype, in GetD3DTextureInfo() argument
188 if (buftype == EGL_D3D_TEXTURE_ANGLE) in GetD3DTextureInfo()
195 return GetD3D11TextureInfo(buftype, texture11, width, height, angleFormat, object, in GetD3DTextureInfo()
200 return GetD3D9TextureInfo(buftype, texture9, width, height, angleFormat, object, in GetD3DTextureInfo()
209 else if (buftype == EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE) in GetD3DTextureInfo()
221 return GetD3D11TextureInfo(buftype, texture11, width, height, angleFormat, object, device); in GetD3DTextureInfo()
[all …]
DD3DTextureSurfaceWGL.h29 EGLenum buftype,
38 static egl::Error ValidateD3DTextureClientBuffer(EGLenum buftype,
DDisplayWGL.h42 EGLenum buftype,
62 EGLenum buftype,
DDisplayWGL.cpp443 EGLenum buftype, in createPbufferFromClientBuffer() argument
453 return new D3DTextureSurfaceWGL(state, mRenderer->getStateManager(), buftype, clientBuffer, in createPbufferFromClientBuffer()
568 EGLenum buftype, in validateClientBuffer() argument
572 switch (buftype) in validateClientBuffer()
577 return D3DTextureSurfaceWGL::ValidateD3DTextureClientBuffer(buftype, clientBuffer, in validateClientBuffer()
581 return DisplayGL::validateClientBuffer(configuration, buftype, clientBuffer, attribs); in validateClientBuffer()
/external/python/cpython3/Lib/test/
Dtest_memoryio.py24 buf = self.buftype("1234567890")
28 buf = self.buftype("1234567890")
37 buf = self.buftype("1234567890")
44 buf = self.buftype("1234567890")
56 buf = self.buftype("1234567890")
86 buf = self.buftype("hello world\n")
89 self.write_ops(memio, self.buftype)
92 self.write_ops(memio, self.buftype)
96 self.assertRaises(ValueError, memio.write, self.buftype(""))
99 buf = self.buftype("1234567890")
[all …]
/external/angle/extensions/
DEGL_ANGLE_d3d_share_handle_client_buffer.txt55 Accepted in the <buftype> parameter of eglCreatePbufferFromClientBuffer:
68 "When <buftype> is EGL_OPENVG_IMAGE, the width and height of the pbuffer
69 are determined by the width and height of <buffer>. When <buftype> is
76 "<buftype> specifies the type of buffer to be bound. The only allowed values
77 of <buftype> are EGL_OPENVG_IMAGE and
81 "When <buftype> is EGL_D3D_TEXTURE_2D_SHARE_HANDLE_ANGLE, <buffer> must be
DEGL_ANGLE_iosurface_client_buffer.txt49 Accepted in the <buftype> parameter of eglCreatePbufferFromClientBuffer:
71 "<buftype> specifies the type of buffer to be bound. The only allowed values
72 of <buftype> are EGL_OPENVG_IMAGE and EGL_IOSURFACE_ANGLE".
75 "When <buftype> is EGL_IOSURFACE_ANGLE, <buffer> must be a valid IOSurface
79 "When <buftype> is EGL_IOSURFACE_ANGLE, <attrib_list> must contain all the
DEGL_ANGLE_d3d_texture_client_buffer.txt53 Accepted by the <target> parameter of eglCreateImageKHR and <buftype>
111 "When <buftype> is EGL_OPENVG_IMAGE or EGL_D3D_TEXTURE_ANGLE, the width and
115 "<buftype> specifies the type of buffer to be bound. The only allowed values
116 of <buftype> are EGL_OPENVG_IMAGE and EGL_D3D_TEXTURE_ANGLE".
119 "When <buftype> is EGL_D3D_TEXTURE_ANGLE, <buffer> must be
176 "In addition, in case buftype is EGL_D3D_TEXTURE_ANGLE and the D3D resource
/external/angle/src/libANGLE/renderer/vulkan/mac/
DDisplayVkMac.mm40 EGLenum buftype,
44 ASSERT(buftype == EGL_IOSURFACE_ANGLE);
85 EGLenum buftype,
89 ASSERT(buftype == EGL_IOSURFACE_ANGLE);
DDisplayVkMac.h29 EGLenum buftype,
39 EGLenum buftype,
/external/swiftshader/extensions/
DEGL_ANGLE_iosurface_client_buffer.txt49 Accepted in the <buftype> parameter of eglCreatePbufferFromClientBuffer:
65 "<buftype> specifies the type of buffer to be bound. The only allowed values
66 of <buftype> are EGL_OPENVG_IMAGE and EGL_IOSURFACE_ANGLE".
69 "When <buftype> is EGL_IOSURFACE_ANGLE, <buffer> must be a valid IOSurface
73 "When <buftype> is EGL_IOSURFACE_ANGLE, <attrib_list> must contain all the
/external/python/cpython3/Lib/ctypes/
D__init__.py57 buftype = c_char * size
58 buf = buftype()
63 buftype = c_char * init
64 buf = buftype()
290 buftype = c_wchar * size
291 buf = buftype()
296 buftype = c_wchar * init
297 buf = buftype()
/external/python/cpython2/Lib/ctypes/
D__init__.py57 buftype = c_char * size
58 buf = buftype()
62 buftype = c_char * init
63 buf = buftype()
302 buftype = c_wchar * size
303 buf = buftype()
307 buftype = c_wchar * init
308 buf = buftype()
/external/angle/src/libANGLE/renderer/d3d/
DDisplayD3D.cpp182 EGLenum buftype, in createPbufferFromClientBuffer() argument
187 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer()
312 EGLenum buftype, in validateClientBuffer() argument
316 switch (buftype) in validateClientBuffer()
328 return DisplayImpl::validateClientBuffer(config, buftype, clientBuffer, attribs); in validateClientBuffer()
DSurfaceD3D.cpp31 EGLenum buftype, in SurfaceD3D() argument
52 mBuftype(buftype) in SurfaceD3D()
66 switch (buftype) in SurfaceD3D()
487 EGLenum buftype, in PbufferSurfaceD3D() argument
494 buftype, in PbufferSurfaceD3D()
DSurfaceD3D.h81 EGLenum buftype,
133 EGLenum buftype,
DDisplayD3D.h37 EGLenum buftype,
77 EGLenum buftype,
/external/angle/src/libANGLE/renderer/gl/egl/android/
DDisplayAndroid.cpp253 EGLenum buftype, in createPbufferFromClientBuffer() argument
257 if (buftype == EGL_EXTERNAL_SURFACE_ANGLE) in createPbufferFromClientBuffer()
268 return DisplayEGL::createPbufferFromClientBuffer(state, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer()
277 EGLenum buftype, in validateClientBuffer() argument
282 if (buftype == EGL_EXTERNAL_SURFACE_ANGLE) in validateClientBuffer()
287 return DisplayEGL::validateClientBuffer(configuration, buftype, clientBuffer, attribs); in validateClientBuffer()
DDisplayAndroid.h38 EGLenum buftype,
43 EGLenum buftype,
/external/angle/src/libANGLE/renderer/gl/eagl/
DDisplayEAGL.h50 EGLenum buftype,
70 EGLenum buftype,
DDisplayEAGL.mm167 EGLenum buftype,
171 ASSERT(buftype == EGL_IOSURFACE_ANGLE);
284 EGLenum buftype,
288 ASSERT(buftype == EGL_IOSURFACE_ANGLE);
/external/angle/src/libANGLE/renderer/gl/cgl/
DDisplayCGL.h61 EGLenum buftype,
81 EGLenum buftype,
/external/angle/src/libANGLE/
DSurface.cpp60 EGLenum buftype) in Surface() argument
67 mBuftype(buftype), in Surface()
717 EGLenum buftype, in PbufferSurface() argument
721 : Surface(EGL_PBUFFER_BIT, config, attribs, robustResourceInit, buftype) in PbufferSurface()
724 implFactory->createPbufferFromClientBuffer(mState, buftype, clientBuffer, attribs); in PbufferSurface()
/external/kernel-headers/original/uapi/linux/
Datm_nicstar.h42 int buftype; member

123