/external/chromium_org/chrome/browser/devtools/ |
devtools_contents_resizing_strategy.cc | 48 int left = std::min(bounds.x(), container_size.width()); 49 int top = std::min(bounds.y(), container_size.height()); 50 int width = std::min(bounds.width(), container_size.width() - left); 51 int height = std::min(bounds.height(), container_size.height() - top);
|
/external/chromium_org/net/quic/ |
port_suggester.h | 28 // Generate a pseudo-random int in the inclusive range from |min| to |max|. 30 int SuggestPort(int min, int max);
|
/external/chromium_org/ppapi/cpp/private/ |
uma_private.cc | 39 int64_t min, 46 sample, min, max, bucket_count); 51 int32_t min, 58 sample, min, max, bucket_count);
|
/external/chromium_org/ppapi/thunk/ |
ppb_uma_private_thunk.cc | 23 int64_t min, 33 min, 41 int32_t min, 51 min,
|
/external/chromium_org/third_party/mesa/src/src/egl/main/ |
eglmode.c | 159 _eglModeQualifies(const _EGLMode *c, const _EGLMode *min) 161 if (min->Handle != EGL_DONT_CARE && c->Handle != min->Handle) 163 if (min->Width != EGL_DONT_CARE && c->Width < min->Width) 165 if (min->Height != EGL_DONT_CARE && c->Height < min->Height) 167 if (min->RefreshRate != EGL_DONT_CARE && c->RefreshRate < min->RefreshRate) 169 if (min->Optimal != EGL_DONT_CARE && c->Optimal != min->Optimal 264 _EGLMode **modeList, min; local [all...] |
/external/chromium_org/ui/gfx/geometry/ |
cubic_bezier.h | 24 // Sets |min| and |max| to the bezier's minimum and maximium y values in the 26 void Range(double* min, double* max) const;
|
/external/e2fsprogs/misc/ |
e2freefrag.h | 18 unsigned long min, max, avg; /* chunk size stats */ member in struct:chunk_info
|
/external/fio/ |
fifo.c | 53 len = min(len, fifo_room(fifo)); 56 l = min(len, fifo->size - (fifo->in & (fifo->size - 1))); 74 len = min(len, fifo->in - fifo->out); 82 l = min(len, fifo->size - (fifo->out & (fifo->size - 1)));
|
/external/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
min.pass.cpp | 12 // min() 24 assert(std::numeric_limits<T>::min() == expected); 26 assert(std::numeric_limits<const T>::min() == expected); 28 assert(std::numeric_limits<volatile T>::min() == expected); 30 assert(std::numeric_limits<const volatile T>::min() == expected);
|
/external/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/ |
values.pass.cpp | 21 // static constexpr result_type min() { return Engine::min; } 36 /*static_*/assert((E::min() == 1)/*, ""*/);
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
min.pass.cpp | 15 // result_type min() const; 28 assert(d.min() == 10);
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
min.pass.cpp | 15 // result_type min() const; 28 assert(d.min() == 10);
|
/external/mesa3d/src/egl/main/ |
eglmode.c | 159 _eglModeQualifies(const _EGLMode *c, const _EGLMode *min) 161 if (min->Handle != EGL_DONT_CARE && c->Handle != min->Handle) 163 if (min->Width != EGL_DONT_CARE && c->Width < min->Width) 165 if (min->Height != EGL_DONT_CARE && c->Height < min->Height) 167 if (min->RefreshRate != EGL_DONT_CARE && c->RefreshRate < min->RefreshRate) 169 if (min->Optimal != EGL_DONT_CARE && c->Optimal != min->Optimal 264 _EGLMode **modeList, min; local [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
Stats.java | 85 public static int min(int[] X) { method in class:Stats 86 int min = Integer.MAX_VALUE; local 92 if ( X[i] < min ) { 93 min = X[i]; 96 return min; 129 public static int min(List<Integer> X) { method in class:Stats 130 int min = Integer.MAX_VALUE; local 136 if ( X.get(i) < min ) { 137 min = X.get(i); 140 return min; [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
glUtils.h | 66 template <class T> void minmax(T *indices, int count, int *min, int *max) { 67 *min = -1; 71 if (*min == -1 || *ptr < *min) *min = *ptr;
|
/external/chromium_org/third_party/webrtc/common_audio/include/ |
audio_util.h | 25 const float kMinRound = limits_int16::min() + 0.5f; 29 return v <= kMinRound ? limits_int16::min() : 38 return v <= -1 ? limits_int16::min() : 39 static_cast<int16_t>(-v * limits_int16::min() - 0.5f); 45 const float kMinInt16Inverse = 1.f / limits_int16::min();
|
/external/chromium_org/ui/gfx/animation/ |
animation_container.cc | 95 TimeDelta min; local 97 min = (*i)->GetTimerInterval(); 99 if ((*i)->GetTimerInterval() < min) 100 min = (*i)->GetTimerInterval(); 102 return min;
|
/external/chromium_org/ui/gfx/range/ |
range.cc | 41 return std::min(start(), end()); 71 size_t min = std::max(GetMin(), range.GetMin()); local 72 size_t max = std::min(GetMax(), range.GetMax()); 74 if (min >= max) // No intersection. 77 return Range(min, max);
|
/external/iptables/extensions/ |
libipt_ah.c | 36 print_spis(const char *name, uint32_t min, uint32_t max, 41 if (min != 0 || max != 0xFFFFFFFF || invert) { 43 if (min == max) { 45 printf("%u", min); 48 printf("%u",min);
|
libxt_esp.c | 36 print_spis(const char *name, uint32_t min, uint32_t max, 41 if (min != 0 || max != 0xFFFFFFFF || invert) { 42 if (min == max) 43 printf(" %s:%s%u", name, inv, min); 45 printf(" %ss:%s%u:%u", name, inv, min, max);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/ |
MultiFieldTimePickerDialog.java | 53 int min, int max, int step, boolean is24hourFormat, 60 if (min >= max) { 61 min = 0; 80 int minHour = min / HOUR_IN_MILLIS; 82 min -= minHour * HOUR_IN_MILLIS; 138 int minMinute = min / MINUTE_IN_MILLIS; 140 min -= minMinute * MINUTE_IN_MILLIS; 171 int minSecond = min / SECOND_IN_MILLIS; 173 min -= minSecond * SECOND_IN_MILLIS; 205 mMilliSpinner.setMinValue(min / step) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fImplementationLimitTests.cpp | 51 inline bool compare (const T& min, const T& reported) { return min <= reported; } 65 float min; member in struct:deqp::gles2::Functional::LimitQuery::FloatRange 67 FloatRange (float min_, float max_) : min(min_), max(max_) {} 70 std::ostream& operator<< (std::ostream& str, const FloatRange& range) { return str << range.min << ", " << range.max; } 122 bool compare<Boolean> (const Boolean& min, const Boolean& reported) 124 return !min.value || (min.value && reported.value); 128 bool compare<NegInt> (const NegInt& min, const NegInt& reported) 131 return reported.value <= min.value [all...] |
/external/openssl/crypto/bn/ |
bn_add.c | 107 int max,min,dif; local 117 min = b->top; 118 dif = max - min; 130 carry=bn_add_words(rp,ap,bp,min); 131 rp+=min; 132 ap+=min; 133 bp+=min; 168 int max,min,dif; local 179 min = b->top; 180 dif = max - min; [all...] |
/external/chromium_org/net/base/ |
ip_pattern.cc | 21 void AppendRange(uint32 min, uint32 max); 27 Range(uint32 min, uint32 max) : minimum(min), maximum(max) {} 40 void IPPattern::ComponentPattern::AppendRange(uint32 min, uint32 max) { 41 ranges_.push_back(Range(min, max)); 150 uint32 min = 0; local 152 if (!ValueTextToInt(range_pair.token(), &min)) 154 uint32 max = min; // Sometimes we have no distinct max. 164 pattern->AppendRange(min, max);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkTableMaskFilter.cpp | 106 void SkTableMaskFilter::MakeClipTable(uint8_t table[256], uint8_t min, 111 if (min >= max) { 112 min = max - 1; 114 SkASSERT(min < max); 116 SkFixed scale = (1 << 16) * 255 / (max - min); 117 memset(table, 0, min + 1); 118 for (int i = min + 1; i < max; i++) { 119 int value = SkFixedRoundToInt(scale * (i - min)); 132 SkDebugf("%d %d start [%d]", min, max, j);
|