Lines Matching defs:mtc
104 inline void updateProgressStats(MEDIUMTASKCHAIN &mtc, bool fAttachLinked, ULONG &uCount, ULONG &uTotalWeight) const;
167 void MachineCloneVMPrivate::updateProgressStats(MEDIUMTASKCHAIN &mtc, bool fAttachLinked,
186 for (size_t e = mtc.chain.size(); e > 0; --e)
188 MEDIUMTASK &mt = mtc.chain.at(e - 1);
278 MEDIUMTASKCHAIN mtc;
279 mtc.fCreateDiffs = fCreateDiffs;
280 mtc.fAttachLinked = fAttachLinked;
303 mtc.chain.append(mt);
306 updateProgressStats(mtc, fAttachLinked, uCount, uTotalWeight);
308 llMedias.append(mtc);
383 MEDIUMTASKCHAIN mtc;
384 mtc.fCreateDiffs = fCreateDiffs;
385 mtc.fAttachLinked = fAttachLinked;
404 mtc.chain.append(mt);
411 llMedias.append(mtc);
423 MEDIUMTASKCHAIN &mtc = llMedias.at(i);
424 for (size_t a = mtc.chain.size(); a > 0; --a)
425 mtc.chain[a - 1].uIdx = uIdx++;
445 MEDIUMTASKCHAIN &mtc = llMedias.at(i);
448 for (size_t a = 0; a < mtc.chain.size(); ++a)
450 const MEDIUMTASK &mt = mtc.chain.at(a);
473 mtc.chain = newChain;
475 updateProgressStats(mtc, fAttachLinked, uCount, uTotalWeight);
520 MEDIUMTASKCHAIN mtc;
521 mtc.fCreateDiffs = fCreateDiffs;
522 mtc.fAttachLinked = fAttachLinked;
539 mtc.chain.append(mt);
546 updateProgressStats(mtc, fAttachLinked, uCount, uTotalWeight);
548 llMedias.append(mtc);
560 MEDIUMTASKCHAIN &mtc = llMedias.at(i);
561 for (size_t a = mtc.chain.size(); a > 0; --a)
562 mtc.chain[a - 1].uIdx = uIdx++;
1056 const MEDIUMTASKCHAIN &mtc = d->llMedias.at(i);
1060 for (size_t a = mtc.chain.size(); a > 0; --a)
1062 const MEDIUMTASK &mt = mtc.chain.at(a - 1);
1077 if (mtc.fAttachLinked)
1271 rc = mtc.chain.first().pMedium->COMGETTER(Id)(bstrSrcId.asOutParam());
1280 if (mtc.fCreateDiffs)
1282 const MEDIUMTASK &mt = mtc.chain.first();