2 writes to _ecb
System.Web (2)
Hosting\ISAPIWorkerRequest.cs (2)
953
_ecb
= IntPtr.Zero;
991
_ecb
= ecb;
100 references to _ecb
System.Web (100)
Hosting\ISAPIWorkerRequest.cs (100)
885
if (
_ecb
== IntPtr.Zero)
1001
return
_ecb
;
1702
if (
_ecb
== IntPtr.Zero)
1705
return UnsafeNativeMethods.EcbGetBasics(
_ecb
, buffer, size, contentInfo);
1709
if (
_ecb
== IntPtr.Zero)
1712
return UnsafeNativeMethods.EcbGetQueryString(
_ecb
, encode, buffer, size);
1716
if (
_ecb
== IntPtr.Zero)
1719
return UnsafeNativeMethods.EcbGetQueryStringRawBytes(
_ecb
, buffer, size);
1723
if (
_ecb
== IntPtr.Zero)
1726
int rc = UnsafeNativeMethods.EcbGetPreloadedPostedContent(
_ecb
, bytes, offset, numBytesToRead);
1733
if (
_ecb
== IntPtr.Zero)
1742
rc = UnsafeNativeMethods.EcbGetAdditionalPostedContent(
_ecb
, bytes, offset, bufferSize);
1755
if (
_ecb
== IntPtr.Zero)
1758
return UnsafeNativeMethods.EcbGetClientCertificate(
_ecb
, buffer, buffer.Length, pInts, pDates);
1763
if (
_ecb
== IntPtr.Zero)
1766
return UnsafeNativeMethods.EcbIsClientConnected(
_ecb
);
1782
if (
_ecb
== IntPtr.Zero)
1786
_ecb
,
1802
if (
_ecb
== IntPtr.Zero)
1805
return UnsafeNativeMethods.EcbCloseConnection(
_ecb
);
1809
if (
_ecb
== IntPtr.Zero)
1812
return UnsafeNativeMethods.EcbMapUrlToPath(
_ecb
, url, buffer, size);
1816
if (_token == IntPtr.Zero &&
_ecb
!= IntPtr.Zero)
1817
_token = UnsafeNativeMethods.EcbGetImpersonationToken(
_ecb
, IntPtr.Zero);
1822
if (_token == IntPtr.Zero &&
_ecb
!= IntPtr.Zero)
1823
_token = UnsafeNativeMethods.EcbGetVirtualPathToken(
_ecb
, IntPtr.Zero);
1829
if (
_ecb
== IntPtr.Zero)
1832
return UnsafeNativeMethods.EcbAppendLogParameter(
_ecb
, logParam);
1837
if (
_ecb
== IntPtr.Zero)
1844
int retVal = UnsafeNativeMethods.EcbGetServerVariable(
_ecb
, name, buf.Buffer, buf.Buffer.Length);
1848
retVal = UnsafeNativeMethods.EcbGetServerVariable(
_ecb
, name, buf.Buffer, buf.Buffer.Length);
1861
if (
_ecb
== IntPtr.Zero)
1876
int retVal = UnsafeNativeMethods.EcbGetServerVariableByIndex(
_ecb
, nameIndex, buf.Buffer, buf.Buffer.Length);
1880
retVal = UnsafeNativeMethods.EcbGetServerVariableByIndex(
_ecb
, nameIndex, buf.Buffer, buf.Buffer.Length);
2005
if (
_ecb
== IntPtr.Zero)
2008
return UnsafeNativeMethods.EcbCallISAPI(
_ecb
, iFunction, bufIn, bufIn.Length, bufOut, bufOut.Length);
2021
hr = UnsafeNativeMethods.EcbGetChannelBindingToken(
_ecb
, out token, out tokenSize);
2050
if (IntPtr.Zero !=
_ecb
) {
2055
UnsafeNativeMethods.EcbEmitSimpleTrace(
_ecb
, (int)traceType, message);
2061
if (IntPtr.Zero !=
_ecb
) {
2069
UnsafeNativeMethods.EcbEmitWebEventTrace(
_ecb
, webEventType, fieldCount, fieldNames, fieldTypes, fieldData);
2110
if (
_ecb
== IntPtr.Zero)
2139
UnsafeNativeMethods.EcbGetBasicsContentInfo(
_ecb
, contentInfo);
2153
if (
_ecb
== IntPtr.Zero)
2167
int hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(
_ecb
, buffer.PinnedAddress, buffer.Length,
2172
hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(
_ecb
, buffer.PinnedAddress, buffer.Length,
2198
if (
_ecb
== IntPtr.Zero)
2213
int hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(
_ecb
, buffer.PinnedAddress, buffer.Length,
2217
hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(
_ecb
, buffer.PinnedAddress, buffer.Length,
2272
if (
_ecb
== IntPtr.Zero)
2274
int r = UnsafeNativeMethods.EcbGetUnicodeServerVariable(
_ecb
, name, buffer.PinnedAddress, buffer.Length);
2278
r = UnsafeNativeMethods.EcbGetUnicodeServerVariable(
_ecb
, name, buffer.PinnedAddress, buffer.Length);
2288
if (
_ecb
== IntPtr.Zero)
2290
int r = UnsafeNativeMethods.EcbGetUnicodeServerVariableByIndex(
_ecb
, nameIndex, buffer.PinnedAddress, buffer.Length);
2294
r = UnsafeNativeMethods.EcbGetUnicodeServerVariableByIndex(
_ecb
, nameIndex, buffer.PinnedAddress, buffer.Length);
2342
if (
_ecb
== IntPtr.Zero)
2388
_ecb
,
2415
UnsafeNativeMethods.EcbFlushCore(
_ecb
, null, null, 0, 0, 0, null, null, 1, _asyncFinalStatus, 0, 0, null);
2490
if (
_ecb
== IntPtr.Zero || _disableKernelCache)
2527
if (
_ecb
== IntPtr.Zero) {
2605
if (
_ecb
== IntPtr.Zero)
2628
hresult = UnsafeNativeMethods.EcbReadClientAsync(
_ecb
,
2695
if (
_ecb
== IntPtr.Zero || // after done with session
2721
rc = UnsafeNativeMethods.EcbExecuteUrlUnicode(
_ecb
,
2834
if (
_ecb
== IntPtr.Zero)
2838
int r = UnsafeNativeMethods.PMGetAllServerVariables(
_ecb
, buf.Buffer, buf.Buffer.Length);
2842
r = UnsafeNativeMethods.PMGetAllServerVariables(
_ecb
, buf.Buffer, buf.Buffer.Length);
2870
if (
_ecb
== IntPtr.Zero)
2873
return UnsafeNativeMethods.PMGetBasics(
_ecb
, buffer, size, contentInfo);
2877
if (
_ecb
== IntPtr.Zero)
2880
return UnsafeNativeMethods.PMGetQueryString(
_ecb
, encode, buffer, size);
2884
if (
_ecb
== IntPtr.Zero)
2887
return UnsafeNativeMethods.PMGetQueryStringRawBytes(
_ecb
, buffer, size);
2891
if (
_ecb
== IntPtr.Zero)
2893
int rc = UnsafeNativeMethods.PMGetPreloadedPostedContent(
_ecb
, bytes, offset, numBytesToRead);
2900
if (
_ecb
== IntPtr.Zero)
2902
int rc = UnsafeNativeMethods.PMGetAdditionalPostedContent(
_ecb
, bytes, offset, bufferSize);
2909
if (
_ecb
== IntPtr.Zero)
2912
return UnsafeNativeMethods.PMIsClientConnected(
_ecb
);
2961
if (
_ecb
== IntPtr.Zero)
2991
_ecb
,
3009
_ecb
,
3024
if (
_ecb
== IntPtr.Zero)
3027
return UnsafeNativeMethods.PMCloseConnection(
_ecb
);
3031
if (
_ecb
== IntPtr.Zero)
3034
return UnsafeNativeMethods.PMMapUrlToPath(
_ecb
, url, buffer, size);
3038
if (_token == IntPtr.Zero &&
_ecb
!= IntPtr.Zero)
3039
_token = UnsafeNativeMethods.PMGetImpersonationToken(
_ecb
);
3045
if (_token == IntPtr.Zero &&
_ecb
!= IntPtr.Zero)
3046
_token = UnsafeNativeMethods.PMGetVirtualPathToken(
_ecb
);
3052
if (
_ecb
== IntPtr.Zero)
3055
return UnsafeNativeMethods.PMAppendLogParameter(
_ecb
, logParam);
3059
if (
_ecb
== IntPtr.Zero)
3062
return UnsafeNativeMethods.PMGetClientCertificate(
_ecb
, buffer, buffer.Length, pInts, pDates);
3077
if (
_ecb
== IntPtr.Zero)
3080
return UnsafeNativeMethods.PMCallISAPI(
_ecb
, iFunction, bufIn, bufIn.Length, bufOut, bufOut.Length);
3084
if (
_ecb
== IntPtr.Zero)
3087
UnsafeNativeMethods.PMEmptyResponse(
_ecb
);
3091
if (
_ecb
== IntPtr.Zero || _useBaseTime)
3094
long fileTime = UnsafeNativeMethods.PMGetStartTimeStamp(
_ecb
);