Uses of Class
org.jruby.ext.ffi.MemoryIO
Packages that use MemoryIO
-
Uses of MemoryIO in org.jruby.ext.ffi
Subclasses of MemoryIO in org.jruby.ext.ffiModifier and TypeClassDescriptionfinal classfinal classclassAn implementation of MemoryIO that throws an exception on any access.classAn implementation of MemoryIO that throws an exception on any access.final classFields in org.jruby.ext.ffi declared as MemoryIOModifier and TypeFieldDescriptionprivate final MemoryIOSwappedMemoryIO.ioprivate MemoryIOMemoryObject.memoryThe Memory I/O objectMethods in org.jruby.ext.ffi that return MemoryIOModifier and TypeMethodDescriptionabstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.abstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.NoImplFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) NoImplFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) protected MemoryIOAbstractMemory.allocateMemoryIO()private static MemoryIOBuffer.allocateMemoryIO(Ruby runtime, int size) protected abstract MemoryIOMemoryObject.allocateMemoryIO()protected final MemoryIOStruct.allocateMemoryIO()abstract MemoryIOFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates transient native memory (not from C heap) and wraps it in a MemoryIO accessor.NoImplFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) InvalidMemoryIO.dup()abstract MemoryIOMemoryIO.dup()Duplicates this MemoryIO, including its contents.final MemoryIOArrayMemoryIO.getMemoryIO(long offset) final MemoryIOInvalidMemoryIO.getMemoryIO(long offset) abstract MemoryIOMemoryIO.getMemoryIO(long offset) Reads a pointer value at the specified offset within the memory area, and wraps it in an abstract memory accessor.final MemoryIOMemoryObject.getMemoryIO()Gets the memory I/O accessor to read/write to the memory area.final MemoryIOSwappedMemoryIO.getMemoryIO(long offset) private MemoryIOMemoryObject.initMemoryIO()protected final MemoryIOMemoryObject.setMemoryIO(MemoryIO memory) Replaces the native memory object backing this ruby memory objectInvalidMemoryIO.slice(long offset) InvalidMemoryIO.slice(long offset, long size) abstract MemoryIOMemoryIO.slice(long offset) Creates a new MemoryIO pointing to a subset of the memory area of this MemoryIO.abstract MemoryIOMemoryIO.slice(long offset, long size) Creates a new MemoryIO pointing to a subset of the memory area of this MemoryIO.abstract MemoryIOFactory.wrapDirectMemory(Ruby runtime, long address) Wraps a native C memory address in a MemoryIO accessor.NoImplFactory.wrapDirectMemory(Ruby runtime, long address) Methods in org.jruby.ext.ffi with parameters of type MemoryIOModifier and TypeMethodDescriptionfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObject(package private) abstract IRubyObjectMemoryOp.get(ThreadContext context, MemoryIO io, long offset) (package private) IRubyObjectMemoryOp.Mapped.get(ThreadContext context, MemoryIO io, long offset) final IRubyObject(package private) abstract IRubyObject(package private) IRubyObjectMemoryOp.PrimitiveOp.get(ThreadContext context, MemoryIO io, long offset) final IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObject(package private) IRubyObjectMemoryOp.StructOp.get(ThreadContext context, MemoryIO io, long offset) final IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObject(package private) IRubyObjectStructLayout.MultiDimensionArrayOp.get(ThreadContext context, MemoryIO io, long offset) static final IRubyObjectMemoryUtil.getArrayOfFloat32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfFloat64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned16(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned8(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned16(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned8(Ruby runtime, MemoryIO io, long offset, int count) static final RubyStringMemoryUtil.getTaintedByteString(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.static final IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory objectstatic final IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory objectfinal voidMemoryOp.BooleanOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float128.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) voidMemoryOp.Mapped.put(ThreadContext context, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.PointerOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) abstract voidMemoryOp.PrimitiveOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) voidMemoryOp.PrimitiveOp.put(ThreadContext context, MemoryIO io, long offset, IRubyObject value) (package private) abstract voidMemoryOp.put(ThreadContext context, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed16.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed16Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed32Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed64Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed8.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) voidMemoryOp.StructOp.put(ThreadContext context, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned16.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned16Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned32Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned64Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned8.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) voidStructLayout.MultiDimensionArrayOp.put(ThreadContext context, MemoryIO io, long offset, IRubyObject value) static final voidMemoryUtil.putArrayOfFloat32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfFloat64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned16(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned8(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned16(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned8(Ruby runtime, MemoryIO io, long offset, RubyArray ary) final voidArrayMemoryIO.putMemoryIO(long offset, MemoryIO value) final voidInvalidMemoryIO.putMemoryIO(long offset, MemoryIO value) abstract voidMemoryIO.putMemoryIO(long offset, MemoryIO value) Writes a pointer value to the memory area at the specified offset.final voidSwappedMemoryIO.putMemoryIO(long offset, MemoryIO value) protected final MemoryIOMemoryObject.setMemoryIO(MemoryIO memory) Replaces the native memory object backing this ruby memory objectConstructors in org.jruby.ext.ffi with parameters of type MemoryIOModifierConstructorDescriptionprotectedAbstractInvoker(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a new AbstractInvoker instance.protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size) protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size, int typeSize) privateBuffer(Ruby runtime, IRubyObject klass, MemoryIO io, long size, int typeSize, int inout) privateMemoryPointer(Ruby runtime, IRubyObject klass, MemoryIO io, long total, int typeSize) protectedprotectedprotected(package private)SwappedMemoryIO(Ruby runtime, MemoryIO io) -
Uses of MemoryIO in org.jruby.ext.ffi.jffi
Subclasses of MemoryIO in org.jruby.ext.ffi.jffiModifier and TypeClassDescription(package private) final class(package private) class(package private) static final class(package private) final classAn implementation of MemoryIO that throws exceptions on any attempt to read/write the callback memory area (which is code).final classRepresentation of code (executable) memory blocksprivate static final classSmall MemoryIO wrapper class to keep the library aliveprivate static final classSince the text area of a dynamic library is usually not readable nor writable, wrap the address in a MemoryIO instance that throws an exception on all accesses(package private) class(package private) static final class(package private) final classFields in org.jruby.ext.ffi.jffi declared as MemoryIOModifier and TypeFieldDescription(package private) static final MemoryIONilPointerParameterStrategy.NullMemoryIO.INSTANCE(package private) final MemoryIONativeStringHandle.memory(package private) final MemoryIOBoundedNativeMemoryIO.parentMethods in org.jruby.ext.ffi.jffi that return MemoryIOModifier and TypeMethodDescription(package private) static MemoryIOCachingNativeMemoryAllocator.allocateAligned(Ruby runtime, int size, int align, boolean clear) Allocates native memory, aligned to a minimum boundary.(package private) static MemoryIOTransientNativeMemoryIO.allocateAligned(Ruby runtime, int size, int align, boolean clear) Allocates native memory, aligned to a minimum boundary.Factory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.Factory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.Factory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) private static MemoryIOJITRuntime.convertToPointerMemoryIO(IRubyObject parameter) static MemoryIOJITRuntime.convertToPointerMemoryIO(ThreadContext context, IRubyObject parameter, CachingCallSite callSite) static MemoryIOJITRuntime.convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) private static MemoryIOJITRuntime.convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite, boolean isDirect, boolean checkStringSafety) static MemoryIOJITRuntime.convertToTransientStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) BoundedNativeMemoryIO.dup()NativeMemoryIO.dup()NilPointerParameterStrategy.NullMemoryIO.dup()final MemoryIOBoundedNativeMemoryIO.getMemoryIO(long offset) DelegatingPointerParameterStrategy.getMemoryIO(Object parameter) final MemoryIOMemoryIOParameterStrategy.getMemoryIO(Object parameter) final MemoryIOMemoryObjectParameterStrategy.getMemoryIO(Object parameter) final MemoryIONativeMemoryIO.getMemoryIO(long offset) final MemoryIONilPointerParameterStrategy.getMemoryIO(Object parameter) NilPointerParameterStrategy.NullMemoryIO.getMemoryIO(long offset) abstract MemoryIOPointerParameterStrategy.getMemoryIO(Object parameter) final MemoryIOStringParameterStrategy.getMemoryIO(Object parameter) (package private) static MemoryIOStringParameterStrategy.getMemoryIO(RubyString s, boolean isDirect, boolean checkStringSafety) static MemoryIOJITRuntime.getPointerMemoryIO(IRubyObject parameter) static MemoryIOJITRuntime.lookupPointerMemoryIO(IRubyObject parameter) NativeMemoryIO.slice(long offset, long size) NilPointerParameterStrategy.NullMemoryIO.slice(long offset) NilPointerParameterStrategy.NullMemoryIO.slice(long offset, long size) (package private) static final MemoryIOFactory.wrapDirectMemory(Ruby runtime, long address) Methods in org.jruby.ext.ffi.jffi with parameters of type MemoryIOModifier and TypeMethodDescriptionstatic PointerParameterStrategyJITRuntime.getMemoryIOStrategy(MemoryIO memory) final voidBoundedNativeMemoryIO.putMemoryIO(long offset, MemoryIO value) final voidNativeMemoryIO.putMemoryIO(long offset, MemoryIO value) voidNilPointerParameterStrategy.NullMemoryIO.putMemoryIO(long offset, MemoryIO value) Constructors in org.jruby.ext.ffi.jffi with parameters of type MemoryIOModifierConstructorDescription(package private)BoundedNativeMemoryIO(Ruby runtime, MemoryIO parent, long offset, long size) (package private)Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) (package private)Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean saveError) (package private)JFFIInvoker(Ruby runtime, RubyClass klass, MemoryIO fptr, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums) (package private)NativeStringHandle(MemoryIO memory, ByteList bl) Symbol(Ruby runtime, DynamicLibrary library, String name, MemoryIO io)