Lines Matching +full:test +full:- +full:c
2 // Copyright (C) 2018 The Android Open Source Project
8 // http://www.apache.org/licenses/LICENSE-2.0
21 // Added automatically by a large-scale-change that took the approach of
34 // See: http://go/android-license-faq
39 "SPDX-license-identifier-Apache-2.0",
40 "SPDX-license-identifier-BSD",
41 "SPDX-license-identifier-ISC",
42 "SPDX-license-identifier-MIT",
51 "-D_GNU_SOURCE",
52 "-D_REENTRANT",
53 "-Wall",
54 "-Wshorten-64-to-32",
55 "-Wsign-compare",
56 "-Wundef",
57 "-Wno-format-zero-length",
58 "-pipe",
59 "-g3",
60 "-fvisibility=hidden",
61 "-O3",
62 "-funroll-loops",
65 "-Wno-unused-parameter",
66 "-Wno-unused-function",
67 "-Wno-missing-field-initializers",
69 "-U_FORTIFY_SOURCE",
72 "-DANDROID_ENABLE_TCACHE",
99 "-DANDROID_LG_TCACHE_MAXCLASS_DEFAULT=16",
100 "-DANDROID_NUM_ARENAS=2",
101 "-DANDROID_TCACHE_NSLOTS_SMALL_MAX=8",
102 "-DANDROID_TCACHE_NSLOTS_LARGE=16",
109 // Disable the tcache on non-svelte configurations, to save PSS.
110 "-UANDROID_ENABLE_TCACHE",
112 "-UANDROID_NUM_ARENAS",
113 "-DANDROID_NUM_ARENAS=1",
116 "-UANDROID_TCACHE_NSLOTS_SMALL_MAX",
117 "-DANDROID_TCACHE_NSLOTS_SMALL_MAX=2",
119 "-UANDROID_TCACHE_NSLOTS_LARGE",
120 "-DANDROID_TCACHE_NSLOTS_LARGE=1",
124 "-DANDROID_MINIMIZE_STRUCTS",
150 "src/jemalloc.c",
151 "src/arena.c",
152 "src/background_thread.c",
153 "src/base.c",
154 "src/bin.c",
155 "src/bitmap.c",
156 "src/ckh.c",
157 "src/ctl.c",
158 "src/div.c",
159 "src/extent.c",
160 "src/extent_dss.c",
161 "src/extent_mmap.c",
162 "src/hash.c",
163 "src/hooks.c",
164 "src/large.c",
165 "src/log.c",
166 "src/malloc_io.c",
167 "src/mutex.c",
168 "src/mutex_pool.c",
169 "src/nstime.c",
170 "src/pages.c",
171 "src/prng.c",
172 "src/prof.c",
173 "src/rtree.c",
174 "src/stats.c",
175 "src/sz.c",
176 "src/tcache.c",
177 "src/ticker.c",
178 "src/tsd.c",
179 "src/witness.c",
182 //-----------------------------------------------------------------------
184 //-----------------------------------------------------------------------
220 //-----------------------------------------------------------------------
221 // jemalloc "je"-prefixed static library
224 // - It only supports host (just because we don't need it for device)
225 // - all the functions (malloc, calloc, free, etc.) have a "je_" prefix.
226 // The -DJEMALLOC_NO_RENAME flag causes the prefix to be added.
229 // the tikv-jemallocator wrappers, code in libc gets a segfault before
231 // methods and have the tikv-jemallocator crate use the prefixed ones,
234 //-----------------------------------------------------------------------
240 cflags: ["-DJEMALLOC_NO_RENAME"],
259 "//external/rust/android-crates-io/crates/tikv-jemalloc-sys:__subpackages__",
263 //-----------------------------------------------------------------------
265 //-----------------------------------------------------------------------
272 "-DJEMALLOC_JET",
279 "test/src/btalloc.c",
280 "test/src/btalloc_0.c",
281 "test/src/btalloc_1.c",
282 "test/src/math.c",
283 "test/src/mtx.c",
284 "test/src/mq.c",
285 "test/src/SFMT.c",
286 "test/src/test.c",
287 "test/src/thd.c",
288 "test/src/timer.c",
291 //-----------------------------------------------------------------------
292 // jemalloc unit test library
293 //-----------------------------------------------------------------------
300 "-DJEMALLOC_UNIT_TEST",
304 "test/include",
312 //-----------------------------------------------------------------------
314 //-----------------------------------------------------------------------
316 "test/unit/a0.c",
317 "test/unit/arena_reset.c",
318 "test/unit/atomic.c",
319 "test/unit/background_thread.c",
320 "test/unit/background_thread_enable.c",
321 "test/unit/base.c",
322 "test/unit/bitmap.c",
323 "test/unit/ckh.c",
324 "test/unit/decay.c",
325 "test/unit/div.c",
326 "test/unit/emitter.c",
327 "test/unit/extent_quantize.c",
328 "test/unit/fork.c",
329 "test/unit/hash.c",
330 "test/unit/hooks.c",
331 "test/unit/junk.c",
332 "test/unit/junk_alloc.c",
333 "test/unit/junk_free.c",
334 "test/unit/log.c",
335 "test/unit/mallctl.c",
336 "test/unit/malloc_io.c",
337 "test/unit/math.c",
338 "test/unit/mq.c",
339 "test/unit/mtx.c",
340 "test/unit/pack.c",
341 "test/unit/pages.c",
342 "test/unit/ph.c",
343 "test/unit/prng.c",
344 "test/unit/prof_accum.c",
345 "test/unit/prof_active.c",
346 "test/unit/prof_gdump.c",
347 "test/unit/prof_idump.c",
348 "test/unit/prof_reset.c",
349 "test/unit/prof_tctx.c",
350 "test/unit/prof_thread_name.c",
351 "test/unit/ql.c",
352 "test/unit/qr.c",
353 "test/unit/rb.c",
354 "test/unit/retained.c",
355 "test/unit/rtree.c",
356 "test/unit/SFMT.c",
357 "test/unit/size_classes.c",
358 "test/unit/slab.c",
359 "test/unit/smoothstep.c",
360 "test/unit/spin.c",
361 "test/unit/stats.c",
362 "test/unit/stats_print.c",
363 "test/unit/ticker.c",
364 "test/unit/nstime.c",
365 "test/unit/tsd.c",
366 "test/unit/witness.c",
367 "test/unit/zero.c",
374 " --in $(in)" +
375 " --out $(out)" +
376 " --suite jemalloc5" +
377 " --test_name_prefix test_ " +
378 " --main_no_arguments " +
379 " --predicate testResultPredicate",
386 output_extension: "c",
395 "-DJEMALLOC_UNIT_TEST",
396 "-include jemalloc_gtest.h",
402 "test/include",
403 "android/test",
428 //-----------------------------------------------------------------------
429 // jemalloc integration test library
430 //-----------------------------------------------------------------------
437 "-U_FORTIFY_SOURCE",
438 "-DJEMALLOC_INTEGRATION_TEST",
439 "-DJEMALLOC_NO_RENAME",
443 "test/include",
449 //-----------------------------------------------------------------------
451 //-----------------------------------------------------------------------
453 "test/integration/aligned_alloc.c",
454 "test/integration/allocated.c",
455 "test/integration/extent.c",
456 "test/integration/mallocx.c",
457 "test/integration/MALLOCX_ARENA.c",
458 "test/integration/overflow.c",
459 "test/integration/posix_memalign.c",
460 "test/integration/rallocx.c",
461 "test/integration/sdallocx.c",
462 "test/integration/thread_arena.c",
463 "test/integration/xallocx.c",
467 "test/integration/cpp/basic.cpp",
474 output_extension: "c",
490 "-DJEMALLOC_INTEGRATION_TEST",
491 "-DJEMALLOC_NO_RENAME",
492 "-include jemalloc_gtest.h",
496 "test/include",
497 "android/test",
519 // Needed for basic.cpp test.
523 //-----------------------------------------------------------------------
524 // jemalloc stress test library
525 //-----------------------------------------------------------------------
532 "-DJEMALLOC_STRESS_TEST",
533 "-DJEMALLOC_STRESS_TESTLIB",
537 "test/include",
543 //-----------------------------------------------------------------------
545 //-----------------------------------------------------------------------
549 "test/stress/microbench.c",
556 output_extension: "c",
565 "-DJEMALLOC_STRESS_TEST",
566 "-include jemalloc_gtest.h",
570 "test/include",
571 "android/test",