Home
last modified time | relevance | path

Searched refs:ok_eq_uint (Results 1 – 25 of 30) sorted by relevance

12

/reactos/modules/rostests/kmtests/hidparse/
H A DHidPDescription.c173 ok_eq_uint(DeviceDescription.ReportIDs[0].ReportID, 0); in TestGetCollectionDescription()
175 ok_eq_uint(DeviceDescription.ReportIDs[0].InputLength, 8); in TestGetCollectionDescription()
176 ok_eq_uint(DeviceDescription.ReportIDs[0].OutputLength, 1); in TestGetCollectionDescription()
204 ok_eq_uint(DeviceDescription.ReportIDs[0].ReportID, 1); in TestGetCollectionDescription()
206 ok_eq_uint(DeviceDescription.ReportIDs[0].InputLength, 49); in TestGetCollectionDescription()
212 ok_eq_uint(DeviceDescription.ReportIDs[1].ReportID, 2); in TestGetCollectionDescription()
214 ok_eq_uint(DeviceDescription.ReportIDs[1].InputLength, 0); in TestGetCollectionDescription()
220 ok_eq_uint(DeviceDescription.ReportIDs[2].ReportID, 238); in TestGetCollectionDescription()
222 ok_eq_uint(DeviceDescription.ReportIDs[2].InputLength, 0); in TestGetCollectionDescription()
228 ok_eq_uint(DeviceDescription.ReportIDs[3].ReportID, 239); in TestGetCollectionDescription()
[all …]
/reactos/modules/rostests/kmtests/rtl/
H A DRtlUnicodeString.c32 ok_eq_uint(Position, 6); in TestFindCharInUnicodeString()
37 ok_eq_uint(Position, 10); in TestFindCharInUnicodeString()
42 ok_eq_uint(Position, 2); in TestFindCharInUnicodeString()
47 ok_eq_uint(Position, 24); in TestFindCharInUnicodeString()
53 ok_eq_uint(Position, 0); in TestFindCharInUnicodeString()
58 ok_eq_uint(Position, 0); in TestFindCharInUnicodeString()
63 ok_eq_uint(Position, 2); in TestFindCharInUnicodeString()
74 ok_eq_uint(Position, 6); in TestFindCharInUnicodeString()
84 ok_eq_uint(Position, 4); in TestFindCharInUnicodeString()
101 ok_eq_uint(Position, 0); in TestFindCharInUnicodeString()
[all …]
H A DRtlStrSafe.c46 ok_eq_uint(UsString.Length, sizeof(FormatStringIntsResult) - sizeof(WCHAR)); in Test_RtlUnicodeStringPrintf()
47 ok_eq_uint(UsString.MaximumLength, BufferSize); in Test_RtlUnicodeStringPrintf()
64 ok_eq_uint(UsString.Length, UsString.MaximumLength); in Test_RtlUnicodeStringPrintf()
81 ok_eq_uint(UsString.Length, UsString.MaximumLength); in Test_RtlUnicodeStringPrintf()
129 ok_eq_uint(UsString.Length, sizeof(FormatStringIntsResult) - sizeof(WCHAR)); in Test_RtlUnicodeStringPrintfEx()
130 ok_eq_uint(UsString.MaximumLength, BufferSize); in Test_RtlUnicodeStringPrintfEx()
133 ok_eq_uint(RemString.Length, 0); in Test_RtlUnicodeStringPrintfEx()
134 ok_eq_uint(RemString.MaximumLength, UsString.MaximumLength - UsString.Length); in Test_RtlUnicodeStringPrintfEx()
156 ok_eq_uint(UsString.Length, UsString.MaximumLength); in Test_RtlUnicodeStringPrintfEx()
159 ok_eq_uint(RemString.Length, 0); in Test_RtlUnicodeStringPrintfEx()
[all …]
H A DRtlMemory.c173 ok_eq_uint(Buffer[i], 0x55); in START_TEST()
175 ok_eq_uint(Buffer[i], 0xAA); in START_TEST()
181 ok_eq_uint(Buffer[i+0], 0x11); in START_TEST()
182 ok_eq_uint(Buffer[i+1], 0x22); in START_TEST()
183 ok_eq_uint(Buffer[i+2], 0x33); in START_TEST()
186 ok_eq_uint(Buffer[i], 0x44); in START_TEST()
188 ok_eq_uint(Buffer[i], 0x55); in START_TEST()
190 ok_eq_uint(Buffer[i], 0xAA); in START_TEST()
/reactos/modules/rostests/kmtests/ntos_ob/
H A DObSymbolicLink.c44 ok_eq_uint(QueriedTarget.Length, 0); in TestQueryLink()
45 ok_eq_uint(QueriedTarget.MaximumLength, 0); in TestQueryLink()
59 ok_eq_uint(QueriedTarget.Length, 0); in TestQueryLink()
62 ok_eq_uint(QueriedTarget.Buffer[0], 0x5555); in TestQueryLink()
80 ok_eq_uint(QueriedTarget.Length, 0); in TestQueryLink()
81 ok_eq_uint(QueriedTarget.Buffer[0], 0x5555); in TestQueryLink()
87 ok_eq_uint(QueriedTarget.Length, ExpectedTarget->Length); in TestQueryLink()
107 ok_eq_uint(QueriedTarget.Length, 0); in TestQueryLink()
108 ok_eq_uint(QueriedTarget.Buffer[0], 0x5555); in TestQueryLink()
129 ok_eq_uint(QueriedTarget.Length, ExpectedTarget->Length); in TestQueryLink()
[all …]
H A DObType.c265 ok_eq_uint(Counts.Open, OpenCount); \
266 ok_eq_uint(Counts.Close, CloseCount); \
267 ok_eq_uint(Counts.Delete, DeleteCount); \
268 ok_eq_uint(Counts.Parse, ParseCount); \
269 ok_eq_uint(Counts.OkayToClose, OkayToCloseCount); \
270 ok_eq_uint(Counts.QueryName, QueryNameCount); \
H A DObQuery.c157 ok_eq_uint(ObjectName->MaximumLength, ObjectName->Length + sizeof(WCHAR)); in ObjectNameInformationTests()
/reactos/modules/rostests/kmtests/ntos_se/
H A DSeInheritance.c171 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
181 ok_eq_uint(OwnerDefaulted, FALSE); in TestSeAssignSecurity()
183 ok_eq_uint(GroupDefaulted, FALSE); in TestSeAssignSecurity()
205 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
254 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
290 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
330 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
366 ok_eq_uint(DaclDefaulted, FALSE); in TestSeAssignSecurity()
930 ok_eq_uint(Present, TRUE); in TestObRootSecurity()
933 ok_eq_uint(Defaulted, FALSE); in TestObRootSecurity()
[all …]
/reactos/modules/rostests/kmtests/ntos_po/
H A DPoIrp_drv.c128 ok_eq_uint(MinorFunction, IRP_MN_SET_POWER); in RequestedPowerCompletion()
129 ok_eq_uint(PowerState.DeviceState, PowerDeviceD0); in RequestedPowerCompletion()
137 ok_eq_uint(Irp->StackCount, 5); in RequestedPowerCompletion()
138 ok_eq_uint(Irp->CurrentLocation, 4); in RequestedPowerCompletion()
141 ok_eq_uint(IoStackLocation->MajorFunction, 0); in RequestedPowerCompletion()
142 ok_eq_uint(IoStackLocation->MinorFunction, 0); in RequestedPowerCompletion()
163 ok_eq_uint(Irp->StackCount, 5); in RequestedPowerIrpHandler()
167 ok_eq_uint(IoStackLocation->MajorFunction, IRP_MJ_POWER); in RequestedPowerIrpHandler()
175 ok_eq_uint(Irp->CurrentLocation, 3); in RequestedPowerIrpHandler()
184 ok_eq_uint(Irp->CurrentLocation, 3); in RequestedPowerIrpHandler()
[all …]
/reactos/modules/rostests/kmtests/ntos_ke/
H A DKeIrql.c45 ok_eq_uint(Irql2, PrevIrql); in START_TEST()
55 ok_eq_uint(Irql, PASSIVE_LEVEL); in START_TEST()
64 ok_eq_uint(Irql2, PrevIrql); in START_TEST()
74 ok_eq_uint(Irql2, PrevIrql); in START_TEST()
99 ok_eq_uint(Irql, PASSIVE_LEVEL); in START_TEST()
102 ok_eq_uint(Irql, DISPATCH_LEVEL); in START_TEST()
109 ok_eq_uint(Irql, PASSIVE_LEVEL); in START_TEST()
112 ok_eq_uint(Irql, SynchIrql); in START_TEST()
131 ok_eq_uint(Irql, PASSIVE_LEVEL); in START_TEST()
H A DKeDpc.c38 ok_eq_uint(Dpc->Type, DpcObject); in DpcHandler()
39 ok_eq_uint(Dpc->Importance, DpcImportance); in DpcHandler()
40 ok_eq_uint(Dpc->Number, 0); in DpcHandler()
57 ok_eq_uint(Prcb->DpcRoutineActive, 1); in DpcHandler()
80 ok_eq_uint(Dpc.Type, DpcObject); in START_TEST()
81 ok_eq_uint(Dpc.Importance, DpcImportance); in START_TEST()
82 ok_eq_uint(Dpc.Number, 0); in START_TEST()
H A DKeMutex.c26 ok_eq_uint((Mutex)->Header.Type, MutantObject); \
27 ok_eq_uint((Mutex)->Header.Abandoned, 0x55); \
28 ok_eq_uint((Mutex)->Header.Size, MUTANT_SIZE); \
29 ok_eq_uint((Mutex)->Header.DpcActive, 0x55); \
57 ok_eq_uint((Mutex)->Abandoned, 0); \
58 ok_eq_uint((Mutex)->ApcDisable, ExpectedApcDisable); \
H A DKeTimer.c16 ok_eq_uint((Timer)->Header.Type, ExpectedType); \
17 ok_eq_uint((Timer)->Header.Hand, sizeof *(Timer) / sizeof(ULONG)); \
H A DKeEvent.c16 ok_eq_uint((Event)->Header.Type, ExpectedType); \
17 ok_eq_uint((Event)->Header.Hand, sizeof *(Event) / sizeof(ULONG)); \
92 ok_eq_uint(Thread->WaitIrql, OriginalIrql); in TestEventFunctional()
101 ok_eq_uint(Thread->WaitIrql, OriginalIrql); in TestEventFunctional()
H A DKeSpinLock.c188 ok_eq_uint((CheckData)->Irql, (CheckData)->OriginalIrql); \
195 ok_eq_uint((CheckData)->Irql, (CheckData)->OriginalIrql); \
218 ok_eq_uint((CheckData)->QueueHandle.OldIrql, (CheckData)->OriginalIrql); \
281 ok_eq_uint(CheckData->Irql, CheckData->IrqlWhenAcquired); in TestSpinLock()
/reactos/modules/rostests/kmtests/npfs/
H A DNpfsReadWrite.c248 ok_eq_uint(ReadBuffer[0], 'A'); in TestReadWrite()
261 ok_eq_uint(ReadBuffer[0], 'B'); in TestReadWrite()
272 ok_eq_uint(ReadBuffer[0], 'C'); in TestReadWrite()
285 ok_eq_uint(ReadBuffer[0], 'D'); in TestReadWrite()
313 ok_eq_uint(ReadBuffer[0], 'X'); in TestReadWrite()
317 ok_eq_uint(ReadBuffer[0], 'E'); in TestReadWrite()
335 ok_eq_uint(ReadBuffer[0], 'X'); in TestReadWrite()
339 ok_eq_uint(ReadBuffer[0], 'F'); in TestReadWrite()
352 ok_eq_uint(ReadBuffer[0], 'X'); in TestReadWrite()
394 ok_eq_uint(ReadBuffer[0], 'X'); in TestReadWrite()
[all …]
/reactos/modules/rostests/kmtests/ntos_io/
H A DIoEvent.c49 ok_eq_uint(Event->Header.Type, Type); in TestCreateEvent()
65 ok_eq_uint(Event->Header.Type, Type); in TestCreateEvent()
104 ok_eq_uint(Event->Header.Type, NotificationEvent); in START_TEST()
110 ok_eq_uint(Event2->Header.Type, NotificationEvent); in START_TEST()
H A DIoDeviceObject_drv.c190 ok_eq_uint(RegistryPath->MaximumLength, RegistryPath->Length); in TestDriverObject()
196ok_eq_uint((KmtGetPoolType(DriverObject->DriverExtension->ServiceKeyName.Buffer) - 1) & BASE_POOL_… in TestDriverObject()
197ok_eq_uint(DriverObject->DriverExtension->ServiceKeyName.MaximumLength, DriverObject->DriverExtens… in TestDriverObject()
198ok_eq_uint(DriverObject->DriverExtension->ServiceKeyName.Buffer[DriverObject->DriverExtension->Ser… in TestDriverObject()
204ok_eq_uint((KmtGetPoolType(DriverObject->DriverName.Buffer) - 1) & BASE_POOL_TYPE_MASK, PagedPool); in TestDriverObject()
205 ok_eq_uint(DriverObject->DriverName.MaximumLength, DriverObject->DriverName.Length); in TestDriverObject()
211ok_eq_uint(DriverObject->HardwareDatabase->MaximumLength, DriverObject->HardwareDatabase->Length +… in TestDriverObject()
212ok_eq_uint(DriverObject->HardwareDatabase->Buffer[DriverObject->HardwareDatabase->Length / sizeof(… in TestDriverObject()
H A DIoReadWrite_user.c119 ok_eq_uint(Buffer[0], 0x55); in TestRead()
154 ok_eq_uint(Buffer[0], 0x44); in TestRead()
155 ok_eq_uint(Buffer[TEST_FILE_SIZE - 1], 0x44); in TestRead()
156 ok_eq_uint(Buffer[TEST_FILE_SIZE], 0x55); in TestRead()
160 ok_eq_uint(Buffer[0], 0x55); in TestRead()
H A DIoDeviceInterface.c142 ok_eq_uint(Notification->Version, 1); in NotificationCallback()
143 ok_eq_uint(Notification->Size, sizeof(*Notification)); in NotificationCallback()
/reactos/modules/rostests/kmtests/ntos_ex/
H A DExSequencedList.c21 ok_eq_uint((ListHead)->Depth, ExpectedDepth); \
22 ok_eq_uint((ListHead)->Sequence, ExpectedSequence); \
23 ok_eq_uint(ExQueryDepthSList(ListHead), ExpectedDepth); \
H A DExResource.c84ok_eq_uint((Res)->Flag, 0); …
92ok_eq_uint((Res)->NumberOfSharedWaiters, 0); …
93ok_eq_uint((Res)->NumberOfExclusiveWaiters, 0); …
184 ok_eq_uint(pKeAreAllApcsDisabled(), AreApcsDisabled); in TestResourceUndocumentedShortcuts()
259 ok_eq_uint(pKeAreAllApcsDisabled(), AreApcsDisabled); in TestResourceUndocumentedShortcuts()
456 ok_eq_uint((Res->Flag & ResourceOwnedExclusive) != 0, 1); in TestResourceWithThreads()
H A DExSingleList.c54 ok_eq_uint(QueryDepthList(ListHead), ExpectedDepth); \
/reactos/modules/rostests/kmtests/example/
H A DExample.c22 ok_eq_uint(6U, 7U); in START_TEST()
/reactos/modules/rostests/apitests/ntdll/
H A DNtQueryObject.c94 ok_eq_uint(ObjectName->MaximumLength, ObjectName->Length + sizeof(WCHAR)); in START_TEST()

12