Lines Matching defs:buffer
311 char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
312 REPARSE_DATA_BUFFER* reparse_data = (REPARSE_DATA_BUFFER*) buffer;
323 buffer,
324 sizeof buffer,
409 /* The StringList buffer contains a list of strings separated by "\0", */
1376 * It's important that this buffer can hold at least one entry, regardless
1379 * According to MSDN, the buffer must be aligned at an 8-byte boundary.
1382 __declspec(align(8)) char buffer[8192];
1384 __attribute__ ((aligned (8))) char buffer[8192];
1387 STATIC_ASSERT(sizeof buffer >=
1408 &buffer,
1409 sizeof buffer,
1422 char* position = buffer;
1518 &buffer,
1519 sizeof buffer,
1526 * STATUS_SUCCESS even if the buffer was too small to hold at least one
2382 REPARSE_DATA_BUFFER *buffer = NULL;
2408 /* Do a pessimistic calculation of the required buffer size */
2414 /* Allocate the buffer */
2415 buffer = (REPARSE_DATA_BUFFER*)uv__malloc(needed_buf_size);
2416 if (!buffer) {
2420 /* Grab a pointer to the part of the buffer where filenames go */
2421 path_buf = (WCHAR*)&(buffer->MountPointReparseBuffer.PathBuffer);
2449 buffer->MountPointReparseBuffer.SubstituteNameOffset = start * sizeof(WCHAR);
2450 buffer->MountPointReparseBuffer.SubstituteNameLength = len * sizeof(WCHAR);
2478 buffer->MountPointReparseBuffer.PrintNameOffset = start * sizeof(WCHAR);
2479 buffer->MountPointReparseBuffer.PrintNameLength = len * sizeof(WCHAR);
2484 /* Calculate how much buffer space was actually used */
2490 /* Put general info in the data buffer */
2491 buffer->ReparseTag = IO_REPARSE_TAG_MOUNT_POINT;
2492 buffer->ReparseDataLength = used_data_size;
2493 buffer->Reserved = 0;
2519 buffer,
2531 uv__free(buffer);
2537 uv__free(buffer);