Searched refs:context (Results 1 - 25 of 6625) sorted by last modified time

1234567891011>>

/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DInactivityTimer.java97 public void onReceive(Context context, Intent intent){ argument
H A DViewfinderView.java61 public ViewfinderView(Context context, AttributeSet attrs) { argument
62 super(context, attrs);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
H A DCameraConfigurationManager.java40 private final Context context; field in class:CameraConfigurationManager
44 CameraConfigurationManager(Context context) { argument
45 this.context = context;
53 WindowManager manager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
79 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
105 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
H A DCameraManager.java49 private final Context context; field in class:CameraManager
67 public CameraManager(Context context) { argument
68 this.context = context;
69 this.configManager = new CameraConfigurationManager(context);
102 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
/external/zopfli/src/zopfli/
H A Dblocksplitter.c35 context: for your implementation
37 typedef double FindMinimumFun(size_t i, void* context);
43 static size_t FindMinimum(FindMinimumFun f, void* context, argument
50 double v = f(i, context);
73 vp[i] = f(p[i], context);
126 static double SplitCost(size_t i, void* context) { argument
127 SplitCostContext* c = (SplitCostContext*)context;
H A Dsqueeze.c114 typedef double CostModelFun(unsigned litlen, unsigned dist, void* context);
141 static double GetCostStat(unsigned litlen, unsigned dist, void* context) { argument
142 SymbolStats* stats = (SymbolStats*)context;
203 costcontext: abstract context for the costmodel function
426 costcontext: abstract context for the costmodel function
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/
H A Dmain.c54 EGLContext context; member in struct:engine
61 * Initialize an EGL context for the current display.
82 EGLContext context; local
102 context = eglCreateContext(display, config, NULL, NULL);
104 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) {
113 engine->context = context;
146 * Tear down the EGL context currently associated with the display.
151 if (engine->context != EGL_NO_CONTEXT) {
152 eglDestroyContext(engine->display, engine->context);
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dfips_prf_openssl.c18 SHA_CTX context; local
19 os_memset(&context, 0, sizeof(context));
20 os_memcpy(&context.h0, state, 5 * 4);
21 SHA1_Transform(&context, data);
22 os_memcpy(state, &context.h0, 5 * 4);
H A Dmd5_i.h18 void MD5Init(struct MD5Context *context);
19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
H A Dsha1-internal.c59 void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int
62 void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned
158 void SHAPrintContext(SHA1_CTX *context, char *msg) argument
162 context->count[0], context->count[1],
163 context->state[0],
164 context->state[1],
165 context->state[2],
166 context->state[3],
167 context
231 SHA1Init(SHA1_CTX* context) argument
245 SHA1Update(SHA1_CTX* context, const void *_data, u32 len) argument
275 SHA1Final(unsigned char digest[20], SHA1_CTX* context) argument
[all...]
H A Dsha1_i.h18 void SHA1Init(struct SHA1Context *context);
19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
20 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
H A Dtls_openssl.c100 struct tls_context *context; member in struct:tls_connection
134 struct tls_context *context = os_zalloc(sizeof(*context)); local
135 if (context == NULL)
138 context->event_cb = conf->event_cb;
139 context->cb_ctx = conf->cb_ctx;
140 context->cert_in_cb = conf->cert_in_cb;
142 return context;
584 if (conn->context->event_cb != NULL) {
586 struct tls_context *context local
749 struct tls_context *context; local
856 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1026 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1028 struct tls_context *context = tls_global; local
1341 struct tls_context *context = conn->context; local
1365 struct tls_context *context = conn->context; local
1404 struct tls_context *context; local
[all...]
H A Dtls_schannel.c41 CtxtHandle context; member in struct:tls_connection
153 global->sspi->DeleteSecurityContext(&conn->context);
240 SECURITY_NATIVE_DREP, NULL, 0, &conn->context,
245 SECURITY_NATIVE_DREP, NULL, 0, &conn->context,
292 &conn->context, SECPKG_ATTR_EAP_KEY_BLOCK, &kb);
364 &conn->creds, &conn->context, NULL, sspi_flags, 0,
369 &conn->creds, &conn->context, NULL, sspi_flags, 0,
442 global->sspi->DeleteSecurityContext(&conn->context);
479 status = global->sspi->QueryContextAttributes(&conn->context,
513 status = global->sspi->EncryptMessage(&conn->context,
[all...]
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay.c1947 u8 *context; local
1994 context = os_zalloc(ctx_len);
1995 if (!context) {
2001 os_get_random(context + ctx_offset, conf->key_len);
2005 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi));
2008 os_memcpy(context + ctx_offset, participant->mi,
2011 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn));
2015 context, ctx_len, conf->key);
2018 context, ctx_len, conf->key);
2023 os_free(context);
[all...]
H A Dieee802_1x_key.c34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, argument
59 os_memcpy(buf + lab_len + 2, context, ctx_len);
85 u8 context[2 * ETH_ALEN]; local
87 joint_two_mac(mac1, mac2, context);
89 context, sizeof(context) * 8, 128, cak);
104 u8 *context; local
107 context = os_zalloc(ctx_len);
108 if (!context) {
112 os_memcpy(context, si
131 u8 context[16]; local
151 u8 context[16]; local
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dfips_prf_openssl.c18 SHA_CTX context; local
19 os_memset(&context, 0, sizeof(context));
20 os_memcpy(&context.h0, state, 5 * 4);
21 SHA1_Transform(&context, data);
22 os_memcpy(state, &context.h0, 5 * 4);
H A Dmd5_i.h18 void MD5Init(struct MD5Context *context);
19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
H A Dsha1-internal.c59 void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int
62 void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned
158 void SHAPrintContext(SHA1_CTX *context, char *msg) argument
162 context->count[0], context->count[1],
163 context->state[0],
164 context->state[1],
165 context->state[2],
166 context->state[3],
167 context
231 SHA1Init(SHA1_CTX* context) argument
245 SHA1Update(SHA1_CTX* context, const void *_data, u32 len) argument
275 SHA1Final(unsigned char digest[20], SHA1_CTX* context) argument
[all...]
H A Dsha1_i.h18 void SHA1Init(struct SHA1Context *context);
19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
20 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
H A Dtls_openssl.c100 struct tls_context *context; member in struct:tls_connection
134 struct tls_context *context = os_zalloc(sizeof(*context)); local
135 if (context == NULL)
138 context->event_cb = conf->event_cb;
139 context->cb_ctx = conf->cb_ctx;
140 context->cert_in_cb = conf->cert_in_cb;
142 return context;
584 if (conn->context->event_cb != NULL) {
586 struct tls_context *context local
749 struct tls_context *context; local
856 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1026 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1028 struct tls_context *context = tls_global; local
1341 struct tls_context *context = conn->context; local
1365 struct tls_context *context = conn->context; local
1404 struct tls_context *context; local
[all...]
H A Dtls_schannel.c41 CtxtHandle context; member in struct:tls_connection
153 global->sspi->DeleteSecurityContext(&conn->context);
240 SECURITY_NATIVE_DREP, NULL, 0, &conn->context,
245 SECURITY_NATIVE_DREP, NULL, 0, &conn->context,
292 &conn->context, SECPKG_ATTR_EAP_KEY_BLOCK, &kb);
364 &conn->creds, &conn->context, NULL, sspi_flags, 0,
369 &conn->creds, &conn->context, NULL, sspi_flags, 0,
442 global->sspi->DeleteSecurityContext(&conn->context);
479 status = global->sspi->QueryContextAttributes(&conn->context,
513 status = global->sspi->EncryptMessage(&conn->context,
[all...]
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay.c1947 u8 *context; local
1994 context = os_zalloc(ctx_len);
1995 if (!context) {
2001 os_get_random(context + ctx_offset, conf->key_len);
2005 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi));
2008 os_memcpy(context + ctx_offset, participant->mi,
2011 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn));
2015 context, ctx_len, conf->key);
2018 context, ctx_len, conf->key);
2023 os_free(context);
[all...]
H A Dieee802_1x_key.c34 static int aes_kdf_128(const u8 *kdk, const char *label, const u8 *context, argument
59 os_memcpy(buf + lab_len + 2, context, ctx_len);
85 u8 context[2 * ETH_ALEN]; local
87 joint_two_mac(mac1, mac2, context);
89 context, sizeof(context) * 8, 128, cak);
104 u8 *context; local
107 context = os_zalloc(ctx_len);
108 if (!context) {
112 os_memcpy(context, si
131 u8 context[16]; local
151 u8 context[16]; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus-wpa_supplicant.conf17 <policy context="default">
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dfips_prf_openssl.c18 SHA_CTX context; local
19 os_memset(&context, 0, sizeof(context));
20 os_memcpy(&context.h0, state, 5 * 4);
21 SHA1_Transform(&context, data);
22 os_memcpy(state, &context.h0, 5 * 4);

Completed in 199 milliseconds

1234567891011>>