Searched defs:max (Results 301 - 325 of 1064) sorted by relevance

<<11121314151617181920>>

/external/pdfium/xfa/src/fxbarcode/qrcode/
H A DBC_QRDataBlock.cpp102 int32_t max = ((CBC_QRDataBlock*)(*result)[0])->m_codewords->GetSize(); local
103 for (i = shorterBlocksNumDataCodewords; i < max; i++) {
H A DBC_QRGridSampler.cpp118 int32_t max = points.GetSize(); local
121 for (x = 0; x < max; x += 2) {
128 for (x = 0; x < max; x += 2) {
/external/regex-re2/re2/
H A Dsimplify.cc122 // Simplifies the expression re{min,max} in terms of *, +, and ?.
125 static Regexp* SimplifyRepeat(Regexp* re, int min, int max,
307 // Simplifies the expression re{min,max} in terms of *, +, and ?.
313 Regexp* SimplifyWalker::SimplifyRepeat(Regexp* re, int min, int max, argument
316 if (max == -1) {
337 if (min == 0 && max == 0)
341 if (min == 1 && max == 1)
359 if (max > min) {
361 for (int i = min+1; i < max; i++)
370 // Some degenerate case, like min > max, o
372 LOG(DFATAL) << "Malformed repeat " << re->ToString() << " " << min << " " << max; local
[all...]
/external/regex-re2/re2/testing/
H A Ddfa_test.cc98 int max = 24; local
99 for (int i = 17; i < max; i++) {
/external/replicaisland/src/com/replica/replicaisland/
H A DRenderSystem.java135 RenderElementPool(int max) { argument
136 super(max);
/external/selinux/libselinux/src/
H A Dload_policy.c46 #undef max macro
47 #define max(a, b) (((a) > (b)) ? (a) : (b)) macro
162 maxvers = max(kernvers, maxvers);
/external/skia/bench/
H A DGeometryBench.cpp51 const SkScalar max = 100; local
54 SkScalar x = rand.nextRangeScalar(min, max);
55 SkScalar y = rand.nextRangeScalar(min, max);
56 SkScalar w = rand.nextRangeScalar(min, max);
57 SkScalar h = rand.nextRangeScalar(min, max);
/external/skia/include/core/
H A DSkMath.h107 /** Given an integer and a positive (max) integer, return the value
108 * pinned against 0 and max, inclusive.
109 * @param value The value we want returned pinned between [0...max]
110 * @param max The positive max value
111 * @return 0 if value < 0, max if value > max, else value
113 static inline int SkClampMax(int value, int max) { argument
114 // ensure that max is positive
115 SkASSERT(max >
[all...]
/external/skia/include/utils/
H A DSkRandom.h64 * Returns value [min...max) as a float
66 float nextRangeF(float min, float max) { argument
67 return min + this->nextF() * (max - min);
80 [min, max] inclusive.
82 uint32_t nextRangeU(uint32_t min, uint32_t max) { argument
83 SkASSERT(min <= max);
84 uint32_t range = max - min + 1;
116 in the range [min..max).
118 SkScalar nextRangeScalar(SkScalar min, SkScalar max) { argument
119 return this->nextUScalar1() * (max
[all...]
/external/skia/samplecode/
H A DSampleClip.cpp57 static SkScalar randRange(SkRandom& rand, SkScalar min, SkScalar max) { argument
58 SkASSERT(min <= max);
59 return min + SkScalarMul(rand.nextUScalar1(), max - min);
/external/skia/src/animator/
H A DSkDisplayAdd.cpp95 int max = parentList->count(); local
97 index = max;
100 if (index > max) {
106 index += max + 1;
/external/skia/src/core/
H A DSkBitmapProcState_matrix.h36 static inline uint32_t PACK_FILTER_Y_NAME(SkFixed f, unsigned max, argument
38 unsigned i = TILEY_PROCF(f, max);
39 i = (i << 4) | TILEY_LOW_BITS(f, max);
40 return (i << 14) | (TILEY_PROCF((f + one), max));
43 static inline uint32_t PACK_FILTER_X_NAME(SkFixed f, unsigned max, argument
45 unsigned i = TILEX_PROCF(f, max);
46 i = (i << 4) | TILEX_LOW_BITS(f, max);
47 return (i << 14) | (TILEX_PROCF((f + one), max));
H A DSkBitmapProcState_matrixProcs.cpp61 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
62 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
63 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
64 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF)
69 static unsigned X(const SkBitmapProcState&, SkFixed fx, int max) { argument
70 return SkClampMax(fx >> 16, max);
72 static unsigned Y(const SkBitmapProcState&, SkFixed fy, int max) { argument
73 return SkClampMax(fy >> 16, max);
105 X(const SkBitmapProcState&, SkFixed fx, int max) argument
[all...]
H A DSkRect.cpp63 Sk4s min, max, accum; local
74 accum = max = min;
82 max = Sk4s::Max(max, xy);
88 * in which case we could eliminate accum entirely, and just check min and max for
94 max.store(maxArray);
/external/skia/src/effects/
H A DSkEmbossMask.cpp21 static inline int neq_to_one(int x, int max) { argument
23 return x != max;
25 SkASSERT(x >= 0 && x <= max);
26 return ((unsigned)(x - max)) >> 31;
30 static inline int neq_to_mask(int x, int max) { argument
32 return -(x != max);
34 SkASSERT(x >= 0 && x <= max);
35 return (x - max) >> 31;
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
H A DSelectionArea.java55 private int checkBounds(int value, int max) { argument
58 else if (value > max)
59 return max;
106 return Math.max(top, bottom);
143 return Math.max(left, right);
/external/strace/
H A Dv4l2.c141 unsigned int i, max; local
152 max = pix_mp->num_planes;
153 if (max > VIDEO_MAX_PLANES)
154 max = VIDEO_MAX_PLANES;
155 for (i = 0; i < max; i++) {
543 tprintf(", stepwise={min=" FMT_FRACT ", max="
546 ARGS_FRACT(f.stepwise.max),
/external/tinyalsa/
H A Dtinymix.c130 int min, max; local
192 max = mixer_ctl_get_range_max(ctl);
193 printf(" (range %d->%d)", min, max);
/external/tremolo/Tremolo/
H A Dres012.c114 int max=pcmend>>1; local
115 int end=(info->end<max?info->end:max);
187 int max=(pcmend*ch)>>1; local
188 int end=(info->end<max?info->end:max);
/external/v8/src/compiler/
H A Dcontrol-equivalence.cc184 int max = NodeProperties::PastControlIndex(node); local
185 for (int i = NodeProperties::FirstControlIndex(node); i < max; i++) {
/external/v8/src/crankshaft/
H A Dhydrogen-flow-engine.h121 int max = block->end()->SuccessorCount(); local
122 for (int i = 0; i < max; i++) {
126 if (max == 1 && succ->predecessors()->length() == 1) {
/external/v8/test/cctest/compiler/
H A Dtest-node.cc758 int max = static_cast<int>(arraysize(nodes)); local
762 for (int i = 0; i < max; i++) {
766 for (int j = 0; j < max; j++) {
774 for (int i = max; i >= 0; i--) {
/external/vboot_reference/futility/
H A Dmisc.c51 static inline uint32_t max(uint32_t a, uint32_t b) function
85 maxlen = max(maxlen,
87 maxlen = max(maxlen,
89 maxlen = max(maxlen,
91 maxlen = max(maxlen,
/external/webrtc/webrtc/base/
H A Dhelpers.cc34 // Protect against max macro inclusion.
35 #undef max macro
304 return CreateRandomId() / (std::numeric_limits<uint32_t>::max() +
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dencode.c58 int16_t scale, max; local
156 max=WebRtcSpl_MaxAbsValueW16(&residual[index], 2*SUBL);
157 scale = WebRtcSpl_GetSizeInBits((uint32_t)(max * max));

Completed in 1522 milliseconds

<<11121314151617181920>>