/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/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/libvpx/libvpx/vpx_dsp/ |
H A D | skin_detection.h | 18 int vpx_skin_pixel(const int y, const int cb, const int cr, int motion);
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_constants.c | 49 const struct pipe_constant_buffer *cb) 53 struct pipe_resource *buf = cb ? cb->buffer : NULL; 56 if (cb) { 57 buffer_size = cb->buffer_size; 58 if (cb->user_buffer) { 60 (void *) cb->user_buffer, 61 cb->buffer_size, 79 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb 47 svga_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, const struct pipe_constant_buffer *cb) argument [all...] |
/external/python/cpython3/Lib/asyncio/ |
H A D | base_futures.py | 34 def _format_callbacks(cb): 36 size = len(cb) 38 cb = '' 44 cb = format_cb(cb[0]) 46 cb = '{}, {}'.format(format_cb(cb[0]), format_cb(cb[1])) 48 cb = '{}, <{} more>, {}'.format(format_cb(cb[ [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/tensorflow/tensorflow/core/util/ |
H A D | reffed_status_callback_test.cc | 36 auto* cb = new ReffedStatusCallback(std::move(done)); local 38 cb->Unref(); 50 auto* cb = new ReffedStatusCallback(std::move(done)); local 51 cb->UpdateStatus(errors::Internal("1")); 52 cb->UpdateStatus(errors::Internal("2")); // Will be ignored. 54 cb->Unref(); 66 auto* cb = new ReffedStatusCallback(std::move(done)); local 67 cb->Ref(); 68 cb->UpdateStatus(errors::Internal("1")); 69 cb 90 auto* cb = new ReffedStatusCallback(std::move(done)); local [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 | 84 print_common_flags(struct tcb *tcp, const struct iocb *cb) argument 88 if (cb->aio_flags & IOCB_FLAG_RESFD) 89 PRINT_FIELD_FD(", ", *cb, aio_resfd, tcp); 91 if (cb->aio_flags & ~IOCB_FLAG_RESFD) 92 PRINT_FIELD_X(", ", *cb, aio_flags); 97 iocb_is_valid(const struct iocb *cb) argument 99 return cb->aio_buf == (unsigned long) cb->aio_buf && 100 cb->aio_nbytes == (size_t) cb 105 print_iocb_header(struct tcb *tcp, const struct iocb *cb) argument 130 print_iocb(struct tcb *tcp, const struct iocb *cb) argument 169 struct iocb cb; local 224 struct iocb cb; 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 99 valgrind_vex_init_for_iri(IRICB *cb) argument [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/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/cn-cbor/src/ |
H A D | cn-get.c | 7 cn_cbor* cn_cbor_mapget_int(const cn_cbor* cb, int key) { argument 9 assert(cb); 10 for (cp = cb->first_child; cp && cp->next; cp = cp->next->next) { 29 cn_cbor* cn_cbor_mapget_string(const cn_cbor* cb, const char* key) { argument 32 assert(cb); 35 for (cp = cb->first_child; cp && cp->next; cp = cp->next->next) { 52 cn_cbor* cn_cbor_index(const cn_cbor* cb, unsigned int idx) { argument 55 assert(cb); 56 for (cp = cb->first_child; cp; cp = cp->next) {
|
H A D | cn-cbor.c | 23 void cn_cbor_free(cn_cbor* cb CBOR_CONTEXT) { 24 cn_cbor* p = cb; 90 cn_cbor* cb = NULL; local 122 cb = CN_CALLOC_CONTEXT(); 123 if (!cb) 126 cb->type = mt_trans[mt]; 128 cb->parent = parent; 130 parent->last_child->next = cb; 132 parent->first_child = cb; 134 parent->last_child = cb; [all...] |
H A D | cn-encoder.c | 74 static inline bool is_indefinite(const cn_cbor *cb) argument 76 return (cb->flags & CN_CBOR_FL_INDEF) != 0; 180 typedef void (*cn_visit_func)(const cn_cbor *cb, int depth, void *context); 181 static void _visit(const cn_cbor *cb, argument 186 const cn_cbor *p = cb; 223 void _encoder_visitor(const cn_cbor *cb, int depth, void *context) argument 228 switch (cb->type) { 230 if (is_indefinite(cb)) { 233 CHECK(_write_positive(ws, CN_CBOR_ARRAY, cb->length)); 237 if (is_indefinite(cb)) { 286 _encoder_breaker(const cn_cbor *cb, int depth, void *context) argument 294 cn_cbor_encoder_write(uint8_t *buf, size_t buf_offset, size_t buf_size, const cn_cbor *cb) argument [all...] |
/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/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 196 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 202 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 209 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u) argument 216 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument 223 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 238 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...] |