Lines Matching refs:env

31 Java_java_awt_image_BufferedImage_initIDs(JNIEnv *env, jclass cls) {
32 g_BImgRasterID = (*env)->GetFieldID(env, cls, "raster",
34 g_BImgTypeID = (*env)->GetFieldID(env, cls, "imageType", "I");
35 g_BImgCMID = (*env)->GetFieldID(env, cls, "colorModel",
37 g_BImgGetRGBMID = (*env)->GetMethodID(env, cls, "getRGB",
39 g_BImgSetRGBMID = (*env)->GetMethodID(env, cls, "setRGB",
43 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
48 Java_java_awt_image_Raster_initIDs(JNIEnv *env, jclass cls) {
49 g_RasterWidthID = (*env)->GetFieldID(env, cls, "width", "I");
50 g_RasterHeightID = (*env)->GetFieldID(env, cls, "height", "I");
51 g_RasterNumBandsID = (*env)->GetFieldID(env, cls, "numBands", "I");
52 g_RasterGetDataMID = (*env)->GetMethodID(env, cls, "getDataElements",
54 g_RasterMinXID = (*env)->GetFieldID(env, cls, "minX", "I");
55 g_RasterMinYID = (*env)->GetFieldID(env, cls, "minY", "I");
56 g_RasterBaseOriginXID = (*env)->GetFieldID(env, cls,
58 g_RasterBaseOriginYID = (*env)->GetFieldID(env, cls,
60 g_RasterSampleModelID = (*env)->GetFieldID(env, cls,
62 g_RasterNumDataElementsID = (*env)->GetFieldID(env, cls, "numDataElements",
64 g_RasterNumBandsID = (*env)->GetFieldID(env, cls, "numBands", "I");
65 g_RasterDataBufferID = (*env)->GetFieldID(env, cls, "dataBuffer",
74 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
79 Java_sun_awt_image_ByteComponentRaster_initIDs(JNIEnv *env, jclass cls) {
80 g_BCRdataID = (*env)->GetFieldID(env, cls, "data", "[B");
81 g_BCRscanstrID = (*env)->GetFieldID(env, cls, "scanlineStride", "I");
82 g_BCRpixstrID = (*env)->GetFieldID(env, cls, "pixelStride", "I");
83 g_BCRbandoffsID = (*env)->GetFieldID(env, cls, "bandOffset", "I");
84 g_BCRdataOffsetsID = (*env)->GetFieldID(env, cls, "dataOffsets", "[I");
85 g_BCRtypeID = (*env)->GetFieldID(env, cls, "type", "I");
90 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
95 Java_sun_awt_image_BytePackedRaster_initIDs(JNIEnv *env, jclass cls) {
96 g_BPRdataID = (*env)->GetFieldID(env, cls, "data", "[B");
97 g_BPRscanstrID = (*env)->GetFieldID(env, cls, "scanlineStride", "I");
98 g_BPRpixstrID = (*env)->GetFieldID(env, cls, "pixelBitStride", "I");
99 g_BPRtypeID = (*env)->GetFieldID(env, cls, "type", "I");
100 g_BPRdataBitOffsetID = (*env)->GetFieldID(env, cls, "dataBitOffset", "I");
104 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
109 Java_sun_awt_image_ShortComponentRaster_initIDs(JNIEnv *env, jclass cls) {
110 g_SCRdataID = (*env)->GetFieldID(env, cls, "data", "[S");
111 g_SCRscanstrID = (*env)->GetFieldID(env, cls, "scanlineStride", "I");
112 g_SCRpixstrID = (*env)->GetFieldID(env, cls, "pixelStride", "I");
113 g_SCRbandoffsID = (*env)->GetFieldID(env, cls, "bandOffset", "I");
114 g_SCRdataOffsetsID = (*env)->GetFieldID(env, cls, "dataOffsets", "[I");
115 g_SCRtypeID = (*env)->GetFieldID(env, cls, "type", "I");
120 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
124 Java_sun_awt_image_IntegerComponentRaster_initIDs(JNIEnv *env, jclass cls) {
125 g_ICRdataID = (*env)->GetFieldID(env, cls, "data", "[I");
126 g_ICRscanstrID = (*env)->GetFieldID(env, cls, "scanlineStride", "I");
127 g_ICRpixstrID = (*env)->GetFieldID(env, cls, "pixelStride", "I");
128 g_ICRdataOffsetsID = (*env)->GetFieldID(env, cls, "dataOffsets", "[I");
129 g_ICRbandoffsID = (*env)->GetFieldID(env, cls, "bandOffset", "I");
130 g_ICRputDataMID = (*env)->GetMethodID(env, cls, "setDataElements",
132 g_ICRtypeID = (*env)->GetFieldID(env, cls, "type", "I");
137 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
142 Java_java_awt_image_SinglePixelPackedSampleModel_initIDs(JNIEnv *env,
144 g_SPPSMmaskArrID = (*env)->GetFieldID(env, cls, "bitMasks", "[I");
145 g_SPPSMmaskOffID = (*env)->GetFieldID(env, cls, "bitOffsets", "[I");
146 g_SPPSMnBitsID = (*env)->GetFieldID(env, cls, "bitSizes", "[I");
147 g_SPPSMmaxBitID = (*env)->GetFieldID(env, cls, "maxBitSize", "I");
151 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
156 Java_java_awt_image_ColorModel_initIDs(JNIEnv *env, jclass cls) {
157 g_CMpDataID = (*env)->GetFieldID (env, cls, "pData", "J");
158 g_CMnBitsID = (*env)->GetFieldID(env, cls, "nBits", "[I");
159 g_CMcspaceID = (*env)->GetFieldID(env, cls, "colorSpace",
161 g_CMnumComponentsID = (*env)->GetFieldID(env, cls, "numComponents", "I");
162 g_CMsuppAlphaID = (*env)->GetFieldID(env, cls, "supportsAlpha", "Z");
163 g_CMisAlphaPreID = (*env)->GetFieldID(env, cls, "isAlphaPremultiplied",
165 g_CMtransparencyID = (*env)->GetFieldID(env, cls, "transparency", "I");
166 g_CMgetRGBMID = (*env)->GetMethodID(env, cls, "getRGB",
168 g_CMcsTypeID = (*env)->GetFieldID(env, cls, "colorSpaceType", "I");
169 g_CMis_sRGBID = (*env)->GetFieldID(env, cls, "is_sRGB", "Z");
170 g_CMgetRGBdefaultMID = (*env)->GetStaticMethodID(env, cls,
180 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
185 Java_java_awt_image_IndexColorModel_initIDs(JNIEnv *env, jclass cls) {
186 g_ICMtransIdxID = (*env)->GetFieldID(env, cls, "transparent_index", "I");
187 g_ICMmapSizeID = (*env)->GetFieldID(env, cls, "map_size", "I");
188 g_ICMrgbID = (*env)->GetFieldID(env, cls, "rgb", "[I");
191 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
196 Java_java_awt_image_SampleModel_initIDs(JNIEnv *env, jclass cls) {
197 g_SMWidthID = (*env)->GetFieldID(env, cls, "width","I");
198 g_SMHeightID = (*env)->GetFieldID(env, cls, "height","I");
199 g_SMGetPixelsMID = (*env)->GetMethodID(env, cls, "getPixels",
201 g_SMSetPixelsMID = (*env)->GetMethodID(env, cls, "setPixels",
205 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
210 Java_java_awt_image_ComponentSampleModel_initIDs(JNIEnv *env, jclass cls) {
211 g_CSMPixStrideID = (*env)->GetFieldID(env, cls, "pixelStride", "I");
212 g_CSMScanStrideID = (*env)->GetFieldID(env, cls, "scanlineStride", "I");
213 g_CSMBandOffsetsID = (*env)->GetFieldID(env, cls, "bandOffsets", "[I");
216 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
221 Java_java_awt_image_Kernel_initIDs(JNIEnv *env, jclass cls) {
222 g_KernelWidthID = (*env)->GetFieldID(env, cls, "width", "I");
223 g_KernelHeightID = (*env)->GetFieldID(env, cls, "height", "I");
224 g_KernelDataID = (*env)->GetFieldID(env, cls, "data", "[F");
228 JNU_ThrowNullPointerException(env, "Unable to grab field ids");
233 Java_java_awt_image_DataBufferInt_initIDs(JNIEnv *env, jclass cls) {
234 g_DataBufferIntPdataID = (*env)->GetFieldID(env, cls, "pData", "J");
236 JNU_ThrowNullPointerException(env, "Unable to grab DataBufferInt.pData");