Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 55) sorted by relevance

123

/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
Dstrsuftoll.c117 long long min, long long max) in __weak_alias()
122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); in __weak_alias()
135 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) in __strsuftollx() argument
211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, in __strsuftollx()
227 if (num < min) { in __strsuftollx()
230 desc, (long long)num, (long long)min); in __strsuftollx()
245 long long min, long long max, char *ebuf, size_t ebuflen) in strsuftollx() argument
247 return __strsuftollx(desc, val, min, max, ebuf, ebuflen, 0); in strsuftollx()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp133 unsigned int min; in getPcmParams() local
141 min = pcm_params_get_min(params, PCM_PARAM_RATE); in getPcmParams()
143 EXPECT_LE(min, max); in getPcmParams()
145 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS); in getPcmParams()
147 EXPECT_LE(min, max); in getPcmParams()
149 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS); in getPcmParams()
151 EXPECT_LE(min, max); in getPcmParams()
153 min = pcm_params_get_min(params, PCM_PARAM_PERIOD_SIZE); in getPcmParams()
155 EXPECT_LE(min, max); in getPcmParams()
157 min = pcm_params_get_min(params, PCM_PARAM_PERIODS); in getPcmParams()
[all …]
/system/extras/ext4_utils/
Dindirect.c45 len = min(region_len * info.block_size, backing_len); in create_backing()
76 int ind_block_len = min((int)aux_info.blocks_per_ind, len); in reserve_dindirect_block()
93 int dind_block_len = min((int)aux_info.blocks_per_dind, len); in reserve_tindirect_block()
126 int ind_block_len = min((int)aux_info.blocks_per_ind, len); in fill_dindirect_block()
156 int dind_block_len = min((int)aux_info.blocks_per_dind, len); in fill_tindirect_block()
169 int len = min(*block_len, EXT4_NDIR_BLOCKS); in inode_attach_direct_blocks()
192 int len = min(*block_len, aux_info.blocks_per_ind); in inode_attach_indirect_blocks()
224 int len = min(*block_len, aux_info.blocks_per_dind); in inode_attach_dindirect_blocks()
256 int len = min(*block_len, aux_info.blocks_per_tind); in inode_attach_tindirect_blocks()
289 u32 ind_block_len = min(aux_info.blocks_per_ind, len); in reserve_all_indirect_blocks()
[all …]
Dext4_utils.h60 #ifndef min /* already defined by windows.h */
61 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
Dextent.c43 len = min(region_len * info.block_size, backing_len); in extent_create_backing()
65 len = min(region_len * info.block_size, backing_len); in extent_create_backing_file()
/system/vold/
Dhash.h44 #ifndef min
45 #define min(a,b) (((a)>(b))?(b):(a)) macro
/system/bt/stack/btm/
Dbtm_pm.c219 …((p_mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && (p_mode->min <= p_cb->inte… in BTM_SetPowerMode()
222 …de: mode:0x%x interval %d max:%d, min:%d", p_mode->mode, p_cb->interval, p_mode->max, p_mode->min); in BTM_SetPowerMode()
488 p_res->min = (p_md1->min > p_md2->min)? (p_md1->min) : (p_md2->min); in btm_pm_compare_modes()
491 if( p_res->max < p_res->min) in btm_pm_compare_modes()
596 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval)) ) in btm_pm_snd_md_req()
653 md_res.max, md_res.min)) in btm_pm_snd_md_req()
661 md_res.max, md_res.min, md_res.attempt, in btm_pm_snd_md_req()
670 md_res.max, md_res.min)) in btm_pm_snd_md_req()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all in client() local
287 min = (delta < min) ? delta : min; in client()
301 cout << "Time per iteration min: " << min in client()
/system/vold/bench/
Dbenchgen.py208 count = min(int(e.args[2]), bufsize)
217 count = min(int(e.args[2]), bufsize)
226 count = min(int(e.args[2]), bufsize)
234 count = min(int(e.args[2]), bufsize)
253 count = min(int(e.args[1]), bufsize)
/system/extras/micro_bench/
Dmicro_bench.cpp148 …ar *name, size_t size, size_t copies, double running_avg, double std_dev, double min, double max) { in printSummary() argument
150 name, copies, size, running_avg/1024.0, std_dev/1024.0, min/1024.0, in printSummary()
184 double running_avg, double square_avg, double min, double max) { in printColdSummary() argument
187 computeStdDev(running_avg, square_avg)/1024.0, min/1024.0, max/1024.0); in printColdSummary()
195 double min = 0.0, max = 0.0, running_avg = 0.0, square_avg = 0.0; \
205 if (min == 0.0 || avg < min) { \
206 min = avg; \
231 std_dev, min, max));
257 running_avg, square_avg, min, max));
380 min, max)); in benchmarkSleep()
[all …]
/system/core/libpixelflinger/
Dtrap.cpp63 static inline int min(int a, int b) CONST;
65 static inline int min(int a, int b, int c) CONST;
74 inline int min(int a, int b) { in min() function
80 inline int min(int a, int b, int c) { in min() function
81 return min(a,min(b,c)); in min()
199 return min(0x7FFF, hits << (15 - kSamples)); in coverageNice()
540 const int32_t bminx = TRI_FLOOR(min(x0, x1, x2)) >> TRI_FRACTION_BITS; in trianglex_small()
541 const int32_t bminy = TRI_FLOOR(min(y0, y1, y2)) >> TRI_FRACTION_BITS; in trianglex_small()
546 const int32_t maxx = min(bmaxx, c->state.scissor.right); in trianglex_small()
547 const int32_t maxy = min(bmaxy, c->state.scissor.bottom); in trianglex_small()
[all …]
/system/core/libsparse/
Dsparse_read.c50 #define min(a, b) \ macro
123 chunk = min(len, COPY_BUF_SIZE); in process_raw_chunk()
170 chunk = min(len, COPY_BUF_SIZE); in process_fill_chunk()
192 int chunk = min(len, COPY_BUF_SIZE); in process_skip_chunk()
372 to_read = min(remain, s->block_size); in sparse_file_read_normal()
/system/extras/puncture_fs/
Dpuncture_fs.c35 #ifndef min
36 #define min(a,b) ((a) < (b) ? (a) : (b)) macro
81 base[random() % min(base_length, size)] = get_random_char(); in create_unique_file()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h38 #ifndef min
40 #define min(x,y) ({ typeof(x) _min1 = (x); typeof(y) _min2 = (y); (void) (& _min1 == & _min2); _min… macro
/system/keymaster/
Dintegrity_assured_key_blob.cpp37 inline size_t min(size_t a, size_t b) { in min() function
75 memcpy(hmac, tmp, min(HMAC_SIZE, tmp_len)); in ComputeHmac()
Decdsa_operation.cpp94 inline size_t min(size_t a, size_t b) { in min() function
102 if (!data_.write(input.peek_read(), min(data_.available_write(), input.available_read()))) in StoreData()
/system/bt/btif/include/
Dbtif_av_co.h172 BOOLEAN bta_av_co_get_remote_bitpool_pref(UINT8 *min, UINT8 *max);
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h41 #ifndef min
42 #define min(x, y) ({ \ macro
/system/extras/perfprofd/quipper/
Dperf_internals.h36 #undef min
/system/core/liblog/
Dlog_read.c38 #define min(x,y) ((y) ^ (((x) ^ (y)) & -((x) < (y)))) macro
493 n = min(n, remaining); in android_logger_get_statistics()
499 n = min(n, remaining); in android_logger_get_statistics()
786 ret = min(ret, remaining); in android_logger_list_read()
794 ret = min(ret, remaining); in android_logger_list_read()
803 ret = min(ret, remaining); in android_logger_list_read()
810 ret = min(ret, remaining); in android_logger_list_read()
/system/bt/bta/ag/
Dbta_ag_at.h52 UINT8 min; /* minimum value for int arg */ member
/system/media/alsa_utils/
Dalsa_device_profile.c219 static unsigned profile_enum_sample_rates(alsa_device_profile* profile, unsigned min, unsigned max) in profile_enum_sample_rates() argument
227 if (std_sample_rates[index] >= min && std_sample_rates[index] <= max in profile_enum_sample_rates()
272 static unsigned profile_enum_channel_counts(alsa_device_profile* profile, unsigned min, in profile_enum_channel_counts() argument
286 if (std_channel_counts[index] >= min && std_channel_counts[index] <= max /* && in profile_enum_channel_counts()
/system/bt/bta/hf_client/
Dbta_hf_client_at.h33 UINT8 min; /* minimum value for int arg */ member
/system/core/fastboot/
Dprotocol.c29 #define min(a, b) \ macro
231 to_write = min(USB_BUF_SIZE - usb_buf_len, len); in fb_download_data_sparse_write()
/system/core/adb/
Dadb_utils.cpp67 byte_count = std::min(byte_count, size_t(16)); in dump_hex()

123