Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

miscPrims.c File Reference


Compounds

struct  two_int32s

Defines

#define GETSIZE (typename,type)
#define GET_CASE (base, nn)
#define PUT_CASE (base, nn)
#define BV_OV_COPY (name, kind, check, copy_action)
#define CONC4 (a,b,c,d)
#define CONVERT_ARG (ctype, arg_in, arg_out)
#define CONVERT_1_ARG (ctype)
#define CONVERT_2_ARGS (ctype)
#define CONVERT_INTEGER_RESULT (ctype)
#define SMI_RESULT (ctype, exp)
#define INT_RESULT (ctype, exp)
#define FLOAT_RESULT (ctype, exp)
#define CMP_RESULT
#define INT_PRIM (name, ctype, exp, check)
#define CMP_PRIM (ctype)
#define DIV_0_CHECK
#define MASK32
#define MASK64
#define FAST_CONV
#define BINARY_PRIM (name, ctype, exp, check, result)
#define CONVERSION_PRIM (to_ctype, from_ctype, fast, result)
#define FLOAT_FROM_INT_CONVERSION (ctype)
#define INT_FROM_FLOAT_CONVERSION (ctype)
#define INT_PRIMS_LL (name, exp, check)
#define INT_PRIMS (name, exp, check)

Typedefs

typedef long long int64
typedef unsigned long long uint64

Functions

smi bitSize (char *typeDesc, void *FH)
bool moveToRaw (char *raw, char *bytes, smi len, smi idx, smi size, void *FH)
bool moveFromRaw (char *raw, char *bytes, smi len, smi idx, smi size, void *FH)
double CFloatDouble_At_prim (char *bytes, int len, bool dobble, smi idx, void *FH)
void CFloatDouble_At_Put_prim (char *bytes, int len, bool dobble, smi idx, double val, void *FH)
long long CSignedIntSize_At_prim (char *bytes, int len, smi bitsize, smi idx, void *FH)
unsigned long long CUnsignedIntSize_At_prim (char *bytes, int len, smi bitsize, smi idx, void *FH)
void CSignedIntSize_At_Put_prim (char *bytes, int len, smi bitsize, smi idx, long long val, void *FH)
void CUnsignedIntSize_At_Put_prim (char *bytes, int len, smi bitsize, smi idx, unsigned long long val, void *FH)
oop date_time_prim (smi day, smi msec)
oop convert_to_day_ms_prim (objVectorOop l, void *FH)
oop real_time_prim (void *FH)
oop current_time_string_prim ()
oop primitive_list_prim (void *FH)
oop primitive_documentation (char *prim_name)
oop command_line_prim (void *FH)
 BV_OV_COPY (copyRange_prim, objVector,, \ oop *from = src0->objs(srcPos0); \ oop *to = dst0->objs(dstPos0); \ copy_oops_overlapping(from, to, len0); \ Memory->record_multistores(from, from + len0); \ ) BV_OV_COPY(copyByteRange_prim, byteVector, dst->is_string() ||, \ copy_bytes_overlapping(src0->bytes(srcPos0), dst0->bytes(dstPos0), len0)
void memorycopy (void *to, void *from, int size)
 CONVERT_1_ARG (int32) CONVERT_2_ARGS(int32) CONVERT_INTEGER_RESULT(int32) CONVERT_1_ARG(int64) CONVERT_2_ARGS(int64) CONVERT_INTEGER_RESULT(int64) INT_PRIMS(add, a1 + a2, ) INT_PRIMS(sub, a1 - a2, ) INT_PRIMS(mul, a1 * a2, ) INT_PRIMS(div, a1 / a2, DIV_0_CHECK) INT_PRIMS(rem, a1 % a2, DIV_0_CHECK) INT_PRIMS(and, a1 & a2, ) INT_PRIMS(or, a1 | a2, ) INT_PRIMS(xor, a1 ^ a2, ) INT_PRIM(shl, int32, a1 << MASK32, ) INT_PRIM(shr, int32, a1 >> MASK32, ) INT_PRIM(ushr, int32, (uint32)a1 >> MASK32, ) INT_PRIM(shl, int64, a1 << MASK64, ) INT_PRIM(shr, int64, a1 >> MASK64, ) INT_PRIM(ushr, int64, (uint64)a1 >> MASK64, ) CMP_PRIM(int32) CMP_PRIM(int64) CONVERSION_PRIM(int8, int32, , SMI_RESULT) CONVERSION_PRIM(int16, int32, , SMI_RESULT) CONVERSION_PRIM(int64, int32, FAST_CONV, INT_RESULT) CONVERSION_PRIM(int8, int64, , SMI_RESULT) CONVERSION_PRIM(int16, int64, , SMI_RESULT) CONVERSION_PRIM(int32, int64, FAST_CONV, INT_RESULT) FLOAT_FROM_INT_CONVERSION(int32) INT_FROM_FLOAT_CONVERSION(int32) INT_FROM_FLOAT_CONVERSION(int64) FLOAT_FROM_INT_CONVERSION(int64) oop test_args_prim(oop rcvr, oop a1, oop a2, oop a3, oop a4, oop a5, oop a6, oop a7, oop a8, oop a9, oop a10, oop a11, oop a12, oop a13, oop a14, oop a15, oop a16)

Variables

const dateTimeBufSize


Define Documentation

#define GETSIZE (typename, type)

#define GET_CASE (base, nn)

#define PUT_CASE (base, nn)

#define BV_OV_COPY (name, kind, check, copy_action)

#define CONC4 (a, b, c, d)

#define CONVERT_ARG (ctype, arg_in, arg_out)

#define CONVERT_1_ARG (ctype)

#define CONVERT_2_ARGS (ctype)

#define CONVERT_INTEGER_RESULT (ctype)

#define SMI_RESULT (ctype, exp)

#define INT_RESULT (ctype, exp)

#define FLOAT_RESULT (ctype, exp)

#define CMP_RESULT ()

#define INT_PRIM (name, ctype, exp, check)

#define CMP_PRIM (ctype)

#define DIV_0_CHECK ()

#define MASK32 ()

#define MASK64 ()

#define FAST_CONV ()

#define BINARY_PRIM (name, ctype, exp, check, result)

#define CONVERSION_PRIM (to_ctype, from_ctype, fast, result)

#define FLOAT_FROM_INT_CONVERSION (ctype)

#define INT_FROM_FLOAT_CONVERSION (ctype)

#define INT_PRIMS_LL (name, exp, check)

#define INT_PRIMS (name, exp, check)


Typedef Documentation

typedef long long int64

typedef unsigned long long uint64


Function Documentation

smi bitSize (char * typeDesc, void * FH)

bool moveToRaw (char * raw, char * bytes, smi len, smi idx, smi size, void * FH) [inline, static]

bool moveFromRaw (char * raw, char * bytes, smi len, smi idx, smi size, void * FH) [inline, static]

double CFloatDouble_At_prim (char * bytes, int len, bool dobble, smi idx, void * FH)

void CFloatDouble_At_Put_prim (char * bytes, int len, bool dobble, smi idx, double val, void * FH)

long long CSignedIntSize_At_prim (char * bytes, int len, smi bitsize, smi idx, void * FH)

unsigned long long CUnsignedIntSize_At_prim (char * bytes, int len, smi bitsize, smi idx, void * FH)

void CSignedIntSize_At_Put_prim (char * bytes, int len, smi bitsize, smi idx, long long val, void * FH)

void CUnsignedIntSize_At_Put_prim (char * bytes, int len, smi bitsize, smi idx, unsigned long long val, void * FH)

oop date_time_prim (smi day, smi msec)

oop convert_to_day_ms_prim (objVectorOop l, void * FH)

oop real_time_prim (void * FH)

oop current_time_string_prim ()

oop primitive_list_prim (void * FH)

oop primitive_documentation (char * prim_name)

oop command_line_prim (void * FH)

BV_OV_COPY (copyRange_prim, objVector, \oop * from = src0-, objs(srcPos0);\oop * to = dst0-, objs(dstPos0);\copy_oops_overlapping(from,to,len0);\Memory-, record_multistores(from,from+len0);\)

void memorycopy (void * to, void * from, int size) [inline, static]

CONVERT_1_ARG (int32)


Variable Documentation

const dateTimeBufSize


Generated at Tue Jun 27 12:06:56 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999