/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
BidiTest.java | 28 Bidi bd; field in class:BidiTest 50 bd = new Bidi(null, Bidi.DIRECTION_RIGHT_TO_LEFT); 57 bd = new Bidi(null, 0, new byte[] { 0 }, 0, 0, 65 bd = new Bidi(null); 70 bd = new Bidi("a".toCharArray(), 0, null, 0, 1, 76 bd = new Bidi("1".toCharArray(), 0, new byte[] { 0 }, 0, 20, 84 bd = new Bidi("1234567".toCharArray(), 0, new byte[] { 0 }, 0, 4, 92 bd = new Bidi("1234567".toCharArray(), 4, new byte[] { 0, 1, 2, 3, 100 bd = new Bidi("1234567".toCharArray(), 0, new byte[] { 0, 1, 2, 3, 109 bd = new Bidi(new char[] { 't','t','t'}, -1, new byte[] { 2, 2 }, 1, 1, 1) [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
highbd_idct32x32_add_sse2.c | 18 int stride, int bd) { 19 highbd_idct_1_add_kernel(input, dest, stride, bd, 32);
|
highbd_inv_txfm_sse2.h | 32 uint16_t *dest, int stride, int bd, 35 // Faster than _mm_set1_epi16((1 << bd) - 1). 37 const __m128i max = _mm_sub_epi16(_mm_slli_epi16(one, bd), one); 42 out = HIGHBD_WRAPLOW(dct_const_round_shift(input[0] * cospi_16_64), bd); 43 out = HIGHBD_WRAPLOW(dct_const_round_shift(out * cospi_16_64), bd); 57 static INLINE __m128i clamp_high_sse2(__m128i value, int bd) { 61 const __m128i max = _mm_sub_epi16(_mm_slli_epi16(one, bd), one);
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalConstructorsTest.java | 48 BigDecimal bd; local 53 bd = new BigDecimal(bi, mc); 54 assertEquals("incorrect value", "1.234567890123456789012345678902E+34", bd.toString()); 55 bd = new BigDecimal(nbi, mc); 56 assertEquals("incorrect value", "-1.234567890123456789012345678902E+34", bd.toString()); 59 bd = new BigDecimal(bi, mc); 60 assertEquals("incorrect value", "1.234567890123456789012345678E+34", bd.toString()); 61 bd = new BigDecimal(nbi, mc); 62 assertEquals("incorrect value", "-1.234567890123456789012345678E+34", bd.toString()); 65 bd = new BigDecimal(bi, mc) 134 BigDecimal bd; local 266 BigDecimal bd; local 306 BigDecimal bd; local 393 BigDecimal bd; local 445 BigDecimal bd; local 528 BigDecimal bd; local 583 BigDecimal bd; local 651 BigDecimal bd = new BigDecimal(a); local 674 BigDecimal bd; local [all...] |
/external/toybox/toys/other/ |
bzcat.c | 110 static unsigned int get_bits(struct bunzip_data *bd, char bits_wanted) 116 while (bd->inbufBitCount < bits_wanted) { 119 if (bd->inbufPos == bd->inbufCount) { 120 if (0 >= (bd->inbufCount = read(bd->in_fd, bd->inbuf, IOBUF_SIZE))) 122 bd->inbufPos = 0; 126 if (bd->inbufBitCount>=24) { 127 bits = bd->inbufBits&((1<<bd->inbufBitCount)-1) 607 struct bunzip_data *bd; local 645 struct bunzip_data *bd; local [all...] |
/external/clang/test/CodeGen/ |
builtins-ppc-crypto-disabled.c | 29 vector unsigned long long bd = D_INIT2 33 vector unsigned long long r2 = __builtin_crypto_vcipher(ad, bd); 34 vector unsigned long long r3 = __builtin_crypto_vcipherlast(ad, bd); 35 vector unsigned long long r4 = __builtin_crypto_vncipher(ad, bd); 36 vector unsigned long long r5 = __builtin_crypto_vncipherlast(ad, bd); 41 vector unsigned long long r8 = __builtin_crypto_vpmsumb(ad, bd); 42 vector unsigned long long r9 = __builtin_crypto_vpermxor(ad, bd, cd);
|
/external/libvpx/libvpx/vpx_dsp/ |
inv_txfm.h | 44 static INLINE tran_high_t highbd_check_range(tran_high_t input, int bd) { 51 const int32_t int_max = (1 << (7 + bd)) - 1; 57 (void)bd; 75 // bd of 8 uses trans_low with 16bits, need to remove 16bits 76 // bd of 10 uses trans_low with 18bits, need to remove 14bits 77 // bd of 12 uses trans_low with 20bits, need to remove 12bits 78 // bd of x uses trans_low with 8+x bits, need to remove 24-x bits 82 #define HIGHBD_WRAPLOW(x, bd) \ 83 ((((int32_t)highbd_check_range((x), bd)) << (24 - bd)) >> (24 - bd) [all...] |
inv_txfm.c | [all...] |
/external/libnl/lib/route/link/ |
bridge.c | 67 struct bridge_data *bd; local 69 if ((bd = bridge_alloc(link))) 70 memcpy(bd, data, sizeof(*bd)); 72 return bd; 100 struct bridge_data *bd = data; local 109 bd->b_port_state = nla_get_u8(attr); 110 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; 119 bd->b_priv_flags |= PRIV_FLAG_NEW_ATTRS; 122 bd->b_port_state = nla_get_u8(br_attrs[IFLA_BRPORT_STATE]) 147 struct bridge_data *bd = data; local 262 struct bridge_data *bd; local 291 struct bridge_data *bd = bridge_data(link); local 315 struct bridge_data *bd = bridge_data(link); local 334 struct bridge_data *bd = bridge_data(link); local 355 struct bridge_data *bd = bridge_data(link); local 374 struct bridge_data *bd = bridge_data(link); local 397 struct bridge_data *bd = bridge_data(link); local 422 struct bridge_data *bd = bridge_data(link); local 452 struct bridge_data *bd = bridge_data(link); local 475 struct bridge_data *bd = bridge_data(link); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldBidiTest.java | 28 Bidi bd = new Bidi("bidi", 173); local 29 assertNotNull("Bidi representation is null", bd.toString()); 43 Bidi bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT); local 45 assertEquals(0, bd.getRunLevel(0)); 46 assertEquals(0, bd.getRunLevel(bd.getRunCount())); 51 bd = new Bidi("text", Bidi.DIRECTION_RIGHT_TO_LEFT); 53 assertEquals(2, bd.getRunLevel(0)); 58 bd = new Bidi("text", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT); 60 assertEquals(0, bd.getRunLevel(0)) 67 Bidi bd = new Bidi(new char[] { 's', 's', 's' }, 0, new byte[] { (byte) -7, local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
FormatterTest.java | 45 final BigDecimal bd = new BigDecimal((long) 1000, mc); local 61 assertEquals("1.00 kB", Formatter.formatFileSize(context, bd.pow(1).longValue())); 62 assertEquals("1.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 3 / 2)); 63 assertEquals("12.50 kB", Formatter.formatFileSize(context, bd.pow(1).longValue() * 25 / 2)); 65 assertEquals("1.00 MB", Formatter.formatFileSize(context, bd.pow(2).longValue())); 67 assertEquals("1.00 GB", Formatter.formatFileSize(context, bd.pow(3).longValue())); 69 assertEquals("1.00 TB", Formatter.formatFileSize(context, bd.pow(4).longValue())); 71 assertEquals("1.00 PB", Formatter.formatFileSize(context, bd.pow(5).longValue())); 73 assertEquals("1000 PB", Formatter.formatFileSize(context, bd.pow(6).longValue())); 85 final BigDecimal bd = new BigDecimal((long) 1000, mc) local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
SimpleContentHandler.java | 47 * @param bd encapsulates the values (either read from the 56 public abstract void bodyDecoded(BodyDescriptor bd, InputStream is) throws IOException; 89 public final void body(BodyDescriptor bd, InputStream is) throws IOException { 90 if (bd.isBase64Encoded()) { 91 bodyDecoded(bd, new Base64InputStream(is)); 93 else if (bd.isQuotedPrintableEncoded()) { 94 bodyDecoded(bd, new QuotedPrintableInputStream(is)); 97 bodyDecoded(bd, is);
|
AbstractContentHandler.java | 45 public void startMultipart(BodyDescriptor bd) { 51 public void body(BodyDescriptor bd, InputStream is) throws IOException {
|
ContentHandler.java | 142 * @param bd encapsulates the values (either read from the 148 void startMultipart(BodyDescriptor bd); 159 * @param bd see {@link #startMultipart(BodyDescriptor)} 161 * - it will not be decoded if encoded. The <code>bd</code> 166 void body(BodyDescriptor bd, InputStream is) throws IOException;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_idct.h | 34 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 uint16_t *dest, int stride, int eob, int bd); 73 uint16_t *dest, int stride, int eob, int bd); 75 uint16_t *dest, int stride, int eob, int bd);
|
vp9_idct.c | 209 int stride, int tx_type, int bd) { 224 IHT_4[tx_type].rows(input, outptr, bd); 232 IHT_4[tx_type].cols(temp_in, temp_out, bd); 235 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 4), bd); 248 int stride, int tx_type, int bd) { 257 ht.rows(input, outptr, bd); 265 ht.cols(temp_in, temp_out, bd); 268 dest[j * stride + i], ROUND_POWER_OF_TWO(temp_out[j], 5), bd); 281 int stride, int tx_type, int bd) { 290 ht.rows(input, outptr, bd); [all...] |
/external/libpng/contrib/libtests/ |
gentests.sh | 88 for bd in 1 2 4 8 90 doit "$ct" "$bd" 98 for bd in 8 16 100 doit "$ct" "$bd"
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
highbd_vpx_convolve_neon.c | 20 int h, int bd) { 33 intermediate_height, bd); 37 x_step_q4, filter_y, y_step_q4, w, h, bd); 44 int w, int h, int bd) { 56 intermediate_height, bd); 58 x_step_q4, filter_y, y_step_q4, w, h, bd);
|
/external/fio/engines/ |
binject.c | 35 static void binject_buc_init(struct binject_data *bd, struct io_u *io_u) 97 struct binject_data *bd = td->io_ops->data; local 99 void *buf = bd->cmds; 113 bd->fd_flags[i] = fio_set_fd_nonblocking(bf->fd, "binject"); 115 bd->fd_flags[i] = -1; 117 bd->pfds[i].fd = bf->fd; 118 bd->pfds[i].events = POLLIN; 123 ret = poll(bd->pfds, td->o.nr_files, -1); 132 if (pollin_events(bd->pfds, td->o.nr_files)) 150 bd->events[ev_index] = (struct io_u *) (unsigned long) buc->usr_ptr 188 struct binject_data *bd = td->io_ops->data; local 237 struct binject_data *bd = td->io_ops->data; local 379 struct binject_data *bd = td->io_ops->data; local 392 struct binject_data *bd; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_live_variables.cpp | 70 if (!bd[b].def[reg]) 71 bd[b].use[reg] = true; 85 if (!bd[b].use[reg]) 86 bd[b].def[reg] = true; 111 if (bd[b].use[i] || (bd[b].liveout[i] && !bd[b].def[i])) { 112 if (!bd[b].livein[i]) { 113 bd[b].livein[i] = true; 125 if (bd[block->block_num].livein[i] && !bd[b].liveout[i]) [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ilp32/ |
x86-64-amdfam10.d | 10 0: f3 48 0f bd 19[ ]+lzcnt \(%rcx\),%rbx 11 5: f3 0f bd 19[ ]+lzcnt \(%rcx\),%ebx 12 9: 66 f3 0f bd 19[ ]+lzcnt \(%rcx\),%bx 13 e: f3 48 0f bd d9[ ]+lzcnt %rcx,%rbx 14 13: f3 0f bd d9[ ]+lzcnt %ecx,%ebx 15 17: 66 f3 0f bd d9[ ]+lzcnt %cx,%bx 28 [ ]*[a-f0-9]+: f3 48 0f bd 19[ ]+lzcnt \(%rcx\),%rbx 29 [ ]*[a-f0-9]+: f3 0f bd 19[ ]+lzcnt \(%rcx\),%ebx 30 [ ]*[a-f0-9]+: 66 f3 0f bd 19[ ]+lzcnt \(%rcx\),%bx 31 [ ]*[a-f0-9]+: f3 48 0f bd d9[ ]+lzcnt %rcx,%rb [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
x86-64-amdfam10.d | 9 0: f3 48 0f bd 19[ ]+lzcnt \(%rcx\),%rbx 10 5: f3 0f bd 19[ ]+lzcnt \(%rcx\),%ebx 11 9: 66 f3 0f bd 19[ ]+lzcnt \(%rcx\),%bx 12 e: f3 48 0f bd d9[ ]+lzcnt %rcx,%rbx 13 13: f3 0f bd d9[ ]+lzcnt %ecx,%ebx 14 17: 66 f3 0f bd d9[ ]+lzcnt %cx,%bx 27 [ ]*[a-f0-9]+: f3 48 0f bd 19[ ]+lzcnt \(%rcx\),%rbx 28 [ ]*[a-f0-9]+: f3 0f bd 19[ ]+lzcnt \(%rcx\),%ebx 29 [ ]*[a-f0-9]+: 66 f3 0f bd 19[ ]+lzcnt \(%rcx\),%bx 30 [ ]*[a-f0-9]+: f3 48 0f bd d9[ ]+lzcnt %rcx,%rb [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
find_usb_devices_test.py | 217 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/libmojo/third_party/catapult/devil/devil/utils/ |
find_usb_devices_test.py | 217 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...] |
/libcore/benchmarks/src/benchmarks/regression/ |
BidiBenchmark.java | 37 Bidi bd = new Bidi(new char[]{'s', 's', 's'}, 0, new byte[]{(byte) 1, local 57 Bidi bd = new Bidi(new char[]{'\u05D0', '\u05D0', '\u05D0'}, 0, local 60 bd = new Bidi(new char[]{'\u05D0', '\u05D0', '\u05D0'}, 0, 68 Bidi bd = new Bidi("a\u05D0a\"a\u05D0\"\u05D0a".toCharArray(), 0, local
|