Home | History | Annotate | Download | only in gmodule

Lines Matching refs:module_name

243 		      const gchar *module_name)
247 k = strlen (module_name);
250 if (k > 4 && g_ascii_strcasecmp (module_name + k - 4, ".dll") == 0)
251 return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, NULL);
253 else if (strncmp (module_name, "lib", 3) == 0 || strncmp (module_name, "cyg", 3) == 0)
254 return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, ".dll", NULL);
256 return g_strconcat (directory, G_DIR_SEPARATOR_S, "cyg", module_name, ".dll", NULL);
258 else if (strncmp (module_name, "lib", 3) == 0)
259 return g_strconcat (directory, G_DIR_SEPARATOR_S, module_name, ".dll", NULL);
261 return g_strconcat (directory, G_DIR_SEPARATOR_S, "lib", module_name, ".dll", NULL);
263 else if (k > 4 && g_ascii_strcasecmp (module_name + k - 4, ".dll") == 0)
264 return g_strdup (module_name);
266 else if (strncmp (module_name, "lib", 3) == 0 || strncmp (module_name, "cyg", 3) == 0)
267 return g_strconcat (module_name, ".dll", NULL);
269 return g_strconcat ("cyg", module_name, ".dll", NULL);
271 else if (strncmp (module_name, "lib", 3) == 0)
272 return g_strconcat (module_name, ".dll", NULL);
274 return g_strconcat ("lib", module_name, ".dll", NULL);