/external/chromium_org/tools/traceline/traceline/ |
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.lea(EAX, Operand(EAX)) [all...] |
/external/qemu/ |
cbuffer.h | 27 cbuffer_reset( CBuffer* cb, void* buff, int size ) 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_t* *pbase ) [all...] |
cbuffer.c | 29 cbuffer_assert( CBuffer* cb, const char* file, long lineno ) 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->size) [all...] |
/external/chromium_org/media/base/ |
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...] |
pipeline_status.cc | 13 const PipelineStatusCB& cb, 16 cb.Run(status); 20 const PipelineStatusCB& cb) { 21 return base::Bind(&ReportAndRun, name, cb);
|
/system/core/libnl_2/ |
handlers.c | 26 struct nl_cb *cb; local 28 cb = (struct nl_cb *) malloc(sizeof(struct nl_cb)); 29 if (cb == NULL) 31 memset(cb, 0, sizeof(*cb)); 33 return nl_cb_get(cb); 57 int nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, \ 60 cb->cb_set[type] = func; 61 cb->cb_args[type] = arg; 68 int nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
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->user_buffer) [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
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->user_buffer) [all...] |
/external/chromium_org/ppapi/tests/ |
test_tcp_socket_private.cc | 59 TestCompletionCallback cb(instance_->pp_instance(), callback_type()); 61 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 62 CHECK_CALLBACK_BEHAVIOR(cb); 63 ASSERT_EQ(PP_OK, cb.result()); 77 TestCompletionCallback cb(instance_->pp_instance(), callback_type()); 79 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 80 CHECK_CALLBACK_BEHAVIOR(cb); 81 ASSERT_EQ(PP_OK, cb.result()) [all...] |
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/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ChoiceCallbackTest.java | 34 ChoiceCallback cb; field in class:ChoiceCallbackTest 48 cb = new ChoiceCallback(prompt, choices, defaultChoice, true); 49 assertEquals(this.prompt, cb.getPrompt()); 50 assertEquals(this.choices, cb.getChoices()); 51 assertEquals(this.defaultChoice, cb.getDefaultChoice()); 52 assertTrue(cb.allowMultipleSelections()); 59 cb = new ChoiceCallback(prompt, choices, defaultChoice, false); 61 cb.setSelectedIndexes(index); 65 cb.setSelectedIndex(1); 66 assertEquals(1, cb.getSelectedIndexes()[0]) [all...] |
/external/clang/test/CXX/over/over.built/ |
p25.cpp | 14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { 15 return cond? ca : cb;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
IRemoteService.aidl | 31 void registerCallback(IRemoteServiceCallback cb); 36 void unregisterCallback(IRemoteServiceCallback cb);
|
/packages/services/Telephony/src/com/android/phone/ |
INetworkQueryService.aidl | 36 void startNetworkQuery(in INetworkQueryServiceCallback cb); 44 void stopNetworkQuery(in INetworkQueryServiceCallback cb);
|
/external/chromium_org/base/ |
callback_helpers.h | 10 // ResetAndReturn(&cb) is like cb.Reset() but allows executing a callback (via a 22 base::Callback<Sig> ResetAndReturn(base::Callback<Sig>* cb) { 23 base::Callback<Sig> ret(*cb); 24 cb->Reset();
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
ChannelBindingTest.java | 35 ChannelBinding cb = new ChannelBinding(data); local 37 cb.getApplicationData())); 44 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 46 cb.getApplicationData())); 50 ChannelBinding cb = new ChannelBinding(null); local 51 assertNull(cb.getApplicationData()); 56 ChannelBinding cb = new ChannelBinding(addr, null, null); local 58 cb.getInitiatorAddress()); 65 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 67 cb.getInitiatorAddress()) 71 ChannelBinding cb = new ChannelBinding(null); local 77 ChannelBinding cb = new ChannelBinding(null, addr, null); local 85 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 90 ChannelBinding cb = new ChannelBinding(null); local 95 ChannelBinding cb = new ChannelBinding(null); local 101 ChannelBinding cb = new ChannelBinding(new byte [] { 0, 10, 20, 40, 50 }); local 110 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 122 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 132 ChannelBinding cb = new ChannelBinding(data); local 141 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 152 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 162 ChannelBinding cb = new ChannelBinding(data); local 169 ChannelBinding cb = new ChannelBinding(null); local 176 ChannelBinding cb = new ChannelBinding(data); local 183 ChannelBinding cb = new ChannelBinding(data); local 192 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 201 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 211 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 222 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 233 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 244 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 255 ChannelBinding cb = new ChannelBinding(addr1, addr2, data); local 261 ChannelBinding cb = new ChannelBinding(null, addr, data); local 266 ChannelBinding cb = new ChannelBinding(null, null, data); local 272 ChannelBinding cb = new ChannelBinding(null, null, data); local [all...] |
/external/libselinux/src/ |
callbacks.c | 75 selinux_set_callback(int type, union selinux_callback cb) 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.func_validate = selinux_validate [all...] |
/external/iptables/iptables/ |
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) 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->arg, NULL, &value, lmin, lmax) 890 struct xt_option_call cb; local 925 struct xt_option_call cb; local 1026 struct xt_fcheck_call cb; local 1046 struct xt_fcheck_call cb; local [all...] |
/external/chromium/net/disk_cache/ |
disk_cache_test_base.cc | 54 TestCompletionCallback cb; local 55 int rv = cache_impl_->FlushQueueForTest(&cb); 56 ASSERT_EQ(net::OK, cb.GetResult(rv)); 82 TestCompletionCallback cb; local 83 int rv = cache_->OpenEntry(key, entry, &cb); 84 return cb.GetResult(rv); 89 TestCompletionCallback cb; local 90 int rv = cache_->CreateEntry(key, entry, &cb); 91 return cb.GetResult(rv); 95 TestCompletionCallback cb; local 101 TestCompletionCallback cb; local 108 TestCompletionCallback cb; local 114 TestCompletionCallback cb; local 121 TestCompletionCallback cb; local 142 TestCompletionCallback cb; local 149 TestCompletionCallback cb; local 158 TestCompletionCallback cb; local 166 TestCompletionCallback cb; local 174 TestCompletionCallback cb; local 256 TestCompletionCallback cb; local 283 TestCompletionCallback cb; local [all...] |
/external/chromium_org/net/disk_cache/ |
disk_cache_test_base.cc | 86 net::TestCompletionCallback cb; local 87 int rv = cache_impl_->FlushQueueForTest(cb.callback()); 88 ASSERT_EQ(net::OK, cb.GetResult(rv)); 116 net::TestCompletionCallback cb; local 117 int rv = cache_->OpenEntry(key, entry, cb.callback()); 118 return cb.GetResult(rv); 123 net::TestCompletionCallback cb; local 124 int rv = cache_->CreateEntry(key, entry, cb.callback()); 125 return cb.GetResult(rv); 129 net::TestCompletionCallback cb; local 135 net::TestCompletionCallback cb; local 142 net::TestCompletionCallback cb; local 148 net::TestCompletionCallback cb; local 155 net::TestCompletionCallback cb; local 175 net::TestCompletionCallback cb; local 182 net::TestCompletionCallback cb; local 190 net::TestCompletionCallback cb; local 198 net::TestCompletionCallback cb; local 206 net::TestCompletionCallback cb; local 275 net::TestCompletionCallback cb; local 304 net::TestCompletionCallback cb; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
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/openssl/crypto/dh/ |
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))
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.iterators/ |
cbegin.pass.cpp | 23 typename S::const_iterator cb = s.cbegin(); local 26 assert(*cb == s[0]); 28 assert(cb == s.begin());
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
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);
|
/external/openssl/crypto/bn/ |
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);
|