Lines Matching refs:pEntry
391 static bool checkOnLoadResult(SharedLib* pEntry) in checkOnLoadResult() argument
394 if (pEntry->onLoadThreadId == self->threadId) { in checkOnLoadResult()
400 self->threadId, pEntry->pathName); in checkOnLoadResult()
404 LOGV("+++ retrieving %s OnLoad status\n", pEntry->pathName); in checkOnLoadResult()
407 dvmLockMutex(&pEntry->onLoadLock); in checkOnLoadResult()
408 while (pEntry->onLoadResult == kOnLoadPending) { in checkOnLoadResult()
410 self->threadId, pEntry->pathName); in checkOnLoadResult()
412 pthread_cond_wait(&pEntry->onLoadCond, &pEntry->onLoadLock); in checkOnLoadResult()
415 if (pEntry->onLoadResult == kOnLoadOkay) { in checkOnLoadResult()
416 LOGV("+++ earlier OnLoad(%s) okay\n", pEntry->pathName); in checkOnLoadResult()
419 LOGV("+++ earlier OnLoad(%s) failed\n", pEntry->pathName); in checkOnLoadResult()
422 dvmUnlockMutex(&pEntry->onLoadLock); in checkOnLoadResult()
445 SharedLib* pEntry; in dvmLoadNativeCode() local
454 pEntry = findSharedLibEntry(pathName); in dvmLoadNativeCode()
455 if (pEntry != NULL) { in dvmLoadNativeCode()
456 if (pEntry->classLoader != classLoader) { in dvmLoadNativeCode()
458 pathName, pEntry->classLoader, classLoader); in dvmLoadNativeCode()
463 if (!checkOnLoadResult(pEntry)) in dvmLoadNativeCode()