* C E F G H M P S

*

- package
 

C

callCPointer(Object[]) - Method in class CFunction
Call the C function being represented by this object.
callDouble(Object[]) - Method in class CFunction
Call the C function being represented by this object.
callFloat(Object[]) - Method in class CFunction
Call the C function being represented by this object.
callInt(Object[]) - Method in class CFunction
Call the C function being represented by this object.
callVoid(Object[]) - Method in class CFunction
Call the C function being represented by this object.
CFunction - class CFunction.
An abstraction for a C function pointer.
CFunction(CPointer, String) - Constructor for class CFunction
Create a new CFunction from a function pointer.
CFunction(String, String) - Constructor for class CFunction
Create a new CFunction that is linked with a C function that follows the standard "C" calling convention.
CFunction(String, String, String) - Constructor for class CFunction
Create a new CFunction that is linked with a C function that follows a given calling convention.
CMalloc - class CMalloc.
A CPointer to memory obtained from the C heap via a call to malloc.
CMalloc(int) - Constructor for class CMalloc
Allocate space in the C heap via a call to C's malloc.
copyIn(int, byte[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, byte[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, char[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, char[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, double[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, double[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, float[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, float[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, int[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, int[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, long[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, long[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyIn(int, short[], int, int) - Method in class CPointer
Indirect the C pointer, copying into memory pointed to by C pointer, from the specified array.
copyIn(int, short[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyIn.
copyOut(int, byte[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, byte[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, char[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, char[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, double[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, double[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, float[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, float[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, int[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, int[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, long[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, long[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
copyOut(int, short[], int, int) - Method in class CPointer
Indirect the C pointer, copying from memory pointed to by C pointer, into the specified array.
copyOut(int, short[], int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.copyOut.
CPointer - class CPointer.
An abstraction for a C pointer data type.
CPointer() - Constructor for class CPointer
 

E

equals(Object) - Method in class CPointer
Compares this CPointer to the specified object.

F

free() - Method in class CMalloc
De-allocate space obtained via an earlier call to malloc.

G

getByte(int) - Method in class CPointer
Indirect the C pointer as a pointer to byte.
getByte(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getByte.
getCPointer(int) - Method in class CPointer
Indirect the C pointer as a pointer to pointer.
getCPointer(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getCPointer.
getDouble(int) - Method in class CPointer
Indirect the C pointer as a pointer to double.
getDouble(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getDouble.
getFloat(int) - Method in class CPointer
Indirect the C pointer as a pointer to float.
getFloat(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getFloat.
getInt(int) - Method in class CPointer
Indirect the C pointer as a pointer to int.
getInt(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getInt.
getLong(int) - Method in class CPointer
Indirect the C pointer as a pointer to long.
getLong(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getLong.
getShort(int) - Method in class CPointer
Indirect the C pointer as a pointer to short.
getShort(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getShort.
getString(int) - Method in class CPointer
Indirect the C pointer as a pointer to char *, a NULL-terminated C string.
getString(int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.getString.

H

hashCode() - Method in class CPointer
Returns a hashcode for the C pointer represented by this Cptr object.

M

Main - class Main.
Provides a main() method for running the shared stubs example.
Main() - Constructor for class Main
 
main(String[]) - Static method in class Main
Demonstrates calling printf, scanf, etc from the C library using shared stubs.

P

peer - Variable in class CPointer
 

S

setByte(int, byte) - Method in class CPointer
Set value at location being pointed to.
setByte(int, byte) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setByte.
setCPointer(int, CPointer) - Method in class CPointer
Set value at location being pointed to.
setCPointer(int, CPointer) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setCPointer.
setDouble(int, double) - Method in class CPointer
Set value at location being pointed to.
setDouble(int, double) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setDouble.
setFloat(int, float) - Method in class CPointer
Set value at location being pointed to.
setFloat(int, float) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setFloat.
setInt(int, int) - Method in class CPointer
Set value at location being pointed to.
setInt(int, int) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setInt.
setLong(int, long) - Method in class CPointer
Set value at location being pointed to.
setLong(int, long) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setLong.
setShort(int, short) - Method in class CPointer
Set value at location being pointed to.
setShort(int, short) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setShort.
setString(int, String) - Method in class CPointer
Copy string value to the location being pointed to.
setString(int, String) - Method in class CMalloc
Indirect the C pointer to malloc space, a la CPointer.setString.
SIZE - Static variable in class CPointer
The size of a C pointer on the platform this Java virtual machine is running on.

* C E F G H M P S