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 class
final class
class
An implementation of MemoryIO that throws an exception on any access.class
An implementation of MemoryIO that throws an exception on any access.final class
Methods in org.jruby.ext.ffi that return MemoryIOModifier and TypeMethodDescriptionabstract MemoryIO
Factory.allocateDirectMemory
(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.abstract MemoryIO
Factory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.NoImplFactory.allocateDirectMemory
(Ruby runtime, int size, boolean clear) NoImplFactory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) protected MemoryIO
AbstractMemory.allocateMemoryIO()
protected abstract MemoryIO
MemoryObject.allocateMemoryIO()
protected final MemoryIO
Struct.allocateMemoryIO()
abstract MemoryIO
Factory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates transient native memory (not from C heap) and wraps it in aMemoryIO
accessor.NoImplFactory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) InvalidMemoryIO.dup()
abstract MemoryIO
MemoryIO.dup()
Duplicates thisMemoryIO
, including its contents.final MemoryIO
ArrayMemoryIO.getMemoryIO
(long offset) final MemoryIO
InvalidMemoryIO.getMemoryIO
(long offset) abstract MemoryIO
MemoryIO.getMemoryIO
(long offset) Reads a pointer value at the specified offset within the memory area, and wraps it in an abstract memory accessor.final MemoryIO
MemoryObject.getMemoryIO()
Gets the memory I/O accessor to read/write to the memory area.final MemoryIO
SwappedMemoryIO.getMemoryIO
(long offset) protected final MemoryIO
MemoryObject.setMemoryIO
(MemoryIO memory) Replaces the native memory object backing this ruby memory objectInvalidMemoryIO.slice
(long offset) InvalidMemoryIO.slice
(long offset, long size) abstract MemoryIO
MemoryIO.slice
(long offset) Creates a new MemoryIO pointing to a subset of the memory area of thisMemoryIO
.abstract MemoryIO
MemoryIO.slice
(long offset, long size) Creates a new MemoryIO pointing to a subset of the memory area of thisMemoryIO
.abstract MemoryIO
Factory.wrapDirectMemory
(Ruby runtime, long address) Wraps a native C memory address in aMemoryIO
accessor.NoImplFactory.wrapDirectMemory
(Ruby runtime, long address) Methods in org.jruby.ext.ffi with parameters of type MemoryIOModifier and TypeMethodDescriptionstatic IRubyObject
MemoryUtil.getArrayOfFloat32
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfFloat64
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfSigned16
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfSigned32
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfSigned64
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfSigned8
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfUnsigned16
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfUnsigned32
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfUnsigned64
(ThreadContext context, MemoryIO io, long offset, int count) static IRubyObject
MemoryUtil.getArrayOfUnsigned8
(ThreadContext context, MemoryIO io, long offset, int count) static RubyString
MemoryUtil.getTaintedByteString
(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.static IRubyObject
MemoryUtil.getTaintedString
(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory objectstatic IRubyObject
MemoryUtil.getTaintedString
(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory objectstatic void
MemoryUtil.putArrayOfFloat32
(MemoryIO io, long offset, RubyArray ary) Deprecated.static void
MemoryUtil.putArrayOfFloat32
(ThreadContext context, MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfFloat64
(MemoryIO io, long offset, RubyArray ary) Deprecated.static void
MemoryUtil.putArrayOfFloat64
(ThreadContext context, MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfSigned16
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfSigned32
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfSigned64
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfSigned8
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfUnsigned16
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfUnsigned32
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfUnsigned64
(MemoryIO io, long offset, RubyArray ary) static void
MemoryUtil.putArrayOfUnsigned8
(MemoryIO io, long offset, RubyArray ary) final void
ArrayMemoryIO.putMemoryIO
(long offset, MemoryIO value) final void
InvalidMemoryIO.putMemoryIO
(long offset, MemoryIO value) abstract void
MemoryIO.putMemoryIO
(long offset, MemoryIO value) Writes a pointer value to the memory area at the specified offset.final void
SwappedMemoryIO.putMemoryIO
(long offset, MemoryIO value) protected final MemoryIO
MemoryObject.setMemoryIO
(MemoryIO memory) Replaces the native memory object backing this ruby memory objectConstructors in org.jruby.ext.ffi with parameters of type MemoryIOModifierConstructorDescriptionprotected
AbstractInvoker
(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a newAbstractInvoker
instance.protected
AbstractMemory
(Ruby runtime, RubyClass klass, MemoryIO io, long size) protected
AbstractMemory
(Ruby runtime, RubyClass klass, MemoryIO io, long size, int typeSize) protected
protected
protected
-
Uses of MemoryIO in org.jruby.ext.ffi.jffi
Subclasses of MemoryIO in org.jruby.ext.ffi.jffiModifier and TypeClassDescriptionfinal class
Representation of code (executable) memory blocksMethods in org.jruby.ext.ffi.jffi that return MemoryIOModifier and TypeMethodDescriptionFactory.allocateDirectMemory
(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.Factory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.Factory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) static MemoryIO
JITRuntime.convertToPointerMemoryIO
(ThreadContext context, IRubyObject parameter, CachingCallSite callSite) static MemoryIO
JITRuntime.convertToStringMemoryIO
(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) static MemoryIO
JITRuntime.convertToTransientStringMemoryIO
(IRubyObject parameter, ThreadContext context, CachingCallSite callSite) DelegatingPointerParameterStrategy.getMemoryIO
(Object parameter) abstract MemoryIO
PointerParameterStrategy.getMemoryIO
(Object parameter) final MemoryIO
StringParameterStrategy.getMemoryIO
(Object parameter) static MemoryIO
JITRuntime.getPointerMemoryIO
(IRubyObject parameter) static MemoryIO
JITRuntime.lookupPointerMemoryIO
(IRubyObject parameter) Factory.wrapDirectMemory
(Ruby runtime, long address) Methods in org.jruby.ext.ffi.jffi with parameters of type MemoryIOModifier and TypeMethodDescriptionstatic PointerParameterStrategy
JITRuntime.getMemoryIOStrategy
(MemoryIO memory) Constructors in org.jruby.ext.ffi.jffi with parameters of type MemoryIOModifierConstructorDescriptionSymbol
(Ruby runtime, DynamicLibrary library, String name, MemoryIO io)