Home
last modified time | relevance | path

Searched refs:sym (Results 1 – 10 of 10) sorted by relevance

/system/core/libunwindstack/tests/
DSymbolsTest.cpp47 void InitSym(TypeParam* sym, uint32_t st_value, uint32_t st_size, uint32_t st_name) { in InitSym() argument
48 memset(sym, 0, sizeof(*sym)); in InitSym()
49 sym->st_info = STT_FUNC; in InitSym()
50 sym->st_value = st_value; in InitSym()
51 sym->st_size = st_size; in InitSym()
52 sym->st_name = st_name; in InitSym()
53 sym->st_shndx = SHN_COMMON; in InitSym()
63 TypeParam sym; in TYPED_TEST_P() local
64 this->InitSym(&sym, 0x5000, 0x10, 0x40); in TYPED_TEST_P()
66 this->memory_.SetMemory(offset, &sym, sizeof(sym)); in TYPED_TEST_P()
[all …]
DElfInterfaceTest.cpp140 Sym sym = {}; in InitSym() local
141 sym.st_info = STT_FUNC; in InitSym()
142 sym.st_value = value; in InitSym()
143 sym.st_size = size; in InitSym()
144 sym.st_name = name_offset; in InitSym()
145 sym.st_shndx = SHN_COMMON; in InitSym()
147 memory_.SetMemory(offset, &sym, sizeof(sym)); in InitSym()
/system/extras/perfprofd/
Dmap_utils.h31 AggregatedSymbol(const SymType& sym, const ValType& offset) : symbol(sym) { in AggregatedSymbol()
37 void Insert(const SymType& sym, const ValType& val) { in Insert() argument
44 if (first.symbol == sym) { in Insert()
50 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
56 if (maybe_match.symbol == sym) { in Insert()
66 if (aggr_it != map_.end() && aggr_it->second.symbol == sym) { in Insert()
72 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
97 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
Dsymbolizer.cc76 auto callback = [&elf_data](const ElfFileSymbol& sym) { in LoadDso() argument
77 if (sym.is_func) { in LoadDso()
78 if (sym.len == 0) { in LoadDso()
79 LOG(ERROR) << "Symbol size is zero for " << sym.name; in LoadDso()
81 elf_data.emplace(sym.vaddr, Symbol(sym.name, sym.len)); in LoadDso()
/system/bt/btcore/src/
Dhal_util.cc35 const char* sym = BLUETOOTH_INTERFACE_STRING; in hal_util_load_bt_library() local
48 itf = (bt_interface_t*)dlsym(handle, sym); in hal_util_load_bt_library()
51 << sym; in hal_util_load_bt_library()
/system/extras/perfprofd/scripts/
Dperf_proto_stack.py134 for sym in si.symbols:
135 map.add_symbol(sym.addr, sym.size, intern_uni(sym.name))
257 sym = intern(parts[1])
258 unwind_symbols_cache[(path, offset_hex)] = (sym, offset)
259 return [(sym, offset, filename)]
377 for sym in sample[2]:
378 print " %s +%d (%s)" % (sym[0], sym[1], sym[2])
/system/extras/simpleperf/
Dread_dex_file.cpp43 for (art_api::dex::MethodInfo& sym : file_syms) { in ReadSymbols()
44 sym.offset += offset; in ReadSymbols()
Dcmd_report_sample.cpp627 for (const auto& sym : symbols) { in PrintFileInfoInProtobuf() local
628 if (sym.HasDumpId()) { in PrintFileInfoInProtobuf()
629 dump_symbols.push_back(&sym); in PrintFileInfoInProtobuf()
635 for (const auto& sym : dump_symbols) { in PrintFileInfoInProtobuf() local
637 *symbol = sym->DemangledName(); in PrintFileInfoInProtobuf()
639 *mangled_symbol = sym->Name(); in PrintFileInfoInProtobuf()
Drecord_file_writer.cpp315 for (const auto& sym : symbols) { in WriteFileFeatures() local
316 if (sym.HasDumpId()) { in WriteFileFeatures()
317 dump_symbols.push_back(&sym); in WriteFileFeatures()
/system/libhidl/transport/
DServiceManagement.cpp350 const std::string sym = "HIDL_FETCH_" + ifaceName; in openLibs() local
376 } else if (!eachLib(handle, "SELF", sym)) { in openLibs()
410 if (!eachLib(handle, lib, sym)) { in openLibs()
421 openLibs(fqName, [&](void* handle, const std::string &lib, const std::string &sym) { in get() argument
423 *(void **)(&generator) = dlsym(handle, sym.c_str()); in get()
427 << " but could not find symbol " << sym << ": " in get()