HomeSort by relevance Sort by last modified time
    Searched refs:cb (Results 26 - 50 of 944) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/iptables/extensions/
libxt_AUDIT.c 30 static void audit_parse(struct xt_option_call *cb)
32 struct xt_audit_info *einfo = cb->data;
34 xtables_option_parse(cb);
35 if (strcasecmp(cb->arg, "accept") == 0)
37 else if (strcasecmp(cb->arg, "drop") == 0)
39 else if (strcasecmp(cb->arg, "reject") == 0)
43 "Bad action type value \"%s\"", cb->arg);
libxt_tcpmss.c 23 static void tcpmss_parse(struct xt_option_call *cb)
25 struct xt_tcpmss_match_info *mssinfo = cb->data;
27 xtables_option_parse(cb);
28 mssinfo->mss_min = cb->val.u16_range[0];
30 if (cb->nvals == 2)
31 mssinfo->mss_max = cb->val.u16_range[1];
32 if (cb->invert)
libxt_dscp.c 52 static void dscp_parse(struct xt_option_call *cb)
54 struct xt_dscp_info *dinfo = cb->data;
56 xtables_option_parse(cb);
57 switch (cb->entry->id) {
59 if (cb->invert)
63 dinfo->dscp = class_to_dscp(cb->arg);
64 if (cb->invert)
70 static void dscp_check(struct xt_fcheck_call *cb)
72 if (cb->xflags == 0)
libipt_REJECT.c 94 static void REJECT_parse(struct xt_option_call *cb)
96 struct ipt_reject_info *reject = cb->data;
99 xtables_option_parse(cb);
102 cb->arg, strlen(cb->arg)) == 0 ||
104 cb->arg, strlen(cb->arg)) == 0) {
109 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 ||
110 strncasecmp("echoreply", cb->arg, strlen(cb->arg)) == 0
    [all...]
libxt_cluster.c 52 static void cluster_parse(struct xt_option_call *cb)
54 struct xt_cluster_match_info *info = cb->data;
56 xtables_option_parse(cb);
57 switch (cb->entry->id) {
59 if (cb->invert)
61 info->node_mask = 1 << (cb->val.u32 - 1);
64 if (cb->invert)
70 static void cluster_check(struct xt_fcheck_call *cb)
72 const struct xt_cluster_match_info *info = cb->data;
76 if ((cb->xflags & test) == test)
    [all...]
libxt_connmark.c 50 static void connmark_mt_parse(struct xt_option_call *cb)
52 struct xt_connmark_mtinfo1 *info = cb->data;
54 xtables_option_parse(cb);
55 if (cb->invert)
57 info->mark = cb->val.mark;
58 info->mask = cb->val.mask;
61 static void connmark_parse(struct xt_option_call *cb)
63 struct xt_connmark_info *markinfo = cb->data;
65 xtables_option_parse(cb);
66 markinfo->mark = cb->val.mark
    [all...]
libxt_mark.c 28 static void mark_mt_parse(struct xt_option_call *cb)
30 struct xt_mark_mtinfo1 *info = cb->data;
32 xtables_option_parse(cb);
33 if (cb->invert)
35 info->mark = cb->val.mark;
36 info->mask = cb->val.mask;
39 static void mark_parse(struct xt_option_call *cb)
41 struct xt_mark_info *markinfo = cb->data;
43 xtables_option_parse(cb);
44 if (cb->invert
    [all...]
libxt_MARK.c 83 static void MARK_parse_v0(struct xt_option_call *cb)
85 struct xt_mark_target_info *markinfo = cb->data;
87 xtables_option_parse(cb);
88 switch (cb->entry->id) {
90 markinfo->mark = cb->val.mark;
95 cb->entry->name);
99 static void MARK_check(struct xt_fcheck_call *cb)
101 if (cb->xflags == 0)
107 static void MARK_parse_v1(struct xt_option_call *cb)
109 struct xt_mark_target_info_v1 *markinfo = cb->data
    [all...]
libxt_connbytes.c 31 static void connbytes_parse(struct xt_option_call *cb)
33 struct xt_connbytes_info *sinfo = cb->data;
36 xtables_option_parse(cb);
37 switch (cb->entry->id) {
39 sinfo->count.from = cb->val.u64_range[0];
40 sinfo->count.to = cb->val.u64_range[0];
41 if (cb->nvals == 2)
42 sinfo->count.to = cb->val.u64_range[1];
43 if (cb->invert) {
50 if (strcmp(cb->arg, "original") == 0
    [all...]
  /external/openssl/crypto/pem/
pem_pk8.c 72 pem_password_cb *cb, void *u);
76 pem_password_cb *cb, void *u);
86 pem_password_cb *cb, void *u)
88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
93 pem_password_cb *cb, void *u)
95 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u);
100 pem_password_cb *cb, void *u)
102 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u);
107 pem_password_cb *cb, void *u)
109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteCallbackList.java 50 Callback cb = new Callback(callback, cookie); local
51 binder.linkToDeath(cb, 0);
52 callbacks.put(binder, cb);
63 Callback cb = callbacks.remove(callback.asBinder()); local
64 if (cb != null) {
65 cb.callback.asBinder().unlinkToDeath(cb, 0);
75 for (Callback cb : callbacks.values()) {
76 cb.callback.asBinder().unlinkToDeath(cb, 0)
    [all...]
  /frameworks/base/core/java/android/os/
RemoteCallbackList.java 114 Callback cb = new Callback(callback, cookie); local
115 binder.linkToDeath(cb, 0);
116 mCallbacks.put(binder, cb);
143 Callback cb = mCallbacks.remove(callback.asBinder()); local
144 if (cb != null) {
145 cb.mCallback.asBinder().unlinkToDeath(cb, 0);
162 for (Callback cb : mCallbacks.values()) {
163 cb.mCallback.asBinder().unlinkToDeath(cb, 0)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/
stream.h 385 pa_operation* pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *userdata);
391 pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata);
394 void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata);
398 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
402 void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
405 void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
408 void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
413 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
420 void pa_stream_set_moved_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
430 void pa_stream_set_suspended_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata)
    [all...]
introspect.h 230 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata);
233 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t id, pa_sink_info_cb_t cb, void *userdata);
236 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata);
259 pa_operation* pa_context_get_source_info_by_name(pa_context *c, const char *name, pa_source_info_cb_t cb, void *userdata);
262 pa_operation* pa_context_get_source_info_by_index(pa_context *c, uint32_t id, pa_source_info_cb_t cb, void *userdata);
265 pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata);
283 pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb, void *userdata);
298 pa_operation* pa_context_get_module_info(pa_context *c, uint32_t idx, pa_module_info_cb_t cb, void *userdata);
301 pa_operation* pa_context_get_module_info_list(pa_context *c, pa_module_info_cb_t cb, void *userdata);
315 pa_operation* pa_context_get_client_info(pa_context *c, uint32_t idx, pa_client_info_cb_t cb, void *userdata)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/pulse/
stream.h 385 pa_operation* pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *userdata);
391 pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata);
394 void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata);
398 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
402 void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
405 void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
408 void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
413 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
420 void pa_stream_set_moved_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
430 void pa_stream_set_suspended_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata)
    [all...]
introspect.h 230 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata);
233 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t id, pa_sink_info_cb_t cb, void *userdata);
236 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata);
259 pa_operation* pa_context_get_source_info_by_name(pa_context *c, const char *name, pa_source_info_cb_t cb, void *userdata);
262 pa_operation* pa_context_get_source_info_by_index(pa_context *c, uint32_t id, pa_source_info_cb_t cb, void *userdata);
265 pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata);
283 pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb, void *userdata);
298 pa_operation* pa_context_get_module_info(pa_context *c, uint32_t idx, pa_module_info_cb_t cb, void *userdata);
301 pa_operation* pa_context_get_module_info_list(pa_context *c, pa_module_info_cb_t cb, void *userdata);
315 pa_operation* pa_context_get_client_info(pa_context *c, uint32_t idx, pa_client_info_cb_t cb, void *userdata)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/pulse/
stream.h 385 pa_operation* pa_stream_drain(pa_stream *s, pa_stream_success_cb_t cb, void *userdata);
391 pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata);
394 void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata);
398 void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
402 void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata);
405 void pa_stream_set_overflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
408 void pa_stream_set_underflow_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
413 void pa_stream_set_latency_update_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
420 void pa_stream_set_moved_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata);
430 void pa_stream_set_suspended_callback(pa_stream *p, pa_stream_notify_cb_t cb, void *userdata)
    [all...]
introspect.h 230 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata);
233 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t id, pa_sink_info_cb_t cb, void *userdata);
236 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata);
259 pa_operation* pa_context_get_source_info_by_name(pa_context *c, const char *name, pa_source_info_cb_t cb, void *userdata);
262 pa_operation* pa_context_get_source_info_by_index(pa_context *c, uint32_t id, pa_source_info_cb_t cb, void *userdata);
265 pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata);
283 pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb, void *userdata);
298 pa_operation* pa_context_get_module_info(pa_context *c, uint32_t idx, pa_module_info_cb_t cb, void *userdata);
301 pa_operation* pa_context_get_module_info_list(pa_context *c, pa_module_info_cb_t cb, void *userdata);
315 pa_operation* pa_context_get_client_info(pa_context *c, uint32_t idx, pa_client_info_cb_t cb, void *userdata)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 65 MockCallBack cb = new MockCallBack(); local
66 mTransitionDrawable.setCallback(cb);
69 cb.reset();
71 assertTrue(cb.hasCalledInvalidateDrawable());
76 cb.reset();
78 assertTrue(cb.hasCalledInvalidateDrawable());
83 cb.reset();
85 assertTrue(cb.hasCalledInvalidateDrawable());
93 MockCallBack cb = new MockCallBack(); local
94 mTransitionDrawable.setCallback(cb);
119 MockCallBack cb = new MockCallBack(); local
    [all...]
  /external/javasqlite/src/main/java/SQLite/
Vm.java 30 * while (vm.step(cb)) {
34 * while (vm.step(cb)) {
42 * @param cb the object implementing the callback methods.
47 public native boolean step(Callback cb) throws SQLite.Exception;
  /packages/apps/Nfc/nci/jni/
IntervalTimer.h 31 bool set(int ms, TIMER_FUNC cb);
  /packages/apps/Phone/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...]
  /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...]
  /external/chromium/third_party/libjingle/source/talk/base/
asyncsocket.h 74 virtual int Send(const void* pv, size_t cb) {
75 return socket_->Send(pv, cb);
77 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) {
78 return socket_->SendTo(pv, cb, addr);
80 virtual int Recv(void* pv, size_t cb) {
81 return socket_->Recv(pv, cb);
83 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) {
84 return socket_->RecvFrom(pv, cb, paddr);
  /external/openssh/
atomicio.h 37 int (*cb)(void *, size_t), void *);
47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);

Completed in 361 milliseconds

12 3 4 5 6 7 8 91011>>