/external/libmicrohttpd/src/microhttpd/ |
postprocessor.c | 833 size_t max; local 847 max = pp->buffer_size - pp->buffer_pos; 848 if (max > post_data_len - poff) 849 max = post_data_len - poff; 850 memcpy (&buf[pp->buffer_pos], &post_data[poff], max); 851 poff += max; 852 pp->buffer_pos += max; 853 if ((max == 0) && (state_changed == 0) && (poff < post_data_len)) [all...] |
/external/libunwind/src/ia64/ |
Gscript.c | 396 int r, i, j, max, max_reg, max_when, num_regs = 0; local 413 for (i = max = 0; i < num_regs - 1; ++i) 415 max_reg = regorder[max]; 421 max = j; 425 if (i != max) 427 regorder[max] = regorder[i];
|
/external/libvncserver/common/ |
turbojpeg.c | 52 #ifndef max 53 #define max(a,b) ((a)>(b)?(a):(b)) macro
|
/external/libweave/third_party/chromium/base/strings/ |
string_number_conversions.cc | 115 // - static functions min, max (returning the minimum and maximum permitted 202 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || 203 (*output == static_cast<value_type>(traits::max() / traits::kBase) && 204 new_digit > traits::max() % traits::kBase)) { 205 *output = traits::max(); 240 static value_type max() { function in class:base::__anon17407::BaseIteratorRangeToNumberTraits 241 return std::numeric_limits<value_type>::max();
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_hash.c | 38 #define MAX(a, b) ((a > b) ? (a) : (b)) 185 int max = MAX(hash->numBits-2, hash->userNumBits); local 186 cso_data_rehash(hash, max);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_bld_depth.c | 184 LLVMValueRef max = lp_build_const_int_vec(bld->gallivm, type, 0xff); local 217 res = lp_build_min(bld, res, max); 225 res = LLVMBuildAnd(builder, res, max, ""); 229 res = LLVMBuildAnd(builder, res, max, ""); 233 res = LLVMBuildAnd(builder, res, max, "");
|
/external/netperf/src/ |
netserver.c | 640 SOCKET max = INVALID_SOCKET; local 656 if (temp->fd > max) 657 max = temp->fd; 671 return max; [all...] |
/external/opencv3/3rdparty/libwebp/enc/ |
analysis.c | 83 int min = centers[0], max = centers[0]; local 89 if (max < centers[n]) max = centers[n]; 92 if (max == min) max = min + 1; 93 assert(mid <= max && mid >= min); 95 const int alpha = 255 * (centers[n] - mid) / (max - min); 96 const int beta = 255 * (centers[n] - min) / (max - min);
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathVec.h | 247 static T baseTypeMax() {return limits<T>::max();} 459 static T baseTypeMax() {return limits<T>::max();} 641 static T baseTypeMax() {return limits<T>::max();} 1149 T max = absX; local 1151 if (max < absY) 1152 max = absY; 1154 if (max == T (0)) 1158 // Do not replace the divisions by max with multiplications by 1/max. 1159 // Computing 1/max can overflow but the divisions below will alway 1636 T max = absX; local 2035 T max = absX; local [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
private.hpp | 68 # undef max macro
|
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/ |
color_cvt.hpp | 65 __device__ __forceinline__ static T max() { return numeric_limits<T>::max(); } function in struct:cv::cudev::color_cvt_detail::ColorChannel 66 __device__ __forceinline__ static T half() { return (T)(max()/2 + 1); } 71 __device__ __forceinline__ static float max() { return 1.f; } function in struct:cv::cudev::color_cvt_detail::ColorChannel 86 return ColorChannel<T>::max(); 251 setAlpha(dst, ColorChannel<T>::max()); 397 setAlpha(dst, ColorChannel<T>::max()); 417 setAlpha(dst, ColorChannel<float>::max()); 491 setAlpha(dst, ColorChannel<T>::max()); 511 setAlpha(dst, ColorChannel<float>::max()); [all...] |
/external/opencv3/modules/imgproc/src/ |
grabcut.cpp | 137 double max = 0; local 142 if( p > max ) 145 max = p; 350 rect.x = std::max(0, rect.x); 351 rect.y = std::max(0, rect.y);
|
/external/pdfium/third_party/freetype/src/cff/ |
cf2hints.h | 91 CF2_Fixed max; member in struct:CF2_StemHintRec_
|
/external/pdfium/third_party/freetype/src/pshinter/ |
pshrec.c | 681 FT_UInt max = dim->hints.num_hints; local 685 for ( idx = 0; idx < max; idx++, hint++ ) 692 if ( idx >= max )
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
BC_QRFinderPatternFinder.cpp | 371 int32_t max = m_possibleCenters.GetSize();
local 372 for (int32_t index = 0; index < max; index++) {
391 int32_t max = m_possibleCenters.GetSize();
local 392 if (max <= 1) {
396 for (int32_t i = 0; i < max; i++) {
414 int32_t max = m_possibleCenters.GetSize();
local 416 for (i = 0; i < max; i++) {
426 FX_FLOAT average = totalModuleSize / (FX_FLOAT)max;
428 for (i = 0; i < max; i++) {
|
/external/regex-re2/re2/testing/ |
re2_test.cc | 713 static const int32 max = 0x7fffffff; local 714 static const int32 min = -max - 1; 717 CHECK(RE2::FullMatch("2147483647", "(-?\\d+)", &v)); CHECK_EQ(v, max); 723 CHECK_EQ(v, max); 729 CHECK_EQ(v, max); 734 static const uint32 max = 0xfffffffful; local 736 CHECK(RE2::FullMatch("4294967295", "(\\d+)", &v)); CHECK_EQ(v, max); 740 CHECK(RE2::FullMatch(zeros + "4294967295", "(\\d+)", &v)); CHECK_EQ(v, max); 744 static const int64 max = 0x7fffffffffffffffull; local 745 static const int64 min = -max - 1 770 static const uint64 max = 0xffffffffffffffffull; local [all...] |
/external/skia/src/ports/ |
SkScalerContext_win_dw.cpp | 72 /** A PPEMRange is inclusive, [min, max]. */ 75 int max; member in struct:PPEMRange 113 range->max = maxPPEM; 146 range.min <= sizeTable->ppemX && sizeTable->ppemX <= range.max) 185 range.min <= scaleTable->ppemX && scaleTable->ppemX <= range.max) {
|
/external/skia/tests/ |
MatrixClipCollapseTest.cpp | 642 int max = SkMax32(expected.count(), actual.count()); local 644 for (int i = 0; i < max; ++i) {
|
/external/v8/src/compiler/ |
loop-analysis.cc | 245 int max = num_nodes(); local 246 uint32_t* new_backward = zone_->NewArray<uint32_t>(new_width * max); 247 memset(new_backward, 0, new_width * max * sizeof(uint32_t)); 249 for (int i = 0; i < max; i++) { 260 int max = num_nodes(); local 261 forward_ = zone_->NewArray<uint32_t>(width_ * max); 262 memset(forward_, 0, width_ * max * sizeof(uint32_t));
|
/external/v8/test/cctest/ |
types-fuzz.h | 192 TypeHandle Range(double min, double max) { 193 return Type::Range(min, max, region_); 281 double max = integers[j]->Number(); local 282 if (min > max) std::swap(min, max); 283 return Type::Range(min, max, region_);
|
/external/v8/test/unittests/compiler/arm/ |
instruction-selector-arm-unittest.cc | 2680 uint32_t max = 1 << lsb; local 2697 uint32_t max = 1 << lsb; local [all...] |
/external/v8/test/unittests/compiler/ |
js-typed-lowering-unittest.cc | 678 int max = random_number_generator()->NextInt(static_cast<int>(kLength)); local 679 if (min > max) std::swap(min, max); 680 Node* key = Parameter(Type::Range(min, max, zone())); 811 int max = random_number_generator()->NextInt(static_cast<int>(kLength)); local 812 if (min > max) std::swap(min, max); 813 Node* key = Parameter(Type::Range(min, max, zone())); [all...] |
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
spreadsort.hpp | 65 find_extremes(RandomAccessIter current, RandomAccessIter last, RandomAccessIter & max, RandomAccessIter & min)
67 min = max = current;
68 //Start from the second item, as max and min are initialized to the first
70 if(*max < *current)
71 max = current;
80 find_extremes(RandomAccessIter current, RandomAccessIter last, RandomAccessIter & max, RandomAccessIter & min, compare comp)
82 min = max = current;
84 if(comp(*max, *current))
85 max = current;
135 RandomAccessIter max, min; local 250 RandomAccessIter max, min; local 298 RandomAccessIter max, min; local 491 div_type max, min; local 540 div_type max, min; local 591 div_type max, min; local 640 div_type max, min; local 690 div_type max, min; local 774 div_type max, min; local 858 div_type max, min; local [all...] |
/external/zlib/src/examples/ |
gzlog.c | 42 subsequent stored blocks as needed (16K max each) 611 uint got, max; local 654 max = (((uint)0 - 1) >> 1) + 1; /* in case int smaller than size_t */ 656 strm.avail_in = len > max ? max : (uint)len; [all...] |
/frameworks/av/media/libmedia/ |
IMediaRecorder.cpp | 245 status_t getMaxAmplitude(int* max) 251 *max = reply.readInt32(); 385 int max = 0; local 386 status_t ret = getMaxAmplitude(&max); 387 reply->writeInt32(max);
|