/libcore/luni/src/main/java/java/util/zip/ |
DeflaterInputStream.java | 134 int bytesDeflated = def.deflate(buf, 0, Math.min(buf.length, byteCount - count)); 155 byteCount = Math.min(Integer.MAX_VALUE, byteCount);
|
/libcore/luni/src/main/java/libcore/net/http/ |
ChunkedInputStream.java | 52 int read = in.read(buffer, offset, Math.min(count, bytesRemainingInChunk)); 101 return Math.min(in.available(), bytesRemainingInChunk);
|
/packages/apps/Email/src/com/android/email/view/ |
SizeBoundingFrameLayout.java | 92 widthSize = Math.min(widthSize, mMaxWidth); 104 heightSize = Math.min(heightSize, mMaxHeight);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
pcm_extplug.h | 167 int snd_pcm_extplug_set_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max); 169 int snd_pcm_extplug_set_slave_param_minmax(snd_pcm_extplug_t *extplug, int type, unsigned int min, unsigned int max);
|
/system/core/toolbox/ |
insmod.c | 48 #define min(x,y) ((x) < (y) ? (x) : (y)) macro 76 len = min(strlen(argv[i]), end - ptr);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/css/ |
feed.css | 14 min-width: 500px; 51 min-width: 300px; 59 min-width: 500px;
|
/external/easymock/src/org/easymock/ |
MockControl.java | 529 * @param min minimum number of times the call is expected
533 int min, int max) {
534 EasyMock.expectLastCall().andReturn(value).times(min, max);
537 public void expectAndReturn(int ignored, int value, int min, int max) {
538 this.expectAndReturn((Object) ignored, (Object) value, min, max);
591 * @param min minimum number of times the call is expected
594 public void expectAndThrow(Object ignored, Throwable throwable, int min,
596 expect(ignored).andThrow(throwable).times(min, max);
|
/external/icu4c/common/ |
uvectr32.cpp | 304 int32_t min = 0, max = count; local 305 while (min != max) { 306 int32_t probe = (min + max) / 2; 313 min = probe + 1; 317 for (int32_t i=count; i>min; --i) { 320 elements[min] = tok;
|
/external/iptables/extensions/ |
libxt_dccp.c | 55 .min = 1, .max = UINT8_MAX, .flags = XTOPT_PUT, 152 print_ports(const char *name, uint16_t min, uint16_t max, 157 if (min != 0 || max != 0xFFFF || invert) { 159 if (min == max) { 161 print_port(min, numeric); 164 print_port(min, numeric);
|
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 132 m_width = m_datawindow.max.x - m_datawindow.min.x + 1; 133 m_height = m_datawindow.max.y - m_datawindow.min.y + 1; 232 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep, 239 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 4, 246 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep + 8, 255 buffer - m_datawindow.min.x * 12 - m_datawindow.min.y * ystep [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.28-1.js | 24 ECMA Section: 15.9.5.28 Date.prototype.setMinutes(min [, sec [, ms ]] ) 33 2. Call ToNumber(min). 126 function addNewTestCase( time, min, sec, ms, DateString, UTCDate, LocalDate) { 130 DateCase.setMinutes( min ); 133 DateCase.setMinutes( min, sec ); 135 DateCase.setMinutes( min, sec, ms ); 206 function SetMinutes( t, min, sec, ms ) { 208 var MIN = Number(min); 212 MIN, [all...] |
15.9.5.29-1.js | 24 ECMA Section: 15.9.5.29 Date.prototype.setUTCMinutes(min [, sec [, ms ]] ) 33 2. Call ToNumber(min). 50 writeHeaderToLog( SECTION + " Date.prototype.setUTCMinutes( min [, sec, ms] )"); 123 function addNewTestCase( time, min, sec, ms, DateString, UTCDate, LocalDate) { 127 DateCase.setUTCMinutes( min ); 130 DateCase.setUTCMinutes( min, sec ); 132 DateCase.setUTCMinutes( min, sec, ms ); 200 function SetUTCMinutes( t, min, sec, ms ) { 202 var MIN = Number(min); [all...] |
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEComponentTransfer.cpp | 111 double v2 = tableValues[std::min((k + 1), (n - 1))]; 113 val = std::max(0.0, std::min(255.0, val)); 126 k = std::min(k, n - 1); 128 val = std::max(0.0, std::min(255.0, val)); 137 val = std::max(0.0, std::min(255.0, val)); 147 val = std::max(0.0, std::min(255.0, val));
|
/external/webrtc/src/modules/audio_processing/aecm/main/matlab/matlab/ |
align.m | 20 mD = min(i-1,delayStruct.maxDelayb); 56 [valuen, tempdelay] = min(delayStruct.new(:,i)); % find minimum 90 plot([1:length(delayStructNew.new(:,i))],delayStructNew.new(:,i),trueDelay*[1 1],[min(delayStructNew.new(:,i)),max(delayStructNew.new(:,i))],'r',[1 length(delayStructNew.new(:,i))],threshold*[1 1],'r:', 'LineWidth',2); 91 %plot([1:length(delayStructNew.bcount(:,i))],delayStructNew.bcount(:,i),trueDelay*[1 1],[min(delayStructNew.bcount(:,i)),max(delayStructNew.bcount(:,i))],'r','LineWidth',2); 92 %plot([thedelay,thedelay],[min(fcount(:,i)),max(fcount(:,i))],'r');
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppWidgetResizeFrame.java | 171 mDeltaX = Math.min(mBaselineWidth - 2 * mTouchTargetWidth, mDeltaX); 173 mDeltaX = Math.min(mDragLayer.getWidth() - (mBaselineX + mBaselineWidth), deltaX); 179 mDeltaY = Math.min(mBaselineHeight - 2 * mTouchTargetWidth, mDeltaY); 181 mDeltaY = Math.min(mDragLayer.getHeight() - (mBaselineY + mBaselineHeight), deltaY); 245 cellXInc = Math.min(lp.cellHSpan - mMinHSpan, cellXInc); 247 hSpanInc = Math.min(mExpandability[LEFT], hSpanInc); 251 hSpanInc = Math.min(mExpandability[RIGHT], hSpanInc); 258 cellYInc = Math.min(lp.cellVSpan - mMinVSpan, cellYInc); 260 vSpanInc = Math.min(mExpandability[TOP], vSpanInc); 264 vSpanInc = Math.min(mExpandability[BOTTOM], vSpanInc) [all...] |
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 524 final long startTime = Math.min(mScrollerX.mStartTime, mScrollerY.mStartTime); 715 boolean springback(int start, int min, int max) { 724 if (start < min) { 725 startSpringback(start, min, 0); 747 void fling(int start, int velocity, int min, int max, int over) { 755 if (start > max || start < min) { 756 startAfterEdge(start, min, max, velocity); 772 if (mFinal < min) { 773 adjustDuration(mStart, mFinal, min); 774 mFinal = min; [all...] |
/external/chromium/net/websockets/ |
websocket_handshake.cc | 213 // represented as int, so DCHECK(min <= max) fails. 214 uint32 RandUint32(uint32 min, uint32 max) { 215 DCHECK(min <= max); 217 uint64 range = static_cast<int64>(max) - min + 1; 221 uint32 result = min + static_cast<uint32>(number % range); 222 DCHECK(result >= min && result <= max); 228 uint32 (*WebSocketHandshake::Parameter::rand_)(uint32 min, uint32 max) = 272 uint32 (*rand)(uint32 min, uint32 max)) {
|
/external/guava/src/com/google/common/primitives/ |
Chars.java | 213 public static char min(char... array) { method in class:Chars 215 char min = array[0]; local 217 if (array[i] < min) { 218 min = array[i]; 221 return min; 331 System.arraycopy(original, 0, copy, 0, Math.min(original.length, length)); 384 int minLength = Math.min(left.length, right.length);
|
Ints.java | 213 public static int min(int... array) { method in class:Ints 215 int min = array[0]; local 217 if (array[i] < min) { 218 min = array[i]; 221 return min; 340 System.arraycopy(original, 0, copy, 0, Math.min(original.length, length)); 391 int minLength = Math.min(left.length, right.length);
|
Longs.java | 181 public static long min(long... array) { method in class:Longs 183 long min = array[0]; local 185 if (array[i] < min) { 186 min = array[i]; 189 return min; 317 System.arraycopy(original, 0, copy, 0, Math.min(original.length, length)); 369 int minLength = Math.min(left.length, right.length);
|
Shorts.java | 213 public static short min(short... array) { method in class:Shorts 215 short min = array[0]; local 217 if (array[i] < min) { 218 min = array[i]; 221 return min; 331 System.arraycopy(original, 0, copy, 0, Math.min(original.length, length)); 383 int minLength = Math.min(left.length, right.length);
|
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrParser.h | 544 void parseQuantifier(bool lastTokenWasAnAtom, unsigned min, unsigned max) 547 ASSERT(min <= max); 550 m_delegate.quantifyAtom(min, max, !tryConsume('?')); 636 unsigned min = consumeNumber(); local 637 unsigned max = min; 643 if (min <= max) 644 parseQuantifier(lastTokenWasAnAtom, min, max); 831 * void quantifyAtom(unsigned min, unsigned max, bool greedy);
|
/external/webkit/Source/WebCore/dom/ |
ViewportArguments.cpp | 105 args.width = min(float(10000), max(args.width, float(1))); 107 args.height = min(float(10000), max(args.height, float(1))); 110 args.initialScale = min(float(10), max(args.initialScale, float(0.1))); 112 args.minimumScale = min(float(10), max(args.minimumScale, float(0.1))); 114 args.maximumScale = min(float(10), max(args.maximumScale, float(0.1))); 124 result.minimumScale = min(float(5.0), result.minimumScale); 142 result.initialScale = min(result.maximumScale, max(result.minimumScale, result.initialScale));
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
armVCM4P10_DeblockingLuma_unsafe_s.s | 75 min RN 2 label 191 UQSUB8 min, p_1, tC0 194 USUB8 t4, P1a, min 195 SEL P1a, P1a, min 200 UQSUB8 min, q_1, tC0 203 USUB8 t0, Q1a, min 204 SEL Q1a, Q1a, min
|
/external/webrtc/src/modules/audio_processing/aec/main/source/ |
echo_cancellation.c | 652 if (aecpc->aec->erl.min < (offsetLevel * (-1))) { 653 metrics->erl.min = (short) aecpc->aec->erl.min; 656 metrics->erl.min = offsetLevel; 673 if (aecpc->aec->erle.min < (offsetLevel * (-1))) { 674 metrics->erle.min = (short) aecpc->aec->erle.min; 676 metrics->erle.min = offsetLevel; 691 metrics->rerl.min = stmp; 707 if (aecpc->aec->aNlp.min < (offsetLevel * (-1))) [all...] |