/external/iptables/extensions/ |
libipt_ttl.c | 28 static void ttl_parse(struct xt_option_call *cb) 30 struct ipt_ttl_info *info = cb->data; 32 xtables_option_parse(cb); 33 switch (cb->entry->id) { 35 info->mode = cb->invert ? IPT_TTL_NE : IPT_TTL_EQ; 46 static void ttl_check(struct xt_fcheck_call *cb) 48 if (!(cb->xflags & F_ANY))
|
libxt_LED.c | 49 static void LED_parse(struct xt_option_call *cb) 51 struct xt_led_info *led = cb->data; 53 xtables_option_parse(cb); 54 switch (cb->entry->id) { 57 strcat(led->id, cb->arg); 60 if (strncasecmp(cb->arg, "inf", 3) == 0) 63 led->delay = strtoul(cb->arg, NULL, 0);
|
libipt_ah.c | 24 static void ah_parse(struct xt_option_call *cb) 26 struct ipt_ah *ahinfo = cb->data; 28 xtables_option_parse(cb); 29 if (cb->nvals == 1) 31 if (cb->invert)
|
libxt_esp.c | 24 static void esp_parse(struct xt_option_call *cb) 26 struct xt_esp *espinfo = cb->data; 28 xtables_option_parse(cb); 29 if (cb->nvals == 1) 31 if (cb->invert)
|
libxt_osf.c | 64 static void osf_parse(struct xt_option_call *cb) 66 struct xt_osf_info *info = cb->data; 68 xtables_option_parse(cb); 69 switch (cb->entry->id) { 71 if (cb->invert)
|
libxt_policy.c | 91 static void policy_parse(struct xt_option_call *cb) 93 struct xt_policy_info *info = cb->data; 96 xtables_option_parse(cb); 97 switch (cb->entry->id) { 99 info->flags |= parse_direction(cb->arg); 102 info->flags |= parse_policy(cb->arg); 112 e->invert.reqid = cb->invert; 113 e->reqid = cb->val.u32; 120 e->invert.spi = cb->invert; 121 e->spi = cb->val.u32 [all...] |
libipt_ECN.c | 49 static void ECN_parse(struct xt_option_call *cb) 51 struct ipt_ECN_info *einfo = cb->data; 53 xtables_option_parse(cb); 54 switch (cb->entry->id) { 62 einfo->proto.tcp.cwr = cb->val.u8; 66 einfo->proto.tcp.ece = cb->val.u8; 70 einfo->ip_ect = cb->val.u8; 75 static void ECN_check(struct xt_fcheck_call *cb) 77 if (cb->xflags == 0)
|
libip6t_HL.c | 44 static void HL_parse(struct xt_option_call *cb) 46 struct ip6t_HL_info *info = cb->data; 48 xtables_option_parse(cb); 49 switch (cb->entry->id) { 62 static void HL_check(struct xt_fcheck_call *cb) 64 if (!(cb->xflags & F_ANY))
|
libipt_NETMAP.c | 54 static void NETMAP_parse(struct xt_option_call *cb) 56 struct nf_nat_multi_range *mr = cb->data; 59 xtables_option_parse(cb); 61 range->min_ip = cb->val.haddr.ip & cb->val.hmask.ip; 62 range->max_ip = range->min_ip | ~cb->val.hmask.ip;
|
libipt_TTL.c | 43 static void TTL_parse(struct xt_option_call *cb) 45 struct ipt_TTL_info *info = cb->data; 47 xtables_option_parse(cb); 48 switch (cb->entry->id) { 61 static void TTL_check(struct xt_fcheck_call *cb) 63 if (!(cb->xflags & F_ANY))
|
libxt_TCPMSS.c | 56 static void TCPMSS_parse(struct xt_option_call *cb) 58 struct xt_tcpmss_info *mssinfo = cb->data; 60 xtables_option_parse(cb); 61 if (cb->entry->id == O_CLAMP_MSS) 65 static void TCPMSS_check(struct xt_fcheck_call *cb) 67 if (cb->xflags == 0)
|
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...] |
/bootable/recovery/minui/ |
events.c | 37 ev_callback cb; member in struct:fd_info 79 ev_fdinfo[ev_count].cb = input_cb; 90 int ev_add_fd(int fd, ev_callback cb, void *data) 92 if (ev_misc_count == MAX_MISC_FDS || cb == NULL) 97 ev_fdinfo[ev_count].cb = cb; 129 ev_callback cb = ev_fdinfo[n].cb; local 130 if (cb && (ev_fds[n].revents & ev_fds[n].events)) 131 cb(ev_fds[n].fd, ev_fds[n].revents, ev_fdinfo[n].data) [all...] |
/external/chromium/net/tools/flip_server/ |
epoll_server.cc | 116 CB* cb = cb_iter->cb; local 119 if (cb) { 120 cb->OnShutdown(this, fd); 190 void EpollServer::RegisterFD(int fd, CB* cb, int event_mask) { 191 CHECK(cb); 199 CB* other_cb = fd_i->cb; 280 CB* cb = fd_i->cb; local 477 AlarmCB* cb = iterator_token->second; local 758 AlarmCB* cb = i->second; local [all...] |
/external/webkit/Source/WebKit/win/ |
MemoryStream.h | 54 /* [in] */ ULONG cb, 59 /* [in] */ ULONG cb, 73 /* [in] */ ULARGE_INTEGER cb, 84 /* [in] */ ULARGE_INTEGER cb, 89 /* [in] */ ULARGE_INTEGER cb,
|
/external/openssl/crypto/bio/ |
bio_lib.c | 164 void BIO_set_callback(BIO *b, long (*cb)(struct bio_st *,int,const char *,int, long,long)) 166 b->callback = cb; 193 long (*cb)(BIO *,int,const char *,int,long,long); 201 cb=b->callback; 202 if ((cb != NULL) && 203 ((i=(int)cb(b,BIO_CB_READ,out,outl,0L,1L)) <= 0)) 216 if (cb != NULL) 217 i=(int)cb(b,BIO_CB_READ|BIO_CB_RETURN,out,outl, 225 long (*cb)(BIO *,int,const char *,int,long,long); 230 cb=b->callback [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
CharBufferTest.java | 858 CharBuffer cb = CharBuffer.allocate(10); local 859 CharBuffer cb2 = cb.duplicate(); 860 cb.append(cb); 861 assertEquals(10, cb.position()); 862 cb.clear(); 863 assertEquals(cb2, cb); 865 cb.put("abc"); 866 cb2 = cb.duplicate(); 867 cb.append(cb) 884 CharBuffer cb = CharBuffer.allocate(1); local 908 CharBuffer cb = CharBuffer.wrap("ABCDE").asReadOnlyBuffer(); local 932 CharBuffer cb = CharBuffer.allocate(2); local 939 CharBuffer cb = CharBuffer.allocate(10); local 948 CharBuffer cb = CharBuffer.allocate(10); local 958 CharBuffer cb = CharBuffer.allocate(10); local [all...] |
/hardware/ti/wlan/wl1271/Txn/ |
WspiBusDrv.c | 198 * \param fCbFunc - CB function for Async transaction completion (after all txn parts are completed). 199 * \param hCbArg - The CB function handle 213 WSPI_CB_T cb; local 226 cb.CBFunc = ConnectDone_CB;/* The BusTxn callback called upon Async transaction end. */ 227 cb.CBArg = hBusDrv; /* The handle for the BusDrv. */ 230 iStatus = WSPI_Configure(pBusDrv->hWspi, pBusDrv->hReport, &wspi_config, &cb); 280 WSPI_CB_T cb; local 285 cb.CBFunc = asyncEnded_CB; /* The BusTxn callback called upon Async transaction end. */ 286 cb.CBArg = hBusDrv; /* The handle for the BusTxnCB. */ 304 pBusDrv->eCurrTxnStatus = WSPI_WriteAsync(pBusDrv->hWspi, pTxn->uHwAddr,tempWriteBuff,pTxn->aLen[0], &cb, TI_TRUE, TI_TRUE,TXN_PARAM_GET_FIXED_ADDR(pTxn)); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form21h.java | 86 CstLiteralBits cb = (CstLiteralBits) cst; local 90 int bits = cb.getIntBits(); 93 long bits = cb.getLongBits(); 108 CstLiteralBits cb = (CstLiteralBits) ((CstInsn) insn).getConstant(); local 113 bits = (short) (cb.getIntBits() >>> 16); 115 bits = (short) (cb.getLongBits() >>> 48);
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form21h.java | 88 CstLiteralBits cb = (CstLiteralBits) cst; local 92 int bits = cb.getIntBits(); 95 long bits = cb.getLongBits(); 114 CstLiteralBits cb = (CstLiteralBits) ((CstInsn) insn).getConstant(); local 119 bits = (short) (cb.getIntBits() >>> 16); 121 bits = (short) (cb.getLongBits() >>> 48);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
Form21h.java | 88 CstLiteralBits cb = (CstLiteralBits) cst; local 92 int bits = cb.getIntBits(); 95 long bits = cb.getLongBits(); 114 CstLiteralBits cb = (CstLiteralBits) ((CstInsn) insn).getConstant(); local 119 bits = (short) (cb.getIntBits() >>> 16); 121 bits = (short) (cb.getLongBits() >>> 48);
|
/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/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...] |
/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...] |