vm_arrays.h File Reference


Defines

#define HIGH_BIT_SET_MASK   (1<<((sizeof(unsigned) * BITS_PER_BYTE)-1))
 
Author:
Intel, Alexei Fedotov

#define HIGH_BIT_CLEAR_MASK   (~HIGH_BIT_SET_MASK)
#define TWO_HIGHEST_BITS_SET_MASK   (HIGH_BIT_SET_MASK|NEXT_TO_HIGH_BIT_SET_MASK)

Enumerations

enum  ArrayCopyResult { ACR_Okay, ACR_NullPointer, ACR_TypeMismatch, ACR_BadIndices }

Functions

VTable * get_vector_vtable (Vector_Handle vector)
int32 get_vector_length (Vector_Handle vector)
void set_vector_length (Vector_Handle vector, int32 length)
int8 * get_vector_element_address_bool (Vector_Handle vector, int32 idx)
int8 * get_vector_element_address_int8 (Vector_Handle vector, int32 idx)
int16 * get_vector_element_address_int16 (Vector_Handle vector, int32 idx)
uint16 * get_vector_element_address_uint16 (Vector_Handle vector, int32 idx)
int32 * get_vector_element_address_int32 (Vector_Handle vector, int32 idx)
int64 * get_vector_element_address_int64 (Vector_Handle vector, int32 idx)
float * get_vector_element_address_f32 (Vector_Handle vector, int32 idx)
double * get_vector_element_address_f64 (Vector_Handle vector, int32 idx)
ManagedObject ** get_vector_element_address_ref (Vector_Handle vector, int32 idx)
ArrayCopyResult array_copy (ManagedObject *src, int32 src_off, ManagedObject *dst, int32 dst_off, int32 count)


Define Documentation

#define HIGH_BIT_SET_MASK   (1<<((sizeof(unsigned) * BITS_PER_BYTE)-1))

Author:
Intel, Alexei Fedotov

Version:
Revision
1.1.2.1.4.3

#define HIGH_BIT_CLEAR_MASK   (~HIGH_BIT_SET_MASK)

#define TWO_HIGHEST_BITS_SET_MASK   (HIGH_BIT_SET_MASK|NEXT_TO_HIGH_BIT_SET_MASK)


Enumeration Type Documentation

enum ArrayCopyResult

Enumerator:
ACR_Okay 
ACR_NullPointer 
ACR_TypeMismatch 
ACR_BadIndices 


Function Documentation

VTable* get_vector_vtable ( Vector_Handle  vector  ) 

int32 get_vector_length ( Vector_Handle  vector  ) 

void set_vector_length ( Vector_Handle  vector,
int32  length 
)

int8* get_vector_element_address_bool ( Vector_Handle  vector,
int32  idx 
)

int8* get_vector_element_address_int8 ( Vector_Handle  vector,
int32  idx 
)

int16* get_vector_element_address_int16 ( Vector_Handle  vector,
int32  idx 
)

uint16* get_vector_element_address_uint16 ( Vector_Handle  vector,
int32  idx 
)

int32* get_vector_element_address_int32 ( Vector_Handle  vector,
int32  idx 
)

int64* get_vector_element_address_int64 ( Vector_Handle  vector,
int32  idx 
)

float* get_vector_element_address_f32 ( Vector_Handle  vector,
int32  idx 
)

double* get_vector_element_address_f64 ( Vector_Handle  vector,
int32  idx 
)

ManagedObject** get_vector_element_address_ref ( Vector_Handle  vector,
int32  idx 
)

ArrayCopyResult array_copy ( ManagedObject src,
int32  src_off,
ManagedObject dst,
int32  dst_off,
int32  count 
)


Genereated on Tue Mar 11 19:25:23 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.