Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 84ee7e587d513efa4cbff4981a813afa5764376e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/*******************************************************************************
 * Copyright (c) 2009, 2018 IBM Corporation and others. All rights reserved.
 * The contents of this file are made available under the terms
 * of the GNU Lesser General Public License (LGPL) Version 2.1 that
 * accompanies this distribution (lgpl-v21.txt).  The LGPL is also
 * available at http://www.gnu.org/licenses/lgpl.html.  If the version
 * of the LGPL at http://www.gnu.org is different to the version of
 * the LGPL accompanying this distribution and there is any conflict
 * between the two license versions, the terms of the LGPL accompanying
 * this distribution shall govern.
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

/* Note: This file was auto-generated by org.eclipse.swt.tools.internal.JNIGenerator */
/* DO NOT EDIT - your changes will be lost. */

#include "swt.h"
#include "webkitgtk_stats.h"

#ifdef NATIVE_STATS

char * WebKitGTK_nativeFunctionNames[] = {
	"GdkRectangle_1sizeof",
	"JSClassDefinition_1sizeof",
	"_1JSClassCreate",
	"_1JSContextGetGlobalObject",
	"_1JSEvaluateScript",
	"_1JSObjectGetPrivate",
	"_1JSObjectGetProperty",
	"_1JSObjectGetPropertyAtIndex",
	"_1JSObjectMake",
	"_1JSObjectMakeArray",
	"_1JSObjectMakeFunctionWithCallback",
	"_1JSObjectSetProperty",
	"_1JSStringCreateWithUTF8CString",
	"_1JSStringGetLength",
	"_1JSStringGetMaximumUTF8CStringSize",
	"_1JSStringGetUTF8CString",
	"_1JSStringIsEqualToUTF8CString",
	"_1JSStringRelease",
	"_1JSValueGetType",
	"_1JSValueIsObjectOfClass",
	"_1JSValueMakeBoolean",
	"_1JSValueMakeNumber",
	"_1JSValueMakeString",
	"_1JSValueMakeUndefined",
	"_1JSValueToNumber",
	"_1JSValueToStringCopy",
	"_1SoupCookie_1expires",
	"_1SoupMessage_1method",
	"_1SoupMessage_1request_1body",
	"_1SoupMessage_1request_1headers",
	"_1soup_1auth_1authenticate",
	"_1soup_1auth_1get_1host",
	"_1soup_1auth_1get_1scheme_1name",
	"_1soup_1cookie_1free",
	"_1soup_1cookie_1jar_1add_1cookie",
	"_1soup_1cookie_1jar_1all_1cookies",
	"_1soup_1cookie_1jar_1delete_1cookie",
	"_1soup_1cookie_1jar_1get_1cookies",
	"_1soup_1cookie_1jar_1get_1type",
	"_1soup_1cookie_1parse",
	"_1soup_1message_1body_1append",
	"_1soup_1message_1body_1flatten",
	"_1soup_1message_1get_1uri",
	"_1soup_1message_1headers_1append",
	"_1soup_1session_1add_1feature_1by_1type",
	"_1soup_1session_1feature_1attach",
	"_1soup_1session_1feature_1detach",
	"_1soup_1session_1get_1feature",
	"_1soup_1session_1get_1type",
	"_1soup_1uri_1free",
	"_1soup_1uri_1new",
	"_1soup_1uri_1to_1string",
	"_1webkit_1authentication_1request_1authenticate",
	"_1webkit_1authentication_1request_1cancel",
	"_1webkit_1authentication_1request_1is_1retry",
	"_1webkit_1credential_1free",
	"_1webkit_1credential_1new",
	"_1webkit_1dom_1event_1target_1add_1event_1listener",
	"_1webkit_1dom_1mouse_1event_1get_1alt_1key",
	"_1webkit_1dom_1mouse_1event_1get_1button",
	"_1webkit_1dom_1mouse_1event_1get_1ctrl_1key",
	"_1webkit_1dom_1mouse_1event_1get_1meta_1key",
	"_1webkit_1dom_1mouse_1event_1get_1screen_1x",
	"_1webkit_1dom_1mouse_1event_1get_1screen_1y",
	"_1webkit_1dom_1mouse_1event_1get_1shift_1key",
	"_1webkit_1dom_1ui_1event_1get_1char_1code",
	"_1webkit_1dom_1ui_1event_1get_1detail",
	"_1webkit_1dom_1ui_1event_1get_1key_1code",
	"_1webkit_1download_1cancel",
	"_1webkit_1download_1get_1current_1size",
	"_1webkit_1download_1get_1network_1request",
	"_1webkit_1download_1get_1received_1data_1length",
	"_1webkit_1download_1get_1request",
	"_1webkit_1download_1get_1response",
	"_1webkit_1download_1get_1status",
	"_1webkit_1download_1get_1suggested_1filename",
	"_1webkit_1download_1get_1total_1size",
	"_1webkit_1download_1get_1type",
	"_1webkit_1download_1get_1uri",
	"_1webkit_1download_1get_1web_1view",
	"_1webkit_1download_1new",
	"_1webkit_1download_1set_1allow_1overwrite",
	"_1webkit_1download_1set_1destination",
	"_1webkit_1download_1set_1destination_1uri",
	"_1webkit_1download_1start",
	"_1webkit_1favicon_1database_1set_1path",
	"_1webkit_1get_1default_1session",
	"_1webkit_1get_1favicon_1database",
	"_1webkit_1get_1major_1version",
	"_1webkit_1get_1micro_1version",
	"_1webkit_1get_1minor_1version",
	"_1webkit_1hit_1test_1result_1context_1is_1link",
	"_1webkit_1hit_1test_1result_1get_1link_1title",
	"_1webkit_1hit_1test_1result_1get_1link_1uri",
	"_1webkit_1javascript_1result_1get_1global_1context",
	"_1webkit_1javascript_1result_1get_1value",
	"_1webkit_1javascript_1result_1unref",
	"_1webkit_1major_1version",
	"_1webkit_1micro_1version",
	"_1webkit_1minor_1version",
	"_1webkit_1navigation_1policy_1decision_1get_1request",
	"_1webkit_1network_1request_1get_1message",
	"_1webkit_1network_1request_1get_1uri",
	"_1webkit_1network_1request_1new",
	"_1webkit_1policy_1decision_1download",
	"_1webkit_1policy_1decision_1ignore",
	"_1webkit_1response_1policy_1decision_1get_1request",
	"_1webkit_1response_1policy_1decision_1get_1response",
	"_1webkit_1soup_1auth_1dialog_1get_1type",
	"_1webkit_1uri_1request_1get_1http_1headers",
	"_1webkit_1uri_1request_1get_1uri",
	"_1webkit_1uri_1request_1new",
	"_1webkit_1uri_1response_1get_1content_1length",
	"_1webkit_1uri_1response_1get_1mime_1type",
	"_1webkit_1web_1context_1allow_1tls_1certificate_1for_1host",
	"_1webkit_1web_1context_1get_1default",
	"_1webkit_1web_1context_1get_1type",
	"_1webkit_1web_1context_1get_1website_1data_1manager",
	"_1webkit_1web_1context_1set_1tls_1errors_1policy",
	"_1webkit_1web_1context_1set_1web_1extensions_1directory",
	"_1webkit_1web_1context_1set_1web_1extensions_1initialization_1user_1data",
	"_1webkit_1web_1data_1source_1get_1data",
	"_1webkit_1web_1data_1source_1get_1encoding",
	"_1webkit_1web_1frame_1get_1data_1source",
	"_1webkit_1web_1frame_1get_1global_1context",
	"_1webkit_1web_1frame_1get_1load_1status",
	"_1webkit_1web_1frame_1get_1parent",
	"_1webkit_1web_1frame_1get_1title",
	"_1webkit_1web_1frame_1get_1type",
	"_1webkit_1web_1frame_1get_1uri",
	"_1webkit_1web_1frame_1get_1web_1view",
	"_1webkit_1web_1policy_1decision_1download",
	"_1webkit_1web_1policy_1decision_1ignore",
	"_1webkit_1web_1resource_1get_1data",
	"_1webkit_1web_1resource_1get_1data_1finish",
	"_1webkit_1web_1view_1can_1go_1back",
	"_1webkit_1web_1view_1can_1go_1forward",
	"_1webkit_1web_1view_1can_1show_1mime_1type",
	"_1webkit_1web_1view_1execute_1script",
	"_1webkit_1web_1view_1get_1context",
	"_1webkit_1web_1view_1get_1dom_1document",
	"_1webkit_1web_1view_1get_1estimated_1load_1progress",
	"_1webkit_1web_1view_1get_1load_1status",
	"_1webkit_1web_1view_1get_1main_1frame",
	"_1webkit_1web_1view_1get_1main_1resource",
	"_1webkit_1web_1view_1get_1page_1id",
	"_1webkit_1web_1view_1get_1progress",
	"_1webkit_1web_1view_1get_1settings",
	"_1webkit_1web_1view_1get_1title",
	"_1webkit_1web_1view_1get_1type",
	"_1webkit_1web_1view_1get_1uri",
	"_1webkit_1web_1view_1get_1window_1features",
	"_1webkit_1web_1view_1get_1window_1properties",
	"_1webkit_1web_1view_1go_1back",
	"_1webkit_1web_1view_1go_1forward",
	"_1webkit_1web_1view_1load_1bytes",
	"_1webkit_1web_1view_1load_1html",
	"_1webkit_1web_1view_1load_1request",
	"_1webkit_1web_1view_1load_1string",
	"_1webkit_1web_1view_1load_1uri",
	"_1webkit_1web_1view_1new",
	"_1webkit_1web_1view_1reload",
	"_1webkit_1web_1view_1run_1javascript",
	"_1webkit_1web_1view_1run_1javascript_1finish",
	"_1webkit_1web_1view_1stop_1loading",
	"_1webkit_1website_1data_1manager_1clear",
	"_1webkit_1window_1properties_1get_1geometry",
	"memmove",
};
#define NATIVE_FUNCTION_COUNT sizeof(WebKitGTK_nativeFunctionNames) / sizeof(char*)
int WebKitGTK_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
int WebKitGTK_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];

#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func

JNIEXPORT jint JNICALL STATS_NATIVE(WebKitGTK_1GetFunctionCount)
	(JNIEnv *env, jclass that)
{
	return WebKitGTK_nativeFunctionCount;
}

JNIEXPORT jstring JNICALL STATS_NATIVE(WebKitGTK_1GetFunctionName)
	(JNIEnv *env, jclass that, jint index)
{
	return (*env)->NewStringUTF(env, WebKitGTK_nativeFunctionNames[index]);
}

JNIEXPORT jint JNICALL STATS_NATIVE(WebKitGTK_1GetFunctionCallCount)
	(JNIEnv *env, jclass that, jint index)
{
	return WebKitGTK_nativeFunctionCallCount[index];
}

#endif

Back to the top