/external/openssh/ |
atomicio.c | 52 int (*cb)(void *, size_t), void *cb_arg) 77 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) { 98 int (*cb)(void *, size_t), void *cb_arg) 152 if (cb != NULL && cb(cb_arg, (size_t)res) == -1) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCamera.java | 88 public void setPreviewCallback(Camera.PreviewCallback cb) { 89 previewCallback = cb; 93 public void setOneShotPreviewCallback(Camera.PreviewCallback cb) { 94 previewCallback = cb; 98 public void setPreviewCallbackWithBuffer(Camera.PreviewCallback cb) { 99 previewCallback = cb;
|
/external/chromium/third_party/libjingle/source/talk/base/ |
asynctcpsocket.cc | 101 int AsyncTCPSocket::Send(const void *pv, size_t cb) { 102 if (cb > MAX_PACKET_SIZE) { 109 return static_cast<int>(cb); 111 PacketLength pkt_len = HostToNetwork16(static_cast<PacketLength>(cb)); 113 memcpy(outbuf_ + PKT_LEN_SIZE, pv, cb); 114 outpos_ = PKT_LEN_SIZE + cb; 124 return static_cast<int>(cb); 127 int AsyncTCPSocket::SendTo(const void *pv, size_t cb, 130 return Send(pv, cb); 161 int AsyncTCPSocket::SendRaw(const void * pv, size_t cb) { [all...] |
asyncpacketsocket.h | 52 virtual int Send(const void *pv, size_t cb) = 0; 53 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr) = 0;
|
asyncudpsocket.h | 50 virtual int Send(const void *pv, size_t cb); 51 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr);
|
schanneladapter.h | 46 virtual int Send(const void* pv, size_t cb); 47 virtual int Recv(void* pv, size_t cb);
|
socketadapters.h | 53 virtual int Send(const void* pv, size_t cb); 54 virtual int Recv(void* pv, size_t cb); 57 int DirectSend(const void* pv, size_t cb) { 58 return AsyncSocketAdapter::Send(pv, cb); 239 virtual int Send(const void *pv, size_t cb); 240 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr); 241 virtual int Recv(void *pv, size_t cb); 242 virtual int RecvFrom(void *pv, size_t cb, SocketAddress *paddr);
|
/external/iptables/extensions/ |
libxt_TPROXY.c | 121 static void tproxy_tg0_parse(struct xt_option_call *cb) 123 struct xt_tproxy_target_info *info = cb->data; 125 xtables_option_parse(cb); 126 switch (cb->entry->id) { 128 info->mark_value = cb->val.mark; 129 info->mark_mask = cb->val.mask; 132 info->laddr = cb->val.haddr.ip; 137 static void tproxy_tg1_parse(struct xt_option_call *cb) 139 struct xt_tproxy_target_info_v1 *info = cb->data; 141 xtables_option_parse(cb); [all...] |
libxt_connlimit.c | 57 static void connlimit_parse(struct xt_option_call *cb, uint8_t family) 59 struct xt_connlimit_info *info = cb->data; 60 const unsigned int revision = (*cb->match)->u.user.revision; 62 xtables_option_parse(cb); 63 switch (cb->entry->id) { 65 if (cb->invert) 69 if (!cb->invert) 89 static void connlimit_parse4(struct xt_option_call *cb) 91 return connlimit_parse(cb, NFPROTO_IPV4); 94 static void connlimit_parse6(struct xt_option_call *cb) [all...] |
libipt_REDIRECT.c | 75 static void REDIRECT_parse(struct xt_option_call *cb) 77 const struct ipt_entry *entry = cb->xt_entry; 78 struct nf_nat_multi_range *mr = (void *)(*cb->target)->data; 90 xtables_option_parse(cb); 91 switch (cb->entry->id) { 96 parse_ports(cb->arg, mr); 97 if (cb->xflags & F_RANDOM) 101 if (cb->xflags & F_TO_PORTS)
|
/external/openssl/crypto/dsa/ |
dsa_gen.c | 90 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb) 102 counter_ret, h_ret, cb); 108 counter_ret, h_ret, cb); 128 seed_in, seed_len, NULL, counter_ret, h_ret, cb); 135 int *counter_ret, unsigned long *h_ret, BN_GENCB *cb) 201 if(!BN_GENCB_call(cb, 0, m++)) 240 seed_is_random, cb); 250 if(!BN_GENCB_call(cb, 2, 0)) goto err; 251 if(!BN_GENCB_call(cb, 3, 0)) goto err; 261 if ((counter != 0) && !BN_GENCB_call(cb, 0, counter) [all...] |
/external/qemu/block/ |
raw.c | 93 BlockDriverCompletionFunc *cb, void *opaque) 95 return bdrv_aio_readv(bs->file, sector_num, qiov, nb_sectors, cb, opaque); 100 BlockDriverCompletionFunc *cb; member in struct:RawScrubberBounce 110 b->cb(b->opaque, ret); 112 b->cb(b->opaque, ret + 512); 121 BlockDriverCompletionFunc *cb, void *opaque) 151 b->cb = cb; 165 return bdrv_aio_writev(bs->file, sector_num, qiov, nb_sectors, cb, opaque); 178 BlockDriverCompletionFunc *cb, void *opaque [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardUpdateMonitor.java | 414 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 415 if (cb != null) { 416 cb.onMusicClientIdChanged(clientGeneration, clearing, p); 429 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 430 if (cb != null) { 431 cb.onMusicPlaybackStateChanged(playbackState, eventTime); 441 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 442 if (cb != null) { 443 cb.onUserInfoChanged(userId); 546 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get() local 558 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 574 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 589 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 609 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 621 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 646 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 660 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 673 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 689 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 705 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 726 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 740 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local 755 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); local [all...] |
/bionic/libc/bionic/ |
dl_iterate_phdr_static.c | 46 dl_iterate_phdr(int (*cb)(struct dl_phdr_info *info, size_t size, void *data), 64 return cb(&dl_info, sizeof (struct dl_phdr_info), data);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IsolatedService.java | 75 public void registerCallback(IRemoteServiceCallback cb) { 76 if (cb != null) mCallbacks.register(cb); 78 public void unregisterCallback(IRemoteServiceCallback cb) { 79 if (cb != null) mCallbacks.unregister(cb); 121 CheckBox cb = (CheckBox)mActivity.findViewById(bind); local 122 cb.setOnClickListener(mBindListener);
|
/external/libnl-headers/netlink/route/ |
class.h | 60 void (*cb)(struct nl_object *, 65 void (*cb)(struct nl_object *,
|
/external/openssl/crypto/pem/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 242 unsigned char *kstr, int klen, pem_password_cb *cb, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 250 unsigned char *kstr, int klen, pem_password_cb *cb, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 259 type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\ 261 return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \ 278 unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \ 280 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); [all...] |
pem_oth.c | 71 pem_password_cb *cb, void *u) 78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
|
/external/openssl/include/openssl/ |
pem.h | 223 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 242 unsigned char *kstr, int klen, pem_password_cb *cb, \ 245 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 250 unsigned char *kstr, int klen, pem_password_cb *cb, \ 253 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,enc,kstr,klen,cb,u); \ 259 type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\ 261 return PEM_ASN1_read_bio((d2i_of_void *)d2i_##asn1, str,bp,(void **)x,cb,u); \ 278 unsigned char *kstr, int klen, pem_password_cb *cb, void *u) \ 280 return PEM_ASN1_write_bio((i2d_of_void *)i2d_##asn1,str,bp,x,enc,kstr,klen,cb,u); [all...] |
/external/webkit/Source/WebKit/win/ |
MemoryStream.cpp | 91 /* [in] */ ULONG cb, 102 if (m_pos + cb < m_buffer->size()) 103 *pcbRead = cb; 115 /* [in] */ ULONG /*cb*/, 184 /* [in] */ ULARGE_INTEGER cb, 190 if (cb.HighPart) { 191 cb.HighPart = 0; 192 cb.LowPart = (DWORD)-1; 196 ULONG read = min(cb.LowPart, (ULONG)(m_buffer->size()-m_pos)); 223 /* [in] */ ULARGE_INTEGER /*cb*/, [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 93 CharBuffer cb = CharBuffer.allocate(128); local 95 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0xe2 }), cb, false); 97 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0x98 }), cb, false); 99 cr = decoder.decode(ByteBuffer.wrap(new byte[] { (byte) 0x83 }), cb, false); 101 cr = decoder.decode(ByteBuffer.wrap(new byte[0]), cb, true); 103 cr = decoder.flush(cb); 105 assertEquals(1, cb.position()); 106 assertEquals('\u2603', cb.get(0));
|
/bionic/libc/include/ |
link.h | 50 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*);
|
/bionic/libc/netbsd/net/ |
nsdispatch.c | 118 nss_method cb; local 137 cb = _nsmethod(srclist[i].name, database, method, 140 if (cb != NULL) { 142 result = (*cb)(retval, cb_data, ap);
|
/bionic/libdl/ |
libdl.c | 35 /* we munge the cb definition so we don't have to include any headers here. 37 int dl_iterate_phdr(int (*cb)(void *info, void *size, void *data), void *data) { return 0; }
|
/development/ndk/platforms/android-3/include/ |
link.h | 50 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*);
|