SIZE_MAX 256 lib-src/emacsclient.c ptrdiff_t dirsize_max = min (PTRDIFF_MAX, SIZE_MAX) - 1; SIZE_MAX 8028 lib-src/etags.c if (SIZE_MAX < size) SIZE_MAX 8053 lib-src/etags.c if (ckd_mul (&nbytes, nitems, item_size) || 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 314 lib-src/update-game-score.c if (! (0 <= st.st_size && st.st_size < min (PTRDIFF_MAX, SIZE_MAX))) SIZE_MAX 59 lib/acl-internal.h #ifndef SIZE_MAX SIZE_MAX 34 lib/careadlinkat.c #ifndef SIZE_MAX SIZE_MAX 79 lib/careadlinkat.c idx_t buf_size_max = MIN (IDX_MAX, MIN (SSIZE_MAX, SIZE_MAX)); SIZE_MAX 202 lib/file-has-acl.c if (overflow || SIZE_MAX < listbufsize) SIZE_MAX 353 lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) SIZE_MAX 427 lib/file-has-acl.c alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) SIZE_MAX 105 lib/getdelim.c SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; SIZE_MAX 86 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 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 32 lib/xalloc-oversized.h && ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) \ SIZE_MAX 48 lib/xalloc-oversized.h #if 7 <= __GNUC__ && !defined __clang__ && PTRDIFF_MAX < SIZE_MAX SIZE_MAX 52 lib/xalloc-oversized.h && PTRDIFF_MAX < SIZE_MAX) SIZE_MAX 870 src/alloc.c if (ckd_mul (&nbytes, nitems, item_size) || SIZE_MAX < nbytes) SIZE_MAX 871 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 884 src/alloc.c if (ckd_mul (&nbytes, nitems, item_size) || SIZE_MAX < nbytes) SIZE_MAX 885 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 937 src/alloc.c = ((ckd_mul (&nbytes, n, item_size) || SIZE_MAX < nbytes) SIZE_MAX 938 src/alloc.c ? min (PTRDIFF_MAX, SIZE_MAX) SIZE_MAX 952 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 1276 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 1749 src/alloc.c ((SIZE_MAX SIZE_MAX 2438 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 3520 src/alloc.c min (((min (PTRDIFF_MAX, SIZE_MAX) - header_size - large_vector_offset) \ SIZE_MAX 3583 src/alloc.c memory_full (SIZE_MAX); SIZE_MAX 6621 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 103 src/buffer.c min (PTRDIFF_MAX, SIZE_MAX) / word_size)) SIZE_MAX 3347 src/buffer.c memory_full (SIZE_MAX); SIZE_MAX 3361 src/buffer.c memory_full (SIZE_MAX); SIZE_MAX 3433 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 2174 src/ccl.c memory_full (SIZE_MAX); SIZE_MAX 993 src/coding.c || SIZE_MAX < newbytes) SIZE_MAX 7064 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 1395 src/dispnew.c memory_full (SIZE_MAX); SIZE_MAX 4670 src/dispnew.c (min (PTRDIFF_MAX, SIZE_MAX) / (3 * sizeof *row_table) SIZE_MAX 4674 src/dispnew.c memory_full (SIZE_MAX); SIZE_MAX 6721 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 2045 src/editfns.c memory_full (SIZE_MAX); SIZE_MAX 3489 src/editfns.c || SIZE_MAX < alloca_size) SIZE_MAX 3490 src/editfns.c memory_full (SIZE_MAX); SIZE_MAX 1037 src/emacs-module.c ((ptrdiff_t) min (SIZE_MAX, PTRDIFF_MAX) / sizeof (emacs_limb_t)) SIZE_MAX 1191 src/emacs.c if (stat.st_size <= 0 || SIZE_MAX <= stat.st_size SIZE_MAX 1201 src/emacs.c eassert (0 < count && count < SIZE_MAX); SIZE_MAX 1220 src/emacs.c eassert (read <= SIZE_MAX); SIZE_MAX 1612 src/emacs.c = min (lim - extra, min (PTRDIFF_MAX, SIZE_MAX)) / ratio; SIZE_MAX 1394 src/eval.c memory_full (SIZE_MAX); SIZE_MAX 2408 src/fileio.c ptrdiff_t copy_max = min (ssize_max, SIZE_MAX) >> 30 << 30; SIZE_MAX 892 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 1112 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 4338 src/fns.c ptrdiff_t C_language_max = min (PTRDIFF_MAX, SIZE_MAX) / sizeof *v->contents; SIZE_MAX 4347 src/fns.c memory_full (SIZE_MAX); SIZE_MAX 4509 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 2403 src/gnutls.c || SIZE_MAX < tagged_size) SIZE_MAX 2404 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 2038 src/haikufns.c memory_full (SIZE_MAX); SIZE_MAX 1028 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 4439 src/haikuterm.c memory_full (SIZE_MAX); SIZE_MAX 2054 src/image.c && img->ncolors < min (min (PTRDIFF_MAX, SIZE_MAX) / sizeof *img->colors, SIZE_MAX 3645 src/image.c X_IMAGE_BYTES_MAX = min (XLIB_BYTES_MAX, min (PTRDIFF_MAX, SIZE_MAX)) SIZE_MAX 4292 src/image.c && 0 <= st.st_size && st.st_size < min (PTRDIFF_MAX, SIZE_MAX)) SIZE_MAX 4316 src/image.c && st.st_size < min (PTRDIFF_MAX, SIZE_MAX))) SIZE_MAX 6440 src/image.c min (PTRDIFF_MAX, SIZE_MAX) / sizeof (unsigned long)) SIZE_MAX 6719 src/image.c || SIZE_MAX < nbytes) SIZE_MAX 6720 src/image.c memory_full (SIZE_MAX); SIZE_MAX 6870 src/image.c memory_full (SIZE_MAX); SIZE_MAX 8260 src/image.c memory_full (SIZE_MAX); SIZE_MAX 9320 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 134 src/lisp.h # define BITS_WORD_MAX SIZE_MAX SIZE_MAX 1643 src/lisp.h ((ptrdiff_t) min (MOST_POSITIVE_FIXNUM, min (SIZE_MAX, PTRDIFF_MAX) - 1)) SIZE_MAX 3456 src/lisp.h #if SIZE_MAX > 0xffffffff SIZE_MAX 5465 src/lisp.h || SIZE_MAX < alloca_nbytes) \ SIZE_MAX 5466 src/lisp.h memory_full (SIZE_MAX); \ SIZE_MAX 6852 src/pgtkterm.c memory_full (SIZE_MAX); SIZE_MAX 82 src/sfntfont-android.c memory_full (SIZE_MAX); \ SIZE_MAX 116 src/sfntfont-android.c memory_full (SIZE_MAX); \ SIZE_MAX 606 src/sfntfont.c if (map.data_length >= SIZE_MAX) SIZE_MAX 607 src/sfntfont.c memory_full (SIZE_MAX); SIZE_MAX 284 src/sysdep.c ptrdiff_t dirsize_max = min (PTRDIFF_MAX, SIZE_MAX) - 1; SIZE_MAX 1650 src/sysdep.c min (PTRDIFF_MAX, SIZE_MAX), 1); SIZE_MAX 2746 src/sysdep.c verify (MAX_RW_COUNT <= SIZE_MAX); SIZE_MAX 551 src/term.c memory_full (SIZE_MAX); SIZE_MAX 1210 src/term.c if ((min (PTRDIFF_MAX, SIZE_MAX) / sizeof (int) - 1) / 2 SIZE_MAX 1212 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 177 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 27814 src/xdisp.c len = strnlen (string, precision <= 0 ? SIZE_MAX : precision); SIZE_MAX 99 src/xselect.c ((int) min (0xFFFFFF, (min (INT_MAX, min (PTRDIFF_MAX, SIZE_MAX) - 1) \ SIZE_MAX 748 src/xselect.c return SIZE_MAX; SIZE_MAX 754 src/xselect.c return SIZE_MAX; SIZE_MAX 1762 src/xselect.c = ((min (PTRDIFF_MAX, SIZE_MAX) - 1) / x_long_size < LONG_MAX SIZE_MAX 1763 src/xselect.c ? min (PTRDIFF_MAX, SIZE_MAX) - 1 SIZE_MAX 1872 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 1892 src/xselect.c if (min (PTRDIFF_MAX, SIZE_MAX) < min_size_bytes) SIZE_MAX 1893 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 3053 src/xselect.c memory_full (SIZE_MAX); SIZE_MAX 227 src/xsmfns.c memory_full (SIZE_MAX); SIZE_MAX 30634 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)