2 writes to dataBuf
System (2)
services\monitoring\system\diagnosticts\EventLogEntry.cs (2)
42
this.
dataBuf
= buf;
53
dataBuf
= (byte[])info.GetValue("DataBuffer", typeof(byte[]));
28 references to dataBuf
System (28)
services\monitoring\system\diagnosticts\EventLogEntry.cs (28)
71
while (CharFrom(
dataBuf
, pos) != '\0')
74
char ch = CharFrom(
dataBuf
, pos);
79
ch = CharFrom(
dataBuf
, pos);
96
int dataLen = IntFrom(
dataBuf
, bufOffset + FieldOffsets.DATALENGTH);
98
Array.Copy(
dataBuf
, bufOffset + IntFrom(
dataBuf
, bufOffset + FieldOffsets.DATAOFFSET),
134
return IntFrom(
dataBuf
, bufOffset + FieldOffsets.RECORDNUMBER);
171
return ShortFrom(
dataBuf
, bufOffset + FieldOffsets.EVENTCATEGORY);
191
return IntFrom(
dataBuf
, bufOffset + FieldOffsets.EVENTID) & 0x3FFFFFFF;
206
return(EventLogEntryType) ShortFrom(
dataBuf
, bufOffset + FieldOffsets.EVENTTYPE);
224
int msgId = IntFrom(
dataBuf
, bufOffset + FieldOffsets.EVENTID);
258
char ch = CharFrom(
dataBuf
, pos);
262
ch = CharFrom(
dataBuf
, pos);
279
string[] strings = new string[ShortFrom(
dataBuf
, bufOffset + FieldOffsets.NUMSTRINGS)];
281
int bufpos = bufOffset + IntFrom(
dataBuf
, bufOffset + FieldOffsets.STRINGOFFSET);
284
char ch = CharFrom(
dataBuf
, bufpos);
304
return (UInt32)IntFrom(
dataBuf
, bufOffset + FieldOffsets.EVENTID);
336
return beginningOfTime.AddSeconds(IntFrom(
dataBuf
, bufOffset + FieldOffsets.TIMEGENERATED)).ToLocalTime();
350
return beginningOfTime.AddSeconds(IntFrom(
dataBuf
, bufOffset + FieldOffsets.TIMEWRITTEN)).ToLocalTime();
363
int sidLen = IntFrom(
dataBuf
, bufOffset + FieldOffsets.USERSIDLENGTH);
367
Array.Copy(
dataBuf
, bufOffset + IntFrom(
dataBuf
, bufOffset + FieldOffsets.USERSIDOFFSET),
401
int ourLen = IntFrom(
dataBuf
, bufOffset + FieldOffsets.LENGTH);
402
int theirLen = IntFrom(otherEntry.
dataBuf
, otherEntry.bufOffset + FieldOffsets.LENGTH);
410
if (
dataBuf
[i] != otherEntry.
dataBuf
[j]) {
560
int len = IntFrom(
dataBuf
, bufOffset + FieldOffsets.LENGTH);
562
Array.Copy(
dataBuf
, bufOffset, buf, 0, len);