]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/library/gdip_stats.cpp
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / library / gdip_stats.cpp
1 /*******************************************************************************
2  * Copyright (c) 2000, 2019 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *    IBM Corporation - initial API and implementation
13  *******************************************************************************/
14
15 /* Note: This file was auto-generated by org.eclipse.swt.tools.internal.JNIGenerator */
16 /* DO NOT EDIT - your changes will be lost. */
17
18 #include "swt.h"
19 #include "gdip_stats.h"
20
21 #ifdef NATIVE_STATS
22
23 char * Gdip_nativeFunctionNames[] = {
24         "BitmapData_1delete",
25         "BitmapData_1new",
26         "Bitmap_1GetHBITMAP",
27         "Bitmap_1GetHICON",
28         "Bitmap_1LockBits",
29         "Bitmap_1UnlockBits",
30         "Bitmap_1delete",
31         "Bitmap_1new__IIIIJ",
32         "Bitmap_1new__J",
33         "Bitmap_1new__JJ",
34         "Bitmap_1new___3CZ",
35         "Brush_1Clone",
36         "Brush_1GetType",
37         "ColorPalette_1sizeof",
38         "FontFamily_1GetFamilyName",
39         "FontFamily_1IsAvailable",
40         "FontFamily_1delete",
41         "FontFamily_1new__",
42         "FontFamily_1new___3CJ",
43         "Font_1GetFamily",
44         "Font_1GetLogFontW",
45         "Font_1GetSize",
46         "Font_1GetStyle",
47         "Font_1IsAvailable",
48         "Font_1delete",
49         "Font_1new__JFII",
50         "Font_1new__JJ",
51         "Font_1new___3CFIIJ",
52         "GdiplusShutdown",
53         "GdiplusStartup",
54         "GdiplusStartupInput_1sizeof",
55         "GraphicsPath_1AddArc",
56         "GraphicsPath_1AddBezier",
57         "GraphicsPath_1AddLine",
58         "GraphicsPath_1AddPath",
59         "GraphicsPath_1AddRectangle",
60         "GraphicsPath_1AddString",
61         "GraphicsPath_1Clone",
62         "GraphicsPath_1CloseFigure",
63         "GraphicsPath_1Flatten",
64         "GraphicsPath_1GetBounds",
65         "GraphicsPath_1GetLastPoint",
66         "GraphicsPath_1GetPathPoints",
67         "GraphicsPath_1GetPathTypes",
68         "GraphicsPath_1GetPointCount",
69         "GraphicsPath_1IsOutlineVisible",
70         "GraphicsPath_1IsVisible",
71         "GraphicsPath_1SetFillMode",
72         "GraphicsPath_1StartFigure",
73         "GraphicsPath_1Transform",
74         "GraphicsPath_1delete",
75         "GraphicsPath_1new__I",
76         "GraphicsPath_1new___3I_3BII",
77         "Graphics_1DrawArc",
78         "Graphics_1DrawDriverString__JJIJJLorg_eclipse_swt_internal_gdip_PointF_2IJ",
79         "Graphics_1DrawDriverString__JJIJJ_3FIJ",
80         "Graphics_1DrawEllipse",
81         "Graphics_1DrawImage__JJII",
82         "Graphics_1DrawImage__JJLorg_eclipse_swt_internal_gdip_Rect_2IIIIIJJJ",
83         "Graphics_1DrawLine",
84         "Graphics_1DrawLines",
85         "Graphics_1DrawPath",
86         "Graphics_1DrawPolygon",
87         "Graphics_1DrawRectangle",
88         "Graphics_1DrawString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2J",
89         "Graphics_1DrawString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2JJ",
90         "Graphics_1FillEllipse",
91         "Graphics_1FillPath",
92         "Graphics_1FillPie",
93         "Graphics_1FillPolygon",
94         "Graphics_1FillRectangle",
95         "Graphics_1Flush",
96         "Graphics_1GetClip",
97         "Graphics_1GetClipBounds__JLorg_eclipse_swt_internal_gdip_RectF_2",
98         "Graphics_1GetClipBounds__JLorg_eclipse_swt_internal_gdip_Rect_2",
99         "Graphics_1GetHDC",
100         "Graphics_1GetInterpolationMode",
101         "Graphics_1GetSmoothingMode",
102         "Graphics_1GetTextRenderingHint",
103         "Graphics_1GetTransform",
104         "Graphics_1GetVisibleClipBounds",
105         "Graphics_1MeasureDriverString",
106         "Graphics_1MeasureString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2JLorg_eclipse_swt_internal_gdip_RectF_2",
107         "Graphics_1MeasureString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2Lorg_eclipse_swt_internal_gdip_RectF_2",
108         "Graphics_1ReleaseHDC",
109         "Graphics_1ResetClip",
110         "Graphics_1Restore",
111         "Graphics_1Save",
112         "Graphics_1ScaleTransform",
113         "Graphics_1SetClip__JJI",
114         "Graphics_1SetClip__JLorg_eclipse_swt_internal_gdip_Rect_2I",
115         "Graphics_1SetClipPath__JJ",
116         "Graphics_1SetClipPath__JJI",
117         "Graphics_1SetCompositingQuality",
118         "Graphics_1SetInterpolationMode",
119         "Graphics_1SetPageUnit",
120         "Graphics_1SetPixelOffsetMode",
121         "Graphics_1SetSmoothingMode",
122         "Graphics_1SetTextRenderingHint",
123         "Graphics_1SetTransform",
124         "Graphics_1TranslateTransform",
125         "Graphics_1delete",
126         "Graphics_1new",
127         "HatchBrush_1delete",
128         "HatchBrush_1new",
129         "ImageAttributes_1SetColorMatrix",
130         "ImageAttributes_1SetWrapMode",
131         "ImageAttributes_1delete",
132         "ImageAttributes_1new",
133         "Image_1GetHeight",
134         "Image_1GetLastStatus",
135         "Image_1GetPalette",
136         "Image_1GetPaletteSize",
137         "Image_1GetPixelFormat",
138         "Image_1GetWidth",
139         "LinearGradientBrush_1ResetTransform",
140         "LinearGradientBrush_1ScaleTransform",
141         "LinearGradientBrush_1SetInterpolationColors",
142         "LinearGradientBrush_1SetWrapMode",
143         "LinearGradientBrush_1TranslateTransform",
144         "LinearGradientBrush_1delete",
145         "LinearGradientBrush_1new",
146         "Matrix_1GetElements",
147         "Matrix_1Invert",
148         "Matrix_1IsIdentity",
149         "Matrix_1Multiply",
150         "Matrix_1Rotate",
151         "Matrix_1Scale",
152         "Matrix_1SetElements",
153         "Matrix_1Shear",
154         "Matrix_1TransformPoints__JLorg_eclipse_swt_internal_gdip_PointF_2I",
155         "Matrix_1TransformPoints__J_3FI",
156         "Matrix_1TransformVectors",
157         "Matrix_1Translate",
158         "Matrix_1delete",
159         "Matrix_1new",
160         "MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2J",
161         "MoveMemory__Lorg_eclipse_swt_internal_gdip_ColorPalette_2JI",
162         "PathGradientBrush_1SetCenterColor",
163         "PathGradientBrush_1SetCenterPoint",
164         "PathGradientBrush_1SetGraphicsPath",
165         "PathGradientBrush_1SetInterpolationColors",
166         "PathGradientBrush_1SetSurroundColors",
167         "PathGradientBrush_1SetWrapMode",
168         "PathGradientBrush_1delete",
169         "PathGradientBrush_1new",
170         "Pen_1GetBrush",
171         "Pen_1SetBrush",
172         "Pen_1SetDashOffset",
173         "Pen_1SetDashPattern",
174         "Pen_1SetDashStyle",
175         "Pen_1SetLineCap",
176         "Pen_1SetLineJoin",
177         "Pen_1SetMiterLimit",
178         "Pen_1SetWidth",
179         "Pen_1delete",
180         "Pen_1new",
181         "Point_1delete",
182         "Point_1new",
183         "PrivateFontCollection_1AddFontFile",
184         "PrivateFontCollection_1delete",
185         "PrivateFontCollection_1new",
186         "Region_1GetHRGN",
187         "Region_1IsInfinite",
188         "Region_1delete",
189         "Region_1new__",
190         "Region_1new__J",
191         "Region_1newGraphicsPath",
192         "SolidBrush_1delete",
193         "SolidBrush_1new",
194         "StringFormat_1Clone",
195         "StringFormat_1GenericDefault",
196         "StringFormat_1GenericTypographic",
197         "StringFormat_1GetFormatFlags",
198         "StringFormat_1SetFormatFlags",
199         "StringFormat_1SetHotkeyPrefix",
200         "StringFormat_1SetTabStops",
201         "StringFormat_1delete",
202         "TextureBrush_1ResetTransform",
203         "TextureBrush_1ScaleTransform",
204         "TextureBrush_1SetTransform",
205         "TextureBrush_1TranslateTransform",
206         "TextureBrush_1delete",
207         "TextureBrush_1new",
208 };
209 #define NATIVE_FUNCTION_COUNT sizeof(Gdip_nativeFunctionNames) / sizeof(char*)
210 int Gdip_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
211 int Gdip_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
212
213 #define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
214
215 JNIEXPORT jint JNICALL STATS_NATIVE(Gdip_1GetFunctionCount)
216         (JNIEnv *env, jclass that)
217 {
218         return Gdip_nativeFunctionCount;
219 }
220
221 JNIEXPORT jstring JNICALL STATS_NATIVE(Gdip_1GetFunctionName)
222         (JNIEnv *env, jclass that, jint index)
223 {
224         return env->NewStringUTF(Gdip_nativeFunctionNames[index]);
225 }
226
227 JNIEXPORT jint JNICALL STATS_NATIVE(Gdip_1GetFunctionCallCount)
228         (JNIEnv *env, jclass that, jint index)
229 {
230         return Gdip_nativeFunctionCallCount[index];
231 }
232
233 #endif