Lines Matching refs:libraryList
117 static UPlugLibrary * libraryList = staticLibraryList; variable
130 if(!uprv_strcmp(libName, libraryList[i].name)) { in searchForLibraryName()
141 if(lib==libraryList[i].lib) { in searchForLibrary()
157 ret = libraryList[libEnt].name; in uplug_findLibrary()
184 libraryList[libEntry].lib = uprv_dl_open(libName, status); in uplug_openLibrary()
189 if(libraryList[libEntry].lib == NULL || U_FAILURE(*status)) { in uplug_openLibrary()
191 libraryList[libEntry].lib = NULL; /* failure with open */ in uplug_openLibrary()
192 libraryList[libEntry].name[0] = 0; in uplug_openLibrary()
200 uprv_strncpy(libraryList[libEntry].name,libName,UPLUG_NAME_MAX); in uplug_openLibrary()
201 libraryList[libEntry].ref=1; in uplug_openLibrary()
202 lib = libraryList[libEntry].lib; in uplug_openLibrary()
206 lib = libraryList[libEntry].lib; in uplug_openLibrary()
207 libraryList[libEntry].ref++; in uplug_openLibrary()
217 …DBG((stderr, "uplug_closeLibrary(%p,%s) list %p\n", lib, u_errorName(*status), (void*)libraryList)… in uplug_closeLibrary()
222 if(lib==libraryList[i].lib) { in uplug_closeLibrary()
223 if(--(libraryList[i].ref) == 0) { in uplug_closeLibrary()
224 uprv_dl_close(libraryList[i].lib, status); in uplug_closeLibrary()
225 libraryCount = uplug_removeEntryAt(libraryList, libraryCount, sizeof(*libraryList), i); in uplug_closeLibrary()