Searched refs:cur_name (Results 1 – 2 of 2) sorted by relevance
/system/unwinding/libunwindstack/tools/ |
D | unwind_symbols.cpp | 93 unwindstack::SharedString cur_name; in main() local 95 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) { in main() 103 printf(": %s\n", cur_name.c_str()); in main() 112 unwindstack::SharedString cur_name; in main() local 114 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) { in main() 115 if (cur_name != name) { in main() 116 printf("<0x%" PRIx64 "> Function: %s\n", addr - func_offset, cur_name.c_str()); in main() 118 name = cur_name; in main()
|
D | unwind_for_offline.cpp | 134 std::string cur_name; in CreateElfFromMemory() local 136 cur_name = android::base::StringPrintf("anonymous_%" PRIx64, info->start); in CreateElfFromMemory() 138 … cur_name = android::base::StringPrintf("%s_%" PRIx64, basename(info->name.c_str()), info->start); in CreateElfFromMemory() 150 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CreateElfFromMemory() 152 perror((std::string("Cannot create ") + cur_name).c_str()); in CreateElfFromMemory() 163 info->name = cur_name; in CreateElfFromMemory() 169 std::string cur_name = basename(info->name.c_str()); in CopyElfFromFile() local 171 info->name = cur_name; in CopyElfFromFile() 181 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CopyElfFromFile() 183 perror((std::string("Cannot create file " + cur_name)).c_str()); in CopyElfFromFile() [all …]
|