Home
last modified time | relevance | path

Searched refs:ParseValue (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/malloc_debug/
DConfig.cpp121 bool Config::ParseValue(const std::string& option, const std::string& value, in ParseValue() function in Config
163 bool Config::ParseValue(const std::string& option, const std::string& value, size_t default_value, in ParseValue() function in Config
169 return ParseValue(option, value, min_value, max_value, new_value); in ParseValue()
180 if (!ParseValue(option, value, 1, MAX_GUARD_BYTES, &rear_guard_bytes_)) { in SetGuard()
191 if (!ParseValue(option, value, DEFAULT_GUARD_BYTES, 1, MAX_GUARD_BYTES, &front_guard_bytes_)) { in SetFrontGuard()
201 return ParseValue(option, value, DEFAULT_GUARD_BYTES, 1, MAX_GUARD_BYTES, &rear_guard_bytes_); in SetRearGuard()
212 if (!ParseValue(option, value, 1, SIZE_MAX, &fill_on_alloc_bytes_)) { in SetFill()
220 return ParseValue(option, value, SIZE_MAX, 1, SIZE_MAX, &fill_on_alloc_bytes_); in SetFillOnAlloc()
224 return ParseValue(option, value, SIZE_MAX, 1, SIZE_MAX, &fill_on_free_bytes_); in SetFillOnFree()
229 return ParseValue(option, value, DEFAULT_BACKTRACE_FRAMES, 1, MAX_BACKTRACE_FRAMES, in SetBacktrace()
[all …]
DConfig.h97 bool ParseValue(const std::string& option, const std::string& value, size_t default_value,
100 bool ParseValue(const std::string& option, const std::string& value, size_t min_value,