Home
last modified time | relevance | path

Searched full:arithmeticexception (Results 1 – 25 of 58) sorted by relevance

123

/arkcompiler/runtime_core/static_core/tests/cts-assembly/
Dexceptions-arithmetic.pa14 # Check ArithmeticException
16 .record panda.ArithmeticException <external>
18 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) <external>
29 call.virt panda.ArithmeticException.getMessage, v0
42 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
Dmath-48.pa15 .record panda.ArithmeticException <external>
18 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) <external>
21 # check ArithmeticException in case of mod by zero
33 call.virt panda.ArithmeticException.getMessage, v0
43 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
Dmath-47.pa15 .record panda.ArithmeticException <external>
18 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) <external>
21 # check ArithmeticException in case of division by zero
34 call.virt panda.ArithmeticException.getMessage, v0
44 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
/arkcompiler/runtime_core/tests/cts-assembly/
Dmath-47.pa15 .record panda.ArithmeticException <external>
18 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) <external>
21 # check ArithmeticException in case of division by zero
34 call.virt panda.ArithmeticException.getMessage, v0
44 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
Dmath-48.pa15 .record panda.ArithmeticException <external>
18 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) <external>
21 # check ArithmeticException in case of mod by zero
33 call.virt panda.ArithmeticException.getMessage, v0
43 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/
DExceptionHandlingTest.java28 * @throws ArithmeticException throw ArithmeticException
30 public static int divide(int a, int b) throws ArithmeticException { in divide()
32 throw new ArithmeticException("Division by zero is not allowed."); in divide()
41 } catch (ArithmeticException e) { in main()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dllvm_infer_flags.ets16 … set nsw flag to "i0 += ?" addition, and as a consequence eliminate branch with ArithmeticException
23 //! CHECKER No ArithmeticException
27 //! INST_NEXT_NOT /.*ArithmeticException.*/
49 //! INST_NEXT /.*ArithmeticException.*/
/arkcompiler/runtime_core/static_core/tests/irtoc-interpreter-tests/
Darithmetic_exception.pa14 .record panda.ArithmeticException <external>
33 .catch panda.ArithmeticException, try_begin, try_end, catch_block1_begin
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Djmp.yaml215 .record panda.ArithmeticException <external>
219 newobj v0, panda.ArithmeticException
227 .catch panda.ArithmeticException, begin, end, catch_ae
Dmodi.yaml188 header-template: [ArithmeticException, main]
199 ldai 0 # Expected panda.ArithmeticException
204 .catch panda.ArithmeticException, begin, end, catch_AE
207 description: Check `modi` throws ArithmeticException when divides by zero.
Ddivi.yaml187 header-template: [ArithmeticException, main]
198 ldai 0 # Expected panda.ArithmeticException
203 .catch panda.ArithmeticException, begin, end, catch_AE
206 description: Check `divi` throws ArithmeticException when divides by zero.
Ddivu2.64.yaml315 header-template: [ArithmeticException, main]
327 ldai 0 # Expected panda.ArithmeticException
332 .catch panda.ArithmeticException, begin, end, catch_AE
335 description: Check `divu2.64` throws ArithmeticException when divides by zero.
Dmodu2.64.yaml315 header-template: [ArithmeticException, main]
327 ldai 0 # Expected panda.ArithmeticException
332 .catch panda.ArithmeticException, begin, end, catch_AE
335 description: Check `modu2.64` throws ArithmeticException when divides by zero.
Dmod2.64.yaml310 header-template: [ArithmeticException, main]
321 ldai 0 # Expected panda.ArithmeticException
326 .catch panda.ArithmeticException, begin, end, catch_AE
329 description: Check `mod2.64` throws ArithmeticException when divides by zero.
Ddivu2.yaml316 header-template: [ArithmeticException, main]
327 ldai 0 # Expected panda.ArithmeticException
332 .catch panda.ArithmeticException, begin, end, catch_AE
335 description: Check `divu2` throws ArithmeticException when divides by zero.
/arkcompiler/runtime_core/pandastdlib/
Dpandastdlib.pa73 .record panda.ArithmeticException {
300 .function void panda.ArithmeticException.ctor(panda.ArithmeticException a0, panda.String a1, panda.…
302 stobj.obj a0, panda.ArithmeticException.message
304 stobj.obj a0, panda.ArithmeticException.cause
308 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) {
309 ldobj.obj a0, panda.ArithmeticException.message
313 .function panda.Object panda.ArithmeticException.getCause(panda.ArithmeticException a0) {
314 ldobj.obj a0, panda.ArithmeticException.cause
/arkcompiler/runtime_core/static_core/pandastdlib/
Dpandastdlib.pa75 .record panda.ArithmeticException {
316 .function void panda.ArithmeticException.ctor(panda.ArithmeticException a0, panda.String a1, panda.…
318 stobj.obj a0, panda.ArithmeticException.message
320 stobj.obj a0, panda.ArithmeticException.cause
324 .function panda.String panda.ArithmeticException.getMessage(panda.ArithmeticException a0) {
325 ldobj.obj a0, panda.ArithmeticException.message
329 .function panda.Object panda.ArithmeticException.getCause(panda.ArithmeticException a0) {
330 ldobj.obj a0, panda.ArithmeticException.cause
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Djmp.yaml232 .record panda.ArithmeticException <external>
236 newobj v0, panda.ArithmeticException
244 .catch panda.ArithmeticException, begin, end, catch_ae
Ddivi.yaml192 header-template: [ArithmeticException, main]
205 ldai 0 # Expected panda.ArithmeticException
212 .catch panda.ArithmeticException, begin, end, catch_AE
215 description: Check `divi` throws ArithmeticException when divides by zero.
Dmodi.yaml193 header-template: [ArithmeticException, main]
205 ldai 0 # Expected panda.ArithmeticException
212 .catch panda.ArithmeticException, begin, end, catch_AE
215 description: Check `modi` throws ArithmeticException when divides by zero.
Dmod2.64.yaml310 header-template: [ArithmeticException, main]
322 ldai 0 # Expected panda.ArithmeticException
329 .catch panda.ArithmeticException, begin, end, catch_AE
332 description: Check `mod2.64` throws ArithmeticException when divides by zero.
Ddivu2.64.yaml315 header-template: [ArithmeticException, main]
328 ldai 0 # Expected panda.ArithmeticException
335 .catch panda.ArithmeticException, begin, end, catch_AE
338 description: Check `divu2.64` throws ArithmeticException when divides by zero.
Dmodu2.64.yaml315 header-template: [ArithmeticException, main]
328 ldai 0 # Expected panda.ArithmeticException
335 .catch panda.ArithmeticException, begin, end, catch_AE
338 description: Check `modu2.64` throws ArithmeticException when divides by zero.
Ddiv2.64.yaml311 header-template: [ArithmeticException, main]
323 ldai 0 # Expected panda.ArithmeticException
330 .catch panda.ArithmeticException, begin, end, catch_AE
333 description: Check `div2.64` throws ArithmeticException when divides by zero.
Ddivu2.yaml316 header-template: [ArithmeticException, main]
328 ldai 0 # Expected panda.ArithmeticException
335 .catch panda.ArithmeticException, begin, end, catch_AE
338 description: Check `divu2` throws ArithmeticException when divides by zero.

123