vm_strings.h File Reference


Functions

VMEXPORT Java_java_lang_Stringvm_instantiate_cp_string_resolved (String *)
 
Author:
Intel, Alexei Fedotov

unsigned get_utf8_length_of_unicode (const uint16 *str, unsigned unicode_length)
int get_unicode_length_of_utf8 (const char *utf8)
unsigned get_utf8_length_of_8bit (const uint8 *chars, size_t length)
void pack_utf8 (char *utf8_string, const uint16 *unicode, unsigned unicode_length)
void utf8_from_8bit (char *utf8_string, const uint8 *chars, size_t length)
void unpack_utf8 (uint16 *unicode, const char *utf8)
Java_java_lang_Stringvm_instantiate_cp_string_slow (Class *, unsigned cp_index)
jstring String_to_interned_jstring (String *str)
ManagedObjectstring_create_from_utf8 (const char *buf, unsigned length)
ManagedObjectstring_create_from_unicode (const uint16 *buf, unsigned length)
ManagedObjectstring_create_blank (unsigned length)
unsigned string_get_length (ManagedObject *)
unsigned string_get_utf8_length (ManagedObject *str)
const uint16 * string_get_unicode_chars (ManagedObject *string)
const char * string_get_utf8_chars (ManagedObject *string)
void string_get_unicode_region (ManagedObject *str, unsigned offset, unsigned count, uint16 *res)
void string_get_utf8_region (ManagedObject *str, unsigned offset, unsigned count, char *res)
ObjectHandle string_create_from_utf8_h (const char *buf, unsigned length)
ObjectHandle string_create_from_unicode_h (const uint16 *buf, unsigned length)
unsigned string_get_length_h (ObjectHandle str)
unsigned string_get_utf8_length_h (ObjectHandle str)
const char * string_get_utf8_chars_h (ObjectHandle string)
void string_get_unicode_region_h (ObjectHandle str, unsigned offset, unsigned count, uint16 *buf)
void string_get_utf8_region_h (ObjectHandle str, unsigned offset, unsigned count, char *buf)


Function Documentation

VMEXPORT Java_java_lang_String* vm_instantiate_cp_string_resolved ( String  ) 

Author:
Intel, Alexei Fedotov

Version:
Revision
1.1.2.1.4.3

unsigned get_utf8_length_of_unicode ( const uint16 *  str,
unsigned  unicode_length 
)

int get_unicode_length_of_utf8 ( const char *  utf8  ) 

unsigned get_utf8_length_of_8bit ( const uint8 *  chars,
size_t  length 
)

void pack_utf8 ( char *  utf8_string,
const uint16 *  unicode,
unsigned  unicode_length 
)

void utf8_from_8bit ( char *  utf8_string,
const uint8 *  chars,
size_t  length 
)

void unpack_utf8 ( uint16 *  unicode,
const char *  utf8 
)

Java_java_lang_String* vm_instantiate_cp_string_slow ( Class ,
unsigned  cp_index 
)

jstring String_to_interned_jstring ( String str  ) 

ManagedObject* string_create_from_utf8 ( const char *  buf,
unsigned  length 
)

ManagedObject* string_create_from_unicode ( const uint16 *  buf,
unsigned  length 
)

ManagedObject* string_create_blank ( unsigned  length  ) 

unsigned string_get_length ( ManagedObject  ) 

unsigned string_get_utf8_length ( ManagedObject str  ) 

const uint16* string_get_unicode_chars ( ManagedObject string  ) 

const char* string_get_utf8_chars ( ManagedObject string  ) 

void string_get_unicode_region ( ManagedObject str,
unsigned  offset,
unsigned  count,
uint16 *  res 
)

void string_get_utf8_region ( ManagedObject str,
unsigned  offset,
unsigned  count,
char *  res 
)

ObjectHandle string_create_from_utf8_h ( const char *  buf,
unsigned  length 
)

ObjectHandle string_create_from_unicode_h ( const uint16 *  buf,
unsigned  length 
)

unsigned string_get_length_h ( ObjectHandle  str  ) 

unsigned string_get_utf8_length_h ( ObjectHandle  str  ) 

const char* string_get_utf8_chars_h ( ObjectHandle  string  ) 

void string_get_unicode_region_h ( ObjectHandle  str,
unsigned  offset,
unsigned  count,
uint16 *  buf 
)

void string_get_utf8_region_h ( ObjectHandle  str,
unsigned  offset,
unsigned  count,
char *  buf 
)


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

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