Searched refs:requiredBufferLength (Results 1 – 7 of 7) sorted by relevance
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Memory/src/System/Buffers/Text/Utf8Formatter/ |
H A D | Utf8Formatter.Integer.Unsigned.N.cs | 22 int requiredBufferLength = digitCount + commaCount; in TryFormatUInt64N() 25 requiredBufferLength += trailingZeroCount + 1; in TryFormatUInt64N() 30 requiredBufferLength++; in TryFormatUInt64N() 33 if (requiredBufferLength > buffer.Length) in TryFormatUInt64N() 39 bytesWritten = requiredBufferLength; in TryFormatUInt64N()
|
H A D | Utf8Formatter.Integer.Unsigned.D.cs | 24 int requiredBufferLength = digitCount + leadingZeroCount; in TryFormatUInt64D() 28 requiredBufferLength++; in TryFormatUInt64D() 31 if (requiredBufferLength > buffer.Length) in TryFormatUInt64D() 37 bytesWritten = requiredBufferLength; in TryFormatUInt64D()
|
/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/ |
H A D | cp_save.cpp | 253 int requiredBufferLength; in SAV_GameSave() local 311 requiredBufferLength = mxmlSaveString(topNode, dummy, 2, MXML_NO_CALLBACK); in SAV_GameSave() 313 header.xmlSize = LittleLong(requiredBufferLength); in SAV_GameSave() 314 byte* const buf = Mem_PoolAllocTypeN(byte, requiredBufferLength + 1, cp_campaignPool); in SAV_GameSave() 321 res = mxmlSaveString(topNode, (char*)buf, requiredBufferLength + 1, MXML_NO_CALLBACK); in SAV_GameSave() 326 bufLen = compressBound(requiredBufferLength); in SAV_GameSave() 328 bufLen = requiredBufferLength; in SAV_GameSave() 334 res = compress(fbuf + sizeof(header), &bufLen, buf, requiredBufferLength); in SAV_GameSave() 344 memcpy(fbuf + sizeof(header), buf, requiredBufferLength); in SAV_GameSave()
|
/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/ |
H A D | cl_game_team.cpp | 224 int requiredBufferLength; in GAME_SaveTeam() local 251 requiredBufferLength = mxmlSaveString(topNode, dummy, 2, MXML_NO_CALLBACK); in GAME_SaveTeam() 253 header.xmlSize = LittleLong(requiredBufferLength); in GAME_SaveTeam() 255 byte* const buf = Mem_PoolAllocTypeN(byte, requiredBufferLength + 1, cl_genericPool); in GAME_SaveTeam() 261 mxmlSaveString(topNode, (char*)buf, requiredBufferLength + 1, MXML_NO_CALLBACK); in GAME_SaveTeam() 264 …byte* const fbuf = Mem_PoolAllocTypeN(byte, requiredBufferLength + 1 + sizeof(header), cl_genericP… in GAME_SaveTeam() 266 memcpy(fbuf + sizeof(header), buf, requiredBufferLength + 1); in GAME_SaveTeam() 270 FS_WriteFile(fbuf, requiredBufferLength + 1 + sizeof(header), filename); in GAME_SaveTeam()
|
/dports/devel/gdcm/gdcm-3.0.10/Source/Common/ |
H A D | gdcmSystem.cxx | 405 DWORD requiredBufferLength = in ComputeFullPath() local 408 if (0 == requiredBufferLength) // means failure in ComputeFullPath() 413 out.resize(requiredBufferLength); in ComputeFullPath() 417 GetFullPathNameW(fileName, requiredBufferLength, buffer, nullptr); in ComputeFullPath()
|
/dports/sysutils/fusefs-ntfs/ntfs-3g_ntfsprogs-2017.3.23/libntfs-3g/ |
H A D | unistr.c | 1684 CFIndex requiredBufferLength; local 1715 &requiredBufferLength) > 0) 1717 resultLength = sizeof(char) * (requiredBufferLength + 1); 1724 &requiredBufferLength) <= 0)
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/qtcreatorcdbext/ |
H A D | qtcreatorcdbextension.cpp | 1511 const ULONG requiredBufferLength = static_cast<ULONG>(rc.size()) + 1; in KnownStructOutput() local 1512 if (requiredBufferLength >= *BufferSize) { in KnownStructOutput() 1513 *BufferSize = requiredBufferLength; in KnownStructOutput()
|