Lines Matching refs:prefix
282 char *prefix, *path, *symbol; in find_dynamic_method() local
296 prefix = malloc(len + 1); in find_dynamic_method()
297 if (prefix == NULL) in find_dynamic_method()
299 strlcpy(prefix, filename, len + 1); in find_dynamic_method()
301 if (asprintf(&path, LIBDIR "/hdb_%s.so", prefix) == -1) in find_dynamic_method()
315 free(prefix); in find_dynamic_method()
320 if (asprintf(&symbol, "hdb_%s_interface", prefix) == -1) in find_dynamic_method()
329 free(prefix); in find_dynamic_method()
340 prefix, mso->version, HDB_INTERFACE_VERSION); in find_dynamic_method()
342 free(prefix); in find_dynamic_method()
349 prefix); in find_dynamic_method()
351 free(prefix); in find_dynamic_method()
356 method.prefix = prefix; in find_dynamic_method()
373 for (h = methods; h->prefix != NULL; ++h) { in find_method()
374 if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0) { in find_method()
375 *rest = filename + strlen(h->prefix); in find_method()
399 for (h = methods; h->prefix != NULL; ++h) { in hdb_list_builtin()
400 if (h->prefix[0] == '\0') in hdb_list_builtin()
402 len += strlen(h->prefix) + 2; in hdb_list_builtin()
413 for (h = methods; h->prefix != NULL; ++h) { in hdb_list_builtin()
416 strlcat(buf, h->prefix, len); in hdb_list_builtin()
469 if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0 in hdb_create()
471 residual = filename + strlen(h->prefix); in hdb_create()