• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:license

4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
11 // distributed under the License is distributed on an "AS IS" BASIS,
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
21 // Added automatically by a large-scale-change that took the approach of
22 // 'apply every license found to every target'. While this makes sure we respect
23 // every license restriction, it may not be entirely correct.
27 // Please consider splitting the single license below into multiple licenses,
29 // default license using the 'licenses: [...]' property on targets as needed.
32 // to attach the license to, and including a comment whether the files may be
34 // See: http://go/android-license-faq
35 license {
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",
96 "-DANDROID_ENABLE_TCACHE",
97 "-DANDROID_LG_TCACHE_MAXCLASS_DEFAULT=16",
98 "-DANDROID_NUM_ARENAS=2",
99 "-DANDROID_TCACHE_NSLOTS_SMALL_MAX=8",
100 "-DANDROID_TCACHE_NSLOTS_LARGE=16",
107 // Disable the tcache on non-svelte configurations, to save PSS.
108 "-UANDROID_ENABLE_TCACHE",
110 "-UANDROID_NUM_ARENAS",
111 "-DANDROID_NUM_ARENAS=1",
114 "-UANDROID_TCACHE_NSLOTS_SMALL_MAX",
115 "-DANDROID_TCACHE_NSLOTS_SMALL_MAX=2",
117 "-UANDROID_TCACHE_NSLOTS_LARGE",
118 "-DANDROID_TCACHE_NSLOTS_LARGE=1",
176 //-----------------------------------------------------------------------
178 //-----------------------------------------------------------------------
214 //-----------------------------------------------------------------------
215 // jemalloc "je"-prefixed static library
218 // - It only supports host (just because we don't need it for device)
219 // - all the functions (malloc, calloc, free, etc.) have a "je_" prefix.
220 // The -DJEMALLOC_NO_RENAME flag causes the prefix to be added.
223 // the tikv-jemallocator wrappers, code in libc gets a segfault before
225 // methods and have the tikv-jemallocator crate use the prefixed ones,
228 //-----------------------------------------------------------------------
234 cflags: ["-DJEMALLOC_NO_RENAME"],
253 "//external/rust/crates/tikv-jemalloc-sys:__subpackages__",
257 //-----------------------------------------------------------------------
259 //-----------------------------------------------------------------------
266 "-DJEMALLOC_JET",
273 "test/src/btalloc.c",
274 "test/src/btalloc_0.c",
275 "test/src/btalloc_1.c",
276 "test/src/math.c",
277 "test/src/mtx.c",
278 "test/src/mq.c",
279 "test/src/SFMT.c",
280 "test/src/test.c",
281 "test/src/thd.c",
282 "test/src/timer.c",
285 //-----------------------------------------------------------------------
286 // jemalloc unit test library
287 //-----------------------------------------------------------------------
294 "-DJEMALLOC_UNIT_TEST",
298 "test/include",
306 //-----------------------------------------------------------------------
308 //-----------------------------------------------------------------------
310 "test/unit/a0.c",
311 "test/unit/arena_reset.c",
312 "test/unit/atomic.c",
313 "test/unit/background_thread.c",
314 "test/unit/background_thread_enable.c",
315 "test/unit/base.c",
316 "test/unit/bitmap.c",
317 "test/unit/ckh.c",
318 "test/unit/decay.c",
319 "test/unit/div.c",
320 "test/unit/emitter.c",
321 "test/unit/extent_quantize.c",
322 "test/unit/fork.c",
323 "test/unit/hash.c",
324 "test/unit/hooks.c",
325 "test/unit/junk.c",
326 "test/unit/junk_alloc.c",
327 "test/unit/junk_free.c",
328 "test/unit/log.c",
329 "test/unit/mallctl.c",
330 "test/unit/malloc_io.c",
331 "test/unit/math.c",
332 "test/unit/mq.c",
333 "test/unit/mtx.c",
334 "test/unit/pack.c",
335 "test/unit/pages.c",
336 "test/unit/ph.c",
337 "test/unit/prng.c",
338 "test/unit/prof_accum.c",
339 "test/unit/prof_active.c",
340 "test/unit/prof_gdump.c",
341 "test/unit/prof_idump.c",
342 "test/unit/prof_reset.c",
343 "test/unit/prof_tctx.c",
344 "test/unit/prof_thread_name.c",
345 "test/unit/ql.c",
346 "test/unit/qr.c",
347 "test/unit/rb.c",
348 "test/unit/retained.c",
349 "test/unit/rtree.c",
350 "test/unit/SFMT.c",
351 "test/unit/size_classes.c",
352 "test/unit/slab.c",
353 "test/unit/smoothstep.c",
354 "test/unit/spin.c",
355 "test/unit/stats.c",
356 "test/unit/stats_print.c",
357 "test/unit/ticker.c",
358 "test/unit/nstime.c",
359 "test/unit/tsd.c",
360 "test/unit/witness.c",
361 "test/unit/zero.c",
372 "-DJEMALLOC_UNIT_TEST",
376 "test/include",
398 //-----------------------------------------------------------------------
399 // jemalloc integration test library
400 //-----------------------------------------------------------------------
407 "-U_FORTIFY_SOURCE",
408 "-DJEMALLOC_INTEGRATION_TEST",
409 "-DJEMALLOC_NO_RENAME",
413 "test/include",
419 //-----------------------------------------------------------------------
421 //-----------------------------------------------------------------------
423 "test/integration/aligned_alloc.c",
424 "test/integration/allocated.c",
425 "test/integration/extent.c",
426 "test/integration/mallocx.c",
427 "test/integration/MALLOCX_ARENA.c",
428 "test/integration/overflow.c",
429 "test/integration/posix_memalign.c",
430 "test/integration/rallocx.c",
431 "test/integration/sdallocx.c",
432 "test/integration/thread_arena.c",
433 "test/integration/xallocx.c",
434 "test/integration/cpp/basic.cpp",
445 "-DJEMALLOC_INTEGRATION_TEST",
446 "-DJEMALLOC_NO_RENAME",
450 "test/include",
468 // Needed for basic.cpp test.
472 //-----------------------------------------------------------------------
473 // jemalloc stress test library
474 //-----------------------------------------------------------------------
481 "-DJEMALLOC_STRESS_TEST",
482 "-DJEMALLOC_STRESS_TESTLIB",
486 "test/include",
492 //-----------------------------------------------------------------------
494 //-----------------------------------------------------------------------
498 "test/stress/microbench.c",
509 "-DJEMALLOC_STRESS_TEST",
513 "test/include",