/dports/devel/glib20/glib-2.70.4/glib/tests/ |
H A D | overflow.c | 140 { TRUE, G_MAXSIZE, G_MAXSIZE, 0 }, in test_checked_gsize_add() 141 { TRUE, G_MAXSIZE, 0, G_MAXSIZE }, in test_checked_gsize_add() 142 { TRUE, G_MAXSIZE - 1, G_MAXSSIZE, G_MAXSSIZE }, in test_checked_gsize_add() 143 { FALSE, 0, G_MAXSIZE, 1 }, in test_checked_gsize_add() 144 { FALSE, 0, 1, G_MAXSIZE }, in test_checked_gsize_add() 145 { FALSE, 0, G_MAXSIZE, G_MAXSIZE } in test_checked_gsize_add() 167 { TRUE, 0, G_MAXSIZE, 0 }, in test_checked_gsize_mul() 168 { TRUE, G_MAXSIZE, G_MAXSIZE, 1 }, in test_checked_gsize_mul()
|
H A D | bytes.c | 466 g_assert_true (g_bytes_get_region (bytes, 32, 0, G_MAXSIZE / 32 + 1) == NULL); in test_get_region() 467 g_assert_true (g_bytes_get_region (bytes, G_MAXSIZE / 32 + 1, 0, 32) == NULL); in test_get_region() 470 g_assert_true (g_bytes_get_region (bytes, 1, G_MAXSIZE, -G_MAXSIZE) == NULL); in test_get_region() 472 g_assert_true (g_bytes_get_region (bytes, 1, G_MAXSIZE, 1) == NULL); in test_get_region()
|
/dports/devel/glib20/glib-2.70.4/glib/gnulib/ |
H A D | xsize.h | 58 ((N) <= G_MAXSIZE ? (size_t) (N) : G_MAXSIZE) 68 return (sum >= size1 ? sum : G_MAXSIZE); in xsum() 108 ((N) <= G_MAXSIZE / (ELSIZE) ? (size_t) (N) * (ELSIZE) : G_MAXSIZE) 112 ((SIZE) == G_MAXSIZE) 115 ((SIZE) != G_MAXSIZE)
|
H A D | glib-gnulib.patch | 23 * glib has G_MAXSIZE instead of SIZE_MAX, so use that 371 +/* Get G_MAXSIZE. */ 381 + The convention is that G_MAXSIZE represents overflow. 382 + malloc (G_MAXSIZE) is not guaranteed to fail -- think of a malloc 391 + ((N) <= G_MAXSIZE ? (size_t) (N) : G_MAXSIZE) 400 + return (sum >= size1 ? sum : G_MAXSIZE); 409 + max (G_MAXSIZE, n) == G_MAXSIZE and max (n, G_MAXSIZE) == G_MAXSIZE. */ 417 + when N is of a wider type and N > G_MAXSIZE. */ 420 + ((N) <= G_MAXSIZE / (ELSIZE) ? (size_t) (N) * (ELSIZE) : G_MAXSIZE) 425 + ((SIZE) == G_MAXSIZE) [all …]
|
/dports/security/libsecret/libsecret-0.20.4/egg/ |
H A D | test-secmem.c | 66 return G_MAXSIZE; in find_non_zero() 77 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 512)); in test_alloc_free() 95 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 1088)); in test_realloc_across() 100 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 16200)); in test_realloc_across() 113 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 4)); in test_alloc_two() 119 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 16200)); in test_alloc_two() 141 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, len)); in test_realloc() 147 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (((gchar*)p2) + len, 512 - len)); in test_realloc()
|
/dports/security/libgnome-keyring/libgnome-keyring-3.12.0/egg/tests/ |
H A D | test-secmem.c | 65 return G_MAXSIZE; in find_non_zero() 76 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 512)); in test_alloc_free() 94 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 1088)); in test_realloc_across() 99 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 16200)); in test_realloc_across() 112 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 4)); in test_alloc_two() 118 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 16200)); in test_alloc_two() 140 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, len)); in test_realloc() 146 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (((gchar*)p2) + len, 512 - len)); in test_realloc()
|
/dports/security/gcr/gcr-3.40.0/egg/ |
H A D | test-secmem.c | 64 return G_MAXSIZE; in find_non_zero() 75 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 512)); in test_alloc_free() 93 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 1088)); in test_realloc_across() 98 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 16200)); in test_realloc_across() 111 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 4)); in test_alloc_two() 117 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 16200)); in test_alloc_two() 139 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, len)); in test_realloc() 145 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (((gchar*)p2) + len, 512 - len)); in test_realloc()
|
/dports/security/gnome-keyring/gnome-keyring-40.0/egg/ |
H A D | test-secmem.c | 64 return G_MAXSIZE; in find_non_zero() 75 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 512)); in test_alloc_free() 93 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 1088)); in test_realloc_across() 98 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 16200)); in test_realloc_across() 111 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p2, 4)); in test_alloc_two() 117 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, 16200)); in test_alloc_two() 139 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (p, len)); in test_realloc() 145 g_assert_cmpint (G_MAXSIZE, ==, find_non_zero (((gchar*)p2) + len, 512 - len)); in test_realloc()
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/tests/ |
H A D | test_atomic_gssize.c | 53 atomic_gssize_set(&a, G_MAXSIZE); in Test() 54 cr_assert_eq(atomic_gssize_get_unsigned(&a), G_MAXSIZE); in Test() 58 cr_assert_eq(atomic_gssize_get_unsigned(&a), G_MAXSIZE); in Test()
|
/dports/net-im/pidgin-fetion/fetion-0.98.5.2/src/ |
H A D | internal.h | 143 #ifndef G_MAXSIZE 145 # define G_MAXSIZE ((gsize) 0xffffffffffffffff) macro 147 # define G_MAXSIZE ((gsize) 0xffffffff) macro
|
/dports/graphics/gegl/gegl-0.4.34/gegl/buffer/ |
H A D | gegl-scratch.h | 56 (G_LIKELY ((y) <= G_MAXSIZE / (x)) ? (x) * (y) : G_MAXSIZE)
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | grcbox.c | 195 g_assert (block_size < (G_MAXSIZE - private_size)); in g_rc_box_alloc_full() 204 g_assert (real_size < (G_MAXSIZE - (alignment - offset))); in g_rc_box_alloc_full() 217 g_assert (private_size < (G_MAXSIZE - ALIGN_STRUCT (1))); in g_rc_box_alloc_full()
|
H A D | gmem.h | 238 (__s == 0 || __n <= G_MAXSIZE / __s)) \ 252 (__s == 0 || __n <= G_MAXSIZE / __s)) \
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/ |
H A D | window-size-counter.c | 29 static const gsize SUSPEND_MASK = G_MAXSIZE ^ COUNTER_MASK; 30 static const gsize RESUME_MASK = G_MAXSIZE >> 1;
|
/dports/devel/pyl-gobject/pygobject-2.28.6/gobject/ |
H A D | constants.py | 79 G_MAXSIZE = _gobject.G_MAXSIZE variable
|
/dports/graphics/gdk-pixbuf2/gdk-pixbuf-2.40.0/tests/ |
H A D | pixbuf-short-gif-write.c | 21 if(count_bytes < G_MAXSIZE) { in loader_write_from_channel() 51 loader_write_from_channel (loader, channel, G_MAXSIZE); in test_short_gif_write()
|
H A D | pixbuf-area-updated.c | 156 if(count_bytes < G_MAXSIZE) { in loader_write_from_channel() 201 loader_write_from_channel(loader, channel, G_MAXSIZE); in test_area_updated_ico() 318 loader_write_from_channel (loader, channel, G_MAXSIZE); in test_area_updated_anim()
|
/dports/sysutils/tracker/tracker-2.3.4/tests/libtracker-data/ |
H A D | tracker-ontology-test.c | 186 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_ontology_init() 197 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_ontology_init() 233 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_query()
|
H A D | tracker-db-journal-test.c | 47 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_init_and_shutdown() 56 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_init_and_shutdown() 88 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_write_functions()
|
H A D | tracker-backup-test.c | 126 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_backup_and_restore_helper() 193 tracker_db_journal_set_rotating (FALSE, G_MAXSIZE, NULL); in test_backup_and_restore_helper()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/timsort/ |
H A D | gtktimsort.c | 77 self->max_merge_size = G_MAXSIZE; in gtk_tim_sort_init() 267 max_merge_size = G_MAXSIZE; in gtk_tim_sort_set_max_merge_size()
|
/dports/graphics/cogl/cogl-1.22.8/deps/glib/ |
H A D | gmem.h | 110 (__s == 0 || __n <= G_MAXSIZE / __s)) \ 124 (__s == 0 || __n <= G_MAXSIZE / __s)) \
|
/dports/deskutils/gnome-photos/gnome-photos-40.0/src/ |
H A D | photos-operation-png-guess-sizes.c | 344 G_MAXSIZE, in photos_operation_png_guess_sizes_class_init() 355 G_MAXSIZE, in photos_operation_png_guess_sizes_class_init()
|
H A D | photos-operation-jpg-guess-sizes.c | 319 G_MAXSIZE, in photos_operation_jpg_guess_sizes_class_init() 330 G_MAXSIZE, in photos_operation_jpg_guess_sizes_class_init()
|
/dports/lang/spidermonkey78/firefox-78.9.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \
|