Home
last modified time | relevance | path

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

12345678

/frameworks/compile/mclinker/unittests/
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 …]
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 …]
/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()
DMemoryRegion.h19 typedef NonConstTraits<uint8_t>::pointer Address;
20 typedef ConstTraits<uint8_t>::pointer ConstAddress;
/frameworks/native/opengl/libs/GLES_CM/
Dgl.cpp42 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);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
60 const GLvoid *pointer, GLsizei /*count*/) { in glNormalPointerBounds() argument
61 glNormalPointer(type, stride, pointer); in glNormalPointerBounds()
64 GLsizei stride, const GLvoid *pointer, GLsizei /*count*/) { in glTexCoordPointerBounds() argument
65 glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointerBounds()
[all …]
/frameworks/base/docs/html/training/gestures/
Dmulti.jd54 <li>{@link android.view.MotionEvent#ACTION_DOWN}&mdash;For the first pointer that
55 touches the screen. This starts the gesture. The pointer data for this pointer is
58 extra pointers that enter the screen beyond the first. The pointer data for this
59 pointer is at the index returned by {@link android.support.v4.view.MotionEventCompat#getActionIndex…
61 …rt.v4.view.MotionEventCompat#ACTION_POINTER_UP}&mdash;Sent when a non-primary pointer goes up.</li>
62 …<li>{@link android.view.MotionEvent#ACTION_UP}&mdash;Sent when the last pointer leaves the screen.…
66 android.view.MotionEvent} via each pointer's index and ID:</p>
70 stores information about each pointer in an array. The index of a pointer is its position
73 pointer index as a parameter, not the pointer ID. </li>
76 <li><strong>ID</strong>: Each pointer also has an ID mapping that stays
[all …]
Dscale.jd62 <li>In a drag (or scroll) operation, the app has to keep track of the original pointer
66 individual pointers, it will regard the second pointer as the default and move
70 original pointer and any follow-on pointers. To do this, it tracks the
77 whenever a secondary pointer goes down or up. </li>
81 extracts this index and ensures that the active pointer ID is not referring to a
82 pointer that is no longer touching the screen. If it is, the app selects a
83 different pointer to be active and saves its current X and Y position. Since
86 calculate the distance to move using data from the correct pointer.</li>
91 position of the active pointer, calculates the distance the pointer traveled, and moves the object …
103 being performed, without including the pointer index bits.</p>
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java202 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/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/compile/slang/tests/F_reduce_general_bad_accumulator/
Dstderr.txt.expect3 …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/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp26 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) { in glVertexAttribPointerBounds() argument
41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds()
46 GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribIPointerBounds() argument
47 glVertexAttribIPointer(indx, size, type, stride, pointer); in glVertexAttribIPointerBounds()
[all …]
/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
DBinTree.h92 typedef typename traits::pointer pointer; typedef
120 pointer operator*() const {
184 typedef typename traits::pointer pointer; typedef
206 pointer operator*() const { return static_cast<node_type*>(m_pNode)->data; }
341 typedef value_type* pointer; typedef
/frameworks/compile/slang/tests/F_root_compute_really_bad/
Dstderr.txt.expect5 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/native/opengl/tools/glgen/stubs/jsr239/
DGLCHeader.cpp55 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;
131 pointer = _env->CallStaticLongMethod(nioAccessClass,
133 if (pointer != 0L) {
135 return reinterpret_cast<void *>(pointer);
/frameworks/base/core/jni/
Dandroid_nio_utils.cpp34 jlong pointer; in nio_getPointer() local
38 pointer = _env->CallStaticLongMethod(gNioJNI.nioAccessClass, in nio_getPointer()
40 if (pointer != 0L) { in nio_getPointer()
42 return reinterpret_cast<void *>(pointer); in nio_getPointer()
Dandroid_opengl_GLES10Ext.cpp52 const GLvoid *pointer, GLsizei count);
54 GLsizei stride, 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);
66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribPointerBounds() argument
67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); in glVertexAttribPointerBounds()
72 GLsizei stride, const GLvoid *pointer, GLsizei count) { in glVertexAttribIPointerBounds() argument
73 glVertexAttribIPointer(indx, size, type, stride, pointer); in glVertexAttribIPointerBounds()
[all …]
Dandroid_nio_utils.h54 void nio_releasePointer(JNIEnv *env, jarray array, void *pointer,
62 void* pointer() const { return fPointer; } in pointer() function
/frameworks/av/soundtrigger/
DSoundTrigger.cpp195 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onRecognitionEvent()
201 (struct sound_trigger_recognition_event *)eventMemory->pointer()); in onRecognitionEvent()
208 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onSoundModelEvent()
214 (struct sound_trigger_model_event *)eventMemory->pointer()); in onSoundModelEvent()
221 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in onServiceStateChange()
227 *((sound_trigger_service_state_t *)eventMemory->pointer())); in onServiceStateChange()
/frameworks/av/include/media/stagefright/
DMediaBuffer.h66 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { in MediaBuffer()
107 if (memory.get() == nullptr || memory->pointer() == nullptr) return false; in isDeadObject()
108 return reinterpret_cast<SharedControl *>(memory->pointer())->isDeadObject(); in isDeadObject()
223 return reinterpret_cast<SharedControl *>(mMemory->pointer()); in getSharedControl()
/frameworks/compile/slang/tests/F_kernel_ptr_param/
Dstderr.txt.expect1 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…
/frameworks/rs/api/
Drs_object_info.spec303 summary: Return the Allocation for a given pointer
305 Returns the Allocation for a given pointer. The pointer should point within a valid
306 allocation. The results are undefined if the pointer is not from a valid Allocation.
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp265 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in prepareRecognitionEvent_l()
269 memcpy(eventMemory->pointer(), event, size); in prepareRecognitionEvent_l()
322 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in prepareSoundModelEvent_l()
326 memcpy(eventMemory->pointer(), event, size); in prepareSoundModelEvent_l()
360 if (eventMemory == 0 || eventMemory->pointer() == NULL) { in prepareServiceStateEvent_l()
364 *((sound_trigger_service_state_t *)eventMemory->pointer()) = state; in prepareServiceStateEvent_l()
538 if (modelMemory == 0 || modelMemory->pointer() == NULL) { in loadSoundModel()
543 (struct sound_trigger_sound_model *)modelMemory->pointer(); in loadSoundModel()
626 if (dataMemory == 0 || dataMemory->pointer() == NULL) { in startRecognition()
633 (struct sound_trigger_recognition_config *)dataMemory->pointer(); in startRecognition()
[all …]

12345678