Lines Matching defs:mt
188 MEDIUMTASK &mt = mtc.chain.at(e - 1);
189 mt.uWeight += uMaxWeight;
193 uTotalWeight += mt.uWeight;
197 uMaxWeight = RT_MAX(uMaxWeight, mt.uWeight);
290 MEDIUMTASK mt;
291 mt.uIdx = UINT32_MAX; /* No read/write optimization possible. */
294 rc = queryBaseName(pSrcMedium, mt.strBaseName);
298 mt.pMedium = pSrcMedium;
300 mt.uWeight = 0; /* dummy */
302 mt.uWeight = (ULONG)((lSize + _1M - 1) / _1M);
303 mtc.chain.append(mt);
400 MEDIUMTASK mt;
401 mt.uIdx = UINT32_MAX;
402 mt.pMedium = pSrcMedium;
403 mt.uWeight = (ULONG)((lSize + _1M - 1) / _1M);
404 mtc.chain.append(mt);
450 const MEDIUMTASK &mt = mtc.chain.at(a);
451 uint32_t hist = mediaHist[mt.pMedium];
454 rc = mt.pMedium->COMGETTER(Name)(bstrSrcName.asOutParam());
463 newChain.append(mt);
535 MEDIUMTASK mt;
536 mt.uIdx = UINT32_MAX;
537 mt.pMedium = pSrcMedium;
538 mt.uWeight = (ULONG)((lSize + _1M - 1) / _1M);
539 mtc.chain.append(mt);
1062 const MEDIUMTASK &mt = mtc.chain.at(a - 1);
1063 ComPtr<IMedium> pMedium = mt.pMedium;
1070 mt.uWeight);
1161 if (!mt.strBaseName.isEmpty())
1162 strSrcTest = mt.strBaseName;
1197 && (fKeepDiskNames || mt.strBaseName.isEmpty()))
1265 uSrcParentIdx = mt.uIdx;
1282 const MEDIUMTASK &mt = mtc.chain.first();
1283 ComObjPtr<Medium> pLMedium = static_cast<Medium*>((IMedium*)mt.pMedium);