/external/chromium/chrome/browser/ui/ |
H A D | window_sizer.cc | 50 bounds->SetRect(left, top, std::max(0, right - left), 51 std::max(0, bottom - top)); 64 std::max(0, work_area_right - work_area_left), 65 std::max(0, work_area_bottom - work_area_top)); 286 bounds->set_height(std::max(kMinVisibleHeight, bounds->height())); 287 bounds->set_width(std::max(kMinVisibleWidth, bounds->width())); 302 std::max(work_area.x(), 305 std::max(work_area.y(), 334 bounds->set_y(std::max(min_y, std::min(max_y, bounds->y()))); 335 bounds->set_x(std::max(min_ [all...] |
/external/freetype/src/psnames/ |
H A D | psmodule.c | 400 PS_UniMap *min, *max, *mid, *result = NULL; local 406 max = min + table->num_maps - 1; 408 while ( min <= max ) 413 mid = min + ( ( max - min ) >> 1 ); 426 if ( min == max ) 432 max = mid - 1; 452 FT_UInt max = table->num_maps; local 458 while ( min < max ) 460 mid = min + ( ( max - min ) >> 1 ); 477 max [all...] |
/external/ppp/pppd/plugins/radius/ |
H A D | config.c | 97 for (i = 0; i < serv->max; i++) { 100 serv->max = 0; 107 serv->port[serv->max] = atoi(q); 111 serv->port[serv->max] = PW_AUTH_UDP_PORT; 113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); 116 serv->port[serv->max] = PW_ACCT_UDP_PORT; 118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); 125 serv->name[serv->max++] = strdup(p); 315 if (!(rc_conf_srv("authserver")->max)) 320 if (!(rc_conf_srv("acctserver")->max)) [all...] |
/external/skia/include/core/ |
H A D | SkScalar.h | 134 /** Returns the value pinned between 0 and max inclusive 136 inline SkScalar SkScalarClampMax(SkScalar x, SkScalar max) { argument 137 return x < 0 ? 0 : x > max ? max : x; 139 /** Returns the value pinned between min and max inclusive 141 inline SkScalar SkScalarPin(SkScalar x, SkScalar min, SkScalar max) { argument 142 return x < min ? min : x > max ? max : x; 244 #define SkScalarClampMax(x, max) SkClampMax(x, max) [all...] |
H A D | SkTypes.h | 289 static inline int32_t SkFastMin32(int32_t value, int32_t max) { argument 291 if (value > max) 292 value = max; 295 int diff = max - value; 296 // clear diff if it is negative (clear if value > max) 302 /** Returns signed 32 bit value pinned between min and max, inclusively 304 static inline int32_t SkPin32(int32_t value, int32_t min, int32_t max) { argument 308 if (value > max) 309 value = max; 313 else if (value > max) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
H A D | BoundingBox.java | 91 public BoundingBox(Vector3f min, Vector3f max) {
argument 92 setMinMax(min, max);
126 Vector3f max = vars.vect2.set(new Vector3f(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY));
131 checkMinMax(min, max, point);
133 checkMinMax(min, max, point);
135 checkMinMax(min, max, point);
138 center.set(min.addLocal(max));
141 xExtent = max.x - center.x;
142 yExtent = max.y - center.y;
143 zExtent = max 183 checkMinMax(Vector3f min, Vector3f max, Vector3f point) argument 948 setMinMax(Vector3f min, Vector3f max) argument [all...] |
/external/qemu/hw/ |
H A D | goldfish_events_device.c | 77 uint32_t max; member in struct:ABSEntry 461 /* Allocate the absinfo to report the min/max bounds for each 463 * of (min,max,fuzz,flat) 32-bit values. 465 * min and max are the bounds 479 abs_values[ABS_X].max = config->hw_lcd_width-1; 480 abs_values[ABS_Y].max = config->hw_lcd_height-1; 481 abs_values[ABS_Z].max = 1; 494 abs_values[ABS_MT_SLOT].max = multitouch_get_max_slot(); 495 abs_values[ABS_MT_TRACKING_ID].max = abs_values[ABS_MT_SLOT].max [all...] |
/external/chromium/chrome/browser/chromeos/ |
H A D | external_metrics.cc | 79 int sample, min, max, nbuckets; local 82 name, &sample, &min, &max, &nbuckets); 90 name, min, max, nbuckets, base::Histogram::kUmaTargetedHistogramFlag); 95 int sample, max; local 97 int n = sscanf(histogram_data, "%127s %d %d", name, &sample, &max); 105 name, 1, max, max + 1, base::Histogram::kUmaTargetedHistogramFlag);
|
/external/e2fsprogs/e2fsck/ |
H A D | profile_helpers.c | 45 int max; member in struct:profile_string_list 54 list->max = 10; 55 list->list = malloc(list->max * sizeof(char *)); 81 list->num = list->max = 0; 93 if (list->num+1 >= list->max) { 94 newmax = list->max + 10; 98 list->max = newmax;
|
/external/skia/third_party/glu/libtess/ |
H A D | priorityq-heap.c | 68 pq->max = INIT_SIZE; 115 assert(child <= pq->max); 173 if( (curr*2) > pq->max ) { 178 pq->max <<= 1; 181 ((pq->max + 1) * sizeof( pq->nodes[0] ))); 188 ((pq->max + 1) * 244 assert( hCurr >= 1 && hCurr <= pq->max && h[hCurr].key != NULL );
|
/external/stlport/test/unit/ |
H A D | limits_test.cpp | 77 CHECK_COND(lim::min() < lim::max()); 103 _Tp tmp = lim::max(); 104 CHECK_COND( ++tmp < lim::max() ); 131 CHECK_COND(lim::max() > 1000); 173 _Tp val = lim::max(); 182 str << "lim::max() = " << lim::max() << ", val = " << val << ", infinity = " << infinity; 222 CHECK_COND(infinity > lim::max()); 223 CHECK_COND(-infinity < -lim::max());
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | MathExtras.h | 213 const double maxIntAsDouble = std::numeric_limits<int>::max(); 214 return static_cast<int>(std::max(std::min(d, maxIntAsDouble), minIntAsDouble)); 219 const double maxIntAsDouble = std::numeric_limits<int>::max(); 220 return static_cast<int>(std::max<double>(std::min(d, maxIntAsDouble), 0)); 225 static const int s_intMax = std::numeric_limits<int>::max(); 237 static const int s_intMax = std::numeric_limits<int>::max(); 248 return static_cast<int>(std::min(value, static_cast<unsigned>(std::numeric_limits<int>::max())));
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
H A D | Interval.java | 47 * same single value a==b up to some max size. Use an array as a perfect hash. 111 return Interval.create(Math.min(a,other.a), Math.max(b,other.b)); 116 return Interval.create(Math.max(a,other.a), Math.min(b,other.b)); 128 diff = Interval.create(Math.max(this.a,other.b+1),
|
/external/chromium/net/spdy/ |
H A D | spdy_session_pool.h | 53 static void set_max_sessions_per_domain(int max) { argument 54 if (max >= 1) 55 g_max_sessions_per_domain = max;
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 59 const PathDiagnosticPiece& P, unsigned num, unsigned max); 139 unsigned max = n; local 144 HandlePiece(R, FID, **I, n, max); 280 unsigned num, unsigned max) { 333 if (num == max) 388 os << "; max-width:" << em << "em"; 391 os << "; max-width:100em"; 395 if (max > 1) { 435 if (max > 1) { 437 if (num < max) { 278 HandlePiece(Rewriter& R, FileID BugFileID, const PathDiagnosticPiece& P, unsigned num, unsigned max) argument [all...] |
/external/compiler-rt/lib/tsan/unit_tests/ |
H A D | tsan_printf_test.cc | 88 static void TestMinMax(const char *fmt, T min, T max) { argument 90 uptr len = internal_snprintf(buf, sizeof(buf), fmt, min, max); 92 snprintf(buf2, sizeof(buf2), fmt, min, max);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
H A D | BitIntSet.java | 32 * @param max the maximum value of ints in this set. 34 public BitIntSet(int max) { argument 35 bits = Bits.makeBitSet(max); 52 Math.max(value + 1, 2 * Bits.getMax(bits)));
|
/external/icu4c/tools/toolutil/ |
H A D | denseranges.cpp | 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {} argument
|
/external/iptables/extensions/ |
H A D | libxt_cluster.c | 37 .type = XTTYPE_UINT32, .min = 1, .max = XT_CLUSTER_NODES_MAX, 41 .type = XTTYPE_UINT32, .min = 1, .max = XT_CLUSTER_NODES_MAX}, 44 .min = 1, .max = XT_CLUSTER_NODES_MAX,
|
/external/openssl/crypto/x509v3/ |
H A D | v3_asid.c | 80 ASN1_SIMPLE(ASRange, max, ASN1_INTEGER) 135 if ((s = i2s_ASN1_INTEGER(NULL, aor->u.range->max)) == NULL) 176 a->u.range->min != NULL && a->u.range->max != NULL)); 180 b->u.range->min != NULL && b->u.range->max != NULL)); 187 return r != 0 ? r : ASN1_INTEGER_cmp(a->u.range->max, b->u.range->max); 231 ASN1_INTEGER *max) 260 if (max == NULL) { 269 ASN1_INTEGER_free(aor->u.range->max); 270 aor->u.range->max [all...] |
/external/skia/src/core/ |
H A D | SkQuadClipper.cpp | 13 static inline void clamp_le(SkScalar& value, SkScalar max) { argument 14 if (value > max) { 15 value = max;
|
/external/skia/src/views/ |
H A D | SkProgressView.cpp | 30 void SkProgressView::setMax(U16CPU max) argument 32 if (fMax != max) 34 fMax = SkToU16(max);
|
/external/svox/pico/lib/ |
H A D | picodbg.h | 224 #define PICODBG_ASSERT_RANGE(val, min, max) \ 225 PICODBG_ASSERT(((val) >= (min)) && ((val) <= (max))) 290 #define PICODBG_ASSERT_RANGE(val, min, max)
|
/external/webkit/Source/WebCore/ |
H A D | config.h | 95 // We want to use std::min and std::max. 96 #ifndef max 97 #define max max macro
|
/external/webkit/Source/WebCore/platform/ |
H A D | ScrollAnimator.cpp | 65 float newPos = std::max(std::min(*currentPos + (step * multiplier), static_cast<float>(m_scrollableArea->scrollSize(orientation))), 0.0f); 104 deltaY = max(max(static_cast<float>(m_scrollableArea->visibleHeight()) * Scrollbar::minFractionToStepWhenPaging(), static_cast<float>(m_scrollableArea->visibleHeight() - Scrollbar::maxOverlapBetweenPages())), 1.0f);
|