Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 32) sorted by relevance

12

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp34 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/
DUnreachable.cpp52 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()
DGuardData.cpp67 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()
Dmalloc_debug.cpp142 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 …]
DPointerData.cpp92 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 …]
DRecordData.cpp164 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()
DUnreachable.h40 static bool Initialize(const Config& config);
41 static void CheckIfRequested(const Config& config);
DGuardData.h64 FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset);
83 RearGuardData(DebugData* debug_data, const Config& config);
DDebugData.h73 const Config& config() { return config_; } in config() function
DRecordData.h160 bool Initialize(const Config& config);
DPointerData.h121 bool Initialize(const Config& config);
/bionic/linker/
Dlinker_config_test.cpp183 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 …]
Dld.config.format.md1 # 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
Dlinker_config.h170 const Config** config,
/bionic/libc/kernel/tools/
Dkernel.py67 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/
DAndroid.bp63 "bionic-linker-config",
110 name: "bionic-linker-config",
111 src: "linker.config.json",
/bionic/libc/kernel/uapi/rdma/
Dhns-abi.h74 __u32 config; member
78 __u32 config; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_string.h42 struct ts_config __attribute__((aligned(8))) * config; member
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
Dipt_CLUSTERIP.h40 struct clusterip_config * config; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_stp.h52 struct ebt_stp_config_info config; member
/bionic/libc/kernel/uapi/linux/
Datmlec.h72 struct atmlec_config_msg config; member
Dvduse.h36 __u8 config[]; member
Dgpio.h78 struct gpio_v2_line_config config; member
Dhdreg.h305 unsigned short config; member
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh38 Run config:

12