Lines Matching refs:cExtents

431     unsigned        cExtents;
531 static int vmdkCreateExtents(PVMDKIMAGE pImage, unsigned cExtents);
2027 unsigned cExtents;
2063 for (uLine = pImage->Descriptor.uFirstExtent, cExtents = 0;
2065 uLine = pImage->Descriptor.aNextLines[uLine], cExtents++)
2068 if (!pImage->pDescData && cExtents != 1)
2077 rc = vmdkCreateExtents(pImage, cExtents);
2083 i < cExtents; i++, uLine = pImage->Descriptor.aNextLines[uLine])
2925 for (unsigned i = 0; i < pImage->cExtents; i++)
2954 static int vmdkCreateExtents(PVMDKIMAGE pImage, unsigned cExtents)
2957 PVMDKEXTENT pExtents = (PVMDKEXTENT)RTMemAllocZ(cExtents * sizeof(VMDKEXTENT));
2960 for (unsigned i = 0; i < cExtents; i++)
2974 pImage->cExtents = cExtents;
3177 for (unsigned i = 0; i < pImage->cExtents; i++)
3199 for (unsigned i = 0; i < pImage->cExtents; i++)
3316 for (unsigned i = 0; i < pImage->cExtents; i++)
3333 for (unsigned i = 0; i < pImage->cExtents; i++)
3412 unsigned cExtents = 0;
3421 cExtents++;
3423 cExtents++;
3427 cExtents++;
3429 rc = vmdkCreateExtents(pImage, cExtents);
3457 cExtents = 0;
3462 pExtent = &pImage->pExtents[cExtents++];
3474 pExtent = &pImage->pExtents[cExtents++];
3561 pExtent = &pImage->pExtents[cExtents++];
3589 unsigned cExtents = 1;
3595 cExtents = cbSize / VMDK_2G_SPLIT_SIZE;
3599 cExtents++;
3601 rc = vmdkCreateExtents(pImage, cExtents);
3611 if (cExtents != 1 || (uImageFlags & VD_IMAGE_FLAGS_FIXED))
3623 for (unsigned i = 0; i < cExtents; i++)
3632 if (cExtents == 1 && !(uImageFlags & VD_IMAGE_FLAGS_FIXED))
3649 if (cExtents == 1)
3738 if (cExtents == 1 && !(uImageFlags & VD_IMAGE_FLAGS_FIXED))
3816 pszDescType = (cExtents == 1)
3825 pszDescType = (cExtents == 1)
3997 for (unsigned i = 0; i < pImage->cExtents; i++)
4238 for (unsigned i = 0; i < pImage->cExtents; i++)
4246 for (unsigned i = 0; i < pImage->cExtents; i++)
4344 for (unsigned i = 0 ; i < pImage->cExtents; i++)
4353 pImage->cExtents = 0;
4396 for (unsigned i = 0; i < pImage->cExtents; i++)
4477 for (unsigned i = 0; i < pImage->cExtents; i++)
5453 unsigned cExtents = 0;
5475 cExtents = pImage->cExtents;
5482 apszOldName = (char **)RTMemTmpAllocZ((cExtents + 1) * sizeof(char*));
5483 apszNewName = (char **)RTMemTmpAllocZ((cExtents + 1) * sizeof(char*));
5484 apszNewLines = (char **)RTMemTmpAllocZ((cExtents) * sizeof(char*));
5535 i < cExtents;
5553 for (i = 0; i < cExtents; i++)
5583 apszNewName[cExtents] = RTStrDup(pszFilename);
5587 rc = vdIfIoIntFileMove(pImage->pIfIo, pImage->pszFilename, apszNewName[cExtents], 0);
5591 apszOldName[cExtents] = RTStrDup(pszFilename);
5616 for (i = 0; i <= cExtents; i++)
5662 for (i = 0; i <= cExtents; i++)
5669 for (i = 0; i <= cExtents; i++)
5676 for (i = 0; i < cExtents; i++)
6046 for (unsigned i = 0; i < pImage->cExtents; i++)