/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | sort_sq.c | 29 const int16_t *cb, /* (i) the quantization codebook */ 34 if (x <= cb[0]) { 36 *xq = cb[0]; 39 while ((x > cb[i]) && (i < (cb_size-1))) { 43 if (x > (((int32_t)cb[i] + cb[i - 1] + 1) >> 1)) { 45 *xq = cb[i]; 48 *xq = cb[i - 1]; 25 WebRtcIlbcfix_SortSq( int16_t *xq, int16_t *index, int16_t x, const int16_t *cb, int16_t cb_size ) argument
|
H A D | sort_sq.h | 32 const int16_t *cb, /* (i) the quantization codebook */
|
/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/protobuf/js/ |
H A D | gulpfile.js | 5 function exec(command, cb) { 6 execFile('sh', ['-c', command], cb); 11 gulp.task('genproto_closure', function (cb) { 16 cb(err); 20 gulp.task('genproto_commonjs', function (cb) { 25 cb(err); 29 gulp.task('dist', function (cb) { 36 cb(err); 40 gulp.task('commonjs_asserts', function (cb) { 45 cb(er [all...] |
/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/selinux/libselinux/src/ |
H A D | callbacks.c | 80 selinux_set_callback(int type, union selinux_callback cb) argument 84 selinux_log = cb.func_log; 87 selinux_audit = cb.func_audit; 90 selinux_validate = cb.func_validate; 93 selinux_netlink_setenforce = cb.func_setenforce; 96 selinux_netlink_policyload = cb.func_policyload; 105 union selinux_callback cb; local 109 cb.func_log = selinux_log; 112 cb.func_audit = selinux_audit; 115 cb [all...] |
/external/libnl/lib/ |
H A D | handlers.c | 14 * @defgroup cb Callbacks/Customization 204 struct nl_cb *cb; local 209 cb = calloc(1, sizeof(*cb)); 210 if (!cb) 213 cb->cb_refcnt = 1; 214 cb->cb_active = NL_CB_TYPE_MAX + 1; 217 nl_cb_set(cb, i, kind, NULL, NULL); 219 nl_cb_err(cb, kind, NULL, NULL); 221 return cb; 232 struct nl_cb *cb; local 244 nl_cb_get(struct nl_cb *cb) argument 251 nl_cb_put(struct nl_cb *cb) argument 271 nl_cb_active_type(struct nl_cb *cb) argument 293 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 322 nl_cb_set_all(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func, void *arg) argument 343 nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void *arg) argument 372 nl_cb_overwrite_recvmsgs(struct nl_cb *cb, int (*func)(struct nl_sock *, struct nl_cb *)) argument 383 nl_cb_overwrite_recv(struct nl_cb *cb, int (*func)(struct nl_sock *, struct sockaddr_nl *, unsigned char **, struct ucred **)) argument 395 nl_cb_overwrite_send(struct nl_cb *cb, int (*func)(struct nl_sock *, struct nl_msg *)) argument [all...] |
/external/strace/ |
H A D | aio.c | 81 print_common_flags(struct tcb *tcp, const struct iocb *cb) argument 85 if (cb->aio_flags & IOCB_FLAG_RESFD) { 87 printfd(tcp, cb->aio_resfd); 89 if (cb->aio_flags & ~IOCB_FLAG_RESFD) 90 tprintf(", flags=%#x", cb->aio_flags); 95 iocb_is_valid(const struct iocb *cb) argument 97 return cb->aio_buf == (unsigned long) cb->aio_buf && 98 cb->aio_nbytes == (size_t) cb 103 print_iocb_header(struct tcb *tcp, const struct iocb *cb) argument 125 print_iocb(struct tcb *tcp, const struct iocb *cb) argument 165 struct iocb cb; local 219 struct iocb cb; local [all...] |
/external/webrtc/webrtc/base/ |
H A D | callback_unittest.cc | 49 Callback0<void> cb; local 50 EXPECT_TRUE(cb.empty()); 51 cb(); // Executing an empty callback should not crash. 52 cb = Callback0<void>(&f); 53 EXPECT_FALSE(cb.empty()); 54 cb(); 58 Callback0<int> cb; local 59 EXPECT_TRUE(cb.empty()); 60 cb = Callback0<int>(&g); 61 EXPECT_FALSE(cb 102 Callback0<void> cb = KeepRefUntilDone(&t); local 117 Callback0<void> cb = KeepRefUntilDone(&t); local 131 Callback0<void> cb = KeepRefUntilDone(t_scoped_ref); local [all...] |
/external/valgrind/memcheck/tests/vbit-test/ |
H A D | valgrind.c | 36 IRICB cb; local 38 cb.op = op->op; 39 cb.result = (HWord)&data->result.value; 40 cb.opnd1 = (HWord)&data->opnds[0].value; 41 cb.opnd2 = (HWord)&data->opnds[1].value; 42 cb.opnd3 = (HWord)&data->opnds[2].value; 43 cb.opnd4 = (HWord)&data->opnds[3].value; 44 cb.t_result = data->result.type; 45 cb.t_opnd1 = data->opnds[0].type; 46 cb 98 valgrind_vex_init_for_iri(IRICB *cb) argument [all...] |
/external/autotest/client/tests/aio_dio_bugs/src/ |
H A D | aio-dio-subblock-eof-read.c | 42 struct iocb *cb = &myiocb; local 65 cb->data = 0; 66 cb->key = 0; 67 cb->aio_lio_opcode = IO_CMD_PREAD; 68 cb->aio_reqprio = 0; 69 cb->aio_fildes = fd; 70 cb->u.c.buf = buffer; 71 cb->u.c.nbytes = 4096; 72 cb->u.c.offset = 0; 78 ret = io_submit(ioctx, 1, &cb); [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/syslinux/gpxe/src/drivers/block/ |
H A D | ata.c | 53 command->cb.cmd_stat, command->cb.device, 54 ( command->cb.lba48 ? "48" : "" ), 55 ( unsigned long long ) command->cb.lba.native, 56 command->cb.count.native ); 95 command.cb.lba.native = block; 96 command.cb.count.native = count; 97 command.cb.device = ( ata->device | ATA_DEV_OBSOLETE | ATA_DEV_LBA ); 98 command.cb.lba48 = ata->lba48; 100 command.cb [all...] |
/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/libevent/include/event2/ |
H A D | event_compat.h | 176 #define evtimer_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 177 #define evsignal_set(ev, x, cb, arg) \ 178 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) 189 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 203 #define signal_set(ev, x, cb, arg) \ 204 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
|
/external/boringssl/src/crypto/pem/ |
H A D | pem_pk8.c | 70 char *kstr, int klen, pem_password_cb *cb, void *u); 73 char *kstr, int klen, pem_password_cb *cb, void *u); 84 pem_password_cb *cb, void *u) 86 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 91 pem_password_cb *cb, void *u) 93 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u); 98 pem_password_cb *cb, void *u) 100 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u); 105 pem_password_cb *cb, void *u) 107 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, 82 PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 89 PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 96 i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 103 i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 110 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 156 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument 195 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 201 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 208 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 215 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 222 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 237 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 153 MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, bool trylock) argument 173 MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) argument 178 MutexDestroy(DDCallback *cb, DDMutex *m) argument 187 GetReport(DDCallback *cb) argument [all...] |
/external/iptables/extensions/ |
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_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...] |
/external/libchrome/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/robolectric/v1/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...] |