/external/libexif/libexif/ |
exif-utils.h | 182 #undef MAX 183 #define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
/external/mesa3d/src/intel/isl/ |
isl_priv.h | 48 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 123 return MAX(n >> levels, 1);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/display/ |
BrightnessUtilsTest.java | 31 private static final int MAX = 255; 35 assertThat(BrightnessUtils.convertLinearToGamma(MIN, MIN, MAX)).isEqualTo(0); 40 assertThat(BrightnessUtils.convertLinearToGamma(MAX, MIN, MAX)).isEqualTo(GAMMA_SPACE_MAX); 45 assertThat(BrightnessUtils.convertGammaToLinear(MIN, MIN, MAX)).isEqualTo(MIN); 50 assertThat(BrightnessUtils.convertGammaToLinear(GAMMA_SPACE_MAX, MIN, MAX)).isEqualTo(MAX);
|
/packages/apps/Gallery2/jni/filters/ |
filters.h | 34 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 44 #define CLAMP(c) (MAX(0, MIN(255, c))) 47 extern int clampMax(int c,int max);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
SeekBarPreferenceTest.java | 34 private static final int MAX = 75; 46 mSeekBarPreference.setMax(MAX); 59 assertThat(preference.getMax()).isEqualTo(MAX);
|
/external/curl/docs/examples/ |
10-at-a-time.c | 88 #define MAX 10 /* number of simultaneous transfers */ 128 curl_multi_setopt(cm, CURLMOPT_MAXCONNECTS, (long)MAX); 130 for(C = 0; C < MAX; ++C) {
|
/external/fio/ |
tickmarks.c | 15 #define MAX(a, b) (((a) < (b)) ? (b) : (a)) 90 int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm, 96 double graphmin, graphmax; /* graph range min and max */ 100 /* we expect min != max */ 101 range = nicenum(max - min, 0); 104 graphmax = ceil(max / d) * d; 105 nfrac = MAX(-floor(log10(d)), 0);
|
/external/libmpeg2/common/ |
icv_macros.h | 43 #define MAX(x,y) ((x) > (y) ? (x) : (y)) 50 #define MED3(a,b,c) (MIN(MAX( MIN((a),(b)), (c)), MAX((a),(b)))) 56 #define CLIP3(min, max, x) (((x) > (max)) ? (max) :(((x) < (min))? (min):(x)))
|
impeg2_macros.h | 25 #define MAX(x,y) ((x) > (y) ? (x) : (y)) 29 #define CLIP(Number,Max,Min) if((Number) > (Max)) (Number) = (Max); \
|
/external/valgrind/helgrind/tests/ |
shmem_abits.c | 7 #define MAX 1000000 8 static unsigned char shadow[MAX]; 64 char s[MAX]; 65 memcpy(s, shadow, MAX); 68 p = &s[MAX/2-1-s[0]];
|
/packages/services/BuiltInPrintService/jni/include/ |
wtypes.h | 47 #ifndef MAX 48 #define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
param.h | 74 /* Macros for min/max. */ 76 #define MAX(a,b) (((a)>(b))?(a):(b))
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
param.h | 74 /* Macros for min/max. */ 76 #define MAX(a,b) (((a)>(b))?(a):(b))
|
/device/generic/car/emulator/audio/driver/ |
ext_pcm.c | 34 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) 61 pipeline_out->position = MAX(pipeline_out->position, pipeline_in->position);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/stringlib/ |
localeutil.h | 20 #undef MAX
23 #define MAX(x, y) ((x) < (y) ? (y) : (x))
160 l = MIN(l, MAX(MAX(remaining, min_width), 1));
161 n_zeros = MAX(0, l - remaining);
162 n_chars = MAX(0, MIN(remaining, l));
190 l = MAX(MAX(remaining, min_width), 1);
191 n_zeros = MAX(0, l - remaining);
192 n_chars = MAX(0, MIN(remaining, l)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/stringlib/ |
localeutil.h | 20 #undef MAX
23 #define MAX(x, y) ((x) < (y) ? (y) : (x))
160 l = MIN(l, MAX(MAX(remaining, min_width), 1));
161 n_zeros = MAX(0, l - remaining);
162 n_chars = MAX(0, MIN(remaining, l));
190 l = MAX(MAX(remaining, min_width), 1);
191 n_zeros = MAX(0, l - remaining);
192 n_chars = MAX(0, MIN(remaining, l)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
localeutil.h | 20 #undef MAX
23 #define MAX(x, y) ((x) < (y) ? (y) : (x))
160 l = MIN(l, MAX(MAX(remaining, min_width), 1));
161 n_zeros = MAX(0, l - remaining);
162 n_chars = MAX(0, MIN(remaining, l));
190 l = MAX(MAX(remaining, min_width), 1);
191 n_zeros = MAX(0, l - remaining);
192 n_chars = MAX(0, MIN(remaining, l)); [all...] |
/external/giflib/ |
gifalloc.c | 13 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) 128 ColorUnion = GifMakeMapObject(MAX(ColorIn1->ColorCount,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Quantifier.java | 24 public static final int MAX = Integer.MAX_VALUE; 80 } else if (maxCount == MAX) { 84 } else if (minCount == 1 && maxCount == MAX) { 90 if (maxCount != MAX) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Quantifier.java | 23 public static final int MAX = Integer.MAX_VALUE; 79 } else if (maxCount == MAX) { 83 } else if (minCount == 1 && maxCount == MAX) { 89 if (maxCount != MAX) {
|
/external/libavc/common/ |
ih264_macros.h | 55 * @brief Min, Max 58 #define MAX(a,b) ((a > b)?(a):(b))
|
/external/libhevc/common/ |
ihevc_macros.h | 40 #define CLIP3(x, min, max) (((x) > (max)) ? (max) :(((x) < (min))? (min):(x))) 42 #define MAX(x,y) (((x) > (y)) ? (x) :(y))
|
/external/libopus/celt/ |
_kiss_fft_guts.h | 30 #define MAX(a,b) ((a)>(b) ? (a):(b)) 155 /*# define KISS_FFT_COS(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) 156 # define KISS_FFT_SIN(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))*/
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonShuffler.cpp | 36 enum { MAX = 360360 }; // LCD of 1/2, 1/3, 1/4,... 1/15. 41 HexagonBid(unsigned B) { Bid = B ? MAX / countPopulation(B) : 0; }; 44 bool isSold() const { return (Bid >= MAX); };
|
/external/ltp/testcases/realtime/include/ |
libstats.h | 50 #define MAX(A,B) ((A)>(B)?(A):(B)) 168 * min and max elements in records list and the sum
|