/external/chromium_org/tools/traceline/traceline/ |
H A D | assembler_unittest.cc | 12 CodeBuffer cb(buf); 17 cb.spin(); 19 cb.call(EAX); 20 cb.call(Operand(EAX)); 21 cb.call(Operand(EDX, 15)); 23 cb.fs(); cb.mov(EAX, Operand(3)); 24 cb.fs(); cb.mov(EDX, Operand(0x04)); 26 cb [all...] |
/external/qemu/include/android/ |
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...] |
/external/chromium_org/media/base/ |
H A D | callback_holder_unittest.cc | 22 CallbackHolder<base::Closure> cb; local 23 EXPECT_TRUE(cb.IsNull()); 25 cb.HoldCallback(); 28 cb.SetCallback(base::Bind(&SetBool, &closure_called)); 29 EXPECT_FALSE(cb.IsNull()); 31 cb.RunOrHold(); 34 EXPECT_FALSE(cb.IsNull()); 35 cb.RunHeldCallback(); 36 EXPECT_TRUE(cb.IsNull()); 41 CallbackHolder<base::Closure> cb; local 59 CallbackHolder<base::Closure> cb; local 72 CallbackHolder<base::Callback<void(int, int*)> > cb; local 92 CallbackHolder<base::Callback<void(int, int*)> > cb; local 112 CallbackHolder<base::Callback<void(int, int*)> > cb; local [all...] |
/external/chromium_org/third_party/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 > WEBRTC_SPL_RSHIFT_W32(( (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/qemu/android/ |
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/chromium_org/chrome/browser/resources/cryptotoken/ |
H A D | gnubbyfactory.js | 18 * @param {function(number, Array.<GnubbyDeviceId>)} cb Enumerate callback 20 GnubbyFactory.prototype.enumerate = function(cb) { 30 * @param {FactoryOpenCallback} cb Called with result of opening the gnubby. 33 GnubbyFactory.prototype.openGnubby = function(which, forEnroll, cb, logMsgUrl) { 43 * @param {FactoryOpenCallback} cb Called with the result of the prerequisite 47 function(gnubby, appIdHash, cb) {
|
H A D | usbgnubbyfactory.js | 26 * @param {FactoryOpenCallback} cb Called with result of opening the gnubby. 31 function(which, forEnroll, cb, logMsgUrl) { 35 cb(rc, gnubby); 39 cb(rc, gnubby); 46 * @param {function(number, Array.<GnubbyDeviceId>)} cb Enumerate callback 48 UsbGnubbyFactory.prototype.enumerate = function(cb) { 49 this.gnubbies_.enumerate(cb); 57 * @param {FactoryOpenCallback} cb Called with the result of the prerequisite 61 function(gnubby, appIdHash, cb) { 62 cb(DeviceStatusCode [all...] |
H A D | countdowntimer.js | 16 * @param {Function=} cb called back when the countdown expires. 20 function CountdownTimer(timeoutMillis, cb) { 22 this.setTimeout(timeoutMillis || 0, cb); 32 * @param {Function=} cb called back when the countdown expires. 35 CountdownTimer.prototype.setTimeout = function(timeoutMillis, cb) { 41 this.cb = cb; 77 * @param {Function=} cb callback for new timer. 80 CountdownTimer.prototype.clone = function(cb) { 81 return new CountdownTimer(this.remainingMillis, cb); [all...] |
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/ppapi/tests/ |
H A D | test_tcp_socket_private.cc | 62 TestCompletionCallback cb(instance_->pp_instance(), callback_type()); 64 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 65 CHECK_CALLBACK_BEHAVIOR(cb); 66 ASSERT_EQ(PP_OK, cb.result()); 80 TestCompletionCallback cb(instance_->pp_instance(), callback_type()); 82 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 83 CHECK_CALLBACK_BEHAVIOR(cb); 84 ASSERT_EQ(PP_OK, cb [all...] |
H A D | test_tcp_socket_private_trusted.cc | 43 TestCompletionCallback cb(instance_->pp_instance(), callback_type()); 45 cb.WaitForResult( 46 socket.Connect(host_.c_str(), ssl_port_, cb.GetCallback())); 47 CHECK_CALLBACK_BEHAVIOR(cb); 48 ASSERT_EQ(PP_OK, cb.result()); 50 cb.WaitForResult( 51 socket.SSLHandshake(host_.c_str(), ssl_port_, cb.GetCallback())); 52 CHECK_CALLBACK_BEHAVIOR(cb); 53 ASSERT_EQ(PP_OK, cb.result());
|
/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/chromium_org/third_party/webrtc/base/ |
H A D | callback_unittest.cc | 32 Callback0<void> cb; local 33 EXPECT_TRUE(cb.empty()); 34 cb(); // Executing an empty callback should not crash. 35 cb = Callback0<void>(&f); 36 EXPECT_FALSE(cb.empty()); 37 cb(); 41 Callback0<int> cb; local 42 EXPECT_TRUE(cb.empty()); 43 cb = Callback0<int>(&g); 44 EXPECT_FALSE(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/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/qemu/distrib/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/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...] |
/external/valgrind/main/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/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/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/llvm/tools/llvm-c-test/ |
H A D | llvm-c-test.h | 17 void tokenize_stdin(void (*cb)(char **tokens, int ntokens));
|
/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);
|