/external/iptables/extensions/ |
libip6t_DNAT.c | 147 static void DNAT_parse(struct xt_option_call *cb) 149 const struct ip6t_entry *entry = cb->xt_entry; 150 struct nf_nat_range *range = cb->data; 162 xtables_option_parse(cb); 163 switch (cb->entry->id) { 165 if (cb->xflags & F_X_TO_DEST) { 172 parse_to(cb->arg, portok, range); 180 static void DNAT_fcheck(struct xt_fcheck_call *cb) 183 struct nf_nat_range *mr = cb->data; 185 if ((cb->xflags & f) == f [all...] |
libxt_devgroup.c | 70 static void devgroup_parse(struct xt_option_call *cb) 72 struct xt_devgroup_info *info = cb->data; 75 xtables_option_parse(cb); 76 switch (cb->entry->id) { 78 devgroup_parse_groupspec(cb->arg, &id, &mask); 82 if (cb->invert) 86 devgroup_parse_groupspec(cb->arg, &id, &mask); 90 if (cb->invert) 146 static void devgroup_check(struct xt_fcheck_call *cb) 148 if (cb->xflags == 0 [all...] |
libipt_SNAT.c | 154 static void SNAT_parse(struct xt_option_call *cb) 156 const struct ipt_entry *entry = cb->xt_entry; 157 struct ipt_natinfo *info = (void *)(*cb->target); 169 xtables_option_parse(cb); 170 switch (cb->entry->id) { 172 if (cb->xflags & F_X_TO_SRC) { 179 *cb->target = parse_to(cb->arg, portok, info); 180 cb->xflags |= F_X_TO_SRC; 188 static void SNAT_fcheck(struct xt_fcheck_call *cb) [all...] |
libxt_mangle.c | 179 static void mangle_parse(struct xt_option_call *cb) 181 const struct arpt_entry *e = cb->xt_entry; 182 struct arpt_mangle *mangle = cb->data; 190 xtables_option_parse(cb); 191 switch (cb->entry->id) { 207 ipaddr = parse_hostnetwork(cb->arg, &nr); 228 ipaddr = parse_hostnetwork(cb->arg, &nr); 245 macaddr = ether_aton(cb->arg); 261 macaddr = ether_aton(cb->arg); 268 if (!strcmp(cb->arg, "DROP") [all...] |
libip6t_MASQUERADE.c | 73 static void MASQUERADE_parse(struct xt_option_call *cb) 75 const struct ip6t_entry *entry = cb->xt_entry; 76 struct nf_nat_range *r = cb->data; 88 xtables_option_parse(cb); 89 switch (cb->entry->id) { 94 parse_ports(cb->arg, r);
|
libip6t_dst.c | 108 static void dst_parse(struct xt_option_call *cb) 110 struct ip6t_opts *optinfo = cb->data; 112 xtables_option_parse(cb); 113 switch (cb->entry->id) { 115 if (cb->invert) 120 optinfo->optsnr = parse_options(cb->arg, optinfo->opts);
|
libip6t_hbh.c | 102 static void hbh_parse(struct xt_option_call *cb) 104 struct ip6t_opts *optinfo = cb->data; 106 xtables_option_parse(cb); 107 switch (cb->entry->id) { 109 if (cb->invert) 114 optinfo->optsnr = parse_options(cb->arg, optinfo->opts);
|
/external/libevent/include/event2/ |
event.h | 728 @param cb a function taking two arguments: an integer severity between 729 EVENT_LOG_DEBUG and EVENT_LOG_ERR, and a string. If cb is NULL, 736 void event_set_log_callback(event_log_cb cb); 758 void event_set_fatal_callback(event_fatal_cb cb); [all...] |
rpc.h | 196 void (*cb)(struct evrpc_status *, void *, void *, void *), 210 * @param cb the callback function to call when the RPC has completed 214 pool, request, reply, cb, cbarg) \ 220 (void (*)(struct evrpc_status *, void *, void *, void *))cb, \ 236 void (*cb)(struct evrpc_status *, \ 240 (void (*)(struct evrpc_status *, void *, void *, void *))cb, \ 370 * @param cb the callback to invoke when the RPC request has been answered 374 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ 375 evrpc_send_request_##name((pool), (request), (reply), (cb), (cbarg)) 487 * @param cb the callback to call when the hook is activate [all...] |
/external/libxcam/modules/soft/ |
soft_blender_tasks_priv.h | 48 explicit GaussScaleGray (const char *name = "GaussScaleGray", const SmartPtr<Worker::Callback> &cb = NULL) 49 : SoftWorker (name, cb) 109 explicit GaussDownScale (const SmartPtr<Worker::Callback> &cb) 110 : GaussScaleGray ("GaussDownScale", cb) 147 explicit BlendTask (const SmartPtr<Worker::Callback> &cb) 148 : SoftWorker ("SoftBlendTask", cb) 181 explicit LaplaceTask (const SmartPtr<Worker::Callback> &cb) 182 : SoftWorker ("SoftLaplaceTask", cb) 218 explicit ReconstructTask (const SmartPtr<Worker::Callback> &cb) 219 : SoftWorker ("SoftReconstructTask", cb) [all...] |
/external/webrtc/webrtc/base/ |
firewallsocketserver.cc | 41 int Send(const void* pv, size_t cb) override { 42 return SendTo(pv, cb, GetRemoteAddress()); 44 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override { 50 return static_cast<int>(cb); 53 return AsyncSocketAdapter::SendTo(pv, cb, addr); 55 int Recv(void* pv, size_t cb) override { 57 return RecvFrom(pv, cb, &addr); 59 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override { 62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); 72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
xpsprint.h | 97 ULONG cb, 103 ULONG cb, 123 #define IXpsPrintJobStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) 124 #define IXpsPrintJobStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) 139 static FORCEINLINE HRESULT IXpsPrintJobStream_Read(IXpsPrintJobStream* This,void *pv,ULONG cb,ULONG *pcbRead) { 140 return This->lpVtbl->Read(This,pv,cb,pcbRead); 142 static FORCEINLINE HRESULT IXpsPrintJobStream_Write(IXpsPrintJobStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { 143 return This->lpVtbl->Write(This,pv,cb,pcbWritten) [all...] |
/external/libnl/lib/ |
socket.c | 181 static struct nl_sock *__alloc_socket(struct nl_cb *cb) 190 sk->s_cb = nl_cb_get(cb); 208 struct nl_cb *cb; local 211 cb = nl_cb_alloc(default_cb); 212 if (!cb) 215 /* will increment cb reference count on success */ 216 sk = __alloc_socket(cb); 218 nl_cb_put(cb); 225 * @arg cb Callback handler 232 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
test_as_parameter.py | 66 cb = CallBack(callback) 67 f(self.wrap(2**18), self.wrap(cb)) 83 cb = MyCallback(callback) 85 result = f(self.wrap(-10), self.wrap(cb)) 90 cb = MyCallback(callback) 92 result = f(self.wrap(-10), self.wrap(cb)) 95 result = f(self.wrap(-10), self.wrap(cb)) 102 cb = AnotherCallback(callback) 103 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 121 cb = MyCallback(callback [all...] |
/external/python/cpython3/Lib/ctypes/test/ |
test_as_parameter.py | 66 cb = CallBack(callback) 67 f(self.wrap(2**18), self.wrap(cb)) 83 cb = MyCallback(callback) 85 result = f(self.wrap(-10), self.wrap(cb)) 90 cb = MyCallback(callback) 92 result = f(self.wrap(-10), self.wrap(cb)) 95 result = f(self.wrap(-10), self.wrap(cb)) 102 cb = AnotherCallback(callback) 103 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 121 cb = MyCallback(callback [all...] |
/external/syslinux/gpxe/src/net/ |
aoe.c | 70 aoe->command->cb.cmd_stat = aoe->status; 117 count = command->cb.count.native; 158 aoeata->aflags = ( ( command->cb.lba48 ? AOE_FL_EXTENDED : 0 )| 159 ( command->cb.device & ATA_DEV_SLAVE ) | 161 aoeata->err_feat = command->cb.err_feat.bytes.cur; 163 aoeata->cmd_stat = command->cb.cmd_stat; 164 aoeata->lba.u64 = cpu_to_le64 ( command->cb.lba.native ); 165 if ( ! command->cb.lba48 ) 167 ( command->cb.device & ATA_DEV_MASK ); 245 count = command->cb.count.native [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 69 cb = CallBack(callback) 70 f(self.wrap(2**18), self.wrap(cb)) 86 cb = MyCallback(callback) 88 result = f(self.wrap(-10), self.wrap(cb)) 93 cb = MyCallback(callback) 95 result = f(self.wrap(-10), self.wrap(cb)) 98 result = f(self.wrap(-10), self.wrap(cb)) 105 cb = AnotherCallback(callback) 106 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 124 cb = MyCallback(callback [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 69 cb = CallBack(callback) 70 f(self.wrap(2**18), self.wrap(cb)) 86 cb = MyCallback(callback) 88 result = f(self.wrap(-10), self.wrap(cb)) 93 cb = MyCallback(callback) 95 result = f(self.wrap(-10), self.wrap(cb)) 98 result = f(self.wrap(-10), self.wrap(cb)) 105 cb = AnotherCallback(callback) 106 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 124 cb = MyCallback(callback [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 69 cb = CallBack(callback) 70 f(self.wrap(2**18), self.wrap(cb)) 86 cb = MyCallback(callback) 88 result = f(self.wrap(-10), self.wrap(cb)) 93 cb = MyCallback(callback) 95 result = f(self.wrap(-10), self.wrap(cb)) 98 result = f(self.wrap(-10), self.wrap(cb)) 105 cb = AnotherCallback(callback) 106 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 124 cb = MyCallback(callback [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_as_parameter.py | 69 cb = CallBack(callback) 70 f(self.wrap(2**18), self.wrap(cb)) 86 cb = MyCallback(callback) 88 result = f(self.wrap(-10), self.wrap(cb)) 93 cb = MyCallback(callback) 95 result = f(self.wrap(-10), self.wrap(cb)) 98 result = f(self.wrap(-10), self.wrap(cb)) 105 cb = AnotherCallback(callback) 106 self.assertRaises(ArgumentError, f, self.wrap(-10), self.wrap(cb)) 124 cb = MyCallback(callback [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute.c | 166 struct pipe_constant_buffer cb; local 167 cb.buffer_size = size; 168 cb.buffer_offset = offset; 169 cb.buffer = buffer; 170 cb.user_buffer = NULL; 172 rctx->b.b.set_constant_buffer(&rctx->b.b, PIPE_SHADER_COMPUTE, cb_index, &cb); 475 struct r600_surface *cb = (struct r600_surface*)rctx->framebuffer.state.cbufs[i]; local 477 (struct r600_resource*)cb->base.texture, 482 radeon_emit(cs, cb->cb_color_base); /* R_028C60_CB_COLOR0_BASE */ 483 radeon_emit(cs, cb->cb_color_pitch); /* R_028C64_CB_COLOR0_PITCH * 713 struct r600_command_buffer *cb = &rctx->start_compute_cs_cmd; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
CellularTile.java | 165 CallbackInfo cb = (CallbackInfo) arg; local 166 if (cb == null) { 167 cb = mSignalCallback.mInfo; 171 state.activityIn = cb.enabled && cb.activityIn; 172 state.activityOut = cb.enabled && cb.activityOut; 178 if (cb.noSim) { 184 if (cb.noSim) { 187 } else if (cb.airplaneModeEnabled) [all...] |
/external/jemalloc/include/jemalloc/internal/ |
rb.h | 187 a_prefix##iter(a_rbt_type *rbtree, a_type *start, a_type *(*cb)( \ 191 a_type *(*cb)(a_rbt_type *, a_type *, void *), void *arg); \ 193 a_prefix##destroy(a_rbt_type *rbtree, void (*cb)(a_type *, void *), \ 300 * ex_iter(ex_t *tree, ex_node_t *start, ex_node_t *(*cb)(ex_t *, 303 * ex_reverse_iter(ex_t *tree, ex_node_t *start, ex_node *(*cb)(ex_t *, 313 * cb : Callback function, which is called for each node during 320 * arg : Opaque pointer passed to cb(). 325 * ex_destroy(ex_t *tree, void (*cb)(ex_node_t *, void *), void *arg); 333 * cb : Callback function, which, if non-null, is called for each node 336 * arg : Opaque pointer passed to cb() [all...] |
/art/test/986-native-method-bind/ |
native_bind.cc | 99 jvmtiEventCallbacks cb; local 100 memset(&cb, 0, sizeof(cb)); 101 cb.NativeMethodBind = doJvmtiMethodBind; 102 jvmti_env->SetEventCallbacks(&cb, sizeof(cb));
|
/external/dexmaker/dexmaker-mockito-inline-tests/src/main/jni/multiplejvmtiagentsinterferenceagent/ |
agent.cc | 108 jvmtiEventCallbacks cb; local 109 memset(&cb, 0, sizeof(cb)); 110 cb.ClassFileLoadHook = Transform; 112 error = localJvmtiEnv->SetEventCallbacks(&cb, sizeof(cb));
|