Lines Matching defs:aName
361 * @param aName bandwidth group name to find
365 HRESULT BandwidthControl::i_getBandwidthGroupByName(const com::Utf8Str &aName,
369 AssertReturn(!aName.isEmpty(), E_INVALIDARG);
375 if ((*it)->i_getName() == aName)
385 aName.c_str());
389 HRESULT BandwidthControl::createBandwidthGroup(const com::Utf8Str &aName,
405 HRESULT rc = i_getBandwidthGroupByName(aName, group, false /* aSetError */);
410 aName.c_str());
414 rc = group->init(this, aName, aType, aMaxBytesPerSec);
424 HRESULT BandwidthControl::deleteBandwidthGroup(const com::Utf8Str &aName)
433 HRESULT rc = i_getBandwidthGroupByName(aName, group, true /* aSetError */);
438 tr("The bandwidth group '%s' is still in use"), aName.c_str());
464 HRESULT BandwidthControl::getBandwidthGroup(const com::Utf8Str &aName, ComPtr<IBandwidthGroup> &aBandwidthGroup)
469 HRESULT rc = i_getBandwidthGroupByName(aName, group, true /* aSetError */);