Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/machine/spu/
Dstrncmp_ea.c51 int min; in strncmp_ea() local
69 min = three_way_min (s2_n, s1_n, n3); in strncmp_ea()
71 ret = _strncmp_internal (l_s1, l_s2, min, &end_v, 1); in strncmp_ea()
84 curr_s2 += min; in strncmp_ea()
85 curr_s1 += min; in strncmp_ea()
86 n3 -= min; in strncmp_ea()
Dstrcmp_ea.c58 int min; in strcmp_ea() local
72 min = MIN (s2_n, s1_n); in strcmp_ea()
74 ret = _strncmp_internal (l_s1, l_s2, min, &end_v, 1); in strcmp_ea()
85 curr_s1 += min; in strcmp_ea()
86 curr_s2 += min; in strcmp_ea()
Dstrxfrm.c39 #define min(a, b) (a) < (b) ? (a) : (b) macro
60 (void)memcpy((void *)dest, (void *)src, min(n,len + 1)); in strxfrm()
/picolibc-latest/newlib/libm/machine/spu/headers/
Dhypotd2.h80 vector double min, min_e, min_m; in _hypotd2() local
91 min = spu_sel(x,y,xgty); in _hypotd2()
96 min_e = (vec_double2)spu_and((vec_ullong2)min, emask); in _hypotd2()
97 min_m = (vec_double2)spu_and((vec_ullong2)min, mmask); in _hypotd2()
110 min = spu_or(min_e, min_m); in _hypotd2()
112 sum = _sqrtd2(spu_madd(max, max, spu_mul(min, min))); in _hypotd2()
Dhypotf4.h83 vector float min, min_e, min_m; in _hypotf4() local
94 min = spu_sel(x,y,xgty); in _hypotf4()
99 min_e = (vec_float4)spu_and((vec_uint4)min, emask); in _hypotf4()
100 min_m = (vec_float4)spu_and((vec_uint4)min, mmask); in _hypotf4()
115 min = spu_or(min_e, min_m); in _hypotf4()
117 sum = _sqrtf4(spu_madd(max, max, spu_mul(min, min))); in _hypotf4()
Dfmin.h54 vec_double2 vx, vy, diff, min; in _fmin() local
71 min = spu_sel(vx, vy, (vec_ullong2)selector); in _fmin()
73 return (spu_extract(min, 0)); in _fmin()
Dldexp.h51 vec_int4 min = VEC_SPLAT_S32(-2044); in _ldexp() local
63 cmp_min = spu_cmpgt(e, min); in _ldexp()
65 e = spu_sel(min, e, cmp_min); in _ldexp()
Dscalbn.h51 vec_int4 min = VEC_SPLAT_S32(-2044); in _scalbn() local
63 cmp_min = spu_cmpgt(e, min); in _scalbn()
65 e = spu_sel(min, e, cmp_min); in _scalbn()
Dldexpd2.h63 vec_int4 min = spu_splats(-2044); in _ldexpd2() local
75 cmp_min = spu_cmpgt(exp, min); in _ldexpd2()
77 exp = spu_sel(min, exp, cmp_min); in _ldexpd2()
Dexpd2.h167 vec_int4 min = spu_splats(-2044); in _expd2() local
175 cmp_min = spu_cmpgt(exp, min); in _expd2()
177 exp = spu_sel(min, exp, cmp_min); in _expd2()
/picolibc-latest/newlib/libc/stdlib/
Darc4random_uniform.c36 uint32_t r, min; in arc4random_uniform() local
42 min = -upper_bound % upper_bound; in arc4random_uniform()
52 if (r >= min) in arc4random_uniform()
/picolibc-latest/newlib/libc/ctype/
Dcategories.c27 int min = 0; in bisearch_cat() local
32 while (max >= min) in bisearch_cat()
34 mid = (min + max) / 2; in bisearch_cat()
36 min = mid + 1; in bisearch_cat()
Dtowctrans_l.c69 size_t min = 0; in bisearch() local
74 while (max >= min) in bisearch()
76 mid = (min + max) / 2; in bisearch()
78 min = mid + 1; in bisearch()
/picolibc-latest/newlib/libc/string/
Dwcwidth.c111 int min = 0; in bisearch() local
116 while (max >= min) in bisearch()
118 mid = (min + max) / 2; in bisearch()
120 min = mid + 1; in bisearch()
/picolibc-latest/test/
Dtest-funopen.c59 #define min(a, b) ((SEEK_T) (a) < (SEEK_T) (b) ? (SEEK_T) (a) : (SEEK_T) (b)) macro
66 n = min(n, test_end - test_pos); in test_read()
76 n = min(n, sizeof(test_buf) - test_pos); in test_write()
99 test_pos = min(test_end, new_pos); in test_seek()
Dlong_double_gen.5c481 real fmin(real x, real y) { return min(x,y); }
/picolibc-latest/newlib/libc/tinystdio/
Dldtoa_engine.c47 #define min(a, b) ({\ macro
121 max_digits = min(max_digits, max(1, max_decimals + decexp + 1)); in __ldtoa_engine()
134 max_digits = min(save_max_digits, max(1, max_decimals + decexp + 1)); in __ldtoa_engine()
Ddtoa_engine.c42 #define min(a, b) ({\ macro
192 max_digits = min(max_digits, max(max_decimals<0, max_decimals + decexp + 1)); in __dtoa_engine()
207 max_digits = min(save_max_digits, max(1, max_decimals + decexp + 1)); in __dtoa_engine()
Dftoa_engine.c85 #define min(a, b) ({\ macro
189 maxDigits = min(maxDigits, max(maxDecimals<0, maxDecimals + exp10 + 1)); in __ftoa_engine()
245 maxDigits = min(saveMaxDigits, max(1, maxDecimals + exp10 + 1)); in __ftoa_engine()
/picolibc-latest/scripts/
Dcross-nios2-zephyr-elf.txt6 c = ['nios2-zephyr-elf-gcc', '-nostdlib', '-fno-pic', '-fno-pie', '--param=min-pagesize=0', '-mgpop…
7 cpp = ['nios2-zephyr-elf-g++', '-nostdlib', '-fno-pic', '-fno-pie', '--param=min-pagesize=0', '-mgp…
/picolibc-latest/newlib/libc/include/sys/
Dfeatures.h33 # define __GNUC_PREREQ(maj, min) \ argument
34 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
36 # define __GNUC_PREREQ(maj, min) 0
/picolibc-latest/newlib/libc/posix/
Drunetype.h56 rune_t min; /* First rune of the range */ member
/picolibc-latest/newlib/libc/search/
Dqsort.c83 #define min(a, b) (a) < (b) ? a : b macro
281 r = min(pa - (char *)a, pb - pa); in __bsd_qsort_r()
283 r = min((size_t) (pd - pc), (size_t) (pn - pd) - es); in __bsd_qsort_r()
/picolibc-latest/doc/
Dprintf.md189 …x00200000 -Wl,--defsym=__ram=0x20000000 -Wl,--defsym=__ram_size=0x200000 -o printf-min.elf printf.c
190 $ arm-none-eabi-size printf-min.elf
192 1520 80 4104 5704 1648 printf-min.elf
193 …v=stdio0 -monitor none -serial none -machine mps2-an385,accel=tcg -kernel printf-min.elf -nographic
200 $ arm-none-eabi-size printf-min.elf
202 1632 80 4104 5816 16b8 printf-min.elf
203 …v=stdio0 -monitor none -serial none -machine mps2-an385,accel=tcg -kernel printf-min.elf -nographic