Home
last modified time | relevance | path

Searched refs:internal_strdup (Results 1 – 25 of 43) sorted by relevance

12

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_printer_test.cc68 info.module = internal_strdup("/path/to/my/module"); in TEST()
70 info.function = internal_strdup("function_foo"); in TEST()
72 info.file = internal_strdup("/path/to/my/source"); in TEST()
99 info.module = internal_strdup("/path/to/module"); in TEST()
110 info.function = internal_strdup("my_function"); in TEST()
120 info.file = internal_strdup("my_file"); in TEST()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_printer_test.cpp72 info.module = internal_strdup("/path/to/my/module"); in TEST()
74 info.function = internal_strdup("function_foo"); in TEST()
76 info.file = internal_strdup("/path/to/my/source"); in TEST()
104 info.module = internal_strdup("/path/to/module"); in TEST()
115 info.function = internal_strdup("my_function"); in TEST()
125 info.file = internal_strdup("my_file"); in TEST()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_symbolize.cpp73 info->function = internal_strdup(function_name); in AddFrame()
76 info->file = internal_strdup(file); in AddFrame()
99 frame->info.function = internal_strdup(func_buf); in SymbolizeCode()
100 frame->info.file = internal_strdup(file_buf); in SymbolizeCode()
Dtsan_external.cpp79 GetTagData(new_tag)->object_type = internal_strdup(object_type); in __tsan_external_register_tag()
82 GetTagData(new_tag)->header = internal_strdup(header); in __tsan_external_register_tag()
92 header = internal_strdup(header); in __tsan_external_register_header()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libignore.cc32 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary()
48 lib->real_name = internal_strdup(buf.data()); in OnLibraryLoaded()
80 lib->name = internal_strdup(module.data()); in OnLibraryLoaded()
Dsanitizer_symbolizer_libbacktrace.cc78 char *buf = internal_strdup(data.buf); in CplusV3Demangle()
117 info->file = internal_strdup(filename); in SymbolizeCodePCInfoCallback()
201 return internal_strdup(name); in DemangleAlloc()
Dsanitizer_symbolizer.cc37 module = internal_strdup(mod_name); in FillModuleInfo()
94 last_match_ = internal_strdup(str); in GetOwnedCopy()
Dsanitizer_symbolizer_mac.cc36 stack->info.function = demangled ? internal_strdup(demangled) : nullptr; in SymbolizePC()
45 datainfo->name = internal_strdup(demangled); in SymbolizeData()
Dsanitizer_common.cc253 full_name_ = internal_strdup(module_name); in set()
343 return internal_strdup(name); in FindPathToBinary()
361 return internal_strdup(buffer.data()); in FindPathToBinary()
Dsanitizer_symbolizer_win.cc121 frame->info.function = internal_strdup(symbol->Name); in SymbolizePC()
124 frame->info.file = internal_strdup(line_info.FileName); in SymbolizePC()
Dsanitizer_libc.h43 char *internal_strdup(const char *s);
Dsanitizer_flag_parser.h57 *t_ = internal_strdup(value); in Parse()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_libignore.cpp32 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary()
48 lib->real_name = internal_strdup(buf.data()); in OnLibraryLoaded()
80 lib->name = internal_strdup(mod.full_name()); in OnLibraryLoaded()
Dsanitizer_symbolizer_libbacktrace.cpp77 char *buf = internal_strdup(data.buf); in CplusV3Demangle()
117 info->file = internal_strdup(filename); in SymbolizeCodePCInfoCallback()
201 return internal_strdup(name); in DemangleAlloc()
Dsanitizer_symbolizer.cpp37 module = internal_strdup(mod_name); in FillModuleInfo()
109 last_match_ = internal_strdup(str); in GetOwnedCopy()
Dsanitizer_symbolizer_mac.cpp47 stack->info.function = internal_strdup(demangled); in SymbolizePC()
56 datainfo->name = internal_strdup(demangled); in SymbolizeData()
Dsanitizer_file.cpp183 return internal_strdup(name); in FindPathToBinary()
201 return internal_strdup(buffer.data()); in FindPathToBinary()
Dsanitizer_symbolizer_win.cpp155 frame->info.function = internal_strdup(symbol->Name); in SymbolizePC()
158 frame->info.file = internal_strdup(line_info.FileName); in SymbolizePC()
Dsanitizer_libc.h40 char *internal_strdup(const char *s);
Dsanitizer_symbolizer_markup.cpp69 s->info.function = internal_strdup(buffer); in SymbolizePC()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_symbolize.cc59 frame->info.function = internal_strdup(func_buf); in SymbolizeCode()
60 frame->info.file = internal_strdup(file_buf); in SymbolizeCode()
/external/compiler-rt/lib/tsan/go/
Dtsan_go.cc66 info.function = internal_strdup(cbctx.func ? cbctx.func : "??"); in SymbolizeCode()
67 info.file = internal_strdup(cbctx.file ? cbctx.file : "-"); in SymbolizeCode()
104 loc->global.name = internal_strdup(cbctx.name ? cbctx.name : "??"); in SymbolizeData()
105 loc->global.file = internal_strdup(cbctx.file ? cbctx.file : "??"); in SymbolizeData()
/external/llvm-project/compiler-rt/lib/tsan/go/
Dtsan_go.cpp68 info.function = internal_strdup(cbctx.func ? cbctx.func : "??"); in SymbolizeCode()
69 info.file = internal_strdup(cbctx.file ? cbctx.file : "-"); in SymbolizeCode()
114 loc->global.name = internal_strdup(cbctx.name ? cbctx.name : "??"); in SymbolizeData()
115 loc->global.file = internal_strdup(cbctx.file ? cbctx.file : "??"); in SymbolizeData()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_interceptors.cpp243 return internal_strdup(s); in INTERCEPTOR()
257 return internal_strdup(s); in INTERCEPTOR()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc78 AI.file = internal_strdup(SLoc.getFilename()); in MaybeReportErrorSummary()
81 AI.function = internal_strdup(""); // Avoid printing ?? as function name. in MaybeReportErrorSummary()

12