/external/openssl/crypto/asn1/ |
n_pkey.c | 110 int (*cb)(char *buf, int len, const char *prompt, 115 int (*cb)(char *buf, int len, const char *prompt, 118 return i2d_RSA_NET(a, pp, cb, 0); 122 int (*cb)(char *buf, int len, const char *prompt, int verify), 198 if (cb == NULL) 199 cb=EVP_read_pw_string; 200 i=cb((char *)buf,256,"Enter Private Key password:",1); 234 int (*cb)(char *buf, int len, const char *prompt, 237 return d2i_RSA_NET(a, pp, length, cb, 0); 241 int (*cb)(char *buf, int len, const char *prompt, int verify) [all...] |
/external/bluetooth/bluez/audio/ |
headset.h | 51 unsigned int headset_add_state_cb(headset_state_cb cb, void *user_data); 72 headset_stream_cb_t cb, 75 headset_stream_cb_t cb, 78 headset_stream_cb_t cb, 97 headset_nrec_cb cb, void *user_data);
|
/external/iptables/extensions/ |
libxt_pkttype.c | 77 static void pkttype_parse(struct xt_option_call *cb) 79 struct xt_pkttype_info *info = cb->data; 81 xtables_option_parse(cb); 82 parse_pkttype(cb->arg, info); 83 if (cb->invert)
|
libxt_quota2.c | 60 static void quota_mt2_parse(struct xt_option_call *cb) 62 struct xt_quota_mtinfo2 *info = cb->data; 64 xtables_option_parse(cb); 65 switch (cb->entry->id) { 78 if (cb->invert)
|
libxt_state.c | 66 static void state_parse(struct xt_option_call *cb) 68 struct xt_state_info *sinfo = cb->data; 70 xtables_option_parse(cb); 71 state_parse_states(cb->arg, sinfo); 72 if (cb->invert)
|
libipt_DNAT.c | 151 static void DNAT_parse(struct xt_option_call *cb) 153 const struct ipt_entry *entry = cb->xt_entry; 154 struct ipt_natinfo *info = (void *)(*cb->target); 166 xtables_option_parse(cb); 167 switch (cb->entry->id) { 169 if (cb->xflags & F_X_TO_DEST) { 176 *cb->target = parse_to(cb->arg, portok, info); 178 if (cb->xflags & F_RANDOM) 180 cb->xflags |= F_X_TO_DEST [all...] |
libipt_SNAT.c | 151 static void SNAT_parse(struct xt_option_call *cb) 153 const struct ipt_entry *entry = cb->xt_entry; 154 struct ipt_natinfo *info = (void *)(*cb->target); 166 xtables_option_parse(cb); 167 switch (cb->entry->id) { 169 if (cb->xflags & F_X_TO_SRC) { 176 *cb->target = parse_to(cb->arg, portok, info); 178 if (cb->xflags & F_RANDOM) 180 cb->xflags |= F_X_TO_SRC [all...] |
libxt_hashlimit.c | 242 static void hashlimit_parse(struct xt_option_call *cb) 244 struct xt_hashlimit_info *info = cb->data; 246 xtables_option_parse(cb); 247 switch (cb->entry->id) { 249 if (cb->invert) 251 if (!parse_rate(cb->arg, &info->cfg.avg)) 253 "--hashlimit-upto", cb->arg); 256 if (!cb->invert) 258 if (!parse_rate(cb->arg, &info->cfg.avg)) 260 "--hashlimit-above", cb->arg) [all...] |
libxt_limit.c | 91 static void limit_parse(struct xt_option_call *cb) 93 struct xt_rateinfo *r = cb->data; 95 xtables_option_parse(cb); 96 switch (cb->entry->id) { 98 if (!parse_rate(cb->arg, &r->avg)) 100 "bad rate \"%s\"'", cb->arg); 103 if (cb->invert)
|
libxt_recent.c | 85 static void recent_parse(struct xt_option_call *cb) 87 struct xt_recent_mtinfo *info = cb->data; 89 xtables_option_parse(cb); 90 switch (cb->entry->id) { 93 if (cb->invert) 98 if (cb->invert) 103 if (cb->invert) 108 if (cb->invert) 123 static void recent_check(struct xt_fcheck_call *cb) 125 if (!(cb->xflags & F_ANY_OP) [all...] |
/external/qemu/ |
async.c | 119 QEMUBHFunc *cb; member in struct:QEMUBH 127 QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque) 131 bh->cb = cb; 150 bh->cb(bh->opaque);
|
/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 69 TestCompletionCallback cb; local 70 int rv = cache->CreateEntry(entry.key, &cache_entry, &cb); 71 if (net::OK != cb.GetResult(rv)) 117 TestCompletionCallback cb; local 118 int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb); 119 if (net::OK != cb.GetResult(rv)) 168 TestCompletionCallback cb; local 172 cache_thread.message_loop_proxy(), NULL, &cache, &cb); 174 ASSERT_EQ(net::OK, cb.GetResult(rv)); 201 NULL, &cache, &cb); [all...] |
/external/iptables/iptables/ |
xshared.c | 178 static mainfunc_t subcmd_get(const char *cmd, const struct subcommand *cb) 180 for (; cb->name != NULL; ++cb) 181 if (strcmp(cb->name, cmd) == 0) 182 return cb->main; 186 int subcmd_main(int argc, char **argv, const struct subcommand *cb) 189 mainfunc_t f = subcmd_get(cmd, cb); 198 f = subcmd_get(*argv, cb); 206 for (; cb->name != NULL; ++cb) [all...] |
/external/openssl/crypto/pem/ |
pem_pkey.c | 75 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) 84 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u)) 105 if (cb) klen=cb(psbuf,PEM_BUFSIZE,0,u); 142 pem_password_cb *cb, void *u) 148 cb, u); 152 pem_str,bp,x,enc,kstr,klen,cb,u); 209 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) 220 ret=PEM_read_bio_PrivateKey(b,x,cb,u); 227 pem_password_cb *cb, void *u [all...] |
/external/openssl/crypto/rsa/ |
rsa_gen.c | 71 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb); 78 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) 81 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb); 82 return rsa_builtin_keygen(rsa, bits, e_value, cb); 85 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) 120 if(!BN_generate_prime_ex(rsa->p, bitsp, 0, NULL, NULL, cb)) 125 if(!BN_GENCB_call(cb, 2, n++)) 128 if(!BN_GENCB_call(cb, 3, 0)) 138 if(!BN_generate_prime_ex(rsa->q, bitsq, 0, NULL, NULL, cb)) 151 if(!BN_GENCB_call(cb, 2, n++) [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_image.c | 87 u32 *lum, *cb, *cr; local 99 /*lint -save -e826 lum, cb and cr used to copy 4 bytes at the time, disable 102 cb = (u32*)image->cb; 105 ASSERT(!((u32)cb&0x3)); 129 *cb++ = tmp1; 130 *cb++ = tmp2; 131 cb += width-2; 179 u8 *lum, *cb, *cr; local 204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8) [all...] |
/system/core/libpixelflinger/ |
raster.cpp | 59 surface_t* cb = &(c->state.buffers.color); local 62 if (uint32_t(xs) > cb->width) 64 if (uint32_t(ys) > cb->height) 66 if (uint32_t(xs + width) > cb->width) 68 if (uint32_t(ys + height) > cb->height) 105 const GGLFormat* fp = &(c->formats[cb->format]); 106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data) 107 + (xs + (cb->stride * ys)) * fp->size; 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) 109 + (xd + (cb->stride * yd)) * fp->size [all...] |
/external/openssl/apps/ |
gendh.c | 85 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb); 91 BN_GENCB cb; local 104 BN_GENCB_set(&cb, dh_cb, bio_err); 203 if(((dh = DH_new()) == NULL) || !DH_generate_parameters_ex(dh, num, g, &cb)) 220 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb) 228 BIO_write(cb->arg,&c,1); 229 (void)BIO_flush(cb->arg);
|
/external/wpa_supplicant_8/src/wps/ |
http_client.c | 34 void (*cb)(void *ctx, struct http_client *c, member in struct:http_client 46 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); 69 c->cb(c->cb_ctx, c, HTTP_CLIENT_OK); 75 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); 78 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); 81 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); 84 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 107 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 130 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 138 void (*cb)(void *ctx [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_glue.c | 260 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), 267 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 275 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data 285 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) 293 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), 300 data.cb = cb; 468 struct wpa_auth_callbacks cb; local 475 os_memset(&cb, 0, sizeof(cb)); [all...] |
/external/jpeg/ |
jdmerge.c | 18 * G = Y + K2 * Cb + K3 * Cr 19 * B = Y + K4 * Cb 72 int * Cb_b_tab; /* => table for Cb to B conversion */ 74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 127 /* Cb=>B value is nearest int to 1.77200 * x */ 132 /* Cb=>G value is scaled-up -0.34414 * x */ 256 int cb, cr; local 275 cb = GETJSAMPLE(*inptr1++); 278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS) 315 int cb, cr; local 379 int cb, cr; local 453 int cb, cr; local 529 int cb, cr; local 614 int cb, cr; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
firewallsocketserver.cc | 57 virtual int Send(const void* pv, size_t cb) { 58 return SendTo(pv, cb, GetRemoteAddress()); 60 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { 66 return static_cast<int>(cb); 69 return AsyncSocketAdapter::SendTo(pv, cb, addr); 71 virtual int Recv(void* pv, size_t cb) { 73 return RecvFrom(pv, cb, &addr); 75 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { 78 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); 88 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr) [all...] |
/external/openssl/include/openssl/ |
tls1.h | 234 #define SSL_set_tlsext_debug_callback(ssl, cb) \ 235 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb) 261 #define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \ 262 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb) 277 #define SSL_CTX_set_tlsext_status_cb(ssl, cb) \ 278 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb) 285 #define SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb) \ 286 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB, (void (*)(void))cb) 290 #define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \ 291 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) [all...] |
/external/openssl/ssl/ |
tls1.h | 234 #define SSL_set_tlsext_debug_callback(ssl, cb) \ 235 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb) 261 #define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \ 262 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_SERVERNAME_CB,(void (*)(void))cb) 277 #define SSL_CTX_set_tlsext_status_cb(ssl, cb) \ 278 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB,(void (*)(void))cb) 285 #define SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb) \ 286 SSL_CTX_callback_ctrl(ctx,SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB, (void (*)(void))cb) 290 #define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \ 291 SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
h264bsdWriteMacroblock.S | 31 #define cb r4 define 97 LDR cb, [image, #0x10] 120 VLD1 {qRow0, qRow1}, [data]! ;//cb rows 0,1,2,3 122 VLD1 {qRow2, qRow3}, [data]! ;//cb rows 4,5,6,7 128 VST1 {dRow0}, [cb,:64], cwidth 131 VST1 {dRow1}, [cb,:64], cwidth 134 VST1 {dRow2}, [cb,:64], cwidth 137 VST1 {dRow3}, [cb,:64], cwidth 140 VST1 {dRow4}, [cb,:64], cwidth 143 VST1 {dRow5}, [cb,:64], cwidt [all...] |