ReactOS 0.4.16-dev-1007-g2e85425
|
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "initguid.h"
#include "urlmon.h"
#include "wininet.h"
#include "mshtml.h"
#include "shlwapi.h"
#include "wine/test.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
#define | CONST_VTABLE |
#define | DEFINE_EXPECT(func) static BOOL expect_ ## func = FALSE, called_ ## func = FALSE |
#define | SET_EXPECT(func) do { called_ ## func = FALSE; expect_ ## func = TRUE; } while(0) |
#define | CHECK_EXPECT2(func) |
#define | CHECK_EXPECT(func) |
#define | CHECK_CALLED(func) |
#define | CHECK_NOT_CALLED(func) |
#define | CHECK_CALLED_BROKEN(func) |
#define | CLEAR_CALLED(func) expect_ ## func = called_ ## func = FALSE |
#define | BINDTEST_EMULATE 0x0001 |
#define | BINDTEST_TOOBJECT 0x0002 |
#define | BINDTEST_FILEDWLAPI 0x0004 |
#define | BINDTEST_HTTPRESPONSE 0x0008 |
#define | BINDTEST_REDIRECT 0x0010 |
#define | BINDTEST_USE_CACHE 0x0020 |
#define | BINDTEST_NO_CALLBACK_READ 0x0040 |
#define | BINDTEST_NO_CALLBACK 0x0080 |
#define | BINDTEST_ABORT 0x0100 |
#define | BINDTEST_INVALID_CN 0x0200 |
#define | BINDTEST_ABORT_START 0x0400 |
#define | BINDTEST_ABORT_PROGRESS 0x0800 |
#define | BINDTEST_ASYNC_SWITCH 0x1000 |
#define | BINDTEST_ALLOW_FINDINGRESOURCE 0x2000 |
Enumerations | |
enum | { HTTP_TEST , ABOUT_TEST , FILE_TEST , ITS_TEST , MK_TEST , HTTPS_TEST , FTP_TEST , WINETEST_TEST , WINETEST_SYNC_TEST } |
enum | { BEFORE_DOWNLOAD , DOWNLOADING , END_DOWNLOAD } |
anonymous enum |
Enumerator | |
---|---|
HTTP_TEST | |
ABOUT_TEST | |
FILE_TEST | |
ITS_TEST | |
MK_TEST | |
HTTPS_TEST | |
FTP_TEST | |
WINETEST_TEST | |
WINETEST_SYNC_TEST |
Definition at line 198 of file url.c.
anonymous enum |
Enumerator | |
---|---|
BEFORE_DOWNLOAD | |
DOWNLOADING | |
END_DOWNLOAD |
Definition at line 210 of file url.c.
Definition at line 3897 of file url.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3720 of file url.c.
Referenced by START_TEST().
DEFINE_EXPECT | ( | Abort | ) |
DEFINE_EXPECT | ( | BeginningTransaction | ) |
DEFINE_EXPECT | ( | Continue | ) |
DEFINE_EXPECT | ( | CreateInstance | ) |
DEFINE_EXPECT | ( | GetBindInfo | ) |
DEFINE_EXPECT | ( | GetBindInfoEx | ) |
DEFINE_EXPECT | ( | GetRootSecurityId | ) |
DEFINE_EXPECT | ( | GetWindow_ICodeInstall | ) |
DEFINE_EXPECT | ( | GetWindow_IHttpSecurity | ) |
DEFINE_EXPECT | ( | GetWindow_IWindowForBindingUI | ) |
DEFINE_EXPECT | ( | Load | ) |
DEFINE_EXPECT | ( | LockRequest | ) |
DEFINE_EXPECT | ( | Obj_GetBindInfo | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_BEGINDOWNLOADDATA | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_BEGINSYNCOPERATION | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_CACHEFILENAMEAVAILABLE | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_CLASSIDAVAILABLE | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_CONNECTING | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_ENDDOWNLOADDATA | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_ENDSYNCOPERATION | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_FINDINGRESOURCE | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_MIMETYPEAVAILABLE | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_REDIRECTING | ) |
DEFINE_EXPECT | ( | Obj_OnProgress_SENDINGREQUEST | ) |
DEFINE_EXPECT | ( | Obj_OnStartBinding | ) |
DEFINE_EXPECT | ( | Obj_OnStopBinding | ) |
DEFINE_EXPECT | ( | OnDataAvailable | ) |
DEFINE_EXPECT | ( | OnObjectAvailable | ) |
DEFINE_EXPECT | ( | OnProgress_BEGINDOWNLOADDATA | ) |
DEFINE_EXPECT | ( | OnProgress_CACHEFILENAMEAVAILABLE | ) |
DEFINE_EXPECT | ( | OnProgress_CONNECTING | ) |
DEFINE_EXPECT | ( | OnProgress_DOWNLOADINGDATA | ) |
DEFINE_EXPECT | ( | OnProgress_ENDDOWNLOADDATA | ) |
DEFINE_EXPECT | ( | OnProgress_FINDINGRESOURCE | ) |
DEFINE_EXPECT | ( | OnProgress_MIMETYPEAVAILABLE | ) |
DEFINE_EXPECT | ( | OnProgress_REDIRECTING | ) |
DEFINE_EXPECT | ( | OnProgress_SENDINGREQUEST | ) |
DEFINE_EXPECT | ( | OnResponse | ) |
DEFINE_EXPECT | ( | OnSecurityProblem | ) |
DEFINE_EXPECT | ( | OnStartBinding | ) |
DEFINE_EXPECT | ( | OnStopBinding | ) |
DEFINE_EXPECT | ( | PutProperty_CLASSIDPROP | ) |
DEFINE_EXPECT | ( | PutProperty_MIMETYPEPROP | ) |
DEFINE_EXPECT | ( | QueryInterface_IAuthenticate | ) |
DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallback | ) |
DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallbackEx | ) |
DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallbackHolder | ) |
DEFINE_EXPECT | ( | QueryInterface_IHttpNegotiate | ) |
DEFINE_EXPECT | ( | QueryInterface_IHttpNegotiate2 | ) |
DEFINE_EXPECT | ( | QueryInterface_IHttpSecurity | ) |
DEFINE_EXPECT | ( | QueryInterface_IInternetProtocol | ) |
DEFINE_EXPECT | ( | QueryInterface_IServiceProvider | ) |
DEFINE_EXPECT | ( | QueryInterface_IWindowForBindingUI | ) |
DEFINE_EXPECT | ( | QueryService_IAuthenticate | ) |
DEFINE_EXPECT | ( | QueryService_IHttpSecurity | ) |
DEFINE_EXPECT | ( | QueryService_IInternetBindInfo | ) |
DEFINE_EXPECT | ( | QueryService_IInternetProtocol | ) |
DEFINE_EXPECT | ( | QueryService_IWindowForBindingUI | ) |
DEFINE_EXPECT | ( | Read | ) |
DEFINE_EXPECT | ( | SetPriority | ) |
DEFINE_EXPECT | ( | Start | ) |
DEFINE_EXPECT | ( | Terminate | ) |
DEFINE_EXPECT | ( | UnlockRequest | ) |
DEFINE_GUID | ( | CLSID_IdentityUnmarshal | , |
0x0000001b | , | ||
0x0000 | , | ||
0x0000 | , | ||
0xc0 | , | ||
0x00 | , | ||
0x00 | , | ||
0x00 | , | ||
0x00 | , | ||
0x00 | , | ||
0x00 | , | ||
0x46 | |||
) |
DEFINE_GUID | ( | IID_IBindStatusCallbackHolder | , |
0x79eac9cc | , | ||
0xbaf9 | , | ||
0x11ce | , | ||
0x8c | , | ||
0x82 | , | ||
0x00 | , | ||
0xaa | , | ||
0x00 | , | ||
0x4b | , | ||
0xa9 | , | ||
0x0b | |||
) |
|
static |
|
static |
Definition at line 1243 of file url.c.
|
static |
Definition at line 1280 of file url.c.
|
static |
Definition at line 1262 of file url.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 1345 of file url.c.
|
static |
Definition at line 1360 of file url.c.
|
static |
|
static |
Definition at line 2868 of file url.c.
Referenced by test_BindToObject(), test_BindToStorage(), test_ReportResult(), test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 235 of file url.c.
Referenced by Protocol_QueryInterface(), Protocol_Start(), statusclb_OnProgress(), test_BindToObject(), test_BindToStorage(), test_ReportResult(), and test_URLDownloadToFile().
|
static |
|
static |
Definition at line 2171 of file url.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2235 of file url.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 925 of file url.c.
|
static |
|
static |
Definition at line 367 of file url.c.
|
static |
Definition at line 1100 of file url.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 580 of file url.c.
|
static |
|
static |
Definition at line 1072 of file url.c.
|
static |
|
static |
|
static |
Definition at line 216 of file url.c.
Referenced by test_BindToStorage().
Definition at line 3878 of file url.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
Definition at line 1403 of file url.c.
|
static |
START_TEST | ( | url | ) |
Definition at line 3923 of file url.c.
|
static |
|
static |
Definition at line 1943 of file url.c.
|
static |
|
static |
|
static |
Definition at line 1987 of file url.c.
|
static |
|
static |
|
static |
Definition at line 1656 of file url.c.
|
static |
Definition at line 1586 of file url.c.
|
static |
Definition at line 1850 of file url.c.
|
static |
Definition at line 1506 of file url.c.
|
static |
Definition at line 3269 of file url.c.
Definition at line 2933 of file url.c.
Referenced by START_TEST().
Definition at line 3791 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 2604 of file url.c.
Referenced by test_RegisterBindStatusCallback().
Definition at line 276 of file url.c.
Referenced by START_TEST().
Definition at line 2433 of file url.c.
Referenced by START_TEST().
Definition at line 2473 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 2558 of file url.c.
Referenced by test_bscholder().
Definition at line 2752 of file url.c.
Referenced by START_TEST().
Definition at line 3744 of file url.c.
Referenced by test_BindToStorage_fail().
Definition at line 3820 of file url.c.
Referenced by START_TEST().
Definition at line 1962 of file url.c.
Referenced by statusclb_OnDataAvailable().
Definition at line 408 of file url.c.
Referenced by thread_proc().
Definition at line 3472 of file url.c.
Referenced by START_TEST().
Definition at line 3575 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 1460 of file url.c.
Referenced by statusclb_OnProgress().
Definition at line 430 of file url.c.
Referenced by Protocol_Start().
|
static |
Definition at line 182 of file url.c.
Referenced by START_TEST(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), test_BindToStorage(), and test_URLDownloadToFile_abort().
Definition at line 190 of file url.c.
Referenced by init_bind_test(), statusclb_OnProgress(), statusclb_OnStopBinding(), and test_BindToStorage().
Definition at line 189 of file url.c.
Referenced by init_bind_test(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_BindToStorage().
Definition at line 155 of file url.c.
Referenced by test_BindToStorage_fail(), and test_ReportResult().
Definition at line 191 of file url.c.
Referenced by init_bind_test(), Protocol_Read(), Protocol_Start(), and test_BindToStorage().
Definition at line 173 of file url.c.
Referenced by init_bind_test(), navigate_bsc(), Protocol_Continue(), Protocol_Start(), statusclb_OnDataAvailable(), statusclb_OnProgress(), thread_proc(), and URLMoniker_BindToObject().
|
static |
Definition at line 174 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_GetBindInfo(), statusclb_OnDataAvailable(), test_BindToObject(), test_BindToStorage(), and test_GetBindInfoEx().
|
static |
Definition at line 180 of file url.c.
Referenced by HttpSecurity_OnSecurityProblem(), init_bind_test(), Protocol_Start(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), test_BindToObject(), test_BindToStorage(), and test_ReportResult().
|
static |
|
static |
Definition at line 193 of file url.c.
Referenced by init_bind_test(), and statusclb_OnProgress().
|
static |
Definition at line 2150 of file url.c.
Referenced by bind_script_to_text(), bind_url(), bsc_from_bctx(), bsch_from_bctx(), create_redirect_callback(), detach_bsc(), IBindHost_MonikerBindToObject_Proxy(), IBindHost_MonikerBindToObject_Stub(), IBindHost_MonikerBindToStorage_Proxy(), IBindHost_MonikerBindToStorage_Stub(), impl_from_BSCallback(), navigate_bsc(), navigate_hlink(), navigate_new_window(), nsChannelBSC_beginning_transaction(), nsChannelBSC_destroy(), nsChannelBSC_from_BSCallback(), nsChannelBSC_init_bindinfo(), nsChannelBSC_on_progress(), nsChannelBSC_on_response(), nsChannelBSC_read_data(), nsChannelBSC_start_binding(), nsChannelBSC_stop_binding(), PersistMoniker_Load(), RegisterBindStatusCallback(), ScriptBSC_destroy(), ScriptBSC_read_data(), ScriptBSC_start_binding(), ScriptBSC_stop_binding(), send_command(), send_command_finish(), set_callback(), super_navigate(), test_BindToStorage(), test_bsc_marshaling(), test_CreateAsyncBindCtx(), test_CreateAsyncBindCtxEx(), test_RegisterBindStatusCallback(), test_ReportResult(), test_StdURLMoniker(), test_URLDownloadToFile(), test_URLDownloadToFile_abort(), and wrap_callback().
|
static |
Definition at line 2151 of file url.c.
Referenced by test_RegisterBindStatusCallback().
Definition at line 159 of file url.c.
Referenced by Moniker_BindToStorage(), and test_RegisterBindStatusCallback().
Definition at line 185 of file url.c.
Referenced by create_cache_file(), Protocol_Continue(), and statusclb_OnDataAvailable().
Definition at line 166 of file url.c.
Referenced by Protocol_Continue(), and statusclb_OnDataAvailable().
|
static |
Definition at line 184 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and test_BindToStorage().
|
static |
|
extern |
|
static |
Definition at line 179 of file url.c.
Referenced by init_bind_test(), Protocol_LockRequest(), Protocol_Read(), Protocol_Terminate(), START_TEST(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), test_RegisterWaitForSingleObject(), testWaitForConsoleInput(), and thread_proc().
|
static |
Definition at line 179 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_OnStopBinding(), test_BindToStorage(), and thread_proc().
|
static |
Definition at line 178 of file url.c.
Referenced by statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_switch_fail().
|
static |
Definition at line 196 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), init_bind_test(), Protocol_Continue(), Protocol_Start(), statusclb_OnProgress(), test_BindToObject(), test_BindToStorage(), test_bscholder(), test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 173 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and test_BindToStorage().
enum { ... } download_state |
Referenced by init_bind_test(), statusclb_OnDataAvailable(), statusclb_OnProgress(), and test_WinInetHttpInfo().
Definition at line 167 of file url.c.
Referenced by test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 168 of file url.c.
Referenced by test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 170 of file url.c.
Referenced by Protocol_Start(), test_bscholder(), and test_CreateURLMoniker().
Definition at line 172 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), statusclb_QueryInterface(), test_BindToObject(), test_BindToStorage(), and test_URLDownloadToFile().
|
static |
Definition at line 196 of file url.c.
Referenced by init_bind_test(), Protocol_Start(), set_file_url(), statusclb_OnDataAvailable(), statusclb_OnProgress(), and test_UrlGetPart().
|
static |
Definition at line 173 of file url.c.
Referenced by init_bind_test(), Protocol_Start(), statusclb_OnProgress(), and statusclb_OnStopBinding().
|
static |
Definition at line 183 of file url.c.
Referenced by test_BindToObject(), test_BindToStorage(), test_bscholder(), and test_URLDownloadToFile().
Definition at line 186 of file url.c.
Referenced by statusclb_OnDataAvailable(), and statusclb_OnStopBinding().
Definition at line 173 of file url.c.
Referenced by START_TEST(), test_BindToObject(), and test_BindToStorage().
|
static |
Definition at line 1316 of file url.c.
Referenced by statusclb_QueryInterface().
|
static |
|
static |
Definition at line 1385 of file url.c.
Referenced by ServiceProvider_QueryService().
|
static |
|
static |
Definition at line 46 of file url.c.
Referenced by ServiceProvider_QueryService(), and statusclb_QueryInterface().
|
static |
Definition at line 365 of file url.c.
Referenced by Protocol_QueryInterface().
|
static |
Definition at line 188 of file url.c.
Referenced by START_TEST(), and test_BindToStorage().
|
static |
Definition at line 183 of file url.c.
Referenced by init_bind_test(), and statusclb_OnDataAvailable().
|
static |
Definition at line 2394 of file url.c.
Referenced by test_BindToObject().
|
static |
Definition at line 176 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and statusclb_OnProgress().
|
static |
Definition at line 2195 of file url.c.
Referenced by PersistMoniker_QueryInterface().
|
static |
|
static |
Definition at line 184 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), Protocol_LockRequest(), Protocol_Read(), Protocol_Start(), Protocol_Terminate(), test_BindToStorage(), and thread_proc().
|
static |
Definition at line 1458 of file url.c.
Referenced by statusclb_GetBindInfo(), statusclb_OnDataAvailable(), statusclb_OnObjectAvailable(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_BindToObject().
Definition at line 187 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_OnStopBinding(), and test_BindToStorage().
|
static |
Definition at line 181 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), HttpSecurity_OnSecurityProblem(), START_TEST(), statusclb_OnProgress(), and test_BindToStorage().
|
static |
Definition at line 2341 of file url.c.
Referenced by ClassFactory_CreateInstance(), and test_BindToObject().
|
static |
|
static |
Definition at line 173 of file url.c.
Referenced by init_bind_test(), and test_BindToObject().
|
static |
Definition at line 174 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), Protocol_Read(), Protocol_Start(), statusclb_OnDataAvailable(), and thread_proc().
|
static |
Definition at line 1218 of file url.c.
Referenced by ProtocolCF_CreateInstance(), and statusclb_QueryInterface().
|
static |
Definition at line 2431 of file url.c.
Referenced by register_protocols().
|
static |
Definition at line 177 of file url.c.
Referenced by Protocol_Abort(), Protocol_Continue(), Protocol_Read(), Protocol_Start(), Protocol_Terminate(), and thread_proc().
|
static |
|
static |
|
static |
Definition at line 174 of file url.c.
Referenced by Protocol_Read(), and Protocol_Start().
Definition at line 175 of file url.c.
Referenced by Protocol_Continue(), and Protocol_Start().
|
static |
Definition at line 174 of file url.c.
Referenced by HttpSecurity_OnSecurityProblem(), and test_BindToStorage().
|
static |
Definition at line 1456 of file url.c.
Referenced by statusclb_QueryInterface().
|
static |
Definition at line 172 of file url.c.
Referenced by init_bind_test(), statusclb_OnStopBinding(), test_BindToObject(), and test_BindToStorage().
Definition at line 172 of file url.c.
Referenced by init_bind_test(), statusclb_OnStopBinding(), and test_BindToObject().
|
static |
Definition at line 192 of file url.c.
Referenced by statusclb_QueryInterface(), and test_RegisterBindStatusCallback().
|
static |
Definition at line 184 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), statusclb_OnProgress(), and thread_proc().
Definition at line 194 of file url.c.
Referenced by create_file(), and START_TEST().
enum { ... } test_protocol |
Referenced by init_bind_test(), PersistMoniker_Load(), Protocol_Continue(), Protocol_QueryInterface(), Protocol_Read(), Protocol_Start(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), test_BindToObject(), test_BindToStorage(), test_ReportResult(), test_URLDownloadToFile(), and test_WinInetHttpInfo().
Definition at line 184 of file url.c.
Referenced by init_bind_test(), PersistMoniker_Load(), Protocol_Continue(), and thread_proc().
Definition at line 169 of file url.c.
Referenced by create_cache_file(), and START_TEST().
|
static |
Definition at line 174 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), HttpNegotiate_GetRootSecurityId(), HttpNegotiate_OnResponse(), PersistMoniker_Load(), Protocol_Continue(), START_TEST(), statusclb_GetBindInfo(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and statusclb_QueryInterface().
|
static |
Definition at line 174 of file url.c.
Referenced by init_bind_test(), init_fmtetc(), IsFormatAdvertised_(), Protocol_Start(), statusclb_OnDataAvailable(), test_BindToStorage(), test_http_protocol_url(), test_pack_RemFORMATETC(), and anonymous_namespace{mstscax.cpp}::CoClass::TymedToString().
|
static |
Definition at line 183 of file url.c.
Referenced by statusclb_QueryInterface(), and test_GetBindInfoEx().
|
static |
Definition at line 184 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), statusclb_OnDataAvailable(), and test_BindToStorage().
Definition at line 152 of file url.c.
Referenced by init_bind_test(), statusclb_OnProgress(), test_create(), and thread_proc().
Definition at line 165 of file url.c.
Referenced by create_html_file().
Definition at line 157 of file url.c.
Referenced by AboutProtocol_Start(), continue_binding(), MonikerProp_PutProperty(), Protocol_Continue(), and Protocol_Start().
Definition at line 163 of file url.c.
Referenced by thread_proc().
Definition at line 161 of file url.c.
Referenced by thread_proc().