msvcirt: Add implementation of streambuf::dbp.

This commit is contained in:
Iván Matellanes 2015-06-29 10:01:58 +02:00 committed by Alexandre Julliard
parent 56f150b1c4
commit 6096dfe6d9
4 changed files with 22 additions and 6 deletions

View File

@ -667,6 +667,22 @@ int __thiscall streambuf_sputbackc(streambuf *this, char ch)
return call_streambuf_pbackfail(this, ch);
}
/* ?dbp@streambuf@@QAEXXZ */
/* ?dbp@streambuf@@QEAAXXZ */
DEFINE_THISCALL_WRAPPER(streambuf_dbp, 4)
void __thiscall streambuf_dbp(streambuf *this)
{
printf("\nSTREAMBUF DEBUG INFO: this=%p, ", this);
if (this->unbuffered) {
printf("unbuffered\n");
} else {
printf("_fAlloc=%d\n", this->allocated);
printf(" base()=%p, ebuf()=%p, blen()=%d\n", this->base, this->ebuf, streambuf_blen(this));
printf("pbase()=%p, pptr()=%p, epptr()=%d\n", this->pbase, this->pptr, this->epptr);
printf("eback()=%p, gptr()=%p, egptr()=%d\n", this->eback, this->gptr, this->egptr);
}
}
/******************************************************************
* ??1ios@@UAE@XZ (MSVCRTI.@)
* class ios & __thiscall ios::-ios<<(void)

View File

@ -437,8 +437,8 @@
@ thiscall -arch=win32 ?clrlock@streambuf@@QAEXXZ(ptr) streambuf_clrlock
@ cdecl -arch=win64 ?clrlock@streambuf@@QEAAXXZ(ptr) streambuf_clrlock
@ stub ?cout@@3Vostream_withassign@@A # class ostream_withassign cout
@ stub -arch=win32 ?dbp@streambuf@@QAEXXZ # void __thiscall streambuf::dbp(void)
@ stub -arch=win64 ?dbp@streambuf@@QEAAXXZ
@ thiscall -arch=win32 ?dbp@streambuf@@QAEXXZ(ptr) streambuf_dbp
@ cdecl -arch=win64 ?dbp@streambuf@@QEAAXXZ(ptr) streambuf_dbp
@ stub -arch=win32 ?dec@@YAAAVios@@AAV1@@Z # class ios & __cdecl dec(class ios &)
@ stub -arch=win64 ?dec@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?delbuf@ios@@QAEXH@Z # void __thiscall ios::delbuf(int)

View File

@ -425,8 +425,8 @@
@ thiscall -arch=win32 ?clrlock@streambuf@@QAEXXZ(ptr) msvcirt.?clrlock@streambuf@@QAEXXZ
@ cdecl -arch=win64 ?clrlock@streambuf@@QEAAXXZ(ptr) msvcirt.?clrlock@streambuf@@QEAAXXZ
@ stub ?cout@@3Vostream_withassign@@A
@ stub -arch=win32 ?dbp@streambuf@@QAEXXZ
@ stub -arch=win64 ?dbp@streambuf@@QEAAXXZ
@ thiscall -arch=win32 ?dbp@streambuf@@QAEXXZ(ptr) msvcirt.?dbp@streambuf@@QAEXXZ
@ cdecl -arch=win64 ?dbp@streambuf@@QEAAXXZ(ptr) msvcirt.?dbp@streambuf@@QEAAXXZ
@ stub -arch=win32 ?dec@@YAAAVios@@AAV1@@Z
@ stub -arch=win64 ?dec@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?delbuf@ios@@QAEXH@Z

View File

@ -490,8 +490,8 @@
@ thiscall -arch=win32 ?clrlock@streambuf@@QAEXXZ(ptr) msvcirt.?clrlock@streambuf@@QAEXXZ
@ cdecl -arch=win64 ?clrlock@streambuf@@QEAAXXZ(ptr) msvcirt.?clrlock@streambuf@@QEAAXXZ
@ stub ?cout@@3Vostream_withassign@@A
@ stub -arch=win32 ?dbp@streambuf@@QAEXXZ
@ stub -arch=win64 ?dbp@streambuf@@QEAAXXZ
@ thiscall -arch=win32 ?dbp@streambuf@@QAEXXZ(ptr) msvcirt.?dbp@streambuf@@QAEXXZ
@ cdecl -arch=win64 ?dbp@streambuf@@QEAAXXZ(ptr) msvcirt.?dbp@streambuf@@QEAAXXZ
@ stub -arch=win32 ?dec@@YAAAVios@@AAV1@@Z
@ stub -arch=win64 ?dec@@YAAEAVios@@AEAV1@@Z
@ stub -arch=win32 ?delbuf@ios@@QAEXH@Z