All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.sun.jna.NativeLibrary.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2o0com/groupbyinc/flux/common/sun/jna/NativeLibraryjava/lang/ObjectNativeLibrary.java2com/groupbyinc/flux/common/sun/jna/NativeLibrary$22com/groupbyinc/flux/common/sun/jna/NativeLibrary$1java/util/Map$Entry

java/util/MapEntryhandleJlibraryNameLjava/lang/String;libraryPath	functionsLjava/util/Map;PLjava/util/Map;	callFlagsIencodingoptions$Ljava/util/Map;	librariespLjava/util/Map;>;searchPathsGLjava/util/Map;>;librarySearchPathLjava/util/List;$Ljava/util/List;DEFAULT_OPEN_OPTIONS????functionKey9(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;java/lang/StringBuilder'()V)*
(+append-(Ljava/lang/String;)Ljava/lang/StringBuilder;-.
(/|1(I)Ljava/lang/StringBuilder;-3
(4toString()Ljava/lang/String;67
(8nameflags7(Ljava/lang/String;Ljava/lang/String;JLjava/util/Map;)V
+java/util/HashMap>
?+	AgetLibraryName&(Ljava/lang/String;)Ljava/lang/String;CD
E	G	I	Kcalling-conventionMget&(Ljava/lang/Object;)Ljava/lang/Object;OP
Qjava/lang/NumberSintValue()IUV
TWjava/lang/StringY	[	]string-encoding_	a)com/groupbyinc/flux/common/sun/jna/NativecgetDefaultStringEncodinge7
df+com/groupbyinc/flux/common/sun/jna/Platformh	isWindows()Zjk
ilkernel32ntoLowerCasep7
Zqequals(Ljava/lang/Object;)Zst
ZuGetLastErrorw?(Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;Ljava/lang/String;ILjava/lang/String;)V)y
	z%&
|put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;~
?java/lang/Throwable?f-Lcom/groupbyinc/flux/common/sun/jna/Function;this2Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;optionLjava/lang/Object;callingConvention	openFlags(Ljava/util/Map;)I
open-flags?optloadLibraryU(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;java/lang/UnsatisfiedLinkError?java/io/IOException?
DEBUG_LOADZ??	d?java/lang/System?outLjava/io/PrintStream;??	??Looking for library '?'?java/io/PrintStream?println(Ljava/lang/String;)V??
??java/io/File?)?
??
isAbsolute?k
??java/util/ArrayList?
?+??
?getWebStartLibraryPath?D
d?Adding web start path ?java/util/List?add?t??	?addAll(ILjava/util/Collection;)Z????$Adding paths from jna.library.path: ?jna.library.path?getProperty?D
??	initPaths$(Ljava/lang/String;)Ljava/util/List;??
?(Ljava/util/Collection;)Z????findLibraryPath6(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;??
?Trying ?open(Ljava/lang/String;I)J??
d?Adding system paths: ? !	?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;-?
(?Failed to load library '?
??	isAndroid?k
i?!Preload (via System.loadLibrary) ???
??isLinux?k
i?	isFreeBSD?k
i?Looking for version variants?matchLibrary??
?isMac?k
i?.dylib?endsWith(Ljava/lang/String;)Z?
ZLooking for matching frameworksmatchFrameworkD
Looking for lib- prefixlib
classloaderjava/lang/ClassLoaderextractFromResourcePath9(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/io/File;
dgetAbsolutePath7
?
isUnpacked(Ljava/io/File;)Z
d
deleteLibrary
d
getMessage7
?Unable to load library '!': #
?Found library '&' at ()<
*e Ljava/lang/UnsatisfiedLinkError;e2embeddedLjava/io/File;Ljava/io/IOException;isAbsolutePath
searchPathwebstartPathcustomPaths
.framework6indexOf(Ljava/lang/String;)I89
Z:exists<k
?=
getParentFile()Ljava/io/File;?@
?AgetNameC7
?D#(Ljava/io/File;Ljava/lang/String;)V)F
?G	user.homeIK/SystemM.framework/O[Ljava/lang/String;Q/Library/Frameworks/SiPREFIXESsuffix	framework---YmapSharedLibraryName[D
\	substring(II)Ljava/lang/String;^_
Z`
startsWithb
Zc(I)Ljava/lang/String;^e
ZflengthhV
Zi
simplifiedBASEtemplate	prefixEndsuffixStartgetInstanceF(Ljava/lang/String;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;java/util/CollectionsremptyMap()Ljava/util/Map;tu
svp?
x](Ljava/lang/String;Ljava/lang/ClassLoader;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;singletonMap5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;{|
s}classLoaderLjava/lang/ClassLoader;(Ljava/util/Map;)V)?
??java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??isAIX?k
i?C_LIBRARY_NAME?	i?	?java/lang/ref/Reference?()Ljava/lang/Object;O?
??	???
?java/lang/ref/WeakReference?(Ljava/lang/Object;)V)?
??
DgetFile?@
?filerefMLjava/lang/ref/Reference;Ljava/lang/ref/Reference;librarylibraryOptions5Ljava/util/Map;
getProcess4()Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;pq
?C(Ljava/util/Map;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;
addSearchPath'(Ljava/lang/String;Ljava/lang/String;)VsynchronizedList"(Ljava/util/List;)Ljava/util/List;??
s?pathgetFunctionA(Ljava/lang/String;)Lcom/groupbyinc/flux/common/sun/jna/Function;B(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/sun/jna/Function;??
?functionName[(Ljava/lang/String;Ljava/lang/reflect/Method;)Lcom/groupbyinc/flux/common/sun/jna/Function;function-mapper?1com/groupbyinc/flux/common/sun/jna/FunctionMapper?getFunctionName`(Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;Ljava/lang/reflect/Method;)Ljava/lang/String;????jna.profiler.prefix?$$YJP$$?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
??java/lang/reflect/Method?getExceptionTypes()[Ljava/lang/Class;??
??[Ljava/lang/Class;?5com/groupbyinc/flux/common/sun/jna/LastErrorException?java/lang/Class?isAssignableFrom(Ljava/lang/Class;)Z??
??methodLjava/lang/reflect/Method;mapper3Lcom/groupbyinc/flux/common/sun/jna/FunctionMapper;prefixetypes[Ljava/lang/Class<*>;T(Ljava/lang/String;ILjava/lang/String;)Lcom/groupbyinc/flux/common/sun/jna/Function;??
?java/lang/NullPointerException?Function name may not be null?
??+com/groupbyinc/flux/common/sun/jna/Function?Z(Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;Ljava/lang/String;ILjava/lang/String;)V)?
??keyfunction
getOptionsgetGlobalVariableAddress@(Ljava/lang/String;)Lcom/groupbyinc/flux/common/sun/jna/Pointer;*com/groupbyinc/flux/common/sun/jna/Pointer?getSymbolAddress(Ljava/lang/String;)J??
?(J)V)?
??Error looking up '?
symbolNameLibrary has been unloaded
findSymbol(JLjava/lang/String;)J
dNative Library <@
(J)Ljava/lang/StringBuilder;-
(
>finalizedispose*

disposeAlljava/util/LinkedHashSetvalues()Ljava/util/Collection;
(Ljava/util/Collection;)V)

java/util/Setiterator()Ljava/util/Iterator;!" #java/util/Iterator%hasNext'k&(next*?&+^Ljava/util/Set;>;Ljava/util/Set;java/util/HashSet/
0+entrySet()Ljava/util/Set;23
4getValue6?7getKey9?: ?remove=P
>close@?
dAvLjava/util/Map$Entry;>;Ljava/util/Map$Entry;kkeys#Ljava/util/Set;	emptyList()Ljava/util/List;HI
sJjava/util/StringTokenizerL
pathSeparatorN	?O)?
MQ
hasMoreTokensSk
MT	nextTokenV7
MWvaluestLjava/util/StringTokenizer;list?#
?QlastIndexOf_9
Z`.jnilibblibNamemapLibraryNameeD
?fisVersionedNameh
i.sok.drvm.dllo.so.qcharAt(I)Cst
Zujava/lang/CharacterwisDigit(C)Zyz
x{chCso	getParent?7
??java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??
?java/util/LinkedList?
?+java/io/FilenameFilter?java/util/Collection?	listFiles)(Ljava/io/FilenameFilter;)[Ljava/io/File;??
???????#parseVersion(Ljava/lang/String;)D??
?files[Ljava/io/File;verversionDfilterLjava/io/FilenameFilter;matches&Ljava/util/Collection;Ljava/util/Collection;bestVersion	bestMatchjava/lang/NumberFormatException?.?parseInt?9
??@Ynum!Ljava/lang/NumberFormatException;vdivisordotgetMultiArchPathARCH?	i?
iskFreeBSD?k
i?	-kfreebsd?isGNU?k
i?-linux?-gnu?isIntel?k
i?is64Bit?k
i?x86_64?i386?isPPC?k
i?	powerpc64?powerpc?isARM?k
i?arm?-gnueabi?cpukernellibcgetLinuxLdPaths()Ljava/util/ArrayList;java/lang/Exception?java/lang/Runtime?
getRuntime()Ljava/lang/Runtime;??
??/sbin/ldconfig -p?exec'(Ljava/lang/String;)Ljava/lang/Process;??
??java/io/BufferedReader?java/io/InputStreamReader?java/lang/Process?getInputStream()Ljava/io/InputStream;??
??(Ljava/io/InputStream;)V)?
??(Ljava/io/Reader;)V)?
?readLine7
? => (I)I_
Zcontains
t
?
??@*
?	startPathendPathprocessLjava/lang/Process;readerLjava/io/BufferedReader;bufferldPaths)Ljava/util/ArrayList;Ljava/util/ArrayList;
access$000x0synchronizedMap (Ljava/util/Map;)Ljava/util/Map;
sPOINTER_SIZE!	d"java/lang/Error$Native library not initialized&
%?jnidispatch)jna.platform.library.path+	isSolaris-k
i./0SIZE2	?3/usr/lib5/lib7?7
9	/usr/lib/;/lib/=??
?(Ljava/lang/Object;)I8A
?B(I)Ljava/lang/Object;=D
?E(ILjava/lang/Object;)V?G
?HsizeJV
?KtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;MN
?OisDirectoryQk
?RsetPropertyT?
?U
multiArchPathfounddirplatformPathseparchPathpaths	Signature
ConstantValueCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTableL(Ljava/lang/String;Ljava/lang/String;JLjava/util/Map;)V'(Ljava/util/Map;)Ij(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;X(Ljava/util/Map;)Lcom/groupbyinc/flux/common/sun/jna/NativeLibrary;&()Ljava/util/Map;8(Ljava/lang/String;)Ljava/util/List;J(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;+()Ljava/util/ArrayList;
SourceFileInnerClasses!^^^^ !^"#_$#
%&`_!?(Y?,*?02?0?52?0,?0?9?a !:!;!be)<`??*?=*??Y?@?B**+?F?H*,?J*!?LN?R:?T??T?X?6*?\*?^*`?R?Z?b*?b?
*?g?b?m?To*?H?r?v?E*?BY:»	Y**x?*?b?{:	*?Bx*?\*?b?}	??Wç:
?
????????aR???	???????-???C??c?bJhUijk"l-mCnIoOp_qfrmw?x?y??????d@?@ZZ
@?+?NZZ
??^e
??`z*??RL+?T?+?T?X??a	??cb?	???d?^f
??`A
Ʋ??!???(Y?,??0*?0??0?9????Y*????=??Y??N+??6*??:?,??????(Y?,??0?0?9??-??W??*?R??:?!Y:?-??Wç:????? ???(Y?,Ƕ0ɸ̶0?9??-ɸй?W*-??:	7??????(Y?,ٶ0?0?9????7?0:
??????(Y?,߶0???9??-???W	??Z*-??:??????(Y?,ٶ0?0?9????7	??#??Y?(Y?,?0*?0??0?9?翧?:
??;??????(Y?,?0*?0?9??*????7?/::
?&??	???R????????*-??:???????(Y?,ٶ0?0?9????7??::
?˸??[*???R???????*?:????????(Y?,ٶ0?0?9????7?v::
?m?m?g?c?????	???(Y?,?0*?0?9-??:?5??????(Y?,ٶ0?0?9????7?	::
	??_*+
?R??:???7?:???W?:??	?W??:??Y? ??:
	??-??Y?(Y?,"?0*?0$?0
?%?0?9?翲??(???(Y?,'?0*?0)?0?0?9???Y*+?+?????????5???????%(?Z???????%6686IL?a?
+,-
?.-*.-?.-?.-7/0N.1??,-
??0?2?8?3!>??D?4?F5!????c ?8?3"?F5"b?a??$?0?8?>?D?I?O?i?r???????????????????????????
??+?5?<?C?I?c?l?s??1??????????????????????????????????%?(?*?.?1?@?F?O?U?Z?`z?????
??????????? !%$-%6$@%I+L)N*\.c/?3?4?6d?$$?DZ
?Z?(Z
?Z???"?5ZK??"??	-/B??&?O?
+K?*K?>K??<Z
?Z?Z??????B??0*^gD`???Y*??L+???T*7?;?+?>?+????Y??Y+?B?(Y?,+?E?07?0?9?H+?E?HL+?>??+???ZYJ??SYLSYNSM*7?;??(Y?,*?0P?0*?0?9?*N6,??8?(Y?,,2?0T?0-?0?9:??Y???>???????a>??<U{gVQ??W?	?X0bB;	<=>"?'AUB\CaG{H?J?K?L?M?J?Qd?'?9??R@Z?Z5?CD`[+MZNZ?]:Z?;6?,?a?d?
,?gMZ?j`?g:,?;6?,?aM,?aR[??[YkUlMmCnCWKob.UVWXY,Z3\C]K^Q_Yad ?3ZZZZ?%Zpq`2*?w?y?abqpz`@*
+?~?y?a?b?p?`E&??Y+??M,N?R?,N????W?????	?????*?v?K??YN²??(Y?,*?0,??9?R??:?????:??*??Y?,????,?+:?
*,??:??Y??:???(Y?,???0,??9??W??:?E???(Y?,??0,??9??W???(Y?,?E?0,??9??W-ð:-??E#a>?G?0d???w???&&?	c d???&?	?bV?	??!?7?=???E?d?w?|???????????????????d7	?!
?4?@?#?y?Z

?^g9??`???b?9??`B*?y?acb?^h??`?B??YM²?*?R??N-???Y????N??*-??W-+??W,ç
:,???7::>:a "5!BB?c"5"b"????"?-?5?A?d!?-??ZZ????`>
*+*?\???a
??
?b???`Gu*?^??R??N-?-*,??L?ɸ?:+?d?
+?j?gL*?\6,??:6???2?ܙ
@?6????*+???aRJ#Uu??u:u??e??(M?A4;G.??cG.??b6
(1;	A
GR`
gmd???Z?????`I*+*?b??a ???b??`]+???Y??*?BY:?+-?}:*?B?R??:???Y*+-??:*?B??Wð:??TUUZUa>6?/&??]??]?]]b*
/0234/546A7O9U:d&??Z??ZZ??u`/*?^?a??b?^i??`?7??Y*+?????M??Y?(Y?,?0+?0$?0,?%?0?9??
?a ),-7??7bI
JKdM???`b*?L	????Y??*?L+??a??:bT	UWd67`U+?(Y?,	?0*?J?0?0*?L??0?9?a+??b\C7`/*?H?a??b`?@`P*?J????Y*?J???a??bgh	id	*`3*??a??b
no*`N??YL»Y????K+çM+?,?*?$L+?)? +?,??M,???N-?-???ݱa*.B
?:?? ..c -:?? .-b&	tuv w:xByFzJ|M}d$??? ?&"?*`???0Y?1L??YM²??5?$N-?)?4-?,?:?8??:??*?+?;?<W???+?$N-?)?-?,?Z:????W???,ç
:,??*YM?*?L	??*?L?B*	?L,ç
:,??????????????a4<??0#,DqE????F.c <??0#,C?FGbF???0?<?E?S?V?q?|??????????????d/
? &6??&?!D???D??
??`?P*L??LL+?v??K??MY+?P?RM??Y??N,?U? ,?X:L?v?-??W???-?a47?P?HY".Z[*&\!c*&\"b.????"?*?1?7?B?K?N?d?Z?M? ^j
??`N???Y*?????*?*?]M+?]N-?)?q-?,?Z:??Y,?^:?>?	?????C,???:??Y?(Y?,,,??a?a?0c?0?9?^:?>?	?????,?a4<T?00`??d?3!?:c?3"b:????0?<?D?J?P?Y?????????d?Z&?-Z??E?^k[D`<????R*?d?*???
*c??*?*?gL+c??"?(Y?,++c?a?a?0??0?9?+???	???*?j?
*l??3*????*?d?!*??m?*n??
*p??*?*?g?a*+:?dbN????#?%?*?4?S?U?a?r?t?z???????????d
#?-Z?
h`?L*?d?C*r?a<?6`*?j?,`=*?j?*?v>?|?.????????a*3}~%#U8L:b*
?
??!?-?3?@?B?HJd?%????`ջ?Y*??M,????ZY,??S??L?Y*??N??Y??:+?]:?)?9?,?Z:??Y??-??:???????W????9:??:?)?A?,??:		?:


r?a`?g:??9??9
:????a?
^??O'??(?
??????/?0	?d?3!	?
0(???1???~W???T?c?3"1???bV
	(1O^iv!y&~'?(?)?*?+?,?-?.?0?1d(?????&?0?0?9SY?(Y?,6?0-?0?9SY?(Y?,8?0-?0?9SY6SY8S:??R?@:?d6?.2?C6??FW2?I??????L?Z?P?R:6??F??Y2??:?>?*?S?"?(Y?,+?0,?02?0?9L?PM????L+?v?,+?VW??,?й?W?ap?qW?Xz1UsJ?/Y0?KUZ?Z^?[b?\?=]Q9?4csJb?'Z
[\!`'a2P9Q=RGTPUVWZX^Ybfngzi?k?v?w?zh?n?s??????????????????????????,?da2?Z?2ZZZR(?ZZZZ(Z?QR?u???????D??Zmn	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy