/libcore/ojluni/src/main/java/java/io/ |
BufferedReader.java | 75 private char cb[]; field in class:BufferedReader 106 cb = new char[sz]; 143 if (readAheadLimit <= cb.length) { 145 System.arraycopy(cb, markedChar, cb, 0, delta); 156 int nlength = cb.length * 2; 161 System.arraycopy(cb, markedChar, ncb, 0, delta); 162 cb = ncb; 172 n = in.read(cb, dst, cb.length - dst) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/ |
introspect.h | 242 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata); 245 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t idx, pa_sink_info_cb_t cb, void *userdata); 248 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata); 251 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 254 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 257 pa_operation* pa_context_set_sink_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata); 260 pa_operation* pa_context_set_sink_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata); 263 pa_operation* pa_context_suspend_sink_by_name(pa_context *c, const char *sink_name, int suspend, pa_context_success_cb_t cb, void* userdata); 266 pa_operation* pa_context_suspend_sink_by_index(pa_context *c, uint32_t idx, int suspend, pa_context_success_cb_t cb, void* userdata); 269 pa_operation* pa_context_set_sink_port_by_index(pa_context *c, uint32_t idx, const char*port, pa_context_success_cb_t cb, void *userdata) [all...] |
context.h | 188 void pa_context_set_state_callback(pa_context *c, pa_context_notify_cb_t cb, void *userdata); 192 void pa_context_set_event_callback(pa_context *p, pa_context_event_cb_t cb, void *userdata); 217 pa_operation* pa_context_drain(pa_context *c, pa_context_notify_cb_t cb, void *userdata); 222 pa_operation* pa_context_exit_daemon(pa_context *c, pa_context_success_cb_t cb, void *userdata); 225 pa_operation* pa_context_set_default_sink(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 228 pa_operation* pa_context_set_default_source(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 234 pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 250 pa_operation *pa_context_proplist_update(pa_context *c, pa_update_mode_t mode, pa_proplist *p, pa_context_success_cb_t cb, void *userdata); 253 pa_operation *pa_context_proplist_remove(pa_context *c, const char *const keys[], pa_context_success_cb_t cb, void *userdata); 262 pa_time_event* pa_context_rttime_new(pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata) [all...] |
stream.h | 551 pa_operation* pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *userdata); 557 pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata); 560 void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata); 564 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 568 void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 571 void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 580 void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 587 void pa_stream_set_started_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 592 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 599 void pa_stream_set_moved_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata) [all...] |
/external/iptables/extensions/ |
libipt_realm.c | 42 static void realm_parse(struct xt_option_call *cb) 44 struct xt_realm_info *realminfo = cb->data; 48 xtables_option_parse(cb); 49 realminfo->id = strtoul(cb->arg, &end, 0); 50 if (end != cb->arg && (*end == '/' || *end == '\0')) { 55 if (*end != '\0' || end == cb->arg) 57 "Bad realm value \"%s\"", cb->arg); 59 id = xtables_lmap_name2id(realms, cb->arg); 62 "Realm \"%s\" not found", cb->arg); 66 if (cb->invert [all...] |
libxt_ecn.c | 40 static void ecn_parse(struct xt_option_call *cb) 42 struct xt_ecn_info *einfo = cb->data; 44 xtables_option_parse(cb); 45 switch (cb->entry->id) { 48 if (cb->invert) 53 if (cb->invert) 57 if (cb->invert) 60 einfo->ip_ect = cb->val.u8; 65 static void ecn_check(struct xt_fcheck_call *cb) 67 if (cb->xflags == 0 [all...] |
libxt_ipvs.c | 66 static void ipvs_mt_parse(struct xt_option_call *cb) 68 struct xt_ipvs_mtinfo *data = cb->data; 70 xtables_option_parse(cb); 71 switch (cb->entry->id) { 73 data->l4proto = cb->val.protocol; 76 memcpy(&data->vaddr, &cb->val.haddr, sizeof(cb->val.haddr)); 77 memcpy(&data->vmask, &cb->val.hmask, sizeof(cb->val.hmask)); 80 if (strcasecmp(cb->arg, "ORIGINAL") == 0) [all...] |
libxt_DSCP.c | 53 static void DSCP_parse(struct xt_option_call *cb) 55 struct xt_DSCP_info *dinfo = cb->data; 57 xtables_option_parse(cb); 58 switch (cb->entry->id) { 60 dinfo->dscp = class_to_dscp(cb->arg); 65 static void DSCP_check(struct xt_fcheck_call *cb) 67 if (cb->xflags == 0)
|
libxt_physdev.c | 40 static void physdev_parse(struct xt_option_call *cb) 42 struct xt_physdev_info *info = cb->data; 44 xtables_option_parse(cb); 45 switch (cb->entry->id) { 47 xtables_parse_interface(cb->arg, info->physindev, 49 if (cb->invert) 54 xtables_parse_interface(cb->arg, info->physoutdev, 56 if (cb->invert) 62 if (cb->invert) 67 if (cb->invert [all...] |
libxt_statistic.c | 50 static void statistic_parse(struct xt_option_call *cb) 52 struct xt_statistic_info *info = cb->data; 54 if (cb->invert) 57 xtables_option_parse(cb); 58 switch (cb->entry->id) { 60 if (strcmp(cb->arg, "random") == 0) 62 else if (strcmp(cb->arg, "nth") == 0) 66 cb->arg); 69 info->u.random.probability = lround(0x80000000 * cb->val.dbl); 77 static void statistic_check(struct xt_fcheck_call *cb) [all...] |
libxt_CLASSIFY.c | 39 static void CLASSIFY_parse(struct xt_option_call *cb) 41 struct xt_classify_target_info *clinfo = cb->data; 43 xtables_option_parse(cb); 44 if (CLASSIFY_string_to_priority(cb->arg, &clinfo->priority)) 46 "Bad class value \"%s\"", cb->arg);
|
libxt_quota.c | 44 static void quota_parse(struct xt_option_call *cb) 46 struct xt_quota_info *info = cb->data; 48 xtables_option_parse(cb); 49 if (cb->invert) 51 info->quota = cb->val.u64;
|
/frameworks/base/core/java/android/os/ |
RemoteCallbackList.java | 113 Callback cb = new Callback(callback, cookie); local 114 binder.linkToDeath(cb, 0); 115 mCallbacks.put(binder, cb); 142 Callback cb = mCallbacks.remove(callback.asBinder()); local 143 if (cb != null) { 144 cb.mCallback.asBinder().unlinkToDeath(cb, 0); 162 Callback cb = mCallbacks.valueAt(cbi); local 163 cb.mCallback.asBinder().unlinkToDeath(cb, 0) [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu_nl80211.c | 81 dhd_nli->cb = nl_cb_alloc(NL_CB_DEBUG); 82 if (dhd_nli->cb == NULL) 85 nl_socket_set_cb(dhd_nli->nl, dhd_nli->cb); 89 nl_cb_put(dhd_nli->cb); 97 nl_cb_put(dhd_nli->cb); 121 nl_cb_err(dhd_nli->cb, NL_CB_CUSTOM, dhd_nl_error_handler, &err); 122 nl_cb_set(dhd_nli->cb, NL_CB_ACK, NL_CB_CUSTOM, 124 nl_cb_set(dhd_nli->cb, NL_CB_FINISH, NL_CB_CUSTOM, 126 nl_cb_set(dhd_nli->cb, NL_CB_VALID, NL_CB_CUSTOM, 129 nl_recvmsgs(dhd_nli->nl, dhd_nli->cb); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
context.h | 185 void pa_context_set_state_callback(pa_context *c, pa_context_notify_cb_t cb, void *userdata); 189 void pa_context_set_event_callback(pa_context *p, pa_context_event_cb_t cb, void *userdata); 214 pa_operation* pa_context_drain(pa_context *c, pa_context_notify_cb_t cb, void *userdata); 219 pa_operation* pa_context_exit_daemon(pa_context *c, pa_context_success_cb_t cb, void *userdata); 222 pa_operation* pa_context_set_default_sink(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 225 pa_operation* pa_context_set_default_source(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 231 pa_operation* pa_context_set_name(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata); 247 pa_operation *pa_context_proplist_update(pa_context *c, pa_update_mode_t mode, pa_proplist *p, pa_context_success_cb_t cb, void *userdata); 250 pa_operation *pa_context_proplist_remove(pa_context *c, const char *const keys[], pa_context_success_cb_t cb, void *userdata); 259 pa_time_event* pa_context_rttime_new(pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata) [all...] |
stream.h | 535 pa_operation* pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *userdata); 541 pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata); 544 void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata); 548 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 552 void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata); 555 void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 558 void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 565 void pa_stream_set_started_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 570 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata); 577 void pa_stream_set_moved_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_quarantine.h | 40 // void *cb.Allocate(uptr size); 41 // void cb.Deallocate(void *ptr); 60 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { 61 c->Enqueue(cb, ptr, size); 63 Drain(c, cb); 66 void NOINLINE Drain(Cache *c, Callback cb) { 72 Recycle(cb); 87 void NOINLINE Recycle(Callback cb) { 98 DoRecycle(&tmp, cb); 101 void NOINLINE DoRecycle(Cache *c, Callback cb) { [all...] |
/external/strace/tests/ |
aio.c | 56 const struct iocb cb[] = { local 116 const long cbs[ARRAY_SIZE(cb) + 2] = { 117 (long) &cb[0], (long) &cb[1], 120 const long cbvs[ARRAY_SIZE(cb) + 2] = { 126 const unsigned int nr = ARRAY_SIZE(cb); 149 (unsigned long long) cb[0].aio_data, data0, 150 (unsigned int) sizeof(data0), (long long) cb[0].aio_offset, 151 (unsigned long long) cb[1].aio_data, data1, 152 (unsigned int) sizeof(data1), (long long) cb[1].aio_offset [all...] |
/hardware/libhardware/modules/input/evdev/ |
InputHost.h | 43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} 55 InputReport(input_host_t* host, input_host_callbacks_t cb, input_report_t* r) : 56 InputHostBase(host, cb), mReport(r) {} 75 InputReportDefinition(input_host_t* host, input_host_callbacks_t cb, 76 input_report_definition_t* r) : InputHostBase(host, cb), mReportDefinition(r) {} 96 InputDeviceDefinition(input_host_t* host, input_host_callbacks_t cb, 98 InputHostBase(host, cb), mDeviceDefinition(d) {} 115 InputProperty(input_host_t* host, input_host_callbacks_t cb, input_property_t* p) : 116 InputHostBase(host, cb), mProperty(p) { [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_dataflow.h | 50 void rc_for_all_reads_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata); 51 void rc_for_all_writes_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata); 55 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata); 56 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata); 60 void rc_for_all_reads_src(struct rc_instruction * inst, rc_read_src_fn cb, 67 rc_pair_read_arg_fn cb, void * userdata); 71 void rc_remap_registers(struct rc_instruction * inst, rc_remap_register_fn cb, void * userdata);
|
/external/compiler-rt/lib/tsan/dd/ |
dd_rtl.cc | 115 Callback cb(thr); 119 ctx->dd->MutexInit(&cb, &h->dd); 120 ctx->dd->MutexBeforeLock(&cb, &h->dd, writelock); 122 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 128 Callback cb(thr); 132 ctx->dd->MutexInit(&cb, &h->dd); 133 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock); 135 ReportDeadlock(thr, ctx->dd->GetReport(&cb)); 141 Callback cb(thr); 144 ctx->dd->MutexBeforeUnlock(&cb, &h->dd, writelock) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NetworkQueryService.java | 111 public void startNetworkQuery(INetworkQueryServiceCallback cb, int phoneId) { 112 if (cb != null) { 115 mCallbacks.register(cb); 116 if (DBG) log("registering callback " + cb.getClass().toString()); 149 public void stopNetworkQuery(INetworkQueryServiceCallback cb) { 156 unregisterCallback(cb); 162 public void unregisterCallback(INetworkQueryServiceCallback cb) { 163 if (cb != null) { 165 if (DBG) log("unregistering callback " + cb.getClass().toString()); 166 mCallbacks.unregister(cb); 219 INetworkQueryServiceCallback cb = mCallbacks.getBroadcastItem(i); local [all...] |
/external/libchrome/base/ |
callback_list.h | 33 // RegisterCallback(const OnFooCallback& cb) { 34 // return callback_list_.Add(cb); 106 scoped_ptr<Subscription> Add(const CallbackType& cb) WARN_UNUSED_RESULT { 107 DCHECK(!cb.is_null()); 109 new Subscription(this, callbacks_.insert(callbacks_.end(), cb))); 150 CallbackType* cb = NULL; local 152 cb = &(*list_iter_); 155 return cb; 218 CallbackType* cb; local 219 while ((cb = it.GetNext()) != NULL) [all...] |
/external/libweave/third_party/chromium/base/ |
callback_list.h | 33 // RegisterCallback(const OnFooCallback& cb) { 34 // return callback_list_.Add(cb); 106 scoped_ptr<Subscription> Add(const CallbackType& cb) WARN_UNUSED_RESULT { 107 DCHECK(!cb.is_null()); 109 new Subscription(this, callbacks_.insert(callbacks_.end(), cb))); 150 CallbackType* cb = NULL; local 152 cb = &(*list_iter_); 155 return cb; 218 CallbackType* cb; local 219 while ((cb = it.GetNext()) != NULL) [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl.h | 47 ModuleCallback(const ModuleCallback& cb) 48 : module(cb.module), next_callback(cb.next_callback) {} 50 bool operator==(const ModuleCallback& cb) const { 51 return cb.module == module;
|