Searched defs:max (Results 26 - 50 of 1129) sorted by relevance

1234567891011>>

/external/chromium_org/remoting/host/
H A Dhost_secret.cc23 // Generates cryptographically strong random number in the range [0, max).
24 int CryptoRandomInt(int max) { argument
27 return random_int32 % max;
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dbuf.h71 size_t max; /* size of buffer */ member in struct:buf_mem_st
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_utils.h23 int count, unsigned max) {
36 return (unsigned)SkFixedFloorToInt(fx) <= max &&
37 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
21 can_truncate_to_fixed_for_decal(SkFractionalInt frX, SkFractionalInt frDx, int count, unsigned max) argument
/external/chromium_org/third_party/skia/src/views/unix/
H A Dkeysym2ucs.c821 int max = sizeof(keysymtab) / sizeof(struct codepair) - 1; local
834 while (max >= min) {
835 mid = (min + max) / 2;
839 max = mid - 1;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dmy_corr.c32 int16_t max, scale, loops; local
37 max=WebRtcSpl_MaxAbsValueW16(seq1, dim1);
38 scale=WebRtcSpl_GetSizeInBits(max);
/external/clang/test/Profile/
H A Dc-attributes.c37 int max = atoi(argv[1]); local
39 for (i = 0; i < max; i++)
41 for (i = 0; i < max * 4 / 10; i++)
43 for (i = 0; i < max * 2 / 10; i++)
45 for (i = 0; i < max / 200; i++)
/external/clang/test/SemaTemplate/
H A Dalignas.cpp7 constexpr T max(T t, U u) { return t > u ? t : u; } function
10 constexpr auto max(T t, Ts ...ts) -> decltype(max(t, max(ts...))) { function
11 return max(t, max(ts...));
15 alignas(T...) char buffer[max(sizeof(T)...)];
/external/eigen/doc/examples/
H A DTutorial_ReductionsVisitorsBroadcasting_visitors.cpp16 float max = m.maxCoeff(&maxRow, &maxCol); local
22 cout << "Max: " << max << ", at: " <<
/external/fio/
H A Dfifo.h51 #ifndef max
52 #define max(x,y) ({ \ macro
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dstat.h9 u64 max, min; member in struct:stats
23 stats->max = 0;
/external/skia/src/core/
H A DSkBitmapProcState_utils.h23 int count, unsigned max) {
36 return (unsigned)SkFixedFloorToInt(fx) <= max &&
37 (unsigned)SkFixedFloorToInt(fx + dx * (count - 1)) < max;
21 can_truncate_to_fixed_for_decal(SkFractionalInt frX, SkFractionalInt frDx, int count, unsigned max) argument
/external/skia/src/views/unix/
H A Dkeysym2ucs.c821 int max = sizeof(keysymtab) / sizeof(struct codepair) - 1; local
834 while (max >= min) {
835 mid = (min + max) / 2;
839 max = mid - 1;
/external/skia/tools/
H A DStats.h7 max = samples[0];
10 if (samples[i] > max) { max = samples[i]; }
27 double max; member in struct:Stats
/external/tremolo/Tremolo/
H A Dos.h78 #ifndef max
79 # define max(x,y) ((x)<(y)?(y):(x)) macro
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3cyclicdfa.h80 const ANTLR3_INT32 * const max; member in struct:ANTLR3_CYCLIC_DFA_struct
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
H A DStats.cs104 public static int max(int[] X) { method in class:Antlr.Runtime.Misc.Stats
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DStats.java99 public static int max(int[] X) { method in class:Stats
100 int max = Integer.MIN_VALUE;
106 if ( X[i] > max ) {
107 max = X[i];
110 return max;
143 public static int max(List<Integer> X) { method in class:Stats
144 int max = Integer.MIN_VALUE;
150 if ( X.get(i) > max ) {
151 max = X.get(i);
154 return max;
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java65 * 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) <
72 createRandomInRange( BigInteger min, BigInteger max, SecureRandom random) argument
[all...]
/external/chromium_org/base/
H A Drand_util.cc18 int RandInt(int min, int max) { argument
19 DCHECK_LE(min, max);
21 uint64 range = static_cast<uint64>(max) - min + 1;
24 DCHECK_LE(result, max);
54 (std::numeric_limits<uint64>::max() / range) * range - 1;
/external/chromium_org/cc/test/
H A Dfake_proxy.cc31 void FakeProxy::SetMaxPartialTextureUpdates(size_t max) { argument
32 max_partial_texture_updates_ = max;
/external/chromium_org/chrome/browser/extensions/api/metrics_private/
H A Dmetrics_private_api.cc81 int min, int max, size_t buckets,
86 max = std::min(max, INT_MAX - 3);
89 min = std::max(min, 1);
90 max = std::max(max, min + 1);
91 buckets = std::max(buckets, static_cast<size_t>(3));
93 if (buckets > static_cast<size_t>(max - min + 2))
94 buckets = max
78 RecordValue( const std::string& name, base::HistogramType type, int min, int max, size_t buckets, int sample) argument
[all...]
/external/chromium_org/chrome/browser/mac/
H A Dmac_startup_profiler.cc68 base::TimeDelta max = base::TimeDelta::FromMinutes(1); local
77 max,
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_audio_level_calculator.cc15 // Note, the return value can be bigger than std::numeric_limits<int16>::max().
17 int max = 0, absolute = 0; local
20 if (absolute > max)
21 max = absolute;
23 // The range of int16 is [-32768, 32767], verify the |max| should not be
25 DCHECK(max <= std::abs(std::numeric_limits<int16>::min()));
27 return max;
51 int max = MaxAmplitude(audio_data, number_of_channels * number_of_frames); local
52 max_amplitude_ = std::max(max_amplitude_, max);
[all...]
/external/chromium_org/net/quic/
H A Dport_suggester.cc24 int PortSuggester::SuggestPort(int min, int max) { argument
34 DCHECK_LE(min, max);
36 int range = max - min + 1;
/external/chromium_org/ppapi/thunk/
H A Dppb_uma_private_thunk.cc24 int64_t max,
34 max,
42 int32_t max,
52 max,
20 HistogramCustomTimes(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) argument
38 HistogramCustomCounts(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) argument

Completed in 5326 milliseconds

1234567891011>>