/external/chromium_org/cc/resources/ |
H A D | single_release_callback.h | 16 static scoped_ptr<SingleReleaseCallback> Create(const ReleaseCallback& cb) { argument 17 return make_scoped_ptr(new SingleReleaseCallback(cb));
|
H A D | single_release_callback_impl.h | 17 const ReleaseCallbackImpl& cb) { 18 return make_scoped_ptr(new SingleReleaseCallbackImpl(cb)); 16 Create( const ReleaseCallbackImpl& cb) argument
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
H A D | countdown.js | 19 * @param {Function=} cb called back when the countdown expires. 22 Countdown.prototype.setTimeout = function(timeoutMillis, cb) {}; 37 * @param {Function=} cb callback for new timer. 40 Countdown.prototype.clone = function(cb) {};
|
H A D | gnubby.js | 55 var cb = opt_cb ? opt_cb : Gnubby.defaultCallback; 57 cb(-GnubbyDevice.NODEVICE); 74 cb(rc); 88 cb(rc); 97 cb(rc); 150 * @param {Function=} cb called back when closed. 152 Gnubby.prototype.closeWhenIdle = function(cb) { 155 if (cb) cb(); 159 if (cb) thi [all...] |
/external/chromium_org/sql/test/ |
H A D | error_callback_support.cc | 17 const sql::Connection::ErrorCallback& cb) 21 db_->set_error_callback(cb); 15 ScopedErrorCallback( sql::Connection* db, const sql::Connection::ErrorCallback& cb) argument
|
/external/compiler-rt/test/msan/ |
H A D | death-callback.cc | 14 void cb(void) { function 24 __msan_set_death_callback(cb);
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
H A D | SimpleTarget.java | 18 public final void getSize(SizeReadyCallback cb) { argument 19 cb.onSizeReady(width, height);
|
/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_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 | 53 static void dscp_parse(struct xt_option_call *cb) argument 55 struct xt_dscp_info *dinfo = cb->data; 57 xtables_option_parse(cb); 58 switch (cb->entry->id) { 60 if (cb->invert) 64 dinfo->dscp = class_to_dscp(cb->arg); 65 if (cb->invert) 71 static void dscp_check(struct xt_fcheck_call *cb) argument 73 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_org/chrome/renderer/resources/extensions/ |
H A D | tag_watcher.js | 5 function watchForTag(tagName, cb) { 11 cb(node); 23 cb(addedNode); 44 function addTagWatcher(tagName, cb) { 50 watchForTag(tagName, cb);
|
/external/chromium_org/media/base/ |
H A D | bind_to_current_loop_unittest.cc | 50 base::Closure cb = BindToCurrentLoop(base::Bind( local 52 cb.Run(); 60 base::Callback<void(bool)> cb = BindToCurrentLoop(base::Bind( local 62 cb.Run(true); 71 base::Closure cb = BindToCurrentLoop(base::Bind( local 73 cb.Run(); 82 base::Callback<void(scoped_ptr<bool>)> cb = BindToCurrentLoop(base::Bind( local 84 cb.Run(scoped_ptr_bool.Pass()); 94 base::Closure cb = BindToCurrentLoop(base::Bind( local 97 cb 107 base::Callback<void(scoped_ptr<bool[]>)> cb = BindToCurrentLoop(base::Bind( local 120 base::Closure cb = BindToCurrentLoop(base::Bind( local 134 base::Callback<void(scoped_ptr<bool, base::FreeDeleter>)> cb = local 147 base::Closure cb = BindToCurrentLoop(base::Bind( local 158 base::Callback<void(int, int)> cb = BindToCurrentLoop(base::Bind( local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | EngineJob.java | 19 private ResourceCallback cb; field in class:EngineJob 30 public void addCallback(ResourceCallback cb) { argument 31 if (this.cb == null) { 32 this.cb = cb; 36 cbs.add(this.cb); 38 cbs.add(cb); 42 public void removeCallback(ResourceCallback cb) { argument 44 cbs.remove(cb); 48 } else if (this.cb [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/pem/ |
H A D | pem_pk8.c | 71 pem_password_cb *cb, void *u); 75 pem_password_cb *cb, void *u); 85 pem_password_cb *cb, void *u) 87 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 92 pem_password_cb *cb, void *u) 94 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 99 pem_password_cb *cb, void *u) 101 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 106 pem_password_cb *cb, void *u) 108 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, 83 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 90 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 97 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 104 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 111 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 151 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 184 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 191 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 198 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 205 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 211 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 226 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector1.cc | 49 void MutexInit(DDCallback *cb, DDMutex *m); 50 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock); 51 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock); 52 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock); 53 void MutexDestroy(DDCallback *cb, DDMutex *m); 55 DDReport *GetReport(DDCallback *cb); 58 void ReportDeadlock(DDCallback *cb, DDMutex *m); 92 void DD::MutexInit(DDCallback *cb, DDMutex *m) { argument 94 m->stk = cb->Unwind(); 103 void DD::MutexBeforeLock(DDCallback *cb, argument 119 ReportDeadlock(DDCallback *cb, DDMutex *m) argument 147 MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) argument 167 MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) argument 172 MutexDestroy(DDCallback *cb, DDMutex *m) argument 181 GetReport(DDCallback *cb) argument [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...] |
/external/chromium_org/base/ |
H A D | callback_helpers.h | 10 // ResetAndReturn(&cb) is like cb.Reset() but allows executing a callback (via a 24 base::Callback<Sig> ResetAndReturn(base::Callback<Sig>* cb) { argument 25 base::Callback<Sig> ret(*cb); 26 cb->Reset();
|
/external/chromium_org/net/disk_cache/ |
H A D | disk_cache_test_base.cc | 64 net::TestCompletionCallback cb; local 65 int rv = iterator_->OpenNextEntry(next_entry, cb.callback()); 66 return cb.GetResult(rv); 103 net::TestCompletionCallback cb; local 104 int rv = cache_impl_->FlushQueueForTest(cb.callback()); 105 ASSERT_EQ(net::OK, cb.GetResult(rv)); 133 net::TestCompletionCallback cb; local 134 int rv = cache_->OpenEntry(key, entry, cb.callback()); 135 return cb.GetResult(rv); 140 net::TestCompletionCallback cb; local 146 net::TestCompletionCallback cb; local 152 net::TestCompletionCallback cb; local 159 net::TestCompletionCallback cb; local 165 net::TestCompletionCallback cb; local 190 net::TestCompletionCallback cb; local 197 net::TestCompletionCallback cb; local 205 net::TestCompletionCallback cb; local 213 net::TestCompletionCallback cb; local 221 net::TestCompletionCallback cb; local 304 net::TestCompletionCallback cb; local 333 net::TestCompletionCallback cb; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowRemoteCallbackList.java | 50 Callback cb = new Callback(callback, cookie); 51 binder.linkToDeath(cb, 0); 52 callbacks.put(binder, cb); 63 Callback cb = callbacks.remove(callback.asBinder()); 64 if (cb != null) { 65 cb.callback.asBinder().unlinkToDeath(cb, 0); 75 for (Callback cb : callbacks.values()) { 76 cb.callback.asBinder().unlinkToDeath(cb, [all...] |