Lines Matching defs:libName
42 char libName[UPLUG_NAME_MAX]; /**< library name */
109 * @param libName libname to search for
112 static int32_t searchForLibraryName(const char *libName) {
116 if(!uprv_strcmp(libName, libraryList[i].name)) {
151 uplug_openLibrary(const char *libName, UErrorCode *status) {
157 libEntry = searchForLibraryName(libName);
170 libraryList[libEntry].lib = uprv_dl_open(libName, status);
172 DBG((stderr, "uplug_openLibrary(%s,%s) libEntry %d, lib %p\n", libName, u_errorName(*status), libEntry, lib));
180 DBG((stderr, "uplug_openLibrary(%s,%s) libEntry %d, lib %p\n", libName, u_errorName(*status), libEntry, lib));
186 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX);
336 plug->libName[0] = 0;
463 if(data->libName[0]) {
464 return data->libName;
539 uplug_initErrorPlug(const char *libName, const char *sym, const char *config, const char *nameOrError, UErrorCode loadStatus, UErrorCode *status)
552 if(libName!=NULL) {
553 uprv_strncpy(plug->libName, libName, UPLUG_NAME_MAX);
574 uplug_initPlugFromLibrary(const char *libName, const char *sym, const char *config, UErrorCode *status) {
578 lib = uplug_openLibrary(libName, status);
595 plug = uplug_initErrorPlug(libName,sym,config,"ERROR: Could not load entrypoint",(lib==NULL)?U_MISSING_RESOURCE_ERROR:*status,&subStatus);
603 plug = uplug_initErrorPlug(libName,sym,config,"ERROR: could not load library",(lib==NULL)?U_MISSING_RESOURCE_ERROR:*status,&subStatus);
609 uplug_loadPlugFromLibrary(const char *libName, const char *sym, const char *config, UErrorCode *status) {
612 plug = uplug_initPlugFromLibrary(libName, sym, config, status);
751 char *p, *libName=NULL, *symName=NULL, *config=NULL;
765 libName = p;
803 UPlugData *plug = uplug_initPlugFromLibrary(libName, symName, config, &subStatus);
808 DBG((stderr, "PLUGIN libName=[%s], sym=[%s], config=[%s]\n", libName, symName, config));