Home
last modified time | relevance | path

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

123

/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc125 int throwException(JNIEnv* env, const char* className, const char* msg) { in throwException() function
145 return conscrypt::jniutil::throwException(env, "java/lang/RuntimeException", msg); in throwRuntimeException()
149 return conscrypt::jniutil::throwException(env, "java/lang/AssertionError", msg); in throwAssertionError()
153 return conscrypt::jniutil::throwException(env, "java/lang/NullPointerException", msg); in throwNullPointerException()
157 return conscrypt::jniutil::throwException(env, "java/lang/OutOfMemoryError", message); in throwOutOfMemory()
162 return conscrypt::jniutil::throwException(env, "javax/crypto/BadPaddingException", message); in throwBadPaddingException()
167 return conscrypt::jniutil::throwException(env, "java/security/SignatureException", message); in throwSignatureException()
172 return conscrypt::jniutil::throwException(env, "java/security/InvalidKeyException", message); in throwInvalidKeyException()
177 return conscrypt::jniutil::throwException( in throwIllegalBlockSizeException()
183 return conscrypt::jniutil::throwException( in throwShortBufferException()
[all …]
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.cc21 throwException(env, kIllegalArgumentException, in convertLongToInterpreter()
30 throwException(env, kIllegalArgumentException, in convertLongToModel()
39 throwException(env, kIllegalArgumentException, in convertLongToErrorReporter()
48 throwException(env, kIllegalArgumentException, in convertLongToDelegate()
60 throwException(env, kIllegalArgumentException, in convertJIntArrayToVector()
108 throwException(env, kIllegalArgumentException, in areDimsDifferent()
140 throwException(env, kUnsupportedOperationException, in Java_org_tensorflow_lite_NativeInterpreterWrapper_getInputNames()
165 throwException( in Java_org_tensorflow_lite_NativeInterpreterWrapper_allocateTensors()
215 throwException(env, kUnsupportedOperationException, in Java_org_tensorflow_lite_NativeInterpreterWrapper_getOutputNames()
301 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_lite_NativeInterpreterWrapper_createModel()
[all …]
Dtensor_jni.cc47 throwException(env, kIllegalArgumentException, in GetTensorFromHandle()
56 throwException(env, kIllegalArgumentException, in GetTensorIndexFromHandle()
98 throwException(env, kIllegalStateException, in WriteOneDimensionalArray()
130 throwException(env, kUnsupportedOperationException, in WriteOneDimensionalArray()
146 throwException( in ReadOneDimensionalArray()
178 throwException(env, kIllegalStateException, in ReadOneDimensionalArray()
316 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_lite_Tensor_buffer()
331 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_lite_Tensor_writeDirectBuffer()
348 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_lite_Tensor_readMultiDimensionalArray()
370 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_lite_Tensor_writeMultiDimensionalArray()
[all …]
Dexception_jni.cc29 void throwException(JNIEnv* env, const char* clazz, const char* fmt, ...) { in throwException() function
48 throwException(env, kNullPointerException, in BufferErrorReporter()
/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/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()
358 throwException(env, kNullPointerException, in Java_org_tensorflow_Tensor_allocate()
404 throwException(env, kNullPointerException, in nonScalarTF_STRINGTensorSize()
458 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()
Doperation_jni.cc28 throwException( in requireHandleImpl()
97 throwException( in Java_org_tensorflow_Operation_shape()
150 throwException( in Java_org_tensorflow_Operation_dtype()
Doperation_builder_jni.cc26 throwException(env, kIllegalStateException, in requireHandle()
35 throwException(env, kIllegalStateException, in resolveOutput()
46 throwException(env, kIllegalStateException, in requireTensor()
57 throwException(env, kIllegalStateException, in Java_org_tensorflow_OperationBuilder_allocate()
102 throwException(env, kIllegalArgumentException, in Java_org_tensorflow_OperationBuilder_addInputList()
124 throwException(env, kIllegalStateException, in Java_org_tensorflow_OperationBuilder_addControlInput()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTaskTest.java43 protected volatile boolean throwException = false; field in ListenableFutureTaskTest
51 if (throwException) {
107 throwException = true; in testListenerCalledOnException()
/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
/external/llvm/test/ExecutionEngine/MCJIT/
Deh.ll11 define void @throwException() {
19 invoke void @throwException()
Dmulti-module-eh-a.ll13 define void @throwException() {
21 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()
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/test/ExecutionEngine/OrcMCJIT/
Deh.ll12 define void @throwException() {
20 invoke void @throwException()
Dmulti-module-eh-a.ll14 define void @throwException() {
22 invoke void @throwException()

123