/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 34 std::unique_ptr<Config> config; member in MallocDebugConfigTest 37 config.reset(new Config); in InitConfig() 38 return config->Init(options); in InitConfig() 122 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 123 ASSERT_EQ(10U, config->backtrace_frames()); in TEST_F() 131 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 132 ASSERT_EQ(10U, config->backtrace_frames()); in TEST_F() 140 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options()); in TEST_F() 141 ASSERT_EQ(64U, config->backtrace_frames()); in TEST_F() 149 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options()); in TEST_F() [all …]
|
/bionic/libc/malloc_debug/ |
D | Unreachable.cpp | 52 void Unreachable::CheckIfRequested(const Config& config) { in CheckIfRequested() argument 53 if ((config.options() & CHECK_UNREACHABLE_ON_SIGNAL) && do_check_.exchange(false)) { in CheckIfRequested() 61 bool Unreachable::Initialize(const Config& config) { in Initialize() argument 62 if (!(config.options() & CHECK_UNREACHABLE_ON_SIGNAL)) { in Initialize() 69 if (sigaction64(config.check_unreachable_signal(), &unreachable_act, nullptr) != 0) { in Initialize() 74 if (config.options() & VERBOSE) { in Initialize() 76 config.check_unreachable_signal(), getpid()); in Initialize()
|
D | GuardData.cpp | 67 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogFailure() 72 FrontGuardData::FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset) in FrontGuardData() argument 73 : GuardData(debug_data, config.front_guard_value(), config.front_guard_bytes()) { in FrontGuardData() 75 cmp_mem_.resize(config.front_guard_bytes()); in FrontGuardData() 76 memset(cmp_mem_.data(), config.front_guard_value(), cmp_mem_.size()); in FrontGuardData() 79 *offset += config.front_guard_bytes(); in FrontGuardData() 90 RearGuardData::RearGuardData(DebugData* debug_data, const Config& config) in RearGuardData() argument 91 : GuardData(debug_data, config.rear_guard_value(), config.rear_guard_bytes()) {} in RearGuardData()
|
D | malloc_debug.cpp | 142 if (g_debug->config().options() & RECORD_ALLOCS) { in TimerCall() 290 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog() 315 if (g_debug->config().options() & FREE_TRACK) { in LogError() 322 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError() 373 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader() 375 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes()); in InitHeader() 378 if (g_debug->config().options() & REAR_GUARD) { in InitHeader() 380 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader() 413 if (!debug->Initialize(options) || !Unreachable::Initialize(debug->config())) { in debug_initialize() 424 if (g_debug->config().options() & VERBOSE) { in debug_initialize() [all …]
|
D | PointerData.cpp | 92 bool PointerData::Initialize(const Config& config) NO_THREAD_SAFETY_ANALYSIS { in Initialize() argument 101 backtrace_enabled_ = config.backtrace_enabled(); in Initialize() 102 if (config.backtrace_enable_on_signal()) { in Initialize() 106 if (sigaction64(config.backtrace_signal(), &enable_act, nullptr) != 0) { in Initialize() 110 if (config.options() & VERBOSE) { in Initialize() 112 config.backtrace_signal(), getpid()); in Initialize() 116 if (config.options() & BACKTRACE) { in Initialize() 120 if (sigaction64(config.backtrace_dump_signal(), &act, nullptr) != 0) { in Initialize() 124 if (config.options() & VERBOSE) { in Initialize() 126 config.backtrace_dump_signal(), getpid()); in Initialize() [all …]
|
D | RecordData.cpp | 164 bool RecordData::Initialize(const Config& config) { in Initialize() argument 169 if (sigaction64(config.record_allocs_signal(), &dump_act, nullptr) != 0) { in Initialize() 175 if (config.options() & VERBOSE) { in Initialize() 177 config.record_allocs_signal(), getpid()); in Initialize() 180 entries_.resize(config.record_allocs_num_entries()); in Initialize() 182 dump_file_ = config.record_allocs_file(); in Initialize()
|
D | Unreachable.h | 40 static bool Initialize(const Config& config); 41 static void CheckIfRequested(const Config& config);
|
D | GuardData.h | 64 FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset); 83 RearGuardData(DebugData* debug_data, const Config& config);
|
D | DebugData.h | 73 const Config& config() { return config_; } in config() function
|
D | RecordData.h | 160 bool Initialize(const Config& config);
|
D | PointerData.h | 121 bool Initialize(const Config& config);
|
/bionic/linker/ |
D | linker_config_test.cpp | 183 const Config* config = nullptr; in run_linker_config_smoke_test() local 189 &config, in run_linker_config_smoke_test() 191 ASSERT_TRUE(config != nullptr); in run_linker_config_smoke_test() 194 ASSERT_EQ(113, config->target_sdk_version()); in run_linker_config_smoke_test() 196 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in run_linker_config_smoke_test() 215 auto& ns_configs = config->namespace_configs(); in run_linker_config_smoke_test() 297 const Config* config = nullptr; in TEST() local 303 &config, in TEST() 305 ASSERT_TRUE(config == nullptr); in TEST() 342 const Config* config = nullptr; in TEST() local [all …]
|
D | ld.config.format.md | 1 # Linker config file format 3 This document describes format of /system/etc/ld.config.txt file. This file can be used to customize 18 The mappings should be defined between start of ld.config.txt and the first section. 72 # This part defines config for ns1
|
D | linker_config.h | 170 const Config** config,
|
/bionic/libc/kernel/tools/ |
D | kernel.py | 67 def __init__(self,config={}): argument 70 self.config = config 72 def reset(self,config={}): argument 75 self.config = config 137 macros.update(self.config) 238 fparser = HeaderScanner(config=self.kernel_config)
|
/bionic/apex/ |
D | Android.bp | 63 "bionic-linker-config", 110 name: "bionic-linker-config", 111 src: "linker.config.json",
|
/bionic/libc/kernel/uapi/rdma/ |
D | hns-abi.h | 74 __u32 config; member 78 __u32 config; member
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_string.h | 42 struct ts_config __attribute__((aligned(8))) * config; member
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ |
D | ipt_CLUSTERIP.h | 40 struct clusterip_config * config; member
|
/bionic/libc/kernel/uapi/linux/netfilter_bridge/ |
D | ebt_stp.h | 52 struct ebt_stp_config_info config; member
|
/bionic/libc/kernel/uapi/linux/ |
D | atmlec.h | 72 struct atmlec_config_msg config; member
|
D | vduse.h | 36 __u8 config[]; member
|
D | gpio.h | 78 struct gpio_v2_line_config config; member
|
D | hdreg.h | 305 unsigned short config; member
|
/bionic/benchmarks/linker_relocation/ |
D | run_bench_with_ninja.sh | 38 Run config:
|