Lines Matching defs:buffer

153   char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
154 REPARSE_DATA_BUFFER* reparse_data = (REPARSE_DATA_BUFFER*) buffer;
165 buffer,
166 sizeof buffer,
251 /* The StringList buffer contains a list of strings separated by "\0", */
1310 * It's important that this buffer can hold at least one entry, regardless
1313 * According to MSDN, the buffer must be aligned at an 8-byte boundary.
1316 __declspec(align(8)) char buffer[8192];
1318 __attribute__ ((aligned (8))) char buffer[8192];
1321 STATIC_ASSERT(sizeof buffer >=
1342 &buffer,
1343 sizeof buffer,
1356 char* position = buffer;
1441 &buffer,
1442 sizeof buffer,
1449 * STATUS_SUCCESS even if the buffer was too small to hold at least one
2363 REPARSE_DATA_BUFFER *buffer = NULL;
2389 /* Do a pessimistic calculation of the required buffer size */
2395 /* Allocate the buffer */
2396 buffer = (REPARSE_DATA_BUFFER*)uv__malloc(needed_buf_size);
2397 if (!buffer) {
2401 /* Grab a pointer to the part of the buffer where filenames go */
2402 path_buf = (WCHAR*)&(buffer->MountPointReparseBuffer.PathBuffer);
2430 buffer->MountPointReparseBuffer.SubstituteNameOffset = start * sizeof(WCHAR);
2431 buffer->MountPointReparseBuffer.SubstituteNameLength = len * sizeof(WCHAR);
2459 buffer->MountPointReparseBuffer.PrintNameOffset = start * sizeof(WCHAR);
2460 buffer->MountPointReparseBuffer.PrintNameLength = len * sizeof(WCHAR);
2465 /* Calculate how much buffer space was actually used */
2471 /* Put general info in the data buffer */
2472 buffer->ReparseTag = IO_REPARSE_TAG_MOUNT_POINT;
2473 buffer->ReparseDataLength = used_data_size;
2474 buffer->Reserved = 0;
2500 buffer,
2512 uv__free(buffer);
2518 uv__free(buffer);