Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 25 of 231) 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 …]
Dvpx_convolve.c344 int w, int h, int bd) { in highbd_convolve_horiz() argument
357 dst[x] = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_convolve_horiz()
369 int w, int h, int bd) { in highbd_convolve_avg_horiz() argument
383 clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd), 1); in highbd_convolve_avg_horiz()
395 int bd) { in highbd_convolve_vert() argument
409 ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_convolve_vert()
421 int bd) { in highbd_convolve_avg_vert() argument
435 clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd), 1); in highbd_convolve_avg_vert()
449 int w, int h, int bd) { in highbd_convolve() argument
474 intermediate_height, bd); in highbd_convolve()
[all …]
Dintrapred.c501 const uint16_t *left, int bd) { in highbd_d207_predictor() argument
504 (void) bd; in highbd_d207_predictor()
533 const uint16_t *left, int bd) { in highbd_d207e_predictor() argument
536 (void) bd; in highbd_d207e_predictor()
550 const uint16_t *left, int bd) { in highbd_d63_predictor() argument
553 (void) bd; in highbd_d63_predictor()
568 const uint16_t *left, int bd) { in highbd_d45_predictor() argument
571 (void) bd; in highbd_d45_predictor()
584 const uint16_t *left, int bd) { in highbd_d45e_predictor() argument
587 (void) bd; in highbd_d45e_predictor()
[all …]
/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/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices_test.py193 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
194 self.assertTrue(find_usb_devices.IsBattor('ttyUSB3', bd))
195 self.assertFalse(find_usb_devices.IsBattor('ttyUSB5', bd))
198 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
199 self.assertEquals(find_usb_devices.GetBattorList(bd),
233 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
234 dev_foo = bd[1].FindDeviceNumber(11)
235 dev_bar = bd[1].FindDeviceNumber(12)
236 dev_battor_p7_h1_t0 = bd[2].FindDeviceNumber(21)
243 bd = find_usb_devices.GetBusNumberToDeviceTreeMap()
[all …]
/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/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/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 …]
/external/icu/icu4c/source/common/
Dubidi.c672 bracketInit(UBiDi *pBiDi, BracketData *bd) { in bracketInit() argument
673 bd->pBiDi=pBiDi; in bracketInit()
674 bd->isoRunLast=0; in bracketInit()
675 bd->isoRuns[0].start=0; in bracketInit()
676 bd->isoRuns[0].limit=0; in bracketInit()
677 bd->isoRuns[0].level=GET_PARALEVEL(pBiDi, 0); in bracketInit()
678bd->isoRuns[0].lastStrong=bd->isoRuns[0].lastBase=bd->isoRuns[0].contextDir=GET_PARALEVEL(pBiDi, 0… in bracketInit()
679 bd->isoRuns[0].contextPos=0; in bracketInit()
681 bd->openings=pBiDi->openingsMemory; in bracketInit()
682 bd->openingsCount=pBiDi->openingsSize / sizeof(Opening); in bracketInit()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c542 uint16_t *output, int outlength, int bd) { in highbd_interpolate() argument
582 *optr++ = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_interpolate()
596 *optr++ = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_interpolate()
607 *optr++ = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_interpolate()
620 *optr++ = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_interpolate()
626 uint16_t *output, int bd) { in highbd_down2_symeven() argument
646 *optr++ = clip_pixel_highbd(sum, bd); in highbd_down2_symeven()
656 *optr++ = clip_pixel_highbd(sum, bd); in highbd_down2_symeven()
665 *optr++ = clip_pixel_highbd(sum, bd); in highbd_down2_symeven()
676 *optr++ = clip_pixel_highbd(sum, bd); in highbd_down2_symeven()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java2041 private void bracketInit(BracketData bd) { in bracketInit() argument
2042 bd.isoRunLast = 0; in bracketInit()
2043 bd.isoRuns[0] = new IsoRun(); in bracketInit()
2044 bd.isoRuns[0].start = 0; in bracketInit()
2045 bd.isoRuns[0].limit = 0; in bracketInit()
2046 bd.isoRuns[0].level = GetParaLevelAt(0); in bracketInit()
2047bd.isoRuns[0].lastStrong = bd.isoRuns[0].lastBase = bd.isoRuns[0].contextDir = (byte)(GetParaLevel… in bracketInit()
2048 bd.isoRuns[0].contextPos = 0; in bracketInit()
2049 bd.openings = new Opening[SIMPLE_OPENINGS_COUNT]; in bracketInit()
2050 bd.isNumbersSpecial = reorderingMode == REORDER_NUMBERS_SPECIAL || in bracketInit()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidi.java2005 private void bracketInit(BracketData bd) { in bracketInit() argument
2006 bd.isoRunLast = 0; in bracketInit()
2007 bd.isoRuns[0] = new IsoRun(); in bracketInit()
2008 bd.isoRuns[0].start = 0; in bracketInit()
2009 bd.isoRuns[0].limit = 0; in bracketInit()
2010 bd.isoRuns[0].level = GetParaLevelAt(0); in bracketInit()
2011bd.isoRuns[0].lastStrong = bd.isoRuns[0].lastBase = bd.isoRuns[0].contextDir = (byte)(GetParaLevel… in bracketInit()
2012 bd.isoRuns[0].contextPos = 0; in bracketInit()
2013 bd.openings = new Opening[SIMPLE_OPENINGS_COUNT]; in bracketInit()
2014 bd.isNumbersSpecial = reorderingMode == REORDER_NUMBERS_SPECIAL || in bracketInit()
[all …]
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c46 BLOCKD *bd; in vp8_mbblock_error_msa() local
65 bd = &mb->e_mbd.block[2 * loop_cnt]; in vp8_mbblock_error_msa()
67 dq_coeff_ptr = bd->dqcoeff; in vp8_mbblock_error_msa()
75 bd = &mb->e_mbd.block[2 * loop_cnt + 1]; in vp8_mbblock_error_msa()
77 dq_coeff_ptr = bd->dqcoeff; in vp8_mbblock_error_msa()
115 BLOCKD *bd; in vp8_mbuverror_msa() local
127 bd = &mb->e_mbd.block[loop_cnt]; in vp8_mbuverror_msa()
129 dq_coeff_ptr = bd->dqcoeff; in vp8_mbuverror_msa()
137 bd = &mb->e_mbd.block[loop_cnt + 1]; in vp8_mbuverror_msa()
139 dq_coeff_ptr = bd->dqcoeff; in vp8_mbuverror_msa()
/external/jdiff/src/jdiff/
DDiffMyers.java112 final int[] bd = bdiag; // Additional help for the compiler. in diag() local
126 bd[bdiagoff + bmid] = xlim; in diag()
158 if (odd && bmin <= d && d <= bmax && bd[bdiagoff + d] <= fd[fdiagoff + d]) in diag()
167 bd[bdiagoff + --bmin - 1] = Integer.MAX_VALUE; in diag()
171 bd[bdiagoff + ++bmax + 1] = Integer.MAX_VALUE; in diag()
176 int x, y, oldx, tlo = bd[bdiagoff + d - 1], thi = bd[bdiagoff + d + 1]; in diag()
189 bd[bdiagoff + d] = x; in diag()
190 if (!odd && fmin <= d && d <= fmax && bd[bdiagoff + d] <= fd[fdiagoff + d]) in diag()
246 if ((xlim - bd[bdiagoff + d])*2 + dd > 12 * (c + (dd > 0 ? dd : -dd))) in diag()
248 if ((xlim - bd[bdiagoff + d]) * 2 + dd > best in diag()
[all …]
/external/libpng/contrib/libtests/
Dgentests.sh88 for bd in 1 2 4 8
90 doit "$ct" "$bd"
98 for bd in 8 16
100 doit "$ct" "$bd"
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothFacade.java160 for (BluetoothDevice bd : devices) { in getDevice()
161 Log.d(bd.getAliasName() + " " + bd.getAddress()); in getDevice()
162 if (deviceMatch(bd, deviceID)) { in getDevice()
163 Log.d("Found match " + bd.getAliasName() + " " + bd.getAddress()); in getDevice()
164 return bd; in getDevice()
171 for (BluetoothDevice bd : devices) { in deviceExists()
172 if (deviceMatch(bd, deviceID)) { in deviceExists()
173 Log.d("Found match " + bd.getAliasName() + " " + bd.getAddress()); in deviceExists()
/external/libvpx/libvpx/test/
Dlpf_8_test.cc40 int count, int bd);
44 const uint8_t *thresh1, int bd);
62 int count, int bd) { in wrapper_vertical_16_sse2() argument
63 vpx_highbd_lpf_vertical_16_sse2(s, p, blimit, limit, thresh, bd); in wrapper_vertical_16_sse2()
68 int count, int bd) { in wrapper_vertical_16_c() argument
69 vpx_highbd_lpf_vertical_16_c(s, p, blimit, limit, thresh, bd); in wrapper_vertical_16_c()
74 int count, int bd) { in wrapper_vertical_16_dual_sse2() argument
75 vpx_highbd_lpf_vertical_16_dual_sse2(s, p, blimit, limit, thresh, bd); in wrapper_vertical_16_dual_sse2()
80 int count, int bd) { in wrapper_vertical_16_dual_c() argument
81 vpx_highbd_lpf_vertical_16_dual_c(s, p, blimit, limit, thresh, bd); in wrapper_vertical_16_dual_c()
[all …]
/external/v8/src/mips/
Dmacro-assembler-mips.h150 void Name(target_type target, BranchDelaySlot bd = PROTECT); \
151 inline void Name(BranchDelaySlot bd, target_type target) { \
152 Name(target, bd); \
156 BranchDelaySlot bd = PROTECT); \
157 inline void Name(BranchDelaySlot bd, \
160 Name(target, COND_ARGS, bd); \
178 const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT
197 inline void Ret(BranchDelaySlot bd, Condition cond = al,
199 Ret(cond, rs, rt, bd);
799 BranchDelaySlot bd = PROTECT) {
[all …]

12345678910