Lines Matching refs:jlong
38 static inline minikin::MeasuredTextBuilder* toBuilder(jlong ptr) { in toBuilder()
42 static inline Paint* toPaint(jlong ptr) { in toPaint()
46 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
50 template<typename Ptr> static inline jlong toJLong(Ptr ptr) { in toJLong()
51 return reinterpret_cast<jlong>(ptr); in toJLong()
54 static void releaseMeasuredParagraph(jlong measuredTextPtr) { in releaseMeasuredParagraph()
59 static jlong nInitBuilder(CRITICAL_JNI_PARAMS) { in nInitBuilder()
64 static void nAddStyleRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddStyleRun()
65 jlong paintPtr, jint lbStyle, jint lbWordStyle, jboolean hyphenation, in nAddStyleRun()
76 static void nAddReplacementRun(JNIEnv* /* unused */, jclass /* unused */, jlong builderPtr, in nAddReplacementRun()
77 jlong paintPtr, jint start, jint end, jfloat width) { in nAddReplacementRun()
83 static jlong nBuildMeasuredText(JNIEnv* env, jclass /* unused */, jlong builderPtr, jlong hintPtr, in nBuildMeasuredText()
98 static void nFreeBuilder(JNIEnv* env, jclass /* unused */, jlong builderPtr) { in nFreeBuilder()
103 static jfloat nGetWidth(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint start, jint end) { in nGetWidth()
112 static jfloat nGetCharWidthAt(CRITICAL_JNI_PARAMS_COMMA jlong ptr, jint offset) { in nGetCharWidthAt()
117 static void nGetBounds(JNIEnv* env, jobject, jlong ptr, jcharArray javaText, jint start, jint end, in nGetBounds()
137 static jlong nGetExtent(JNIEnv* env, jobject, jlong ptr, jcharArray javaText, jint start, in nGetExtent()
148 return (((jlong)(ascent)) << 32) | ((jlong)descent); in nGetExtent()
152 static jlong nGetReleaseFunc(CRITICAL_JNI_PARAMS) { in nGetReleaseFunc()
156 static jint nGetMemoryUsage(CRITICAL_JNI_PARAMS_COMMA jlong ptr) { in nGetMemoryUsage()