/dports/archivers/libdeflate/libdeflate-1.8/programs/ |
H A D | test_custom_malloc.c | 10 static int malloc_count = 0; variable 15 malloc_count++; in do_malloc() 21 malloc_count++; in do_fail_malloc() 43 ASSERT(malloc_count == 0); in tmain() 50 ASSERT(malloc_count == 1); in tmain() 53 ASSERT(malloc_count == 1); in tmain() 57 malloc_count = free_count = 0; in tmain() 60 ASSERT(malloc_count == 1); in tmain() 63 ASSERT(malloc_count == 1); in tmain() 74 ASSERT(malloc_count == 1); in tmain() [all …]
|
/dports/devel/cxref/cxref-1.6e/src/ |
H A D | memory.c | 61 static int malloc_count=0; variable 90 files[malloc_count]=file; in SafeMalloc() 91 lines[malloc_count]=line; in SafeMalloc() 94 malloc_count++; in SafeMalloc() 130 files[malloc_count]=file; in SafeCalloc() 131 lines[malloc_count]=line; in SafeCalloc() 134 malloc_count++; in SafeCalloc() 169 for(i=0;i<malloc_count;i++) in SafeRealloc() 172 if(i==malloc_count) in SafeRealloc() 209 if(i==malloc_count) in SafeFree() [all …]
|
/dports/math/suitesparse-csparse/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-btf/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-amd/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-ldl/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-slip_lu/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-mongoose/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-rbio/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-colamd/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-config/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-cholmod/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-ccolamd/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-spqr/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-camd/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-umfpack/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-cxsparse/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/math/suitesparse-graphblas/SuiteSparse-5.10.1/CHOLMOD/Tcov/ |
H A D | memory.c | 169 count = cm->malloc_count ; in memory_tests() 182 OK (count == cm->malloc_count) ; in memory_tests() 199 count = cm->malloc_count ; in memory_tests() 212 OK (count == cm->malloc_count) ; in memory_tests() 229 count = cm->malloc_count ; in memory_tests() 241 OK (count == cm->malloc_count) ; in memory_tests() 258 count = cm->malloc_count ; in memory_tests() 272 OK (count == cm->malloc_count) ; in memory_tests() 290 count = cm->malloc_count ; in memory_tests() 310 OK (count == cm->malloc_count) ; in memory_tests() [all …]
|
/dports/security/samhain/samhain-4.4.3/src/ |
H A D | cutest_sh_unix.c | 9 int malloc_count = 0; variable 17 int i_malloc = malloc_count; in Test_dnmalloc() 42 i_malloc = malloc_count; in Test_dnmalloc() 51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 69 i_malloc = malloc_count; in Test_dnmalloc() 77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 108 i_malloc = malloc_count; in Test_dnmalloc() 135 i_malloc = malloc_count; in Test_dnmalloc() [all …]
|
/dports/security/samhain-server/samhain-4.4.3/src/ |
H A D | cutest_sh_unix.c | 9 int malloc_count = 0; variable 17 int i_malloc = malloc_count; in Test_dnmalloc() 42 i_malloc = malloc_count; in Test_dnmalloc() 51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 69 i_malloc = malloc_count; in Test_dnmalloc() 77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 108 i_malloc = malloc_count; in Test_dnmalloc() 135 i_malloc = malloc_count; in Test_dnmalloc() [all …]
|
/dports/security/samhain-client/samhain-4.4.3/src/ |
H A D | cutest_sh_unix.c | 9 int malloc_count = 0; variable 17 int i_malloc = malloc_count; in Test_dnmalloc() 42 i_malloc = malloc_count; in Test_dnmalloc() 51 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 56 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 69 i_malloc = malloc_count; in Test_dnmalloc() 77 CuAssertIntEquals (tc, malloc_count, (i_malloc + 1)); in Test_dnmalloc() 85 CuAssertIntEquals (tc, malloc_count, i_malloc); in Test_dnmalloc() 108 i_malloc = malloc_count; in Test_dnmalloc() 135 i_malloc = malloc_count; in Test_dnmalloc() [all …]
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/correctness/ |
H A D | heap_cleanup.cpp | 9 std::atomic<int> malloc_count{0}; variable 13 malloc_count++; in my_malloc() 39 malloc_count = 0; in main() 57 printf("%d %d\n", (int)malloc_count, (int)free_count); in main() 59 assert(error_occurred && (int)malloc_count == (int)free_count); in main()
|
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/CSparse/Tcov/ |
H A D | cstcov_malloc_test.c | 2 csi malloc_count = INT_MAX ; variable 7 if (--malloc_count < 0) return (NULL) ; /* pretend to fail */ in cs_malloc() 14 if (--malloc_count < 0) return (NULL) ; /* pretend to fail */ in cs_calloc() 30 if (--malloc_count < 0) return (p) ; /* pretend to fail */ in cs_realloc()
|
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/CXSparse_newfiles/Tcov/ |
H A D | cstcov_malloc_test.c | 2 int malloc_count = INT_MAX ; variable 7 if (--malloc_count < 0) return (NULL) ; /* pretend to fail */ in cs_malloc() 14 if (--malloc_count < 0) return (NULL) ; /* pretend to fail */ in cs_calloc() 30 if (--malloc_count < 0) return (p) ; /* pretend to fail */ in cs_realloc()
|