/frameworks/compile/mclinker/unittests/ |
D | LinearAllocatorTest.cpp | 38 Data* pointer = m_pTestee->allocate(10); in TEST_F() local 39 ASSERT_FALSE(0 == pointer); in TEST_F() 45 Data* pointer = m_pTestee->allocate(); in TEST_F() local 46 ASSERT_FALSE(0 == pointer); in TEST_F() 52 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F() local 53 ASSERT_TRUE(0 == pointer); in TEST_F() 59 Data* pointer = m_pTestee->allocate(); in TEST_F() local 60 m_pTestee->construct(pointer); in TEST_F() 61 ASSERT_TRUE(1 == pointer->one); in TEST_F() 62 ASSERT_TRUE(2 == pointer->two); in TEST_F() [all …]
|
D | RTLinearAllocatorTest.cpp | 39 Data* pointer = m_pTestee->allocate(10); in TEST_F() local 40 ASSERT_FALSE(0 == pointer); in TEST_F() 46 Data* pointer = m_pTestee->allocate(); in TEST_F() local 47 ASSERT_FALSE(0 == pointer); in TEST_F() 53 Data* pointer = m_pTestee->allocate(CHUNK_SIZE + 1); in TEST_F() local 54 ASSERT_TRUE(0 == pointer); in TEST_F() 60 Data* pointer = m_pTestee->allocate(); in TEST_F() local 61 m_pTestee->construct(pointer); in TEST_F() 62 ASSERT_TRUE(1 == pointer->one); in TEST_F() 63 ASSERT_TRUE(2 == pointer->two); in TEST_F() [all …]
|
/frameworks/native/opengl/libs/GLES_CM/ |
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*/) { in glNormalPointerBounds() argument 60 glNormalPointer(type, stride, pointer); in glNormalPointerBounds() 63 GLsizei stride, const GLvoid *pointer, GLsizei /*count*/) { in glTexCoordPointerBounds() argument 64 glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointerBounds() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Allocators.h | 93 typedef typename ChunkType::value_type* pointer; typedef 110 pointer address(reference X) const { return &X; } in address() 119 void construct(pointer pPtr, const_reference pValue) { in construct() 128 void construct(pointer pPtr) { chunk_type::construct(pPtr); } in construct() 132 void destroy(pointer pPtr) { chunk_type::destroy(pPtr); } in destroy() 139 pointer allocate(size_type N) { in allocate() 147 pointer result = 0; in allocate() 156 pointer allocate() { in allocate() 160 pointer result = 0; in allocate() 171 void deallocate(pointer& pPtr, size_type N) { in deallocate() [all …]
|
D | GCFactory.h | 61 typedef typename traits::pointer pointer; typedef 111 typedef typename Alloc::pointer pointer; typedef 136 void deallocate(pointer& pPtr, size_type N) { in deallocate() 142 void deallocate(pointer& pPtr) { in deallocate()
|
D | MemoryRegion.h | 19 typedef NonConstTraits<uint8_t>::pointer Address; 20 typedef ConstTraits<uint8_t>::pointer ConstAddress;
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | GLCHeader.cpp | 54 const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 64 GLsizei stride, const GLvoid *pointer, GLsizei count); 94 jlong pointer; 96 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); 98 if (pointer != 0L) { 100 pointer += position << elementSizeShift; [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Util.h | 46 using pointer = typename std::add_pointer<T>::type; 50 explicit unique_cptr(pointer ptr) : ptr_(ptr) {} in unique_cptr() 72 pointer release() { in release() 73 pointer result = ptr_; in release() 78 inline pointer get() const { return ptr_; } in get() 80 void reset(pointer ptr = pointer()) { 85 pointer old_ptr = ptr_; 96 inline pointer operator->() const { return ptr_; } 109 pointer ptr_;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | common.cpp | 15 const GLvoid *pointer, GLsizei count); 17 GLsizei stride, const GLvoid *pointer, GLsizei count); 19 GLsizei stride, const GLvoid *pointer, GLsizei count); 21 GLsizei stride, const GLvoid *pointer, GLsizei count); 23 GLsizei stride, const GLvoid *pointer, GLsizei count); 25 GLsizei stride, const GLvoid *pointer, GLsizei count); 29 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribPointerBounds() argument 30 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds() 35 GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribIPointerBounds() argument 36 glVertexAttribIPointer(indx, size, type, stride, pointer); in glVertexAttribIPointerBounds() [all …]
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | GLImpl.java | 202 java.nio.Buffer pointer, in glColorPointerBounds() argument 210 java.nio.Buffer pointer in glColorPointer() argument 216 pointer, in glColorPointer() 217 pointer.remaining() in glColorPointer() 224 _colorPointer = pointer; in glColorPointer() 775 java.nio.Buffer pointer, in glNormalPointerBounds() argument 782 java.nio.Buffer pointer in glNormalPointer() argument 787 pointer, in glNormalPointer() 788 pointer.remaining() in glNormalPointer() 795 _normalPointer = pointer; in glNormalPointer() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | string_wrapper.h | 29 typedef value_type* pointer; typedef 34 StringWrapper(pointer buffer, size_type capacity, size_type size) in StringWrapper() 39 StringWrapper(pointer buffer, size_type size) in StringWrapper() 42 explicit StringWrapper(pointer buffer) in StringWrapper() 76 pointer data() { return buffer_; } in data() 79 pointer begin() { return &buffer_[0]; } in begin() 80 pointer end() { return &buffer_[end_]; } in end() 100 pointer buffer_;
|
D | array_wrapper.h | 27 typedef T* pointer; typedef 32 ArrayWrapper(pointer buffer, size_type capacity, size_type size) in ArrayWrapper() 37 ArrayWrapper(pointer buffer, size_type size) in ArrayWrapper() 71 pointer data() { return buffer_; } in data() 74 pointer begin() { return &buffer_[0]; } in begin() 75 pointer end() { return &buffer_[end_]; } in end() 97 pointer buffer_;
|
D | pointer_wrapper.h | 16 explicit PointerWrapper(T* pointer) : pointer_(pointer) {} in PointerWrapper() argument 30 PointerWrapper<T> WrapPointer(T* pointer) { in WrapPointer() argument 31 return PointerWrapper<T>(pointer); in WrapPointer()
|
D | buffer_wrapper.h | 27 typedef T* pointer; typedef 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper() 37 BufferWrapper(pointer buffer, size_type size) in BufferWrapper() 71 pointer data() { return buffer_; } in data() 74 pointer begin() { return &buffer_[0]; } in begin() 75 pointer end() { return &buffer_[end_]; } in end() 94 pointer buffer_; 107 using pointer = typename BufferType::pointer; variable 124 pointer data() { return buffer_.data(); } in data()
|
D | default_initialization_allocator.h | 32 void construct(U* pointer) noexcept( in construct() argument 34 ::new (static_cast<void*>(pointer)) U; in construct() 37 void construct(U* pointer, Args&&... args) { in construct() argument 38 AllocatorTraits::construct(static_cast<Allocator&>(*this), pointer, in construct()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES10.java | 388 java.nio.Buffer pointer, in glColorPointerBounds() argument 396 java.nio.Buffer pointer in glColorPointer() argument 402 pointer, in glColorPointer() 403 pointer.remaining() in glColorPointer() 410 _colorPointer = pointer; in glColorPointer() 950 java.nio.Buffer pointer, in glNormalPointerBounds() argument 957 java.nio.Buffer pointer in glNormalPointer() argument 962 pointer, in glNormalPointer() 963 pointer.remaining() in glNormalPointer() 970 _normalPointer = pointer; in glNormalPointer() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { in MediaBuffer() 97 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; in remoteRefcount() 99 reinterpret_cast<SharedControl *>(mMemory->pointer())->getRemoteRefcount(); in remoteRefcount() 110 if (mMemory.get() == nullptr || mMemory->pointer() == nullptr) return 0; in addRemoteRefcount() 111 return reinterpret_cast<SharedControl *>(mMemory->pointer())->addRemoteRefcount(value); in addRemoteRefcount() 124 if (memory.get() == nullptr || memory->pointer() == nullptr) return false; in isDeadObject() 125 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); in isDeadObject() 223 return reinterpret_cast<SharedControl *>(mMemory->pointer()); in getSharedControl()
|
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/ |
D | stderr.txt.expect | 3 …d_accumulator.rs:13:12) parameter 'accum' (type 'int (*)[]') must not be pointer to incomplete type 4 …d_accumulator.rs:18:12) parameter 'accum' (type 'int (*)[]') must not be pointer to incomplete type 5 …tor.rs:27:12) parameter 'accum' (type 'struct Incomplete *') must not be pointer to incomplete type 6 …tor.rs:32:12) parameter 'accum' (type 'struct Incomplete *') must not be pointer to incomplete type 7 …ccumulator.rs:42:12) parameter 'accum' (type 'void (*)(void)') must not be pointer to function type 9 …ccumulator.rs:47:12) parameter 'accum' (type 'void (*)(void)') must not be pointer to function type 12 …tor.rs:54:12) parameter 'accum' (type 'struct rs_element *') must not be pointer to data containin… 13 …tor.rs:59:12) parameter 'accum' (type 'struct rs_element *') must not be pointer to data containin…
|
/frameworks/base/core/jni/ |
D | android_opengl_GLES10Ext.cpp | 40 const GLvoid *pointer, GLsizei count); 42 GLsizei stride, 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); 54 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribPointerBounds() argument 55 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds() 60 GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribIPointerBounds() argument 61 glVertexAttribIPointer(indx, size, type, stride, pointer); in glVertexAttribIPointerBounds() [all …]
|
D | android_nio_utils.cpp | 25 jlong pointer = jniGetNioBufferPointer(fEnv, nioBuffer); in AutoBufferPointer() local 26 if (pointer != 0L) { in AutoBufferPointer() 30 fPointer = reinterpret_cast<void*>(pointer); in AutoBufferPointer()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TypeTraits.h | 22 typedef const DataType* pointer; typedef 32 typedef DataType* pointer; typedef 42 typedef const DataType* pointer; typedef 53 typedef DataType* pointer; typedef
|
/frameworks/ml/nn/common/operations/ |
D | HashtableLookup.cpp | 49 void* pointer = nullptr; in Eval() local 53 pointer = bsearch(lookup_->buffer + sizeof(int) * i, key_->buffer, in Eval() 55 if (pointer != nullptr) { in Eval() 57 (reinterpret_cast<uint8_t*>(pointer) - key_->buffer) / sizeof(float); in Eval()
|
/frameworks/compile/slang/tests/F_root_compute_really_bad/ |
D | stderr.txt.expect | 5 root_compute_really_bad.rs:4:14: error: Compute kernel root() cannot have non-pointer parameters be… 6 root_compute_really_bad.rs:4:23: error: Compute kernel root() cannot have non-pointer parameters be… 7 root_compute_really_bad.rs:4:33: error: Compute kernel root() cannot have non-pointer parameters be… 8 root_compute_really_bad.rs:4:48: error: Compute kernel root() cannot have non-pointer parameters be… 9 root_compute_really_bad.rs:4:59: error: Compute kernel root() cannot have non-pointer parameters be… 11 root_compute_really_bad.rs:10:44: error: Compute kernel root2() can only have one non-const pointer… 17 …rs:15:31: error: Compute kernel root_kernel() cannot have parameter 'aout' of pointer type: 'int *'
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 159 memcpy(mMemory->pointer(), mCache.get() + offset - mCachedOffset, size); in readAt() 257 memcpy(mMemory->pointer(), mCache.get() + offset - mCachedOffset, size); in readAt() 350 if (sharedMem == nullptr || sharedMem->pointer() == nullptr) { in init() 355 VideoFrame* videoFrame = static_cast<VideoFrame*>(sharedMem->pointer()); in init() 427 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decodeAsync() 460 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decode() 465 VideoFrame* videoFrame = static_cast<VideoFrame*>(frameMemory->pointer()); in decode() 501 if (mFrameMemory == nullptr || mFrameMemory->pointer() == nullptr) { in decode() 506 VideoFrame* videoFrame = static_cast<VideoFrame*>(mFrameMemory->pointer()); in decode() 540 if (mFrameMemory == nullptr || mFrameMemory->pointer() == nullptr) { in getScanlineInner() [all …]
|
/frameworks/compile/slang/tests/F_kernel_ptr_param/ |
D | stderr.txt.expect | 1 kernel_ptr_param.rs:4:26: error: Compute kernel root() cannot have parameter 'i' of pointer type: '… 2 kernel_ptr_param.rs:7:30: error: Compute kernel voidptr() cannot have parameter 'v' of pointer type…
|