/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...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Charsets.java | 53 CharBuffer cb = CharBuffer.allocate(length); local 54 cb.put(chars, offset, length); 55 return US_ASCII.encode(cb).array(); 63 CharBuffer cb = CharBuffer.allocate(length); local 64 cb.put(chars, offset, length); 65 return ISO_8859_1.encode(cb).array(); 73 CharBuffer cb = CharBuffer.allocate(length); local 74 cb.put(chars, offset, length); 75 return UTF_8.encode(cb).array();
|
/bionic/libc/netbsd/net/ |
nsdispatch.c | 118 nss_method cb; local 137 cb = _nsmethod(srclist[i].name, database, method, 140 if (cb != NULL) { 142 result = (*cb)(retval, cb_data, ap);
|
/external/chromium_org/media/audio/ |
virtual_audio_output_stream.cc | 58 const AfterCloseCallback cb = after_close_cb_; local 60 cb.Run(this);
|
/external/chromium_org/ppapi/tests/ |
test_printing.cc | 49 pp::CompletionCallbackWithOutput<PP_PrintSettings_Dev> cb = local 51 test_printing.GetDefaultPrintSettings(cb);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
InsertLineBreakCommand.cpp | 61 Element* cb = pos.deprecatedNode()->enclosingBlockFlowElement(); local 62 if (cb == pos.deprecatedNode()) 63 appendNode(node, cb); 73 Element* cb = pos.deprecatedNode()->enclosingBlockFlowElement(); local 74 if (cb == pos.deprecatedNode()) 75 appendNode(node, cb);
|
/external/chromium_org/third_party/libusb/src/libusb/ |
hotplug.h | 54 libusb_hotplug_callback_fn cb; member in struct:libusb_hotplug_callback
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_constbuf.c | 65 struct pipe_constant_buffer cb; local 80 cb.buffer = NULL; 81 cb.user_buffer = NULL; 83 params->ParameterValues, &cb.buffer_offset, &cb.buffer); 86 cb.buffer = NULL; 87 cb.user_buffer = params->ParameterValues; 88 cb.buffer_offset = 0; 90 cb.buffer_size = paramBytes; 99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsagen.c | 80 int cb(int p, int n) function 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
|
/external/clang/test/Misc/ |
diagnostic-crash.cpp | 38 Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot initialize}} local
|
/external/elfutils/libdwfl/ |
dwfl_build_id_find_elf.c | 85 const Dwfl_Callbacks *const cb = mod->dwfl->callbacks; local 89 char *path = strdup ((cb->debuginfo_path ? *cb->debuginfo_path : NULL) 92 char *path = strdupa ((cb->debuginfo_path ? *cb->debuginfo_path : NULL)
|
/external/elfutils/tests/ |
allfcts.c | 36 cb (Dwarf_Die *func, void *arg __attribute__ ((unused))) function 68 (void) dwarf_getfuncs (die, cb, NULL, 0);
|
/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/mesa3d/src/mesa/state_tracker/ |
st_atom_constbuf.c | 65 struct pipe_constant_buffer cb; local 80 cb.buffer = NULL; 81 cb.user_buffer = NULL; 83 params->ParameterValues, &cb.buffer_offset, &cb.buffer); 86 cb.buffer = NULL; 87 cb.user_buffer = params->ParameterValues; 88 cb.buffer_offset = 0; 90 cb.buffer_size = paramBytes; 99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); [all...] |
/external/openfst/src/include/fst/ |
icu.h | 54 char cb = data[i++]; local 55 if ((cb & 0xc0) != 0x80) { 59 code = (code << 6) | (cb & 0x3f);
|
/external/openssl/crypto/dsa/ |
dsagen.c | 80 int cb(int p, int n) function 106 dsa=DSA_generate_parameters(1024,seed,20,&counter,&h,cb,bio_err);
|
/system/core/libnl_2/ |
socket.c | 38 struct nl_cb *cb; local 72 struct nl_cb *cb; local 77 cb = nl_cb_alloc(NL_CB_DEFAULT); 78 if (!cb) 80 sk->s_cb = cb; 88 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) 95 sk->s_cb = cb; 96 nl_cb_get(cb); 131 void nl_socket_set_cb(struct nl_sock *sk, struct nl_cb *cb) 134 sk->s_cb = cb; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
AdapterHelper.java | 106 Checkable cb = (Checkable) view; local 113 resolvedRef, ViewAttribute.IS_CHECKED, cb.isChecked()); 120 cb.setChecked((Boolean) value);
|
/packages/services/Telephony/src/com/android/phone/ |
NetworkQueryService.java | 110 public void startNetworkQuery(INetworkQueryServiceCallback cb) { 111 if (cb != null) { 114 mCallbacks.register(cb); 115 if (DBG) log("registering callback " + cb.getClass().toString()); 141 public void stopNetworkQuery(INetworkQueryServiceCallback cb) { 148 if (cb != null) { 150 if (DBG) log("unregistering callback " + cb.getClass().toString()); 151 mCallbacks.unregister(cb); 204 INetworkQueryServiceCallback cb = mCallbacks.getBroadcastItem(i); local 205 if (DBG) log("broadcasting results to " + cb.getClass().toString()) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form11n.java | 83 CstLiteralBits cb = (CstLiteralBits) cst; local 85 return cb.fitsInInt() && signedFitsInNibble(cb.getIntBits());
|
Form21s.java | 82 CstLiteralBits cb = (CstLiteralBits) cst; local 84 return cb.fitsInInt() && signedFitsInShort(cb.getIntBits());
|
Form22b.java | 84 CstLiteralBits cb = (CstLiteralBits) cst; local 86 return cb.fitsInInt() && signedFitsInByte(cb.getIntBits());
|
Form22s.java | 84 CstLiteralBits cb = (CstLiteralBits) cst; local 86 return cb.fitsInInt() && signedFitsInShort(cb.getIntBits());
|
/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/chromium_org/media/base/ |
bind_to_loop_unittest.cc | 52 base::Closure cb = BindToLoop(proxy_, base::Bind( local 54 cb.Run(); 62 base::Callback<void(bool)> cb = BindToLoop(proxy_, base::Bind( local 64 cb.Run(true); 73 base::Closure cb = BindToLoop(proxy_, base::Bind( local 75 cb.Run(); 84 base::Callback<void(scoped_ptr<bool>)> cb = BindToLoop(proxy_, base::Bind( local 86 cb.Run(scoped_ptr_bool.Pass()); 96 base::Closure cb = BindToLoop(proxy_, base::Bind( local 99 cb.Run() 109 base::Callback<void(scoped_ptr<bool[]>)> cb = BindToLoop(proxy_, base::Bind( local 122 base::Closure cb = BindToLoop(proxy_, base::Bind( local 136 base::Callback<void(scoped_ptr_malloc<bool>)> cb = BindToLoop( local 148 base::Closure cb = BindToLoop(proxy_, base::Bind( local 159 base::Callback<void(int, int)> cb = BindToLoop(proxy_, base::Bind( local [all...] |