Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 33) sorted by relevance

12

/picolibc-latest/newlib/libc/ctype/
Dcategories.c25 bisearch_cat(uint32_t ucs, const struct _category *table, int max) in bisearch_cat() argument
30 if (ucs < table[0].first || ucs > (uint32_t) (table[max].first + table[max].delta)) in bisearch_cat()
32 while (max >= min) in bisearch_cat()
34 mid = (min + max) / 2; in bisearch_cat()
38 max = mid - 1; in bisearch_cat()
Dtowctrans_l.c67 bisearch (wint_t ucs, const struct caseconv_entry *table, size_t max) in bisearch() argument
72 if (ucs < first(table[0]) || ucs > last(table[max])) in bisearch()
74 while (max >= min) in bisearch()
76 mid = (min + max) / 2; in bisearch()
80 max = mid - 1; in bisearch()
Dmkcaseconv83 max=255
99 if [ $diff -eq $max ]
/picolibc-latest/newlib/libm/machine/spu/headers/
Dhypotd2.h79 vector double max, max_e, max_m; in _hypotd2() local
90 max = spu_sel(y,x,xgty); in _hypotd2()
94 max_e = (vec_double2)spu_and((vec_ullong2)max, emask); in _hypotd2()
95 max_m = (vec_double2)spu_and((vec_ullong2)max, mmask); in _hypotd2()
109 max = spu_or(oned, max_m); in _hypotd2()
112 sum = _sqrtd2(spu_madd(max, max, spu_mul(min, min))); in _hypotd2()
Dhypotf4.h82 vector float max, max_e, max_m; in _hypotf4() local
93 max = spu_sel(y,x,xgty); in _hypotf4()
97 max_e = (vec_float4)spu_and((vec_uint4)max, emask); in _hypotf4()
98 max_m = (vec_float4)spu_and((vec_uint4)max, mmask); in _hypotf4()
114 max = spu_or(onef, max_m); in _hypotf4()
117 sum = _sqrtf4(spu_madd(max, max, spu_mul(min, min))); in _hypotf4()
Dfmax.h53 vec_double2 vx, vy, diff, max; in _fmax() local
70 max = spu_sel(vx, vy, (vec_ullong2)selector); in _fmax()
72 return (spu_extract(max, 0)); in _fmax()
Dldexp.h52 vec_int4 max = VEC_SPLAT_S32(2046); in _ldexp() local
64 cmp_max = spu_cmpgt(e, max); in _ldexp()
66 e = spu_sel(e, max, cmp_max); in _ldexp()
Dscalbn.h52 vec_int4 max = VEC_SPLAT_S32(2046); in _scalbn() local
64 cmp_max = spu_cmpgt(e, max); in _scalbn()
66 e = spu_sel(e, max, cmp_max); in _scalbn()
Dldexpd2.h64 vec_int4 max = spu_splats(2046); in _ldexpd2() local
76 cmp_max = spu_cmpgt(exp, max); in _ldexpd2()
78 exp = spu_sel(exp, max, cmp_max); in _ldexpd2()
Dexpd2.h168 vec_int4 max = spu_splats(2046); in _expd2() local
176 cmp_max = spu_cmpgt(exp, max); in _expd2()
178 exp = spu_sel(exp, max, cmp_max); in _expd2()
/picolibc-latest/newlib/libc/string/
Dwcwidth.c109 bisearch(uint32_t ucs, const struct interval *table, int max) in bisearch() argument
114 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
116 while (max >= min) in bisearch()
118 mid = (min + max) / 2; in bisearch()
122 max = mid - 1; in bisearch()
/picolibc-latest/newlib/libc/stdio/
Dopen_memstream.c92 size_t max; /* current malloc buffer size, always > eof */ member
123 if (c->pos + n >= c->max) in memwriter()
125 size_t newsize = c->max * 3 / 2; in memwriter()
132 c->max = newsize; in memwriter()
330 c->max = *size; in internalopen_memstream()
332 c->max *= sizeof(wchar_t); in internalopen_memstream()
333 if (c->max < 64) in internalopen_memstream()
334 c->max = 64; in internalopen_memstream()
336 else if (c->max > (size_t)64 * 1024) in internalopen_memstream()
337 c->max = (size_t)64 * 1024; in internalopen_memstream()
[all …]
Dfmemopen.c78 size_t max; /* maximum file size */ member
121 if (c->pos + n > c->max - c->writeonly) in fmemwriter()
124 n = c->max - c->pos; in fmemwriter()
134 if (c->eof - adjust < c->max) in fmemwriter()
182 else if (offset > (off_t) c->max) in fmemseeker()
231 else if (offset > (_off64_t) c->max) in fmemseeker64()
299 c->max = size; in fmemopen()
/picolibc-latest/newlib/libc/stdlib/
Dmbsnrtowcs.c74 size_t max; in mbsnrtowcs() local
95 max = len; in mbsnrtowcs()
125 return (size_t)max; in mbsnrtowcs()
Dwcstombs.c61 size_t max = n; in wcstombs() local
93 return max; in wcstombs()
/picolibc-latest/newlib/libc/tinystdio/
Dldtoa_engine.c42 #define max(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.c37 #define max(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.c80 #define max(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/test/
Dtest-memset.c107 randrange(size_t max) in randrange() argument
112 for (pot = 1; pot && pot < max; pot <<= 1) in randrange()
117 if (rnd < max) in randrange()
Dtest-funopen.c60 #define max(a, b) ((SEEK_T) (a) > (SEEK_T) (b) ? (SEEK_T) (a) : (SEEK_T) (b)) macro
79 test_end = max(test_end, test_pos); in test_write()
Dmalloc_stress.c53 randint(int max) in randint() argument
56 return random() % max; in randint()
/picolibc-latest/newlib/libc/search/
Dhash_page.c543 int i, max; in __get_page() local
546 max = hashp->BSIZE >> 2; /* divide by 4 */ in __get_page()
547 for (i = 0; i < max; i++) in __get_page()
551 max = bp[0] + 2; in __get_page()
552 for (i = 1; i <= max; i++) in __get_page()
583 int max; in __put_page() local
586 max = hashp->BSIZE >> 2; /* divide by 4 */ in __put_page()
587 for (i = 0; i < max; i++) in __put_page()
590 max = ((__uint16_t *)p)[0] + 2; in __put_page()
591 for (i = 0; i <= max; i++) in __put_page()
/picolibc-latest/newlib/libc/posix/
Drunetype.h57 rune_t max; /* Last rune (inclusive) of the range */ member
/picolibc-latest/newlib/libc/machine/rx/
Dstrncmp.S14 ;; R3: max number of bytes to compare
Dmemchr.S13 ;; R3: max number to scan

12