Lines Matching refs:env

42     (JNIEnv *env, jclass scalerClass) {
64 (JNIEnv *env, jobject scaler, jlong pContext, jint glyphCode) {
78 (JNIEnv *env, jclass cls) {
80 jclass tmpClass = (*env)->FindClass(env, "sun/font/TrueTypeFont");
82 (*env)->GetMethodID(env, tmpClass, "readBlock",
85 (*env)->GetMethodID(env, tmpClass, "readBytes", "(II)[B");
87 tmpClass = (*env)->FindClass(env, "sun/font/Type1Font");
89 (*env)->GetMethodID(env, tmpClass,
92 tmpClass = (*env)->FindClass(env, "java/awt/geom/Point2D$Float");
93 sunFontIDs.pt2DFloatClass = (jclass)(*env)->NewGlobalRef(env, tmpClass);
95 (*env)->GetMethodID(env, sunFontIDs.pt2DFloatClass, "<init>","(FF)V");
98 (*env)->GetFieldID(env, sunFontIDs.pt2DFloatClass, "x", "F");
100 (*env)->GetFieldID(env, sunFontIDs.pt2DFloatClass, "y", "F");
102 tmpClass = (*env)->FindClass(env, "sun/font/StrikeMetrics");
103 sunFontIDs.strikeMetricsClass=(jclass)(*env)->NewGlobalRef(env, tmpClass);
106 (*env)->GetMethodID(env, sunFontIDs.strikeMetricsClass,
109 tmpClass = (*env)->FindClass(env, "java/awt/geom/Rectangle2D$Float");
110 sunFontIDs.rect2DFloatClass = (jclass)(*env)->NewGlobalRef(env, tmpClass);
112 (*env)->GetMethodID(env, sunFontIDs.rect2DFloatClass, "<init>", "()V");
114 (*env)->GetMethodID(env, sunFontIDs.rect2DFloatClass,
117 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "x", "F");
119 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "y", "F");
121 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "width", "F");
123 (*env)->GetFieldID(env, sunFontIDs.rect2DFloatClass, "height", "F");
125 tmpClass = (*env)->FindClass(env, "java/awt/geom/GeneralPath");
126 sunFontIDs.gpClass = (jclass)(*env)->NewGlobalRef(env, tmpClass);
128 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "(I[BI[FI)V");
130 (*env)->GetMethodID(env, sunFontIDs.gpClass, "<init>", "()V");
132 tmpClass = (*env)->FindClass(env, "sun/font/Font2D");
134 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I");
136 (*env)->GetMethodID(env, tmpClass, "getMapper",
139 (*env)->GetMethodID(env, tmpClass, "getTableBytes", "(I)[B");
141 (*env)->GetMethodID(env, tmpClass, "canDisplay", "(C)Z");
143 tmpClass = (*env)->FindClass(env, "sun/font/CharToGlyphMapper");
145 (*env)->GetMethodID(env, tmpClass, "charToGlyph", "(I)I");
147 tmpClass = (*env)->FindClass(env, "sun/font/PhysicalStrike");
149 (*env)->GetMethodID(env, tmpClass, "getGlyphMetrics",
152 (*env)->GetMethodID(env, tmpClass, "getGlyphPoint",
155 (*env)->GetMethodID(env, tmpClass, "adjustPoint",
158 (*env)->GetFieldID(env, tmpClass, "pScalerContext", "J");
160 tmpClass = (*env)->FindClass(env, "sun/font/GlyphList");
161 sunFontIDs.glyphListX = (*env)->GetFieldID(env, tmpClass, "x", "F");
162 sunFontIDs.glyphListY = (*env)->GetFieldID(env, tmpClass, "y", "F");
163 sunFontIDs.glyphListLen = (*env)->GetFieldID(env, tmpClass, "len", "I");
165 (*env)->GetFieldID(env, tmpClass, "images", "[J");
167 (*env)->GetFieldID(env, tmpClass, "usePositions", "Z");
169 (*env)->GetFieldID(env, tmpClass, "positions", "[F");
171 (*env)->GetFieldID(env, tmpClass, "lcdRGBOrder", "Z");
173 (*env)->GetFieldID(env, tmpClass, "lcdSubPixPos", "Z");
188 (JNIEnv *env, jclass cacheClass, jint ptr) {
206 (JNIEnv *env, jclass cacheClass, jlong ptr) {
224 (JNIEnv *env, jclass cacheClass, jintArray jmemArray, jlong pContext) {
226 int len = (*env)->GetArrayLength(env, jmemArray);
228 (jint*)(*env)->GetPrimitiveArrayCritical(env, jmemArray, NULL);
243 (*env)->ReleasePrimitiveArrayCritical(env, jmemArray, ptrs, JNI_ABORT);
256 (JNIEnv *env, jclass cacheClass, jlongArray jmemArray, jlong pContext) {
258 int len = (*env)->GetArrayLength(env, jmemArray);
260 (jlong*)(*env)->GetPrimitiveArrayCritical(env, jmemArray, NULL);
274 (*env)->ReleasePrimitiveArrayCritical(env, jmemArray, ptrs, JNI_ABORT);
283 (JNIEnv *env, jclass cls, jlongArray results) {
289 if ((*env)->GetArrayLength(env, results) < 13) {
293 nresults = (jlong*)(*env)->GetPrimitiveArrayCritical(env, results, NULL);
299 (*env)->ReleasePrimitiveArrayCritical(env, results, nresults, 0);
317 (*env)->ReleasePrimitiveArrayCritical(env, results, nresults, 0);