1 #ifndef _MONO_CLI_STRING_ICALLS_H_
2 #define _MONO_CLI_STRING_ICALLS_H_
5 * string-icalls.h: String internal calls for the corlib
8 * Patrik Torstensson (patrik.torstensson@labs2.com)
10 * (C) 2001 Ximian, Inc.
13 #include <mono/metadata/class.h>
14 #include <mono/metadata/object.h>
15 #include "mono/utils/mono-compiler.h"
18 ves_icall_System_String_ctor_charp (gpointer dummy, gunichar2 *value) MONO_INTERNAL;
21 ves_icall_System_String_ctor_char_int (gpointer dummy, gunichar2 value, gint32 count) MONO_INTERNAL;
24 ves_icall_System_String_ctor_charp_int_int (gpointer dummy, gunichar2 *value, gint32 sindex, gint32 length) MONO_INTERNAL;
27 ves_icall_System_String_ctor_sbytep (gpointer dummy, gint8 *value) MONO_INTERNAL;
30 ves_icall_System_String_ctor_sbytep_int_int (gpointer dummy, gint8 *value, gint32 sindex, gint32 length) MONO_INTERNAL;
33 ves_icall_System_String_ctor_chara (gpointer dummy, MonoArray *value) MONO_INTERNAL;
36 ves_icall_System_String_ctor_chara_int_int (gpointer dummy, MonoArray *value, gint32 sindex, gint32 length) MONO_INTERNAL;
39 ves_icall_System_String_ctor_encoding (gpointer dummy, gint8 *value, gint32 sindex, gint32 length, MonoObject *enc) MONO_INTERNAL;
42 ves_icall_System_String_ctor_RedirectToCreateString (void) MONO_INTERNAL;
45 ves_icall_System_String_InternalJoin (MonoString *separator, MonoArray * value, gint32 sindex, gint32 count) MONO_INTERNAL;
48 ves_icall_System_String_InternalInsert (MonoString *me, gint32 sindex, MonoString *value) MONO_INTERNAL;
51 ves_icall_System_String_InternalReplace_Char (MonoString *me, gunichar2 oldChar, gunichar2 newChar) MONO_INTERNAL;
54 ves_icall_System_String_InternalRemove (MonoString *me, gint32 sindex, gint32 count) MONO_INTERNAL;
57 ves_icall_System_String_InternalCopyTo (MonoString *me, gint32 sindex, MonoArray *dest, gint32 dindex, gint32 count) MONO_INTERNAL;
60 ves_icall_System_String_InternalSplit (MonoString *me, MonoArray *separator, gint32 count) MONO_INTERNAL;
63 ves_icall_System_String_InternalTrim (MonoString *me, MonoArray *chars, gint32 typ) MONO_INTERNAL;
66 ves_icall_System_String_InternalIndexOfAny (MonoString *me, MonoArray *arr, gint32 sindex, gint32 count) MONO_INTERNAL;
69 ves_icall_System_String_InternalLastIndexOf_Char (MonoString *me, gunichar2 value, gint32 sindex, gint32 count) MONO_INTERNAL;
72 ves_icall_System_String_InternalLastIndexOf_Str (MonoString *me, MonoString *value, gint32 sindex, gint32 count) MONO_INTERNAL;
75 ves_icall_System_String_InternalLastIndexOfAny (MonoString *me, MonoArray *anyOf, gint32 sindex, gint32 count) MONO_INTERNAL;
78 ves_icall_System_String_InternalPad (MonoString *me, gint32 width, gunichar2 chr, MonoBoolean right) MONO_INTERNAL;
81 ves_icall_System_String_InternalAllocateStr (gint32 length) MONO_INTERNAL;
84 ves_icall_System_String_InternalStrcpy_Str (MonoString *dest, gint32 destPos, MonoString *src) MONO_INTERNAL;
87 ves_icall_System_String_InternalStrcpy_StrN (MonoString *dest, gint32 destPos, MonoString *src, gint32 startPos, gint32 count) MONO_INTERNAL;
90 ves_icall_System_String_InternalStrcpy_Chars (MonoString *dest, gint32 destPos, MonoArray *src) MONO_INTERNAL;
93 ves_icall_System_String_InternalStrcpy_CharsN (MonoString *dest, gint32 destPos, MonoArray *src, gint32 startPos, gint32 count) MONO_INTERNAL;
96 ves_icall_System_String_InternalIntern (MonoString *str) MONO_INTERNAL;
99 ves_icall_System_String_InternalIsInterned (MonoString *str) MONO_INTERNAL;
102 ves_icall_System_String_GetHashCode (MonoString *me) MONO_INTERNAL;
105 ves_icall_System_String_get_Chars (MonoString *me, gint32 idx) MONO_INTERNAL;
108 ves_icall_System_String_InternalCharCopy (gunichar2 *src, gunichar2 *dest, gint32 count) MONO_INTERNAL;
110 #endif /* _MONO_CLI_STRING_ICALLS_H_ */