No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Unity.Burst.Unsafe.cpp 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. struct Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA;
  9. struct IsReadOnlyAttribute_t0F24CF54B4D1245C4463E7C989E457CB05E113F8;
  10. struct NonVersionableAttribute_t1DB218A79D38828C49D22FA63D91E463687ABDF5;
  11. IL2CPP_EXTERN_C_BEGIN
  12. IL2CPP_EXTERN_C_END
  13. #ifdef __clang__
  14. #pragma clang diagnostic push
  15. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  16. #pragma clang diagnostic ignored "-Wunused-variable"
  17. #endif
  18. struct U3CModuleU3E_tF47F9AD17E4C851F27F94EF9A1FB29A52BA6B8A8
  19. {
  20. };
  21. struct Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA : public RuntimeObject
  22. {
  23. };
  24. struct Unsafe_t7A5BFA4CCC4DE54D6A25FB6312C3DB95A35D2B9E : public RuntimeObject
  25. {
  26. };
  27. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  28. {
  29. };
  30. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  31. {
  32. };
  33. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  34. {
  35. };
  36. struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
  37. {
  38. uint8_t ___m_value;
  39. };
  40. struct IsReadOnlyAttribute_t0F24CF54B4D1245C4463E7C989E457CB05E113F8 : public Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA
  41. {
  42. };
  43. struct NonVersionableAttribute_t1DB218A79D38828C49D22FA63D91E463687ABDF5 : public Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA
  44. {
  45. };
  46. struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
  47. {
  48. uint32_t ___m_value;
  49. };
  50. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  51. {
  52. union
  53. {
  54. struct
  55. {
  56. };
  57. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  58. };
  59. };
  60. #ifdef __clang__
  61. #pragma clang diagnostic pop
  62. #endif
  63. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Attribute__ctor_m79ED1BF1EE36D1E417BA89A0D9F91F8AAD8D19E2 (Attribute_tFDA8EFEFB0711976D22474794576DAF28F7440AA* __this, const RuntimeMethod* method) ;
  64. #ifdef __clang__
  65. #pragma clang diagnostic push
  66. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  67. #pragma clang diagnostic ignored "-Wunused-variable"
  68. #endif
  69. #ifdef __clang__
  70. #pragma clang diagnostic pop
  71. #endif
  72. #ifdef __clang__
  73. #pragma clang diagnostic push
  74. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  75. #pragma clang diagnostic ignored "-Wunused-variable"
  76. #endif
  77. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_CopyBlock_mEE549E5B722DBA08465F585E64B08C6F0851C63A (void* ___0_destination, void* ___1_source, uint32_t ___2_byteCount, const RuntimeMethod* method)
  78. {
  79. {
  80. void* L_0 = ___0_destination;
  81. void* L_1 = ___1_source;
  82. uint32_t L_2 = ___2_byteCount;
  83. il2cpp_codegen_memcpy(L_0, L_1, L_2);
  84. return;
  85. }
  86. }
  87. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_CopyBlock_mB2F0061CE4AC8B365EA84000AB91A07EC0688CFB (uint8_t* ___0_destination, uint8_t* ___1_source, uint32_t ___2_byteCount, const RuntimeMethod* method)
  88. {
  89. {
  90. uint8_t* L_0 = ___0_destination;
  91. uint8_t* L_1 = ___1_source;
  92. uint32_t L_2 = ___2_byteCount;
  93. il2cpp_codegen_memcpy(L_0, L_1, L_2);
  94. return;
  95. }
  96. }
  97. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_CopyBlockUnaligned_mA98259D4AD22A90DC7F39A97ECCF621E891613F3 (void* ___0_destination, void* ___1_source, uint32_t ___2_byteCount, const RuntimeMethod* method)
  98. {
  99. {
  100. void* L_0 = ___0_destination;
  101. void* L_1 = ___1_source;
  102. uint32_t L_2 = ___2_byteCount;
  103. il2cpp_codegen_memcpy(L_0, L_1, L_2);
  104. return;
  105. }
  106. }
  107. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_CopyBlockUnaligned_m98682FA9FBBC2E6A5D4CD90EAC1D02E4E5F7B1BA (uint8_t* ___0_destination, uint8_t* ___1_source, uint32_t ___2_byteCount, const RuntimeMethod* method)
  108. {
  109. {
  110. uint8_t* L_0 = ___0_destination;
  111. uint8_t* L_1 = ___1_source;
  112. uint32_t L_2 = ___2_byteCount;
  113. il2cpp_codegen_memcpy(L_0, L_1, L_2);
  114. return;
  115. }
  116. }
  117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_InitBlock_mA585B84FCBCAAC1BB9050AE53969FF1AF0EBD369 (void* ___0_startAddress, uint8_t ___1_value, uint32_t ___2_byteCount, const RuntimeMethod* method)
  118. {
  119. {
  120. void* L_0 = ___0_startAddress;
  121. uint8_t L_1 = ___1_value;
  122. uint32_t L_2 = ___2_byteCount;
  123. il2cpp_codegen_memset(L_0, L_1, L_2);
  124. return;
  125. }
  126. }
  127. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_InitBlock_m9632C2B0D7D0ECC88CA7398C83BE8EBD151E81D9 (uint8_t* ___0_startAddress, uint8_t ___1_value, uint32_t ___2_byteCount, const RuntimeMethod* method)
  128. {
  129. {
  130. uint8_t* L_0 = ___0_startAddress;
  131. uint8_t L_1 = ___1_value;
  132. uint32_t L_2 = ___2_byteCount;
  133. il2cpp_codegen_memset(L_0, L_1, L_2);
  134. return;
  135. }
  136. }
  137. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_InitBlockUnaligned_m88E390D0E318E19F7680301AD5D3810DE69CD9DE (void* ___0_startAddress, uint8_t ___1_value, uint32_t ___2_byteCount, const RuntimeMethod* method)
  138. {
  139. {
  140. void* L_0 = ___0_startAddress;
  141. uint8_t L_1 = ___1_value;
  142. uint32_t L_2 = ___2_byteCount;
  143. il2cpp_codegen_memset(L_0, L_1, L_2);
  144. return;
  145. }
  146. }
  147. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Unsafe_InitBlockUnaligned_m617B4B62CFE8A1E30DE4B9F0AC6BF9CAB113D94A (uint8_t* ___0_startAddress, uint8_t ___1_value, uint32_t ___2_byteCount, const RuntimeMethod* method)
  148. {
  149. {
  150. uint8_t* L_0 = ___0_startAddress;
  151. uint8_t L_1 = ___1_value;
  152. uint32_t L_2 = ___2_byteCount;
  153. il2cpp_codegen_memset(L_0, L_1, L_2);
  154. return;
  155. }
  156. }
  157. #ifdef __clang__
  158. #pragma clang diagnostic pop
  159. #endif
  160. #ifdef __clang__
  161. #pragma clang diagnostic push
  162. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  163. #pragma clang diagnostic ignored "-Wunused-variable"
  164. #endif
  165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NonVersionableAttribute__ctor_mBC3056ECFEE16B17F3779A50EBDCCD519078E862 (NonVersionableAttribute_t1DB218A79D38828C49D22FA63D91E463687ABDF5* __this, const RuntimeMethod* method)
  166. {
  167. {
  168. Attribute__ctor_m79ED1BF1EE36D1E417BA89A0D9F91F8AAD8D19E2(__this, NULL);
  169. return;
  170. }
  171. }
  172. #ifdef __clang__
  173. #pragma clang diagnostic pop
  174. #endif
  175. #ifdef __clang__
  176. #pragma clang diagnostic push
  177. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  178. #pragma clang diagnostic ignored "-Wunused-variable"
  179. #endif
  180. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IsReadOnlyAttribute__ctor_m5CCFBC2EDEEA918A10A9C5A57A355234A495046D (IsReadOnlyAttribute_t0F24CF54B4D1245C4463E7C989E457CB05E113F8* __this, const RuntimeMethod* method)
  181. {
  182. {
  183. Attribute__ctor_m79ED1BF1EE36D1E417BA89A0D9F91F8AAD8D19E2(__this, NULL);
  184. return;
  185. }
  186. }
  187. #ifdef __clang__
  188. #pragma clang diagnostic pop
  189. #endif