HomeSort by relevance Sort by last modified time
    Searched refs:cb (Results 401 - 425 of 1814) sorted by null

<<11121314151617181920>>

  /external/iptables/extensions/
libxt_quota2.c 60 static void quota_mt2_parse(struct xt_option_call *cb)
62 struct xt_quota_mtinfo2 *info = cb->data;
64 xtables_option_parse(cb);
65 switch (cb->entry->id) {
78 if (cb->invert)
libip6t_frag.c 51 static void frag_parse(struct xt_option_call *cb)
53 struct ip6t_frag *fraginfo = cb->data;
55 xtables_option_parse(cb);
56 switch (cb->entry->id) {
58 if (cb->nvals == 1)
60 if (cb->invert)
73 if (cb->invert)
libxt_limit.c 95 static void limit_parse(struct xt_option_call *cb)
97 struct xt_rateinfo *r = cb->data;
99 xtables_option_parse(cb);
100 switch (cb->entry->id) {
102 if (!parse_rate(cb->arg, &r->avg))
104 "bad rate \"%s\"'", cb->arg);
107 if (cb->invert)
libxt_hashlimit.c 326 static void hashlimit_parse(struct xt_option_call *cb)
328 struct xt_hashlimit_info *info = cb->data;
330 xtables_option_parse(cb);
331 switch (cb->entry->id) {
333 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata))
335 "--hashlimit-upto", cb->arg);
338 if (parse_mode(&info->cfg.mode, cb->arg) < 0)
340 "--hashlimit-mode", cb->arg);
345 static void hashlimit_mt_parse(struct xt_option_call *cb)
    [all...]
  /external/qemu/
async.c 119 QEMUBHFunc *cb; member in struct:QEMUBH
127 QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque)
131 bh->cb = cb;
150 bh->cb(bh->opaque);
  /external/skia/include/utils/win/
SkIStream.h 40 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
43 , ULONG cb
94 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
97 , ULONG cb
122 , ULONG cb
  /external/skia/src/core/
SkError.cpp 65 void SkSetErrorCallback(SkErrorCallbackFunction cb, void *context) {
66 SkErrorInternals::SetErrorCallback(cb, context);
74 void SkErrorInternals::SetErrorCallback(SkErrorCallbackFunction cb, void *context) {
75 if (cb == NULL) {
78 THREAD_ERROR_CALLBACK = cb;
  /external/chromium_org/net/disk_cache/blockfile/
disk_cache_perftest.cc 65 net::TestCompletionCallback cb; local
66 int rv = cache->CreateEntry(entry.key, &cache_entry, cb.callback());
67 if (net::OK != cb.GetResult(rv))
114 net::TestCompletionCallback cb; local
115 int rv = cache->OpenEntry(entries[i].key, &cache_entry, cb.callback());
116 if (net::OK != cb.GetResult(rv))
167 net::TestCompletionCallback cb; local
177 cb.callback());
179 ASSERT_EQ(net::OK, cb.GetResult(rv));
211 cb.callback())
    [all...]
  /external/iptables/iptables/
xshared.c 183 static mainfunc_t subcmd_get(const char *cmd, const struct subcommand *cb)
185 for (; cb->name != NULL; ++cb)
186 if (strcmp(cb->name, cmd) == 0)
187 return cb->main;
191 int subcmd_main(int argc, char **argv, const struct subcommand *cb)
194 mainfunc_t f = subcmd_get(cmd, cb);
203 f = subcmd_get(*argv, cb);
211 for (; cb->name != NULL; ++cb)
    [all...]
  /external/libnl/lib/
socket.c 90 static struct nl_sock *__alloc_socket(struct nl_cb *cb)
99 sk->s_cb = cb;
119 struct nl_cb *cb; local
121 cb = nl_cb_alloc(default_cb);
122 if (!cb)
125 return __alloc_socket(cb);
130 * @arg cb Callback handler
137 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb)
139 if (cb == NULL)
142 return __alloc_socket(nl_cb_get(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...]
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
AndroidCameraAgentImpl.java 314 android.hardware.Camera camera, Object cb) {
316 camera.setAutoFocusMoveCallback((AutoFocusMoveCallback) cb);
    [all...]
CameraAgent.java 56 Handler handler, CameraStartPreviewCallback cb) {
57 if (handler == null || cb == null) {
60 return new CameraStartPreviewCallbackForward(handler, cb);
64 CameraStartPreviewCallback cb) {
66 mCallback = cb;
91 * @param cb The callback to be invoked.
96 Handler handler, CameraOpenCallback cb) {
97 if (handler == null || cb == null) {
100 return new CameraOpenCallbackForward(handler, cb);
103 private CameraOpenCallbackForward(Handler h, CameraOpenCallback cb) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
ButtonManager.java 330 public void initializeButton(int buttonId, ButtonCallback cb) {
334 initializeFlashButton(button, cb, R.array.camera_flashmode_icons);
337 initializeTorchButton(button, cb, R.array.video_flashmode_icons);
340 initializeHdrPlusFlashButton(button, cb, R.array.camera_flashmode_icons);
343 initializeCameraButton(button, cb, R.array.camera_id_icons);
346 initializeHdrPlusButton(button, cb, R.array.pref_camera_hdr_plus_icons);
349 initializeHdrButton(button, cb, R.array.pref_camera_hdr_icons);
352 initializeGridLinesButton(button, cb, R.array.grid_lines_icons);
355 initializeCountdownButton(button, cb, R.array.countdown_duration_icons);
368 public void initializePushButton(int buttonId, View.OnClickListener cb,
    [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/chrome/browser/resources/cryptotoken/
gnubby-u2f.js 40 * @param {function(...)} cb Result callback
44 Gnubby.prototype.enroll = function(challenge, appIdHash, cb,
64 this.apduReply(u8.buffer, cb);
71 * @param {function(...)} cb Result callback
75 Gnubby.prototype.sign = function(challengeHash, appIdHash, keyHandle, cb,
82 cb(rc);
120 self.apduReply(u8.buffer, cb, opt_nowink);
125 * @param {function(...)} cb Callback
127 Gnubby.prototype.version = function(cb) {
128 if (!cb) cb = Gnubby.defaultCallback
    [all...]
  /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 312 void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx),
319 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx))
327 int (*cb)(struct wpa_authenticator *sm, void *ctx); member in struct:wpa_auth_iface_iter_data
337 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx))
345 void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx),
353 data.cb = cb;
533 struct wpa_auth_callbacks cb; local
542 os_memset(&cb, 0, sizeof(cb));
    [all...]
  /external/chromium_org/ppapi/proxy/
file_system_resource_unittest.cc 103 MockCompletionCallback cb; local
107 PP_MakeCompletionCallback(&MockCompletionCallback::Callback, &cb));
120 ASSERT_TRUE(cb.called());
121 ASSERT_EQ(PP_OK, cb.result());
129 MockCompletionCallback cb; local
134 PP_MakeCompletionCallback(&MockCompletionCallback::Callback, &cb));
166 MockCompletionCallback cb; local
170 PP_MakeCompletionCallback(&MockCompletionCallback::Callback, &cb));
181 ASSERT_TRUE(cb.called());
182 ASSERT_EQ(PP_ERROR_FAILED, cb.result())
190 MockCompletionCallback cb; local
    [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...]

Completed in 1023 milliseconds

<<11121314151617181920>>