/external/iptables/extensions/ |
libxt_NFQUEUE.c | 55 static void NFQUEUE_parse(struct xt_option_call *cb) 57 xtables_option_parse(cb); 58 if (cb->entry->id == O_QUEUE_BALANCE) 63 static void NFQUEUE_parse_v1(struct xt_option_call *cb) 65 struct xt_NFQ_info_v1 *info = cb->data; 66 const uint16_t *r = cb->val.u16_range; 68 xtables_option_parse(cb); 69 switch (cb->entry->id) { 71 if (cb->nvals != 2) 73 "Bad range \"%s\"", cb->arg) [all...] |
libxt_DSCP.c | 53 static void DSCP_parse(struct xt_option_call *cb) 55 struct xt_DSCP_info *dinfo = cb->data; 57 xtables_option_parse(cb); 58 switch (cb->entry->id) { 60 dinfo->dscp = class_to_dscp(cb->arg); 65 static void DSCP_check(struct xt_fcheck_call *cb) 67 if (cb->xflags == 0)
|
libxt_conntrack.c | 294 static void conntrack_parse(struct xt_option_call *cb) 296 struct xt_conntrack_info *sinfo = cb->data; 298 xtables_option_parse(cb); 299 switch (cb->entry->id) { 301 parse_states(cb->arg, sinfo); 302 if (cb->invert) 306 if (cb->invert) 308 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum = cb->val.protocol; 318 if (cb->invert) 320 sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip = cb->val.haddr.ip [all...] |
libxt_physdev.c | 39 static void physdev_parse(struct xt_option_call *cb) 41 struct xt_physdev_info *info = cb->data; 43 xtables_option_parse(cb); 44 switch (cb->entry->id) { 46 xtables_parse_interface(cb->arg, info->physindev, 48 if (cb->invert) 53 xtables_parse_interface(cb->arg, info->physoutdev, 55 if (cb->invert) 61 if (cb->invert) 66 if (cb->invert [all...] |
libxt_statistic.c | 46 static void statistic_parse(struct xt_option_call *cb) 48 struct xt_statistic_info *info = cb->data; 50 if (cb->invert) 53 xtables_option_parse(cb); 54 switch (cb->entry->id) { 56 if (strcmp(cb->arg, "random") == 0) 58 else if (strcmp(cb->arg, "nth") == 0) 62 cb->arg); 65 info->u.random.probability = lround(0x80000000 * cb->val.dbl); 73 static void statistic_check(struct xt_fcheck_call *cb) [all...] |
libxt_CLASSIFY.c | 35 static void CLASSIFY_parse(struct xt_option_call *cb) 37 struct xt_classify_target_info *clinfo = cb->data; 39 xtables_option_parse(cb); 40 if (CLASSIFY_string_to_priority(cb->arg, &clinfo->priority)) 42 "Bad class value \"%s\"", cb->arg);
|
libxt_quota.c | 44 static void quota_parse(struct xt_option_call *cb) 46 struct xt_quota_info *info = cb->data; 48 xtables_option_parse(cb); 49 if (cb->invert) 51 info->quota = cb->val.u64;
|
libxt_tos.c | 56 static void tos_mt_parse_v0(struct xt_option_call *cb) 58 struct ipt_tos_info *info = cb->data; 60 xtables_option_parse(cb); 61 if (cb->val.tos_mask != 0xFF) 65 info->tos = cb->val.tos_value; 66 if (cb->invert) 70 static void tos_mt_parse(struct xt_option_call *cb) 72 struct xt_tos_match_info *info = cb->data; 74 xtables_option_parse(cb); 75 info->tos_value = cb->val.tos_value [all...] |
libxt_CONNSECMARK.c | 36 static void CONNSECMARK_parse(struct xt_option_call *cb) 38 struct xt_connsecmark_target_info *info = cb->data; 40 xtables_option_parse(cb); 41 switch (cb->entry->id) { 51 static void CONNSECMARK_check(struct xt_fcheck_call *cb) 53 if (cb->xflags == 0)
|
libip6t_REJECT.c | 79 static void REJECT_parse(struct xt_option_call *cb) 81 struct ip6t_reject_info *reject = cb->data; 84 xtables_option_parse(cb); 87 cb->arg, strlen(cb->arg)) == 0 || 89 cb->arg, strlen(cb->arg)) == 0) { 94 "unknown reject type \"%s\"", cb->arg);
|
libipt_ULOG.c | 55 static void ULOG_parse(struct xt_option_call *cb) 57 struct ipt_ulog_info *loginfo = cb->data; 59 xtables_option_parse(cb); 60 switch (cb->entry->id) { 62 loginfo->nl_group = 1 << (cb->val.u8 - 1); 65 if (strchr(cb->arg, '\n') != NULL) 70 loginfo->copy_range = cb->val.u64; 73 loginfo->qthreshold = cb->val.u64;
|
libipt_addrtype.c | 99 static void addrtype_parse_v0(struct xt_option_call *cb) 101 struct ipt_addrtype_info *info = cb->data; 103 xtables_option_parse(cb); 104 switch (cb->entry->id) { 106 parse_types(cb->arg, &info->source); 107 if (cb->invert) 111 parse_types(cb->arg, &info->dest); 112 if (cb->invert) 118 static void addrtype_parse_v1(struct xt_option_call *cb) 120 struct ipt_addrtype_info_v1 *info = cb->data [all...] |
/external/openssl/crypto/dh/ |
dh_gen.c | 69 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb); 71 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) 74 return ret->meth->generate_params(ret, prime_len, generator, cb); 75 return dh_builtin_genparams(ret, prime_len, generator, cb); 103 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) 158 if(!BN_generate_prime_ex(ret->p,prime_len,1,t1,t2,cb)) goto err; 159 if(!BN_GENCB_call(cb, 3, 0)) goto err;
|
/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...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
TransitionDrawableTest.java | 89 MockCallBack cb = new MockCallBack(); local 90 mTransitionDrawable.setCallback(cb); 93 cb.reset(); 95 assertTrue(cb.hasCalledInvalidateDrawable()); 100 cb.reset(); 102 assertTrue(cb.hasCalledInvalidateDrawable()); 107 cb.reset(); 109 assertTrue(cb.hasCalledInvalidateDrawable()); 129 MockCallBack cb = new MockCallBack(); local 130 mTransitionDrawable.setCallback(cb); 168 MockCallBack cb = new MockCallBack(); local [all...] |
/external/openssl/crypto/dsa/ |
dsa_depr.c | 92 BN_GENCB cb; local 97 BN_GENCB_set_old(&cb, callback, cb_arg); 100 counter_ret, h_ret, &cb))
|
/external/openssl/crypto/pem/ |
pem_all.c | 176 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, 180 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); 186 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, 190 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 218 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, 222 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u); 231 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, 235 pktmp = PEM_read_PrivateKey(fp, NULL, cb, u); 262 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, 266 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u) [all...] |
/external/openssl/crypto/rsa/ |
rsa_depr.c | 74 BN_GENCB cb; local 90 BN_GENCB_set_old(&cb, callback, cb_arg); 92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) {
|
/external/qemu/block/ |
raw-posix-aio.h | 32 BlockDriverCompletionFunc *cb, void *opaque, int type); 35 BlockDriverCompletionFunc *cb, void *opaque); 41 BlockDriverCompletionFunc *cb, void *opaque, int type);
|
/external/qemu/ |
monitor-android.h | 6 monitor_fake_new(void* opaque, MonitorFakeFunc cb) 10 assert(cb != NULL); 13 mon->fake_func = cb;
|
/frameworks/base/media/java/android/media/ |
IAudioService.aidl | 38 void setStreamSolo(int streamType, boolean state, IBinder cb); 40 void setStreamMute(int streamType, boolean state, IBinder cb); 60 void setMode(int mode, IBinder cb); 82 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, IAudioFocusDispatcher l, 101 void startBluetoothSco(IBinder cb); 103 void stopBluetoothSco(IBinder cb);
|
/hardware/ti/omap4xxx/ |
tm.c | 25 char *cf, *cb; local 48 cb = ptr[5]; 49 cb[60] = 'a';
|
/external/bzip2/ |
bzmore | 22 cb='cbreak'; ncb='-cbreak' 25 cb='min 1 -icanon'; ncb='icanon eof ^d' 45 stty $cb -echo 2>/dev/null
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
mainloop-api.h | 89 pa_io_event* (*io_new)(pa_mainloop_api*a, int fd, pa_io_event_flags_t events, pa_io_event_cb_t cb, void *userdata); 95 void (*io_set_destroy)(pa_io_event *e, pa_io_event_destroy_cb_t cb); 98 pa_time_event* (*time_new)(pa_mainloop_api*a, const struct timeval *tv, pa_time_event_cb_t cb, void *userdata); 104 void (*time_set_destroy)(pa_time_event *e, pa_time_event_destroy_cb_t cb); 107 pa_defer_event* (*defer_new)(pa_mainloop_api*a, pa_defer_event_cb_t cb, void *userdata); 113 void (*defer_set_destroy)(pa_defer_event *e, pa_defer_event_destroy_cb_t cb);
|
/development/ndk/platforms/android-9/include/android/ |
storage_manager.h | 104 AStorageManager_obbCallbackFunc cb, void* data); 110 AStorageManager_obbCallbackFunc cb, void* data);
|