HomeSort by relevance Sort by last modified time
    Searched refs:cb (Results 76 - 100 of 1919) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/iptables/extensions/
libip6t_SNPT.c 33 static void SNPT_parse(struct xt_option_call *cb)
35 struct ip6t_npt_tginfo *npt = cb->data;
37 xtables_option_parse(cb);
38 switch (cb->entry->id) {
40 npt->src_pfx = cb->val.haddr;
41 npt->src_pfx_len = cb->val.hlen;
44 npt->dst_pfx = cb->val.haddr;
45 npt->dst_pfx_len = cb->val.hlen;
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...]
  /external/llvm/tools/llvm-c-test/
helpers.c 21 void tokenize_stdin(void (*cb)(char **tokens, int ntokens)) {
38 cb(tokbuf, c);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BatteryController.java 40 void addStateChangedCallback(BatteryStateChangeCallback cb);
41 void removeStateChangedCallback(BatteryStateChangeCallback cb);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/
subscribe.h 56 pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_context_success_cb_t cb, void *userdata);
59 void pa_context_set_subscribe_callback(pa_context *c, pa_context_subscribe_cb_t cb, void *userdata);
ext-stream-restore.h 56 pa_ext_stream_restore_test_cb_t cb,
69 pa_ext_stream_restore_read_cb_t cb,
79 pa_context_success_cb_t cb,
86 pa_context_success_cb_t cb,
93 pa_context_success_cb_t cb,
105 pa_ext_stream_restore_subscribe_cb_t cb,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/pulse/
subscribe.h 79 pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_context_success_cb_t cb, void *userdata);
82 void pa_context_set_subscribe_callback(pa_context *c, pa_context_subscribe_cb_t cb, void *userdata);
ext-device-restore.h 55 pa_ext_device_restore_test_cb_t cb,
62 pa_context_success_cb_t cb,
76 pa_ext_device_restore_subscribe_cb_t cb,
89 pa_ext_device_restore_read_device_formats_cb_t cb,
97 pa_ext_device_restore_read_device_formats_cb_t cb,
107 pa_context_success_cb_t cb,
ext-stream-restore.h 57 pa_ext_stream_restore_test_cb_t cb,
70 pa_ext_stream_restore_read_cb_t cb,
80 pa_context_success_cb_t cb,
87 pa_context_success_cb_t cb,
94 pa_context_success_cb_t cb,
106 pa_ext_stream_restore_subscribe_cb_t cb,
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...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_random_things.py 50 cb = CFUNCTYPE(c_int, c_int)(callback_func)
51 out = self.capture_stderr(cb, 42)
56 cb = CFUNCTYPE(c_int, c_int)(callback_func)
57 out = self.capture_stderr(cb, 0)
62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
63 out = self.capture_stderr(cb, 0.0)
68 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
69 out = self.capture_stderr(cb, "spam")
test_simplesubclasses.py 25 cb = proto(func)
26 self.assertEqual(None, cb())
35 cb = CFUNCTYPE(None, MyInt)(func)
37 self.assertEqual(None, cb(42))
40 cb = CFUNCTYPE(c_int, c_int)(func)
42 self.assertEqual(42, cb(42))
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_random_things.py 50 cb = CFUNCTYPE(c_int, c_int)(callback_func)
51 out = self.capture_stderr(cb, 42)
56 cb = CFUNCTYPE(c_int, c_int)(callback_func)
57 out = self.capture_stderr(cb, 0)
62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
63 out = self.capture_stderr(cb, 0.0)
68 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
69 out = self.capture_stderr(cb, "spam")
test_simplesubclasses.py 25 cb = proto(func)
26 self.assertEqual(None, cb())
35 cb = CFUNCTYPE(None, MyInt)(func)
37 self.assertEqual(None, cb(42))
40 cb = CFUNCTYPE(c_int, c_int)(func)
42 self.assertEqual(42, cb(42))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_random_things.py 50 cb = CFUNCTYPE(c_int, c_int)(callback_func)
51 out = self.capture_stderr(cb, 42)
56 cb = CFUNCTYPE(c_int, c_int)(callback_func)
57 out = self.capture_stderr(cb, 0)
62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
63 out = self.capture_stderr(cb, 0.0)
68 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
69 out = self.capture_stderr(cb, "spam")
test_simplesubclasses.py 25 cb = proto(func)
26 self.assertEqual(None, cb())
35 cb = CFUNCTYPE(None, MyInt)(func)
37 self.assertEqual(None, cb(42))
40 cb = CFUNCTYPE(c_int, c_int)(func)
42 self.assertEqual(42, cb(42))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_random_things.py 50 cb = CFUNCTYPE(c_int, c_int)(callback_func)
51 out = self.capture_stderr(cb, 42)
56 cb = CFUNCTYPE(c_int, c_int)(callback_func)
57 out = self.capture_stderr(cb, 0)
62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
63 out = self.capture_stderr(cb, 0.0)
68 cb = CFUNCTYPE(c_int, c_char_p)(callback_func)
69 out = self.capture_stderr(cb, "spam")
test_simplesubclasses.py 25 cb = proto(func)
26 self.assertEqual(None, cb())
35 cb = CFUNCTYPE(None, MyInt)(func)
37 self.assertEqual(None, cb(42))
40 cb = CFUNCTYPE(c_int, c_int)(func)
42 self.assertEqual(42, cb(42))
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_deadlock_detector_interface.h 81 virtual void MutexInit(DDCallback *cb, DDMutex *m) {}
82 virtual void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) {}
83 virtual void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
85 virtual void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) {}
86 virtual void MutexDestroy(DDCallback *cb, DDMutex *m) {}
88 virtual DDReport *GetReport(DDCallback *cb) { return nullptr; }
  /external/iproute2/examples/bpf/
bpf_tailcall.c 42 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]);
44 skb->cb[0] = ENTRY_0;
58 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]);
60 skb->cb[0] = ENTRY_1;
74 trace_printk(fmt, sizeof(fmt), *val, skb->cb[0]);
86 /* For transferring state, we can use skb->cb[0] ... skb->cb[4]. */
91 skb->cb[0] = ENTRY_INIT;
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/
IPlayerService.aidl 27 void registerCallback(in IPlayerCallback cb);
28 void unregisterCallback(in IPlayerCallback cb);
29 void sendRequest(String action, in Bundle params, in IRequestCallback cb);
  /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...]
  /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...]

Completed in 1012 milliseconds

1 2 34 5 6 7 8 91011>>