Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp51 MD5Init(struct MD5Context *ctx) { in MD5Init() argument
52 ctx->buf[0] = 0x67452301; in MD5Init()
53 ctx->buf[1] = 0xefcdab89; in MD5Init()
54 ctx->buf[2] = 0x98badcfe; in MD5Init()
55 ctx->buf[3] = 0x10325476; in MD5Init()
57 ctx->bytes[0] = 0; in MD5Init()
58 ctx->bytes[1] = 0; in MD5Init()
66 MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) { in MD5Update() argument
71 t = ctx->bytes[0]; in MD5Update()
73 if ((ctx->bytes[0] = t + len) < t) in MD5Update()
[all …]
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dresumption.c136 ucontext_t *ctx = (ucontext_t *)void_context; in TRAP_action() local
149 if (!ctx) in TRAP_action()
156 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action()
157 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action()
158 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action()
159 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action()
160 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action()
161 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG5]); in TRAP_action()
164 if (ctx->uc_mcontext.gregs[REG_IP] >= 0xffffffffff600000ULL && in TRAP_action()
165 ctx->uc_mcontext.gregs[REG_IP] < 0xffffffffff601000ULL) in TRAP_action()
[all …]
Dsigsegv.c117 ucontext_t *ctx = (ucontext_t *)void_context; in TRAP_action() local
129 if (!ctx) in TRAP_action()
136 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action()
137 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action()
138 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action()
139 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action()
140 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action()
141 (unsigned long)ctx->uc_mcontext.gregs[REG_ARG5], in TRAP_action()
142 (unsigned long)ALIGN(ctx->uc_mcontext.gregs[REG_IP], in TRAP_action()
148 local_mprotect((void *)ctx->uc_mcontext.gregs[REG_IP], sysconf(_SC_PAGE_SIZE)); in TRAP_action()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderStaticNonce.java26 static Object ctx; field in ClassLoaderStaticNonce
30 ctx = new Object();
55 ctx = in; in setCtx()
59 return ctx; in getCtx()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRefocusTest.java58 Context ctx = getContext(); in refocus() local
60 RenderScript rs = RenderScript.create(ctx); in refocus()
65 ctx.getContentResolver(), ctx); in refocus()
76 …Bitmap expectedImage = BitmapFactory.decodeResource(ctx.getResources(), R.drawable.expected_output… in refocus()
81 MediaStoreSaver.savePNG(outputImage, "refocus", "refocus_output" , ctx); in refocus()
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp154 EVP_CIPHER_CTX ctx; in android_security_cts_EncryptionTest_aesIsFast() local
162 EVP_CIPHER_CTX_init(&ctx); in android_security_cts_EncryptionTest_aesIsFast()
164 if (!EVP_DecryptInit(&ctx, TEST_EVP_CIPHER, key, iv)) { in android_security_cts_EncryptionTest_aesIsFast()
185 EVP_DecryptUpdate(&ctx, buf, &len, buf, TEST_BUFSIZE); in android_security_cts_EncryptionTest_aesIsFast()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java78 public static int convertDpToPixel(Context ctx, int dp) { in convertDpToPixel() argument
79 float density = ctx.getResources().getDisplayMetrics().density; in convertDpToPixel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java75 public void onReceive(Context ctx, Intent intent) { in onReceive() argument
97 AppWidgetManager mgr = AppWidgetManager.getInstance(ctx); in onReceive()
99 updateWidget(ctx, widgetId, mgr, options); in onReceive()
101 super.onReceive(ctx, intent); in onReceive()
105 public void onDeleted(Context ctx, int[] ids) { in onDeleted() argument
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBLASData.java1348 void loadData(Context ctx) throws Exception { in loadData() argument
1349 InputStream is = ctx.getAssets().open("BLASData.txt"); in loadData()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex85484 private int ctx
85524 private int ctx
85809 private int ctx