/external/libvncserver/libvncclient/ |
listen.c | 34 #undef max macro 102 r = select(max(listenSocket, listen6Socket)+1, &fds, NULL, NULL, NULL); 198 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, NULL); 200 r = select(max(client->listenSock, client->listen6Sock) +1, &fds, NULL, NULL, &to);
|
/external/ltp/testcases/kernel/security/cap_bound/ |
cap_bounds_r.c | 88 #define max(x,y) (x > y ? x : y) macro 90 ret = prctl(PR_CAPBSET_READ, max(INSANE, CAP_LAST_CAP + 1));
|
cap_bounds_rw.c | 118 #define max(x,y) (x > y ? x : y) macro 120 ret = prctl(PR_CAPBSET_DROP, max(INSANE, CAP_LAST_CAP + 1)); 127 max(INSANE, CAP_LAST_CAP + 1), ret); 129 max(INSANE, CAP_LAST_CAP + 1));
|
/external/ltp/testcases/kernel/syscalls/getpriority/ |
getpriority01.c | 35 int max; member in struct:tcase 54 if (TEST_RETURN < tc->min || TEST_RETURN > tc->max) { 57 tc->which, TEST_RETURN, tc->min, tc->max);
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom02.c | 40 int i, index, max; local 44 max = 6 + nb * 0.2; 52 if (max > 0 && table[i] > max)
|
/external/ltp/testcases/lib/ |
tst_random.c | 42 static long rand_range(long min, long max) 44 return random() % (max - min + 1) + min; 50 long min = 0, max = 0; local 70 max = strtol(argv[1], &end, 10); 89 rval = (min > max) ? rand_range(max, min) : rand_range(min, max);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
7-1.c | 88 long max; local 93 max = sysconf(_SC_SEM_NSEMS_MAX); 95 if (max <= 0) { 96 output("sysconf(_SC_SEM_NSEMS_MAX) = %ld\n", max); 100 sems = (sem_t *) calloc(max, sizeof(sem_t)); 106 for (i = 0; i < max; i++) { 113 output("Tryed to initialize %ld.\n", max); 136 for (i = 0; i < max; i++)
|
/external/ltp/utils/ffsb-6.0-rc2/ |
util.h | 79 #define max(a, b) (((a) > (b)) ? (a) : (b)) macro
|
/external/pdfium/fxjs/xfa/ |
cjx_recordset.cpp | 17 void CJX_RecordSet::max(CFXJSE_Value* pValue, function in class:CJX_RecordSet
|
/external/python/cpython3/Modules/zlib/ |
compress.c | 31 const uInt max = (uInt)-1; local 51 stream.avail_out = left > (uLong)max ? max : (uInt)left; 55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
|
uncompr.c | 35 const uInt max = (uInt)-1; local 63 stream.avail_out = left > (uLong)max ? max : (uInt)left; 67 stream.avail_in = len > (uLong)max ? max : (uInt)len;
|
/external/skia/src/core/ |
SkAlphaRuns.cpp | 28 int max = (y + 1) * maxStep - (y == maxStep - 1); local 34 SkASSERT(*alpha <= max);
|
/external/skia/tests/ |
SafeMathTest.cpp | 12 size_t max = std::numeric_limits<size_t>::max(); local 15 size_t halfMax = max >> 1; 20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); 22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); 28 (void) safe.add(max, max); 35 size_t sqrtMax = max >> halfBits; 48 (void) safe.mul(max, max); [all...] |
/external/skia/tools/sk_app/unix/ |
keysym2ucs.c | 821 int max = sizeof(keysymtab) \/ sizeof(struct codepair) - 1; local [all...] |
/external/skqp/src/core/ |
SkAlphaRuns.cpp | 28 int max = (y + 1) * maxStep - (y == maxStep - 1); local 34 SkASSERT(*alpha <= max);
|
/external/skqp/tests/ |
SafeMathTest.cpp | 12 size_t max = std::numeric_limits<size_t>::max(); local 15 size_t halfMax = max >> 1; 20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); 22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); 28 (void) safe.add(max, max); 35 size_t sqrtMax = max >> halfBits; 48 (void) safe.mul(max, max); [all...] |
/external/skqp/tools/sk_app/unix/ |
keysym2ucs.c | 821 int max = sizeof(keysymtab) \/ sizeof(struct codepair) - 1; local [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
mathutil.h | 56 const unsigned int max = 0xFFFFFFFF >> (32 - n); local 60 return max; 68 return (unsigned int)(max * x + 0.5f);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
mathutil.h | 56 const unsigned int max = 0xFFFFFFFF >> (32 - n); local 60 return max; 68 return (unsigned int)(max * x + 0.5f);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
mathutil.h | 58 const unsigned int max = 0xFFFFFFFF >> (32 - n); local 62 return max; 70 return (unsigned int)(max * x + 0.5f);
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
EndianTest.cpp | 18 #undef max macro
|
/external/tremolo/Tremolo/ |
os.h | 78 #ifndef max 79 # define max(x,y) ((x)<(y)?(y):(x)) macro
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
frame_classify.c | 27 /* (o) Index to the max-energy sub frame */ 32 int16_t max, scale; local 48 max = WebRtcSpl_MaxAbsValueW16(residualFIX, iLBCenc_inst->blockl); 49 scale = WebRtcSpl_GetSizeInBits((uint32_t)(max * max));
|
/external/zlib/src/ |
compress.c | 31 const uInt max = (uInt)-1; local 51 stream.avail_out = left > (uLong)max ? max : (uInt)left; 55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
|
uncompr.c | 35 const uInt max = (uInt)-1; local 63 stream.avail_out = left > (uLong)max ? max : (uInt)left; 67 stream.avail_in = len > (uLong)max ? max : (uInt)len;
|