Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 17 of 17) sorted by relevance

/system/connectivity/wifilogd/
Dlocal_utils.h35 #define SAFELY_CLAMP(SRC, DST_TYPE, MIN, MAX) \ argument
36 local_utils::internal::SafelyClamp<decltype(SRC), DST_TYPE, MIN, MAX, MIN, \
/system/core/libbacktrace/
DBacktracePtrace.cpp75 bytes = MIN(map.end - addr, bytes); in Read()
83 size_t copy_bytes = MIN(sizeof(word_t) - align_bytes, bytes); in Read()
DBacktraceCurrent.cpp62 bytes = MIN(map.end - addr, bytes); in Read()
/system/extras/ioshark/
Dioshark_bench_mmap.c71 MIN((u_int64_t)total_len, (u_int64_t)slice); in setup_mmap_io_state()
97 iolength = MIN(mio->table[i].len, iolength); in mmap_getnext_off_len()
Dioshark_bench.h38 #define MIN(A, B) ((A) < (B) ? (A) : (B)) macro
Dioshark_bench_subr.c286 n = MIN(size, MINBUFLEN); in create_file()
/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp62 sleep_time = MIN(sleep_time * 2, MAX_SLEEP_TIME); in update_sleep_time()
/system/netd/resolv/
Dres_init.cpp246 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1); in res_setoptions()
252 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1); in res_setoptions()
/system/bt/btif/src/
Dbtif_pan.cc91 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
714 MIN(btpan_cb.congest_packet_size, buffer->len)); in btu_exec_tap_fd_read()
715 buffer->len = MIN(btpan_cb.congest_packet_size, buffer->len); in btu_exec_tap_fd_read()
/system/core/logwrapper/
Dlogwrap.c36 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
147 cnt = MIN(line_len, e_buf->buf_size - e_buf->write); in add_line_to_circular_buf()
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c99 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/system/bt/stack/avrc/
Davrc_pars_ct.cc32 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
553 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_COMP_ID) * 3; in avrc_ctrl_pars_vendor_rsp()
562 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_EVT_ID); in avrc_ctrl_pars_vendor_rsp()
/system/core/storaged/
Dstoraged.cpp260 ret = write(fd, data, MIN(benchmark_unit_size, size)); in flush_proto_data()
/system/core/liblog/
Dlogprint.cpp46 #ifndef MIN
47 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
1602 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1647 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen); in android_log_formatLogLine()
/system/bt/bta/hf_client/
Dbta_hf_client_at.cc57 #define MIN(a, b) \ macro
1843 at_len = MIN((size_t)at_len, sizeof(buf)); in bta_hf_client_send_at_atd()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h73 MIN = NONE, enumerator
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h92 MIN = NONE, enumerator