Lines Matching defs:leak
10 // Implementation of common leak checking functionality.
113 static const char kSuppressionLeak[] = "leak";
119 "leak:*pthread_exit*\n"
123 "leak:*_os_trace*\n"
125 // TLS leak in some glibc versions, described in
127 "leak:*tls_get_addr*\n";
658 // ForEachChunk callback. Resets the tags to pre-leak-check state.
736 // Clean up for subsequent leak checks. This assumes we did not overwrite any
847 for (const LeakedChunk &leak : chunks) {
848 uptr chunk = leak.chunk;
849 u32 stack_trace_id = leak.stack_trace_id;
850 uptr leaked_size = leak.leaked_size;
851 ChunkTag tag = leak.tag;
873 Leak leak = {next_id_++, /* hit_count */ 1,
876 leaks_.push_back(leak);
903 Printf("The %zu top leak(s):\n", num_leaks_to_report);
916 Printf("Omitting %zu more leak(s).\n", remaining);
923 Printf("%s leak of %zu byte(s) in %zu object(s) allocated from:\n",