/frameworks/compile/mclinker/unittests/ |
H A D | LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); local 39 ASSERT_FALSE(0 == pointer); 45 Data* pointer = m_pTestee->allocate(); local 46 ASSERT_FALSE(0 == pointer); 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); local 53 ASSERT_TRUE(0 == pointer); 59 Data* pointer = m_pTestee->allocate(); local 60 m_pTestee->construct(pointer); 61 ASSERT_TRUE(1 == pointer->one); 62 ASSERT_TRUE(2 == pointer 68 Data* pointer = m_pTestee->allocate(); local 79 Data* pointer = m_pTestee->allocate(10); local 88 Data* pointer = m_pTestee->allocate(10); local 100 Data* pointer = m_pTestee->allocate(); local 117 Data* pointer = m_pTestee->allocate(10); local [all...] |
H A D | RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); local 40 ASSERT_FALSE(0 == pointer); 46 Data* pointer = m_pTestee->allocate(); local 47 ASSERT_FALSE(0 == pointer); 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); local 54 ASSERT_TRUE(0 == pointer); 60 Data* pointer = m_pTestee->allocate(); local 61 m_pTestee->construct(pointer); 62 ASSERT_TRUE(1 == pointer->one); 63 ASSERT_TRUE(2 == pointer 69 Data* pointer = m_pTestee->allocate(); local 80 Data* pointer = m_pTestee->allocate(10); local 89 Data* pointer = m_pTestee->allocate(10); local 101 Data* pointer = m_pTestee->allocate(); local 118 Data* pointer = m_pTestee->allocate(10); local [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | pointer_wrapper.h | 16 PointerWrapper(T* pointer) : pointer_(pointer) {} argument 30 PointerWrapper<T> WrapPointer(T* pointer) { argument 31 return PointerWrapper<T>(pointer);
|
H A D | default_initialization_allocator.h | 32 void construct(U* pointer) noexcept( 34 ::new (static_cast<void*>(pointer)) U; 37 void construct(U* pointer, Args&&... args) { argument 38 AllocatorTraits::construct(static_cast<Allocator&>(*this), pointer,
|
H A D | array_wrapper.h | 27 typedef T* pointer; typedef in class:android::pdx::rpc::ArrayWrapper 32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) 37 ArrayWrapper(pointer buffer, size_type size) 71 pointer data() { return buffer_; } 74 pointer begin() { return &buffer_[0]; } 75 pointer end() { return &buffer_[end_]; } 97 pointer buffer_;
|
H A D | string_wrapper.h | 29 typedef value_type* pointer; typedef in class:android::pdx::rpc::StringWrapper 34 StringWrapper(pointer buffer, size_type capacity, size_type size) 39 StringWrapper(pointer buffer, size_type size) 42 explicit StringWrapper(pointer buffer) 76 pointer data() { return buffer_; } 79 pointer begin() { return &buffer_[0]; } 80 pointer end() { return &buffer_[end_]; } 100 pointer buffer_;
|
H A D | buffer_wrapper.h | 27 typedef T* pointer; typedef in class:android::pdx::rpc::BufferWrapper 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) 37 BufferWrapper(pointer buffer, size_type size) 71 pointer data() { return buffer_; } 74 pointer begin() { return &buffer_[0]; } 75 pointer end() { return &buffer_[end_]; } 94 pointer buffer_; 107 using pointer = typename BufferType::pointer; 124 pointer dat [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | MemoryRegion.h | 19 typedef NonConstTraits<uint8_t>::pointer Address; 20 typedef ConstTraits<uint8_t>::pointer ConstAddress;
|
H A D | Allocators.h | 93 typedef typename ChunkType::value_type* pointer; typedef in class:mcld::LinearAllocatorBase 110 pointer address(reference X) const { return &X; } 119 void construct(pointer pPtr, const_reference pValue) { 128 void construct(pointer pPtr) { chunk_type::construct(pPtr); } 132 void destroy(pointer pPtr) { chunk_type::destroy(pPtr); } 139 pointer allocate(size_type N) { 147 pointer result = 0; 156 pointer allocate() { 160 pointer result = 0; 171 void deallocate(pointer 309 typedef DataType* pointer; typedef in class:mcld::MallocAllocator 354 typedef void* pointer; typedef in class:mcld::MallocAllocator [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | Util.h | 45 using pointer = typename std::add_pointer<T>::type; 49 explicit unique_cptr(pointer ptr) : ptr_(ptr) {} 71 pointer release() { 72 pointer result = ptr_; 77 inline pointer get() const { return ptr_; } 79 void reset(pointer ptr = pointer()) { argument 84 pointer old_ptr = ptr_; 95 inline pointer operator->() const { return ptr_; } 108 pointer ptr [all...] |
/frameworks/base/core/jni/ |
H A D | android_nio_utils.h | 25 * 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 D | android_nio_utils.cpp | 34 jlong pointer; local 38 pointer = _env->CallStaticLongMethod(gNioJNI.nioAccessClass, 40 if (pointer != 0L) { 42 return reinterpret_cast<void *>(pointer);
|
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 41 const GLvoid *pointer, GLsizei count); 43 GLsizei stride, const GLvoid *pointer, GLsizei count); 45 GLsizei stride, const GLvoid *pointer, GLsizei count); 47 GLsizei stride, const GLvoid *pointer, GLsizei count); 49 GLsizei stride, const GLvoid *pointer, GLsizei count); 51 GLsizei stride, const GLvoid *pointer, GLsizei count); 59 const GLvoid *pointer, GLsizei /*count*/) { 60 glNormalPointer(type, stride, pointer); 63 GLsizei stride, const GLvoid *pointer, GLsizei /*count*/) { 64 glTexCoordPointer(size, type, stride, pointer); 58 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 62 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 66 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 71 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 76 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 81 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TypeTraits.h | 22 typedef const DataType* pointer; typedef in struct:mcld::ConstTraits 32 typedef DataType* pointer; typedef in struct:mcld::NonConstTraits 42 typedef const DataType* pointer; typedef in struct:mcld::ConstIteratorTraits 53 typedef DataType* pointer; typedef in struct:mcld::NonConstIteratorTraits
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaBuffer.h | 66 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { 115 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 117 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); 124 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 125 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); 133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false; 134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); 230 return reinterpret_cast<SharedControl *>(mMemory->pointer());
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MediaBuffer.h | 66 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { 115 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 117 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); 124 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 125 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); 133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false; 134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); 230 return reinterpret_cast<SharedControl *>(mMemory->pointer());
|
/frameworks/av/media/libstagefright/include/ |
H A D | MediaBuffer.h | 66 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { 115 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 117 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); 124 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; 125 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); 133 if (memory.get() == nullptr || memory->pointer() == nullptr) return false; 134 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); 230 return reinterpret_cast<SharedControl *>(mMemory->pointer());
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 196 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 202 java.nio.Buffer pointer, 210 java.nio.Buffer pointer 216 pointer, 217 pointer.remaining() 224 _colorPointer = pointer; 770 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer ) 775 java.nio.Buffer pointer, 782 java.nio.Buffer pointer 787 pointer, 198 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 772 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 963 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1108 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1595 glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1827 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1871 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | FatVector.h | 54 typedef T* pointer; // needed to implement std::allocator typedef in class:android::uirenderer::InlineStdAllocator 71 void deallocate(pointer p, size_t num) {
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | FragmentRef.h | 30 typedef NonConstTraits<unsigned char>::pointer Address; 31 typedef ConstTraits<unsigned char>::pointer ConstAddress;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 26 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/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 382 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 388 java.nio.Buffer pointer, 396 java.nio.Buffer pointer 402 pointer, 403 pointer.remaining() 410 _colorPointer = pointer; 945 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer ) 950 java.nio.Buffer pointer, 957 java.nio.Buffer pointer 962 pointer, 384 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 947 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1138 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1283 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 55 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); 63 GLsizei stride, const GLvoid *pointer, GLsizei count); 65 GLsizei stride, const GLvoid *pointer, GLsizei count); 125 jlong pointer; local 131 pointer = _env->CallStaticLongMethod(nioAccessClass, 133 if (pointer != 0L) { 136 return reinterpret_cast<void *>(pointer); [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | DescramblerImpl.cpp | 86 info.srcMem->pointer(), 89 info.srcMem->pointer() : info.dstPtr,
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 129 java.nio.Buffer pointer 143 java.nio.Buffer pointer
|