/external/icu4c/layoutex/ |
RunArrays.cpp | 67 le_int32 *limits = (le_int32 *) fLimits; local 69 limits[index] = limit;
|
/external/chromium/chrome/browser/ |
browser_main_posix.cc | 8 #include <limits.h> 167 struct rlimit limits; local 168 if (getrlimit(RLIMIT_NOFILE, &limits) == 0) { 170 if (limits.rlim_max > 0 && limits.rlim_max < max_descriptors) { 171 new_limit = limits.rlim_max; 173 limits.rlim_cur = new_limit; 174 if (setrlimit(RLIMIT_NOFILE, &limits) != 0) {
|
/system/core/sh/ |
miscbltin.c | 291 struct limits { struct 298 static const struct limits limits[] = { variable in typeref:struct:limits 345 const struct limits *l; 366 for (l = limits; l->name && l->option != what; l++) 394 for (l = limits; l->name; l++) {
|
/external/chromium/net/socket/ |
dns_cert_provenance_checker.cc | 112 DnsCertLimits* const limits = g_dns_cert_limits.Pointer(); local 113 if (limits->HaveReachedMaxUploads() || 114 limits->HaveUploadedForHostname(hostname_)) {
|
/external/icu4c/test/intltest/ |
callimts.cpp | 111 // This test used to test the algorithmic limits of the dates that 113 // been rewritten completely since then and the prior limits no 320 int32_t limits[UCAL_FIELD_COUNT][4]; local 322 limits[j][0] = INT32_MAX; 323 limits[j][1] = INT32_MIN; 324 limits[j][2] = INT32_MAX; 325 limits[j][3] = INT32_MIN; 356 if (limits[j][0] > minActual) { 358 limits[j][0] = minActual; 360 if (limits[j][1] < minActual) [all...] |
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...] |
usettest.cpp | 3075 int32_t limits[500]; local [all...] |
/external/stlport/test/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...] |
/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/apache-harmony/text/src/test/java/org/apache/harmony/text/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...] |
/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...] |
/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 | 633 typedef numeric_limits<_FloatT> limits; typedef 634 if (x == limits::infinity() || x == -limits::infinity()) { 756 typedef numeric_limits<_FloatT> limits; typedef 757 char static_buf[limits::max_exponent10 + 6]; // 6: -xxx.yyyE-zzz (sign, dot, E, exp sign, \0) 765 typedef numeric_limits<_FloatT> limits; 767 if (limits::has_infinity && limits::has_quiet_NaN) { 769 (x == limits::infinity() || x == -limits::infinity())) 844 typedef numeric_limits<_STLP_LONGEST_FLOAT_TYPE> limits; typedef [all...] |
/external/dbus/bus/ |
bus.c | 63 BusLimits limits; member in struct:BusContext 198 context->limits.max_incoming_bytes); 201 context->limits.max_message_size); 204 context->limits.max_incoming_unix_fds); 207 context->limits.max_message_unix_fds); 518 /* get our limits and timeout lengths */ 519 bus_config_parser_get_limits (parser, &context->limits); 1212 return context->limits.activation_timeout; 1218 return context->limits.auth_timeout; 1224 return context->limits.max_completed_connections [all...] |
config-parser.c | 106 BusLimits limits; /**< Limits */ member in struct:BusConfigParser 395 /* Initialize the parser's limits from the parent. */ 396 parser->limits = parent->limits; 406 parser->limits.max_incoming_bytes = _DBUS_ONE_MEGABYTE * 127; 407 parser->limits.max_outgoing_bytes = _DBUS_ONE_MEGABYTE * 127; 408 parser->limits.max_message_size = _DBUS_ONE_MEGABYTE * 32; 415 parser->limits.max_incoming_unix_fds = 1024*4; 416 parser->limits.max_outgoing_unix_fds = 1024*4 [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;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
DefaultSoftKeyboardJAJP.java | 1170 int[] limits = mLimitedKeyMode; local [all...] |
/external/mksh/src/ |
funcs.c | 3123 struct limits { struct 3179 static const struct limits limits[] = { local [all...] |
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 600 } limits = { variable in typeref:struct:dsscomp_dispc_limitations 612 struct dsscomp_display_info *dis, struct dsscomp_dispc_limitations *limits, 615 __u32 fclk = limits->fclk / 1000; 619 if (dis->channel != OMAP_DSS_CHANNEL_DIGIT && dst_w < limits->min_width) 625 if (dst_h < src_h / limits->max_downscale / (is_2d ? limits->max_ydecim_2d : limits->max_ydecim_1d)) 628 /* for manual panels pclk is 0, and there are no pclk based scaling limits */ 630 return (dst_w < src_w / limits->max_downscale / (is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d)) [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regex_internal.h | 641 re_node_set limits; member in struct:__anon16807
|