/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/blockfile/ |
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 | 188 CompletionCallback cb = on_done_; local 190 cb.Run(START_COMPLETE); 199 CompletionCallback cb = on_done_; local 203 cb.Run(START_ERROR); 205 cb.Run(OAUTH_ERROR); 215 CompletionCallback cb = on_done_; local 219 cb.Run(START_ERROR); 221 cb.Run(NETWORK_ERROR); 231 CompletionCallback cb = on_done_; local 233 cb.Run(START_ERROR) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
firewallsocketserver.cc | 41 virtual int Send(const void* pv, size_t cb) { 42 return SendTo(pv, cb, GetRemoteAddress()); 44 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { 50 return static_cast<int>(cb); 53 return AsyncSocketAdapter::SendTo(pv, cb, addr); 55 virtual int Recv(void* pv, size_t cb) { 57 return RecvFrom(pv, cb, &addr); 59 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { 62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); 72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr) [all...] |
/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...] |
libip6t_SNAT.c | 147 static void SNAT_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_SRC) { 172 parse_to(cb->arg, portok, range); 180 static void SNAT_fcheck(struct xt_fcheck_call *cb) 183 struct nf_nat_range *range = cb->data; 185 if ((cb->xflags & f) == f [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_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);
|
libip6t_ipv6header.c | 159 static void ipv6header_parse(struct xt_option_call *cb) 161 struct ip6t_ipv6header_info *info = cb->data; 163 xtables_option_parse(cb); 164 switch (cb->entry->id) { 166 if (!(info->matchflags = parse_header(cb->arg))) 168 if (cb->invert)
|
libipt_MASQUERADE.c | 74 static void MASQUERADE_parse(struct xt_option_call *cb) 76 const struct ipt_entry *entry = cb->xt_entry; 78 struct nf_nat_ipv4_multi_range_compat *mr = cb->data; 89 xtables_option_parse(cb); 90 switch (cb->entry->id) { 95 parse_ports(cb->arg, mr);
|
libxt_udp.c | 46 static void udp_parse(struct xt_option_call *cb) 48 struct xt_udp *udpinfo = cb->data; 50 xtables_option_parse(cb); 51 switch (cb->entry->id) { 53 if (cb->invert) 57 if (cb->invert)
|
/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...] |
/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...] |
/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...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ColorBuffer.cpp | 55 ColorBuffer *cb = new ColorBuffer(); local 58 s_gl.glGenTextures(1, &cb->m_tex); 59 s_gl.glBindTexture(GL_TEXTURE_2D, cb->m_tex); 79 s_gl.glGenTextures(1, &cb->m_blitTex); 80 s_gl.glBindTexture(GL_TEXTURE_2D, cb->m_blitTex); 91 cb->m_width = p_width; 92 cb->m_height = p_height; 93 cb->m_internalFormat = texInternalFormat; 96 cb->m_eglImage = s_egl.eglCreateImageKHR( 100 (EGLClientBuffer)SafePointerFromUInt(cb->m_tex) [all...] |
/external/libnl/lib/ |
cache.c | 468 struct nl_cb *cb; local 477 cb = nl_cb_clone(sk->s_cb); 478 if (cb == NULL) 481 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, update_msg_parser, &x); 483 err = nl_recvmsgs(sk, cb); 489 nl_cb_put(cb); 520 struct nl_msgtype *type, change_func_t cb, void *data) 531 if (cb) 532 cb(cache, old, NL_ACT_DEL, data); 539 if (old == NULL && cb) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
WifiTile.java | 110 CallbackInfo cb = (CallbackInfo) arg; 112 boolean wifiConnected = cb.enabled && (cb.wifiSignalIconId > 0) && (cb.enabledDesc != null); 113 boolean wifiNotConnected = (cb.wifiSignalIconId > 0) && (cb.enabledDesc == null); 114 boolean enabledChanging = state.enabled != cb.enabled; 116 mDetailAdapter.setItemsVisible(cb.enabled); 117 fireToggleStateChanged(cb.enabled); 119 state.enabled = cb.enabled [all...] |
/external/jpeg/ |
jdcolor.c | 25 int * Cb_b_tab; /* => table for Cb to B conversion */ 27 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 56 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are 60 * G = Y - 0.34414 * Cb - 0.71414 * Cr 61 * B = Y + 1.77200 * Cb 62 * where Cb and Cr represent the incoming values less CENTERJSAMPLE. 72 * by precalculating the constants times Cb and Cr for all possible values. 77 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the 114 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 118 /* Cb=>B value is nearest int to 1.77200 * x * 146 register int y, cb, cr; local 187 register int y, cb, cr; local 228 register int y, cb, cr; local 300 register int y, cb, cr; local 696 register int y, cb, cr; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
jdcolor.c | 23 int * Cb_b_tab; /* => table for Cb to B conversion */ 25 INT32 * Cb_g_tab; /* => table for Cb to G conversion */ 54 * YCbCr is defined per CCIR 601-1, except that Cb and Cr are 58 * G = Y - 0.34414 * Cb - 0.71414 * Cr 59 * B = Y + 1.77200 * Cb 60 * where Cb and Cr represent the incoming values less CENTERJSAMPLE. 70 * by precalculating the constants times Cb and Cr for all possible values. 75 * The Cr=>R and Cb=>B values can be rounded to integers in advance; the 112 /* The Cb or Cr value we are thinking of is x = i - CENTERJSAMPLE */ 116 /* Cb=>B value is nearest int to 1.77200 * x * 144 register int y, cb, cr; local 185 register int y, cb, cr; local 226 register int y, cb, cr; local 298 register int y, cb, cr; local 694 register int y, cb, cr; local [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionRecord.java | 130 ISessionCallback cb, String tag, MediaSessionService service, Handler handler) { 138 mSessionCb = new SessionCb(cb); 486 public void sendMediaButton(KeyEvent ke, int sequenceId, ResultReceiver cb) { 487 mSessionCb.sendMediaButton(ke, sequenceId, cb); 530 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 532 cb.onPlaybackStateChanged(mPlaybackState); 549 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 551 cb.onMetadataChanged(mMetadata); 568 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 570 cb.onQueueChanged(mQueue) 587 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 606 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 626 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 644 ISessionControllerCallback cb = mControllerCallbacks.get(i); local 665 ISessionControllerCallback cb = mControllerCallbacks.get(i); local [all...] |
/external/chromium_org/base/ |
callback_unittest.cc | 130 cb(Bind(&TestForReentrancy::AssertCBIsNull, Unretained(this))) { 133 ASSERT_TRUE(cb.is_null()); 137 Closure cb; member in struct:base::__anon6831::TestForReentrancy 142 ASSERT_FALSE(tfr.cb.is_null()); 144 ResetAndReturn(&tfr.cb).Run(); 145 ASSERT_TRUE(tfr.cb.is_null());
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
countdowntimer.js | 16 * @param {Function=} cb called back when the countdown expires. 20 function CountdownTimer(timeoutMillis, cb) { 22 this.setTimeout(timeoutMillis || 0, cb); 32 * @param {Function=} cb called back when the countdown expires. 35 CountdownTimer.prototype.setTimeout = function(timeoutMillis, cb) { 41 this.cb = cb; 77 * @param {Function=} cb callback for new timer. 80 CountdownTimer.prototype.clone = function(cb) { 81 return new CountdownTimer(this.remainingMillis, cb); [all...] |
/frameworks/base/media/java/android/media/session/ |
ISessionController.aidl | 39 void sendCommand(String command, in Bundle args, in ResultReceiver cb); 41 void registerCallbackListener(in ISessionControllerCallback cb); 42 void unregisterCallbackListener(in ISessionControllerCallback cb);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxService.java | 155 public void registerCallback(IBordeauxServiceCallback cb) { 156 if (cb != null) mCallbacks.register(cb); 159 public void unregisterCallback(IBordeauxServiceCallback cb) { 160 if (cb != null) mCallbacks.unregister(cb);
|