Lines Matching defs:size
90 UINT32 size = GetSize(object);
91 m_Object = (LPITEMIDLIST)CoTaskMemAlloc(size);
93 MoveMemory(m_Object, object, size);
103 UINT32 size = GetSize(object.m_Object);
104 m_Object = (LPITEMIDLIST)CoTaskMemAlloc(size);
106 MoveMemory(m_Object, object.m_Object, size);
113 static HRESULT ReadUnicodeStrings(const wchar_t *p, size_t size, UStringVector &names)
116 const wchar_t *lim = p + size;
119 if (size == 0 || p[size - 1] != 0)
121 if (size == 1)
123 if (p[size - 2] != 0)
150 static HRESULT ReadAnsiStrings(const char *p, size_t size, UStringVector &names)
154 for (; size != 0; size--)
208 const size_t size = blockSize - dropFiles->pFiles;
213 if (size % sizeof(wchar_t) != 0)
215 hres = ReadUnicodeStrings((const wchar_t *)namesData, size / sizeof(wchar_t), names);
218 hres = ReadAnsiStrings((const char *)namesData, size, names);
448 returns value is the required size
450 tests show that if (bufSize == 0), then it also returns required size.
495 // kReserve must be >= 3 for additional buffer size