for(int i = 0; i < ENTRY_COUNT;i++)
for(unsigned int i = 0; i < ENTRY_COUNT;i++)
InterfaceInfoManagerImpl::GetNameForIID(const nsIID* iid, char** name){    for(int i = 0; i < ENTRY_COUNT;i++)    {        XPTInterfaceDirectoryEntry* entry = &InterfaceDirectoryEntryTable[i];        if(iid->Equals(entry->iid))        {            char* p;            int len = strlen(entry->name)+1;            if(!(p = (char*)mAllocator->Alloc(len)))                break;            memcpy(p, &entry->name, len);            *name = p;            return NS_OK;        }    }    *name = NULL;    return NS_ERROR_FAILURE;}