Lines Matching refs:cbSize
316 size_t cbSize = strlen(pszScheme) + 1 + 1; /* plus zero byte */
322 cbSize += strlen(pszAuthority1) + 2;
329 cbSize += strlen(pszPath1);
336 cbSize += strlen(pszQuery1) + 1;
343 cbSize += strlen(pszFragment1) + 1;
346 char *pszTmp = pszResult = (char*)RTMemAllocZ(cbSize);
350 RTStrCatP(&pszTmp, &cbSize, pszScheme);
351 RTStrCatP(&pszTmp, &cbSize, ":");
354 RTStrCatP(&pszTmp, &cbSize, "//");
355 RTStrCatP(&pszTmp, &cbSize, pszAuthority1);
359 RTStrCatP(&pszTmp, &cbSize, pszPath1);
363 RTStrCatP(&pszTmp, &cbSize, "?");
364 RTStrCatP(&pszTmp, &cbSize, pszQuery1);
368 RTStrCatP(&pszTmp, &cbSize, "#");
369 RTStrCatP(&pszTmp, &cbSize, pszFragment1);
599 size_t cbSize = 7 /* file:// */ + strlen(pszPath1) + 1; /* plus zero byte */
601 ++cbSize;
602 char *pszTmp = pszResult = (char*)RTMemAllocZ(cbSize);
606 RTStrCatP(&pszTmp, &cbSize, "file://");
608 RTStrCatP(&pszTmp, &cbSize, "/");
609 RTStrCatP(&pszTmp, &cbSize, pszPath1);