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/
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.cpp156 if (g_debug->config().options() & BACKTRACE_FULL) { in BacktraceAndLog()
181 if (g_debug->config().options() & FREE_TRACK) { in LogError()
188 if (g_debug->config().options() & ABORT_ON_ERROR) { in LogError()
239 if (g_debug->config().options() & FRONT_GUARD) { in InitHeader()
241 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes()); in InitHeader()
244 if (g_debug->config().options() & REAR_GUARD) { in InitHeader()
246 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader()
283 if (g_debug->config().options() & VERBOSE) { in debug_initialize()
304 if (g_debug->config().options() & FREE_TRACK) { in debug_finalize()
308 if (g_debug->config().options() & LEAK_TRACK) { in debug_finalize()
[all …]
DPointerData.cpp90 bool PointerData::Initialize(const Config& config) NO_THREAD_SAFETY_ANALYSIS { in Initialize() argument
99 backtrace_enabled_ = config.backtrace_enabled(); in Initialize()
100 if (config.backtrace_enable_on_signal()) { in Initialize()
104 if (sigaction64(config.backtrace_signal(), &enable_act, nullptr) != 0) { in Initialize()
108 if (config.options() & VERBOSE) { in Initialize()
110 config.backtrace_signal(), getpid()); in Initialize()
114 if (config.options() & BACKTRACE) { in Initialize()
118 if (sigaction64(config.backtrace_dump_signal(), &act, nullptr) != 0) { in Initialize()
122 if (config.options() & VERBOSE) { in Initialize()
124 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/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
DREADME.md20 Create a `config.py` in the same directory as the sources. The structure of the
/bionic/linker/
Dlinker_config_test.cpp143 const Config* config = nullptr; in run_linker_config_smoke_test() local
148 &config, in run_linker_config_smoke_test()
150 ASSERT_TRUE(config != nullptr); in run_linker_config_smoke_test()
153 ASSERT_EQ(113, config->target_sdk_version()); in run_linker_config_smoke_test()
155 const NamespaceConfig* default_ns_config = config->default_namespace_config(); in run_linker_config_smoke_test()
174 auto& ns_configs = config->namespace_configs(); in run_linker_config_smoke_test()
252 const Config* config = nullptr; in TEST() local
257 &config, in TEST()
259 ASSERT_TRUE(config == nullptr); in TEST()
296 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.h164 const Config** config,
Dlinker_config.cpp453 const Config** config, in read_binary_config() argument
581 *config = &g_config; in read_binary_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
/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.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

12