/packages/apps/TV/src/com/android/tv/menu/ |
PlaybackProgressBar.java | 80 public void setMax(long max) { 81 if (max < 0) { 82 max = 0; 84 if (max != mMax) { 85 mMax = max; 86 if (mProgressStart > max) { 87 mProgressStart = max; 89 if (mProgressEnd > max) { 90 mProgressEnd = max; 92 if (mProgress > max) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
BigIntegers.java | 65 * Return a random BigInteger not less than 'min' and not greater than 'max' 68 * @param max the greatest value that may be generated 70 * @return a random BigInteger value in the range [min,max] 74 BigInteger max, 77 int cmp = min.compareTo(max); 82 throw new IllegalArgumentException("'min' may not be greater than 'max'"); 88 if (min.bitLength() > max.bitLength() / 2) 90 return createRandomInRange(ZERO, max.subtract(min), random).add(min); 95 BigInteger x = new BigInteger(max.bitLength(), random); 96 if (x.compareTo(min) >= 0 && x.compareTo(max) <= 0 [all...] |
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
StatSummary.java | 25 private double max; field in class:StatSummary 34 * <p>Sets the label, min, max, mean, sum of squared error, n, and mode as provided. 38 * @param max The maximum observed value. 47 double max, 54 this.max = max; 85 if (value > max) max = value; 105 * @return The min or max. 126 * Gets the calculated max of the stream [all...] |
/external/swiftshader/src/Common/ |
Math.hpp | 31 #undef max macro 34 inline T max(T a, T b) function in namespace:sw 46 inline T max(T a, T b, T c) function in namespace:sw 48 return max(max(a, b), c); 58 inline T max(T a, T b, T c, T d) function in namespace:sw 60 return max(max(a, b), max(c, d)); 144 #define MAX(x, y) ((x) > (y) ? (x) : (y) 236 static const unsigned int max = 0xFFFFFFFF >> (32 - n); local 257 static const unsigned int max = 0xFFFFFFFF >> (32 - n + 1); local 288 static const unsigned int max = 0xFFFFFFFF >> (32 - n); local 309 static const unsigned int max = 0xFFFFFFFF >> (32 - n + 1); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
loopbce.go | 8 max *Value // maximum value. exclusive. 11 // min <= ind < max 12 // min <= nxt <= max 21 // if ind < max 44 var ind, max *Value // induction, and maximum 47 // Check thet the control if it either ind < max or max > ind. 52 ind, max = b.Control.Args[0], b.Control.Args[1] 55 ind, max = b.Control.Args[1], b.Control.Args[0] 93 // the mininum value (min) and the maximum value (max) [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
loopbce.go | 8 max *Value // maximum value. exclusive. 11 // min <= ind < max 12 // min <= nxt <= max 21 // if ind < max 44 var ind, max *Value // induction, and maximum 47 // Check thet the control if it either ind < max or max > ind. 52 ind, max = b.Control.Args[0], b.Control.Args[1] 55 ind, max = b.Control.Args[1], b.Control.Args[0] 93 // the mininum value (min) and the maximum value (max) [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
eval.pass.cpp | 31 std::vector<D::result_type> u(d.max()+1); 35 assert(d.min() <= v && v <= d.max()); 39 for (int i = 0; i <= d.max(); ++i) 49 std::vector<D::result_type> u(d.max()+1); 53 assert(d.min() <= v && v <= d.max()); 57 for (int i = 0; i <= d.max(); ++i) 67 std::vector<D::result_type> u(d.max()+1); 71 assert(d.min() <= v && v <= d.max()); 75 for (int i = 0; i <= d.max(); ++i) 85 std::vector<D::result_type> u(d.max()+1) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
eval.pass.cpp | 31 std::vector<D::result_type> u(d.max()+1); 35 assert(d.min() <= v && v <= d.max()); 39 for (int i = 0; i <= d.max(); ++i) 49 std::vector<D::result_type> u(d.max()+1); 53 assert(d.min() <= v && v <= d.max()); 57 for (int i = 0; i <= d.max(); ++i) 67 std::vector<D::result_type> u(d.max()+1); 71 assert(d.min() <= v && v <= d.max()); 75 for (int i = 0; i <= d.max(); ++i) 85 std::vector<D::result_type> u(d.max()+1) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
MullerSolver.java | 66 public double solve(final double min, final double max) 68 return solve(f, min, max); 73 public double solve(final double min, final double max, final double initial) 75 return solve(f, min, max, initial); 85 * @param max the upper bound for the interval 96 final double min, final double max, final double initial) 99 return solve(f, min, max, initial); 109 * @param max the upper bound for the interval 120 final double min, final double max, final double initial) 125 if (f.value(max) == 0.0) { return max; [all...] |
/external/deqp/framework/delibs/decpp/ |
deRandom.hpp | 48 float getFloat (float min, float max); 49 double getDouble (double min, double max); 50 int getInt (int min, int max); 79 inline float Random::getFloat (float min, float max) 81 DE_ASSERT(min <= max); 82 return min + (max-min)*getFloat(); 85 inline double Random::getDouble (double min, double max) 87 DE_ASSERT(min <= max); 88 return min + (max-min)*getDouble(); 91 inline int Random::getInt (int min, int max) [all...] |
/external/ltp/testcases/kernel/controllers/pids/ |
pids.sh | 27 # ./pids.sh caseno max 39 max=$2 113 start_pids_tasks2 $max 132 tmp=$((max - 1)) 133 tst_res TINFO "limit the number of pid to $max" 134 ROD echo $max \> $testpath/pids.max 155 lim=$((max + 2)) 157 ROD echo $lim \> $testpath/pids.max 159 start_pids_tasks2 $max [all...] |
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 119 SkMaskFilter* SkTableMaskFilter::CreateClip(uint8_t min, uint8_t max) { 121 MakeClipTable(table, min, max); 138 uint8_t max) { 139 if (0 == max) { 140 max = 1; 142 if (min >= max) { 143 min = max - 1; 145 SkASSERT(min < max); 147 SkFixed scale = (1 << 16) * 255 / (max - min); 149 for (int i = min + 1; i < max; i++) [all...] |
/external/skqp/src/effects/ |
SkTableMaskFilter.cpp | 119 SkMaskFilter* SkTableMaskFilter::CreateClip(uint8_t min, uint8_t max) { 121 MakeClipTable(table, min, max); 138 uint8_t max) { 139 if (0 == max) { 140 max = 1; 142 if (min >= max) { 143 min = max - 1; 145 SkASSERT(min < max); 147 SkFixed scale = (1 << 16) * 255 / (max - min); 149 for (int i = min + 1; i < max; i++) [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
TransportStats.java | 78 pw.println(String.format(Locale.US, "%sMax connection time: %d ms", prefix, stats.max)); 88 Math.max(a.max, b.max), 94 public long max; field in class:TransportStats.Stats 100 max = 0; 104 private Stats(int n, double average, long max, long min) { 107 this.max = max; 112 this(original.n, original.average, original.max, original.min) [all...] |
/external/libcxx/test/libcxx/type_traits/ |
convert_to_integral.pass.cpp | 38 const From max = Limits::max(); 41 auto ret = std::__convert_to_integral((From)max); 42 assert(ret == max); 48 UserDefinedIntegral<From> f(max); 50 assert(ret == max); 58 Enum e(static_cast<Enum>(max)); 60 assert(ret == max); 80 value = std::numeric_limits<unsigned long>::max()
|
/external/ppp/pppd/plugins/radius/ |
radrealms.c | 52 auths->max = 0; 54 accts->max = 0; 97 if (s->max >= SERVER_MAX) 116 s->name[s->max] = strdup(p); 124 s->port[s->max] = atoi(p); 125 info(" - Port is '%d'", s->port[s->max]); 126 s->max++; 132 if (accts->max) 135 if (auths->max)
|
/external/skia/fuzz/ |
Fuzz.h | 45 // nextRange returns values only in [min, max]. 46 template <typename T, typename Min, typename Max> 47 void nextRange(T*, Min, Max); 94 inline void Fuzz::nextRange(float* f, float min, float max) { 98 *f = max; 100 *f = min + std::fmod(std::abs(*f), (max - min + 1)); 103 template <typename T, typename Min, typename Max> 104 inline void Fuzz::nextRange(T* n, Min min, Max max) { 106 if (min == max) { [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/type_traits/ |
convert_to_integral.pass.cpp | 38 const From max = Limits::max(); 41 auto ret = std::__convert_to_integral((From)max); 42 assert(ret == max); 48 UserDefinedIntegral<From> f(max); 50 assert(ret == max); 58 Enum e(static_cast<Enum>(max)); 60 assert(ret == max); 80 value = std::numeric_limits<unsigned long>::max()
|
/external/capstone/ |
utils.c | 16 // NOTE: assume that the max id is always put at the end of insns array 28 // look for @id in @insns, given its size in @max. first time call will update @cache. 30 unsigned short insn_find(insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache) 32 if (id > insns[max - 1].id) 36 *cache = make_id2insn(insns, max); 41 int name2id(name_map* map, int max, const char *name) 45 for (i = 0; i < max; i++) {
|
/external/e2fsprogs/lib/ext2fs/ |
progress.c | 39 const char *label, __u64 max) 63 progress->max = max; 64 progress->log_max = int_log10(max); 89 progress->log_max, progress->max);
|
/external/easymock/src/org/easymock/internal/ |
Results.java | 72 int min = 0, max = 0;
local 76 if (interval.hasOpenCount() || max == Integer.MAX_VALUE) {
77 max = Integer.MAX_VALUE;
79 max += interval.getMaximum();
83 return new Range(min, max);
|
/external/freetype/src/psnames/ |
pstables.h | 4147 int count, min, max; local [all...] |
/external/libchrome/base/ |
rand_util.cc | 19 int RandInt(int min, int max) { 20 DCHECK_LE(min, max); 22 uint64_t range = static_cast<uint64_t>(max) - min + 1; 28 DCHECK_LE(result, max); 59 (std::numeric_limits<uint64_t>::max() / range) * range - 1;
|
/external/libtextclassifier/util/math/ |
softmax.cc | 82 // Find max value in "scores" vector and rescale to avoid overflows. 83 float max = std::numeric_limits<float>::min(); local 86 if (score > max) max = score; 93 const float exp_score = score - max < -16.0f ? 0 : VeryFastExp(score - max);
|
/external/pdfium/third_party/freetype/include/ |
pstables.h | 4147 int count, min, max; local [all...] |