/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...] |
/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/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/apps/Phone/src/com/android/phone/ |
INetworkQueryService.aidl | 36 void startNetworkQuery(in INetworkQueryServiceCallback cb); 44 void stopNetworkQuery(in INetworkQueryServiceCallback cb);
|
/ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.iterators/ |
cbegin.pass.cpp | 21 typename S::const_iterator cb = s.cbegin(); local 24 assert(*cb == s[0]); 26 assert(cb == s.begin());
|
crbegin.pass.cpp | 21 typename S::const_reverse_iterator cb = s.crbegin(); local 24 assert(*cb == s.back()); 26 assert(cb == s.rbegin());
|
/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/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/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);
|
/frameworks/base/core/java/com/android/internal/policy/ |
IFaceLockInterface.aidl | 26 void registerCallback(IFaceLockCallback cb); 27 void unregisterCallback(IFaceLockCallback cb);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
IBordeauxService.aidl | 45 void registerCallback(IBordeauxServiceCallback cb); 50 void unregisterCallback(IBordeauxServiceCallback cb);
|
/libcore/luni/src/main/java/java/lang/ |
Readable.java | 32 * @param cb 39 int read(CharBuffer cb) throws IOException;
|
/device/generic/goldfish/opengl/system/gralloc/ |
gralloc.cpp | 90 static int map_buffer(cb_handle_t *cb, void **vaddr) 92 if (cb->fd < 0 || cb->ashmemSize <= 0) { 96 void *addr = mmap(0, cb->ashmemSize, PROT_READ | PROT_WRITE, 97 MAP_SHARED, cb->fd, 0); 102 cb->ashmemBase = intptr_t(addr); 103 cb->ashmemBasePid = getpid(); 310 cb_handle_t *cb = new cb_handle_t(fd, ashmem_size, usage, local 319 int err = map_buffer(cb, &vaddr); 322 delete cb; 376 const cb_handle_t *cb = (const cb_handle_t *)handle; local 453 cb_handle_t *cb = (cb_handle_t *)buffer; local 539 cb_handle_t *cb = (cb_handle_t *)handle; local 576 cb_handle_t *cb = (cb_handle_t *)handle; local 618 cb_handle_t *cb = (cb_handle_t *)handle; local 728 cb_handle_t *cb = (cb_handle_t *)handle; local 800 cb_handle_t *cb = (cb_handle_t *)handle; local [all...] |
/external/chromium/net/url_request/ |
view_cache_helper_unittest.cc | 50 TestCompletionCallback cb; local 51 int rv = entry->WriteData(0, 0, buf, len, &cb, true); 52 ASSERT_EQ(len, cb.GetResult(rv)); 63 TestCompletionCallback cb; local 64 int rv = entry->WriteData(index, 0, buf, len, &cb, true); 65 ASSERT_EQ(len, cb.GetResult(rv)); 71 TestCompletionCallback cb; local 73 int rv = cache->CreateEntry(key, &entry, &cb); 74 rv = cb.GetResult(rv); 76 rv = cache->OpenEntry(key, &entry, &cb); 88 TestCompletionCallback cb; local 106 TestCompletionCallback cb; local 120 TestCompletionCallback cb; local 142 TestCompletionCallback cb; local 168 TestCompletionCallback cb; local 183 TestCompletionCallback cb; local [all...] |
/external/iptables/extensions/ |
libxt_length.c | 23 static void length_parse(struct xt_option_call *cb) 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)
|
libxt_devgroup.c | 45 static void devgroup_parse(struct xt_option_call *cb) 47 struct xt_devgroup_info *info = cb->data; 51 xtables_option_parse(cb); 52 switch (cb->entry->id) { 54 info->src_group = strtoul(cb->arg, &end, 0); 55 if (end != cb->arg && (*end == '/' || *end == '\0')) { 60 if (*end != '\0' || end == cb->arg) 63 cb->arg); 65 id = xtables_lmap_name2id(devgroups, cb->arg); 69 cb->arg) [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_dequantize_sample.cpp | 194 int32 cb = 0; local 230 cb++; /* critical band counter */ 239 cb = 3; 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; 247 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; 249 cb_width = cb; 250 cb_begin = mp3_sfBandIndex[sfreq].s[cb] * 3; 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; 265 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3 [all...] |
/packages/apps/Nfc/nci/jni/ |
IntervalTimer.cpp | 32 bool IntervalTimer::set(int ms, TIMER_FUNC cb) 36 if (cb == NULL) 39 if (!create(cb)) 42 if (cb != mCb) 45 if (!create(cb)) 81 bool IntervalTimer::create(TIMER_FUNC cb) 92 se.sigev_notify_function = cb; 94 mCb = cb;
|
/external/chromium/net/tools/crash_cache/ |
crash_cache.cc | 125 TestCompletionCallback cb; local 127 reinterpret_cast<disk_cache::BackendImpl*>(cache)->FlushQueueForTest(&cb); 128 cb.GetResult(rv); // Ignore the result; 134 TestCompletionCallback cb; local 138 NULL, &cache, &cb); 139 if (cb.GetResult(rv) != net::OK || cache->GetEntryCount()) 150 rv = cache->CreateEntry(test_name, &entry, &cb); 151 if (cb.GetResult(rv) != net::OK) 161 rv = cache->CreateEntry(test_name, &entry, &cb); 162 if (cb.GetResult(rv) != net::OK 174 TestCompletionCallback cb; local 217 TestCompletionCallback cb; local [all...] |