SIZE_MAX 256 lib-src/emacsclient.c ptrdiff_t dirsize_max = min (PTRDIFF_MAX, SIZE_MAX) - 1; SIZE_MAX 8027 lib-src/etags.c if (SIZE_MAX < size) SIZE_MAX 8052 lib-src/etags.c if (INT_MULTIPLY_WRAPV (nitems, item_size, &nbytes) || SIZE_MAX < nbytes) SIZE_MAX 597 lib-src/make-docfile.c ptrdiff_t num_globals_max = (min (PTRDIFF_MAX, SIZE_MAX) SIZE_MAX 113 lib-src/make-fingerprint.c min (SIZE_MAX, SSIZE_MAX)); SIZE_MAX 83 lib-src/update-game-score.c #define MAX_SCORES min (PTRDIFF_MAX, SIZE_MAX / sizeof (struct score_entry)) SIZE_MAX 316 lib-src/update-game-score.c if (! (0 <= st.st_size && st.st_size < min (PTRDIFF_MAX, SIZE_MAX))) SIZE_MAX 54 lib/acl-internal.h #ifndef SIZE_MAX SIZE_MAX 34 lib/careadlinkat.c #ifndef SIZE_MAX SIZE_MAX 39 lib/careadlinkat.c # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) SIZE_MAX 81 lib/careadlinkat.c idx_t buf_size_max = MIN (IDX_MAX, MIN (SSIZE_MAX, SIZE_MAX)); SIZE_MAX 171 lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) SIZE_MAX 245 lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) SIZE_MAX 87 lib/getgroups.c if (SIZE_MAX / sizeof *gbuf <= n) SIZE_MAX 822 lib/regcomp.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / max_object_size) / 2 SIZE_MAX 142 lib/regex_internal.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / max_object_size) SIZE_MAX 1391 lib/regex_internal.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / max_object_size) SIZE_MAX 154 lib/regex_internal.h # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) SIZE_MAX 650 lib/regexec.c if (__glibc_unlikely ((MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) SIZE_MAX 907 lib/regexec.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) SIZE_MAX 2833 lib/regexec.c if (__glibc_unlikely (SIZE_MAX / sizeof (re_dfastate_t *) < new_alloc)) SIZE_MAX 3954 lib/regexec.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / sizeof (re_dfastate_t *)) / 2 SIZE_MAX 4020 lib/regexec.c if (__glibc_unlikely (MIN (IDX_MAX, SIZE_MAX / max_object_size) < n)) SIZE_MAX 76 lib/set-permissions.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) SIZE_MAX 728 lib/stdint.in.h # define SIZE_WIDTH _GL_INTEGER_WIDTH (0, SIZE_MAX) SIZE_MAX 67 lib/str-two-way.h # define LONG_NEEDLE_THRESHOLD SIZE_MAX SIZE_MAX 136 lib/str-two-way.h max_suffix = SIZE_MAX; SIZE_MAX 171 lib/str-two-way.h max_suffix_rev = SIZE_MAX; SIZE_MAX 302 lib/str-two-way.h while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) SIZE_MAX 305 lib/str-two-way.h if (i == SIZE_MAX) SIZE_MAX 434 lib/str-two-way.h while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) SIZE_MAX 437 lib/str-two-way.h if (i == SIZE_MAX) SIZE_MAX 33 lib/xalloc-oversized.h && ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) \ SIZE_MAX 49 lib/xalloc-oversized.h #if 7 <= __GNUC__ && !defined __clang__ && PTRDIFF_MAX < SIZE_MAX SIZE_MAX 53 lib/xalloc-oversized.h && PTRDIFF_MAX < SIZE_MAX) SIZE_MAX 835 src/alloc.c if (INT_MULTIPLY_WRAPV (nitems, item_size, &nbytes) || SIZE_MAX < nbytes) SIZE_MAX 836 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 849 src/alloc.c if (INT_MULTIPLY_WRAPV (nitems, item_size, &nbytes) || SIZE_MAX < nbytes) SIZE_MAX 850 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 902 src/alloc.c = ((INT_MULTIPLY_WRAPV (n, item_size, &nbytes) || SIZE_MAX < nbytes) SIZE_MAX 903 src/alloc.c ? min (PTRDIFF_MAX, SIZE_MAX) SIZE_MAX 917 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 1227 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 1673 src/alloc.c ((SIZE_MAX SIZE_MAX 2304 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 3316 src/alloc.c min (((min (PTRDIFF_MAX, SIZE_MAX) - header_size - large_vector_offset) \ SIZE_MAX 3379 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 6317 src/alloc.c malloc_probe (min (tot_before - tot_after, SIZE_MAX)); SIZE_MAX 778 src/bidi.c = (min (PTRDIFF_MAX, SIZE_MAX) - bidi_shelve_header_size) / elsz; SIZE_MAX 304 src/bignum.c min (PTRDIFF_MAX, SIZE_MAX) / sizeof (mp_limb_t)), SIZE_MAX 95 src/buffer.c min (PTRDIFF_MAX, SIZE_MAX) / word_size)) SIZE_MAX 3339 src/buffer.c memory_full (SIZE_MAX); SIZE_MAX 3353 src/buffer.c memory_full (SIZE_MAX); SIZE_MAX 3425 src/buffer.c memory_full (SIZE_MAX); SIZE_MAX 200 src/buffer.h (ptrdiff_t) min (MOST_POSITIVE_FIXNUM - 1, min (SIZE_MAX, PTRDIFF_MAX)) SIZE_MAX 428 src/callint.c if (MOST_POSITIVE_FIXNUM < min (PTRDIFF_MAX, SIZE_MAX) / word_size SIZE_MAX 430 src/callint.c memory_full (SIZE_MAX); SIZE_MAX 2166 src/ccl.c memory_full (SIZE_MAX); SIZE_MAX 987 src/coding.c || SIZE_MAX < newbytes) SIZE_MAX 7059 src/coding.c memory_full (SIZE_MAX); SIZE_MAX 184 src/composite.c min (PTRDIFF_MAX, SIZE_MAX) / MAX_MULTIBYTE_LENGTH) SIZE_MAX 317 src/composite.c memory_full (SIZE_MAX); SIZE_MAX 1389 src/dispnew.c memory_full (SIZE_MAX); SIZE_MAX 4638 src/dispnew.c (min (PTRDIFF_MAX, SIZE_MAX) / (3 * sizeof *row_table) SIZE_MAX 4642 src/dispnew.c memory_full (SIZE_MAX); SIZE_MAX 6652 src/dispnew.c || min (PTRDIFF_MAX, SIZE_MAX) / sizeof (struct glyph) < area) SIZE_MAX 140 src/doprnt.c if (overflow || min (PTRDIFF_MAX, SIZE_MAX) - SIZE_BOUND_EXTRA < n) SIZE_MAX 2037 src/editfns.c memory_full (SIZE_MAX); SIZE_MAX 3481 src/editfns.c || SIZE_MAX < alloca_size) SIZE_MAX 3482 src/editfns.c memory_full (SIZE_MAX); SIZE_MAX 959 src/emacs-module.c ((ptrdiff_t) min (SIZE_MAX, PTRDIFF_MAX) / sizeof (emacs_limb_t)) SIZE_MAX 1137 src/emacs.c if (stat.st_size <= 0 || SIZE_MAX <= stat.st_size SIZE_MAX 1147 src/emacs.c eassert (0 < count && count < SIZE_MAX); SIZE_MAX 1166 src/emacs.c eassert (read <= SIZE_MAX); SIZE_MAX 1545 src/emacs.c = min (lim - extra, min (PTRDIFF_MAX, SIZE_MAX)) / ratio; SIZE_MAX 1382 src/eval.c memory_full (SIZE_MAX); SIZE_MAX 2300 src/fileio.c ptrdiff_t copy_max = min (ssize_max, SIZE_MAX) >> 30 << 30; SIZE_MAX 880 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 1100 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 4301 src/fns.c ptrdiff_t C_language_max = min (PTRDIFF_MAX, SIZE_MAX) / sizeof *v->contents; SIZE_MAX 4310 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 4472 src/fns.c ((min (PTRDIFF_MAX, SIZE_MAX) \ SIZE_MAX 621 src/ftfont.c (min (PTRDIFF_MAX, SIZE_MAX) / sizeof (int) < len SIZE_MAX 1867 src/gmalloc.c #define MAGICWORD (SIZE_MAX / 11 ^ SIZE_MAX / 13 << 3) SIZE_MAX 1868 src/gmalloc.c #define MAGICFREE (SIZE_MAX / 17 ^ SIZE_MAX / 19 << 4) SIZE_MAX 2242 src/gnutls.c || SIZE_MAX < tagged_size) SIZE_MAX 2243 src/gnutls.c memory_full (SIZE_MAX); SIZE_MAX 699 src/gtkutil.c || SIZE_MAX < alloc) SIZE_MAX 700 src/gtkutil.c memory_full (SIZE_MAX); SIZE_MAX 4314 src/gtkutil.c memory_full (SIZE_MAX); SIZE_MAX 1984 src/haikufns.c memory_full (SIZE_MAX); SIZE_MAX 1019 src/haikufont.c memory_full (SIZE_MAX); SIZE_MAX 252 src/haikuselect.c memory_full (SIZE_MAX); SIZE_MAX 273 src/haikuselect.c memory_full (SIZE_MAX); SIZE_MAX 840 src/haikuselect.c memory_full (SIZE_MAX); SIZE_MAX 2821 src/haikuterm.c memory_full (SIZE_MAX); SIZE_MAX 4424 src/haikuterm.c memory_full (SIZE_MAX); SIZE_MAX 1875 src/image.c && img->ncolors < min (min (PTRDIFF_MAX, SIZE_MAX) / sizeof *img->colors, SIZE_MAX 3179 src/image.c X_IMAGE_BYTES_MAX = min (XLIB_BYTES_MAX, min (PTRDIFF_MAX, SIZE_MAX)) SIZE_MAX 3763 src/image.c && 0 <= st.st_size && st.st_size < min (PTRDIFF_MAX, SIZE_MAX)) SIZE_MAX 5863 src/image.c min (PTRDIFF_MAX, SIZE_MAX) / sizeof (unsigned long)) SIZE_MAX 6141 src/image.c || SIZE_MAX < nbytes) SIZE_MAX 6142 src/image.c memory_full (SIZE_MAX); SIZE_MAX 6287 src/image.c memory_full (SIZE_MAX); SIZE_MAX 7660 src/image.c memory_full (SIZE_MAX); SIZE_MAX 8717 src/image.c if (! (height <= min (PTRDIFF_MAX, SIZE_MAX) / sizeof *buf / width SIZE_MAX 1588 src/keymap.c if (min (PTRDIFF_MAX, SIZE_MAX) / (2 * sizeof *newmodes) - 3 SIZE_MAX 2105 src/keymap.c memory_full (SIZE_MAX); SIZE_MAX 128 src/lisp.h # define BITS_WORD_MAX SIZE_MAX SIZE_MAX 1645 src/lisp.h ((ptrdiff_t) min (MOST_POSITIVE_FIXNUM, min (SIZE_MAX, PTRDIFF_MAX) - 1)) SIZE_MAX 3459 src/lisp.h #if SIZE_MAX > 0xffffffff SIZE_MAX 5413 src/lisp.h || SIZE_MAX < alloca_nbytes) \ SIZE_MAX 5414 src/lisp.h memory_full (SIZE_MAX); \ SIZE_MAX 6850 src/pgtkterm.c memory_full (SIZE_MAX); SIZE_MAX 276 src/sysdep.c ptrdiff_t dirsize_max = min (PTRDIFF_MAX, SIZE_MAX) - 1; SIZE_MAX 1632 src/sysdep.c min (PTRDIFF_MAX, SIZE_MAX), 1); SIZE_MAX 2511 src/sysdep.c verify (MAX_RW_COUNT <= SIZE_MAX); SIZE_MAX 537 src/term.c memory_full (SIZE_MAX); SIZE_MAX 1174 src/term.c if ((min (PTRDIFF_MAX, SIZE_MAX) / sizeof (int) - 1) / 2 SIZE_MAX 1176 src/term.c memory_full (SIZE_MAX); SIZE_MAX 194 src/timefns.c memory_full (SIZE_MAX); SIZE_MAX 298 src/timefns.c memory_full (SIZE_MAX); SIZE_MAX 368 src/timefns.c case ENOMEM: memory_full (SIZE_MAX); SIZE_MAX 1372 src/timefns.c len = emacs_nmemftime (NULL, SIZE_MAX, format, formatlen, tmp, tz, ns); SIZE_MAX 178 src/tparam.c memory_full (SIZE_MAX); SIZE_MAX 279 src/unexelf.c if (! (0 <= old_file_size && old_file_size <= SIZE_MAX)) SIZE_MAX 104 src/vm-limit.c = (getrlimit (RLIMIT_AS, &rlimit) == 0 && rlimit.rlim_cur <= SIZE_MAX SIZE_MAX 106 src/vm-limit.c : SIZE_MAX); SIZE_MAX 7382 src/w32term.c memory_full (SIZE_MAX); SIZE_MAX 27551 src/xdisp.c len = strnlen (string, precision <= 0 ? SIZE_MAX : precision); SIZE_MAX 98 src/xselect.c ((int) min (0xFFFFFF, (min (INT_MAX, min (PTRDIFF_MAX, SIZE_MAX) - 1) \ SIZE_MAX 1454 src/xselect.c ((min (PTRDIFF_MAX, SIZE_MAX) - 1) / x_long_size < LONG_MAX SIZE_MAX 1455 src/xselect.c ? min (PTRDIFF_MAX, SIZE_MAX) - 1 SIZE_MAX 1564 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 1584 src/xselect.c if (min (PTRDIFF_MAX, SIZE_MAX) < min_size_bytes) SIZE_MAX 1585 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 2702 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 227 src/xsmfns.c memory_full (SIZE_MAX); SIZE_MAX 29713 src/xterm.c memory_full (SIZE_MAX); SIZE_MAX 2457 src/xwidget.c memory_full (SIZE_MAX); SIZE_MAX 1854 test/manual/etags/c-src/emacs/src/gmalloc.c #define MAGICWORD (SIZE_MAX / 11 ^ SIZE_MAX / 13 << 3) SIZE_MAX 1855 test/manual/etags/c-src/emacs/src/gmalloc.c #define MAGICFREE (SIZE_MAX / 17 ^ SIZE_MAX / 19 << 4) SIZE_MAX 124 test/manual/etags/c-src/emacs/src/lisp.h # define BITS_WORD_MAX SIZE_MAX SIZE_MAX 1262 test/manual/etags/c-src/emacs/src/lisp.h ((ptrdiff_t) min (MOST_POSITIVE_FIXNUM, min (SIZE_MAX, PTRDIFF_MAX) - 1)) SIZE_MAX 4629 test/manual/etags/c-src/emacs/src/lisp.h else if ((nelt) <= min (PTRDIFF_MAX, SIZE_MAX) / word_size) \ SIZE_MAX 4638 test/manual/etags/c-src/emacs/src/lisp.h memory_full (SIZE_MAX); \ SIZE_MAX 492 test/src/emacs-module-resources/mod-test.c max_count = ((SIZE_MAX < PTRDIFF_MAX ? SIZE_MAX : PTRDIFF_MAX) SIZE_MAX 722 test/src/emacs-module-resources/mod-test.c if (length_arg < 0 || SIZE_MAX < length_arg)