/external/chromium/third_party/libevent/ |
buffer.c | 119 if (inbuf->off != oldoff && inbuf->cb != NULL) 120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); 121 if (oldoff && outbuf->cb != NULL) 122 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg); 166 if (buf->cb != NULL) 167 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); 313 if (datlen && buf->cb != NULL) 314 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg); 338 if (buf->off != oldoff && buf->cb != NULL) 339 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg) [all...] |
/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), 199 if (cb == NULL) 200 cb=EVP_read_pw_string; 201 i=cb((char *)buf,256,"Enter Private Key password:",1); 239 int (*cb)(char *buf, int len, const char *prompt, 242 return d2i_RSA_NET(a, pp, length, cb, 0); 246 int (*cb)(char *buf, int len, const char *prompt, int verify) [all...] |
/external/elfutils/libdwfl/ |
dwfl_build_id_find_elf.c | 85 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks; local 89 char *path = strdup ((cb->debuginfo_path ? *cb->debuginfo_path : NULL) 92 char *path = strdupa ((cb->debuginfo_path ? *cb->debuginfo_path : NULL)
|
/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)
|
/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/skia/include/utils/win/ |
SkIStream.h | 40 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead); 43 , ULONG cb 94 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead); 97 , ULONG cb 122 , ULONG cb
|
/external/skia/legacy/include/utils/win/ |
SkIStream.h | 40 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead); 43 , ULONG cb 94 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead); 97 , ULONG cb 122 , ULONG cb
|
/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...] |
/frameworks/av/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/ap/ |
wpa_auth_glue.c | 287 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), 294 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) 302 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data 312 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) 320 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), 328 data.cb = cb; 508 struct wpa_auth_callbacks cb; local 517 os_memset(&cb, 0, sizeof(cb)); [all...] |
/external/wpa_supplicant_8/src/wps/ |
http_client.c | 28 void (*cb)(void *ctx, struct http_client *c, member in struct:http_client 40 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); 63 c->cb(c->cb_ctx, c, HTTP_CLIENT_OK); 69 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); 72 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); 75 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); 78 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 101 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 124 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); 132 void (*cb)(void *ctx [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/qemu/distrib/jpeg-6b/ |
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/aac/libMpegTPDec/src/ |
tpdec_asc.cpp | 573 CSTpCallBacks *cb ) 580 error = cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++); 582 error = cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_SCE, i++); 587 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++); 589 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_samplesPerFrame, AOT_ER_AAC_ELD, ID_CPE, i++); 593 error |= cb->cbSbr(cb->cbSbrData, hBs, asc->m_samplingFrequency, asc->m_extensionSamplingFrequency, asc->m_sam (…) [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...] |