Lines Matching refs:bufferSize
853 size_t bufferSize = MAX_PATH;
854 OwnArrayPtr<WCHAR> tempPath = adoptArrayPtr(new WCHAR[bufferSize]);
855 DWORD tempLength = ::GetTempPathW(bufferSize, tempPath.get());
856 if (tempLength + url.length() - tempPrefixLength + 1 > bufferSize) {
857 bufferSize = tempLength + url.length() - tempPrefixLength + 1;
858 tempPath = adoptArrayPtr(new WCHAR[bufferSize]);
859 tempLength = GetTempPathW(bufferSize, tempPath.get());
860 ASSERT(tempLength < bufferSize);