HomeSort by relevance Sort by last modified time
    Searched refs:cb (Results 326 - 350 of 1492) sorted by null

<<11121314151617181920>>

  /external/iptables/extensions/
libipt_SNAT.c 151 static void SNAT_parse(struct xt_option_call *cb)
153 const struct ipt_entry *entry = cb->xt_entry;
154 struct ipt_natinfo *info = (void *)(*cb->target);
166 xtables_option_parse(cb);
167 switch (cb->entry->id) {
169 if (cb->xflags & F_X_TO_SRC) {
176 *cb->target = parse_to(cb->arg, portok, info);
178 if (cb->xflags & F_RANDOM)
180 cb->xflags |= F_X_TO_SRC
    [all...]
libxt_hashlimit.c 242 static void hashlimit_parse(struct xt_option_call *cb)
244 struct xt_hashlimit_info *info = cb->data;
246 xtables_option_parse(cb);
247 switch (cb->entry->id) {
249 if (cb->invert)
251 if (!parse_rate(cb->arg, &info->cfg.avg))
253 "--hashlimit-upto", cb->arg);
256 if (!cb->invert)
258 if (!parse_rate(cb->arg, &info->cfg.avg))
260 "--hashlimit-above", cb->arg)
    [all...]
libxt_limit.c 91 static void limit_parse(struct xt_option_call *cb)
93 struct xt_rateinfo *r = cb->data;
95 xtables_option_parse(cb);
96 switch (cb->entry->id) {
98 if (!parse_rate(cb->arg, &r->avg))
100 "bad rate \"%s\"'", cb->arg);
103 if (cb->invert)
libxt_recent.c 85 static void recent_parse(struct xt_option_call *cb)
87 struct xt_recent_mtinfo *info = cb->data;
89 xtables_option_parse(cb);
90 switch (cb->entry->id) {
93 if (cb->invert)
98 if (cb->invert)
103 if (cb->invert)
108 if (cb->invert)
123 static void recent_check(struct xt_fcheck_call *cb)
125 if (!(cb->xflags & F_ANY_OP)
    [all...]
  /external/iptables/iptables/
xshared.c 178 static mainfunc_t subcmd_get(const char *cmd, const struct subcommand *cb)
180 for (; cb->name != NULL; ++cb)
181 if (strcmp(cb->name, cmd) == 0)
182 return cb->main;
186 int subcmd_main(int argc, char **argv, const struct subcommand *cb)
189 mainfunc_t f = subcmd_get(cmd, cb);
198 f = subcmd_get(*argv, cb);
206 for (; cb->name != NULL; ++cb)
    [all...]
  /external/openssl/crypto/pem/
pem_pkey.c 75 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
84 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u))
105 if (cb) klen=cb(psbuf,PEM_BUFSIZE,0,u);
142 pem_password_cb *cb, void *u)
148 cb, u);
152 pem_str,bp,x,enc,kstr,klen,cb,u);
209 EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
220 ret=PEM_read_bio_PrivateKey(b,x,cb,u);
227 pem_password_cb *cb, void *u
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_image.c 87 u32 *lum, *cb, *cr; local
99 /*lint -save -e826 lum, cb and cr used to copy 4 bytes at the time, disable
102 cb = (u32*)image->cb;
105 ASSERT(!((u32)cb&0x3));
129 *cb++ = tmp1;
130 *cb++ = tmp2;
131 cb += width-2;
179 u8 *lum, *cb, *cr; local
204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8)
    [all...]
  /system/core/libpixelflinger/
raster.cpp 59 surface_t* cb = &(c->state.buffers.color); local
62 if (uint32_t(xs) > cb->width)
64 if (uint32_t(ys) > cb->height)
66 if (uint32_t(xs + width) > cb->width)
68 if (uint32_t(ys + height) > cb->height)
105 const GGLFormat* fp = &(c->formats[cb->format]);
106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data)
107 + (xs + (cb->stride * ys)) * fp->size;
108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data)
109 + (xd + (cb->stride * yd)) * fp->size
    [all...]
  /external/chromium_org/third_party/openssl/openssl/apps/
gendh.c 85 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb);
91 BN_GENCB cb; local
104 BN_GENCB_set(&cb, dh_cb, bio_err);
203 if(((dh = DH_new()) == NULL) || !DH_generate_parameters_ex(dh, num, g, &cb))
220 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
228 BIO_write(cb->arg,&c,1);
229 (void)BIO_flush(cb->arg);
  /external/openssl/apps/
gendh.c 85 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb);
91 BN_GENCB cb; local
104 BN_GENCB_set(&cb, dh_cb, bio_err);
203 if(((dh = DH_new()) == NULL) || !DH_generate_parameters_ex(dh, num, g, &cb))
220 static int MS_CALLBACK dh_cb(int p, int n, BN_GENCB *cb)
228 BIO_write(cb->arg,&c,1);
229 (void)BIO_flush(cb->arg);
  /external/wpa_supplicant_8/src/ap/
wpa_auth_glue.c 293 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx),
300 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx))
308 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data
318 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx))
326 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx),
334 data.cb = cb;
514 struct wpa_auth_callbacks cb; local
523 os_memset(&cb, 0, sizeof(cb));
    [all...]
  /external/wpa_supplicant_8/src/wps/
http_client.c 28 void (*cb)(void *ctx, struct http_client *c, member in struct:http_client
40 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT);
63 c->cb(c->cb_ctx, c, HTTP_CLIENT_OK);
69 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY);
72 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY);
75 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT);
78 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
101 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
124 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
132 void (*cb)(void *ctx
    [all...]
  /external/jpeg/
jdmerge.c 18 * G = Y + K2 * Cb + K3 * Cr
19 * B = Y + K4 * Cb
72 int * Cb_b_tab; /* => table for Cb to B conversion */
74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */
123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
127 /* Cb=>B value is nearest int to 1.77200 * x */
132 /* Cb=>G value is scaled-up -0.34414 * x */
256 int cb, cr; local
275 cb = GETJSAMPLE(*inptr1++);
278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS)
315 int cb, cr; local
379 int cb, cr; local
453 int cb, cr; local
529 int cb, cr; local
614 int cb, cr; local
    [all...]
  /external/qemu/distrib/jpeg-6b/
jdmerge.c 18 * G = Y + K2 * Cb + K3 * Cr
19 * B = Y + K4 * Cb
72 int * Cb_b_tab; /* => table for Cb to B conversion */
74 INT32 * Cb_g_tab; /* => table for Cb to G conversion */
123 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */
127 /* Cb=>B value is nearest int to 1.77200 * x */
132 /* Cb=>G value is scaled-up -0.34414 * x */
256 int cb, cr; local
275 cb = GETJSAMPLE(*inptr1++);
278 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS)
315 int cb, cr; local
379 int cb, cr; local
453 int cb, cr; local
529 int cb, cr; local
614 int cb, cr; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
radeon_dataflow.c 37 rc_read_write_mask_fn Cb;
54 cb_data->Cb(cb_data->UserData, fullinst, src->File,
59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0,
101 static void reads_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata)
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index,
128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W);
135 rc_pair_read_arg_fn cb,
167 cb(userdata, fullinst, &sub->Arg[i],
174 cb(userdata, fullinst, &sub->Arg[i], src);
180 /* This function calls the callback function (cb) for each source used b
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_dataflow.c 37 rc_read_write_mask_fn Cb;
54 cb_data->Cb(cb_data->UserData, fullinst, src->File,
59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0,
101 static void reads_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata)
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index,
128 cb(userdata, fullinst, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, RC_MASK_W);
135 rc_pair_read_arg_fn cb,
167 cb(userdata, fullinst, &sub->Arg[i],
174 cb(userdata, fullinst, &sub->Arg[i], src);
180 /* This function calls the callback function (cb) for each source used b
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
firewallsocketserver.cc 57 virtual int Send(const void* pv, size_t cb) {
58 return SendTo(pv, cb, GetRemoteAddress());
60 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) {
66 return static_cast<int>(cb);
69 return AsyncSocketAdapter::SendTo(pv, cb, addr);
71 virtual int Recv(void* pv, size_t cb) {
73 return RecvFrom(pv, cb, &addr);
75 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) {
78 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr);
88 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr)
    [all...]
  /external/chromium_org/chrome/renderer/resources/extensions/
tag_watcher.js 5 function watchForTag(tagName, cb) {
11 cb(node);
23 cb(addedNode);
44 function addTagWatcher(tagName, cb) {
50 watchForTag(tagName, cb);
  /external/chromium_org/net/disk_cache/
stress_cache.cc 123 net::TestCompletionCallback cb; local
124 int rv = cache->Init(cb.callback());
126 if (cb.GetResult(rv) != net::OK) {
164 net::TestCompletionCallback cb; local
165 rv = cache->OpenEntry(keys[key], &entries[slot], cb.callback());
166 if (cb.GetResult(rv) != net::OK) {
167 rv = cache->CreateEntry(keys[key], &entries[slot], cb.callback());
168 CHECK_EQ(net::OK, cb.GetResult(rv));
174 rv = entries[slot]->WriteData(0, 0, buffer.get(), size, cb.callback(),
176 CHECK_EQ(size, cb.GetResult(rv))
    [all...]
  /external/chromium_org/remoting/host/setup/
host_starter.cc 186 CompletionCallback cb = on_done_; local
188 cb.Run(START_COMPLETE);
197 CompletionCallback cb = on_done_; local
201 cb.Run(START_ERROR);
203 cb.Run(OAUTH_ERROR);
213 CompletionCallback cb = on_done_; local
217 cb.Run(START_ERROR);
219 cb.Run(NETWORK_ERROR);
229 CompletionCallback cb = on_done_; local
231 cb.Run(START_ERROR)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
firewallsocketserver.cc 57 virtual int Send(const void* pv, size_t cb) {
58 return SendTo(pv, cb, GetRemoteAddress());
60 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) {
66 return static_cast<int>(cb);
69 return AsyncSocketAdapter::SendTo(pv, cb, addr);
71 virtual int Recv(void* pv, size_t cb) {
73 return RecvFrom(pv, cb, &addr);
75 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) {
78 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr);
88 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr)
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
h264bsdWriteMacroblock.S 31 #define cb r4 define
97 LDR cb, [image, #0x10]
120 VLD1 {qRow0, qRow1}, [data]! ;//cb rows 0,1,2,3
122 VLD1 {qRow2, qRow3}, [data]! ;//cb rows 4,5,6,7
128 VST1 {dRow0}, [cb,:64], cwidth
131 VST1 {dRow1}, [cb,:64], cwidth
134 VST1 {dRow2}, [cb,:64], cwidth
137 VST1 {dRow3}, [cb,:64], cwidth
140 VST1 {dRow4}, [cb,:64], cwidth
143 VST1 {dRow5}, [cb,:64], cwidt
    [all...]
  /system/core/libnl_2/
netlink.c 105 int nl_recvmsgs(struct nl_sock *sk, struct nl_cb *cb)
147 cb_rc = cb->cb_err(&nla, nlme, cb->cb_err_arg);
162 if (cb->cb_set[i]) {
166 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]);
172 cb_rc = cb->cb_set[i](msg, cb->cb_args[i]);
178 cb_rc = cb->cb_set[i](msg, cb->cb_args[i])
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_yuv_sw.c 109 unsigned char *cb, unsigned char *out,
113 unsigned char *cb, unsigned char *out,
127 unsigned char *cb, unsigned char *out,
131 unsigned char *cb, unsigned char *out,
137 unsigned char *cb, unsigned char *out,
165 + colortab[ *cb + 2*256 ];
166 cb_b = 2*768+256 + colortab[ *cb + 3*256 ];
167 ++cr; ++cb;
207 unsigned char *cb, unsigned char *out,
237 + colortab[ *cb + 2*256 ]
    [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...]

Completed in 679 milliseconds

<<11121314151617181920>>