[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.55,1.56 int_table.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.55,1.56 int_table.c,1.57,1.58 lib_regexp.c,1.3,1.4 |
Date: |
Sun, 06 Apr 2003 01:19:30 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv23865/engine
Modified Files:
int_proto.h int_table.c lib_regexp.c
Log Message:
Modify the regex internalcalls to export more functionality.
Index: int_proto.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_proto.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** int_proto.h 3 Apr 2003 05:39:33 -0000 1.55
--- int_proto.h 6 Apr 2003 06:19:26 -0000 1.56
***************
*** 6,17 ****
extern ILObject * _IL_Object_MemberwiseClone(ILExecThread * _thread, ILObject
* _this);
- extern void _IL_ArgIterator_ctor_RuntimeArgumentHandle(ILExecThread *
_thread, void * _this, void * _p1);
- extern void _IL_ArgIterator_ctor_RuntimeArgumentHandlepV(ILExecThread *
_thread, void * _this, void * _p1, void * _p2);
- extern void _IL_ArgIterator_End(ILExecThread * _thread, void * _this);
- extern ILTypedRef _IL_ArgIterator_GetNextArg_(ILExecThread * _thread, void *
_this);
- extern ILTypedRef _IL_ArgIterator_GetNextArg_RuntimeTypeHandle(ILExecThread *
_thread, void * _this, void * _p1);
- extern void _IL_ArgIterator_GetNextArgType(ILExecThread * _thread, void *
_result, void * _this);
- extern ILInt32 _IL_ArgIterator_GetRemainingCount(ILExecThread * _thread, void
* _this);
-
extern ILObject * _IL_Array_Get_iii(ILExecThread * _thread, ILObject * _this,
ILInt32 _p1, ILInt32 _p2, ILInt32 _p3);
extern ILInt32 _IL_Array_GetLowerBound(ILExecThread * _thread, ILObject *
_this, ILInt32 _p1);
--- 6,9 ----
***************
*** 42,50 ****
extern ILObject * _IL_Enum_EnumLongToObject(ILExecThread * _thread, ILObject
* _p1, ILInt64 _p2);
- extern ILInt32 _IL_Buffer_GetLength(ILExecThread * _thread, ILObject * _p1);
- extern void _IL_Buffer_Copy(ILExecThread * _thread, ILObject * _p1, ILInt32
_p2, ILObject * _p3, ILInt32 _p4, ILInt32 _p5);
- extern ILUInt8 _IL_Buffer_GetElement(ILExecThread * _thread, ILObject * _p1,
ILInt32 _p2);
- extern void _IL_Buffer_SetElement(ILExecThread * _thread, ILObject * _p1,
ILInt32 _p2, ILUInt8 _p3);
-
extern void _IL_Decimal_Round(ILExecThread * _thread, ILDecimal * _result,
ILDecimal * _p1, ILInt32 _p2);
extern ILInt32 _IL_Decimal_Compare(ILExecThread * _thread, ILDecimal * _p1,
ILDecimal * _p2);
--- 34,37 ----
***************
*** 64,71 ****
extern System_String * _IL_String_Concat_StringString(ILExecThread * _thread,
System_String * _p1, System_String * _p2);
extern System_String * _IL_String_ctor_ci(ILExecThread * _thread, ILUInt16
_p1, ILInt32 _p2);
- extern System_String * _IL_String_ctor_ac(ILExecThread * _thread,
System_Array * _p1);
extern ILBool _IL_String_Equals(ILExecThread * _thread, System_String * _p1,
System_String * _p2);
extern ILUInt16 _IL_String_GetChar(ILExecThread * _thread, System_String *
_this, ILInt32 _p1);
- extern ILInt32 _IL_String_IndexOf(ILExecThread * _thread, System_String *
_this, ILUInt16 _p1, ILInt32 _p2, ILInt32 _p3);
extern System_String * _IL_String_NewString(ILExecThread * _thread, ILInt32
_p1);
extern void _IL_String_Copy_StringiStringii(ILExecThread * _thread,
System_String * _p1, ILInt32 _p2, System_String * _p3, ILInt32 _p4, ILInt32
_p5);
--- 51,56 ----
***************
*** 73,76 ****
--- 58,62 ----
extern System_String * _IL_String_Trim(ILExecThread * _thread, System_String
* _this, System_Array * _p1, ILInt32 _p2);
extern System_String * _IL_String_ctor_acii(ILExecThread * _thread,
System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
+ extern System_String * _IL_String_ctor_ac(ILExecThread * _thread,
System_Array * _p1);
extern System_String * _IL_String_ctor_pcii(ILExecThread * _thread, ILUInt16
* _p1, ILInt32 _p2, ILInt32 _p3);
extern System_String * _IL_String_ctor_pc(ILExecThread * _thread, ILUInt16 *
_p1);
***************
*** 87,90 ****
--- 73,77 ----
extern void _IL_String_CopyToChecked(ILExecThread * _thread, System_String *
_this, ILInt32 _p1, System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
extern ILInt32 _IL_String_IndexOfAny(ILExecThread * _thread, System_String *
_this, System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
+ extern ILInt32 _IL_String_IndexOf(ILExecThread * _thread, System_String *
_this, ILUInt16 _p1, ILInt32 _p2, ILInt32 _p3);
extern ILInt32 _IL_String_GetHashCode(ILExecThread * _thread, System_String *
_this);
extern ILInt32 _IL_String_FindInRange(ILExecThread * _thread, System_String *
_this, ILInt32 _p1, ILInt32 _p2, ILInt32 _p3, System_String * _p4);
***************
*** 106,121 ****
extern void _IL_GC_SuppressFinalize(ILExecThread * _thread, ILObject * _p1);
extern void _IL_GC_WaitForPendingFinalizers(ILExecThread * _thread);
- extern void _IL_GC_Collect(ILExecThread * _thread);
- extern ILInt64 _IL_GC_GetTotalMemory(ILExecThread * _thread, ILBool _p1);
-
- extern void _IL_Guid_NewGuid(ILExecThread * _thread, void * _result);
-
- extern ILBool _IL_BitConverter_GetLittleEndian(ILExecThread * _thread);
- extern ILInt64 _IL_BitConverter_DoubleToInt64Bits(ILExecThread * _thread,
ILDouble _p1);
- extern ILDouble _IL_BitConverter_Int64BitsToDouble(ILExecThread * _thread,
ILInt64 _p1);
- extern ILInt32 _IL_BitConverter_FloatToInt32Bits(ILExecThread * _thread,
ILFloat _p1);
- extern ILFloat _IL_BitConverter_Int32BitsToFloat(ILExecThread * _thread,
ILInt32 _p1);
- extern System_Array * _IL_BitConverter_GetLittleEndianBytes_f(ILExecThread *
_thread, ILFloat _p1);
- extern System_Array * _IL_BitConverter_GetLittleEndianBytes_d(ILExecThread *
_thread, ILDouble _p1);
extern ILDouble _IL_Math_Log(ILExecThread * _thread, ILDouble _p1);
--- 93,96 ----
***************
*** 140,145 ****
extern ILDouble _IL_Math_Tanh(ILExecThread * _thread, ILDouble _p1);
- extern ILNativeInt _IL_RuntimeMethodHandle_GetFunctionPointer(ILExecThread *
_thread, void * _this);
-
extern ILBool _IL_Single_IsNaN(ILExecThread * _thread, ILFloat _p1);
extern ILInt32 _IL_Single_TestInfinity(ILExecThread * _thread, ILFloat _p1);
--- 115,118 ----
***************
*** 238,247 ****
extern ILObject * _IL_ClrSecurity_GetPermissions(ILExecThread * _thread,
ILInt32 _p1);
- extern void _IL_GCHandle_GCFree(ILExecThread * _thread, ILInt32 _p1);
- extern ILObject * _IL_GCHandle_GCGetTarget(ILExecThread * _thread, ILInt32
_p1);
- extern void _IL_GCHandle_GCSetTarget(ILExecThread * _thread, ILInt32 _p1,
ILObject * _p2);
extern ILInt32 _IL_GCHandle_GCAlloc(ILExecThread * _thread, ILObject * _p1,
ILInt32 _p2);
extern ILNativeInt _IL_GCHandle_GCAddrOfPinnedObject(ILExecThread * _thread,
ILInt32 _p1);
extern ILBool _IL_GCHandle_GCValidate(ILExecThread * _thread, ILInt32 _p1);
extern ILNativeInt _IL_Marshal_AllocHGlobal(ILExecThread * _thread,
ILNativeInt _p1);
--- 211,220 ----
extern ILObject * _IL_ClrSecurity_GetPermissions(ILExecThread * _thread,
ILInt32 _p1);
extern ILInt32 _IL_GCHandle_GCAlloc(ILExecThread * _thread, ILObject * _p1,
ILInt32 _p2);
extern ILNativeInt _IL_GCHandle_GCAddrOfPinnedObject(ILExecThread * _thread,
ILInt32 _p1);
+ extern void _IL_GCHandle_GCFree(ILExecThread * _thread, ILInt32 _p1);
extern ILBool _IL_GCHandle_GCValidate(ILExecThread * _thread, ILInt32 _p1);
+ extern ILObject * _IL_GCHandle_GCGetTarget(ILExecThread * _thread, ILInt32
_p1);
+ extern void _IL_GCHandle_GCSetTarget(ILExecThread * _thread, ILInt32 _p1,
ILObject * _p2);
extern ILNativeInt _IL_Marshal_AllocHGlobal(ILExecThread * _thread,
ILNativeInt _p1);
***************
*** 272,305 ****
extern void _IL_RuntimeHelpers_RunClassConstructor(ILExecThread * _thread,
void * _p1);
extern ILInt32 _IL_RuntimeHelpers_InternalOffsetToStringData(ILExecThread *
_thread);
- extern ILObject * _IL_RuntimeHelpers_GetObjectValue(ILExecThread * _thread,
ILObject * _p1);
extern ILObject * _IL_Assembly_GetExecutingAssembly(ILExecThread * _thread);
extern ILObject * _IL_Assembly_GetType(ILExecThread * _thread, ILObject *
_this, ILString * _p1, ILBool _p2, ILBool _p3);
- extern ILObject * _IL_Assembly_GetCallingAssembly(ILExecThread * _thread);
- extern ILObject * _IL_Assembly_LoadFromBytes(ILExecThread * _thread,
System_Array * _p1, ILInt32 * error, ILObject * _p3);
extern ILObject * _IL_Assembly_GetManifestResourceStream(ILExecThread *
_thread, ILObject * _this, ILString * _p1);
extern ILString * _IL_Assembly_GetSatellitePath(ILExecThread * _thread,
ILObject * _this, ILString * _p1);
extern ILObject * _IL_Assembly_LoadFromFile(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
extern ILObject * _IL_Assembly_GetEntryAssembly(ILExecThread * _thread);
- extern System_Array * _IL_Assembly_GetExportedTypes(ILExecThread * _thread,
ILObject * _this);
extern ILObject * _IL_Assembly_GetFile(ILExecThread * _thread, ILObject *
_this, ILString * _p1);
- extern System_Array * _IL_Assembly_GetFiles(ILExecThread * _thread, ILObject
* _this, ILBool _p1);
- extern ILObject * _IL_Assembly_GetManifestResourceInfo(ILExecThread *
_thread, ILObject * _this, ILString * _p1);
- extern System_Array * _IL_Assembly_GetManifestResourceNames(ILExecThread *
_thread, ILObject * _this);
extern System_Array * _IL_Assembly_GetTypes(ILExecThread * _thread, ILObject
* _this);
extern ILObject * _IL_Assembly_LoadFromName(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
! extern void _IL_Assembly_GetEntryPoint(ILExecThread * _thread, void *
_result, ILObject * _this);
extern ILObject * _IL_MethodBase_GetMethodFromHandle(ILExecThread * _thread,
void * _p1);
- extern ILObject * _IL_MethodBase_GetCurrentMethod(ILExecThread * _thread);
-
- extern ILObject * _IL_FieldInfo_GetFieldFromHandle(ILExecThread * _thread,
void * _p1);
extern ILObject * _IL_Module_GetModuleType(ILExecThread * _thread, ILObject *
_this);
extern ILObject * _IL_Module_GetAssembly(ILExecThread * _thread, ILObject *
_this);
extern ILString * _IL_Module_GetFullName(ILExecThread * _thread, ILObject *
_this);
- extern ILObject * _IL_Module_GetType(ILExecThread * _thread, ILObject *
_this, ILString * _p1, ILBool _p2, ILBool _p3);
- extern System_Array * _IL_Module_GetTypes(ILExecThread * _thread, ILObject *
_this);
- extern ILBool _IL_Module_IsResource(ILExecThread * _thread, ILObject * _this);
extern ILInt32 _IL_ClrType_GetClrArrayRank(ILExecThread * _thread, ILObject *
_this);
--- 245,266 ----
extern void _IL_RuntimeHelpers_RunClassConstructor(ILExecThread * _thread,
void * _p1);
extern ILInt32 _IL_RuntimeHelpers_InternalOffsetToStringData(ILExecThread *
_thread);
extern ILObject * _IL_Assembly_GetExecutingAssembly(ILExecThread * _thread);
extern ILObject * _IL_Assembly_GetType(ILExecThread * _thread, ILObject *
_this, ILString * _p1, ILBool _p2, ILBool _p3);
extern ILObject * _IL_Assembly_GetManifestResourceStream(ILExecThread *
_thread, ILObject * _this, ILString * _p1);
extern ILString * _IL_Assembly_GetSatellitePath(ILExecThread * _thread,
ILObject * _this, ILString * _p1);
extern ILObject * _IL_Assembly_LoadFromFile(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
+ extern ILObject * _IL_Assembly_GetCallingAssembly(ILExecThread * _thread);
extern ILObject * _IL_Assembly_GetEntryAssembly(ILExecThread * _thread);
extern ILObject * _IL_Assembly_GetFile(ILExecThread * _thread, ILObject *
_this, ILString * _p1);
extern System_Array * _IL_Assembly_GetTypes(ILExecThread * _thread, ILObject
* _this);
extern ILObject * _IL_Assembly_LoadFromName(ILExecThread * _thread, ILString
* _p1, ILInt32 * error, ILObject * _p3);
! extern ILObject * _IL_Assembly_LoadFromBytes(ILExecThread * _thread,
System_Array * _p1, ILInt32 * error, ILObject * _p3);
extern ILObject * _IL_MethodBase_GetMethodFromHandle(ILExecThread * _thread,
void * _p1);
extern ILObject * _IL_Module_GetModuleType(ILExecThread * _thread, ILObject *
_this);
extern ILObject * _IL_Module_GetAssembly(ILExecThread * _thread, ILObject *
_this);
extern ILString * _IL_Module_GetFullName(ILExecThread * _thread, ILObject *
_this);
extern ILInt32 _IL_ClrType_GetClrArrayRank(ILExecThread * _thread, ILObject *
_this);
***************
*** 316,320 ****
extern ILObject * _IL_ClrType_GetClrAssembly(ILExecThread * _thread, ILObject
* _this);
extern ILObject * _IL_ClrType_GetClrBaseType(ILExecThread * _thread, ILObject
* _this);
- extern void _IL_ClrType_GetClrGUID(ILExecThread * _thread, void * _result,
ILObject * _this);
extern ILObject * _IL_ClrType_GetClrModule(ILExecThread * _thread, ILObject *
_this);
extern ILObject * _IL_ClrType_GetClrNestedDeclaringType(ILExecThread *
_thread, ILObject * _this);
--- 277,280 ----
***************
*** 332,337 ****
extern ILObject * _IL_ClrField_GetValue(ILExecThread * _thread, ILObject *
_this, ILObject * _p1);
extern void _IL_ClrField_SetValue(ILExecThread * _thread, ILObject * _this,
ILObject * _p1, ILObject * _p2, ILInt32 _p3, ILObject * _p4, ILObject * _p5);
- extern ILObject * _IL_ClrField_GetValueDirect(ILExecThread * _thread,
ILObject * _this, ILTypedRef _p1);
- extern void _IL_ClrField_SetValueDirect(ILExecThread * _thread, ILObject *
_this, ILTypedRef _p1, ILObject * _p2);
extern ILBool _IL_ClrHelpers_CanAccess(ILExecThread * _thread, ILNativeInt
_p1);
--- 292,295 ----
***************
*** 340,345 ****
extern ILString * _IL_ClrHelpers_GetName(ILExecThread * _thread, ILNativeInt
_p1);
extern ILInt32 _IL_ClrHelpers_GetNumParameters(ILExecThread * _thread,
ILNativeInt _p1);
- extern ILInt32 _IL_ClrHelpers_GetCallConv(ILExecThread * _thread, ILNativeInt
_p1);
- extern ILInt32 _IL_ClrHelpers_GetImplAttrs(ILExecThread * _thread,
ILNativeInt _p1);
extern System_Array * _IL_ClrHelpers_GetCustomAttributes(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2, ILBool _p3);
extern ILBool _IL_ClrHelpers_IsDefined(ILExecThread * _thread, ILNativeInt
_p1, ILNativeInt _p2, ILBool _p3);
--- 298,301 ----
***************
*** 347,350 ****
--- 303,308 ----
extern ILNativeInt _IL_ClrHelpers_GetParameter(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
extern ILObject * _IL_ClrHelpers_GetParameterType(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
+ extern ILInt32 _IL_ClrHelpers_GetCallConv(ILExecThread * _thread, ILNativeInt
_p1);
+ extern ILInt32 _IL_ClrHelpers_GetImplAttrs(ILExecThread * _thread,
ILNativeInt _p1);
extern ILBool _IL_ClrHelpers_HasSemantics(ILExecThread * _thread, ILNativeInt
_p1, ILInt32 _p2, ILBool _p3);
***************
*** 356,360 ****
extern ILInt32 _IL_ClrParameter_GetParamAttrs(ILExecThread * _thread,
ILNativeInt _p1);
extern ILString * _IL_ClrParameter_GetParamName(ILExecThread * _thread,
ILNativeInt _p1);
- extern ILObject * _IL_ClrParameter_GetDefault(ILExecThread * _thread,
ILNativeInt _p1);
extern ILInt32 _IL_ClrResourceStream_ResourceRead(ILExecThread * _thread,
ILNativeInt _p1, ILInt64 _p2, System_Array * _p3, ILInt32 _p4, ILInt32 _p5);
--- 314,317 ----
***************
*** 362,427 ****
extern ILUInt8 * _IL_ClrResourceStream_ResourceGetAddress(ILExecThread *
_thread, ILNativeInt _p1, ILInt64 _p2);
- extern ILNativeInt _IL_TypeBuilder_ClrTypeCreate(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2, ILString * _p3, ILString * _p4, ILInt32 _p5,
void * _p6);
- extern void _IL_TypeBuilder_ClrTypeSetPackingSize(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_TypeBuilder_ClrTypeSetClassSize(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_TypeBuilder_ClrTypeAddInterface(ILExecThread * _thread,
ILNativeInt _p1, void * _p2);
- extern ILInt32 _IL_TypeBuilder_ClrTypeGetPackingSize(ILExecThread * _thread,
ILNativeInt _p1);
- extern ILInt32 _IL_TypeBuilder_ClrTypeGetClassSize(ILExecThread * _thread,
ILNativeInt _p1);
- extern void _IL_TypeBuilder_ClrTypeAddOverride(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3);
- extern void _IL_TypeBuilder_ClrTypeSetParent(ILExecThread * _thread,
ILNativeInt _p1, void * _p2);
- extern ILInt32 _IL_TypeBuilder_ClrTypeImport(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2);
- extern ILInt32 _IL_TypeBuilder_ClrTypeImportMember(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2);
-
- extern ILInt32 _IL_AssemblyBuilder_ClrGetItemToken(ILExecThread * _thread,
ILNativeInt _p1);
- extern ILNativeInt _IL_AssemblyBuilder_ClrAssemblyCreate(ILExecThread *
_thread, ILString * _p1, ILInt32 _p2, ILInt32 _p3, ILInt32 _p4, ILInt32 _p5,
ILInt32 _p6, ILNativeInt * writer);
- extern void _IL_AssemblyBuilder_ClrSetEntryPoint(ILExecThread * _thread,
ILObject * _this, ILNativeInt _p1, ILInt32 _p2);
- extern ILNativeInt _IL_AssemblyBuilder_ClrGetItemFromToken(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2);
-
- extern ILNativeInt _IL_EventBuilder_ClrEventCreate(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILNativeInt _p3, ILInt32 _p4);
- extern void _IL_EventBuilder_ClrEventAddSemantics(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2, void * _p3);
-
- extern ILNativeInt _IL_FieldBuilder_ClrFieldCreate(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILNativeInt _p3, ILInt32 _p4);
- extern void _IL_FieldBuilder_ClrFieldSetRVA(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern void _IL_FieldBuilder_ClrFieldSetConstant(ILExecThread * _thread,
ILNativeInt _p1, ILObject * _p2);
- extern void _IL_FieldBuilder_ClrFieldSetMarshal(ILExecThread * _thread,
ILNativeInt _p1, System_Array * _p2);
- extern void _IL_FieldBuilder_ClrFieldSetOffset(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
-
- extern void _IL_MethodBuilder_ClrMethodAddPInvoke(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2, ILString * _p3, ILString * _p4);
- extern void _IL_MethodBuilder_ClrMethodSetRVA(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern ILNativeInt _IL_MethodBuilder_ClrMethodCreate(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILNativeInt _p4);
- extern void _IL_MethodBuilder_ClrMethodSetImplAttrs(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern ILInt32 _IL_MethodBuilder_ClrMethodCreateVarArgRef(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2, ILNativeInt _p3);
-
- extern ILInt32 _IL_ModuleBuilder_ClrModuleWriteData(ILExecThread * _thread,
ILNativeInt _p1, System_Array * _p2);
- extern ILInt32 _IL_ModuleBuilder_ClrModuleWriteGap(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
- extern ILNativeInt _IL_ModuleBuilder_ClrModuleCreate(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2);
- extern ILInt32 _IL_ModuleBuilder_ClrModuleCreateString(ILExecThread *
_thread, ILNativeInt _p1, ILString * _p2);
-
- extern ILNativeInt _IL_PropertyBuilder_ClrPropertyCreate(ILExecThread *
_thread, ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILNativeInt _p4);
- extern void _IL_PropertyBuilder_ClrPropertyAddSemantics(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2, void * _p3);
-
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateMethod(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2, ILNativeInt _p3);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateProperty(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigModuleToContext(ILExecThread *
_thread, ILNativeInt _p1);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreatePrimitive(ILExecThread *
_thread, ILNativeInt _p1, ILObject * _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateArray(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2, ILNativeInt _p3);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreatePointer(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateByRef(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateValueType(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateClass(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateField(ILExecThread *
_thread, ILNativeInt _p1);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateLocal(ILExecThread *
_thread, ILNativeInt _p1);
- extern ILBool _IL_SignatureHelper_ClrSigAddArgument(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2, ILNativeInt _p3);
- extern ILNativeInt _IL_SignatureHelper_ClrSigCreateMethodCopy(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2, ILInt32 _p3);
- extern ILBool _IL_SignatureHelper_ClrSigAddSentinel(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2);
- extern ILBool _IL_SignatureHelper_ClrSigIdentical(ILExecThread * _thread,
ILNativeInt _p1, ILNativeInt _p2);
- extern ILInt32 _IL_SignatureHelper_ClrSigGetHashCode(ILExecThread * _thread,
ILNativeInt _p1);
- extern System_Array * _IL_SignatureHelper_ClrSigGetBytes(ILExecThread *
_thread, ILNativeInt _p1, ILNativeInt _p2);
-
- extern ILNativeInt _IL_ParameterBuilder_ClrParameterCreate(ILExecThread *
_thread, ILNativeInt _p1, ILInt32 _p2, ILInt32 _p3, ILString * _p4);
- extern ILInt32 _IL_ParameterBuilder_ClrParameterGetPosition(ILExecThread *
_thread, ILNativeInt _p1);
- extern ILInt32 _IL_ParameterBuilder_ClrParameterGetAttrs(ILExecThread *
_thread, ILNativeInt _p1);
- extern ILString * _IL_ParameterBuilder_ClrParameterGetName(ILExecThread *
_thread, ILNativeInt _p1);
-
extern ILInt32 _IL_CultureInfo_InternalCultureID(ILExecThread * _thread);
extern ILString * _IL_CultureInfo_InternalCultureName(ILExecThread * _thread);
--- 319,322 ----
***************
*** 441,445 ****
extern ILString * _IL_DirMethods_GetSystemDirectory(ILExecThread * _thread);
- extern System_Array * _IL_DirMethods_GetLogicalDrives(ILExecThread * _thread);
extern void _IL_DirMethods_GetPathInfo(ILExecThread * _thread, void *
_result);
extern ILString * _IL_DirMethods_GetCurrentDirectory(ILExecThread * _thread);
--- 336,339 ----
***************
*** 449,456 ****
extern ILInt32 _IL_DirMethods_GetLastAccess(ILExecThread * _thread, ILString
* _p1, ILInt64 * lastac);
extern ILInt32 _IL_DirMethods_GetLastModification(ILExecThread * _thread,
ILString * _p1, ILInt64 * last_mod);
- extern ILInt32 _IL_DirMethods_ChangeDirectory(ILExecThread * _thread,
ILString * _p1);
- extern ILInt32 _IL_DirMethods_CreateDirectory(ILExecThread * _thread,
ILString * _p1);
extern ILInt32 _IL_DirMethods_GetFilesInDirectory(ILExecThread * _thread,
ILString * _p1, System_Array * * files);
extern ILInt32 _IL_DirMethods_Copy(ILExecThread * _thread, ILString * _p1,
ILString * _p2);
extern void _IL_Stdio_StdClose(ILExecThread * _thread, ILInt32 _p1);
--- 343,351 ----
extern ILInt32 _IL_DirMethods_GetLastAccess(ILExecThread * _thread, ILString
* _p1, ILInt64 * lastac);
extern ILInt32 _IL_DirMethods_GetLastModification(ILExecThread * _thread,
ILString * _p1, ILInt64 * last_mod);
extern ILInt32 _IL_DirMethods_GetFilesInDirectory(ILExecThread * _thread,
ILString * _p1, System_Array * * files);
+ extern ILInt32 _IL_DirMethods_ChangeDirectory(ILExecThread * _thread,
ILString * _p1);
extern ILInt32 _IL_DirMethods_Copy(ILExecThread * _thread, ILString * _p1,
ILString * _p2);
+ extern System_Array * _IL_DirMethods_GetLogicalDrives(ILExecThread * _thread);
+ extern ILInt32 _IL_DirMethods_CreateDirectory(ILExecThread * _thread,
ILString * _p1);
extern void _IL_Stdio_StdClose(ILExecThread * _thread, ILInt32 _p1);
***************
*** 487,491 ****
extern ILInt32 _IL_FileMethods_GetErrno(ILExecThread * _thread);
extern ILBool _IL_FileMethods_CanSeek(ILExecThread * _thread, ILNativeInt
_p1);
- extern ILBool _IL_FileMethods_CheckHandleAccess(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
extern ILInt64 _IL_FileMethods_Seek(ILExecThread * _thread, ILNativeInt _p1,
ILInt64 _p2, ILInt32 _p3);
extern ILBool _IL_FileMethods_Write(ILExecThread * _thread, ILNativeInt _p1,
System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
--- 382,385 ----
***************
*** 501,504 ****
--- 395,399 ----
extern ILInt32 _IL_FileMethods_SetLastWriteTime(ILExecThread * _thread,
ILString * _p1, ILInt64 _p2);
extern ILBool _IL_FileMethods_HasAsync(ILExecThread * _thread);
+ extern ILBool _IL_FileMethods_CheckHandleAccess(ILExecThread * _thread,
ILNativeInt _p1, ILInt32 _p2);
extern ILBool _IL_RuntimeSecurityManager_CanUseFileHandle(ILExecThread *
_thread, ILObject * _this, ILNativeInt _p1);
***************
*** 510,549 ****
extern ILString * _IL_InfoMethods_GetRuntimeVersion(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetNetBIOSMachineName(ILExecThread *
_thread);
- extern ILObject * _IL_InfoMethods_GetOSVersion(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetUserDomainName(ILExecThread * _thread);
extern ILBool _IL_InfoMethods_IsUserInteractive(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetUserName(ILExecThread * _thread);
extern ILInt64 _IL_InfoMethods_GetWorkingSet(ILExecThread * _thread);
- extern ILString * _IL_InfoMethods_GetSpecialFolder(ILExecThread * _thread,
ILInt32 _p1);
! extern ILNativeInt _IL_RegexpMethods_CompileInternal(ILExecThread * _thread,
ILString * _p1, ILInt32 _p2);
! extern ILInt32 _IL_RegexpMethods_ExecInternal(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILInt32 _p3);
extern void _IL_RegexpMethods_FreeInternal(ILExecThread * _thread,
ILNativeInt _p1);
!
! extern ILBool _IL_CryptoMethods_IsSemiWeakKey(ILExecThread * _thread,
System_Array * _p1, ILInt32 _p2);
! extern ILBool _IL_CryptoMethods_IsWeakKey(ILExecThread * _thread,
System_Array * _p1, ILInt32 _p2);
! extern ILNativeInt _IL_CryptoMethods_EncryptCreate(ILExecThread * _thread,
ILInt32 _p1, System_Array * _p2);
! extern ILNativeInt _IL_CryptoMethods_DecryptCreate(ILExecThread * _thread,
ILInt32 _p1, System_Array * _p2);
! extern void _IL_CryptoMethods_SymmetricFree(ILExecThread * _thread,
ILNativeInt _p1);
! extern ILNativeInt _IL_CryptoMethods_HashNew(ILExecThread * _thread, ILInt32
_p1);
! extern void _IL_CryptoMethods_HashReset(ILExecThread * _thread, ILNativeInt
_p1);
! extern void _IL_CryptoMethods_HashFree(ILExecThread * _thread, ILNativeInt
_p1);
! extern void _IL_CryptoMethods_HashUpdate(ILExecThread * _thread, ILNativeInt
_p1, System_Array * _p2, ILInt32 _p3, ILInt32 _p4);
! extern void _IL_CryptoMethods_HashFinal(ILExecThread * _thread, ILNativeInt
_p1, System_Array * _p2);
! extern ILBool _IL_CryptoMethods_AlgorithmSupported(ILExecThread * _thread,
ILInt32 _p1);
! extern void _IL_CryptoMethods_GenerateRandom(ILExecThread * _thread,
System_Array * _p1, ILInt32 _p2, ILInt32 _p3);
! extern ILBool _IL_CryptoMethods_SameKey(ILExecThread * _thread, System_Array
* _p1, ILInt32 _p2, System_Array * _p3, ILInt32 _p4);
! extern System_Array * _IL_CryptoMethods_GetKey(ILExecThread * _thread,
ILInt32 _p1, ILString * _p2, ILInt32 _p3, ILInt32 * result);
! extern System_Array * _IL_CryptoMethods_NumPow(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2, System_Array * _p3);
! extern System_Array * _IL_CryptoMethods_NumMod(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2);
! extern System_Array * _IL_CryptoMethods_NumInv(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2);
! extern System_Array * _IL_CryptoMethods_NumMul(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2, System_Array * _p3);
! extern System_Array * _IL_CryptoMethods_NumAdd(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2, System_Array * _p3);
! extern ILBool _IL_CryptoMethods_NumZero(ILExecThread * _thread, System_Array
* _p1);
! extern ILBool _IL_CryptoMethods_NumEq(ILExecThread * _thread, System_Array *
_p1, System_Array * _p2);
! extern System_Array * _IL_CryptoMethods_NumSub(ILExecThread * _thread,
System_Array * _p1, System_Array * _p2, System_Array * _p3);
! extern void _IL_CryptoMethods_Decrypt(ILExecThread * _thread, ILNativeInt
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
! extern void _IL_CryptoMethods_Encrypt(ILExecThread * _thread, ILNativeInt
_p1, System_Array * _p2, ILInt32 _p3, System_Array * _p4, ILInt32 _p5);
! extern void _IL_CryptoMethods_StoreKey(ILExecThread * _thread, ILInt32 _p1,
ILString * _p2, System_Array * _p3);
extern ILNativeInt _IL_SocketMethods_GetInvalidHandle(ILExecThread * _thread);
--- 405,418 ----
extern ILString * _IL_InfoMethods_GetRuntimeVersion(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetNetBIOSMachineName(ILExecThread *
_thread);
extern ILString * _IL_InfoMethods_GetUserDomainName(ILExecThread * _thread);
extern ILBool _IL_InfoMethods_IsUserInteractive(ILExecThread * _thread);
extern ILString * _IL_InfoMethods_GetUserName(ILExecThread * _thread);
extern ILInt64 _IL_InfoMethods_GetWorkingSet(ILExecThread * _thread);
! extern ILNativeInt _IL_RegexpMethods_CompileWithSyntaxInternal(ILExecThread *
_thread, ILString * _p1, ILInt32 _p2);
extern void _IL_RegexpMethods_FreeInternal(ILExecThread * _thread,
ILNativeInt _p1);
! extern ILInt32 _IL_RegexpMethods_ExecInternal(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILInt32 _p3);
! extern ILObject * _IL_RegexpMethods_MatchInternal(ILExecThread * _thread,
ILNativeInt _p1, ILString * _p2, ILInt32 _p3, ILInt32 _p4, ILObject * _p5);
! extern ILNativeInt _IL_RegexpMethods_CompileInternal(ILExecThread * _thread,
ILString * _p1, ILInt32 _p2);
extern ILNativeInt _IL_SocketMethods_GetInvalidHandle(ILExecThread * _thread);
Index: int_table.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_table.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -r1.57 -r1.58
*** int_table.c 3 Apr 2003 05:39:33 -0000 1.57
--- int_table.c 6 Apr 2003 06:19:26 -0000 1.58
***************
*** 41,106 ****
#if !defined(HAVE_LIBFFI)
! static void marshal_vppp(void (*fn)(), void *rvalue, void **avalue)
! {
! (*(void (*)(void *, void *, void *))fn)(*((void * *)(avalue[0])),
*((void * *)(avalue[1])), *((void * *)(avalue[2])));
! }
!
! #endif
!
! #if !defined(HAVE_LIBFFI)
[...1209 lines suppressed...]
***************
*** 2880,2886 ****
{"Security", "Platform", Security_Methods},
#endif
- #ifndef _IL_SignatureHelper_suppressed
- {"SignatureHelper", "System.Reflection.Emit", SignatureHelper_Methods},
- #endif
#ifndef _IL_Single_suppressed
{"Single", "System", Single_Methods},
--- 2314,2317 ----
***************
*** 2912,2918 ****
#ifndef _IL_Type_suppressed
{"Type", "System", Type_Methods},
- #endif
- #ifndef _IL_TypeBuilder_suppressed
- {"TypeBuilder", "System.Reflection.Emit", TypeBuilder_Methods},
#endif
#ifndef _IL_TypedReference_suppressed
--- 2343,2346 ----
Index: lib_regexp.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_regexp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** lib_regexp.c 14 Dec 2002 23:24:39 -0000 1.3
--- lib_regexp.c 6 Apr 2003 06:19:26 -0000 1.4
***************
*** 3,7 ****
*
* Copyright (C) 2002 Free Software Foundation, Inc.
! * Copyright (C) 2002 Southern Storm Software, Pty Ltd.
*
* Contributions by Gopal V, Rhys Weatherley
--- 3,7 ----
*
* Copyright (C) 2002 Free Software Foundation, Inc.
! * Copyright (C) 2002, 2003 Southern Storm Software, Pty Ltd.
*
* Contributions by Gopal V, Rhys Weatherley
***************
*** 52,57 ****
if(error)
{
- /* TODO: use regerror to add a descriptive message to the
exception */
- ILExecThreadThrowSystem(_thread, "System.ArgumentException",0);
ILFree(result);
return 0;
--- 52,55 ----
***************
*** 60,63 ****
--- 58,108 ----
}
+ /*
+ * public static IntPtr CompileWithSyntaxInternal(String pattern, int syntax);
+ */
+ ILNativeInt _IL_RegexpMethods_CompileWithSyntaxInternal(ILExecThread *_thread,
+
ILString *pattern,
+
ILInt32 syntax)
+ {
+ char *pat;
+ int error;
+ struct re_pattern_buffer *result;
+ pat=ILStringToAnsi(_thread,pattern);
+ if(!pat)
+ {
+ ILExecThreadThrowOutOfMemory(_thread);
+ return 0;
+ }
+ result=(struct re_pattern_buffer *)ILCalloc
+ (1,sizeof(struct re_pattern_buffer));
+ if(!result)
+ {
+ ILExecThreadThrowOutOfMemory(_thread);
+ return 0;
+ }
+ if(syntax == RE_SYNTAX_POSIX_BASIC)
+ {
+ error=IL_regcomp(result,pat,0);
+ }
+ else if(syntax == RE_SYNTAX_POSIX_EXTENDED)
+ {
+ error=IL_regcomp(result,pat,REG_EXTENDED);
+ }
+ else
+ {
+ re_set_syntax((reg_syntax_t)syntax);
+ error=(IL_re_compile_pattern(pat,strlen(pat),result) == 0);
+ }
+ if(error != 0)
+ {
+ ILFree(result);
+ return 0;
+ }
+ else
+ {
+ return (ILNativeInt)result;
+ }
+ }
+
ILInt32 _IL_RegexpMethods_ExecInternal(ILExecThread * _thread,
ILNativeInt compiled,
***************
*** 71,75 ****
return -1;
}
! return IL_regexec((regex_t*)compiled,pat,flags,0,0);
}
--- 116,216 ----
return -1;
}
! return IL_regexec((regex_t*)compiled,pat,0,0,flags);
! }
!
! /*
! * Match information that may be returned by "MatchInternal".
! */
! typedef struct
! {
! ILInt32 start;
! ILInt32 end;
!
! } RegexMatch;
!
! /*
! * public static Array MatchInternal(IntPtr compiled,
! * String
input, int maxMatches,
! * int flags,
Type elemType);
! */
! ILObject *_IL_RegexpMethods_MatchInternal(ILExecThread *_thread,
!
ILNativeInt compiled,
!
ILString *input,
!
ILInt32 maxMatches,
!
ILInt32 flags,
!
ILObject *elemType)
! {
! char *pat;
! regmatch_t *matches;
! ILClass *elemClass;
! ILObject *array;
! ILInt32 numMatches;
! RegexMatch *matchList;
!
! pat= ILStringToAnsi(_thread,input);
! if(!pat)
! {
! ILExecThreadThrowOutOfMemory(_thread);
! return 0;
! }
! if(maxMatches > 0)
! {
! matches = (regmatch_t *)ILCalloc(maxMatches,
sizeof(regmatch_t));
! if(!matches)
! {
! ILExecThreadThrowOutOfMemory(_thread);
! return 0;
! }
! }
! else
! {
! matches = 0;
! maxMatches = 0;
! }
! if(IL_regexec((regex_t*)compiled,pat,(size_t)maxMatches,matches,flags)
!= 0)
! {
! if(matches != 0)
! {
! ILFree(matches);
! }
! return 0;
! }
! elemClass = _ILGetClrClass(_thread, elemType);
! if(!elemClass)
! {
! if(matches != 0)
! {
! ILFree(matches);
! }
! return 0;
! }
! numMatches = 0;
! while(numMatches < maxMatches && matches[numMatches].rm_so != -1)
! {
! ++numMatches;
! }
! array = _IL_Array_CreateArray_jiiii
! (_thread, (ILNativeInt)elemClass, 1, numMatches, 0, 0);
! if(!array)
! {
! if(matches != 0)
! {
! ILFree(matches);
! }
! return 0;
! }
! matchList = ArrayToBuffer(array);
! numMatches = 0;
! while(numMatches < maxMatches && matches[numMatches].rm_so != -1)
! {
! matchList[numMatches].start =
(ILInt32)(matches[numMatches].rm_so);
! matchList[numMatches].end =
(ILInt32)(matches[numMatches].rm_eo);
! ++numMatches;
! }
! if(matches != 0)
! {
! ILFree(matches);
! }
! return array;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/engine int_proto.h,1.55,1.56 int_table.c,1.57,1.58 lib_regexp.c,1.3,1.4,
Rhys Weatherley <address@hidden> <=