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
????2s0com/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?mips64el?	-gnuabi64?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_
Zcontains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1k
i2/4SIZE6	?7/usr/lib9/lib;?7
=	/usr/lib/?/lib/A??
C(Ljava/lang/Object;)I8E
?F(I)Ljava/lang/Object;=H
?I(ILjava/lang/Object;)V?K
?LsizeNV
?OtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;QR
?SisDirectoryUk
?VsetPropertyX?
?Y
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!bbbb !b"#c$#
%&d_!?(Y?,*?02?0?52?0,?0?9?e !:!;!fe)<d??*?=*??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ç:
?
????????eR???	???????-???C??g?fJhUijk"l-mCnIoOp_qfrmw?x?y??????h@?@ZZ
@?+?NZZ
??bi
??dz*??RL+?T?+?T?X??e	??gf?	???h?bj
??dA
Ʋ??!???(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?e?
+,-
?.-*.-?.-?.-7/0N.1??,-
??0?2?8?3!>??D?4?F5!????g ?8?3"?F5"f?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?6h?$$?DZ
?Z?(Z
?Z???"?5ZK??"??	-/B??&?O?
+K?*K?>K??<Z
?Z?Z??????B??0*bkDd???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???>???????e>??<U{gVQ??W?	?X0fB;	<=>"?'AUB\CaG{H?J?K?L?M?J?Qh?'?9??R@Z?Z5?CDd[+MZNZ?]:Z?;6?,?a?d?
,?gMZ?j`?g:,?;6?,?aM,?eR[??[YkUlMmCnCWKof.UVWXY,Z3\C]K^Q_Yah ?3ZZZZ?%Zpqd2*?w?y?efqpzd@*
+?~?y?e?f?p?dE&??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#e>?G?0d???w???&&?	g d???&?	?fV?	??!?7?=???E?d?w?|???????????????????h7	?!
?4?@?#?y?Z

?bk9??d???f?9??dB*?y?egf?bl??d?B??YM²?*?R??N-???Y????N??*-??W-+??W,ç
:,???7::>:e "5!BB?g"5"f"????"?-?5?A?h!?-??ZZ????d>
*+*?\???e
??
?f???dGu*?^??R??N-?-*,??L?ɸ?:+?d?
+?j?gL*?\6,??:6???2?ܙ
@?6????*+???eRJ#Uu??u:u??e??(M?A4;G.??gG.??f6
(1;	A
GR`
gmh???Z?????dI*+*?b??e ???f??d]+???Y??*?BY:?+-?}:*?B?R??:???Y*+-??:*?B??Wð:??TUUZUe>6?/&??]??]?]]f*
/0234/546A7O9U:h&??Z??ZZ??ud/*?^?e??f?bm??d?7??Y*+?????M??Y?(Y?,?0+?0$?0,?%?0?9??
?e ),-7??7fI
JKhM???db*?L	????Y??*?L+??e??:fT	UWh67dU+?(Y?,	?0*?J?0?0*?L??0?9?e+??f\C7d/*?H?e??f`?@dP*?J????Y*?J???e??fgh	ih	*d3*??e??f
no*dN??YL»Y????K+çM+?,?*?$L+?)? +?,??M,???N-?-???ݱe*.B
?:?? ..g -:?? .-f&	tuv w:xByFzJ|M}h$??? ?&"?*d???0Y?1L??YM²??5?$N-?)?4-?,?:?8??:??*?+?;?<W???+?$N-?)?-?,?Z:????W???,ç
:,??*YM?*?L	??*?L?B*	?L,ç
:,??????????????e4<??0#,DqE????F.g <??0#,C?FGfF???0?<?E?S?V?q?|??????????????h/
? &6??&?!D???D??
??d?P*L??LL+?v??K??MY+?P?RM??Y??N,?U? ,?X:L?v?-??W???-?e47?P?HY".Z[*&\!g*&\"f.????"?*?1?7?B?K?N?h?Z?M? bn
??dN???Y*?????*?*?]M+?]N-?)?q-?,?Z:??Y,?^:?>?	?????C,???:??Y?(Y?,,,??a?a?0c?0?9?^:?>?	?????,?e4<T?00`??d?3!?:g?3"f:????0?<?D?J?P?Y?????????h?Z&?-Z??E?bo[Dd<????R*?d?*???
*c??*?*?gL+c??"?(Y?,++c?a?a?0??0?9?+???	???*?j?
*l??3*????*?d?!*??m?*n??
*p??*?*?g?e*+:?dfN????#?%?*?4?S?U?a?r?t?z???????????h
#?-Z?
hd?L*?d?C*r?a<?6`*?j?,`=*?j?*?v>?|?.????????e*3}~%#U8L:f*
?
??!?-?3?@?B?HJh?%????dջ?Y*??M,????ZY,??S??L?Y*??N??Y??:+?]:?)?9?,?Z:??Y??-??:???????W????9:??:?)?A?,??:		?:


r?a`?g:??9??9
:????e?
^??O'??(?
??????/?0	?d?3!	?
0(???1???~W???T?g?3"1???fV
	(1O^iv!y&~'?(?)?*?+?,?-?.?0?1h(?????&:?ZY?(Y?,@?0?0?9SY?(Y?,B?0?0?9SY?(Y?,:?0-?0?9SY?(Y?,?*?W?"?(Y?,+?0,?02?0?9L?PM????L+?v?0+?ZW??0?й?W?ep?q[?\z1UsJ?/]0?KUZ?^^?_b?`?=aQ9?4gsJf?'Z
[\!`'a2P9Q=RGTPUVWZX^Ybfngzi?k?v?w?zh?n?s??????????????????????????,?ha2?Z?2ZZZR(?ZZZZ(Z?QR?u???????D??Zqr	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy