Lines Matching refs:config

127   if (g_debug->config().options() & FREE_TRACK) {
188 if (g_debug->config().options() & FRONT_GUARD) {
190 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes());
193 if (g_debug->config().options() & REAR_GUARD) {
195 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes());
240 if (g_debug->config().options() & FREE_TRACK) {
244 if (g_debug->config().options() & LEAK_TRACK) {
248 if ((g_debug->config().options() & BACKTRACE) && g_debug->config().backtrace_dump_on_exit()) {
251 g_debug->config().backtrace_dump_prefix().c_str(),
283 if (!(g_debug->config().options() & BACKTRACE)) {
311 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) {
313 "%s.%d.txt", g_debug->config().backtrace_dump_prefix().c_str(), getpid())
350 if (g_debug->config().options() & FILL_ON_ALLOC) {
352 size_t fill_bytes = g_debug->config().fill_on_alloc_bytes();
354 memset(pointer, g_debug->config().fill_alloc_value(), bytes);
368 if (g_debug->config().options() & RECORD_ALLOCS) {
376 if ((g_debug->config().options() & BACKTRACE) && g_debug->pointer->ShouldDumpAndReset()) {
378 "%s.%d.txt", g_debug->config().backtrace_dump_prefix().c_str(), getpid())
389 if (g_debug->config().options() & FRONT_GUARD) {
394 if (g_debug->config().options() & REAR_GUARD) {
407 if (g_debug->config().options() & FILL_ON_FREE) {
408 size_t fill_bytes = g_debug->config().fill_on_free_bytes();
410 memset(pointer, g_debug->config().fill_free_value(), bytes);
417 if (g_debug->config().options() & FREE_TRACK) {
441 if (g_debug->config().options() & RECORD_ALLOCS) {
515 if (g_debug->config().options() & FILL_ON_ALLOC) {
517 size_t fill_bytes = g_debug->config().fill_on_alloc_bytes();
519 memset(pointer, g_debug->config().fill_alloc_value(), bytes);
522 if (g_debug->config().options() & RECORD_ALLOCS) {
538 if (g_debug->config().options() & RECORD_ALLOCS) {
549 if (g_debug->config().options() & RECORD_ALLOCS) {
558 if (g_debug->config().options() & EXPAND_ALLOC) {
559 real_size += g_debug->config().expand_alloc_bytes();
589 if (g_debug->config().options() & REAR_GUARD) {
593 memset(g_debug->GetRearGuard(header), g_debug->config().rear_guard_value(),
594 g_debug->config().rear_guard_bytes());
630 if (g_debug->config().options() & FILL_ON_ALLOC) {
632 if (bytes > g_debug->config().fill_on_alloc_bytes()) {
633 bytes = g_debug->config().fill_on_alloc_bytes();
637 g_debug->config().fill_alloc_value(), bytes - prev_size);
641 if (g_debug->config().options() & RECORD_ALLOCS) {
691 if (g_debug->config().options() & RECORD_ALLOCS) {
769 if (!(g_debug->config().options() & BACKTRACE)) {
813 if (!(g_debug->config().options() & BACKTRACE)) {