/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 37 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/ |
D | BacktraceData.cpp | 52 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()
|
D | GuardData.cpp | 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()
|
D | malloc_debug.cpp | 122 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 …]
|
D | FreeTrackData.cpp | 39 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()
|
D | BacktraceData.h | 43 BacktraceData(DebugData* debug_data, const Config& config, size_t* offset); 46 bool Initialize(const Config& config);
|
D | Config.cpp | 70 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 …]
|
D | GuardData.h | 65 FrontGuardData(DebugData* debug_data, const Config& config, size_t* offset); 84 RearGuardData(DebugData* debug_data, const Config& config);
|
D | RecordData.cpp | 181 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()
|
D | FreeTrackData.h | 51 FreeTrackData(DebugData* debug_data, const Config& config);
|
D | TrackData.cpp | 95 if (debug_->config().options & BACKTRACE) { in DisplayLeaks() 114 *backtrace_size = debug_->config().backtrace_frames; in GetInfo()
|
D | DebugData.h | 81 const Config& config() { return config_; } in config() function
|
/bionic/tools/bionicbb/ |
D | presubmit.py | 28 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')
|
D | gmail.py | 19 import config 40 flow = flow_from_clientsecrets(config.client_secret_file,
|
D | .gitignore | 1 config.py
|
/bionic/linker/tests/ |
D | linker_config_test.cpp | 127 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/ |
D | sdla.h | 72 short config; member 94 short config; member
|
D | atmlec.h | 85 struct atmlec_config_msg config; member
|
D | mic_common.h | 31 __le64 config[0]; member
|
/bionic/libc/kernel/tools/ |
D | kernel.py | 67 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/ |
D | xt_string.h | 47 struct ts_config __attribute__((aligned(8))) * config; member
|
/bionic/libc/kernel/uapi/linux/netfilter_ipv4/ |
D | ipt_CLUSTERIP.h | 45 struct clusterip_config * config; member
|
/bionic/linker/ |
D | ld.config.format.md | 1 # 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/ |
D | ebt_stp.h | 60 struct ebt_stp_config_info config; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | hyperv.h | 266 #define HV_STIMER_SINT(config) (__u8) (((config) >> 16) & 0x0F) argument
|