/external/qemu/ |
H A D | cbuffer.h | 27 cbuffer_reset( CBuffer* cb, void* buff, int size ) argument 29 cb->buff = buff; 30 cb->size = size; 31 cb->rpos = 0; 32 cb->count = 0; 36 cbuffer_write_avail( CBuffer* cb ) 38 return cb->size - cb->count; 41 extern int cbuffer_write( CBuffer* cb, const void* from, int len ); 42 extern int cbuffer_write_peek( CBuffer* cb, uint8_ [all...] |
H A D | cbuffer.c | 29 cbuffer_assert( CBuffer* cb, const char* file, long lineno ) argument 33 if (cb->rpos < 0 || cb->rpos >= cb->size) { 36 else if (cb->count < 0 || cb->count > cb->size) { 43 file, lineno, reason, cb->rpos, cb->count, cb 52 cbuffer_write_peek( CBuffer* cb, uint8_t* *pbase ) argument 70 cbuffer_write_step( CBuffer* cb, int len ) argument 81 cbuffer_write( CBuffer* cb, const void* from, int len ) argument 117 cbuffer_read( CBuffer* cb, void* to, int len ) argument 152 cbuffer_read_peek( CBuffer* cb, uint8_t* *pbase ) argument 168 cbuffer_read_step( CBuffer* cb, int len ) argument [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
H A D | ChoiceCallbackTest.java | 34 ChoiceCallback cb; field in class:ChoiceCallbackTest 48 cb = new ChoiceCallback(prompt, choices, defaultChoice, true); 49 assertEquals(this.prompt, cb.getPrompt()); 50 assertEquals(this.choices, cb.getChoices()); 51 assertEquals(this.defaultChoice, cb.getDefaultChoice()); 52 assertTrue(cb.allowMultipleSelections()); 59 cb = new ChoiceCallback(prompt, choices, defaultChoice, false); 61 cb.setSelectedIndexes(index); 65 cb.setSelectedIndex(1); 66 assertEquals(1, cb [all...] |
/external/bluetooth/bluez/src/ |
H A D | oob.c | 31 void oob_register_cb(oob_read_cb_t cb) argument 33 local_oob_read_cb = cb;
|
H A D | agent.h | 40 agent_remove_cb cb, void *remove_cb_data); 45 const char *uuid, agent_cb cb, void *user_data, 49 agent_pincode_cb cb, void *user_data, 53 agent_cb cb, void *user_data, 57 agent_passkey_cb cb, void *user_data, 61 uint32_t passkey, agent_cb cb, 65 struct btd_device *device, agent_cb cb,
|
/external/clang/test/CXX/over/over.built/ |
H A D | p25.cpp | 13 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument 14 return cond? ca : cb;
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
H A D | ChannelBindingTest.java | 35 ChannelBinding cb = new ChannelBinding(data); 37 cb.getApplicationData())); 44 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); 46 cb.getApplicationData())); 50 ChannelBinding cb = new ChannelBinding(null); 51 assertNull(cb.getApplicationData()); 56 ChannelBinding cb = new ChannelBinding(addr, null, null); 58 cb.getInitiatorAddress()); 65 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); 67 cb [all...] |
/external/iptables/iptables/ |
H A D | xtoptions.c | 29 #define XTOPT_MKPTR(cb) \ 30 ((void *)((char *)(cb)->data + (cb)->entry->ptroff)) 172 static void xtopt_parse_int(struct xt_option_call *cb) argument 174 const struct xt_option_entry *entry = cb->entry; 178 if (cb->entry->min != 0) 179 lmin = cb->entry->min; 180 if (cb->entry->max != 0) 181 lmax = cb->entry->max; 183 if (!xtables_strtoul(cb 211 xtopt_parse_float(struct xt_option_call *cb) argument 234 xtopt_mint_value_to_cb(struct xt_option_call *cb, uintmax_t value) argument 253 xtopt_mint_value_to_ptr(struct xt_option_call *cb, void **datap, uintmax_t value) argument 282 xtopt_parse_mint(struct xt_option_call *cb) argument 331 xtopt_parse_string(struct xt_option_call *cb) argument 373 tos_parse_numeric(const char *str, struct xt_option_call *cb, unsigned int max) argument 402 xtopt_parse_tosmask(struct xt_option_call *cb) argument 429 xtopt_parse_markmask(struct xt_option_call *cb) argument 462 xtopt_parse_sysloglevel(struct xt_option_call *cb) argument 514 xtopt_parse_host(struct xt_option_call *cb) argument 587 xtopt_parse_protocol(struct xt_option_call *cb) argument 598 xtopt_parse_port(struct xt_option_call *cb) argument 615 xtopt_parse_mport(struct xt_option_call *cb) argument 674 xtopt_parse_plen(struct xt_option_call *cb) argument 694 xtopt_parse_plenmask(struct xt_option_call *cb) argument 725 xtopt_parse_hostmask(struct xt_option_call *cb) argument 752 xtopt_parse_ethermac(struct xt_option_call *cb) argument 805 xtables_option_parse(struct xt_option_call *cb) argument 890 struct xt_option_call cb; local 925 struct xt_option_call cb; local 1026 struct xt_fcheck_call cb; local 1046 struct xt_fcheck_call cb; local [all...] |
/external/chromium/net/disk_cache/ |
H A D | disk_cache_test_base.cc | 54 TestCompletionCallback cb; local 55 int rv = cache_impl_->FlushQueueForTest(&cb); 56 ASSERT_EQ(net::OK, cb.GetResult(rv)); 82 TestCompletionCallback cb; local 83 int rv = cache_->OpenEntry(key, entry, &cb); 84 return cb.GetResult(rv); 89 TestCompletionCallback cb; local 90 int rv = cache_->CreateEntry(key, entry, &cb); 91 return cb.GetResult(rv); 95 TestCompletionCallback cb; local 101 TestCompletionCallback cb; local 108 TestCompletionCallback cb; local 114 TestCompletionCallback cb; local 121 TestCompletionCallback cb; local 142 TestCompletionCallback cb; local 149 TestCompletionCallback cb; local 158 TestCompletionCallback cb; local 166 TestCompletionCallback cb; local 174 TestCompletionCallback cb; local 256 TestCompletionCallback cb; local 283 TestCompletionCallback cb; local [all...] |
/external/openssl/crypto/dh/ |
H A D | dh_depr.c | 70 BN_GENCB cb; local 76 BN_GENCB_set_old(&cb, callback, cb_arg); 78 if(DH_generate_parameters_ex(ret, prime_len, generator, &cb))
|
/external/openssl/crypto/bn/ |
H A D | bn_depr.c | 72 BN_GENCB cb; local 76 BN_GENCB_set_old(&cb, callback, cb_arg); 84 if(!BN_generate_prime_ex(rnd, bits, safe, add, rem, &cb)) 97 BN_GENCB cb; local 98 BN_GENCB_set_old(&cb, callback, cb_arg); 99 return BN_is_prime_ex(a, checks, ctx_passed, &cb); 107 BN_GENCB cb; local 108 BN_GENCB_set_old(&cb, callback, cb_arg); 110 do_trial_division, &cb);
|
/external/chromium/net/url_request/ |
H A D | view_cache_helper_unittest.cc | 50 TestCompletionCallback cb; local 51 int rv = entry->WriteData(0, 0, buf, len, &cb, true); 52 ASSERT_EQ(len, cb.GetResult(rv)); 63 TestCompletionCallback cb; local 64 int rv = entry->WriteData(index, 0, buf, len, &cb, true); 65 ASSERT_EQ(len, cb.GetResult(rv)); 71 TestCompletionCallback cb; local 73 int rv = cache->CreateEntry(key, &entry, &cb); 74 rv = cb.GetResult(rv); 76 rv = cache->OpenEntry(key, &entry, &cb); 88 TestCompletionCallback cb; local 106 TestCompletionCallback cb; local 120 TestCompletionCallback cb; local 142 TestCompletionCallback cb; local 168 TestCompletionCallback cb; local 183 TestCompletionCallback cb; local [all...] |
/external/iptables/extensions/ |
H A D | libxt_length.c | 23 static void length_parse(struct xt_option_call *cb) argument 25 struct xt_length_info *info = cb->data; 27 xtables_option_parse(cb); 28 info->min = cb->val.u16_range[0]; 29 info->max = cb->val.u16_range[0]; 30 if (cb->nvals >= 2) 31 info->max = cb->val.u16_range[1]; 32 if (cb->invert)
|
H A D | libxt_devgroup.c | 45 static void devgroup_parse(struct xt_option_call *cb) argument 47 struct xt_devgroup_info *info = cb->data; 51 xtables_option_parse(cb); 52 switch (cb->entry->id) { 54 info->src_group = strtoul(cb->arg, &end, 0); 55 if (end != cb->arg && (*end == '/' || *end == '\0')) { 60 if (*end != '\0' || end == cb->arg) 63 cb->arg); 65 id = xtables_lmap_name2id(devgroups, cb->arg); 69 cb 154 devgroup_check(struct xt_fcheck_call *cb) argument [all...] |
H A D | libxt_AUDIT.c | 30 static void audit_parse(struct xt_option_call *cb) argument 32 struct xt_audit_info *einfo = cb->data; 34 xtables_option_parse(cb); 35 if (strcasecmp(cb->arg, "accept") == 0) 37 else if (strcasecmp(cb->arg, "drop") == 0) 39 else if (strcasecmp(cb->arg, "reject") == 0) 43 "Bad action type value \"%s\"", cb->arg);
|
H A D | libxt_tcpmss.c | 23 static void tcpmss_parse(struct xt_option_call *cb) argument 25 struct xt_tcpmss_match_info *mssinfo = cb->data; 27 xtables_option_parse(cb); 28 mssinfo->mss_min = cb->val.u16_range[0]; 30 if (cb->nvals == 2) 31 mssinfo->mss_max = cb->val.u16_range[1]; 32 if (cb->invert)
|
H A D | libxt_dscp.c | 52 static void dscp_parse(struct xt_option_call *cb) argument 54 struct xt_dscp_info *dinfo = cb->data; 56 xtables_option_parse(cb); 57 switch (cb->entry->id) { 59 if (cb->invert) 63 dinfo->dscp = class_to_dscp(cb->arg); 64 if (cb->invert) 70 static void dscp_check(struct xt_fcheck_call *cb) argument 72 if (cb->xflags == 0)
|
H A D | libipt_REJECT.c | 94 static void REJECT_parse(struct xt_option_call *cb) argument 96 struct ipt_reject_info *reject = cb->data; 99 xtables_option_parse(cb); 102 cb->arg, strlen(cb->arg)) == 0 || 104 cb->arg, strlen(cb->arg)) == 0) { 109 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 || 110 strncasecmp("echoreply", cb [all...] |
H A D | libxt_MARK.c | 83 static void MARK_parse_v0(struct xt_option_call *cb) argument 85 struct xt_mark_target_info *markinfo = cb->data; 87 xtables_option_parse(cb); 88 switch (cb->entry->id) { 90 markinfo->mark = cb->val.mark; 95 cb->entry->name); 99 static void MARK_check(struct xt_fcheck_call *cb) argument 101 if (cb->xflags == 0) 107 static void MARK_parse_v1(struct xt_option_call *cb) argument 109 struct xt_mark_target_info_v1 *markinfo = cb 126 mark_tg_parse(struct xt_option_call *cb) argument 154 mark_tg_check(struct xt_fcheck_call *cb) argument [all...] |
H A D | libxt_cluster.c | 52 static void cluster_parse(struct xt_option_call *cb) argument 54 struct xt_cluster_match_info *info = cb->data; 56 xtables_option_parse(cb); 57 switch (cb->entry->id) { 59 if (cb->invert) 61 info->node_mask = 1 << (cb->val.u32 - 1); 64 if (cb->invert) 70 static void cluster_check(struct xt_fcheck_call *cb) argument 72 const struct xt_cluster_match_info *info = cb->data; 76 if ((cb [all...] |
H A D | libxt_connmark.c | 50 static void connmark_mt_parse(struct xt_option_call *cb) argument 52 struct xt_connmark_mtinfo1 *info = cb->data; 54 xtables_option_parse(cb); 55 if (cb->invert) 57 info->mark = cb->val.mark; 58 info->mask = cb->val.mask; 61 static void connmark_parse(struct xt_option_call *cb) argument 63 struct xt_connmark_info *markinfo = cb->data; 65 xtables_option_parse(cb); 66 markinfo->mark = cb [all...] |
H A D | libxt_mark.c | 28 static void mark_mt_parse(struct xt_option_call *cb) argument 30 struct xt_mark_mtinfo1 *info = cb->data; 32 xtables_option_parse(cb); 33 if (cb->invert) 35 info->mark = cb->val.mark; 36 info->mask = cb->val.mask; 39 static void mark_parse(struct xt_option_call *cb) argument 41 struct xt_mark_info *markinfo = cb->data; 43 xtables_option_parse(cb); 44 if (cb [all...] |
/external/chromium/net/tools/crash_cache/ |
H A D | crash_cache.cc | 125 TestCompletionCallback cb; local 127 reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest(&cb); 128 cb.GetResult(rv); // Ignore the result; 134 TestCompletionCallback cb; local 138 NULL, &cache, &cb); 139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) 150 rv = cache->CreateEntry(test_name, &entry, &cb); 151 if (cb.GetResult(rv) != net::OK) 161 rv = cache->CreateEntry(test_name, &entry, &cb); 162 if (cb 174 TestCompletionCallback cb; local 217 TestCompletionCallback cb; local [all...] |
/external/bluetooth/bluez/gdbus/ |
H A D | watch.c | 256 struct filter_callback *cb = l->data; local 257 if (cb->id == id) 258 return cb; 261 struct filter_callback *cb = l->data; local 262 if (cb->id == id) 263 return cb; 293 struct filter_callback *cb = l->data; local 294 if (cb->disc_func) 295 cb->disc_func(data->connection, cb 312 struct filter_callback *cb = NULL; local 349 filter_data_remove_callback(struct filter_data *data, struct filter_callback *cb) argument 397 struct filter_callback *cb; local 455 struct filter_callback *cb; local 555 struct filter_callback *cb = data->callback; local 658 struct filter_callback *cb; local 695 struct filter_callback *cb; local 718 struct filter_callback *cb; local [all...] |
/external/openssl/crypto/pem/ |
H A D | pem_pk8.c | 72 pem_password_cb *cb, void *u); 76 pem_password_cb *cb, void *u); 86 pem_password_cb *cb, void *u) 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 93 pem_password_cb *cb, void *u) 95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 100 pem_password_cb *cb, void *u) 102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 107 pem_password_cb *cb, void *u) 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, 84 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 91 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 98 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 105 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 112 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 152 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 183 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 190 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 197 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 204 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 210 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 225 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument [all...] |