- Timestamp:
- Feb 16, 2002, 7:07:20 PM (24 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/dbgwrap.cpp
r7927 r7935 547 547 #define DBG_LOCALLOG DBG_heap 548 548 549 DEBUGWRAP 8(LocalAlloc);550 DEBUGWRAP 4(LocalCompact);551 DEBUGWRAP 4(LocalFlags);552 DEBUGWRAP 4(LocalFree);553 DEBUGWRAP 4(LocalHandle);554 DEBUGWRAP 4(LocalLock);555 DEBUGWRAP 12(LocalReAlloc);556 DEBUGWRAP 8(LocalShrink);557 DEBUGWRAP 4(LocalSize);558 DEBUGWRAP 4(LocalUnlock);559 DEBUGWRAP 8(GlobalAlloc);560 DEBUGWRAP 4(GlobalCompact);561 DEBUGWRAP 4(GlobalFix);562 DEBUGWRAP 4(GlobalFlags);563 DEBUGWRAP 4(GlobalFree);564 DEBUGWRAP 4(GlobalHandle);565 DEBUGWRAP 4(GlobalLock);566 DEBUGWRAP 4(GlobalMemoryStatus);567 DEBUGWRAP 12(GlobalReAlloc);568 DEBUGWRAP 4(GlobalSize);569 DEBUGWRAP 4(GlobalUnWire);570 DEBUGWRAP 4(GlobalUnfix);571 DEBUGWRAP 4(GlobalUnlock);572 DEBUGWRAP 4(GlobalWire);573 DEBUGWRAP 12(HeapAlloc);574 DEBUGWRAP 8(HeapCompact);575 DEBUGWRAP 12(HeapCreate);576 DEBUGWRAP 4(HeapDestroy);577 DEBUGWRAP 12(HeapFree);578 DEBUGWRAP 4(HeapLock);579 DEBUGWRAP 16(HeapReAlloc);580 DEBUGWRAP 12(HeapSize);581 DEBUGWRAP 4(HeapUnlock);582 DEBUGWRAP 12(HeapValidate);583 DEBUGWRAP 8(HeapWalk);549 DEBUGWRAP_LVL2_8(LocalAlloc); 550 DEBUGWRAP_LVL2_4(LocalCompact); 551 DEBUGWRAP_LVL2_4(LocalFlags); 552 DEBUGWRAP_LVL2_4(LocalFree); 553 DEBUGWRAP_LVL2_4(LocalHandle); 554 DEBUGWRAP_LVL2_4(LocalLock); 555 DEBUGWRAP_LVL2_12(LocalReAlloc); 556 DEBUGWRAP_LVL2_8(LocalShrink); 557 DEBUGWRAP_LVL2_4(LocalSize); 558 DEBUGWRAP_LVL2_4(LocalUnlock); 559 DEBUGWRAP_LVL2_8(GlobalAlloc); 560 DEBUGWRAP_LVL2_4(GlobalCompact); 561 DEBUGWRAP_LVL2_4(GlobalFix); 562 DEBUGWRAP_LVL2_4(GlobalFlags); 563 DEBUGWRAP_LVL2_4(GlobalFree); 564 DEBUGWRAP_LVL2_4(GlobalHandle); 565 DEBUGWRAP_LVL2_4(GlobalLock); 566 DEBUGWRAP_LVL2_4(GlobalMemoryStatus); 567 DEBUGWRAP_LVL2_12(GlobalReAlloc); 568 DEBUGWRAP_LVL2_4(GlobalSize); 569 DEBUGWRAP_LVL2_4(GlobalUnWire); 570 DEBUGWRAP_LVL2_4(GlobalUnfix); 571 DEBUGWRAP_LVL2_4(GlobalUnlock); 572 DEBUGWRAP_LVL2_4(GlobalWire); 573 DEBUGWRAP_LVL2_12(HeapAlloc); 574 DEBUGWRAP_LVL2_8(HeapCompact); 575 DEBUGWRAP_LVL2_12(HeapCreate); 576 DEBUGWRAP_LVL2_4(HeapDestroy); 577 DEBUGWRAP_LVL2_12(HeapFree); 578 DEBUGWRAP_LVL2_4(HeapLock); 579 DEBUGWRAP_LVL2_16(HeapReAlloc); 580 DEBUGWRAP_LVL2_12(HeapSize); 581 DEBUGWRAP_LVL2_4(HeapUnlock); 582 DEBUGWRAP_LVL2_12(HeapValidate); 583 DEBUGWRAP_LVL2_8(HeapWalk); 584 584 585 585 … … 883 883 DEBUGWRAP24(LCMapStringA); 884 884 DEBUGWRAP24(LCMapStringW); 885 DEBUGWRAP 24(MultiByteToWideChar);885 DEBUGWRAP_LVL2_24(MultiByteToWideChar); 886 886 DEBUGWRAP20(GetStringTypeA); 887 887 DEBUGWRAP20(GetStringTypeExA); 888 888 DEBUGWRAP20(GetStringTypeExW); 889 889 DEBUGWRAP16(GetStringTypeW); 890 DEBUGWRAP 4(IsDBCSLeadByte);891 DEBUGWRAP 8(IsDBCSLeadByteEx);892 DEBUGWRAP 32(WideCharToMultiByte);890 DEBUGWRAP_LVL2_4(IsDBCSLeadByte); 891 DEBUGWRAP_LVL2_8(IsDBCSLeadByteEx); 892 DEBUGWRAP_LVL2_32(WideCharToMultiByte); 893 893 894 894 -
trunk/src/kernel32/directory.cpp
r7849 r7935 1 /* $Id: directory.cpp,v 1.4 4 2002-02-09 12:45:12sandervl Exp $ */1 /* $Id: directory.cpp,v 1.45 2002-02-16 18:07:20 sandervl Exp $ */ 2 2 3 3 /* … … 714 714 char full_name[MAX_PATHNAME_LEN]; 715 715 716 dprintf(("SearchPathA %s %s %s", path, name, ext)); 716 717 if (!DIR_SearchPath( path, name, ext, (LPSTR)full_name )) return 0; 717 718 lstrcpynA( buffer, (LPSTR)full_name, buflen); … … 732 733 LPSTR nameA = HEAP_strdupWtoA( GetProcessHeap(), 0, name ); 733 734 LPSTR extA = HEAP_strdupWtoA( GetProcessHeap(), 0, ext ); 735 dprintf(("SearchPathA %s %s %s", pathA, nameA, extA)); 734 736 DWORD ret = DIR_SearchPath( pathA, nameA, extA, (LPSTR)full_name ); 735 737 HeapFree( GetProcessHeap(), 0, extA ); -
trunk/src/kernel32/heap.cpp
r7854 r7935 87 87 88 88 rc = curheap->Alloc(dwFlags, dwBytes); 89 dprintf2(("HeapAlloc %d bytes -> %x", dwBytes, rc));90 89 return rc; 91 90 } … … 100 99 FINDHEAP(curheap,hHeap) 101 100 102 dprintf2(("HeapReAlloc %x %x %x %X bytes", hHeap, dwFlags, lpMem, dwBytes));103 101 if(curheap == NULL) 104 102 return(NULL); … … 119 117 FINDHEAP(curheap,hHeap) 120 118 121 dprintf2(("HeapFree %X", lpMem));122 119 if(curheap == NULL) 123 120 return(FALSE); … … 136 133 OS2Heap *curheap; 137 134 138 //Create Open32 heap for it's handle 139 dprintf2(("HeapCreate dwInitialSize %X", dwInitialSize)); 140 135 //Create Open32 heap for its handle 141 136 curheap = new OS2Heap(flOptions, dwInitialSize, dwMaximumSize); 142 137 … … 160 155 FINDHEAP(curheap,hHeap) 161 156 162 dprintf2(("HeapDestroy %X", hHeap));163 157 if(curheap == NULL) 164 158 return(FALSE); … … 174 168 FINDHEAP(curheap,hHeap) 175 169 176 dprintf2(("HeapSize %X %x %x", hHeap, arg2, lpMem));177 170 if(curheap == NULL) 178 171 return(0); … … 194 187 FINDHEAP(curheap,hHeap) 195 188 196 dprintf2(("KERNEL32: HeapValidate %x %x %x", hHeap, dwFlags, lpMem));197 189 if(curheap == NULL) 198 190 return FALSE; … … 356 348 /* HeapUnlock(GETPROCESSHEAP); */; 357 349 358 dprintf(("KERNEL32: GlobalLock %x returned %x", hmem, palloc));359 350 return palloc; 360 351 }
Note:
See TracChangeset
for help on using the changeset viewer.