HomeSort by relevance Sort by last modified time
    Searched refs:bd (Results 1 - 25 of 61) sorted by null

1 2 3

  /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...]
OldBigDecimalTest.java 62 BigDecimal bd; local
63 bd = new BigDecimal("+23e-0");
64 assertEquals("incorrect value", "23", bd.toString());
65 bd = new BigDecimal("-23e+0");
66 assertEquals("incorrect value", "-23", bd.toString());
OldBigDecimalArithmeticTest.java 477 BigDecimal bd; local
480 bd = new BigDecimal(new BigInteger("123456789012345678"), 3, mc);
481 assertEquals("incorrect value", "123456789012345.67", bd.toString());
484 bd = (new BigDecimal(biStr)).round(mc);
485 assertEquals("incorrect value", "1.234567890123456789012345678902E+44", bd.toString());
486 bd = (new BigDecimal(nbiStr)).round(mc);
487 assertEquals("incorrect value", "-1.234567890123456789012345678902E+44", bd.toString());
490 bd = (new BigDecimal(biStr)).round(mc);
491 assertEquals("incorrect value", "1.234567890123456789012345678E+44", bd.toString());
492 bd = (new BigDecimal(nbiStr)).round(mc)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldBidiTest.java 25 Bidi bd; field in class:OldBidiTest
29 bd = new Bidi("bidi", 173);
30 assertNotNull("Bidi representation is null", bd.toString());
44 bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT);
46 assertEquals(0, bd.getRunLevel(0));
47 assertEquals(0, bd.getRunLevel(bd.getRunCount()));
52 bd = new Bidi("text", Bidi.DIRECTION_RIGHT_TO_LEFT);
54 assertEquals(2, bd.getRunLevel(0));
59 bd = new Bidi("text", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT)
    [all...]
DecimalFormatTest.java 67 BigDecimal bd = new BigDecimal(longDec); local
68 assertBigDecimalWithFraction(bd, "1,123.46%", 2);
69 assertBigDecimalWithFraction(bd, "1,123.45678901%", 8);
70 assertBigDecimalWithFraction(bd, "1,123.4567890123%", 10);
71 assertBigDecimalWithFraction(bd, "1,123.45678901234567890123%", 20);
72 assertBigDecimalWithFraction(bd, "1,123.456789012345678901234567890123%", 30);
133 private void assertBigDecimalWithFraction(BigDecimal bd, String expectedResult, int fraction) {
136 assertEquals(expectedResult, pf.format(bd));
  /external/libvpx/vp8/encoder/arm/
encodemb_arm.c 23 void vp8_subtract_b_neon(BLOCK *be, BLOCKD *bd, int pitch)
27 unsigned char *pred_ptr = bd->predictor;
  /packages/apps/Email/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;
MimeStreamParser.java 144 BodyDescriptor bd = parseHeader(is); local
146 if (bd.isMultipart()) {
147 bodyDescriptors.addFirst(bd);
149 handler.startMultipart(bd);
152 new MimeBoundaryInputStream(is, bd.getBoundary());
157 tempIs = new MimeBoundaryInputStream(is, bd.getBoundary());
177 } else if (bd.isMessage()) {
178 if (bd.isBase64Encoded()) {
182 } else if (bd.isQuotedPrintableEncoded()) {
187 bodyDescriptors.addFirst(bd);
229 BodyDescriptor bd = new BodyDescriptor(bodyDescriptors.isEmpty() local
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
FormatterTest.java 41 BigDecimal bd = new BigDecimal((long) 1024, mc); local
48 assertEquals("1.00KB", Formatter.formatFileSize(mContext, bd.pow(1).longValue()));
50 assertEquals("1.00MB", Formatter.formatFileSize(mContext, bd.pow(2).longValue()));
52 assertEquals("1.00GB", Formatter.formatFileSize(mContext, bd.pow(3).longValue()));
54 assertEquals("1.00TB", Formatter.formatFileSize(mContext, bd.pow(4).longValue()));
56 assertEquals("1.00PB", Formatter.formatFileSize(mContext, bd.pow(5).longValue()));
58 assertEquals("1024PB", Formatter.formatFileSize(mContext, bd.pow(6).longValue()));
  /frameworks/base/media/libstagefright/codecs/aacdec/
calc_auto_corr.h 98 Int32 bd,
107 Int32 bd,
calc_auto_corr.cpp 136 Int32 bd,
152 temp1 = (realBuf[ 0][bd]) >> N;
153 temp3 = (realBuf[-1][bd]) >> N;
154 temp5 = (realBuf[-2][bd]) >> N;
172 temp1 = (realBuf[j][bd]) >> N;
253 Int32 bd,
279 temp1 = realBuf[0 ][bd] >> N;
280 temp2 = imagBuf[0 ][bd] >> N;
281 temp3 = realBuf[0-1][bd] >> N;
282 temp4 = imagBuf[0-1][bd] >> N
    [all...]
  /external/dbus/dbus/
dbus-bus.c 276 BusData *bd = data; local
278 if (bd->is_well_known)
290 if (bus_connections[i] == bd->connection)
298 dbus_free (bd->unique_name);
299 dbus_free (bd);
307 BusData *bd; local
312 bd = dbus_connection_get_data (connection, bus_data_slot);
313 if (bd == NULL)
315 bd = dbus_new0 (BusData, 1);
316 if (bd == NULL
379 BusData *bd; local
605 BusData *bd; local
719 BusData *bd; local
762 BusData *bd; local
    [all...]
  /external/qemu/audio/
dsound_template.h 190 DSCBUFFERDESC bd; local
195 DSBUFFERDESC bd; local
209 memset (&bd, 0, sizeof (bd));
210 bd.dwSize = sizeof (bd);
211 bd.lpwfxFormat = &wfx;
213 bd.dwBufferBytes = conf.bufsize_in;
216 &bd,
221 bd.dwFlags = DSBCAPS_STICKYFOCUS | DSBCAPS_GETCURRENTPOSITION2
    [all...]
  /external/libvpx/vp8/common/
vpxblit.h 105 int vpx_get_size_of_pixel(unsigned int bd);
106 void *vpx_get_blitter(unsigned int bd);
  /packages/apps/Email/src/org/apache/james/mime4j/message/
Message.java 162 public void startMultipart(BodyDescriptor bd) {
174 public void body(BodyDescriptor bd, InputStream is) throws IOException {
177 String enc = bd.getTransferEncoding();
185 if (bd.getMimeType().startsWith("text/")) {
186 body = new MemoryTextBody(is, bd.getCharset());
  /external/kernel-headers/original/linux/mtd/
bbm.h 122 extern int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
  /external/jdiff/src/jdiff/
DiffMyers.java 112 final int[] bd = bdiag; // Additional help for the compiler. local
126 bd[bdiagoff + bmid] = xlim;
158 if (odd && bmin <= d && d <= bmax && bd[bdiagoff + d] <= fd[fdiagoff + d])
167 bd[bdiagoff + --bmin - 1] = Integer.MAX_VALUE;
171 bd[bdiagoff + ++bmax + 1] = Integer.MAX_VALUE;
176 int x, y, oldx, tlo = bd[bdiagoff + d - 1], thi = bd[bdiagoff + d + 1];
189 bd[bdiagoff + d] = x;
190 if (!odd && fmin <= d && d <= fmax && bd[bdiagoff + d] <= fd[fdiagoff + d])
246 if ((xlim - bd[bdiagoff + d])*2 + dd > 12 * (c + (dd > 0 ? dd : -dd))
    [all...]
  /external/libvpx/vp8/encoder/
encodemb.h 28 void (sym)(BLOCK *be,BLOCKD *bd, int pitch)
rdopt.c 436 BLOCKD *bd; local
443 bd = &mb->e_mbd.block[i];
449 int this_diff = be->coeff[j] - bd->dqcoeff[j];
463 BLOCKD *bd; local
472 bd = &mb->e_mbd.block[i];
474 error += vp8_block_error_c(be->coeff, bd->dqcoeff);
1040 BLOCKD *bd = &x->e_mbd.block[i]; local
1044 vp8_build_inter_predictors_b(bd, 16, x->e_mbd.subpixel_predict);
1045 ENCODEMB_INVOKE(rtcd, subb)(be, bd, 16);
1050 x->quantize_b(be, bd);
1128 int bd = 0; local
1394 BLOCKD *bd = &x->e_mbd.block[i]; local
1406 BLOCKD *bd = &x->e_mbd.block[i]; local
1768 BLOCKD *bd = &x->e_mbd.block[i]; local
    [all...]
  /libcore/luni/src/main/java/javax/xml/datatype/
Duration.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
InputLanguageSelection.java 104 BinaryDictionary bd = new BinaryDictionary(this, dictionaries, Suggest.DIC_MAIN); local
108 if (bd.getSize() > Suggest.LARGE_DICTIONARY_THRESHOLD / 4) {
111 bd.close();
  /external/dbus/bus/
bus.c 73 BusServerData *bd; local
78 bd = BUS_SERVER_DATA (server);
79 if (bd == NULL)
85 context = bd->context;
198 BusServerData *bd = data; local
200 dbus_free (bd);
209 BusServerData *bd; local
211 bd = dbus_new0 (BusServerData, 1);
214 bd, free_server_data))
216 dbus_free (bd);
    [all...]
  /external/grub/stage2/
gunzip.c 507 static int bd; /* lookup bits for td */ variable
722 unsigned ml, md; /* masks for bl and bd bits */
735 md = mask_bits[bd];
778 NEEDBITS ((unsigned) bd);
904 bd = 5;
905 if ((i = huft_build (l, 30, 0, cpdist, cpdext, &td, &bd)) > 1)
1047 bd = dbits;
1048 if ((i = huft_build (ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0)
    [all...]

Completed in 557 milliseconds

1 2 3