Index
A
add(T)method in ProfiledArrayBuilderaddArgument(Object, Object)method in NFIBackendSignatureBuilderLibraryallocate(ProfiledArrayBuilder.ArrayFactory)method in ProfiledArrayBuilder.ArrayBuilderFactoryArrayBuilderFactoryabstract class in com.oracle.truffle.nfi.backend.spi.utilArrayFactoryinterface in com.oracle.truffle.nfi.backend.spi.utilasPointer(Object)method in BackendNativePointerLibraryasPointer(Object)method in NativePointerLibrary
B
BackendNativePointerLibraryabstract class in com.oracle.truffle.nfi.backend.spiBackendNativePointerLibrary()constructor in BackendNativePointerLibrary Creates a new BackendNativePointerLibrary instance.bind(Object, Object)method in SignatureLibrary Create an executable interop object from a signature and a function pointer.build(Object)method in NFIBackendSignatureBuilderLibrary
C
call(Object, Object, Object...)method in NFIBackendSignatureLibrary Call a native function with this signature.call(Object, Object, Object...)method in SignatureLibrary Interpret a pointer as function pointer with the given signature and call it.clearPendingException()method in NFIStatecreate()method in NFILanguageProvidercreate()method in ProfiledArrayBuilder.ArrayBuilderFactorycreate(int)method in ProfiledArrayBuilder.ArrayFactorycreateBackend(ContextThreadLocal)method in NFIBackendFactory Create an instance of anNFIBackend.createClosure(Object, Object)method in NFIBackendSignatureLibrary Create a function pointer closure that calls back into an executable object.createClosure(Object, Object)method in SignatureLibrary Create a native closure object with the given signature.createContext(TruffleLanguage.Env)method in NFILanguagecreateDefaultLibrary()method in TypeFactorycreateFileTypeDetectors()method in NFILanguageProvidercreateInternalResource(String)method in NFILanguageProvidercreateLibraryDescriptor(String, List)method in TypeFactorycreateSignatureBuilder(Object)method in NFIBackendLibrary
D
dispose()method in NFIStatedisposeThread(NFIContext, Thread)method in NFILanguageDOUBLEenum constant in NativeSimpleType
E
ensureRegistered()method in LongNativePointerLibraryGen.NativePointerLibraryEagerProviderensureRegistered()method in NFIPointerGen.NativePointerLibraryEagerProviderensureRegistered()method in NFISignatureGen.SignatureLibraryEagerProviderensureRegistered()method in NFISymbolGen.NativePointerLibraryEagerProvider
F
G
getArrayType(Object, NativeSimpleType)method in NFIBackendLibrarygetBackendId()method in NFIBackendFactory Provides the backend id.getEnvType(Object)method in NFIBackendLibrarygetFactory()method in SignatureLibrarygetFilename()method in NativeLibraryDescriptorgetFinalArray()method in ProfiledArrayBuildergetFlags()method in NativeLibraryDescriptor An optional array of implementation dependent flags.getInternalResourceIds()method in NFILanguageProvidergetLanguageClassName()method in NFILanguageProvidergetLibraryClassName()method in LongNativePointerLibraryGen.NativePointerLibraryEagerProvidergetLibraryClassName()method in NFIPointerGen.NativePointerLibraryEagerProvidergetLibraryClassName()method in NFISignatureGen.SignatureLibraryEagerProvidergetLibraryClassName()method in NFISymbolGen.NativePointerLibraryEagerProvidergetNFIErrno()method in NFIStategetPendingException()method in NFIStategetServicesClassNames()method in NFILanguageProvidergetSimpleType(Object, NativeSimpleType)method in NFIBackendLibrarygetSize()method in ProfiledArrayBuildergetUncached()method in ProfiledArrayBuilder.ArrayBuilderFactorygetUncached()method in SignatureLibrary
I
initializeMultipleContexts()method in NFILanguageisDefaultLibrary()method in NativeLibraryDescriptor Check whether this represents the default library.isPointer(Object)method in BackendNativePointerLibraryisPointer(Object)method in NativePointerLibraryisSerializable(Object)method in SerializableLibraryisThreadAccessAllowed(Thread, boolean)method in NFILanguage
L
LongNativePointerLibraryGenclass in com.oracle.truffle.nfi.api
M
makeVarargs(Object)method in NFIBackendSignatureBuilderLibraryMIME_TYPEfield in NFILanguage
N
NativeLibraryDescriptorclass in com.oracle.truffle.nfi.backend.spi.types Parsed representation of library descriptors of the Truffle NFI.NativePointerLibraryabstract class in com.oracle.truffle.nfi.api This library contains a subset ofInteropLibrarymessages exported by some NFI objects.NativePointerLibrary()constructor in NativePointerLibrary Creates a new NativePointerLibrary instance.NativePointerLibraryEagerProviderclass in com.oracle.truffle.nfiNativePointerLibraryEagerProviderclass in com.oracle.truffle.nfiNativePointerLibraryEagerProviderclass in com.oracle.truffle.nfi.apiNativePointerLibraryEagerProvider()constructor in LongNativePointerLibraryGen.NativePointerLibraryEagerProvider Creates a new NativePointerLibraryEagerProvider instance.NativePointerLibraryEagerProvider()constructor in NFIPointerGen.NativePointerLibraryEagerProvider Creates a new NativePointerLibraryEagerProvider instance.NativePointerLibraryEagerProvider()constructor in NFISymbolGen.NativePointerLibraryEagerProvider Creates a new NativePointerLibraryEagerProvider instance.NativeSimpleTypeenum class in com.oracle.truffle.nfi.backend.spi.typesNFIBackendinterface in com.oracle.truffle.nfi.backend.spi Implementation interface for Truffle NFI backends.NFIBackendFactoryinterface in com.oracle.truffle.nfi.backend.spi Service interface for languages that implement a backend for the Truffle NFI.NFIBackendLibraryabstract class in com.oracle.truffle.nfi.backend.spiNFIBackendLibrary()constructor in NFIBackendLibrary Creates a new NFIBackendLibrary instance.NFIBackendSignatureBuilderLibraryabstract class in com.oracle.truffle.nfi.backend.spiNFIBackendSignatureBuilderLibrary()constructor in NFIBackendSignatureBuilderLibrary Creates a new NFIBackendSignatureBuilderLibrary instance.NFIBackendSignatureLibraryabstract class in com.oracle.truffle.nfi.backend.spi Library that specifies the protocol between the Truffle NFI and its backend implementations.NFIBackendSignatureLibrary()constructor in NFIBackendSignatureLibrary Creates a new NFIBackendSignatureLibrary instance.NFILanguageclass in com.oracle.truffle.nfiNFILanguage()constructor in NFILanguage Creates a new NFILanguage instance.NFILanguageProviderclass in com.oracle.truffle.nfiNFILanguageProvider()constructor in NFILanguageProvider Creates a new NFILanguageProvider instance.NFIPointerGenclass in com.oracle.truffle.nfiNFISignatureGenclass in com.oracle.truffle.nfiNFIStateclass in com.oracle.truffle.nfi.backend.spi Thread-local state of the NFI that is shared between different backends.NFIState(Thread)constructor in NFIStateNFISymbolGenclass in com.oracle.truffle.nfiNULLABLEenum constant in NativeSimpleType
O
OBJECTenum constant in NativeSimpleType
P
parse(NativeLibraryDescriptor)method in NFIBackend Parse aNativeLibraryDescriptor.parse(TruffleLanguage.ParsingRequest)method in NFILanguagepatchContext(NFIContext, TruffleLanguage.Env)method in NFILanguagePOINTERenum constant in NativeSimpleTypeProfiledArrayBuilderclass in com.oracle.truffle.nfi.backend.spi.util
R
restorePendingException(Throwable)method in NFIState Restores a non-null saved exception, replacing any exception produced by the upcall.rethrowPendingException()method in NFILanguage
S
savePendingException()method in NFIState Saves and clears the pending exception so an upcall and its nested calls see a clean state.SerializableLibraryabstract class in com.oracle.truffle.nfi.apiSerializableLibrary()constructor in SerializableLibrary Creates a new SerializableLibrary instance.serialize(Object, Object)method in SerializableLibrarysetNFIErrno(int)method in NFIStatesetPendingException(Throwable)method in NFILanguagesetPendingException(Throwable)method in NFIStatesetReturnType(Object, Object)method in NFIBackendSignatureBuilderLibrarySignatureLibraryabstract class in com.oracle.truffle.nfi.apiSignatureLibrary()constructor in SignatureLibrary Creates a new SignatureLibrary instance.SignatureLibraryEagerProviderclass in com.oracle.truffle.nfiSignatureLibraryEagerProvider()constructor in NFISignatureGen.SignatureLibraryEagerProvider Creates a new SignatureLibraryEagerProvider instance.SINT16enum constant in NativeSimpleTypeSINT32enum constant in NativeSimpleTypeSINT64enum constant in NativeSimpleTypeSINT8enum constant in NativeSimpleTypeSTRINGenum constant in NativeSimpleType
T
TypeFactoryabstract class in com.oracle.truffle.nfi.backend.spi.typesTypeFactory()constructor in TypeFactory Should be used only by the Truffle NFI.
U
V
valueOf(String)method in NativeSimpleType Returns the enum constant with the given name.values()method in NativeSimpleType Returns the enum constants in declaration order.VOIDenum constant in NativeSimpleType