Searched refs:config (Results 1 - 24 of 24) sorted by relevance

/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_config_tests.cpp39 std::unique_ptr<Config> config; member in class:MallocDebugConfigTest
42 config.reset(new Config);
44 return config->SetFromProperties();
194 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options);
195 ASSERT_EQ(10U, config->backtrace_frames);
203 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options);
204 ASSERT_EQ(10U, config->backtrace_frames);
212 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS, config->options);
213 ASSERT_EQ(64U, config->backtrace_frames);
221 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config
[all...]
/bionic/libc/malloc_debug/
H A DBacktraceData.cpp44 BacktraceData::BacktraceData(const Config& config, size_t* offset) { argument
45 size_t hdr_len = sizeof(BacktraceHeader) + sizeof(uintptr_t) * config.backtrace_frames;
60 bool BacktraceData::Initialize(const Config& config) { argument
61 enabled_ = config.backtrace_enabled;
62 if (config.backtrace_enable_on_signal) {
71 if (sigaction(config.backtrace_signal, &enable_act, nullptr) != 0) {
76 config.backtrace_signal, getpid());
H A DBacktraceData.h41 BacktraceData(const Config& config, size_t* offset);
44 bool Initialize(const Config& config);
H A DGuardData.cpp73 FrontGuardData::FrontGuardData(const Config& config, size_t* offset) argument
74 : GuardData(config.front_guard_value, config.front_guard_bytes) {
76 cmp_mem_.resize(config.front_guard_bytes);
77 memset(cmp_mem_.data(), config.front_guard_value, cmp_mem_.size());
80 *offset += config.front_guard_bytes;
91 RearGuardData::RearGuardData(const Config& config) argument
92 : GuardData(config.rear_guard_value, config.rear_guard_bytes) {
H A Dmalloc_debug.cpp122 if (g_debug->config().options & FREE_TRACK) {
151 if (g_debug->config().options & FRONT_GUARD) {
153 memset(guard, g_debug->config().front_guard_value, g_debug->config().front_guard_bytes);
156 if (g_debug->config().options & REAR_GUARD) {
158 memset(guard, g_debug->config().rear_guard_value, g_debug->config().rear_guard_bytes);
165 if (g_debug->config().options & BACKTRACE) {
170 &back_header->frames[0], g_debug->config().backtrace_frames);
177 if (g_debug->config()
[all...]
H A DFreeTrackData.cpp39 FreeTrackData::FreeTrackData(const Config& config) argument
40 : backtrace_num_frames_(config.free_track_backtrace_num_frames) {
42 memset(cmp_mem_.data(), config.fill_free_value, cmp_mem_.size());
51 uint8_t fill_free_value = debug.config().fill_free_value;
77 bytes = (bytes < debug.config().fill_on_free_bytes) ? bytes : debug.config().fill_on_free_bytes;
102 if (list_.size() == debug.config().free_track_allocations) {
H A DGuardData.h63 FrontGuardData(const Config& config, size_t* offset);
82 RearGuardData(const Config& config);
H A DFreeTrackData.h49 FreeTrackData(const Config& config);
H A DConfig.cpp69 uint64_t option, size_t* value, bool* config, bool combo_option)
71 option(option), value(value), config(config), combo_option(combo_option) {}
79 bool* config = nullptr; member in struct:Feature
236 if (feature.config) {
237 *feature.config = true;
68 Feature(std::string name, size_t default_value, size_t min_value, size_t max_value, uint64_t option, size_t* value, bool* config, bool combo_option) argument
H A DTrackData.cpp102 if (debug.config().options & BACKTRACE) {
121 *backtrace_size = debug.config().backtrace_frames;
H A DDebugData.h80 const Config& config() { return config_; } function in class:DebugData
/bionic/tools/bionicbb/
H A Dpresubmit.py28 import config namespace
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')
H A Dgmail.py19 import config namespace
40 flow = flow_from_clientsecrets(config.client_secret_file,
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_string.h47 struct ts_config __attribute__((aligned(8))) * config; member in struct:xt_string_info
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/
H A Dipt_CLUSTERIP.h45 struct clusterip_config * config; member in struct:ipt_clusterip_tgt_info
/bionic/libc/kernel/tools/
H A Dkernel.py67 def __init__(self,config={}):
70 self.config = config
72 def reset(self,config={}):
75 self.config = config
137 macros.update(self.config)
239 fparser = HeaderScanner(config=self.kernel_config)
296 """a class used to parse the Linux kernel .config file"""
/bionic/libc/kernel/uapi/linux/
H A Dsdla.h72 short config; member in struct:sdla_conf
94 short config; member in struct:sdla_dlci_conf
H A Datmlec.h85 struct atmlec_config_msg config; member in union:atmlec_msg::__anon203
H A Dmic_common.h31 __le64 config[0]; member in struct:mic_device_desc
H A Dhdreg.h376 unsigned short config; member in struct:hd_driveid
H A Dperf_event.h210 __u64 config; member in struct:perf_event_attr
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
H A Debt_stp.h60 struct ebt_stp_config_info config; member in struct:ebt_stp_info
/bionic/libc/kernel/uapi/drm/
H A Dexynos_drm.h174 struct drm_exynos_ipp_config config[EXYNOS_DRM_OPS_MAX]; member in struct:drm_exynos_ipp_property
/bionic/libc/
H A DAndroid.mk8 # Load config for TARGET_ARCH
16 # Load config for TARGET_2ND_ARCH

Completed in 6350 milliseconds