/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_constants.c | 49 struct pipe_constant_buffer *cb) 52 struct pipe_resource *buf = cb ? cb->buffer : NULL; 54 if (cb && cb->user_buffer) { 56 (void *) cb->user_buffer, 57 cb->buffer_size, 64 pipe_resource_reference( &svga->curr.cb[shader], 72 if (cb && cb 47 svga_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, struct pipe_constant_buffer *cb) argument [all...] |
/external/clang/test/CXX/over/over.built/ |
H A D | p25.cpp | 14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument 15 return cond? ca : cb;
|
/external/iptables/libxtables/ |
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 670 xtopt_parse_mask(struct xt_option_call *cb) argument 701 xtopt_parse_plen(struct xt_option_call *cb) argument 726 xtopt_parse_plenmask(struct xt_option_call *cb) argument 757 xtopt_parse_hostmask(struct xt_option_call *cb) argument 784 xtopt_parse_ethermac(struct xt_option_call *cb) argument 837 xtables_option_parse(struct xt_option_call *cb) argument 934 struct xt_option_call cb; local 970 struct xt_option_call cb; local 1072 struct xt_fcheck_call cb; local 1093 struct xt_fcheck_call cb; local [all...] |
/external/libselinux/src/ |
H A D | callbacks.c | 75 selinux_set_callback(int type, union selinux_callback cb) argument 79 selinux_log = cb.func_log; 82 selinux_audit = cb.func_audit; 85 selinux_validate = cb.func_validate; 88 selinux_netlink_setenforce = cb.func_setenforce; 91 selinux_netlink_policyload = cb.func_policyload; 100 union selinux_callback cb; local 104 cb.func_log = selinux_log; 107 cb.func_audit = selinux_audit; 110 cb [all...] |
/external/selinux/libselinux/src/ |
H A D | callbacks.c | 76 selinux_set_callback(int type, union selinux_callback cb) argument 80 selinux_log = cb.func_log; 83 selinux_audit = cb.func_audit; 86 selinux_validate = cb.func_validate; 89 selinux_netlink_setenforce = cb.func_setenforce; 92 selinux_netlink_policyload = cb.func_policyload; 101 union selinux_callback cb; local 105 cb.func_log = selinux_log; 108 cb.func_audit = selinux_audit; 111 cb [all...] |
/external/libnl/lib/ |
H A D | handlers.c | 14 * @defgroup cb Callbacks/Customization 20 * struct nl_cb *cb = nl_cb_alloc(NL_CB_VERBOSE); 23 * nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, my_func, NULL); 28 * nl_cb_err(cb, NL_CB_VERBOSE, NULL, file); 208 struct nl_cb *cb; local 213 cb = calloc(1, sizeof(*cb)); 214 if (!cb) 217 cb->cb_refcnt = 1; 220 nl_cb_set(cb, 235 struct nl_cb *cb; local 247 nl_cb_get(struct nl_cb *cb) argument 254 nl_cb_put(struct nl_cb *cb) argument 285 nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func, void *arg) argument 314 nl_cb_set_all(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func, void *arg) argument 335 nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void *arg) argument 364 nl_cb_overwrite_recvmsgs(struct nl_cb *cb, int (*func)(struct nl_sock *, struct nl_cb *)) argument 375 nl_cb_overwrite_recv(struct nl_cb *cb, int (*func)(struct nl_sock *, struct sockaddr_nl *, unsigned char **, struct ucred **)) argument 387 nl_cb_overwrite_send(struct nl_cb *cb, int (*func)(struct nl_sock *, struct nl_msg *)) argument [all...] |
H A D | nl.c | 207 struct nl_cb *cb; local 212 cb = sk->s_cb; 213 if (cb->cb_set[NL_CB_MSG_OUT]) 214 if (nl_cb_call(cb, NL_CB_MSG_OUT, msg) != NL_OK) 325 struct nl_cb *cb = sk->s_cb; local 329 if (cb->cb_send_ow) 330 return cb->cb_send_ow(sk, msg); 490 #define NL_CB_CALL(cb, type, msg) \ 492 err = nl_cb_call(cb, type, msg); \ 506 static int recvmsgs(struct nl_sock *sk, struct nl_cb *cb) argument 701 nl_recvmsgs(struct nl_sock *sk, struct nl_cb *cb) argument 737 struct nl_cb *cb; local [all...] |
/external/valgrind/memcheck/tests/vbit-test/ |
H A D | valgrind.c | 12 IRICB cb; local 14 cb.op = op->op; 15 cb.result = (HWord)&data->result.value; 16 cb.opnd1 = (HWord)&data->opnds[0].value; 17 cb.opnd2 = (HWord)&data->opnds[1].value; 18 cb.opnd3 = (HWord)&data->opnds[2].value; 19 cb.opnd4 = (HWord)&data->opnds[3].value; 20 cb.t_result = data->result.type; 21 cb.t_opnd1 = data->opnds[0].type; 22 cb 74 valgrind_vex_init_for_iri(IRICB *cb) argument [all...] |
/external/libcxx/test/std/strings/basic.string/string.iterators/ |
H A D | cbegin.pass.cpp | 23 typename S::const_iterator cb = s.cbegin(); local 26 assert(*cb == s[0]); 28 assert(cb == s.begin());
|
H A D | crbegin.pass.cpp | 23 typename S::const_reverse_iterator cb = s.crbegin(); local 26 assert(*cb == s.back()); 28 assert(cb == s.rbegin());
|
/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 | 58 * @param cb {@inheritDoc} 61 public final void getSize(SizeReadyCallback cb) { argument 66 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_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...] |
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...] |
/external/boringssl/src/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 185 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 192 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 199 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 206 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 212 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 227 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) override; 50 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override; 51 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 53 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override; 54 void MutexDestroy(DDCallback *cb, DDMutex *m) override; 56 DDReport *GetReport(DDCallback *cb) override; 59 void ReportDeadlock(DDCallback *cb, DDMutex *m); 93 void DD::MutexInit(DDCallback *cb, DDMutex *m) { argument 95 m->stk = cb->Unwind(); 104 void DD::MutexBeforeLock(DDCallback *cb, argument 120 ReportDeadlock(DDCallback *cb, DDMutex *m) argument 148 MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) argument 168 MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) argument 173 MutexDestroy(DDCallback *cb, DDMutex *m) argument 182 GetReport(DDCallback *cb) argument [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...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
H A D | EngineJob.java | 75 public void addCallback(ResourceCallback cb) { argument 78 cb.onResourceReady(engineResource); 80 cb.onException(exception); 82 cbs.add(cb); 86 public void removeCallback(ResourceCallback cb) { argument 89 addIgnoredCallback(cb); 91 cbs.remove(cb); 103 private void addIgnoredCallback(ResourceCallback cb) { argument 107 ignoredCallbacks.add(cb); 110 private boolean isInIgnoredCallbacks(ResourceCallback cb) { argument [all...] |