Home
last modified time | relevance | path

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

123

/ndk/tests/device/test-gnustl-full/unit/
Dlimits_test.cpp77 CHECK_COND(lim::min() < lim::max()); in test_integral_limits_base()
78 …CHECK_COND((unknown_sign && ((lim::is_signed && (lim::min() != 0)) || (!lim::is_signed && (lim::mi… in test_integral_limits_base()
98 _Tp tmp = lim::min(); in test_integral_limits()
99 CHECK_COND( --tmp > lim::min() ); in test_integral_limits()
132 CHECK_COND(lim::min() > 0); in test_float_limits()
133 CHECK_COND(lim::min() < 0.001); in test_float_limits()
144 CHECK_COND(lim::denorm_min() == lim::min()); in test_float_limits()
145 _Tp tmp = lim::min(); in test_float_limits()
147 if (tmp > 0 && tmp < lim::min()) { in test_float_limits()
154 CHECK_COND(lim::denorm_min() < lim::min()); in test_float_limits()
[all …]
Dmin_test.cpp38 int r = min(42, 100); in min1()
41 r = min(--r, r); in min1()
46 const char* r = min((const char*)"shoe", (const char*)"shine", str_compare); in min2()
Dalg_test.cpp48 int i = min(4, 7); in min_max()
54 c = min('a', 'z', greater<char>()); in min_max()
/ndk/tests/device/test-stlport/unit/
Dlimits_test.cpp77 CHECK_COND(lim::min() < lim::max()); in test_integral_limits_base()
78 …CHECK_COND((unknown_sign && ((lim::is_signed && (lim::min() != 0)) || (!lim::is_signed && (lim::mi… in test_integral_limits_base()
98 _Tp tmp = lim::min(); in test_integral_limits()
99 CHECK_COND( --tmp > lim::min() ); in test_integral_limits()
132 CHECK_COND(lim::min() > 0); in test_float_limits()
133 CHECK_COND(lim::min() < 0.001); in test_float_limits()
144 CHECK_COND(lim::denorm_min() == lim::min()); in test_float_limits()
145 _Tp tmp = lim::min(); in test_float_limits()
147 if (tmp > 0 && tmp < lim::min()) { in test_float_limits()
154 CHECK_COND(lim::denorm_min() < lim::min()); in test_float_limits()
[all …]
Dmin_test.cpp38 int r = min(42, 100); in min1()
41 r = min(--r, r); in min1()
46 const char* r = min((const char*)"shoe", (const char*)"shine", str_compare); in min2()
Dalg_test.cpp48 int i = min(4, 7); in min_max()
54 c = min('a', 'z', greater<char>()); in min_max()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Duniq.inp474 /* If max == min we can continue with the main loop without the
478 /* If min = max, continue at the same level without recursing */
479 /* If min = max, continue at the same level without recursion.
582 DPRINTF (("matching %c{%d,%d} against subject %.*s\n", c, min, max,
583 DPRINTF (("negative matching %c{%d,%d} against subject %.*s\n", c, min, max,
713 c = max - min;
986 eptr += min;
1020 for (i = 1; i <= min; i++)
1021 for (i = 1; i <= min; i++)
1022 for (i = 1; i <= min; i++)
[all …]
Duniq.good86 /* If max == min we can continue with the main loop without the
90 /* If min = max, continue at the same level without recursing */
91 /* If min = max, continue at the same level without recursion.
179 DPRINTF (("matching %c{%d,%d} against subject %.*s\n", c, min, max,
180 DPRINTF (("negative matching %c{%d,%d} against subject %.*s\n", c, min, max,
234 c = max - min;
374 eptr += min;
395 for (i = 1; i <= min; i++)
396 for (i = min; i < max; i++)
397 for (i = min;; i++)
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dcodecvt.cpp34 { return (int)(min) ( __STATIC_CAST(size_t, (end - from)), mx); } in do_length()
90 ptrdiff_t len = (min) (from_end - from, to_limit - to); in do_out()
105 ptrdiff_t len = (min) (from_end - from, to_limit - to); in do_in()
132 { return (int)(min) ((size_t) (end - from), mx); } in do_length()
Dstdio_streambuf.cpp68 …size_t __n_size_t = (sizeof(streamsize) > sizeof(size_t)) ? __STATIC_CAST(size_t, (min)(__STATIC_C… in setbuf()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_limits.h62 static __number (_STLP_CALL min)() _STLP_NOTHROW { return __number(); } in __number() argument
121 static _Int (_STLP_CALL min) () _STLP_NOTHROW { return (_Int)__imin; } in _Int() argument
300 static _STLP_LONG_LONG (_STLP_CALL min) () _STLP_NOTHROW { return LONGLONG_MIN; } in _STLP_LONG_LONG() argument
319 static unsigned _STLP_LONG_LONG (_STLP_CALL min) () _STLP_NOTHROW { return 0ULL; } in _STLP_LONG_LONG() argument
412 static float (_STLP_CALL min) () _STLP_NOTHROW { return FLT_MIN; }
443 static double (_STLP_CALL min)() _STLP_NOTHROW { return DBL_MIN; }
473 static long double (_STLP_CALL min) () _STLP_NOTHROW { return LDBL_MIN; }
D_string.h199 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos)); in basic_string()
209 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos)); in basic_string()
524 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos)); in append()
556 __s._M_Start() + __pos + (min) (__n, __s.size() - __pos)); in assign()
621 size_type __len = (min) (__n, __s.size() - __beg); in insert()
791 erase(begin() + __pos, begin() + __pos + (min) (__n, size() - __pos));
817 const size_type __len = (min) (__n, __size - __pos); in replace()
830 const size_type __len1 = (min) (__n1, __size1 - __pos1); in replace()
831 const size_type __len2 = (min) (__n2, __size2 - __pos2); in replace()
844 const size_type __len = (min) (__n1, __size - __pos); in replace()
[all …]
D_string_sum_methods.h32 …: _STLP_STRING_SUM_BASE(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : … in _Reserve_t()
37 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos)); in _Reserve_t()
67 { return uninitialized_copy(__s + __pos, __s + __pos + (min)(__n, __s_size - __pos), __buf); } in _M_append_fast_pos()
126 size_type __s_size = (min)(__s.size() - __pos, __n); in _M_append_sum_pos()
D_streambuf.c60 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_gend - _M_gnext), in xsgetn()
91 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_pend - _M_pnext), in xsputn()
119 size_t __chunk = (min) (__STATIC_CAST(size_t,_M_pend - _M_pnext), in _M_xsputnc()
D_algobase.h135 using _STLP_VENDOR_STD::min;
139 inline const _Tp& (min)(const _Tp& __a, const _Tp& __b) { return __b < __a ? __b : __a; }
146 inline unsigned long (min) (unsigned long __a, unsigned long __b) { return __b < __a ? __b : __a; }
152 inline const _Tp& (min)(const _Tp& __a, const _Tp& __b, _Compare __comp) {
162 inline const _Tp (min)(const _Tp __a, const _Tp __b, _Compare __comp) { in _Tp() argument
596 const int __result = memcmp(__first1, __first2, (min) (__len1, __len2)); in lexicographical_compare()
627 const int __result = memcmp(__first1, __first2, (min) (__len1, __len2)); in __lexicographical_compare_3way()
D_string.c458 const_pointer __last = this->_M_Start() + (min)( __len - __n, __pos) + __n; in rfind()
474 const_iterator __last = begin() + (min)(__len - 1, __pos) + 1; in rfind()
503 const const_iterator __last = begin() + (min)(__len - 1, __pos) + 1; in find_last_of()
547 const_iterator __last = begin() + (min)(__len - 1, __pos) + 1; in find_last_not_of()
565 const_iterator __last = begin() + (min)(__len - 1, __pos) + 1; in find_last_not_of()
581 __n = (min) (__n - 1, __s.size()); in _S_string_copy()
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_string_sum_methods.h32 …: _M_non_dbg_impl(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a… in _Reserve_t()
39 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos), _M_non_dbg_impl); in _Reserve_t()
66 { return __str.append(__s + __pos, __s + __pos + (min)(__n, __s_size - __pos)); } in _M_append_fast_pos()
108 _M_non_dbg_impl.reserve(_M_non_dbg_impl.size() + (min) (__s.size() - __pos, __n)); in _M_append_sum_pos()
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_win32io.cpp392 size_t chunkSize = (min)(size_t(0xffffffff), __STATIC_CAST(size_t, n)); in _M_read()
484 __STATIC_CAST(DWORD, (min)(size_t(0xffffffff), bytes_to_write)), in _M_write()
497 ptrdiff_t nextblocksize = (min) (n, (ptrdiff_t)_TEXTBUF_SIZE); in _M_write()
508 nextblocksize = (min) (ptrdiff_t(endblock - nextblock), in _M_write()
524 __STATIC_CAST(DWORD, (min)(size_t(0xffffffff), NumberOfBytesToWrite)), in _M_write()
/ndk/sources/host-tools/ndk-stack/
Dndk-stack-parser.c76 #ifndef min
77 #define min(a,b) (((a) < (b)) ? a : b) macro
267 const size_t to_copy = min((end - start), (size - 1)); in get_next_token()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_watcom.h83 #undef min
D_como.h99 inline int min(int a, int b) { return a>b ? b : a; } in min() function
/ndk/sources/host-tools/sed-4.2.1/lib/
Dgetopt.in.h94 # define __GNUC_PREREQ(maj, min) (0) argument
/ndk/build/gmsl/
Dgmsl-tests490 $(call start_test,min)
491 $(call test_assert,$(call min,2,1),1)
492 $(call test_assert,$(call min,1,2),1)
493 $(call test_assert,$(call min,2,0),0)
494 $(call test_assert,$(call min,0,2),0)
495 $(call test_assert,$(call min,2,2),2)
496 $(call test_assert,$(call min,0,0),0)
/ndk/build/tools/
Dprebuilt-common.sh535 HOST_CFLAGS="-isysroot $1 -mmacosx-version-min=$2 -DMAXOSX_DEPLOYEMENT_TARGET=$2"
536 HOST_LDFLAGS="-Wl,-syslibroot,$sdk -mmacosx-version-min=$2"
/ndk/sources/host-tools/nawk-20071023/
Dproto.h147 extern int adjbuf(char **pb, int *sz, int min, int q, char **pbp, const char *what);

123