/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewWordLimitsTest.java | 32 * verifies word limits to be in strings containing different kinds of 66 * Calculate and verify word limits. Depends on the TextView implementation. 83 long limits = (Long)mGetWordLimits.invoke(mTv, new Object[] {new Integer(pos)}); local 84 int actualStart = (int)(limits >>> 32); 85 int actualEnd = (int)(limits & 0x00000000FFFFFFFFL);
|
/libcore/luni/src/main/java/java/text/ |
ChoiceFormat.java | 36 * The length of the format array must be the same as the length of the limits 42 * double[] limits = {1, 2, 3, 4, 5, 6, 7}; 84 * selected where {@code i} fulfills {@code limits[i] <= d < limits[i+1]}. 86 * The length of the {@code limits} and {@code formats} arrays must be the 89 * @param limits 94 * limits}. The lower bound of the associated range is at the 97 public ChoiceFormat(double[] limits, String[] formats) { 98 setChoices(limits, formats); 102 * Constructs a new {@code ChoiceFormat} with the strings and limits parse 124 double[] limits = new double[5]; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
num_put_get_test.cpp | 1 #include <limits> 80 typedef numeric_limits<F> limits; typedef 84 str << "1E+" << limits::max_exponent10; 90 CPPUNIT_CHECK( in_val_d != limits::infinity() ); 95 str << "-1E+" << limits::max_exponent10; 101 CPPUNIT_CHECK( in_val_d != -limits::infinity() ); 106 str << "1E" << limits::min_exponent10; 117 str << "1E+" << (limits::max_exponent10 + 1); 123 CPPUNIT_CHECK( in_val_d == limits::infinity() ); 128 str << "-1E+" << (limits::max_exponent10 + 1) [all...] |
/ndk/tests/device/test-stlport/unit/ |
num_put_get_test.cpp | 1 #include <limits> 80 typedef numeric_limits<F> limits; typedef 84 str << "1E+" << limits::max_exponent10; 90 CPPUNIT_CHECK( in_val_d != limits::infinity() ); 95 str << "-1E+" << limits::max_exponent10; 101 CPPUNIT_CHECK( in_val_d != -limits::infinity() ); 106 str << "1E" << limits::min_exponent10; 117 str << "1E+" << (limits::max_exponent10 + 1); 123 CPPUNIT_CHECK( in_val_d == limits::infinity() ); 128 str << "-1E+" << (limits::max_exponent10 + 1) [all...] |
/external/chromium_org/content/browser/renderer_host/ |
compositor_impl_android.cc | 484 WebGraphicsContext3DCommandBufferImpl::SharedMemoryLimits limits; local 485 limits.command_buffer_size = 64 * 1024; 486 limits.start_transfer_buffer_size = 64 * 1024; 487 limits.min_transfer_buffer_size = 64 * 1024; 488 limits.max_transfer_buffer_size = std::min( 490 limits.mapped_memory_reclaim_limit = 2 * 1024 * 1024; 498 limits,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
msfmrgts.cpp | 330 double limits [] = {1, 20}; local 337 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); 359 double limits [] = { 367 // cf = new ChoiceFormat(limits, formats, 3); 386 double limits [] = {3, 1, 2}; local 392 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); [all...] |
tchcfmt.cpp | 44 double limits[] = {1,2,3,4,5,6,7}; local 46 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); 74 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); 92 if(gotLimits[ix] != limits[ix]){ 93 errln((UnicodeString)"getLimits didn't get the limits correctly. Expected " + limits[ix] + " Got " + gotLimits[ix]); 458 double limits[] = { 0, 1, 2, 3, 4, 5 }; local 463 ChoiceFormat fmt1(limits, closures, fmts, 6); 495 errln("FAIL: couldn't get limits or closures"); 502 if(limits2[i] != limits[i]) 621 static const double limits[] = {0.1e-78, 1e13, 0.1e78}; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
program_parser.h | 136 * Per-program target limits 138 struct gl_program_constants *limits; member in struct:asm_parser_state 165 * Selected limits copied from gl_constants 167 * These are limits from the GL context, but various bits in the program
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_split_copy.c | 59 const struct split_limits *limits; member in struct:copy_context 501 if (copy->vertex_size * copy->limits->max_verts <= copy->limits->max_vb_size) { 502 copy->dstbuf_size = copy->limits->max_verts; 505 copy->dstbuf_size = copy->limits->max_vb_size / copy->vertex_size; 542 copy->limits->max_indices); 597 const struct split_limits *limits ) 625 copy.limits = limits;
|
/external/icu/icu4c/source/test/intltest/ |
msfmrgts.cpp | 332 double limits [] = {1, 20}; local 339 ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length); 361 double limits [] = { 369 // cf = new ChoiceFormat(limits, formats, 3); 388 double limits [] = {3, 1, 2}; local 394 ChoiceFormat *cf = new ChoiceFormat(limits, formats, 3); [all...] |
tchcfmt.cpp | 44 double limits[] = {1,2,3,4,5,6,7}; local 46 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); 74 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); 104 if(gotLimits[ix] != limits[ix]){ 105 errln((UnicodeString)"getLimits didn't get the limits correctly. Expected " + limits[ix] + " Got " + gotLimits[ix]); 470 double limits[] = { 0, 1, 2, 3, 4, 5 }; local 475 ChoiceFormat fmt1(limits, closures, fmts, 6); 508 errln("FAIL: couldn't get limits or closures"); 515 if(limits2[i] != limits[i]) 637 static const double limits[] = {0.1e-78, 1e13, 0.1e78}; local [all...] |
/external/mesa3d/src/mesa/program/ |
program_parser.h | 136 * Per-program target limits 138 struct gl_program_constants *limits; member in struct:asm_parser_state 165 * Selected limits copied from gl_constants 167 * These are limits from the GL context, but various bits in the program
|
/external/mesa3d/src/mesa/vbo/ |
vbo_split_copy.c | 59 const struct split_limits *limits; member in struct:copy_context 501 if (copy->vertex_size * copy->limits->max_verts <= copy->limits->max_vb_size) { 502 copy->dstbuf_size = copy->limits->max_verts; 505 copy->dstbuf_size = copy->limits->max_vb_size / copy->vertex_size; 542 copy->limits->max_indices); 597 const struct split_limits *limits ) 625 copy.limits = limits;
|
/external/stlport/src/ |
num_get_float.cpp | 21 #include <limits> 335 typedef numeric_limits<double> limits; typedef 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ 464 if (bexp > limits::max_exponent) { /* overflow */ 465 return limits::infinity(); 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ 485 typedef numeric_limits<D> limits; typedef 529 if ( bexp >= limits::min_exponent ) { /* not zero or denorm */ 530 if ( limits::digits < 64 ) { 532 uint64_t rest = vv.i64 & ((~ULL(0) / ULL(2)) >> (limits::digits - 1)) 646 typedef numeric_limits<double> limits; typedef 751 typedef numeric_limits<D> limits; typedef [all...] |
num_put_float.cpp | 634 typedef numeric_limits<_FloatT> limits; typedef 635 if (x == limits::infinity() || x == -limits::infinity()) { 757 typedef numeric_limits<_FloatT> limits; typedef 758 char static_buf[limits::max_exponent10 + 6]; // 6: -xxx.yyyE-zzz (sign, dot, E, exp sign, \0) 766 typedef numeric_limits<_FloatT> limits; 768 if (limits::has_infinity && limits::has_quiet_NaN) { 770 (x == limits::infinity() || x == -limits::infinity())) 845 typedef numeric_limits<_STLP_LONGEST_FLOAT_TYPE> limits; typedef [all...] |
/hardware/ti/omap4-aah/security/tf_crypto_sst/ |
pkcs11_object.c | 601 TEEC_ImplementationLimits limits; local 608 TEEC_GetImplementationLimits(&limits); 614 nChunkSize = limits.tmprefMaxSize - limits.pageSize; [all...] |
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
pkcs11_object.c | 604 TEEC_ImplementationLimits limits; local 611 TEEC_GetImplementationLimits(&limits); 617 nChunkSize = limits.tmprefMaxSize - limits.pageSize; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
ChoiceFormatTest.java | 29 double[] limits = new double[] { 0, 1, ChoiceFormat.nextDouble(1), field in class:ChoiceFormatTest 35 ChoiceFormat f1 = new ChoiceFormat(limits, formats); 143 assertTrue("Incorrect limits", java.util.Arrays.equals(f.getLimits(), 155 assertTrue("Incorrect limits", java.util.Arrays.equals(f.getLimits(), 179 assertTrue("Incorrect limits", java.util.Arrays.equals(f.getLimits(), 235 assertTrue("Should be equals--same limits, same formats", 312 double[] orgLimits = (double[]) limits.clone(); 314 assertTrue("Wrong limits", l.equals(limits)); 316 assertTrue("Limits copied", !l.equals(orgLimits)) [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
num_get_float.cpp | 21 #include <limits> 335 typedef numeric_limits<double> limits; typedef 420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */ 464 if (bexp > limits::max_exponent) { /* overflow */ 465 return limits::infinity(); 468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */ 485 typedef numeric_limits<D> limits; typedef 529 if ( bexp >= limits::min_exponent ) { /* not zero or denorm */ 530 if ( limits::digits < 64 ) { 532 uint64_t rest = vv.i64 & ((~ULL(0) / ULL(2)) >> (limits::digits - 1)) 646 typedef numeric_limits<double> limits; typedef 751 typedef numeric_limits<D> limits; typedef [all...] |
num_put_float.cpp | 634 typedef numeric_limits<_FloatT> limits; typedef 635 if (x == limits::infinity() || x == -limits::infinity()) { 757 typedef numeric_limits<_FloatT> limits; typedef 758 char static_buf[limits::max_exponent10 + 6]; // 6: -xxx.yyyE-zzz (sign, dot, E, exp sign, \0) 766 typedef numeric_limits<_FloatT> limits; 768 if (limits::has_infinity && limits::has_quiet_NaN) { 770 (x == limits::infinity() || x == -limits::infinity())) 845 typedef numeric_limits<_STLP_LONGEST_FLOAT_TYPE> limits; typedef [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
postproc.c | 21 #include <limits.h> 400 unsigned char *limits = cm->pp_limits_buffer;; local 406 vpx_memset(limits, (unsigned char)ppl, 16 * mb_cols); 414 source->y_stride, source->y_stride, source->y_width, limits, 16); 419 source->uv_stride, source->uv_stride, source->uv_width, limits, 8); 423 source->uv_stride, source->uv_stride, source->uv_width, limits, 8); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
shaderapi.c | 1462 const struct gl_program_constants *limits; local [all...] |
/external/e2fsprogs/e2fsck/ |
rehash.c | 494 struct ext2_dx_countlimit *limits; local 520 limits = (struct ext2_dx_countlimit *) (buf+32); 521 limits->limit = (fs->blocksize - 32) / sizeof(struct ext2_dx_entry); 522 limits->count = 0; 531 struct ext2_dx_countlimit *limits; local 538 limits = (struct ext2_dx_countlimit *) (buf+8); 539 limits->limit = (fs->blocksize - 8) / sizeof(struct ext2_dx_entry); 540 limits->count = 0; 542 return (struct ext2_dx_entry *) limits;
|
/external/libvpx/libvpx/vp8/common/ |
postproc.c | 21 #include <limits.h> 398 unsigned char *limits = cm->pp_limits_buffer;; local 404 vpx_memset(limits, (unsigned char)ppl, 16 * mb_cols); 412 source->y_stride, source->y_stride, source->y_width, limits, 16); 417 source->uv_stride, source->uv_stride, source->uv_width, limits, 8); 421 source->uv_stride, source->uv_stride, source->uv_width, limits, 8); [all...] |
/external/mesa3d/src/mesa/main/ |
shaderapi.c | 1462 const struct gl_program_constants *limits; local [all...] |