Home
last modified time | relevance | path

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

12

/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp37 std::unique_ptr<Config> config; member in MallocDebugConfigTest
40 config.reset(new Config); in InitConfig()
41 return config->Set(options); in InitConfig()
204 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
205 ASSERT_EQ(10U, config->backtrace_frames); in TEST_F()
213 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
214 ASSERT_EQ(10U, config->backtrace_frames); in TEST_F()
222 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options); in TEST_F()
223 ASSERT_EQ(64U, config->backtrace_frames); in TEST_F()
231 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options); in TEST_F()
[all …]
/bionic/libc/malloc_debug/
DBacktraceData.cpp52 BacktraceData::BacktraceData(DebugData* debug_data, const Config& config, size_t* offset) in BacktraceData() argument
54 size_t hdr_len = sizeof(BacktraceHeader) + sizeof(uintptr_t) * config.backtrace_frames; in BacktraceData()
59 bool BacktraceData::Initialize(const Config& config) { in Initialize() argument
60 enabled_ = config.backtrace_enabled; in Initialize()
61 if (config.backtrace_enable_on_signal) { in Initialize()
68 if (sigaction(config.backtrace_signal, &enable_act, nullptr) != 0) { in Initialize()
73 config.backtrace_signal, getpid()); in Initialize()
DGuardData.cpp72 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.cpp122 if (g_debug->config().options & FREE_TRACK) { in LogTagError()
151 if (g_debug->config().options & FRONT_GUARD) { in InitHeader()
153 memset(guard, g_debug->config().front_guard_value, g_debug->config().front_guard_bytes); in InitHeader()
156 if (g_debug->config().options & REAR_GUARD) { in InitHeader()
158 memset(guard, g_debug->config().rear_guard_value, g_debug->config().rear_guard_bytes); in InitHeader()
165 if (g_debug->config().options & BACKTRACE) { in InitHeader()
169 &back_header->frames[0], g_debug->config().backtrace_frames); in InitHeader()
176 if (g_debug->config().options & TRACK_ALLOCS) { in InitHeader()
219 if (g_debug->config().options & FREE_TRACK) { in debug_finalize()
223 if (g_debug->config().options & LEAK_TRACK) { in debug_finalize()
[all …]
DFreeTrackData.cpp39 FreeTrackData::FreeTrackData(DebugData* debug, const Config& config) in FreeTrackData() argument
40 : OptionData(debug), backtrace_num_frames_(config.free_track_backtrace_num_frames) { in FreeTrackData()
42 memset(cmp_mem_.data(), config.fill_free_value, cmp_mem_.size()); in FreeTrackData()
48 uint8_t fill_free_value = debug_->config().fill_free_value; in LogFreeError()
72 bytes = (bytes < debug_->config().fill_on_free_bytes) ? bytes in VerifyAndFree()
73 : debug_->config().fill_on_free_bytes; in VerifyAndFree()
95 if (list_.size() == debug_->config().free_track_allocations) { in Add()
DBacktraceData.h43 BacktraceData(DebugData* debug_data, const Config& config, size_t* offset);
46 bool Initialize(const Config& config);
DConfig.cpp70 Option(std::string name, uint64_t option, bool combo_option = false, bool* config = nullptr) in Option()
71 : name(name), option(option), combo_option(combo_option), config(config) {} in Option()
80 bool* config; member
99 bool* config = nullptr) in OptionString()
100 : Option(name, option, combo_option, config), default_value(default_value), value(value) {} in OptionString()
120 uint64_t option, size_t* value, bool combo_option = false, bool* config = nullptr) in OptionSizeT()
121 : Option(name, option, combo_option, config), default_value(default_value), in OptionSizeT()
437 if (option_list[i]->config) { in Set()
438 *option_list[i]->config = true; in Set()
450 if (option_list[i]->config) { in Set()
[all …]
DGuardData.h65 FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset);
84 RearGuardData(DebugData* debug_data, const Config& config);
DRecordData.cpp181 bool RecordData::Initialize(const Config& config) { in Initialize() argument
188 if (sigaction(config.record_allocs_signal, &dump_act, nullptr) != 0) { in Initialize()
195 config.record_allocs_signal, getpid()); in Initialize()
197 num_entries_ = config.record_allocs_num_entries; in Initialize()
201 dump_file_ = config.record_allocs_file; in Initialize()
DFreeTrackData.h51 FreeTrackData(DebugData* debug_data, const Config& config);
DTrackData.cpp95 if (debug_->config().options & BACKTRACE) { in DisplayLeaks()
114 *backtrace_size = debug_->config().backtrace_frames; in GetInfo()
DDebugData.h81 const Config& config() { return config_; } in config() function
/bionic/tools/bionicbb/
Dpresubmit.py28 import config
68 username = config.jenkins_credentials['username']
69 password = config.jenkins_credentials['password']
70 jenkins_url = config.jenkins_url
98 username = config.jenkins_credentials['username']
99 password = config.jenkins_credentials['password']
100 jenkins_url = config.jenkins_url
150 url = '{}/{}'.format(config.build_listener_url, 'drop-rejection')
Dgmail.py19 import config
40 flow = flow_from_clientsecrets(config.client_secret_file,
D.gitignore1 config.py
/bionic/linker/tests/
Dlinker_config_test.cpp127 const Config* config = nullptr; in run_linker_config_smoke_test() local
132 &config, in run_linker_config_smoke_test()
134 ASSERT_TRUE(config != nullptr); in run_linker_config_smoke_test()
137 ASSERT_EQ(113U, config->target_sdk_version()); in run_linker_config_smoke_test()
139 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in run_linker_config_smoke_test()
152 auto& ns_configs = config->namespace_configs(); in run_linker_config_smoke_test()
/bionic/libc/kernel/uapi/linux/
Dsdla.h72 short config; member
94 short config; member
Datmlec.h85 struct atmlec_config_msg config; member
Dmic_common.h31 __le64 config[0]; member
/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/netfilter/
Dxt_string.h47 struct ts_config __attribute__((aligned(8))) * config; member
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
Dipt_CLUSTERIP.h45 struct clusterip_config * config; member
/bionic/linker/
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
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_stp.h60 struct ebt_stp_config_info config; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dhyperv.h266 #define HV_STIMER_SINT(config) (__u8) (((config) >> 16) & 0x0F) argument

12