Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 28) 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/
Dmalloc_debug.cpp194 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog()
219 if (g_debug->config().options() & FREE_TRACK) { in LogError()
226 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError()
277 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader()
279 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes()); in InitHeader()
282 if (g_debug->config().options() & REAR_GUARD) { in InitHeader()
284 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader()
328 if (g_debug->config().options() & VERBOSE) { in debug_initialize()
349 if (g_debug->config().options() & FREE_TRACK) { in debug_finalize()
353 if (g_debug->config().options() & LEAK_TRACK) { in debug_finalize()
[all …]
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()
DPointerData.cpp91 bool PointerData::Initialize(const Config& config) NO_THREAD_SAFETY_ANALYSIS { in Initialize() argument
100 backtrace_enabled_ = config.backtrace_enabled(); in Initialize()
101 if (config.backtrace_enable_on_signal()) { in Initialize()
105 if (sigaction64(config.backtrace_signal(), &enable_act, nullptr) != 0) { in Initialize()
109 if (config.options() & VERBOSE) { in Initialize()
111 config.backtrace_signal(), getpid()); in Initialize()
115 if (config.options() & BACKTRACE) { in Initialize()
119 if (sigaction64(config.backtrace_dump_signal(), &act, nullptr) != 0) { in Initialize()
123 if (config.options() & VERBOSE) { in Initialize()
125 config.backtrace_dump_signal(), getpid()); in Initialize()
[all …]
DRecordData.cpp174 bool RecordData::Initialize(const Config& config) { in Initialize() argument
178 if (sigaction64(config.record_allocs_signal(), &dump_act, nullptr) != 0) { in Initialize()
184 if (config.options() & VERBOSE) { in Initialize()
186 config.record_allocs_signal(), getpid()); in Initialize()
189 num_entries_ = config.record_allocs_num_entries(); in Initialize()
193 dump_file_ = config.record_allocs_file(); in Initialize()
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.h153 bool Initialize(const Config& config);
DPointerData.h120 bool Initialize(const Config& config);
/bionic/linker/
Dlinker_config_test.cpp146 const Config* config = nullptr; in run_linker_config_smoke_test() local
151 &config, in run_linker_config_smoke_test()
153 ASSERT_TRUE(config != nullptr); in run_linker_config_smoke_test()
156 ASSERT_EQ(113, config->target_sdk_version()); in run_linker_config_smoke_test()
158 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in run_linker_config_smoke_test()
177 auto& ns_configs = config->namespace_configs(); in run_linker_config_smoke_test()
255 const Config* config = nullptr; in TEST() local
260 &config, in TEST()
262 ASSERT_TRUE(config == nullptr); in TEST()
299 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,
Dlinker_config.cpp465 const Config** config, in read_binary_config() argument
593 *config = &g_config; in read_binary_config()
Dlinker.cpp3451 const Config* config = nullptr; in init_default_namespaces() local
3461 &config, in init_default_namespaces()
3469 config = nullptr; in init_default_namespaces()
3472 if (config == nullptr) { in init_default_namespaces()
3476 const auto& namespace_configs = config->namespace_configs(); in init_default_namespaces()
3480 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in init_default_namespaces()
3543 set_application_target_sdk_version(config->target_sdk_version()); in init_default_namespaces()
/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)
239 fparser = HeaderScanner(config=self.kernel_config)
/bionic/libc/kernel/uapi/linux/
Dsdla.h62 short config; member
79 short config; member
Datmlec.h72 struct atmlec_config_msg config; member
Dmic_common.h29 __le64 config[0]; member
Dhdreg.h305 unsigned short config; member
Dperf_event.h199 __u64 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/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh38 Run config:
/bionic/
DREADME.md188 …L_HEADERS` and friends described in [config.mk](https://android.googlesource.com/platform/build/+/…

12