/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/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 | 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...] |
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_;
|
/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
|
H A D | HashIterator.h | 247 typedef typename traits::pointer pointer; typedef in class:mcld::HashIterator
|
H A D | BinTree.h | 92 typedef typename traits::pointer pointer; typedef in class:mcld::PolicyIteratorBase 120 pointer operator*() const { 184 typedef typename traits::pointer pointer; typedef in struct:mcld::TreeIterator 206 pointer operator*() const { return static_cast<node_type*>(m_pNode)->data; } 297 // - the pointer of root 341 typedef value_type* pointer; typedef in class:mcld::BinaryTree
|
/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/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) {
|
H A D | LinearAllocator.h | 158 typedef T* pointer; // needed to implement std::allocator typedef in class:android::uirenderer::LinearStdAllocator 180 void deallocate(pointer p, size_t num) {
|
/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/native/libs/vr/libpdx/ |
H A D | variant_tests.cpp | 591 std::unique_ptr<int> pointer = std::make_unique<int>(10); local 592 Variant<std::unique_ptr<int>> v(std::move(pointer)); 595 EXPECT_TRUE(pointer == nullptr); 899 std::unique_ptr<int> pointer = std::move(std::get<std::unique_ptr<int>>(v)); local 901 EXPECT_TRUE(pointer != nullptr);
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | servicetool.cpp | 49 void HexDump(const void* pointer, size_t length); 172 void HexDump(const void* pointer, size_t length) { argument 173 uintptr_t address = reinterpret_cast<uintptr_t>(pointer);
|
/frameworks/compile/mclinker/include/mcld/ |
H A D | InputTree.h | 71 typedef value_type* pointer; typedef in class:mcld::BinaryTree
|
/frameworks/compile/mclinker/include/mcld/Support/ |
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...] |
H A D | GCFactory.h | 61 typedef typename traits::pointer pointer; typedef in class:mcld::DataIterator 111 typedef typename Alloc::pointer pointer; typedef in class:mcld::GCFactoryBase 136 void deallocate(pointer& pPtr, size_type N) { 142 void deallocate(pointer& pPtr) {
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 152 void* IMemory::pointer() const { function in class:android::IMemory
|
/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/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/rs/cpp/ |
H A D | Allocation.cpp | 439 void *pointer) { 443 (uintptr_t)pointer); 437 createTyped(const sp<RS>& rs, const sp<const Type>& type, RsAllocationMipmapControl mipmaps, uint32_t usage, void *pointer) argument
|