Lines Matching refs:symbols
37 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols) { in ParseSymbol() argument
38 (*symbols)[symbol.name] = symbol; in ParseSymbol()
41 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckElfFileSymbols() argument
42 auto pos = symbols.find("GlobalVar"); in CheckElfFileSymbols()
43 ASSERT_NE(pos, symbols.end()); in CheckElfFileSymbols()
45 pos = symbols.find("GlobalFunc"); in CheckElfFileSymbols()
46 ASSERT_NE(pos, symbols.end()); in CheckElfFileSymbols()
52 std::map<std::string, ElfFileSymbol> symbols; in TEST() local
54 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
55 CheckElfFileSymbols(symbols); in TEST()
59 std::map<std::string, ElfFileSymbol> symbols; in TEST() local
61 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
62 CheckElfFileSymbols(symbols); in TEST()
67 std::map<std::string, ElfFileSymbol> symbols; in TEST() local
69 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
73 std::map<std::string, ElfFileSymbol> symbols; in TEST() local
76 … std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST()
77 CheckElfFileSymbols(symbols); in TEST()