Lines Matching refs:lib

92 void SymbolLookupList::set_dt_symbolic_lib(soinfo* lib) {  in set_dt_symbolic_lib()  argument
95 libs_[0] = lib ? lib->get_lookup_lib() : SymbolLookupLib(); in set_dt_symbolic_lib()
97 begin_ = lib ? &libs_[0] : &libs_[1]; in set_dt_symbolic_lib()
129 const SymbolLookupLib* lib; in ElfW() local
136 lib = it++; in ElfW()
138 if (IsGeneral && lib->needs_sysv_lookup()) { in ElfW()
139 if (const ElfW(Sym)* sym = lib->si_->find_symbol_by_name(elf_symbol_name, vi)) { in ElfW()
140 *si_found_in = lib->si_; in ElfW()
148 name, lib->si_->get_realpath(), reinterpret_cast<void*>(lib->si_->base)); in ElfW()
151 const uint32_t word_num = (hash / kBloomMaskBits) & lib->gnu_maskwords_; in ElfW()
152 const ElfW(Addr) bloom_word = lib->gnu_bloom_filter_[word_num]; in ElfW()
154 const uint32_t h2 = (hash >> lib->gnu_shift2_) % kBloomMaskBits; in ElfW()
157 sym_idx = lib->gnu_bucket_[hash % lib->gnu_nbucket_]; in ElfW()
165 name, lib->si_->get_realpath(), reinterpret_cast<void*>(lib->si_->base)); in ElfW()
177 sym = lib->symtab_ + sym_idx; in ElfW()
178 chain_value = lib->gnu_chain_[sym_idx]; in ElfW()
182 verneed = find_verdef_version_index(lib->si_, vi); in ElfW()
184 if (check_symbol_version(lib->versym_, sym_idx, verneed) && in ElfW()
185 static_cast<size_t>(sym->st_name) + name_len + 1 <= lib->strtab_size_ && in ElfW()
186 memcmp(lib->strtab_ + sym->st_name, name, name_len + 1) == 0 && in ElfW()
187 is_symbol_global_and_defined(lib->si_, sym)) { in ElfW()
188 *si_found_in = lib->si_; in ElfW()
191 name, lib->si_->get_realpath(), reinterpret_cast<void*>(sym->st_value), in ElfW()
202 name, lib->si_->get_realpath(), reinterpret_cast<void*>(lib->si_->base)); in ElfW()