Lines Matching defs:size
50 UInt16 SubstituteLen; // size in bytes, it doesn't include tailed NUL
52 UInt16 PrintLen; // size in bytes, it doesn't include tailed NUL
140 const size_t size = 4 + utf.Len();
141 if (size != (UInt16)size)
143 dest.Alloc(8 + size);
146 Set16(p + 4, (UInt16)(size))
182 const size_t size = 8 + 8 + (isSymLink ? 4 : 0) + totalNamesSize;
183 if (size != (UInt16)size)
185 dest.Alloc(size);
186 memset(dest, 0, size);
192 Set16(p + 4, (UInt16)(size - 8))
242 bool CReparseAttr::Parse(const Byte *p, size_t size)
249 if (size < 8)
253 if (len + 8 != size)
254 // if (len + 8 > size)
280 size -= 8;
337 bool CReparseShortInfo::Parse(const Byte *p, size_t size)
342 if (size < 8)
346 if (len + 8 > size)
362 size -= 8;
364 if (len != size) // do we need that check?
484 static bool OutIoReparseData(DWORD controlCode, CFSTR path, void *data, DWORD size)
494 return file.DeviceIoControl(controlCode, data, size, NULL, 0, &returnedSize);
499 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size)
526 return OutIoReparseData(my_FSCTL_SET_REPARSE_POINT, path, (void *)(const Byte *)(data), size);
568 const ssize_t size = readlink(path, buf, request);
571 if (size < 0)
573 if ((size_t)size >= request)
579 // printf("\nreadlink() res = %s size = %d \n", buf, (int)size);
580 reparseData.CopyFrom((const Byte *)buf, (size_t)size);
587 bool SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size)
590 // s.SetFrom_CalcLen(data, size);
595 UNUSED_VAR(size)