Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/toybox/toys/other/
Dbzcat.c110 static unsigned int get_bits(struct bunzip_data *bd, char bits_wanted) in get_bits() argument
116 while (bd->inbufBitCount < bits_wanted) { in get_bits()
119 if (bd->inbufPos == bd->inbufCount) { in get_bits()
120 if (0 >= (bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE))) in get_bits()
122 bd->inbufPos = 0; in get_bits()
126 if (bd->inbufBitCount>=24) { in get_bits()
127 bits = bd->inbufBits&((1<<bd->inbufBitCount)-1); in get_bits()
128 bits_wanted -= bd->inbufBitCount; in get_bits()
130 bd->inbufBitCount = 0; in get_bits()
134 bd->inbufBits = (bd->inbufBits<<8) | bd->inbuf[bd->inbufPos++]; in get_bits()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dinv_txfm.c1241 int stride, int bd) { in vpx_highbd_iwht4x4_16_add_c() argument
1263 op[0] = WRAPLOW(a1, bd); in vpx_highbd_iwht4x4_16_add_c()
1264 op[1] = WRAPLOW(b1, bd); in vpx_highbd_iwht4x4_16_add_c()
1265 op[2] = WRAPLOW(c1, bd); in vpx_highbd_iwht4x4_16_add_c()
1266 op[3] = WRAPLOW(d1, bd); in vpx_highbd_iwht4x4_16_add_c()
1284 dest[stride * 0] = highbd_clip_pixel_add(dest[stride * 0], a1, bd); in vpx_highbd_iwht4x4_16_add_c()
1285 dest[stride * 1] = highbd_clip_pixel_add(dest[stride * 1], b1, bd); in vpx_highbd_iwht4x4_16_add_c()
1286 dest[stride * 2] = highbd_clip_pixel_add(dest[stride * 2], c1, bd); in vpx_highbd_iwht4x4_16_add_c()
1287 dest[stride * 3] = highbd_clip_pixel_add(dest[stride * 3], d1, bd); in vpx_highbd_iwht4x4_16_add_c()
1295 int dest_stride, int bd) { in vpx_highbd_iwht4x4_1_add_c() argument
[all …]
Dinv_txfm.h45 int bd) { in highbd_check_range() argument
52 const int32_t int_max = (1 << (7 + bd)) - 1; in highbd_check_range()
58 (void) bd; in highbd_check_range()
63 int bd) { in highbd_dct_const_round_shift() argument
65 return highbd_check_range(rv, bd); in highbd_dct_const_round_shift()
86 #define WRAPLOW(x, bd) ((((int32_t)(x)) << (24 - bd)) >> (24 - bd)) argument
88 #define WRAPLOW(x, bd) ((int32_t)(x)) argument
100 void vpx_highbd_idct4_c(const tran_low_t *input, tran_low_t *output, int bd);
101 void vpx_highbd_idct8_c(const tran_low_t *input, tran_low_t *output, int bd);
102 void vpx_highbd_idct16_c(const tran_low_t *input, tran_low_t *output, int bd);
[all …]
Dloopfilter.c22 static INLINE int16_t signed_char_clamp_high(int t, int bd) { in signed_char_clamp_high() argument
23 switch (bd) { in signed_char_clamp_high()
362 uint16_t q2, uint16_t q3, int bd) { in highbd_filter_mask() argument
364 int16_t limit16 = (uint16_t)limit << (bd - 8); in highbd_filter_mask()
365 int16_t blimit16 = (uint16_t)blimit << (bd - 8); in highbd_filter_mask()
380 uint16_t q2, uint16_t q3, int bd) { in highbd_flat_mask4() argument
382 int16_t thresh16 = (uint16_t)thresh << (bd - 8); in highbd_flat_mask4()
397 uint16_t q3, uint16_t q4, int bd) { in highbd_flat_mask5() argument
398 int8_t mask = ~highbd_flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3, bd); in highbd_flat_mask5()
399 int16_t thresh16 = (uint16_t)thresh << (bd - 8); in highbd_flat_mask5()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/
DCharacterCollision.java46 BodyDef bd = new BodyDef(); in createWorld() local
47 Body ground = world.createBody(bd); in createWorld()
56 BodyDef bd = new BodyDef(); in createWorld() local
57 Body ground = world.createBody(bd); in createWorld()
71 BodyDef bd = new BodyDef(); in createWorld() local
72 Body ground = world.createBody(bd); in createWorld()
85 BodyDef bd = new BodyDef(); in createWorld() local
86 Body ground = world.createBody(bd); in createWorld()
103 BodyDef bd = new BodyDef(); in createWorld() local
104 bd.position.set(-3, 5); in createWorld()
[all …]
DCantilever.java50 BodyDef bd = new BodyDef(); in createWorld() local
51 ground = world.createBody(bd); in createWorld()
71 BodyDef bd = new BodyDef(); in createWorld() local
72 bd.type = BodyType.DynamicBody; in createWorld()
73 bd.position.set(-14.5f + 1.0f * i, 5.0f); in createWorld()
74 Body body = world.createBody(bd); in createWorld()
98 BodyDef bd = new BodyDef(); in createWorld() local
99 bd.type = BodyType.DynamicBody; in createWorld()
100 bd.position.set(-14.5f + 1.0f * i, 15.0f); in createWorld()
101 bd.gravityScale = 10.0f; in createWorld()
[all …]
DContactListenerTest.java56 BodyDef bd = new BodyDef(); in createWorld() local
57 Body ground = world.createBody(bd); in createWorld()
66 BodyDef bd = new BodyDef(); in createWorld() local
67 Body ground = world.createBody(bd); in createWorld()
81 BodyDef bd = new BodyDef(); in createWorld() local
82 Body ground = world.createBody(bd); in createWorld()
95 BodyDef bd = new BodyDef(); in createWorld() local
96 Body ground = world.createBody(bd); in createWorld()
113 BodyDef bd = new BodyDef(); in createWorld() local
114 bd.position.set(-3, 20); in createWorld()
[all …]
DBridge.java49 BodyDef bd = new BodyDef(); in createWorld() local
50 ground = world.createBody(bd); in createWorld()
72 BodyDef bd = new BodyDef(); in createWorld() local
73 bd.type = BodyType.DynamicBody; in createWorld()
74 bd.position.set(-14.5f + 1.0f * i, 5.0f); in createWorld()
75 Body body = world.createBody(bd); in createWorld()
103 BodyDef bd = new BodyDef(); in createWorld() local
104 bd.type = BodyType.DynamicBody; in createWorld()
105 bd.position.set(-8.0f + 8.0f * i, 12.0f); in createWorld()
106 Body body = world.createBody(bd); in createWorld()
[all …]
DBodyTypes.java53 BodyDef bd = new BodyDef(); in createWorld() local
54 ground = world.createBody(bd); in createWorld()
66 BodyDef bd = new BodyDef(); in createWorld() local
67 bd.type = BodyType.DynamicBody; in createWorld()
68 bd.position.set(0, 3.0f); in createWorld()
69 m_attachment = world.createBody(bd); in createWorld()
78 BodyDef bd = new BodyDef(); in createWorld() local
79 bd.type = BodyType.DynamicBody; in createWorld()
80 bd.position.set(-4.0f, 5.0f); in createWorld()
81 m_platform = world.createBody(bd); in createWorld()
[all …]
DApplyForce.java54 BodyDef bd = new BodyDef(); in createWorld() local
55 bd.position.set(0, 20); in createWorld()
56 ground = world.createBody(bd); in createWorld()
110 BodyDef bd = new BodyDef(); in createWorld() local
111 bd.type = BodyType.DynamicBody; in createWorld()
112 bd.angularDamping = 5.0f; in createWorld()
113 bd.linearDamping = 0.1f; in createWorld()
115 bd.position.set(0, 2); in createWorld()
116 bd.angle = (float)Math.PI; in createWorld()
117 bd.allowSleep = false; in createWorld()
[all …]
DVerticalStack.java53 BodyDef bd = new BodyDef(); in createWorld() local
54 Body ground = world.createBody(bd); in createWorld()
77 BodyDef bd = new BodyDef(); in createWorld() local
78 bd.type = BodyType.DynamicBody; in createWorld()
84 bd.position.set(xs[j] + x, 0.752f + 1.54f * i); in createWorld()
85 Body body = world.createBody(bd); in createWorld()
115 BodyDef bd = new BodyDef(); in keyDown() local
116 bd.type = BodyType.DynamicBody; in keyDown()
117 bd.bullet = true; in keyDown()
118 bd.position.set(-31, 5); in keyDown()
[all …]
DOneSidedPlatform.java57 BodyDef bd = new BodyDef(); in createWorld() local
58 Body ground = world.createBody(bd); in createWorld()
67 BodyDef bd = new BodyDef(); in createWorld() local
68 bd.position.set(0, 10); in createWorld()
69 Body body = world.createBody(bd); in createWorld()
79 BodyDef bd = new BodyDef(); in createWorld() local
80 bd.type = BodyType.DynamicBody; in createWorld()
81 bd.position.set(0, 12); in createWorld()
82 Body body = world.createBody(bd); in createWorld()
DPrismatic.java50 BodyDef bd = new BodyDef(); in createWorld() local
51 ground = world.createBody(bd); in createWorld()
62 BodyDef bd = new BodyDef(); in createWorld() local
63 bd.type = BodyType.DynamicBody; in createWorld()
64 bd.position.set(-10, 10); in createWorld()
65 bd.angle = 0.5f * (float)Math.PI; in createWorld()
66 bd.allowSleep = false; in createWorld()
68 Body body = world.createBody(bd); in createWorld()
DContinuousTest.java47 BodyDef bd = new BodyDef(); in createWorld() local
48 bd.position.set(0, 0); in createWorld()
49 Body body = world.createBody(bd); in createWorld()
63 BodyDef bd = new BodyDef(); in createWorld() local
64 bd.type = BodyType.DynamicBody; in createWorld()
65 bd.position.set(0, 20); in createWorld()
70 m_body = world.createBody(bd); in createWorld()
DSphereStack.java45 BodyDef bd = new BodyDef(); in createWorld() local
46 Body ground = world.createBody(bd); in createWorld()
59 BodyDef bd = new BodyDef(); in createWorld() local
60 bd.type = BodyType.DynamicBody; in createWorld()
61 bd.position.set(0, 4.0f + 3.0f * i); in createWorld()
62 Body body = world.createBody(bd); in createWorld()
/external/fio/engines/
Dbinject.c35 static void binject_buc_init(struct binject_data *bd, struct io_u *io_u) in binject_buc_init() argument
97 struct binject_data *bd = td->io_ops->data; in fio_binject_getevents() local
99 void *buf = bd->cmds; in fio_binject_getevents()
113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject"); in fio_binject_getevents()
115 bd->fd_flags[i] = -1; in fio_binject_getevents()
117 bd->pfds[i].fd = bf->fd; in fio_binject_getevents()
118 bd->pfds[i].events = POLLIN; in fio_binject_getevents()
123 ret = poll(bd->pfds, td->o.nr_files, -1); in fio_binject_getevents()
132 if (pollin_events(bd->pfds, td->o.nr_files)) in fio_binject_getevents()
150 bd->events[ev_index] = (struct io_u *) (unsigned long) buc->usr_ptr; in fio_binject_getevents()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_idct.c210 int stride, int tx_type, int bd) { in vp9_highbd_iht4x4_16_add_c() argument
226 IHT_4[tx_type].rows(input, outptr, bd); in vp9_highbd_iht4x4_16_add_c()
235 IHT_4[tx_type].cols(temp_in, temp_out, bd); in vp9_highbd_iht4x4_16_add_c()
238 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 4), bd); in vp9_highbd_iht4x4_16_add_c()
251 int stride, int tx_type, int bd) { in vp9_highbd_iht8x8_64_add_c() argument
261 ht.rows(input, outptr, bd); in vp9_highbd_iht8x8_64_add_c()
270 ht.cols(temp_in, temp_out, bd); in vp9_highbd_iht8x8_64_add_c()
273 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 5), bd); in vp9_highbd_iht8x8_64_add_c()
286 int stride, int tx_type, int bd) { in vp9_highbd_iht16x16_256_add_c() argument
296 ht.rows(input, outptr, bd); in vp9_highbd_iht16x16_256_add_c()
[all …]
Dvp9_idct.h34 typedef void (*highbd_transform_1d)(const tran_low_t*, tran_low_t*, int bd);
61 int eob, int bd);
63 int eob, int bd);
65 int eob, int bd);
67 int stride, int eob, int bd);
69 int stride, int eob, int bd);
71 uint8_t *dest, int stride, int eob, int bd);
73 uint8_t *dest, int stride, int eob, int bd);
75 uint8_t *dest, int stride, int eob, int bd);
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp70 if (!bd[b].def[reg]) in setup_def_use()
71 bd[b].use[reg] = true; in setup_def_use()
85 if (!bd[b].use[reg]) in setup_def_use()
86 bd[b].def[reg] = true; in setup_def_use()
111 if (bd[b].use[i] || (bd[b].liveout[i] && !bd[b].def[i])) { in compute_live_variables()
112 if (!bd[b].livein[i]) { in compute_live_variables()
113 bd[b].livein[i] = true; in compute_live_variables()
125 if (bd[block->block_num].livein[i] && !bd[b].liveout[i]) { in compute_live_variables()
126 bd[b].liveout[i] = true; in compute_live_variables()
141 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_live_variables()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices_test.py217 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
218 self.assertTrue(battor_device_mapping.IsBattor('ttyUSB3', bd))
219 self.assertFalse(battor_device_mapping.IsBattor('ttyUSB5', bd))
222 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
223 self.assertEquals(battor_device_mapping.GetBattorList(bd),
257 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
258 dev_foo = bd[1].FindDeviceNumber(11)
259 dev_bar = bd[1].FindDeviceNumber(12)
260 dev_battor_p7_h1_t0 = bd[2].FindDeviceNumber(21)
267 bd = find_usb_devices.GetBusNumberToDeviceTreeMap(fast=False)
[all …]
/external/dbus/dbus/
Ddbus-bus.c328 BusData *bd = data; in bus_data_free() local
330 if (bd->is_well_known) in bus_data_free()
342 if (bus_connections[i] == bd->connection) in bus_data_free()
350 dbus_free (bd->unique_name); in bus_data_free()
351 dbus_free (bd); in bus_data_free()
359 BusData *bd; in ensure_bus_data() local
364 bd = dbus_connection_get_data (connection, bus_data_slot); in ensure_bus_data()
365 if (bd == NULL) in ensure_bus_data()
367 bd = dbus_new0 (BusData, 1); in ensure_bus_data()
368 if (bd == NULL) in ensure_bus_data()
[all …]
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/
Db2Body.cpp25 b2Body::b2Body(const b2BodyDef* bd, b2World* world) in b2Body() argument
27 b2Assert(bd->position.IsValid()); in b2Body()
28 b2Assert(bd->linearVelocity.IsValid()); in b2Body()
29 b2Assert(b2IsValid(bd->angle)); in b2Body()
30 b2Assert(b2IsValid(bd->angularVelocity)); in b2Body()
31 b2Assert(b2IsValid(bd->angularDamping) && bd->angularDamping >= 0.0f); in b2Body()
32 b2Assert(b2IsValid(bd->linearDamping) && bd->linearDamping >= 0.0f); in b2Body()
36 if (bd->bullet) in b2Body()
40 if (bd->fixedRotation) in b2Body()
44 if (bd->allowSleep) in b2Body()
[all …]
/external/clang/test/CodeGen/
Dbuiltins-ppc-crypto-disabled.c29 vector unsigned long long bd = D_INIT2 in call_crypto_intrinsics()
33 vector unsigned long long r2 = __builtin_crypto_vcipher(ad, bd); in call_crypto_intrinsics()
34 vector unsigned long long r3 = __builtin_crypto_vcipherlast(ad, bd); in call_crypto_intrinsics()
35 vector unsigned long long r4 = __builtin_crypto_vncipher(ad, bd); in call_crypto_intrinsics()
36 vector unsigned long long r5 = __builtin_crypto_vncipherlast(ad, bd); in call_crypto_intrinsics()
41 vector unsigned long long r8 = __builtin_crypto_vpmsumb(ad, bd); in call_crypto_intrinsics()
42 vector unsigned long long r9 = __builtin_crypto_vpermxor(ad, bd, cd); in call_crypto_intrinsics()
/external/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h148 int bd
160 int w, int h, int bd) { \
172 bd); \
184 bd); \
196 bd); \
209 bd); \
221 bd); \
233 bd); \
243 w, h, bd); \
252 int w, int h, int bd) { \
[all …]
Dhighbd_loopfilter_sse2.c17 static INLINE __m128i signed_char_clamp_bd_sse2(__m128i value, int bd) { in signed_char_clamp_bd_sse2() argument
26 if (bd == 8) { in signed_char_clamp_bd_sse2()
30 } else if (bd == 10) { in signed_char_clamp_bd_sse2()
59 int bd) { in highbd_mb_lpf_horizontal_edge_w_sse2_8() argument
78 if (bd == 8) { in highbd_mb_lpf_horizontal_edge_w_sse2_8()
82 } else if (bd == 10) { in highbd_mb_lpf_horizontal_edge_w_sse2_8()
151 if (bd == 8) in highbd_mb_lpf_horizontal_edge_w_sse2_8()
153 else if (bd == 10) in highbd_mb_lpf_horizontal_edge_w_sse2_8()
166 signed_char_clamp_bd_sse2(_mm_subs_epi16(ps1, qs1), bd), hev); in highbd_mb_lpf_horizontal_edge_w_sse2_8()
170 filt = signed_char_clamp_bd_sse2(_mm_adds_epi16(filt, work_a), bd); in highbd_mb_lpf_horizontal_edge_w_sse2_8()
[all …]

12345678910