Lines Matching refs:aLines

372     char        *aLines[VMDK_DESCRIPTOR_LINES_MAX];
1399 char *pEnd = pDescriptor->aLines[pDescriptor->cLines];
1403 && pEnd - pDescriptor->aLines[0] > (ptrdiff_t)pDescriptor->cbDescAlloc - cbDiff)
1408 pDescriptor->aLines[pDescriptor->cLines] = pEnd + cbDiff;
1422 if (!strncmp(pDescriptor->aLines[uStart], pszKey, cbKey))
1425 pszValue = pDescriptor->aLines[uStart] + cbKey;
1449 if (!strncmp(pDescriptor->aLines[uStart], pszKey, cbKey))
1452 pszTmp = pDescriptor->aLines[uStart] + cbKey;
1476 if ( pDescriptor->aLines[pDescriptor->cLines]
1477 - pDescriptor->aLines[0] > (ptrdiff_t)pDescriptor->cbDescAlloc - cbDiff)
1481 pDescriptor->aLines[pDescriptor->cLines] - pszTmp - cbOldVal);
1484 pDescriptor->aLines[i] += cbDiff;
1488 memmove(pDescriptor->aLines[uStart], pDescriptor->aLines[uStart+1],
1489 pDescriptor->aLines[pDescriptor->cLines] - pDescriptor->aLines[uStart+1] + 1);
1492 pDescriptor->aLines[i-1] = pDescriptor->aLines[i];
1519 || ( pDescriptor->aLines[pDescriptor->cLines]
1520 - pDescriptor->aLines[0] > (ptrdiff_t)pDescriptor->cbDescAlloc - cbDiff))
1524 pDescriptor->aLines[i] = pDescriptor->aLines[i - 1];
1534 pszTmp = pDescriptor->aLines[uStart];
1536 pDescriptor->aLines[pDescriptor->cLines] - pszTmp);
1537 memcpy(pDescriptor->aLines[uStart], pszKey, cbKey);
1538 pDescriptor->aLines[uStart][cbKey] = '=';
1539 memcpy(pDescriptor->aLines[uStart] + cbKey + 1, pszValue, cbValue + 1);
1541 pDescriptor->aLines[i] += cbDiff;
1603 cbDiff = strlen(pDescriptor->aLines[uEntry]) + 1;
1605 memmove(pDescriptor->aLines[uEntry], pDescriptor->aLines[uEntry + 1],
1606 pDescriptor->aLines[pDescriptor->cLines] - pDescriptor->aLines[uEntry + 1] + 1);
1609 pDescriptor->aLines[i - 1] = pDescriptor->aLines[i] - cbDiff;
1666 || ( pDescriptor->aLines[pDescriptor->cLines]
1667 - pDescriptor->aLines[0] > (ptrdiff_t)pDescriptor->cbDescAlloc - cbDiff))
1672 pDescriptor->aLines[i] = pDescriptor->aLines[i - 1];
1682 pszTmp = pDescriptor->aLines[uStart];
1684 pDescriptor->aLines[pDescriptor->cLines] - pszTmp);
1685 memcpy(pDescriptor->aLines[uStart], szExt, cbDiff);
1687 pDescriptor->aLines[i] += cbDiff;
1807 pDescriptor->aLines[cLine++] = pTmp;
1840 pDescriptor->aLines[cLine] = pTmp;
1842 if ( strcmp(pDescriptor->aLines[0], "# Disk DescriptorFile")
1843 && strcmp(pDescriptor->aLines[0], "# Disk Descriptor File"))
1855 if (*pDescriptor->aLines[i] != '#' && *pDescriptor->aLines[i] != '\0')
1857 if ( !strncmp(pDescriptor->aLines[i], "RW", 2)
1858 || !strncmp(pDescriptor->aLines[i], "RDONLY", 6)
1859 || !strncmp(pDescriptor->aLines[i], "NOACCESS", 8) )
1874 else if (!strncmp(pDescriptor->aLines[i], "ddb.", 4))
1964 pDescriptor->aLines[pDescriptor->cLines] = pDescData;
2085 char *pszLine = pImage->Descriptor.aLines[uLine];
2373 const char *psz = pImage->Descriptor.aLines[i];
4086 pImage->pExtents[0].cDescriptorSectors = VMDK_BYTE2SECTOR(RT_ALIGN_64( pImage->Descriptor.aLines[pImage->Descriptor.cLines]
4087 - pImage->Descriptor.aLines[0], 512));
5507 DescriptorCopy.aLines[i] = RTStrDup(pImage->Descriptor.aLines[i]);
5508 if (!DescriptorCopy.aLines[i])
5541 apszNewLines[i] = vmdkStrReplace(pImage->Descriptor.aLines[line],
5545 pImage->Descriptor.aLines[line] = apszNewLines[i];
5658 if (DescriptorCopy.aLines[i])
5659 RTStrFree(DescriptorCopy.aLines[i]);