Home
last modified time | relevance | path

Searched refs:throwException (Results 1 – 25 of 62) sorted by relevance

123

/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc133 int throwException(JNIEnv* env, const char* className, const char* msg) { in throwException() function
153 return conscrypt::jniutil::throwException(env, "java/lang/RuntimeException", msg); in throwRuntimeException()
157 return conscrypt::jniutil::throwException(env, "java/lang/AssertionError", msg); in throwAssertionError()
161 return conscrypt::jniutil::throwException(env, "java/lang/NullPointerException", msg); in throwNullPointerException()
165 return conscrypt::jniutil::throwException(env, "java/lang/OutOfMemoryError", message); in throwOutOfMemory()
170 return conscrypt::jniutil::throwException(env, "javax/crypto/BadPaddingException", message); in throwBadPaddingException()
175 return conscrypt::jniutil::throwException(env, "java/security/SignatureException", message); in throwSignatureException()
180 return conscrypt::jniutil::throwException(env, "java/security/InvalidKeyException", message); in throwInvalidKeyException()
185 return conscrypt::jniutil::throwException( in throwIllegalBlockSizeException()
191 return conscrypt::jniutil::throwException( in throwShortBufferException()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DClassUsingTryWithResources.java40 public void call(boolean throwException) { in call() argument
41 if (throwException) { in call()
74 public static Throwable[] checkSuppressedExceptions(boolean throwException) { in checkSuppressedExceptions() argument
77 resource.call(throwException); in checkSuppressedExceptions()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DParentCancellationTest.kt127 throwException: Throwable, in <lambda>()
140 throw throwException in <lambda>()
145 expectUnhandled -> assertSame(throwException, unhandledException) in <lambda>()
149 if (expectRethrows && throwException !is CancellationException) { in <lambda>()
157 assertSame(throwException, e) in <lambda>()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc31 throwException(env, kNullPointerException, in requireHandle()
73 throwException( in writeScalar()
106 throwException(env, kIllegalStateException, "invalid DataType(%d)", in writeScalar()
125 throwException( \ in write1DArray()
144 throwException(env, kIllegalStateException, "invalid DataType(%d)", in write1DArray()
157 throwException( in read1DArray()
179 throwException(env, kIllegalStateException, "invalid DataType(%d)", in read1DArray()
318 throwException(env, kNullPointerException, in Java_org_tensorflow_Tensor_allocate()
356 throwException(env, kNullPointerException, in checkForNullEntries()
407 throwException(env, kNullPointerException, in Java_org_tensorflow_Tensor_allocateNonScalarBytes()
[all …]
Dutils_jni.cc25 throwException(env, kIllegalArgumentException, in resolveOutputs()
31 throwException(env, kIllegalArgumentException, in resolveOutputs()
40 throwException(env, kNullPointerException, "invalid %s (#%d of %d)", type, in resolveOutputs()
Dsession_jni.cc29 throwException(env, kNullPointerException, in requireHandle()
42 throwException(env, kIllegalArgumentException, "expected %d, got %d %s", n, in resolveHandles()
50 throwException(env, kNullPointerException, "invalid %s (#%d of %d)", type, in resolveHandles()
83 throwException(env, kNullPointerException, "Graph has been close()d"); in Java_org_tensorflow_Session_allocate2()
Dgraph_operation_jni.cc27 throwException( in requireHandleImpl()
91 throwException( in Java_org_tensorflow_GraphOperation_shape()
141 throwException( in Java_org_tensorflow_GraphOperation_dtype()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java42 protected volatile boolean throwException = false; field in ListenableFutureTaskTest
51 if (throwException) {
109 throwException = true; in testListenerCalledOnException()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java42 protected volatile boolean throwException = false; field in ListenableFutureTaskTest
51 if (throwException) {
109 throwException = true; in testListenerCalledOnException()
/external/llvm/test/ExecutionEngine/MCJIT/
Deh.ll11 define void @throwException() {
19 invoke void @throwException()
Deh-sm-pic.ll11 define void @throwException() {
19 invoke void @throwException()
Deh-lg-pic.ll11 define void @throwException() {
19 invoke void @throwException()
Dmulti-module-eh-a.ll13 define void @throwException() {
21 invoke void @throwException()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DCountModifierDebuggee.java44 public void throwException() throws TestException { in throwException() method in CountModifierDebuggee.TestClass
58 obj.throwException(); in catchException()
DInstanceOnlyModifierDebuggee.java41 throwException(); in throwAndCatchException()
53 private void throwException() throws TestException { in throwException() method in InstanceOnlyModifierDebuggee.TestClass
DThreadOnlyModifierDebuggee.java61 throwException(); in throwAndCatchException()
67 void throwException() throws TestException { in throwException() method in ThreadOnlyModifierDebuggee.TestThread
/external/llvm-project/llvm/test/ExecutionEngine/MCJIT/
Deh.ll12 define void @throwException() {
20 invoke void @throwException()
Dmulti-module-eh-a.ll14 define void @throwException() {
22 invoke void @throwException()
/external/llvm/test/ExecutionEngine/OrcMCJIT/
Deh.ll11 define void @throwException() {
19 invoke void @throwException()
Deh-lg-pic.ll11 define void @throwException() {
19 invoke void @throwException()
Deh-sm-pic.ll11 define void @throwException() {
19 invoke void @throwException()
Dmulti-module-eh-a.ll13 define void @throwException() {
21 invoke void @throwException()
/external/llvm-project/llvm/test/ExecutionEngine/MCJIT/remote/
Deh.ll14 define void @throwException() {
22 invoke void @throwException()
/external/llvm/test/ExecutionEngine/OrcMCJIT/remote/
Deh.ll13 define void @throwException() {
21 invoke void @throwException()
/external/llvm/test/ExecutionEngine/MCJIT/remote/
Deh.ll13 define void @throwException() {
21 invoke void @throwException()

123