1 /*******************************************************************************
2  * Copyright (c) 2000, 2020 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 "os_stats.h"
20 
21 #ifdef NATIVE_STATS
22 
23 char * OS_nativeFunctionNames[] = {
24 	"AcquireRootMenu",
25 	"CALLBACK_1NSTextAttachmentCell_1attachment",
26 	"CALLBACK_1NSTextAttachmentCell_1cellSize",
27 	"CALLBACK_1accessibilityHitTest_1",
28 	"CALLBACK_1attributedSubstringFromRange_1",
29 	"CALLBACK_1cacheDisplayInRect_1toBitmapImageRep_1",
30 	"CALLBACK_1canDragRowsWithIndexes_1atPoint_1",
31 	"CALLBACK_1cellBaselineOffset",
32 	"CALLBACK_1cellSize",
33 	"CALLBACK_1cellSizeForBounds_1",
34 	"CALLBACK_1characterIndexForPoint_1",
35 	"CALLBACK_1columnAtPoint_1",
36 	"CALLBACK_1draggedImage_1endedAt_1operation_1",
37 	"CALLBACK_1drawBackgroundInClipRect_1",
38 	"CALLBACK_1drawBezelWithFrame_1inView_1",
39 	"CALLBACK_1drawImage_1withFrame_1inView_1",
40 	"CALLBACK_1drawInteriorWithFrame_1inView_1",
41 	"CALLBACK_1drawLabel_1inRect_1",
42 	"CALLBACK_1drawRect_1",
43 	"CALLBACK_1drawTitle_1withFrame_1inView_1",
44 	"CALLBACK_1drawViewBackgroundInRect_1",
45 	"CALLBACK_1drawWithExpansionFrame_1inView_1",
46 	"CALLBACK_1expansionFrameWithFrame_1inView_1",
47 	"CALLBACK_1firstRectForCharacterRange_1",
48 	"CALLBACK_1focusRingMaskBoundsForFrame_1inView_1",
49 	"CALLBACK_1headerRectOfColumn_1",
50 	"CALLBACK_1highlightSelectionInClipRect_1",
51 	"CALLBACK_1hitTestForEvent_1inRect_1ofView_1",
52 	"CALLBACK_1hitTest_1",
53 	"CALLBACK_1imageRectForBounds_1",
54 	"CALLBACK_1markedRange",
55 	"CALLBACK_1scrollClipView_1toPoint_1",
56 	"CALLBACK_1selectedRange",
57 	"CALLBACK_1setFrameOrigin_1",
58 	"CALLBACK_1setFrameSize_1",
59 	"CALLBACK_1setMarkedText_1selectedRange_1",
60 	"CALLBACK_1setNeedsDisplayInRect_1",
61 	"CALLBACK_1shouldChangeTextInRange_1replacementString_1",
62 	"CALLBACK_1sizeOfLabel_1",
63 	"CALLBACK_1textView_1willChangeSelectionFromCharacterRange_1toCharacterRange_1",
64 	"CALLBACK_1titleRectForBounds_1",
65 	"CALLBACK_1view_1stringForToolTip_1point_1userData_1",
66 	"CALLBACK_1webView_1setFrame_1",
67 	"CFDataGetBytePtr",
68 	"CFDataGetLength",
69 	"CFRelease",
70 	"CFRunLoopAddObserver",
71 	"CFRunLoopGetCurrent",
72 	"CFRunLoopObserverCreate",
73 	"CFRunLoopObserverInvalidate",
74 	"CFURLCreateFromFSRef",
75 	"CFURLCreateStringByAddingPercentEscapes",
76 	"CGAffineTransform_1sizeof",
77 	"CGBitmapContextCreate",
78 	"CGColorCreate",
79 	"CGColorRelease",
80 	"CGColorSpaceCreateDeviceRGB",
81 	"CGColorSpaceRelease",
82 	"CGContextAddPath",
83 	"CGContextBeginTransparencyLayerWithRect",
84 	"CGContextCopyPath",
85 	"CGContextDrawImage",
86 	"CGContextEndTransparencyLayer",
87 	"CGContextFillRect",
88 	"CGContextRelease",
89 	"CGContextReplacePathWithStrokedPath",
90 	"CGContextRestoreGState",
91 	"CGContextSaveGState",
92 	"CGContextScaleCTM",
93 	"CGContextSetBlendMode",
94 	"CGContextSetFillColor",
95 	"CGContextSetFillColorSpace",
96 	"CGContextSetLineCap",
97 	"CGContextSetLineDash",
98 	"CGContextSetLineJoin",
99 	"CGContextSetLineWidth",
100 	"CGContextSetMiterLimit",
101 	"CGContextStrokePath",
102 	"CGContextTranslateCTM",
103 	"CGDataProviderCreateWithData",
104 	"CGDataProviderRelease",
105 	"CGDisplayBounds",
106 	"CGDisplayCreateImage",
107 	"CGEventCreateKeyboardEvent",
108 	"CGEventCreateMouseEvent",
109 	"CGEventCreateScrollWheelEvent",
110 	"CGEventGetIntegerValueField",
111 	"CGEventPost",
112 	"CGEventSourceCreate",
113 	"CGGetDisplaysWithRect",
114 	"CGImageCreate",
115 	"CGImageGetHeight",
116 	"CGImageGetWidth",
117 	"CGImageRelease",
118 	"CGPathAddCurveToPoint",
119 	"CGPathAddLineToPoint",
120 	"CGPathApply",
121 	"CGPathCloseSubpath",
122 	"CGPathCreateMutable",
123 	"CGPathElement_1sizeof",
124 	"CGPathMoveToPoint",
125 	"CGPathRelease",
126 	"CGPoint_1sizeof",
127 	"CGRect_1sizeof",
128 	"CGSize_1sizeof",
129 	"CPSSetProcessName",
130 	"CTFontManagerRegisterFontsForURL",
131 	"CancelMenuTracking",
132 	"CloseRgn",
133 	"CopyRgn",
134 	"DeleteGlobalRef",
135 	"DiffRgn",
136 	"DisposeRgn",
137 	"EmptyRgn",
138 	"GetCurrentProcess",
139 	"GetIconRefFromTypeInfo",
140 	"GetRegionBounds",
141 	"GetSystemUIMode",
142 	"GetThemeMetric",
143 	"HIThemeDrawFocusRect",
144 	"JNIGetObject",
145 	"JSEvaluateScript",
146 	"JSStringCreateWithUTF8CString",
147 	"JSStringRelease",
148 	"LMGetKbdType",
149 	"LSGetApplicationForInfo",
150 	"LineTo",
151 	"MoveTo",
152 	"NSAccessibilityAttributedStringForRangeParameterizedAttribute",
153 	"NSAccessibilityBackgroundColorTextAttribute",
154 	"NSAccessibilityBoundsForRangeParameterizedAttribute",
155 	"NSAccessibilityButtonRole",
156 	"NSAccessibilityCellForColumnAndRowParameterizedAttribute",
157 	"NSAccessibilityCheckBoxRole",
158 	"NSAccessibilityChildrenAttribute",
159 	"NSAccessibilityColumnIndexRangeAttribute",
160 	"NSAccessibilityColumnRole",
161 	"NSAccessibilityColumnsAttribute",
162 	"NSAccessibilityComboBoxRole",
163 	"NSAccessibilityConfirmAction",
164 	"NSAccessibilityContentsAttribute",
165 	"NSAccessibilityDescriptionAttribute",
166 	"NSAccessibilityDialogSubrole",
167 	"NSAccessibilityEnabledAttribute",
168 	"NSAccessibilityExpandedAttribute",
169 	"NSAccessibilityFocusedAttribute",
170 	"NSAccessibilityFocusedUIElementChangedNotification",
171 	"NSAccessibilityFontFamilyKey",
172 	"NSAccessibilityFontNameKey",
173 	"NSAccessibilityFontSizeKey",
174 	"NSAccessibilityFontTextAttribute",
175 	"NSAccessibilityForegroundColorTextAttribute",
176 	"NSAccessibilityGroupRole",
177 	"NSAccessibilityHeaderAttribute",
178 	"NSAccessibilityHelpAttribute",
179 	"NSAccessibilityHelpTagRole",
180 	"NSAccessibilityHorizontalOrientationValue",
181 	"NSAccessibilityImageRole",
182 	"NSAccessibilityIndexAttribute",
183 	"NSAccessibilityInsertionPointLineNumberAttribute",
184 	"NSAccessibilityLineForIndexParameterizedAttribute",
185 	"NSAccessibilityLinkRole",
186 	"NSAccessibilityLinkTextAttribute",
187 	"NSAccessibilityMaxValueAttribute",
188 	"NSAccessibilityMenuBarRole",
189 	"NSAccessibilityMenuButtonRole",
190 	"NSAccessibilityMenuItemRole",
191 	"NSAccessibilityMenuRole",
192 	"NSAccessibilityMinValueAttribute",
193 	"NSAccessibilityMisspelledTextAttribute",
194 	"NSAccessibilityMovedNotification",
195 	"NSAccessibilityNextContentsAttribute",
196 	"NSAccessibilityNumberOfCharactersAttribute",
197 	"NSAccessibilityOrientationAttribute",
198 	"NSAccessibilityOutlineRole",
199 	"NSAccessibilityOutlineRowSubrole",
200 	"NSAccessibilityParentAttribute",
201 	"NSAccessibilityPositionAttribute",
202 	"NSAccessibilityPostNotification",
203 	"NSAccessibilityPressAction",
204 	"NSAccessibilityPreviousContentsAttribute",
205 	"NSAccessibilityProgressIndicatorRole",
206 	"NSAccessibilityRadioButtonRole",
207 	"NSAccessibilityRangeForIndexParameterizedAttribute",
208 	"NSAccessibilityRangeForLineParameterizedAttribute",
209 	"NSAccessibilityRangeForPositionParameterizedAttribute",
210 	"NSAccessibilityRoleAttribute",
211 	"NSAccessibilityRoleDescription",
212 	"NSAccessibilityRoleDescriptionAttribute",
213 	"NSAccessibilityRowCountChangedNotification",
214 	"NSAccessibilityRowIndexRangeAttribute",
215 	"NSAccessibilityRowRole",
216 	"NSAccessibilityRowsAttribute",
217 	"NSAccessibilityScrollBarRole",
218 	"NSAccessibilitySelectedAttribute",
219 	"NSAccessibilitySelectedChildrenAttribute",
220 	"NSAccessibilitySelectedChildrenChangedNotification",
221 	"NSAccessibilitySelectedColumnsAttribute",
222 	"NSAccessibilitySelectedRowsAttribute",
223 	"NSAccessibilitySelectedRowsChangedNotification",
224 	"NSAccessibilitySelectedTextAttribute",
225 	"NSAccessibilitySelectedTextChangedNotification",
226 	"NSAccessibilitySelectedTextRangeAttribute",
227 	"NSAccessibilitySelectedTextRangesAttribute",
228 	"NSAccessibilityServesAsTitleForUIElementsAttribute",
229 	"NSAccessibilityShowMenuAction",
230 	"NSAccessibilitySizeAttribute",
231 	"NSAccessibilitySliderRole",
232 	"NSAccessibilitySplitterRole",
233 	"NSAccessibilityStaticTextRole",
234 	"NSAccessibilityStrikethroughColorTextAttribute",
235 	"NSAccessibilityStrikethroughTextAttribute",
236 	"NSAccessibilityStringForRangeParameterizedAttribute",
237 	"NSAccessibilityStyleRangeForIndexParameterizedAttribute",
238 	"NSAccessibilitySubroleAttribute",
239 	"NSAccessibilityTabGroupRole",
240 	"NSAccessibilityTableRole",
241 	"NSAccessibilityTableRowSubrole",
242 	"NSAccessibilityTabsAttribute",
243 	"NSAccessibilityTextAreaRole",
244 	"NSAccessibilityTextFieldRole",
245 	"NSAccessibilityTitleAttribute",
246 	"NSAccessibilityTitleChangedNotification",
247 	"NSAccessibilityTitleUIElementAttribute",
248 	"NSAccessibilityToolbarRole",
249 	"NSAccessibilityTopLevelUIElementAttribute",
250 	"NSAccessibilityUnderlineColorTextAttribute",
251 	"NSAccessibilityUnderlineTextAttribute",
252 	"NSAccessibilityUnignoredAncestor",
253 	"NSAccessibilityUnignoredChildren",
254 	"NSAccessibilityUnknownRole",
255 	"NSAccessibilityUnknownSubrole",
256 	"NSAccessibilityValueAttribute",
257 	"NSAccessibilityValueChangedNotification",
258 	"NSAccessibilityVerticalOrientationValue",
259 	"NSAccessibilityVisibleCharacterRangeAttribute",
260 	"NSAccessibilityVisibleChildrenAttribute",
261 	"NSAccessibilityVisibleColumnsAttribute",
262 	"NSAccessibilityVisibleNameKey",
263 	"NSAccessibilityVisibleRowsAttribute",
264 	"NSAccessibilityWindowAttribute",
265 	"NSAccessibilityWindowRole",
266 	"NSAffineTransformStruct_1sizeof",
267 	"NSApplicationDidChangeScreenParametersNotification",
268 	"NSAttachmentAttributeName",
269 	"NSBackgroundColorAttributeName",
270 	"NSBaselineOffsetAttributeName",
271 	"NSBeep",
272 	"NSBitsPerPixelFromDepth",
273 	"NSCursorAttributeName",
274 	"NSDefaultRunLoopMode",
275 	"NSDeviceRGBColorSpace",
276 	"NSDeviceResolution",
277 	"NSDragPboard",
278 	"NSEqualRects",
279 	"NSEventTrackingRunLoopMode",
280 	"NSFilenamesPboardType",
281 	"NSFontAttributeName",
282 	"NSForegroundColorAttributeName",
283 	"NSIntersectionRect",
284 	"NSLigatureAttributeName",
285 	"NSLinkAttributeName",
286 	"NSLocaleLanguageCode",
287 	"NSModalPanelRunLoopMode",
288 	"NSNotFound",
289 	"NSObliquenessAttributeName",
290 	"NSOperatingSystemVersion_1sizeof",
291 	"NSParagraphStyleAttributeName",
292 	"NSPasteboardTypeHTML",
293 	"NSPasteboardTypeRTF",
294 	"NSPasteboardTypeString",
295 	"NSPointInRect",
296 	"NSPoint_1sizeof",
297 	"NSPrintAllPages",
298 	"NSPrintCopies",
299 	"NSPrintFirstPage",
300 	"NSPrintJobDisposition",
301 	"NSPrintLastPage",
302 	"NSPrintMustCollate",
303 	"NSPrintOrientation",
304 	"NSPrintPreviewJob",
305 	"NSPrintSaveJob",
306 	"NSPrintSavePath",
307 	"NSPrintScalingFactor",
308 	"NSRange_1sizeof",
309 	"NSRectFillUsingOperation",
310 	"NSRect_1sizeof",
311 	"NSSearchPathForDirectoriesInDomains",
312 	"NSSize_1sizeof",
313 	"NSSquareStatusItemLength",
314 	"NSStrikethroughColorAttributeName",
315 	"NSStrikethroughStyleAttributeName",
316 	"NSStrokeWidthAttributeName",
317 	"NSSystemColorsDidChangeNotification",
318 	"NSTIFFPboardType",
319 	"NSToolbarFlexibleSpaceItemIdentifier",
320 	"NSToolbarSpaceItemIdentifier",
321 	"NSURLPboardType",
322 	"NSUnderlineColorAttributeName",
323 	"NSUnderlineStyleAttributeName",
324 	"NSViewGlobalFrameDidChangeNotification",
325 	"NSWindowDidBecomeKeyNotification",
326 	"NSWindowDidDeminiaturizeNotification",
327 	"NSWindowDidMiniaturizeNotification",
328 	"NSWindowDidMoveNotification",
329 	"NSWindowDidResignKeyNotification",
330 	"NSWindowDidResizeNotification",
331 	"NSWindowWillCloseNotification",
332 	"NewGlobalRef",
333 	"NewRgn",
334 	"OffsetRgn",
335 	"OpenRgn",
336 	"PMGetDuplex",
337 	"PMPrinterGetIndexedPrinterResolution",
338 	"PMPrinterGetOutputResolution",
339 	"PMPrinterGetPrinterResolutionCount",
340 	"PMSessionGetCurrentPrinter",
341 	"PMSessionGetDestinationType",
342 	"PMSetDuplex",
343 	"PtInRgn",
344 	"QDRegionToRects",
345 	"RectInRgn",
346 	"RectRgn",
347 	"SecPolicySearchCopyNext",
348 	"SecPolicySearchCreate",
349 	"SecTrustCreateWithCertificates",
350 	"SectRgn",
351 	"SetRect",
352 	"SetSystemUIMode",
353 	"TISCopyCurrentKeyboardInputSource",
354 	"TISGetInputSourceProperty",
355 	"UCKeyTranslate",
356 	"UTTypeEqual",
357 	"UnionRgn",
358 	"beginSheetModalForWindow",
359 	"call",
360 	"class_1addIvar",
361 	"class_1addMethod",
362 	"class_1addProtocol",
363 	"class_1createInstance",
364 	"class_1getClassMethod",
365 	"class_1getInstanceMethod",
366 	"class_1getMethodImplementation",
367 	"class_1getName",
368 	"class_1getSuperclass",
369 	"getpid",
370 	"instrumentObjcMessageSends",
371 	"isFlipped_1CALLBACK",
372 	"kCFAllocatorDefault",
373 	"kCFRunLoopCommonModes",
374 	"kTISPropertyUnicodeKeyLayoutData",
375 	"kUTTypeFileURL",
376 	"kUTTypeURL",
377 	"memmove__JLorg_eclipse_swt_internal_cocoa_CGPathElement_2J",
378 	"memmove__JLorg_eclipse_swt_internal_cocoa_NSPoint_2J",
379 	"memmove__JLorg_eclipse_swt_internal_cocoa_NSRange_2J",
380 	"memmove__JLorg_eclipse_swt_internal_cocoa_NSRect_2J",
381 	"memmove__JLorg_eclipse_swt_internal_cocoa_NSSize_2J",
382 	"memmove__Lorg_eclipse_swt_internal_cocoa_CGPathElement_2JJ",
383 	"memmove__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ",
384 	"memmove__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ",
385 	"memmove__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ",
386 	"memmove__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ",
387 	"method_1setImplementation",
388 	"objc_1allocateClassPair",
389 	"objc_1disposeClassPair",
390 	"objc_1getClass",
391 	"objc_1getMetaClass",
392 	"objc_1getProtocol",
393 	"objc_1lookUpClass",
394 	"objc_1msgSend__JJ",
395 	"objc_1msgSend__JJD",
396 	"objc_1msgSend__JJDD",
397 	"objc_1msgSend__JJDDDD",
398 	"objc_1msgSend__JJDJJJZ",
399 	"objc_1msgSend__JJI",
400 	"objc_1msgSend__JJJ",
401 	"objc_1msgSend__JJJD",
402 	"objc_1msgSend__JJJJ",
403 	"objc_1msgSend__JJJJDJ",
404 	"objc_1msgSend__JJJJJ",
405 	"objc_1msgSend__JJJJJJ",
406 	"objc_1msgSend__JJJJJJJ",
407 	"objc_1msgSend__JJJJJJJJ",
408 	"objc_1msgSend__JJJJJJJJJ",
409 	"objc_1msgSend__JJJJJJJZZJJJJ",
410 	"objc_1msgSend__JJJJJZ",
411 	"objc_1msgSend__JJJJLorg_eclipse_swt_internal_cocoa_NSRange_2",
412 	"objc_1msgSend__JJJJZ",
413 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
414 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2J",
415 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJJJJ",
416 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2JDJJSJJ",
417 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSSize_2JJJZ",
418 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRange_2",
419 	"objc_1msgSend__JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
420 	"objc_1msgSend__JJJZ",
421 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2",
422 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
423 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2DDDZ",
424 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J",
425 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J_3D",
426 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2J",
427 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2",
428 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2",
429 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J",
430 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2JJJJ_3B",
431 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2",
432 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRange_2Lorg_eclipse_swt_internal_cocoa_NSRange_2J_3J",
433 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2",
434 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2D",
435 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2DD",
436 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
437 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJ",
438 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZ",
439 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JJZJ",
440 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2JZJ",
441 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2",
442 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSRect_2JD",
443 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_NSSize_2",
444 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2Z",
445 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSRect_2ZZ",
446 	"objc_1msgSend__JJLorg_eclipse_swt_internal_cocoa_NSSize_2",
447 	"objc_1msgSend__JJZ",
448 	"objc_1msgSend__JJZJ",
449 	"objc_1msgSend__JJZLorg_eclipse_swt_internal_cocoa_NSRect_2",
450 	"objc_1msgSend__JJ_3B",
451 	"objc_1msgSend__JJ_3BJ",
452 	"objc_1msgSend__JJ_3C",
453 	"objc_1msgSend__JJ_3CJ",
454 	"objc_1msgSend__JJ_3CLorg_eclipse_swt_internal_cocoa_NSRange_2",
455 	"objc_1msgSend__JJ_3D",
456 	"objc_1msgSend__JJ_3DJD",
457 	"objc_1msgSend__JJ_3I",
458 	"objc_1msgSend__JJ_3IJ",
459 	"objc_1msgSend__JJ_3JII",
460 	"objc_1msgSend__JJ_3JJJ",
461 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2J",
462 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ",
463 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJ",
464 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJJ",
465 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJJJZ",
466 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
467 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J",
468 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
469 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJZ",
470 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSPoint_2",
471 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2",
472 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J",
473 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSSize_2",
474 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ",
475 	"objc_1msgSendSuper__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZLorg_eclipse_swt_internal_cocoa_NSRect_2",
476 	"objc_1msgSendSuper_1bool__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
477 	"objc_1msgSendSuper_1bool__Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRange_2J",
478 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJ",
479 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
480 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2",
481 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2J",
482 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2J",
483 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JLorg_eclipse_swt_internal_cocoa_NSRect_2",
484 	"objc_1msgSendSuper_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2Lorg_eclipse_swt_internal_cocoa_objc_1super_2JZ",
485 	"objc_1msgSend_1bool__JJ",
486 	"objc_1msgSend_1bool__JJJ",
487 	"objc_1msgSend_1bool__JJJJ",
488 	"objc_1msgSend_1bool__JJJJJ",
489 	"objc_1msgSend_1bool__JJJJJJ",
490 	"objc_1msgSend_1bool__JJJJJJJ",
491 	"objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
492 	"objc_1msgSend_1bool__JJJLorg_eclipse_swt_internal_cocoa_NSSize_2Z",
493 	"objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
494 	"objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSRect_2",
495 	"objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRange_2J",
496 	"objc_1msgSend_1bool__JJLorg_eclipse_swt_internal_cocoa_NSRect_2",
497 	"objc_1msgSend_1floatret",
498 	"objc_1msgSend_1fpret__JJ",
499 	"objc_1msgSend_1fpret__JJJ",
500 	"objc_1msgSend_1fpret__JJJJ",
501 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSAffineTransformStruct_2JJ",
502 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSOperatingSystemVersion_2JJ",
503 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJ",
504 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJJ",
505 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2",
506 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSPoint_2JJLorg_eclipse_swt_internal_cocoa_NSPoint_2J",
507 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJ",
508 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJJ",
509 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRange_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J",
510 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJ",
511 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJ",
512 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJ",
513 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJJZ",
514 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
515 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRange_2J",
516 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2",
517 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2J",
518 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2J",
519 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJ",
520 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSRect_2",
521 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2",
522 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2JJJJJ",
523 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJLorg_eclipse_swt_internal_cocoa_NSSize_2ZZJ",
524 	"objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSSize_2JJZ",
525 	"objc_1registerClassPair",
526 	"objc_1super_1sizeof",
527 	"object_1getClass",
528 	"object_1getClassName",
529 	"object_1getInstanceVariable",
530 	"object_1setClass",
531 	"object_1setInstanceVariable",
532 	"sel_1registerName",
533 };
534 #define NATIVE_FUNCTION_COUNT sizeof(OS_nativeFunctionNames) / sizeof(char*)
535 int OS_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
536 int OS_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
537 
538 #define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
539 
STATS_NATIVE(OS_1GetFunctionCount)540 JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCount)
541 	(JNIEnv *env, jclass that)
542 {
543 	return OS_nativeFunctionCount;
544 }
545 
STATS_NATIVE(OS_1GetFunctionName)546 JNIEXPORT jstring JNICALL STATS_NATIVE(OS_1GetFunctionName)
547 	(JNIEnv *env, jclass that, jint index)
548 {
549 	return (*env)->NewStringUTF(env, OS_nativeFunctionNames[index]);
550 }
551 
STATS_NATIVE(OS_1GetFunctionCallCount)552 JNIEXPORT jint JNICALL STATS_NATIVE(OS_1GetFunctionCallCount)
553 	(JNIEnv *env, jclass that, jint index)
554 {
555 	return OS_nativeFunctionCallCount[index];
556 }
557 
558 #endif
559