Lines Matching refs:pInfoBuffer
345 UCHAR* pInfoBuffer = malloc(nInfoBuffer); in osl_getUserIdent() local
349 pInfoBuffer, nInfoBuffer, &nInfoBuffer)) in osl_getUserIdent()
352 pInfoBuffer = realloc(pInfoBuffer, nInfoBuffer); in osl_getUserIdent()
355 free(pInfoBuffer); in osl_getUserIdent()
356 pInfoBuffer = NULL; in osl_getUserIdent()
364 if (pInfoBuffer) in osl_getUserIdent()
366 PSID pSid = ((PTOKEN_USER)pInfoBuffer)->User.Sid; in osl_getUserIdent()
416 free(pInfoBuffer); in osl_getUserIdent()
477 UCHAR* pInfoBuffer = malloc(nInfoBuffer); in osl_getHomeDir()
480 pInfoBuffer, nInfoBuffer, &nInfoBuffer)) in osl_getHomeDir()
483 pInfoBuffer = realloc(pInfoBuffer, nInfoBuffer); in osl_getHomeDir()
486 free(pInfoBuffer); in osl_getHomeDir()
487 pInfoBuffer = NULL; in osl_getHomeDir()
495 if (pInfoBuffer) in osl_getHomeDir()
904 UCHAR* pInfoBuffer = malloc(nInfoBuffer); in getUserNameImpl() local
907 pInfoBuffer, nInfoBuffer, &nInfoBuffer)) in getUserNameImpl()
910 pInfoBuffer = realloc(pInfoBuffer, nInfoBuffer); in getUserNameImpl()
913 free(pInfoBuffer); in getUserNameImpl()
914 pInfoBuffer = NULL; in getUserNameImpl()
922 if (pInfoBuffer) in getUserNameImpl()
931 if (LookupAccountSidW(NULL, ((PTOKEN_USER)pInfoBuffer)->User.Sid, in getUserNameImpl()
948 free(pInfoBuffer); in getUserNameImpl()