for (count = 0; count < mNumAttrs; count++) { if (0 == PL_strcasecmp(mAttrNames[count], name)) { *result = mAttrVals[count]; break;
*result = NULL;  for (int i = 0; i < mNumAttrs; i++) { if (0 == PL_strcasecmp(mAttrNames[i], name)) { *result = mAttrVals[i]; return NS_OK;
NS_IMETHODIMP nsPluginInstanceOwner::GetAttribute(const char* name, const char* *result){  PRInt32 count;  if (nsnull == mAttrNames)  {    PRUint16  numattrs;    const char * const *names, * const *vals;    GetAttributes(numattrs, names, vals);  }  for (count = 0; count < mNumAttrs; count++)  {    if (0 == PL_strcasecmp(mAttrNames[count], name))    {      *result = mAttrVals[count];      break;    }  }  if (count >= mNumAttrs)    *result = "";  return NS_OK;}