Searched defs:pointer (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/core/jni/
H A Dandroid_nio_utils.h25 * Given an nio.Buffer, return a pointer to it, beginning at its current
26 * position. The returned pointer is only valid for the current JNI stack-frame.
35 * and the returned pointer when the caller is through with it.
38 * @return The pointer to the memory in the buffer object
44 * Pass that array and the returned pointer when you are done accessing the
45 * pointer. If called (i.e. array is non-null), it must be called in the same
50 * @param pointer The pointer returned by android_nio_getPointer
51 * @param commit JNI_FALSE if the pointer was just read, and JNI_TRUE if
52 * the pointer wa
62 void* pointer() const { return fPointer; } function in class:android::AutoBufferPointer
[all...]
H A Dandroid_nio_utils.cpp32 jlong pointer; local
36 pointer = _env->CallStaticLongMethod(gNioJNI.nioAccessClass,
38 if (pointer != 0L) {
40 return reinterpret_cast<void *>(pointer);
H A Dandroid_opengl_GLES10Ext.cpp48 const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
63 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
68 GLsizei stride, const GLvoid *pointer, GLsizei count) {
69 glVertexAttribIPointer(indx, size, type, stride, pointer);
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
104 jlong pointer; local
[all...]
H A Dandroid_opengl_GLES11.cpp48 const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
63 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
68 GLsizei stride, const GLvoid *pointer, GLsizei count) {
69 glVertexAttribIPointer(indx, size, type, stride, pointer);
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
104 jlong pointer; local
2508 GLvoid *pointer = (GLvoid *) 0; local
[all...]
H A Dandroid_opengl_GLES31.cpp46 const GLvoid *pointer, GLsizei count);
48 GLsizei stride, const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
60 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
61 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
66 GLsizei stride, const GLvoid *pointer, GLsizei count) {
67 glVertexAttribIPointer(indx, size, type, stride, pointer);
59 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
65 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
102 jlong pointer; local
[all...]
H A Dandroid_opengl_GLES31Ext.cpp47 const GLvoid *pointer, GLsizei count);
49 GLsizei stride, const GLvoid *pointer, GLsizei count);
51 GLsizei stride, const GLvoid *pointer, GLsizei count);
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
62 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
67 GLsizei stride, const GLvoid *pointer, GLsizei count) {
68 glVertexAttribIPointer(indx, size, type, stride, pointer);
60 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
66 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
103 jlong pointer; local
[all...]
/frameworks/compile/mclinker/unittests/
H A DLinearAllocatorTest.cpp43 Data* pointer = m_pTestee->allocate(10); local
44 ASSERT_FALSE(0 == pointer);
50 Data* pointer = m_pTestee->allocate(); local
51 ASSERT_FALSE(0 == pointer);
57 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1); local
58 ASSERT_TRUE(0 == pointer);
64 Data* pointer = m_pTestee->allocate(); local
65 m_pTestee->construct(pointer);
66 ASSERT_TRUE(1 == pointer->one);
67 ASSERT_TRUE(2 == pointer
73 Data* pointer = m_pTestee->allocate(); local
84 Data* pointer = m_pTestee->allocate(10); local
93 Data* pointer = m_pTestee->allocate(10); local
105 Data* pointer = m_pTestee->allocate(); local
122 Data* pointer = m_pTestee->allocate(10); local
[all...]
H A DRTLinearAllocatorTest.cpp44 Data* pointer = m_pTestee->allocate(10); local
45 ASSERT_FALSE(0 == pointer);
51 Data* pointer = m_pTestee->allocate(); local
52 ASSERT_FALSE(0 == pointer);
58 Data* pointer = m_pTestee->allocate(CHUNK_SIZE+1); local
59 ASSERT_TRUE(0 == pointer);
65 Data* pointer = m_pTestee->allocate(); local
66 m_pTestee->construct(pointer);
67 ASSERT_TRUE(1 == pointer->one);
68 ASSERT_TRUE(2 == pointer
74 Data* pointer = m_pTestee->allocate(); local
85 Data* pointer = m_pTestee->allocate(10); local
94 Data* pointer = m_pTestee->allocate(10); local
106 Data* pointer = m_pTestee->allocate(); local
123 Data* pointer = m_pTestee->allocate(10); local
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTypeTraits.h23 typedef const DataType* pointer; typedef in struct:mcld::ConstTraits
34 typedef DataType* pointer; typedef in struct:mcld::NonConstTraits
45 typedef const DataType* pointer; typedef in struct:mcld::ConstIteratorTraits
57 typedef DataType* pointer; typedef in struct:mcld::NonConstIteratorTraits
H A DHashIterator.h259 typedef typename traits::pointer pointer; typedef in class:mcld::HashIterator
H A DBinTree.h103 typedef typename traits::pointer pointer; typedef in class:mcld::PolicyIteratorBase
129 pointer operator*() const
191 typedef typename traits::pointer pointer; typedef in struct:mcld::TreeIterator
215 pointer operator*() const
312 // - the pointer of root
363 typedef value_type* pointer; typedef in class:mcld::BinaryTree
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp42 const GLvoid *pointer, GLsizei count);
44 GLsizei stride, const GLvoid *pointer, GLsizei count);
46 GLsizei stride, const GLvoid *pointer, GLsizei count);
48 GLsizei stride, const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
60 const GLvoid *pointer, GLsizei /*count*/) {
61 glNormalPointer(type, stride, pointer);
64 GLsizei stride, const GLvoid *pointer, GLsizei /*count*/) {
65 glTexCoordPointer(size, type, stride, pointer);
59 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
63 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
67 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
72 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/ex/variablespeed/jni/
H A Ddecode_buffer.cc43 void DecodeBuffer::AddData(int8_t* pointer, size_t lengthInBytes) { argument
45 PushValue(reinterpret_cast<int16*>(pointer)[i]);
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h74 typedef value_type* pointer; typedef in class:mcld::BinaryTree
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h100 typedef typename ChunkType::value_type* pointer; typedef in class:mcld::LinearAllocatorBase
122 pointer address(reference X) const
133 void construct(pointer pPtr, const_reference pValue)
141 void construct(pointer pPtr)
146 void destroy(pointer pPtr)
154 pointer allocate(size_type N) {
162 pointer result = 0;
171 pointer allocate() {
175 pointer result = 0;
186 void deallocate(pointer
331 typedef DataType* pointer; typedef in class:mcld::MallocAllocator
385 typedef void* pointer; typedef in class:mcld::MallocAllocator
[all...]
H A DGCFactory.h63 typedef typename traits::pointer pointer; typedef in class:mcld::DataIterator
123 typedef typename Alloc::pointer pointer; typedef in class:mcld::GCFactoryBase
153 void deallocate(pointer &pPtr, size_type N) {
159 void deallocate(pointer &pPtr) {
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp26 const GLvoid *pointer, GLsizei count);
28 GLsizei stride, const GLvoid *pointer, GLsizei count);
30 GLsizei stride, const GLvoid *pointer, GLsizei count);
32 GLsizei stride, const GLvoid *pointer, GLsizei count);
34 GLsizei stride, const GLvoid *pointer, GLsizei count);
36 GLsizei stride, const GLvoid *pointer, GLsizei count);
40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
46 GLsizei stride, const GLvoid *pointer, GLsizei count) {
47 glVertexAttribIPointer(indx, size, type, stride, pointer);
39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
82 jlong pointer; local
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp348 void *pointer) {
352 (uintptr_t)pointer);
346 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mipmaps, uint32_t usage, void *pointer) argument
/frameworks/native/libs/binder/
H A DIMemory.cpp146 void* IMemory::pointer() const { function in class:android::IMemory
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp51 const GLvoid *pointer, GLsizei count);
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLsizei stride, const GLvoid *pointer, GLsizei count);
121 jlong pointer; local
127 pointer = _env->CallStaticLongMethod(nioAccessClass,
129 if (pointer != 0L) {
131 return reinterpret_cast<void *>(pointer);
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp314 const GLvoid *pointer, const buffer_t* bo, GLsizei count)
332 this->pointer = pointer;
339 physical_pointer = (bo) ? (bo->data + uintptr_t(pointer)) : pointer;
1160 if (am.vertex.bo || am.vertex.pointer) {
1167 if (am.normal.bo || am.normal.pointer) {
1175 if (am.color.bo || am.color.pointer) {
1179 if (am.color.bo || am.color.pointer) {
1193 if (am.texture[i].bo || am.texture[i].pointer) {
312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument
1239 glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
1260 glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
1280 glNormalPointer( GLenum type, GLsizei stride, const GLvoid *pointer) argument
1301 glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp761 jlong pointer; local
769 pointer = _env->CallStaticLongMethod(nioAccessClass,
771 if (pointer != 0L) {
772 return reinterpret_cast<void *>(pointer);
817 * @param in a pointer to a ETC1_DECODED_BLOCK_SIZE array of bytes that represent a
852 * @param out a pointer to a ETC_DECODED_BLOCK_SIZE array of bytes that represent a
882 * @param in pointer to the image data. Formatted such that
884 * @param out pointer to encoded data. Must be large enough to store entire encoded image.
914 * @param out pointer to the image data. Will be written such that
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java598 // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer )
603 java.nio.Buffer pointer,
610 java.nio.Buffer pointer
615 pointer,
616 pointer.remaining()
621 _pointSizePointerOES = pointer;
600 glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
H A DGLES11Ext.java879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
885 java.nio.Buffer pointer,
893 java.nio.Buffer pointer
899 pointer,
900 pointer.remaining()
910 _matrixIndexPointerOES = pointer;
914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
920 java.nio.Buffer pointer,
928 java.nio.Buffer pointer
934 pointer,
881 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
916 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp321 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage, jint pointer) argument
323 LOG_API("nAllocationCreateTyped, con(%p), type(%p), mip(%i), usage(%i), ptr(%p)", con, (RsElement)type, mips, usage, (void *)pointer);
324 return (jint) rsAllocationCreateTyped(con, (RsType)type, (RsAllocationMipmapControl)mips, (uint32_t)usage, (uint32_t)pointer);

Completed in 441 milliseconds

12