53 references to Status
System (53)
net\System\Net\_SafeNetHandles.cs (5)
2979
internal unsafe static _WinInetCache.
Status
GetAndLockFile(string key, byte* entryPtr, ref int entryBufSize, out SafeUnlockUrlCacheEntryFile handle) {
2994
unsafe private static _WinInetCache.
Status
MustRunGetAndLockFile(char* key, byte* entryPtr, ref int entryBufSize, SafeUnlockUrlCacheEntryFile handle) {
2995
_WinInetCache.
Status
error = _WinInetCache.
Status
.Success;
3003
error = (_WinInetCache.
Status
)Marshal.GetLastWin32Error();
net\System\Net\Cache\IERequestCache.cs (19)
130
if (_WinInetCache.Remove(entry) != _WinInetCache.
Status
.Success && entry.Error != _WinInetCache.
Status
.FileNotFound) {
163
if (_WinInetCache.Remove(entry) == _WinInetCache.
Status
.Success || entry.Error == _WinInetCache.
Status
.FileNotFound) {
172
_WinInetCache.
Status
status = _WinInetCache.LookupInfo(entry);
173
if (status == _WinInetCache.
Status
.Success) {
184
if (entry.Error != _WinInetCache.
Status
.Success && _WinInetCache.LookupInfo(entry) == _WinInetCache.
Status
.FileNotFound) {
185
entry.Error = _WinInetCache.
Status
.Success;
188
return entry.Error == _WinInetCache.
Status
.Success;
237
if (entry.Error == _WinInetCache.
Status
.Success) {
313
if (entry.Error != _WinInetCache.
Status
.FileNotFound)
462
if (entry.Error != _WinInetCache.
Status
.Success) {
586
if (entry.Error != _WinInetCache.
Status
.Success) {
1020
_WinInetCache.
Status
errorStatus = _WinInetCache.Remove(m_Entry);
1021
if (errorStatus != _WinInetCache.
Status
.Success && errorStatus != _WinInetCache.
Status
.FileNotFound)
1055
if (_WinInetCache.Commit(m_Entry) != _WinInetCache.
Status
.Success)
1089
if (_WinInetCache.Update(m_Entry, _WinInetCache.Entry_FC.ExemptDelta) != _WinInetCache.
Status
.Success)
net\System\Net\Cache\WinInetCache.cs (29)
188
public
Status
Error;
225
unsafe internal static
Status
LookupInfo(Entry entry) {
241
entry.Error =
Status
.Success;
245
entry.Error = (
Status
)Marshal.GetLastWin32Error();
246
if (entry.Error ==
Status
.InsufficientBuffer) {
278
if (entry.Error ==
Status
.Success) {
286
if (entry.Error ==
Status
.InsufficientBuffer) {
305
if (entry.Error ==
Status
.Success) {
306
entry.Error =
Status
.InternalError;
317
unsafe private static
Status
EntryFixup(Entry entry, EntryBuffer* bufferPtr, byte[] buffer) {
336
internal static
Status
CreateFileName(Entry entry) {
338
entry.Error =
Status
.Success;
342
return
Status
.Success;
344
entry.Error = (
Status
) Marshal.GetLastWin32Error();
352
internal static
Status
Commit(Entry entry) {
358
entry.Error =
Status
.InsufficientBuffer;
362
entry.Error =
Status
.Success;
380
entry.Error = (
Status
)Marshal.GetLastWin32Error();
391
internal static
Status
Update(Entry newEntry, Entry_FC attributes) {
397
newEntry.Error =
Status
.Success;
407
newEntry.Error = (
Status
)Marshal.GetLastWin32Error();
459
if (Update(oldEntry, Entry_FC.Attribute) !=
Status
.Success) {
475
if (Commit(newEntry) !=
Status
.Success) {
502
internal static
Status
Remove(Entry entry) {
503
entry.Error =
Status
.Success;
505
entry.Error = (
Status
)Marshal.GetLastWin32Error();
538
private static unsafe
Status
GetEntryHeaders(Entry entry, EntryBuffer* bufferPtr, byte[] buffer) {
539
entry.Error =
Status
.Success;
544
return
Status
.Success;