/frameworks/compile/mclinker/unittests/ |
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 …]
|
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 …]
|
/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 | 53 using pointer = typename std::add_pointer<T>::type; 57 explicit unique_cptr(pointer ptr) : ptr_(ptr) {} in unique_cptr() 79 pointer release() { in release() 80 pointer result = ptr_; in release() 85 inline pointer get() const { return ptr_; } in get() 87 void reset(pointer ptr = pointer()) { 92 pointer old_ptr = ptr_; 103 inline pointer operator->() const { return ptr_; } 116 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 | 205 java.nio.Buffer pointer, in glColorPointerBounds() argument 213 java.nio.Buffer pointer in glColorPointer() argument 219 pointer, in glColorPointer() 220 pointer.remaining() in glColorPointer() 227 _colorPointer = pointer; in glColorPointer() 778 java.nio.Buffer pointer, in glNormalPointerBounds() argument 785 java.nio.Buffer pointer in glNormalPointer() argument 790 pointer, in glNormalPointer() 791 pointer.remaining() in glNormalPointer() 798 _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 …]
|
D | GLES11Ext.java | 885 java.nio.Buffer pointer, in glMatrixIndexPointerOESBounds() argument 893 java.nio.Buffer pointer in glMatrixIndexPointerOES() argument 899 pointer, in glMatrixIndexPointerOES() 900 pointer.remaining() in glMatrixIndexPointerOES() 910 _matrixIndexPointerOES = pointer; in glMatrixIndexPointerOES() 920 java.nio.Buffer pointer, in glWeightPointerOESBounds() argument 928 java.nio.Buffer pointer in glWeightPointerOES() argument 934 pointer, in glWeightPointerOES() 935 pointer.remaining() in glWeightPointerOES()
|
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/ |
D | stderr.txt.expect | 3 …umulator.rscript:13:12) parameter 'accum' (type 'int (*)[]') must not be pointer to incomplete type 4 …umulator.rscript:18:12) parameter 'accum' (type 'int (*)[]') must not be pointer to incomplete type 5 …script:27:12) parameter 'accum' (type 'struct Incomplete *') must not be pointer to incomplete type 6 …script:32:12) parameter 'accum' (type 'struct Incomplete *') must not be pointer to incomplete type 7 …lator.rscript:42:12) parameter 'accum' (type 'void (*)(void)') must not be pointer to function type 9 …lator.rscript:47:12) parameter 'accum' (type 'void (*)(void)') must not be pointer to function type 12 …script:54:12) parameter 'accum' (type 'struct rs_element *') must not be pointer to data containin… 13 …script: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 …]
|
/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/compile/slang/tests/F_root_compute_really_bad/ |
D | stderr.txt.expect | 5 root_compute_really_bad.rscript:4:14: error: Compute kernel root() cannot have non-pointer paramete… 6 root_compute_really_bad.rscript:4:23: error: Compute kernel root() cannot have non-pointer paramete… 7 root_compute_really_bad.rscript:4:33: error: Compute kernel root() cannot have non-pointer paramete… 8 root_compute_really_bad.rscript:4:48: error: Compute kernel root() cannot have non-pointer paramete… 9 root_compute_really_bad.rscript:4:59: error: Compute kernel root() cannot have non-pointer paramete… 11 …rscript:10:44: error: Compute kernel root2() can only have one non-const pointer parameter. Parame… 17 …pt:15:31: error: Compute kernel root_kernel() cannot have parameter 'aout' of pointer type: 'int *'
|
/frameworks/ml/nn/common/operations/ |
D | HashtableLookup.cpp | 54 void* pointer = nullptr; in Eval() local 58 pointer = bsearch(lookup_->buffer + sizeof(int) * i, key_->buffer, num_rows, sizeof(int), in Eval() 60 if (pointer != nullptr) { in Eval() 61 idx = (reinterpret_cast<uint8_t*>(pointer) - key_->buffer) / sizeof(float); in Eval()
|
/frameworks/base/libs/hwui/jni/ |
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/slang/tests/F_kernel_ptr_param/ |
D | stderr.txt.expect | 1 kernel_ptr_param.rscript:4:26: error: Compute kernel root() cannot have parameter 'i' of pointer ty… 2 kernel_ptr_param.rscript:7:30: error: Compute kernel voidptr() cannot have parameter 'v' of pointer…
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL15cHeader.cpp | 133 jlong pointer; in getPointer() local 135 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer() 137 if (pointer != 0L) { in getPointer() 139 pointer += position << elementSizeShift; in getPointer() 140 return reinterpret_cast<void*>(pointer); in getPointer()
|