Home
last modified time | relevance | path

Searched refs:elementSizeShift (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/hwui/jni/
DBufferUtils.cpp38 jint elementSizeShift; in getDirectBufferPointer() local
40 pointer = jniGetNioBufferFields(env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
46 pointer += position << elementSizeShift; in getDirectBufferPointer()
57 jint elementSizeShift; in getPointer() local
60 pointer = jniGetNioBufferFields(env, buffer, &position, &limit, &elementSizeShift); in getPointer()
61 *remaining = (limit - position) << elementSizeShift; in getPointer()
64 pointer += position << elementSizeShift; in getPointer()
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGLCHeader.cpp94 jint elementSizeShift;
97 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift);
98 *remaining = (limit - position) << elementSizeShift;
101 pointer += position << elementSizeShift;
129 jint elementSizeShift;
131 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift);
137 pointer += position << elementSizeShift;
/frameworks/layoutlib/bridge/src/com/android/tools/layoutlib/java/nio/
DNIOAccess_Delegate.java46 return address + ((long)b.position() << Buffer_Delegate.elementSizeShift(b)); in getBasePointer()
69 ((b.arrayOffset() + b.position()) << Buffer_Delegate.elementSizeShift(b)) : 0; in getBaseArrayOffset()
DBuffer_Delegate.java37 public static int elementSizeShift(Buffer buffer) { in elementSizeShift() method in Buffer_Delegate
/frameworks/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp51 jint elementSizeShift; in getPointer() local
54 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
55 *remaining = (limit - position) << elementSizeShift; in getPointer()
58 pointer += position << elementSizeShift; in getPointer()
188 jint elementSizeShift; in getDirectBufferPointer() local
190 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
196 pointer += position << elementSizeShift; in getDirectBufferPointer()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGL15cHeader.cpp133 jint elementSizeShift; in getPointer() local
136 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
137 *remaining = (limit - position) << elementSizeShift; in getPointer()
140 pointer += position << elementSizeShift; in getPointer()
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_EGL15.cpp133 jint elementSizeShift; in getPointer() local
136 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
137 *remaining = (limit - position) << elementSizeShift; in getPointer()
140 pointer += position << elementSizeShift; in getPointer()
Dandroid_opengl_GLES31Ext.cpp76 jint elementSizeShift; in getPointer() local
79 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
80 *remaining = (limit - position) << elementSizeShift; in getPointer()
83 pointer += position << elementSizeShift; in getPointer()
213 jint elementSizeShift; in getDirectBufferPointer() local
215 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
221 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES32.cpp75 jint elementSizeShift; in getPointer() local
78 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
79 *remaining = (limit - position) << elementSizeShift; in getPointer()
82 pointer += position << elementSizeShift; in getPointer()
212 jint elementSizeShift; in getDirectBufferPointer() local
214 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
220 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES10.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES11.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES11Ext.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES31.cpp75 jint elementSizeShift; in getPointer() local
78 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
79 *remaining = (limit - position) << elementSizeShift; in getPointer()
82 pointer += position << elementSizeShift; in getPointer()
212 jint elementSizeShift; in getDirectBufferPointer() local
214 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
220 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES20.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dandroid_opengl_GLES30.cpp77 jint elementSizeShift; in getPointer() local
80 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
81 *remaining = (limit - position) << elementSizeShift; in getPointer()
84 pointer += position << elementSizeShift; in getPointer()
214 jint elementSizeShift; in getDirectBufferPointer() local
216 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
222 pointer += position << elementSizeShift; in getDirectBufferPointer()
Dcom_google_android_gles_jni_GLImpl.cpp95 jint elementSizeShift; in getPointer() local
98 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
99 *remaining = (limit - position) << elementSizeShift; in getPointer()
102 pointer += position << elementSizeShift; in getPointer()
130 jint elementSizeShift; in getDirectBufferPointer() local
132 pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getDirectBufferPointer()
138 pointer += position << elementSizeShift; in getDirectBufferPointer()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp694 jint elementSizeShift; in getPointer() local
695 jlong pointer = jniGetNioBufferFields(_env, buffer, &position, &limit, &elementSizeShift); in getPointer()
697 pointer += position << elementSizeShift; in getPointer()
699 *remaining = (limit - position) << elementSizeShift; in getPointer()