/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()));
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
BidiTest.java | 36 Bidi bd; field in class:BidiTest 78 bd = new Bidi(null, Bidi.DIRECTION_RIGHT_TO_LEFT); 85 bd = new Bidi(null, 0, new byte[] { 0 }, 0, 0, 93 bd = new Bidi(null); 98 bd = new Bidi("a".toCharArray(), 0, null, 0, 1, 110 bd = new Bidi("1".toCharArray(), 0, new byte[] { 0 }, 0, 20, 118 bd = new Bidi("1234567".toCharArray(), 0, new byte[] { 0 }, 0, 4, 126 bd = new Bidi("1234567".toCharArray(), 4, new byte[] { 0, 1, 2, 3, 134 bd = new Bidi("1234567".toCharArray(), 0, new byte[] { 0, 1, 2, 3, 143 bd = new Bidi(new char[] { 't', 't', 't' }, -1 [all...] |
DecimalFormatTest.java | 2617 BigDecimal bd = new BigDecimal(longDec); 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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
InputLanguageSelection.java | 102 BinaryDictionary bd = new BinaryDictionary(this, R.raw.main); local 105 if (bd.getSize() > Suggest.LARGE_DICTIONARY_THRESHOLD / 4) { 108 bd.close();
|
/dalvik/libcore/math/src/test/java/tests/api/java/math/ |
BigDecimalTest.java | 174 BigDecimal bd; local 175 bd = new BigDecimal("+23e-0"); 176 assertEquals("incorrect value", "23", bd.toString()); 177 bd = new BigDecimal("-23e+0"); 178 assertEquals("incorrect value", "-23", bd.toString()); 1272 BigDecimal bd = new BigDecimal(in, 0, 9); local [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BlockDumper.java | 84 BlockDumper bd = local 87 bd.dump();
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
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...] |
/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/distrib/sdl-1.2.12/src/video/ |
SDL_pixels.c | 318 int rd, gd, bd; local 326 bd = pal->colors[i].b - b; 327 distance = (rd*rd)+(gd*gd)+(bd*bd);
|
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/ |
BigDecimalConstructorsTest.java | 150 BigDecimal bd; local 155 bd = new BigDecimal(bi, mc); 156 assertEquals("incorrect value", "1.234567890123456789012345678902E+34", bd.toString()); 157 bd = new BigDecimal(nbi, mc); 158 assertEquals("incorrect value", "-1.234567890123456789012345678902E+34", bd.toString()); 161 bd = new BigDecimal(bi, mc); 162 assertEquals("incorrect value", "1.234567890123456789012345678E+34", bd.toString()); 163 bd = new BigDecimal(nbi, mc); 164 assertEquals("incorrect value", "-1.234567890123456789012345678E+34", bd.toString()); 167 bd = new BigDecimal(bi, mc) 241 BigDecimal bd; local 378 BigDecimal bd; local 475 BigDecimal bd; local 581 BigDecimal bd; local 716 BigDecimal bd; local 804 BigDecimal bd; local 976 BigDecimal bd; local 1069 BigDecimal bd = new BigDecimal(a); local 1476 BigDecimal bd; local [all...] |
BigDecimalArithmeticTest.java | 2650 BigDecimal bd; local [all...] |
BigDecimalConvertTest.java | 1698 BigDecimal bd = new BigDecimal("1"); local [all...] |
/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/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...] |
/dalvik/libcore/sql/src/test/java/tests/sql/ |
PreparedStatementTest.java | 1731 BigDecimal bd = new BigDecimal("50"); local [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...] |
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 618 const int bd = mBlendDst; local 621 bd==GGL_SRC_ALPHA || bd==GGL_ONE_MINUS_SRC_ALPHA ; [all...] |
/bionic/libc/stdlib/ |
strtod.c | 1342 Bigint *bb = NULL, *bd = NULL, *bs = NULL, *delta = NULL;/* pacify gcc */ local 1639 /* Put digits into bd: true value = bd * 10^e */ 1644 bd = Balloc(bd0->k); 1645 Bcopy(bd, bd0); [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
FormatterTest.java | 4514 BigDecimal bd = new BigDecimal("1.0"); local [all...] |
/external/v8/src/third_party/dtoa/ |
dtoa.c | 1544 Bigint *bb = NULL, *bb1, *bd = NULL, *bd0, *bs = NULL, *delta = NULL; local 2371 Bfree(bd); variable 2407 Bfree(bd); variable [all...] |
/external/webkit/JavaScriptCore/wtf/ |
dtoa.cpp | 1111 BigInt bb, bb1, bd, bd0, bs, delta; local [all...] |
/sdk/traceview/src/com/android/traceview/ |
TimeLineView.java | 530 Segment bd = new Segment(rd, top, lastEndTime, startTime); local 531 mSegmentList.add(bd); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsListActivity.java | 2074 BitmapDrawable bd = (BitmapDrawable) phoneIcon; local [all...] |
/external/sqlite/dist/ |
sqlite3.c | 52785 } bd; member in union:vdbeExecUnion [all...] |