/external/e2fsprogs/intl/ |
xsize.h | 26 /* Get SIZE_MAX. */ 39 The convention is that SIZE_MAX represents overflow. 40 malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc 50 ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) 60 return (sum >= size1 ? sum : SIZE_MAX); 91 max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. * [all...] |
/device/samsung/crespo/alsa-utils/m4/ |
size_max.m4 | 0 # size_max.m4 serial 4 12 dnl First test whether the system already has SIZE_MAX. 13 AC_MSG_CHECKING([for SIZE_MAX]) 20 #ifdef SIZE_MAX 35 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type 57 AC_DEFINE_UNQUOTED([SIZE_MAX], [$result],
|
Makefile.am | 1 EXTRA_DIST = codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 intmax.m4 inttypes_h.m4 inttypes-h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 lock.m4 longdouble.m4 longlong.m4 nls.m4 po.m4 printf-posix.m4 progtest.m4 signed.m4 size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 visibility.m4 wchar_t.m4 wint_t.m4 xsize.m4 gettext.m4
|
/external/bison/lib/ |
xalloc.h | 62 works correctly even when SIZE_MAX < N. 64 By gnulib convention, SIZE_MAX represents overflow in size 66 SIZE_MAX - 1, since SIZE_MAX might represent an overflowed value. 67 However, malloc (SIZE_MAX) fails on all known hosts where 69 exactly-SIZE_MAX allocations on such hosts; this avoids a test and
|
quotearg.c | 74 #ifndef SIZE_MAX 75 # define SIZE_MAX ((size_t) -1) 181 If ARGSIZE is SIZE_MAX, use the string length of the argument for ARGSIZE. 265 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) 342 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) 423 if (argsize == SIZE_MAX) 534 If ARGSIZE is SIZE_MAX, use the string length of the argument for 564 ARG is of size ARGSIZE, but if that is SIZE_MAX, ARG is a 637 return quotearg_n_options (n, arg, SIZE_MAX, &default_quoting_options); 660 return quotearg_n_options (n, arg, SIZE_MAX, &o) [all...] |
error.c | 91 # ifndef SIZE_MAX 92 # define SIZE_MAX ((size_t) -1) 146 : len <= SIZE_MAX / sizeof *wbuf
|
xmalloc.c | 29 #ifndef SIZE_MAX 30 # define SIZE_MAX ((size_t) -1) 171 if (SIZE_MAX / 2 / s < n)
|
bbitset.h | 66 always equals SIZE_MAX, but some older systems lack SIZE_MAX. */
|
/system/core/libcutils/ |
strdup16to8.c | 18 #include <limits.h> /* for SIZE_MAX */ 35 * for len > SIZE_MAX/3. 46 * overflows, and never return more than (SIZE_MAX-1) 48 * SIZE_MAX bytes, which will return NULL which can at least 55 /* Fast path for the usual case where 3*len is < SIZE_MAX-1. 57 if (len < (SIZE_MAX-1)/3) { 84 return SIZE_MAX-1; 87 /* don't return SIZE_MAX to avoid common user bug */ 88 if (utf8Len == SIZE_MAX) 89 utf8Len = SIZE_MAX-1 [all...] |
strdup8to16.c | 53 if (len && SIZE_MAX/len < sizeof(char16_t))
|
/external/webkit/JavaScriptCore/os-win32/ |
stdint.h | 45 #ifndef SIZE_MAX 47 #define SIZE_MAX _UI64_MAX 49 #define SIZE_MAX _UI32_MAX
|
/bionic/libc/arch-arm/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/bionic/libc/arch-sh/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/bionic/libc/arch-x86/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/development/ndk/platforms/android-3/arch-arm/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/development/ndk/platforms/android-5/arch-x86/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/machine/ |
limits.h | 42 #ifndef SIZE_MAX 43 #define SIZE_MAX UINT_MAX /* max value for a size_t */
|
/external/safe-iop/src/ |
safe_iop.c | 333 a=1; b=SIZE_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); 334 a=SIZE_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); 335 a=SIZE_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); 336 a=SIZE_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); 338 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); 543 a=SIZE_MAX-1; b=SIZE_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); 544 a=SIZE_MAX; b=SIZE_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); 788 a=SIZE_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)) [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_rt.h | 90 unsigned long size_min, size_max; member in struct:PERF_RTdata_sts
|
/dalvik/vm/alloc/ |
HeapSource.c | 18 #include <stdint.h> // for SIZE_MAX 228 /* softLimit will be either SIZE_MAX or the limit for the 231 * heap, a non-SIZE_MAX softLimit should always be the same 393 heap.concurrentStartBytes = SIZE_MAX; 539 hs->softLimit = SIZE_MAX; // no soft limit at first 912 hs->softLimit = SIZE_MAX; 921 // softLimit intentionally left at SIZE_MAX. [all...] |