Lines Matching refs:pbuffer

349 		REPARSE_DATA_BUFFER * pbuffer;  in php_sys_stat_ex()  local
357 pbuffer = (REPARSE_DATA_BUFFER *)do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large); in php_sys_stat_ex()
358 …if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER… in php_sys_stat_ex()
359 free_alloca(pbuffer, use_heap_large); in php_sys_stat_ex()
366 if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) { in php_sys_stat_ex()
372 else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) { in php_sys_stat_ex()
376 free_alloca(pbuffer, use_heap_large); in php_sys_stat_ex()
901 REPARSE_DATA_BUFFER * pbuffer; in tsrm_realpath_r() local
920 pbuffer = (REPARSE_DATA_BUFFER *)do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large); in tsrm_realpath_r()
921 if (pbuffer == NULL) { in tsrm_realpath_r()
925 …if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER… in tsrm_realpath_r()
926 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
933 if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) { in tsrm_realpath_r()
934 reparsetarget = pbuffer->SymbolicLinkReparseBuffer.ReparseTarget; in tsrm_realpath_r()
935 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
936 isabsolute = (pbuffer->SymbolicLinkReparseBuffer.Flags == 0) ? 1 : 0; in tsrm_realpath_r()
938 reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
942 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
945 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
948 substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR); in tsrm_realpath_r()
950 reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
954 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
959 else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) { in tsrm_realpath_r()
961 reparsetarget = pbuffer->MountPointReparseBuffer.ReparseTarget; in tsrm_realpath_r()
962 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
964 reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
968 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
971 printname[pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR)] = 0; in tsrm_realpath_r()
973 substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR); in tsrm_realpath_r()
975 reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
979 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
984 else if (pbuffer->ReparseTag == IO_REPARSE_TAG_DEDUP) { in tsrm_realpath_r()
989 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
1033 free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()