Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 25) sorted by relevance

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DNativeCrypto.java69 public static native void EVP_free(int ctx); in EVP_free()
73 public static native void EVP_DigestInit(int ctx, String algorithm); in EVP_DigestInit()
75 public static native void EVP_DigestUpdate(int ctx, byte[] buffer, int offset, int length); in EVP_DigestUpdate()
77 public static native int EVP_DigestFinal(int ctx, byte[] hash, int offset); in EVP_DigestFinal()
79 public static native int EVP_DigestSize(int ctx); in EVP_DigestSize()
81 public static native int EVP_DigestBlockSize(int ctx); in EVP_DigestBlockSize()
85 public static native void EVP_VerifyInit(int ctx, String algorithm); in EVP_VerifyInit()
87 public static native void EVP_VerifyUpdate(int ctx, byte[] buffer, int offset, int length); in EVP_VerifyUpdate()
89 …public static native int EVP_VerifyFinal(int ctx, byte[] signature, int offset, int length, int ke… in EVP_VerifyFinal()
DOpenSSLMessageDigest.java36 private int ctx; field in OpenSSLMessageDigest
DOpenSSLMessageDigestJDK.java14 private int ctx; field in OpenSSLMessageDigestJDK
DOpenSSLSignature.java38 private int ctx; field in OpenSSLSignature
DOpenSSLSocketImpl.java246 …private native boolean nativeconnect(int ctx, Socket sock, boolean client_mode, int sslsession) th… in nativeconnect()
/dalvik/vm/hprof/
DHprof.c38 hprof_context_t *ctx; in hprofStartup() local
118 hprofShutdown(hprof_context_t *ctx) in hprofShutdown()
DHprofHeap.c34 hprofStartHeapDump(hprof_context_t *ctx) in hprofStartHeapDump()
44 hprofFinishHeapDump(hprof_context_t *ctx) in hprofFinishHeapDump()
50 hprofSetGcScanState(hprof_context_t *ctx, in hprofSetGcScanState()
119 hprofMarkRootObject(hprof_context_t *ctx, const Object *obj, jobject jniObj) in hprofMarkRootObject()
220 hprofDumpHeapObject(hprof_context_t *ctx, const Object *obj) in hprofDumpHeapObject()
DHprofOutput.c58 hprofContextInit(hprof_context_t *ctx, char *fileName, FILE *fp, in hprofContextInit()
135 hprofFlushCurrentRecord(hprof_context_t *ctx) in hprofFlushCurrentRecord()
141 hprofStartNewRecord(hprof_context_t *ctx, u1 tag, u4 time) in hprofStartNewRecord()
DHprofString.c81 hprofDumpStrings(hprof_context_t *ctx) in hprofDumpStrings()
DHprofClass.c183 hprofDumpClasses(hprof_context_t *ctx) in hprofDumpClasses()
DHprofStackFrame.c178 hprofDumpStackFrames(hprof_context_t *ctx) in hprofDumpStackFrames()
DHprofStack.c158 hprofDumpStacks(hprof_context_t *ctx) in hprofDumpStacks()
/dalvik/vm/alloc/
DMarkSweep.c85 static inline long isMarked(const DvmHeapChunk *hc, const GcMarkContext *ctx) in isMarked()
178 setAndReturnMarkBit(GcMarkContext *ctx, const DvmHeapChunk *hc) in setAndReturnMarkBit()
188 _markObjectNonNullCommon(const Object *obj, GcMarkContext *ctx, in _markObjectNonNullCommon()
259 markObjectNonNull(const Object *obj, GcMarkContext *ctx) in markObjectNonNull()
264 #define markObject(obj, ctx) \ argument
392 static void markInterfaces(const ClassObject *clazz, GcMarkContext *ctx) in markInterfaces()
410 static void scanStaticFields(const ClassObject *clazz, GcMarkContext *ctx) in scanStaticFields()
431 GcMarkContext *ctx) in scanInstanceFields()
462 static void scanObjectArray(const ArrayObject *array, GcMarkContext *ctx) in scanObjectArray()
479 static void scanClassObject(const ClassObject *clazz, GcMarkContext *ctx) in scanClassObject()
[all …]
DDdmHeap.c191 flush_hpsg_chunk(HeapChunkContext *ctx) in flush_hpsg_chunk()
215 HeapChunkContext *ctx = (HeapChunkContext *)arg; in heap_chunk_callback() local
355 HeapChunkContext ctx; in walkHeap() local
/dalvik/libcore/x-net/src/main/native/
Dorg_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl.cpp158 SSL_CTX* ctx = (SSL_CTX*)env->GetIntField(object, field_ssl_ctx); in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_setenabledprotocols() local
170 SSL_CTX* ctx; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getsupportedciphersuites() local
211 SSL_CTX* ctx; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_getenabledciphersuites() local
245 SSL_CTX* ctx; in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_setenabledciphersuites() local
274 SSL_CTX *ctx = (SSL_CTX *)env->GetIntField(object, field_ssl_ctx); in org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl_nativefree() local
Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp242 static void NativeCrypto_EVP_free(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx) { in NativeCrypto_EVP_free()
253 static jint NativeCrypto_EVP_DigestFinal(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray has… in NativeCrypto_EVP_DigestFinal()
275 static void NativeCrypto_EVP_DigestInit(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jstring algorit… in NativeCrypto_EVP_DigestInit()
301 static jint NativeCrypto_EVP_DigestSize(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx) { in NativeCrypto_EVP_DigestSize()
319 static jint NativeCrypto_EVP_DigestBlockSize(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx) { in NativeCrypto_EVP_DigestBlockSize()
337 static void NativeCrypto_EVP_DigestUpdate(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray bu… in NativeCrypto_EVP_DigestUpdate()
355 static void NativeCrypto_EVP_VerifyInit(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jstring algorit… in NativeCrypto_EVP_VerifyInit()
381 static void NativeCrypto_EVP_VerifyUpdate(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray bu… in NativeCrypto_EVP_VerifyUpdate()
399 static int NativeCrypto_EVP_VerifyFinal(JNIEnv* env, jclass clazz, EVP_MD_CTX* ctx, jbyteArray buff… in NativeCrypto_EVP_VerifyFinal()
Dorg_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp488 SSL_CTX *ctx = (SSL_CTX *)env->GetIntField(object, field_ssl_ctx); in free_ssl_ctx() local
939 EVP_MD_CTX ctx; in rsaVerify() local
1077 jint ctx, jobject socketObject, jboolean client_mode, jint session) in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_connect()
1391 SSL_CTX* ctx = (SSL_CTX*)env->GetIntField(object, field_ssl_ctx); in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_setenabledprotocols() local
1491 SSL_CTX* ctx; in org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl_setenabledciphersuites() local
/dalvik/libcore/openssl/src/main/java/org/openssl/
DNativeBN.java138 public static native boolean BN_gcd(int r, int a, int b, int ctx); in BN_gcd()
141 public static native boolean BN_mul(int r, int a, int b, int ctx); in BN_mul()
144 public static native boolean BN_exp(int r, int a, int p, int ctx); in BN_exp()
151 public static native boolean BN_div(int dv, int rem, int m, int d, int ctx); in BN_div()
154 public static native boolean BN_nnmod(int r, int a, int m, int ctx); in BN_nnmod()
157 public static native boolean BN_mod_exp(int r, int a, int p, int m, int ctx); in BN_mod_exp()
165 public static native boolean BN_mod_inverse(int ret, int a, int n, int ctx); in BN_mod_inverse()
175 public static native boolean BN_is_prime_ex(int p, int nchecks, int ctx, int cb); in BN_is_prime_ex()
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DMockSecurityManager.java51 public void checkPermission(Permission perm, Object ctx) { in checkPermission()
DFilePreferencesImplTest.java314 public void checkPermission(Permission perm, Object ctx) { in checkPermission()
/dalvik/dx/src/com/android/dx/util/
DExceptionWithContext.java83 String ctx = ((ExceptionWithContext) cause).context.toString(); in ExceptionWithContext() local
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java172 SSLContext ctx = getContext(); in testHttpsConnection() local
232 SSLContext ctx = getContext(); in testHttpsConnection_Not_Found_Response() local
277 SSLContext ctx = getContext(); in testSetDefaultSSLSocketFactory() local
334 SSLContext ctx = getContext(); in testSetSSLSocketFactory() local
1009 SSLContext ctx; in getContext() local
/dalvik/libcore/openssl/src/main/native/
DBNInterface.c738 …c jboolean NativeBN_BN_gcd(JNIEnv* env, jclass cls, BIGNUM* r, BIGNUM* a, BIGNUM* b, BN_CTX* ctx) { in NativeBN_BN_gcd()
746 …c jboolean NativeBN_BN_mul(JNIEnv* env, jclass cls, BIGNUM* r, BIGNUM* a, BIGNUM* b, BN_CTX* ctx) { in NativeBN_BN_mul()
754 …c jboolean NativeBN_BN_exp(JNIEnv* env, jclass cls, BIGNUM* r, BIGNUM* a, BIGNUM* p, BN_CTX* ctx) { in NativeBN_BN_exp()
762 …iveBN_BN_div(JNIEnv* env, jclass cls, BIGNUM* dv, BIGNUM* rem, BIGNUM* m, BIGNUM* d, BN_CTX* ctx) { in NativeBN_BN_div()
770 …jboolean NativeBN_BN_nnmod(JNIEnv* env, jclass cls, BIGNUM* r, BIGNUM* a, BIGNUM* m, BN_CTX* ctx) { in NativeBN_BN_nnmod()
778 …veBN_BN_mod_exp(JNIEnv* env, jclass cls, BIGNUM* r, BIGNUM* a, BIGNUM* p, BIGNUM* m, BN_CTX* ctx) { in NativeBN_BN_mod_exp()
787 … NativeBN_BN_mod_inverse(JNIEnv* env, jclass cls, BIGNUM* ret, BIGNUM* a, BIGNUM* n, BN_CTX* ctx) { in NativeBN_BN_mod_inverse()
805 …an NativeBN_BN_is_prime_ex(JNIEnv* env, jclass cls, BIGNUM* p, int nchecks, BN_CTX* ctx, jint cb) { in NativeBN_BN_is_prime_ex()
/dalvik/libcore/icu/src/main/native/
DConverterInterface.c1000 EncoderCallbackContext* ctx = (EncoderCallbackContext*)context; in CHARSET_ENCODER_CALLBACK() local
1154 DecoderCallbackContext* ctx = (DecoderCallbackContext*)context; in CHARSET_DECODER_CALLBACK() local
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DFormatterTest.java88 public void checkPermission(Permission p, Object ctx) { in checkPermission()