Lines Matching defs:lib
31 Lib *lib = &libs_[count_++];
32 lib->templ = internal_strdup(name_templ);
33 lib->name = nullptr;
34 lib->real_name = nullptr;
35 lib->loaded = false;
45 Lib *lib = &libs_[i];
46 if (!lib->loaded && (!lib->real_name) &&
47 TemplateMatch(lib->templ, name))
48 lib->real_name = internal_strdup(buf.data());
56 Lib *lib = &libs_[i];
63 if (TemplateMatch(lib->templ, module.data()) ||
64 (lib->real_name &&
65 internal_strcmp(lib->real_name, module.data()) == 0)) {
69 SanitizerToolName, lib->templ, lib->name, module.data());
73 if (lib->loaded)
78 lib->templ, module.data());
79 lib->loaded = true;
80 lib->name = internal_strdup(module.data());
87 if (lib->loaded && !loaded) {
90 SanitizerToolName, lib->name, lib->templ);