Lines Matching refs:pbuffer

338 		REPARSE_DATA_BUFFER * pbuffer;  in php_sys_stat_ex()  local
347 pbuffer = (REPARSE_DATA_BUFFER *)tsrm_do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large); in php_sys_stat_ex()
348 …if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER… in php_sys_stat_ex()
349 tsrm_free_alloca(pbuffer, use_heap_large); in php_sys_stat_ex()
356 if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) { in php_sys_stat_ex()
362 else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) { in php_sys_stat_ex()
366 tsrm_free_alloca(pbuffer, use_heap_large); in php_sys_stat_ex()
871 REPARSE_DATA_BUFFER * pbuffer; in tsrm_realpath_r() local
890pbuffer = (REPARSE_DATA_BUFFER *)tsrm_do_alloca(MAXIMUM_REPARSE_DATA_BUFFER_SIZE, use_heap_large); in tsrm_realpath_r()
891 if (pbuffer == NULL) { in tsrm_realpath_r()
894 …if(!DeviceIoControl(hLink, FSCTL_GET_REPARSE_POINT, NULL, 0, pbuffer, MAXIMUM_REPARSE_DATA_BUFFER… in tsrm_realpath_r()
895 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
902 if(pbuffer->ReparseTag == IO_REPARSE_TAG_SYMLINK) { in tsrm_realpath_r()
903 reparsetarget = pbuffer->SymbolicLinkReparseBuffer.ReparseTarget; in tsrm_realpath_r()
904 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
905 isabsolute = (pbuffer->SymbolicLinkReparseBuffer.Flags == 0) ? 1 : 0; in tsrm_realpath_r()
907 reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
911 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
914 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
917 substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR); in tsrm_realpath_r()
919 reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
923 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
928 else if(pbuffer->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT) { in tsrm_realpath_r()
930 reparsetarget = pbuffer->MountPointReparseBuffer.ReparseTarget; in tsrm_realpath_r()
931 printname_len = pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR); in tsrm_realpath_r()
933 reparsetarget + pbuffer->MountPointReparseBuffer.PrintNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
937 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
940 printname[pbuffer->MountPointReparseBuffer.PrintNameLength / sizeof(WCHAR)] = 0; in tsrm_realpath_r()
942 substitutename_len = pbuffer->MountPointReparseBuffer.SubstituteNameLength / sizeof(WCHAR); in tsrm_realpath_r()
944 reparsetarget + pbuffer->MountPointReparseBuffer.SubstituteNameOffset / sizeof(WCHAR), in tsrm_realpath_r()
948 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
953 else if (pbuffer->ReparseTag == IO_REPARSE_TAG_DEDUP) { in tsrm_realpath_r()
958 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()
1002 tsrm_free_alloca(pbuffer, use_heap_large); in tsrm_realpath_r()