1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is [Open Source Virtual Machine].
16 * The Initial Developer of the Original Code is
17 * Adobe System Incorporated.
18 * Portions created by the Initial Developer are Copyright (C) 2008
19 * the Initial Developer. All Rights Reserved.
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 /* machine generated file -- do not edit */
40 #define AVMTHUNK_VERSION 5
43 class ArrayObject
; // Array
44 class ClassClosure
; // Class
45 class DeleteObjectSampleClass
; // flash.sampler::DeleteObjectSample$
46 class DeleteObjectSampleObject
; // flash.sampler::DeleteObjectSample
47 class DictionaryClass
; // flash.utils::Dictionary$
48 class DictionaryObject
; // flash.utils::Dictionary
49 class JObject
; // avmplus::JObject
50 class JObjectClass
; // avmplus::JObject$
51 class NewObjectSampleClass
; // flash.sampler::NewObjectSample$
52 class NewObjectSampleObject
; // flash.sampler::NewObjectSample
53 class SampleClass
; // flash.sampler::Sample$
54 class SampleObject
; // flash.sampler::Sample
55 class ScriptObject
; // avmplus::System
56 class ScriptObject
; // avmplus::File
57 class ScriptObject
; // flash.trace::Trace
58 class StackFrameClass
; // flash.sampler::StackFrame$
59 class StackFrameObject
; // flash.sampler::StackFrame
60 class String
; // String
61 class TraceClass
; // flash.trace::Trace$
65 class DomainClass
; // avmplus::Domain$
66 class DomainObject
; // avmplus::Domain
67 class FileClass
; // avmplus::File$
68 class MIClass
; // avmplus::MI$
69 class MIObject
; // avmplus::MI
70 class SystemClass
; // avmplus::System$
73 namespace avmplus
{ namespace NativeID
{
75 extern const uint32_t shell_toplevel_abc_class_count
;
76 extern const uint32_t shell_toplevel_abc_script_count
;
77 extern const uint32_t shell_toplevel_abc_method_count
;
78 extern const uint32_t shell_toplevel_abc_length
;
79 extern const uint8_t shell_toplevel_abc_data
[];
80 AVMTHUNK_DECLARE_NATIVE_INITIALIZER(shell_toplevel
)
83 const uint32_t abcclass_avmplus_ITest
= 0;
84 const uint32_t abcclass_avmplus_CTest
= 1;
85 const uint32_t abcclass_avmplus_MI
= 2;
86 const uint32_t abcclass_avmplus_System
= 3;
87 const uint32_t abcclass_avmplus_File
= 4;
88 const uint32_t abcclass_flash_system_Capabilities
= 5;
89 const uint32_t abcclass_avmplus_public_class
= 6;
90 const uint32_t abcclass_avmplus_public_class_660
= 7;
91 const uint32_t abcclass_avmplus_public_class_661
= 8;
92 const uint32_t abcclass_avmplus_public_class_662
= 9;
93 const uint32_t abcclass_avmplus_public_class_663
= 10;
94 const uint32_t abcclass_avmplus_public_class_664
= 11;
95 const uint32_t abcclass_avmplus_public_class_665
= 12;
96 const uint32_t abcclass_avmplus_public_class_661_662
= 13;
97 const uint32_t abcclass_avmplus_public_class_666_660
= 14;
98 const uint32_t abcclass_avmplus_public_class_664_662_666
= 15;
99 const uint32_t abcclass_avmplus_public_class_665_660_661_662
= 16;
100 const uint32_t abcclass_avmplus_public_interface
= 17;
101 const uint32_t abcclass_avmplus_public_interface_660
= 18;
102 const uint32_t abcclass_avmplus_public_interface_661
= 19;
103 const uint32_t abcclass_avmplus_public_interface_662
= 20;
104 const uint32_t abcclass_avmplus_public_interface_663
= 21;
105 const uint32_t abcclass_avmplus_public_interface_664
= 22;
106 const uint32_t abcclass_avmplus_public_interface_665
= 23;
107 const uint32_t abcclass_avmplus_public_interface_661_662
= 24;
108 const uint32_t abcclass_avmplus_public_interface_666_660
= 25;
109 const uint32_t abcclass_avmplus_public_interface_664_662_666
= 26;
110 const uint32_t abcclass_avmplus_public_interface_665_660_661_662
= 27;
111 const uint32_t abcclass_avmplus_Domain
= 28;
112 const uint32_t abcclass_flash_sampler_StackFrame
= 29;
113 const uint32_t abcclass_flash_sampler_Sample
= 30;
114 const uint32_t abcclass_flash_sampler_NewObjectSample
= 31;
115 const uint32_t abcclass_flash_sampler_DeleteObjectSample
= 32;
116 const uint32_t abcclass_flash_trace_Trace
= 33;
117 const uint32_t abcclass_flash_utils_Dictionary
= 34;
118 const uint32_t abcclass_flash_utils_Endian
= 35;
119 const uint32_t abcclass_avmplus_JObject
= 36;
122 const uint32_t avmplus_MI_plus
= 46;
123 const uint32_t avmplus_System_exit
= 49;
124 const uint32_t avmplus_System_exec
= 50;
125 const uint32_t avmplus_System_getAvmplusVersion
= 51;
126 const uint32_t avmplus_System_trace
= 52;
127 const uint32_t avmplus_System_write
= 53;
128 const uint32_t avmplus_System_debugger
= 54;
129 const uint32_t avmplus_System_isDebugger
= 55;
130 const uint32_t avmplus_System_getTimer
= 56;
131 const uint32_t avmplus_System_private_getArgv
= 57;
132 const uint32_t avmplus_System_readLine
= 58;
133 const uint32_t avmplus_System_totalMemory_get
= 59;
134 const uint32_t avmplus_System_freeMemory_get
= 60;
135 const uint32_t avmplus_System_privateMemory_get
= 61;
136 const uint32_t avmplus_System_forceFullCollection
= 62;
137 const uint32_t avmplus_System_queueCollection
= 63;
138 const uint32_t avmplus_System_ns_example_nstest
= 64;
139 const uint32_t avmplus_System_isGlobal
= 65;
140 const uint32_t avmplus_System_swfVersion_get
= 66;
141 const uint32_t avmplus_System_disposeXML
= 67;
142 const uint32_t avmplus_File_exists
= 70;
143 const uint32_t avmplus_File_read
= 71;
144 const uint32_t avmplus_File_write
= 72;
145 const uint32_t avmplus_File_readByteArray
= 73;
146 const uint32_t avmplus_File_writeByteArray
= 74;
147 const uint32_t avmplus_Domain_currentDomain_get
= 159;
148 const uint32_t avmplus_Domain_MIN_DOMAIN_MEMORY_LENGTH_get
= 160;
149 const uint32_t avmplus_Domain_private_init
= 161;
150 const uint32_t avmplus_Domain_loadBytes
= 163;
151 const uint32_t avmplus_Domain_getClass
= 164;
152 const uint32_t avmplus_Domain_domainMemory_get
= 166;
153 const uint32_t avmplus_Domain_domainMemory_set
= 167;
154 const uint32_t native_script_function_flash_sampler_getMasterString
= 169;
155 const uint32_t native_script_function_flash_sampler_getSavedThis
= 170;
156 const uint32_t native_script_function_flash_sampler_getLexicalScopes
= 171;
157 const uint32_t native_script_function_flash_sampler_isGetterSetter
= 172;
158 const uint32_t native_script_function_flash_sampler__getInvocationCount
= 173;
159 const uint32_t native_script_function_flash_sampler_getSampleCount
= 177;
160 const uint32_t native_script_function_flash_sampler_getSamples
= 178;
161 const uint32_t native_script_function_flash_sampler_getMemberNames
= 179;
162 const uint32_t native_script_function_flash_sampler_getSize
= 180;
163 const uint32_t native_script_function_flash_sampler__setSamplerCallback
= 181;
164 const uint32_t native_script_function_flash_sampler_sampleInternalAllocs
= 184;
165 const uint32_t native_script_function_flash_sampler_pauseSampling
= 185;
166 const uint32_t native_script_function_flash_sampler_stopSampling
= 186;
167 const uint32_t native_script_function_flash_sampler_startSampling
= 187;
168 const uint32_t native_script_function_flash_sampler_clearSamples
= 188;
169 const uint32_t flash_sampler_NewObjectSample_object_get
= 195;
170 const uint32_t flash_sampler_NewObjectSample_size_get
= 196;
171 const uint32_t flash_trace_Trace_setLevel
= 202;
172 const uint32_t flash_trace_Trace_getLevel
= 203;
173 const uint32_t flash_trace_Trace_setListener
= 204;
174 const uint32_t flash_trace_Trace_getListener
= 205;
175 const uint32_t flash_utils_Dictionary_private_init
= 209;
176 const uint32_t avmplus_JObject_create
= 216;
177 const uint32_t avmplus_JObject_createArray
= 217;
178 const uint32_t avmplus_JObject_toArray
= 218;
179 const uint32_t avmplus_JObject_constructorSignature
= 219;
180 const uint32_t avmplus_JObject_methodSignature
= 220;
181 const uint32_t avmplus_JObject_fieldSignature
= 221;
183 extern AvmBox
avmplus_Domain_currentDomain_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
184 extern AvmBox
avmplus_Domain_MIN_DOMAIN_MEMORY_LENGTH_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
185 extern AvmBox
avmplus_Domain_private_init_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
186 extern AvmBox
avmplus_Domain_loadBytes_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
187 extern AvmBox
avmplus_Domain_getClass_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
188 extern AvmBox
avmplus_Domain_domainMemory_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
189 extern AvmBox
avmplus_Domain_domainMemory_set_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
190 extern AvmBox
flash_sampler_NewObjectSample_object_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
191 extern double flash_sampler_NewObjectSample_size_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
192 extern AvmBox
native_script_function_flash_sampler_clearSamples_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
193 extern AvmBox
native_script_function_flash_sampler_startSampling_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
194 extern AvmBox
native_script_function_flash_sampler_stopSampling_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
195 extern AvmBox
native_script_function_flash_sampler_pauseSampling_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
196 extern AvmBox
native_script_function_flash_sampler_sampleInternalAllocs_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
197 extern AvmBox
native_script_function_flash_sampler__setSamplerCallback_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
198 extern double native_script_function_flash_sampler_getSize_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
199 extern AvmBox
native_script_function_flash_sampler_getMemberNames_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
200 extern AvmBox
native_script_function_flash_sampler_getSamples_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
201 extern double native_script_function_flash_sampler_getSampleCount_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
202 extern double native_script_function_flash_sampler__getInvocationCount_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
203 extern AvmBox
native_script_function_flash_sampler_isGetterSetter_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
204 extern AvmBox
native_script_function_flash_sampler_getLexicalScopes_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
205 extern AvmBox
native_script_function_flash_sampler_getSavedThis_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
206 extern AvmBox
native_script_function_flash_sampler_getMasterString_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
207 extern AvmBox
flash_trace_Trace_setLevel_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
208 extern AvmBox
flash_trace_Trace_getLevel_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
209 extern AvmBox
flash_trace_Trace_setListener_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
210 extern AvmBox
flash_trace_Trace_getListener_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
211 extern AvmBox
flash_utils_Dictionary_private_init_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
212 extern AvmBox
avmplus_JObject_create_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
213 extern AvmBox
avmplus_JObject_createArray_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
214 extern AvmBox
avmplus_JObject_toArray_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
215 extern AvmBox
avmplus_JObject_constructorSignature_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
216 extern AvmBox
avmplus_JObject_methodSignature_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
217 extern AvmBox
avmplus_JObject_fieldSignature_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
218 extern double avmplus_MI_plus_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
219 extern AvmBox
avmplus_System_exit_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
220 extern AvmBox
avmplus_System_exec_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
221 extern AvmBox
avmplus_System_getAvmplusVersion_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
222 extern AvmBox
avmplus_System_trace_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
223 extern AvmBox
avmplus_System_write_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
224 extern AvmBox
avmplus_System_debugger_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
225 extern AvmBox
avmplus_System_isDebugger_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
226 extern AvmBox
avmplus_System_getTimer_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
227 extern AvmBox
avmplus_System_private_getArgv_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
228 extern AvmBox
avmplus_System_readLine_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
229 extern double avmplus_System_totalMemory_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
230 extern double avmplus_System_freeMemory_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
231 extern double avmplus_System_privateMemory_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
232 extern AvmBox
avmplus_System_forceFullCollection_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
233 extern AvmBox
avmplus_System_queueCollection_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
234 extern AvmBox
avmplus_System_ns_example_nstest_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
235 extern AvmBox
avmplus_System_isGlobal_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
236 extern AvmBox
avmplus_System_swfVersion_get_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
237 extern AvmBox
avmplus_System_disposeXML_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
238 extern AvmBox
avmplus_File_exists_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
239 extern AvmBox
avmplus_File_read_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
240 extern AvmBox
avmplus_File_write_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
241 extern AvmBox
avmplus_File_readByteArray_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
242 extern AvmBox
avmplus_File_writeByteArray_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
244 #ifdef VMCFG_INDIRECT_NATIVE_THUNKS
246 extern AvmBox
shell_toplevel_s2a_oos_rest_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
247 #define avmplus_JObject_methodSignature_thunk shell_toplevel_s2a_oos_rest_thunk
249 extern AvmBox
shell_toplevel_func_s2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
250 #define native_script_function_flash_sampler_getMasterString_thunk shell_toplevel_func_s2a_os_thunk
252 extern AvmBox
shell_toplevel_func_v2a_oo_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
253 #define native_script_function_flash_sampler__setSamplerCallback_thunk shell_toplevel_func_v2a_oo_thunk
255 extern double shell_toplevel_d2d_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
256 #define avmplus_System_freeMemory_get_thunk shell_toplevel_d2d_o_thunk
257 #define avmplus_System_privateMemory_get_thunk shell_toplevel_d2d_o_thunk
258 #define avmplus_System_totalMemory_get_thunk shell_toplevel_d2d_o_thunk
259 #define flash_sampler_NewObjectSample_size_get_thunk shell_toplevel_d2d_o_thunk
261 extern AvmBox
shell_toplevel_a2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
262 #define avmplus_Domain_getClass_thunk shell_toplevel_a2a_os_thunk
263 #define avmplus_File_readByteArray_thunk shell_toplevel_a2a_os_thunk
265 extern AvmBox
shell_toplevel_func_b2a_oao_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
266 #define native_script_function_flash_sampler_isGetterSetter_thunk shell_toplevel_func_b2a_oao_thunk
268 extern AvmBox
shell_toplevel_a2a_oo_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
269 #define avmplus_JObject_toArray_thunk shell_toplevel_a2a_oo_thunk
270 #define flash_trace_Trace_setListener_thunk shell_toplevel_a2a_oo_thunk
272 extern AvmBox
shell_toplevel_s2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
273 #define avmplus_System_getAvmplusVersion_thunk shell_toplevel_s2a_o_thunk
274 #define avmplus_System_readLine_thunk shell_toplevel_s2a_o_thunk
276 extern AvmBox
shell_toplevel_func_v2a_ob_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
277 #define native_script_function_flash_sampler_sampleInternalAllocs_thunk shell_toplevel_func_v2a_ob_thunk
279 extern AvmBox
shell_toplevel_v2a_oss_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
280 #define avmplus_File_write_thunk shell_toplevel_v2a_oss_thunk
282 extern double shell_toplevel_func_d2d_oa_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
283 #define native_script_function_flash_sampler_getSize_thunk shell_toplevel_func_d2d_oa_thunk
285 extern AvmBox
shell_toplevel_func_v2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
286 #define native_script_function_flash_sampler_clearSamples_thunk shell_toplevel_func_v2a_o_thunk
287 #define native_script_function_flash_sampler_pauseSampling_thunk shell_toplevel_func_v2a_o_thunk
288 #define native_script_function_flash_sampler_startSampling_thunk shell_toplevel_func_v2a_o_thunk
289 #define native_script_function_flash_sampler_stopSampling_thunk shell_toplevel_func_v2a_o_thunk
291 extern AvmBox
shell_toplevel_u2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
292 #define avmplus_Domain_MIN_DOMAIN_MEMORY_LENGTH_get_thunk shell_toplevel_u2a_o_thunk
293 #define avmplus_System_getTimer_thunk shell_toplevel_u2a_o_thunk
295 extern AvmBox
shell_toplevel_s2a_os_rest_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
296 #define avmplus_JObject_constructorSignature_thunk shell_toplevel_s2a_os_rest_thunk
298 extern double shell_toplevel_func_d2d_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
299 #define native_script_function_flash_sampler_getSampleCount_thunk shell_toplevel_func_d2d_o_thunk
301 extern AvmBox
shell_toplevel_i2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
302 #define avmplus_System_swfVersion_get_thunk shell_toplevel_i2a_o_thunk
304 extern AvmBox
shell_toplevel_s2a_oos_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
305 #define avmplus_JObject_fieldSignature_thunk shell_toplevel_s2a_oos_thunk
307 extern AvmBox
shell_toplevel_i2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
308 #define avmplus_System_exec_thunk shell_toplevel_i2a_os_thunk
310 extern AvmBox
shell_toplevel_b2a_oa_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
311 #define avmplus_System_isGlobal_thunk shell_toplevel_b2a_oa_thunk
313 extern AvmBox
shell_toplevel_s2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
314 #define avmplus_File_read_thunk shell_toplevel_s2a_os_thunk
316 extern AvmBox
shell_toplevel_func_a2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
317 #define native_script_function_flash_sampler_getSamples_thunk shell_toplevel_func_a2a_o_thunk
319 extern AvmBox
shell_toplevel_a2a_os_rest_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
320 #define avmplus_JObject_create_thunk shell_toplevel_a2a_os_rest_thunk
322 extern AvmBox
shell_toplevel_func_a2a_oo_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
323 #define native_script_function_flash_sampler_getLexicalScopes_thunk shell_toplevel_func_a2a_oo_thunk
324 #define native_script_function_flash_sampler_getSavedThis_thunk shell_toplevel_func_a2a_oo_thunk
326 extern AvmBox
shell_toplevel_b2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
327 #define avmplus_File_exists_thunk shell_toplevel_b2a_os_thunk
329 extern AvmBox
shell_toplevel_a2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
330 #define avmplus_Domain_currentDomain_get_thunk shell_toplevel_a2a_o_thunk
331 #define avmplus_Domain_domainMemory_get_thunk shell_toplevel_a2a_o_thunk
332 #define avmplus_System_private_getArgv_thunk shell_toplevel_a2a_o_thunk
333 #define flash_sampler_NewObjectSample_object_get_thunk shell_toplevel_a2a_o_thunk
334 #define flash_trace_Trace_getListener_thunk shell_toplevel_a2a_o_thunk
336 extern AvmBox
shell_toplevel_a2a_oou_opti0_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
337 #define avmplus_Domain_loadBytes_thunk shell_toplevel_a2a_oou_opti0_thunk
339 extern AvmBox
shell_toplevel_v2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
340 #define avmplus_System_debugger_thunk shell_toplevel_v2a_o_thunk
341 #define avmplus_System_forceFullCollection_thunk shell_toplevel_v2a_o_thunk
342 #define avmplus_System_ns_example_nstest_thunk shell_toplevel_v2a_o_thunk
343 #define avmplus_System_queueCollection_thunk shell_toplevel_v2a_o_thunk
345 extern double shell_toplevel_d2d_od_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
346 #define avmplus_MI_plus_thunk shell_toplevel_d2d_od_thunk
348 extern AvmBox
shell_toplevel_v2a_ob_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
349 #define flash_utils_Dictionary_private_init_thunk shell_toplevel_v2a_ob_thunk
351 extern AvmBox
shell_toplevel_i2a_oi_opti2_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
352 #define flash_trace_Trace_getLevel_thunk shell_toplevel_i2a_oi_opti2_thunk
354 extern AvmBox
shell_toplevel_a2a_oii_opti2_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
355 #define flash_trace_Trace_setLevel_thunk shell_toplevel_a2a_oii_opti2_thunk
357 extern AvmBox
shell_toplevel_b2a_oso_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
358 #define avmplus_File_writeByteArray_thunk shell_toplevel_b2a_oso_thunk
360 extern AvmBox
shell_toplevel_a2a_ooio_optakAvmThunkNull_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
361 #define avmplus_JObject_createArray_thunk shell_toplevel_a2a_ooio_optakAvmThunkNull_thunk
363 extern AvmBox
shell_toplevel_v2a_oo_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
364 #define avmplus_Domain_domainMemory_set_thunk shell_toplevel_v2a_oo_thunk
365 #define avmplus_Domain_private_init_thunk shell_toplevel_v2a_oo_thunk
366 #define avmplus_System_disposeXML_thunk shell_toplevel_v2a_oo_thunk
367 #define avmplus_System_trace_thunk shell_toplevel_v2a_oo_thunk
369 extern AvmBox
shell_toplevel_b2a_o_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
370 #define avmplus_System_isDebugger_thunk shell_toplevel_b2a_o_thunk
372 extern AvmBox
shell_toplevel_v2a_os_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
373 #define avmplus_System_write_thunk shell_toplevel_v2a_os_thunk
375 extern AvmBox
shell_toplevel_v2a_oi_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
376 #define avmplus_System_exit_thunk shell_toplevel_v2a_oi_thunk
378 extern double shell_toplevel_func_d2d_oaou_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
379 #define native_script_function_flash_sampler__getInvocationCount_thunk shell_toplevel_func_d2d_oaou_thunk
381 extern AvmBox
shell_toplevel_func_a2a_oab_optbfalse_thunk(AvmMethodEnv env
, uint32_t argc
, AvmBox
* argv
);
382 #define native_script_function_flash_sampler_getMemberNames_thunk shell_toplevel_func_a2a_oab_optbfalse_thunk
384 #endif // VMCFG_INDIRECT_NATIVE_THUNKS
386 class SlotOffsetsAndAsserts
;
388 //-----------------------------------------------------------
389 class _avmshell_MIClassSlots
391 friend class SlotOffsetsAndAsserts
;
395 #define DECLARE_SLOTS_MIClass \
397 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
398 typedef avmplus::NativeID::_avmshell_MIClassSlots EmptySlotsStruct_MIClass
399 //-----------------------------------------------------------
402 //-----------------------------------------------------------
403 class _avmshell_MIObjectSlots
405 friend class SlotOffsetsAndAsserts
;
409 #define DECLARE_SLOTS_MIObject \
411 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
412 typedef avmplus::NativeID::_avmshell_MIObjectSlots EmptySlotsStruct_MIObject
413 //-----------------------------------------------------------
416 //-----------------------------------------------------------
417 class _avmshell_SystemClassSlots
419 friend class SlotOffsetsAndAsserts
;
421 REALLY_INLINE ArrayObject
* get_argv() const { return m_argv
; }
423 DRCWB(ArrayObject
*) m_argv
;
425 #define DECLARE_SLOTS_SystemClass \
427 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
429 REALLY_INLINE ArrayObject* get_argv() const { return m_slots_SystemClass.get_argv(); } \
431 avmplus::NativeID::_avmshell_SystemClassSlots m_slots_SystemClass
432 //-----------------------------------------------------------
435 //-----------------------------------------------------------
436 class _avmshell_FileClassSlots
438 friend class SlotOffsetsAndAsserts
;
442 #define DECLARE_SLOTS_FileClass \
444 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
445 typedef avmplus::NativeID::_avmshell_FileClassSlots EmptySlotsStruct_FileClass
446 //-----------------------------------------------------------
449 //-----------------------------------------------------------
450 class _avmshell_DomainClassSlots
452 friend class SlotOffsetsAndAsserts
;
456 #define DECLARE_SLOTS_DomainClass \
458 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
459 typedef avmplus::NativeID::_avmshell_DomainClassSlots EmptySlotsStruct_DomainClass
460 //-----------------------------------------------------------
463 //-----------------------------------------------------------
464 class _avmshell_DomainObjectSlots
466 friend class SlotOffsetsAndAsserts
;
470 #define DECLARE_SLOTS_DomainObject \
472 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
473 typedef avmplus::NativeID::_avmshell_DomainObjectSlots EmptySlotsStruct_DomainObject
474 //-----------------------------------------------------------
476 // flash.sampler::StackFrame$
477 //-----------------------------------------------------------
478 class StackFrameClassSlots
480 friend class SlotOffsetsAndAsserts
;
484 #define DECLARE_SLOTS_StackFrameClass \
486 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
487 typedef avmplus::NativeID::StackFrameClassSlots EmptySlotsStruct_StackFrameClass
488 //-----------------------------------------------------------
490 // flash.sampler::StackFrame
491 //-----------------------------------------------------------
492 class StackFrameObjectSlots
494 friend class SlotOffsetsAndAsserts
;
496 REALLY_INLINE
uint32_t get_line() const { return m_line
; }
497 REALLY_INLINE
void set_line(uint32_t newVal
) { m_line
= newVal
; }
498 REALLY_INLINE AvmString
get_name() const { return m_name
; }
499 REALLY_INLINE
void set_name(AvmString newVal
) { m_name
= newVal
; }
500 REALLY_INLINE AvmString
get_file() const { return m_file
; }
501 REALLY_INLINE
void set_file(AvmString newVal
) { m_file
= newVal
; }
502 REALLY_INLINE
double get_scriptID() const { return m_scriptID
; }
503 REALLY_INLINE
void set_scriptID(double newVal
) { m_scriptID
= newVal
; }
506 DRCWB(AvmString
) m_name
;
507 DRCWB(AvmString
) m_file
;
510 #define DECLARE_SLOTS_StackFrameObject \
512 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
514 REALLY_INLINE uint32_t get_line() const { return m_slots_StackFrameObject.get_line(); } \
515 REALLY_INLINE void set_line(uint32_t newVal) { m_slots_StackFrameObject.set_line(newVal); } \
516 REALLY_INLINE AvmString get_name() const { return m_slots_StackFrameObject.get_name(); } \
517 REALLY_INLINE void set_name(AvmString newVal) { m_slots_StackFrameObject.set_name(newVal); } \
518 REALLY_INLINE AvmString get_file() const { return m_slots_StackFrameObject.get_file(); } \
519 REALLY_INLINE void set_file(AvmString newVal) { m_slots_StackFrameObject.set_file(newVal); } \
520 REALLY_INLINE double get_scriptID() const { return m_slots_StackFrameObject.get_scriptID(); } \
521 REALLY_INLINE void set_scriptID(double newVal) { m_slots_StackFrameObject.set_scriptID(newVal); } \
523 avmplus::NativeID::StackFrameObjectSlots m_slots_StackFrameObject
524 //-----------------------------------------------------------
526 // flash.sampler::Sample$
527 //-----------------------------------------------------------
528 class SampleClassSlots
530 friend class SlotOffsetsAndAsserts
;
534 #define DECLARE_SLOTS_SampleClass \
536 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
537 typedef avmplus::NativeID::SampleClassSlots EmptySlotsStruct_SampleClass
538 //-----------------------------------------------------------
540 // flash.sampler::Sample
541 //-----------------------------------------------------------
542 class SampleObjectSlots
544 friend class SlotOffsetsAndAsserts
;
546 REALLY_INLINE ArrayObject
* get_stack() const { return m_stack
; }
547 REALLY_INLINE
void set_stack(ArrayObject
* newVal
) { m_stack
= newVal
; }
548 REALLY_INLINE
double get_time() const { return m_time
; }
549 REALLY_INLINE
void set_time(double newVal
) { m_time
= newVal
; }
551 DRCWB(ArrayObject
*) m_stack
;
554 #define DECLARE_SLOTS_SampleObject \
556 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
558 REALLY_INLINE ArrayObject* get_stack() const { return m_slots_SampleObject.get_stack(); } \
559 REALLY_INLINE void set_stack(ArrayObject* newVal) { m_slots_SampleObject.set_stack(newVal); } \
560 REALLY_INLINE double get_time() const { return m_slots_SampleObject.get_time(); } \
561 REALLY_INLINE void set_time(double newVal) { m_slots_SampleObject.set_time(newVal); } \
563 avmplus::NativeID::SampleObjectSlots m_slots_SampleObject
564 //-----------------------------------------------------------
566 // flash.sampler::NewObjectSample$
567 //-----------------------------------------------------------
568 class NewObjectSampleClassSlots
570 friend class SlotOffsetsAndAsserts
;
574 #define DECLARE_SLOTS_NewObjectSampleClass \
576 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
577 typedef avmplus::NativeID::NewObjectSampleClassSlots EmptySlotsStruct_NewObjectSampleClass
578 //-----------------------------------------------------------
580 // flash.sampler::NewObjectSample
581 //-----------------------------------------------------------
582 class NewObjectSampleObjectSlots
584 friend class SlotOffsetsAndAsserts
;
586 REALLY_INLINE ClassClosure
* get_type() const { return m_type
; }
587 REALLY_INLINE
void set_type(ClassClosure
* newVal
) { m_type
= newVal
; }
588 REALLY_INLINE
double get_id() const { return m_id
; }
589 REALLY_INLINE
void set_id(double newVal
) { m_id
= newVal
; }
591 DRCWB(ClassClosure
*) m_type
;
594 #define DECLARE_SLOTS_NewObjectSampleObject \
596 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
598 REALLY_INLINE ClassClosure* get_type() const { return m_slots_NewObjectSampleObject.get_type(); } \
599 REALLY_INLINE void set_type(ClassClosure* newVal) { m_slots_NewObjectSampleObject.set_type(newVal); } \
600 REALLY_INLINE double get_id() const { return m_slots_NewObjectSampleObject.get_id(); } \
601 REALLY_INLINE void set_id(double newVal) { m_slots_NewObjectSampleObject.set_id(newVal); } \
603 avmplus::NativeID::NewObjectSampleObjectSlots m_slots_NewObjectSampleObject
604 //-----------------------------------------------------------
606 // flash.sampler::DeleteObjectSample$
607 //-----------------------------------------------------------
608 class DeleteObjectSampleClassSlots
610 friend class SlotOffsetsAndAsserts
;
614 #define DECLARE_SLOTS_DeleteObjectSampleClass \
616 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
617 typedef avmplus::NativeID::DeleteObjectSampleClassSlots EmptySlotsStruct_DeleteObjectSampleClass
618 //-----------------------------------------------------------
620 // flash.sampler::DeleteObjectSample
621 //-----------------------------------------------------------
622 class DeleteObjectSampleObjectSlots
624 friend class SlotOffsetsAndAsserts
;
626 REALLY_INLINE
double get_id() const { return m_id
; }
627 REALLY_INLINE
void set_id(double newVal
) { m_id
= newVal
; }
628 REALLY_INLINE
double get_size() const { return m_size
; }
629 REALLY_INLINE
void set_size(double newVal
) { m_size
= newVal
; }
634 #define DECLARE_SLOTS_DeleteObjectSampleObject \
636 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
638 REALLY_INLINE double get_id() const { return m_slots_DeleteObjectSampleObject.get_id(); } \
639 REALLY_INLINE void set_id(double newVal) { m_slots_DeleteObjectSampleObject.set_id(newVal); } \
640 REALLY_INLINE double get_size() const { return m_slots_DeleteObjectSampleObject.get_size(); } \
641 REALLY_INLINE void set_size(double newVal) { m_slots_DeleteObjectSampleObject.set_size(newVal); } \
643 avmplus::NativeID::DeleteObjectSampleObjectSlots m_slots_DeleteObjectSampleObject
644 //-----------------------------------------------------------
646 // flash.trace::Trace$
647 //-----------------------------------------------------------
648 class TraceClassSlots
650 friend class SlotOffsetsAndAsserts
;
652 REALLY_INLINE
int32_t get_OFF() const { return m_OFF
; }
653 REALLY_INLINE
int32_t get_METHODS() const { return m_METHODS
; }
654 REALLY_INLINE
int32_t get_METHODS_WITH_ARGS() const { return m_METHODS_WITH_ARGS
; }
655 REALLY_INLINE
int32_t get_METHODS_AND_LINES() const { return m_METHODS_AND_LINES
; }
656 REALLY_INLINE
int32_t get_METHODS_AND_LINES_WITH_ARGS() const { return m_METHODS_AND_LINES_WITH_ARGS
; }
657 REALLY_INLINE AvmBox
get_FILE() const { return m_FILE
; }
658 REALLY_INLINE AvmBox
get_LISTENER() const { return m_LISTENER
; }
662 int32_t m_METHODS_WITH_ARGS
;
663 int32_t m_METHODS_AND_LINES
;
664 int32_t m_METHODS_AND_LINES_WITH_ARGS
;
668 #define DECLARE_SLOTS_TraceClass \
670 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
672 REALLY_INLINE int32_t get_OFF() const { return m_slots_TraceClass.get_OFF(); } \
673 REALLY_INLINE int32_t get_METHODS() const { return m_slots_TraceClass.get_METHODS(); } \
674 REALLY_INLINE int32_t get_METHODS_WITH_ARGS() const { return m_slots_TraceClass.get_METHODS_WITH_ARGS(); } \
675 REALLY_INLINE int32_t get_METHODS_AND_LINES() const { return m_slots_TraceClass.get_METHODS_AND_LINES(); } \
676 REALLY_INLINE int32_t get_METHODS_AND_LINES_WITH_ARGS() const { return m_slots_TraceClass.get_METHODS_AND_LINES_WITH_ARGS(); } \
677 REALLY_INLINE AvmBox get_FILE() const { return m_slots_TraceClass.get_FILE(); } \
678 REALLY_INLINE AvmBox get_LISTENER() const { return m_slots_TraceClass.get_LISTENER(); } \
680 avmplus::NativeID::TraceClassSlots m_slots_TraceClass
681 //-----------------------------------------------------------
683 // flash.utils::Dictionary$
684 //-----------------------------------------------------------
685 class DictionaryClassSlots
687 friend class SlotOffsetsAndAsserts
;
691 #define DECLARE_SLOTS_DictionaryClass \
693 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
694 typedef avmplus::NativeID::DictionaryClassSlots EmptySlotsStruct_DictionaryClass
695 //-----------------------------------------------------------
697 // flash.utils::Dictionary
698 //-----------------------------------------------------------
699 class DictionaryObjectSlots
701 friend class SlotOffsetsAndAsserts
;
705 #define DECLARE_SLOTS_DictionaryObject \
707 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
708 typedef avmplus::NativeID::DictionaryObjectSlots EmptySlotsStruct_DictionaryObject
709 //-----------------------------------------------------------
712 //-----------------------------------------------------------
713 class JObjectClassSlots
715 friend class SlotOffsetsAndAsserts
;
719 #define DECLARE_SLOTS_JObjectClass \
721 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
722 typedef avmplus::NativeID::JObjectClassSlots EmptySlotsStruct_JObjectClass
723 //-----------------------------------------------------------
726 //-----------------------------------------------------------
729 friend class SlotOffsetsAndAsserts
;
733 #define DECLARE_SLOTS_JObject \
735 friend class avmplus::NativeID::SlotOffsetsAndAsserts; \
736 typedef avmplus::NativeID::JObjectSlots EmptySlotsStruct_JObject
737 //-----------------------------------------------------------