|
" 2013 FRC Java API " |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Address | |
---|---|
com.sun.cldc.jna | The CLDC/JNA package contains classes that help import native data structures and functions from Java code without writing C code. |
com.sun.squawk | Provides classes for low level interactions with the Squawk VM. |
com.sun.squawk.flash | |
com.sun.squawk.peripheral | |
com.sun.squawk.realtime | Provides classes for native memory access based on the javax.realtime package. |
com.sun.squawk.rms |
Uses of Address in com.sun.cldc.jna |
---|
Fields in com.sun.cldc.jna declared as Address | |
---|---|
protected Address |
Function.funcAddr
|
protected Address |
TaskExecutor.te
|
Methods in com.sun.cldc.jna that return Address | |
---|---|
Address |
Pointer.address()
Gets the virtual memory location at which the memory region is mapped. |
static Address |
PrivatePointer.createArrayBuffer(Object array)
Create a native buffer pointing to either the array data directly, or to a copy of the array data. |
static Address |
PrivatePointer.createArrayBuffer(Object array,
int offset,
int number)
Create a native buffer pointing to either the array data directly, or to a copy of the array data. |
Methods in com.sun.cldc.jna with parameters of type Address | |
---|---|
static String |
Pointer.NativeUnsafeGetString(Address cstr)
Create a Java string from a C string pointer |
Constructors in com.sun.cldc.jna with parameters of type Address | |
---|---|
Pointer(Address base,
int size)
Create a pointer that refers to a memory range from [base..base+size). |
|
Pointer(Address base,
UWord size)
Create a pointer that refers to a memory range from [base..base+size). |
Uses of Address in com.sun.squawk |
---|
Fields in com.sun.squawk declared as Address | |
---|---|
Address |
ObjectMemorySerializer.ControlBlock.start
The address to which the pointers in memory are relative before
they are relocated to canonical addresses. |
Methods in com.sun.squawk that return Address | |
---|---|
Address |
Address.add(int offset)
Adds a 32 bit offset to this address and return the resulting address. |
Address |
Address.addOffset(Offset offset)
Adds a 32 or 64 bit offset to this address and return the resulting address. |
Address |
Address.and(UWord word)
Logically AND a word with this address. |
static Address |
NativeUnsafe.createTaskExecutor(Address name,
int priority,
int stacksize)
|
Address |
ObjectMemory.fromCanonical(Address canonicalAddress)
Converts a canonical address that is within the range of this object memory into a physical address. |
static Address |
Address.fromObject(Object object)
Casts an object reference to an address. |
static Address |
Address.fromPrimitive(int value)
Casts a word expressed as the appropriate Java primitive type for the platform (i.e. |
static Address |
Unsafe.getAddress(Address base,
int offset)
Gets a pointer from memory as an Address. |
static Address |
NativeUnsafe.getAddress(Object base,
int offset)
|
static Address |
VM.getBootstrapEnd()
Gets the address at which the object memory containing the bootstrap suite ends. |
static Address |
VM.getBootstrapStart()
Gets the address at which the object memory containing the bootstrap suite starts. |
Address |
ObjectMemory.getCanonicalEnd()
Gets the address one byte past the end of the canonical object memory. |
Address |
ObjectMemory.getCanonicalStart()
Gets the canonical starting address of this object memory. |
Address |
ObjectMemory.getEnd()
Gets the address one byte past the end of the object memory. |
static Address |
VM.getRomStart()
Gets the address of the start of the object memory in ROM. |
Address |
ObjectMemory.getStart()
Gets the start address of the object memory. |
static Address |
NativeUnsafe.malloc(UWord size)
Allocate a block of memory outside of the Java heap. |
static Address |
Address.max()
Gets the largest possible machine address. |
Address |
Address.or(UWord word)
Logically OR a word with this address. |
protected Address |
ObjectMemoryLoader.relocateMemory(ObjectMemory parent,
byte[] buffer,
BitSet oopMap)
Relocates the memory. |
Address |
Address.roundDown(int alignment)
Rounds this address down based on a given alignment. |
Address |
Address.roundDownToWord()
Rounds this address down to a machine word boundary. |
Address |
Address.roundUp(int alignment)
Rounds this address up based on a given alignment. |
Address |
Address.roundUpToWord()
Rounds this address up to a machine word boundary. |
static Address |
NativeUnsafe.runBlockingFunctionOn(Address taskExecutor,
Address fptr,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6,
int arg7,
int arg8,
int arg9,
int arg10)
|
Address |
Address.sub(int offset)
Subtracts a 32 bit offset to this address and return the resulting address. |
Address |
Address.subOffset(Offset offset)
Subtracts a 32 or 64 bit offset to this address and return the resulting address. |
Address |
ObjectMemory.toCanonical(Address address)
Converts a physical address that is within the range of this object memory into a canonical address. |
static Address |
Address.zero()
Gets the canonical Address representation of null . |
Methods in com.sun.squawk with parameters of type Address | |
---|---|
static int |
NativeUnsafe.call0(Address fptr)
Call a function pointer with no arguments |
static int |
NativeUnsafe.call1(Address fptr,
int i1)
Call a function pointer with one arguments |
static int |
NativeUnsafe.call10(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6,
int i7,
int i8,
int i9,
int i19)
Call a function pointer with 10 arguments |
static int |
NativeUnsafe.call2(Address fptr,
int i1,
int i2)
Call a function pointer with two arguments |
static int |
NativeUnsafe.call3(Address fptr,
int i1,
int i2,
int i3)
Call a function pointer with three arguments |
static int |
NativeUnsafe.call4(Address fptr,
int i1,
int i2,
int i3,
int i4)
Call a function pointer with four arguments |
static int |
NativeUnsafe.call5(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5)
Call a function pointer with five arguments |
static int |
NativeUnsafe.call6(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6)
Call a function pointer with six arguments |
static int |
NativeUnsafe.call7(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6,
int i7)
Call a function pointer with seven arguments |
static int |
NativeUnsafe.call8(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6,
int i7,
int i8)
Call a function pointer with eight arguments |
static int |
NativeUnsafe.call9(Address fptr,
int i1,
int i2,
int i3,
int i4,
int i5,
int i6,
int i7,
int i8,
int i9)
Call a function pointer with nine arguments |
static int |
NativeUnsafe.cancelTaskExecutor(Address taskExecutor)
|
boolean |
ObjectMemory.containsAddress(Address address)
Determines if this object memory contains a given address. |
boolean |
ObjectMemory.containsCanonicalAddress(Address canonicalAddress)
Determines if this object memory contains a given canonical address. |
static void |
VM.copyBytes(Address src,
int srcPos,
Address dst,
int dstPos,
int length,
boolean nvmDst)
Copy memory from one area to another. |
static void |
NativeUnsafe.copyTypes(Address src,
Address dst,
int length)
Block copies the types recorded for a range of memory to another range of memory. |
static Address |
NativeUnsafe.createTaskExecutor(Address name,
int priority,
int stacksize)
|
static int |
NativeUnsafe.deleteNativeTask(Address ntask)
|
static int |
NativeUnsafe.deleteTaskExecutor(Address taskExecutor)
|
Offset |
Address.diff(Address address2)
Calculates the offset between this address an another address. |
boolean |
Address.eq(Address address2)
Determines if this address is equal to a given address. |
ObjectMemory |
ObjectMemory.findAddress(Address address)
Searches up a chain of object memories starting from this one for a given physical address. |
ObjectMemory |
ObjectMemory.findCanonicalAddress(Address canonicalAddress)
Searches up a chain of object memories starting from this one for a given canonical address. |
static void |
NativeUnsafe.free(Address ptr)
|
Address |
ObjectMemory.fromCanonical(Address canonicalAddress)
Converts a canonical address that is within the range of this object memory into a physical address. |
static Address |
Unsafe.getAddress(Address base,
int offset)
Gets a pointer from memory as an Address. |
static int |
Unsafe.getByte(Address base,
int offset)
Gets a signed 8 bit value from memory. |
static void |
Unsafe.getBytes(Address src,
int boffset,
byte[] bytes,
int low,
int number)
Copy from memory to byte array. |
static int |
Unsafe.getChar(Address base,
int offset)
Gets an unsigned 16 bit value from memory. |
static void |
VM.getData(Address src,
int boffset,
Object dst,
int low,
int number,
int elementSize)
Do actual copy from memory at address + boffset to array Copy from memory to byte array. |
static int |
Unsafe.getInt(Address base,
int offset)
Gets a signed 32 bit value from memory. |
static void |
Unsafe.getInts(Address src,
int boffset,
int[] ints,
int low,
int number)
Copy from memory to int array. |
static long |
Unsafe.getLong(Address base,
int offset)
Gets a 64 bit value from memory using a 64 bit word offset. |
static long |
Unsafe.getLongAtWord(Address base,
int offset)
Gets a 64 bit value from memory using a 32 bit word offset. |
static void |
Unsafe.getLongs(Address src,
int boffset,
long[] longs,
int low,
int number)
Copy from memory to long array. |
static int |
NativeUnsafe.getNativeTaskErrno(Address ntask)
|
static int |
NativeUnsafe.getNativeTaskEventID(Address ntask)
|
static int |
NativeUnsafe.getNativeTaskResult(Address ntask)
|
static int |
Unsafe.getShort(Address base,
int offset)
Gets a signed 16 bit value from memory. |
static void |
Unsafe.getShorts(Address src,
int boffset,
short[] shorts,
int low,
int number)
Copy from memory to short array. |
static byte |
NativeUnsafe.getType(Address ea)
Gets the type of a value at a given address. |
static int |
Unsafe.getUByte(Address base,
int offset)
Gets an unsigned 8 bit value from memory. |
static int |
NativeUnsafe.getUnalignedInt(Address base,
int boffset)
Gets the int at the given byte offset in the memory, starting from base. |
static int |
Unsafe.getUnalignedInt(Address base,
int boffset)
Gets the int at the given byte offset in the memory, starting from base. |
static long |
NativeUnsafe.getUnalignedLong(Address base,
int boffset)
Gets the long at the given byte offset in the memory, starting from base. |
static long |
Unsafe.getUnalignedLong(Address base,
int boffset)
Gets the long at the given byte offset in the memory, starting from base. |
static int |
NativeUnsafe.getUnalignedShort(Address base,
int boffset)
Gets the short at the given byte offset in the memory, starting from base. |
static int |
Unsafe.getUnalignedShort(Address base,
int boffset)
Gets the short at the given byte offset in the memory, starting from base. |
static UWord |
Unsafe.getUWord(Address base,
int offset)
Gets an unsigned 32 or 64 bit value from memory. |
boolean |
Address.hi(Address address2)
Determines if this address is higher than a given address. |
boolean |
Address.hieq(Address address2)
Determines if this address is higher than or equal to a given address. |
static boolean |
GC.inRam(Address start,
Address end)
Determines if any part of the range is in RAM. |
boolean |
Address.lo(Address address2)
Determines if this address is lower than a given address. |
boolean |
Address.loeq(Address address2)
Determines if this address is lower than or equal to a given address. |
boolean |
Address.ne(Address address2)
Determines if this address is not equal to a given address. |
static void |
VM.printAddress(Address val)
Prints an address to the VM stream. |
static void |
ObjectMemory.relocate(String uri,
Object sourceStartBuffer,
Address sourceStart,
BitSet oopMap,
Address targetStart,
Address targetCanonicalStart,
int targetSize,
boolean toCanonical,
boolean requiresEndianSwap,
boolean trace,
boolean verifyClearOopMap)
Relocates the pointers in a range of memory that point to some target range of memory. |
static void |
ObjectMemory.relocateParents(String uri,
Object startBuffer,
Address start,
BitSet oopMap,
ObjectMemory parent,
boolean toCanonical,
boolean requiresEndianSwap,
boolean trace)
Relocate all the pointers in a range of memory that point to one or more parent object memories. |
static Address |
NativeUnsafe.runBlockingFunctionOn(Address taskExecutor,
Address fptr,
int arg1,
int arg2,
int arg3,
int arg4,
int arg5,
int arg6,
int arg7,
int arg8,
int arg9,
int arg10)
|
static void |
Unsafe.setAddress(Address base,
int offset,
Address value)
Sets a pointer value in memory without updating the write barrier. |
static void |
NativeUnsafe.setArrayTypes(Address ea,
byte componentType,
int componentSize,
int length)
Sets the type of each value in an array. |
static void |
Unsafe.setByte(Address base,
int offset,
int value)
Sets an 8 bit value in memory. |
static void |
VM.setBytes(Address dst,
byte value,
int length)
Set memory region to value. |
static void |
Unsafe.setBytes(Address dst,
int boffset,
byte[] bytes,
int low,
int number)
Copy from byte array to memory. |
static void |
Unsafe.setChar(Address base,
int offset,
int value)
Sets an unsigned 16 bit value in memory. |
static void |
VM.setData(Address dst,
int boffset,
Object src,
int low,
int number,
int elementSize)
Do actual copy from array to memory at address + boffset Copy number bytes from byte array bytes starting at position low .to the memory location specified
by the address dst and byte offset boffset . |
static void |
Unsafe.setInt(Address base,
int offset,
int value)
Sets a 32 bit value in memory. |
static void |
Unsafe.setInts(Address dst,
int boffset,
int[] ints,
int low,
int number)
Copy from int array to memory. |
static void |
Unsafe.setLong(Address base,
int offset,
long value)
Sets a 64 bit value in memory. |
static void |
Unsafe.setLongAtWord(Address base,
int offset,
long value)
Sets a 64 bit value in memory at a 32 bit word offset. |
static void |
Unsafe.setLongs(Address dst,
int boffset,
long[] longs,
int low,
int number)
Copy from long array to memory. |
static void |
Unsafe.setShort(Address base,
int offset,
int value)
Sets a signed 16 bit value in memory. |
static void |
Unsafe.setShorts(Address dst,
int boffset,
short[] shorts,
int low,
int number)
Copy from short array to memory. |
static void |
NativeUnsafe.setType(Address ea,
byte type,
int size)
Sets the type of a value at a given address. |
static void |
NativeUnsafe.setUnalignedInt(Address base,
int boffset,
int value)
Gets the int at the given byte offset in the memory, starting from base. |
static void |
Unsafe.setUnalignedInt(Address base,
int boffset,
int value)
Gets the int at the given byte offset in the memory, starting from base. |
static void |
NativeUnsafe.setUnalignedLong(Address base,
int boffset,
long value)
Gets the long at the given byte offset in the memory, starting from base. |
static void |
Unsafe.setUnalignedLong(Address base,
int boffset,
long value)
Gets the long at the given byte offset in the memory, starting from base. |
static void |
NativeUnsafe.setUnalignedShort(Address base,
int boffset,
int value)
Sets the short at the given byte offset in the memory, starting from base. |
static void |
Unsafe.setUnalignedShort(Address base,
int boffset,
int value)
Sets the short at the given byte offset in the memory, starting from base. |
static void |
Unsafe.setUWord(Address base,
int offset,
UWord value)
Sets a UWord value in memory. |
static void |
NativeUnsafe.swap(Address address,
int dataSize)
Swaps the endianess of a value. |
static void |
NativeUnsafe.swap2(Address address)
Swaps the endianess of a 2 byte value. |
static void |
NativeUnsafe.swap4(Address address)
Swaps the endianess of a 4 byte value. |
static void |
NativeUnsafe.swap8(Address address)
Swaps the endianess of a 8 byte value. |
Address |
ObjectMemory.toCanonical(Address address)
Converts a physical address that is within the range of this object memory into a canonical address. |
static int |
NativeUnsafe.waitForBlockingFunction(Address ntask)
|
Constructors in com.sun.squawk with parameters of type Address | |
---|---|
ObjectMemory(Address start,
int size,
String uri,
Object root,
int hash,
ObjectMemory parent)
Constructs a new object memory file. |
Uses of Address in com.sun.squawk.flash |
---|
Fields in com.sun.squawk.flash declared as Address | |
---|---|
protected Address |
MemoryHeapBlock.address
|
protected Address |
NorFlashSectorState.endAddress
|
protected Address |
NorFlashSectorState.startAddress
|
Methods in com.sun.squawk.flash that return Address | |
---|---|
Address |
INorFlashMemoryHeap.allocateAndWriteBlock(byte[] bytes,
int offset,
int length,
INorFlashMemoryHeapScanner scanner)
|
Address |
NorFlashMemoryHeap.allocateAndWriteBlock(byte[] bytes,
int offset,
int length,
INorFlashMemoryHeapScanner scanner)
|
Address |
IMemoryHeapBlock.getAddress()
|
Address |
MemoryHeapBlock.getAddress()
|
Address |
INorFlashSectorState.getEndAddress()
|
Address |
NorFlashSectorState.getEndAddress()
|
Address |
INorFlashSectorState.getStartAddress()
|
Address |
NorFlashSectorState.getStartAddress()
|
Address |
INorFlashSectorState.getWriteHeadAddress()
|
Address |
NorFlashSectorState.getWriteHeadAddress()
|
protected Address |
NorFlashMemoryHeap.writeBlock(IMemoryHeapBlock block,
INorFlashMemoryHeapScanner scanner,
Address oldAddress)
|
Methods in com.sun.squawk.flash with parameters of type Address | |
---|---|
void |
INorFlashMemoryHeap.freeBlockAt(Address address)
|
void |
NorFlashMemoryHeap.freeBlockAt(Address address)
|
IMemoryHeapBlock |
INorFlashMemoryHeap.getBlockAt(Address address)
|
IMemoryHeapBlock |
NorFlashMemoryHeap.getBlockAt(Address address)
|
INorFlashSectorState |
NorFlashMemoryHeap.getSectorContaining(Address address)
|
void |
NorFlashSectorState.init(Address startAddress,
int size)
|
void |
INorFlashMemoryHeapScanner.reScanBlock(Address oldAddress,
Address newAddress,
IMemoryHeapBlock block)
|
void |
IMemoryHeapBlock.setAddress(Address address)
|
void |
MemoryHeapBlock.setAddress(Address address)
|
protected Address |
NorFlashMemoryHeap.writeBlock(IMemoryHeapBlock block,
INorFlashMemoryHeapScanner scanner,
Address oldAddress)
|
Uses of Address in com.sun.squawk.peripheral |
---|
Fields in com.sun.squawk.peripheral declared as Address | |
---|---|
protected Address |
SimulatedNorFlashSector.startAddress
|
Methods in com.sun.squawk.peripheral that return Address | |
---|---|
Address |
INorFlashSector.getStartAddress()
|
Address |
SimulatedNorFlashSector.getStartAddress()
|
Methods in com.sun.squawk.peripheral with parameters of type Address | |
---|---|
protected void |
SimulatedNorFlashSector.init(Address startAddress,
int size,
int purpose)
|
Constructors in com.sun.squawk.peripheral with parameters of type Address | |
---|---|
SimulatedNorFlashSector(Address startAddress,
byte[] bytes,
int purpose)
|
|
SimulatedNorFlashSector(Address startAddress,
int size,
int purpose,
boolean useFile)
|
Uses of Address in com.sun.squawk.realtime |
---|
Fields in com.sun.squawk.realtime declared as Address | |
---|---|
protected Address |
RawMemoryAccess.vbase
Virtual base address. |
Methods in com.sun.squawk.realtime that return Address | |
---|---|
protected Address |
RawMemoryAccess.getAddress()
Gets the virtual memory location at which the memory region is mapped. |
Uses of Address in com.sun.squawk.rms |
---|
Fields in com.sun.squawk.rms declared as Address | |
---|---|
protected Address |
RmsEntry.address
|
protected Address[] |
RecordStoreEntry.recordAddresses
|
Methods in com.sun.squawk.rms that return Address | |
---|---|
protected Address |
RecordStoreEntry.findRecordAddress(int recordId)
|
Address |
IRmsEntry.getAddress()
|
Address |
RmsEntry.getAddress()
|
Address |
IRecordStoreManager.logEntry(IRmsEntry entry)
|
Address |
RecordStoreManager.logEntry(IRmsEntry entry)
|
Methods in com.sun.squawk.rms with parameters of type Address | |
---|---|
IRmsEntry |
IRecordStoreManager.getEntryAt(Address address)
|
IRmsEntry |
RecordStoreManager.getEntryAt(Address address)
|
void |
IRecordStoreManager.invalidateEntryAt(Address address)
|
void |
RecordStoreManager.invalidateEntryAt(Address address)
|
void |
RecordStoreManager.reScanBlock(Address oldAddress,
Address newAddress,
IMemoryHeapBlock block)
|
void |
IRmsEntry.setAddress(Address address)
|
void |
RmsEntry.setAddress(Address address)
|
|
" 2013 FRC Java API " |
|||||||||
PREV NEXT | FRAMES NO FRAMES |