Searched refs:MIN (Results 1 - 18 of 18) sorted by relevance

/system/connectivity/wifilogd/
H A Dlocal_utils.h27 // Converts the value SRC to a value of DST_TYPE, in the range of [MIN, MAX].
28 // Values less than MIN are clamped to MIN, and values greater than MAX are
35 #define SAFELY_CLAMP(SRC, DST_TYPE, MIN, MAX) \
36 local_utils::internal::SafelyClamp<decltype(SRC), DST_TYPE, MIN, MAX, MIN, \
/system/core/libbacktrace/
H A DBacktracePtrace.cpp76 bytes = MIN(map.end - addr, bytes);
84 size_t copy_bytes = MIN(sizeof(word_t) - align_bytes, bytes);
H A DBacktraceCurrent.cpp62 bytes = MIN(map.end - addr, bytes);
/system/extras/ioshark/
H A Dioshark_bench.h38 #define MIN(A, B) ((A) < (B) ? (A) : (B)) macro
H A Dioshark_bench_mmap.c71 MIN((u_int64_t)total_len, (u_int64_t)slice);
97 iolength = MIN(mio->table[i].len, iolength);
H A Dioshark_bench_subr.c286 n = MIN(size, MINBUFLEN);
/system/core/libsuspend/
H A Dautosuspend_wakeup_count.cpp62 sleep_time = MIN(sleep_time * 2, MAX_SLEEP_TIME);
/system/core/logwrapper/
H A Dlogwrap.c36 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
147 cnt = MIN(line_len, e_buf->buf_size - e_buf->write);
/system/bt/embdrv/sbc/decoder/srce/
H A Dbitalloc.c99 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dconv.c150 maxlen = MIN(cbsz, in.dbcnt);
/system/core/liblog/
H A Dlogprint.c47 #ifndef MIN
48 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
1634 prefixLen = MIN(prefixLen, sizeof(prefixBuf));
1636 suffixLen = MIN(suffixLen, sizeof(suffixBuf));
1678 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen);
/system/core/storaged/
H A Dstoraged.cpp259 ret = write(fd, data, MIN(benchmark_unit_size, size));
/system/bt/btif/src/
H A Dbtif_pan.cc91 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
714 MIN(btpan_cb.congest_packet_size, buffer->len));
715 buffer->len = MIN(btpan_cb.congest_packet_size, buffer->len);
/system/bt/tools/mcap_tool/
H A Dmcap_tool.cc75 #ifndef MIN
76 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
422 MIN((size_t)properties->len, sizeof(bd_addr)));
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.cc57 #define MIN(a, b) \ macro
1843 at_len = MIN((size_t)at_len, sizeof(buf));
/system/core/toolbox/
H A Dnewfs_msdos.c591 x2 = howmany((RESFTE + MIN(x, maxcls(fat))) * (fat / BPN), bpb.bps * NPB);
/system/chre/platform/shared/include/chre/platform/shared/
H A Dhost_messages_generated.h73 MIN = NONE, member in class:chre::fbs::ChreMessage
/system/chre/host/common/include/chre_host/
H A Dhost_messages_generated.h92 MIN = NONE, member in class:chre::fbs::ChreMessage

Completed in 941 milliseconds