Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 19 of 19) 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.cpp76 bytes = MIN(map.end - addr, bytes); in Read()
84 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.c283 n = MIN(size, MINBUFLEN); in create_file()
/system/core/libsuspend/
Dautosuspend_wakeup_count.c55 sleep_time = MIN(sleep_time * 2, 60000000); in update_sleep_time()
/system/bt/btif/src/
Dbtif_pan.cc89 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
712 MIN(btpan_cb.congest_packet_size, buffer->len)); in btu_exec_tap_fd_read()
713 buffer->len = MIN(btpan_cb.congest_packet_size, buffer->len); in btu_exec_tap_fd_read()
/system/core/logwrapper/
Dlogwrap.c37 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
148 cnt = MIN(line_len, e_buf->buf_size - e_buf->write); in add_line_to_circular_buf()
/system/core/toolbox/upstream-netbsd/bin/dd/
Dconv.c150 maxlen = MIN(cbsz, in.dbcnt); in block()
/system/bt/tools/mcap_tool/
Dmcap_tool.cc78 #ifndef MIN
79 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
434 MIN((size_t)properties->len, sizeof(bd_addr))); in adapter_properties_changed()
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c99 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/system/core/liblog/
Dlogprint.c47 #ifndef MIN
48 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
1633 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1635 suffixLen = MIN(suffixLen, sizeof(suffixBuf)); in android_log_formatLogLine()
1677 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen); in android_log_formatLogLine()
/system/bt/stack/avrc/
Davrc_pars_ct.cc34 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
546 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_COMP_ID) * 3; in avrc_ctrl_pars_vendor_rsp()
555 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_EVT_ID); in avrc_ctrl_pars_vendor_rsp()
/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/core/toolbox/
Dnewfs_msdos.c591 x2 = howmany((RESFTE + MIN(x, maxcls(fat))) * (fat / BPN), bpb.bps * NPB); in newfs_msdos_main()
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h67 MIN = NONE, enumerator
/system/core/sdcard/
Dfuse.cpp1258 out.minor = MIN(req->minor, 15); in handle_init()
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h84 MIN = NONE, enumerator