Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 187) sorted by relevance

12345678

/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.cpp38 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 …]
DRTLinearAllocatorTest.cpp39 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/compile/mclinker/include/mcld/Support/
DAllocators.h93 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 …]
DGCFactory.h61 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()
/frameworks/native/opengl/libs/GLES_CM/
Dgl.cpp41 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/native/opengl/tools/glgen/stubs/jsr239/
DGLCHeader.cpp54 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/
DUtil.h46 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/
Dcommon.cpp15 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/
DGLImpl.java205 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/base/opengl/java/android/opengl/
DGLES10.java388 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 …]
DGLES11Ext.java885 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/native/libs/vr/libpdx/private/pdx/rpc/
Dstring_wrapper.h29 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_;
Darray_wrapper.h27 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_;
Dbuffer_wrapper.h27 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()
Dpointer_wrapper.h16 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()
Ddefault_initialization_allocator.h32 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/av/media/libstagefright/include/media/stagefright/
DMediaBuffer.h51 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/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp40 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 …]
Dandroid_nio_utils.cpp25 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_reduce_general_bad_accumulator/
Dstderr.txt.expect3 …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/compile/mclinker/include/mcld/ADT/
DTypeTraits.h22 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/
Dstderr.txt.expect5 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/
DHashtableLookup.cpp54 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/av/media/libheif/
DHeifDecoderImpl.cpp156 memcpy(mMemory->pointer(), mCache.get() + offset - mCachedOffset, size); in readAt()
254 memcpy(mMemory->pointer(), mCache.get() + offset - mCachedOffset, size); in readAt()
347 if (sharedMem == nullptr || sharedMem->pointer() == nullptr) { in init()
352 VideoFrame* videoFrame = static_cast<VideoFrame*>(sharedMem->pointer()); in init()
424 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decodeAsync()
457 if (frameMemory == nullptr || frameMemory->pointer() == nullptr) { in decode()
462 VideoFrame* videoFrame = static_cast<VideoFrame*>(frameMemory->pointer()); in decode()
498 if (mFrameMemory == nullptr || mFrameMemory->pointer() == nullptr) { in decode()
503 VideoFrame* videoFrame = static_cast<VideoFrame*>(mFrameMemory->pointer()); in decode()
537 if (mFrameMemory == nullptr || mFrameMemory->pointer() == nullptr) { in getScanlineInner()
[all …]
/frameworks/av/soundtrigger/
DSoundTrigger.cpp207 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onRecognitionEvent()
213 (struct sound_trigger_recognition_event *)eventMemory->pointer()); in onRecognitionEvent()
220 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onSoundModelEvent()
226 (struct sound_trigger_model_event *)eventMemory->pointer()); in onSoundModelEvent()
233 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onServiceStateChange()
239 *((sound_trigger_service_state_t *)eventMemory->pointer())); in onServiceStateChange()

12345678