Searched defs:context (Results 1 - 25 of 1764) sorted by last modified time

1234567891011>>

/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/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/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/wpa_supplicant_8/hostapd/src/crypto/
H A Dfips_prf_openssl.c18 SHA_CTX context; local
19 os_memset(&context, 0, sizeof(context));
20 context.h0 = state[0];
21 context.h1 = state[1];
22 context.h2 = state[2];
23 context.h3 = state[3];
24 context.h4 = state[4];
25 SHA1_Transform(&context, data);
26 state[0] = context
[all...]
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 Dtls_openssl.c84 struct tls_context *context; member in struct:tls_connection
119 struct tls_context *context = os_zalloc(sizeof(*context)); local
120 if (context == NULL)
123 context->event_cb = conf->event_cb;
124 context->cb_ctx = conf->cb_ctx;
125 context->cert_in_cb = conf->cert_in_cb;
127 return context;
571 if (conn->context->event_cb != NULL) {
573 struct tls_context *context local
739 struct tls_context *context; local
852 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1071 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1392 struct tls_context *context = conn->context; local
1416 struct tls_context *context = conn->context; local
1504 struct tls_context *context; local
[all...]
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay.c1952 u8 *context; local
1999 context = os_zalloc(ctx_len);
2000 if (!context) {
2006 if (os_get_random(context + ctx_offset, conf->key_len) < 0) {
2007 os_free(context);
2015 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi));
2018 os_memcpy(context + ctx_offset, participant->mi,
2021 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn));
2025 context, ctx_len, conf->key);
2028 context, ctx_le
[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/hostapd/src/utils/
H A Dcommon.c979 * @context: Pointer to save our context. Should be initialized with
983 char * str_token(char *str, const char *delim, char **context) argument
987 if (*context)
988 pos = *context;
1002 *context = end;
/external/wpa_supplicant_8/src/crypto/
H A Dfips_prf_openssl.c18 SHA_CTX context; local
19 os_memset(&context, 0, sizeof(context));
20 context.h0 = state[0];
21 context.h1 = state[1];
22 context.h2 = state[2];
23 context.h3 = state[3];
24 context.h4 = state[4];
25 SHA1_Transform(&context, data);
26 state[0] = context
[all...]
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 Dtls_openssl.c84 struct tls_context *context; member in struct:tls_connection
119 struct tls_context *context = os_zalloc(sizeof(*context)); local
120 if (context == NULL)
123 context->event_cb = conf->event_cb;
124 context->cb_ctx = conf->cb_ctx;
125 context->cert_in_cb = conf->cert_in_cb;
127 return context;
571 if (conn->context->event_cb != NULL) {
573 struct tls_context *context local
739 struct tls_context *context; local
852 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1071 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1392 struct tls_context *context = conn->context; local
1416 struct tls_context *context = conn->context; local
1504 struct tls_context *context; local
[all...]
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay.c1952 u8 *context; local
1999 context = os_zalloc(ctx_len);
2000 if (!context) {
2006 if (os_get_random(context + ctx_offset, conf->key_len) < 0) {
2007 os_free(context);
2015 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi));
2018 os_memcpy(context + ctx_offset, participant->mi,
2021 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn));
2025 context, ctx_len, conf->key);
2028 context, ctx_le
[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/utils/
H A Dcommon.c979 * @context: Pointer to save our context. Should be initialized with
983 char * str_token(char *str, const char *delim, char **context) argument
987 if (*context)
988 pos = *context;
1002 *context = end;
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface.c812 char *token, *context = NULL; local
818 while ((token = str_token(cmd, " ", &context))) {
5547 char *token, *context = NULL; local
5549 while ((token = str_token(cmd, " ", &context))) {
7869 char *token, *context = NULL; local
7874 while ((token = str_token(cmd, " ", &context))) {
H A Dmesh_rsn.c342 u8 context[AES_BLOCK_SIZE]; local
345 RSN_SELECTOR_PUT(context, wpa_cipher_to_suite(0, WPA_CIPHER_GCMP));
351 os_memcpy(context + 4, addr1, ETH_ALEN);
352 os_memcpy(context + 10, addr2, ETH_ALEN);
355 context, sizeof(context), sta->aek, sizeof(sta->aek));
370 u8 context[64 + 4 + 4 + 12]; local
372 ptr = context;
410 "Temporal Key Derivation", context, sizeof(context),
[all...]
/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 context.h0 = state[0];
21 context.h1 = state[1];
22 context.h2 = state[2];
23 context.h3 = state[3];
24 context.h4 = state[4];
25 SHA1_Transform(&context, data);
26 state[0] = context
[all...]
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 Dtls_openssl.c84 struct tls_context *context; member in struct:tls_connection
119 struct tls_context *context = os_zalloc(sizeof(*context)); local
120 if (context == NULL)
123 context->event_cb = conf->event_cb;
124 context->cb_ctx = conf->cb_ctx;
125 context->cert_in_cb = conf->cert_in_cb;
127 return context;
571 if (conn->context->event_cb != NULL) {
573 struct tls_context *context local
739 struct tls_context *context; local
852 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1071 struct tls_context *context = SSL_CTX_get_app_data(ssl); local
1392 struct tls_context *context = conn->context; local
1416 struct tls_context *context = conn->context; local
1504 struct tls_context *context; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_kay.c1952 u8 *context; local
1999 context = os_zalloc(ctx_len);
2000 if (!context) {
2006 if (os_get_random(context + ctx_offset, conf->key_len) < 0) {
2007 os_free(context);
2015 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi));
2018 os_memcpy(context + ctx_offset, participant->mi,
2021 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn));
2025 context, ctx_len, conf->key);
2028 context, ctx_le
[all...]

Completed in 429 milliseconds

1234567891011>>