Home
last modified time | relevance | path

Searched refs:Table (Results 1 – 25 of 160) sorted by relevance

1234567

/reactos/sdk/lib/rtl/
H A Dgenerictable.c35 if (RtlIsGenericTableEmpty(Table)) in RtlpFindGenericTableNodeOrParent()
41 CurrentNode = Table->TableRoot; in RtlpFindGenericTableNodeOrParent()
47 Result = Table->CompareRoutine(Table, in RtlpFindGenericTableNodeOrParent()
108 Table->TableRoot = NULL; in RtlInitializeGenericTable()
110 Table->WhichOrderedElement = 0; in RtlInitializeGenericTable()
111 Table->OrderedPointer = &Table->InsertOrderList; in RtlInitializeGenericTable()
114 Table->FreeRoutine = FreeRoutine; in RtlInitializeGenericTable()
164 NewNode = Table->AllocateRoutine(Table, in RtlInsertElementGenericTableFull()
314 Table->WhichOrderedElement = 0; in RtlDeleteElementGenericTable()
315 Table->OrderedPointer = &Table->InsertOrderList; in RtlDeleteElementGenericTable()
[all …]
H A Davltable.c34 Table->BalancedRoot.Parent = &Table->BalancedRoot; in RtlInitializeGenericTableAvl()
35 Table->CompareRoutine = CompareRoutine; in RtlInitializeGenericTableAvl()
37 Table->FreeRoutine = FreeRoutine; in RtlInitializeGenericTableAvl()
38 Table->TableContext = TableContext; in RtlInitializeGenericTableAvl()
63 NewNode = Table->AllocateRoutine(Table, in RtlInsertElementGenericTableFullAvl()
308 if (Node == Table->RestartKey) Table->RestartKey = RtlRealPredecessorAvl(Node); in RtlDeleteElementGenericTableAvl()
311 Table->DeleteCount++; in RtlDeleteElementGenericTableAvl()
312 RtlpDeleteAvlTreeNode(Table, Node); in RtlDeleteElementGenericTableAvl()
316 Table->WhichOrderedElement = 0; in RtlDeleteElementGenericTableAvl()
317 Table->OrderedPointer = NULL; in RtlDeleteElementGenericTableAvl()
[all …]
H A Davlsupp.c32 RtlpFindAvlTableNodeOrParent(IN PRTL_AVL_TABLE Table, in RtlpFindAvlTableNodeOrParent() argument
43 CurrentNode = RtlRightChildAvl(&Table->BalancedRoot); in RtlpFindAvlTableNodeOrParent()
49 Result = RtlpAvlCompareRoutine(Table, in RtlpFindAvlTableNodeOrParent()
208 RtlpInsertAvlTreeNode(IN PRTL_AVL_TABLE Table, in RtlpInsertAvlTreeNode() argument
221 Table->NumberGenericTableElements++; in RtlpInsertAvlTreeNode()
230 ASSERT(Table->DepthOfTree == 0); in RtlpInsertAvlTreeNode()
231 Table->DepthOfTree = 1; in RtlpInsertAvlTreeNode()
278 Table->DepthOfTree++; in RtlpInsertAvlTreeNode()
295 RtlpDeleteAvlTreeNode(IN PRTL_AVL_TABLE Table, in RtlpDeleteAvlTreeNode() argument
342 RtlSetBalance(&Table->BalancedRoot, RtlBalancedAvlTree); in RtlpDeleteAvlTreeNode()
[all …]
/reactos/modules/rostests/apitests/spoolss/
H A DSplInitializeWinSpoolDrv.c18 PVOID Table[9]; in START_TEST() local
27 ok(SplInitializeWinSpoolDrv(Table), "SplInitializeWinSpoolDrv returns FALSE!\n"); in START_TEST()
28 ok(Table[0] == GetProcAddress(hWinspool, "OpenPrinterW"), "Table[0] is %p\n", Table[0]); in START_TEST()
29 ok(Table[1] == GetProcAddress(hWinspool, "ClosePrinter"), "Table[1] is %p\n", Table[1]); in START_TEST()
30 … ok(Table[2] == GetProcAddress(hWinspool, "SpoolerDevQueryPrintW"), "Table[2] is %p\n", Table[2]); in START_TEST()
31 ok(Table[3] == GetProcAddress(hWinspool, "SpoolerPrinterEvent"), "Table[3] is %p\n", Table[3]); in START_TEST()
32 ok(Table[4] == GetProcAddress(hWinspool, "DocumentPropertiesW"), "Table[4] is %p\n", Table[4]); in START_TEST()
33 ok(Table[5] == GetProcAddress(hWinspool, (LPSTR)212), "Table[5] is %p\n", Table[5]); in START_TEST()
34 ok(Table[6] == GetProcAddress(hWinspool, (LPSTR)213), "Table[6] is %p\n", Table[6]); in START_TEST()
35 ok(Table[7] == GetProcAddress(hWinspool, (LPSTR)214), "Table[7] is %p\n", Table[7]); in START_TEST()
[all …]
/reactos/dll/win32/ws2help/
H A Dcontext.c59 *Count = Table->CurrentCount; in AcquireReadLock()
150 if (OldCount == &Table->Count1) in TryWaitForReaders()
153 Table->Count2 = 1; in TryWaitForReaders()
154 Table->CurrentCount = &Table->Count2; in TryWaitForReaders()
159 Table->Count1 = 1; in TryWaitForReaders()
160 Table->CurrentCount = &Table->Count1; in TryWaitForReaders()
167 if (Table->SpinCount) in TryWaitForReaders()
200 *Table = NULL; in WahCreateHandleContextTable()
238 *Table = LocalTable; in WahCreateHandleContextTable()
251 if (!Table) in WahDestroyHandleContextTable()
[all …]
/reactos/boot/freeldr/freeldr/arch/i386/
H A Dhwpci.c32 PPCI_IRQ_ROUTING_TABLE Table; in GetPciIrqRoutingTable() local
38 while ((ULONG_PTR)Table < 0x100000) in GetPciIrqRoutingTable()
48 Table = (PPCI_IRQ_ROUTING_TABLE)((ULONG_PTR)Table + 0x10); in GetPciIrqRoutingTable()
52 Ptr = (PUCHAR)Table; in GetPciIrqRoutingTable()
66 return Table; in GetPciIrqRoutingTable()
70 Table = (PPCI_IRQ_ROUTING_TABLE)((ULONG_PTR)Table + 0x10); in GetPciIrqRoutingTable()
121 PPCI_IRQ_ROUTING_TABLE Table; in DetectPciIrqRoutingTable() local
125 Table = GetPciIrqRoutingTable(); in DetectPciIrqRoutingTable()
126 if (Table != NULL) in DetectPciIrqRoutingTable()
158 Table, in DetectPciIrqRoutingTable()
[all …]
/reactos/ntoskrnl/mm/ARM3/
H A Dvadnode.c104 #define ASSERT_LOCKED_FOR_READ(Table) MiDbgAssertIsLockedForRead(Table) argument
105 #define ASSERT_LOCKED_FOR_WRITE(Table) MiDbgAssertIsLockedForWrite(Table) argument
123 ASSERT_LOCKED_FOR_READ(Table); in MiLocateAddress()
144 Table->NodeHint = FoundVad; in MiLocateAddress()
157 ASSERT_LOCKED_FOR_READ(Table); in MiCheckForConflictingNode()
454 if (Table->NodeHint == Node) in MiRemoveNode()
457 if (!Table->NumberGenericTableElements) Table->NodeHint = NULL; in MiRemoveNode()
458 else Table->NodeHint = Table->BalancedRoot.RightChild; in MiRemoveNode()
602 if (Table->Unused == 1) in MiFindEmptyAddressRangeInTree()
662 if (Table->Unused == 1) in MiFindEmptyAddressRangeInTree()
[all …]
/reactos/drivers/bus/acpi/acpica/tables/
H A Dtbxfload.c153 ACPI_TABLE_DESC *Table; in ACPI_EXPORT_SYMBOL_INIT() local
171 ACPI_FAILURE (AcpiTbValidateTable (Table))) in ACPI_EXPORT_SYMBOL_INIT()
183 AcpiGbl_DSDT = Table->Pointer; in ACPI_EXPORT_SYMBOL_INIT()
226 Table = &AcpiGbl_RootTableList.Tables[i]; in ACPI_EXPORT_SYMBOL_INIT()
228 if (!Table->Address || in ACPI_EXPORT_SYMBOL_INIT()
232 ACPI_FAILURE (AcpiTbValidateTable (Table))) in ACPI_EXPORT_SYMBOL_INIT()
245 Table->Signature.Ascii, Table->Pointer->OemTableId)); in ACPI_EXPORT_SYMBOL_INIT()
251 Table->Signature.Ascii, Table->Pointer->OemTableId)); in ACPI_EXPORT_SYMBOL_INIT()
303 ACPI_TABLE_HEADER *Table) in AcpiInstallTable() argument
376 ACPI_TABLE_HEADER *Table, in ACPI_EXPORT_SYMBOL_INIT()
[all …]
H A Dtbdata.c87 ACPI_TABLE_HEADER *Table; in AcpiTbCompareTables() local
134 ACPI_TABLE_HEADER *Table) in AcpiTbInitTableDescriptor() argument
152 TableDesc->Pointer = Table; in AcpiTbInitTableDescriptor()
199 Table = TableDesc->Pointer; in AcpiTbAcquireTable()
209 if (!Table) in AcpiTbAcquireTable()
216 *TablePtr = Table; in AcpiTbAcquireTable()
239 ACPI_TABLE_HEADER *Table, in AcpiTbReleaseTable() argument
284 ACPI_TABLE_HEADER *Table) in AcpiTbAcquireTempTable() argument
295 if (!Table) in AcpiTbAcquireTempTable()
298 if (!Table) in AcpiTbAcquireTempTable()
[all …]
H A Dtbutils.c284 ACPI_TABLE_HEADER *Table; in AcpiTbParseRootTable() local
336 Table = AcpiOsMapMemory (Address, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable()
337 if (!Table) in AcpiTbParseRootTable()
342 AcpiTbPrintTableHeader (Address, Table); in AcpiTbParseRootTable()
348 Length = Table->Length; in AcpiTbParseRootTable()
349 AcpiOsUnmapMemory (Table, sizeof (ACPI_TABLE_HEADER)); in AcpiTbParseRootTable()
358 Table = AcpiOsMapMemory (Address, Length); in AcpiTbParseRootTable()
359 if (!Table) in AcpiTbParseRootTable()
366 Status = AcpiUtVerifyChecksum (Table, Length); in AcpiTbParseRootTable()
369 AcpiOsUnmapMemory (Table, Length); in AcpiTbParseRootTable()
[all …]
H A Dtbinstal.c142 ACPI_TABLE_HEADER *Table, in AcpiTbInstallStandardTable() argument
157 Status = AcpiTbAcquireTempTable (&NewTableDesc, Address, Flags, Table); in AcpiTbInstallStandardTable()
255 ACPI_TABLE_HEADER *Table; in AcpiTbOverrideTable() local
263 Status = AcpiOsTableOverride (OldTableDesc->Pointer, &Table); in AcpiTbOverrideTable()
264 if (ACPI_SUCCESS (Status) && Table) in AcpiTbOverrideTable()
266 AcpiTbAcquireTempTable (&NewTableDesc, ACPI_PTR_TO_PHYSADDR (Table), in AcpiTbOverrideTable()
267 ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL, Table); in AcpiTbOverrideTable()
/reactos/drivers/bus/acpi/acpica/include/
H A Dacdisasm.h206 ACPI_TABLE_HEADER *Table);
590 void *Table,
600 ACPI_TABLE_HEADER *Table);
606 void *Table,
629 void *Table,
637 void *Table,
643 ACPI_TABLE_HEADER *Table);
647 ACPI_TABLE_HEADER *Table);
651 ACPI_TABLE_HEADER *Table);
655 ACPI_TABLE_HEADER *Table);
[all …]
H A Dactables.h82 ACPI_TABLE_HEADER *Table);
89 ACPI_TABLE_HEADER *Table);
124 ACPI_TABLE_HEADER *Table,
167 ACPI_TABLE_HEADER *Table,
175 ACPI_TABLE_HEADER *Table,
193 ACPI_TABLE_HEADER *Table,
204 void *Table);
/reactos/modules/rostests/kmtests/rtl/
H A DRtlSplayTree.c17 CompareCharTable(PRTL_GENERIC_TABLE Table, PVOID A, PVOID B) in CompareCharTable() argument
26 AllocRoutine(PRTL_GENERIC_TABLE Table, CLONG ByteSize) in AllocRoutine() argument
35 FreeRoutine(PRTL_GENERIC_TABLE Table, PVOID Buffer) in FreeRoutine() argument
48 RTL_GENERIC_TABLE Table; in RtlSplayTreeTest() local
50 (&Table, in RtlSplayTreeTest()
58 (&Table, in RtlSplayTreeTest()
67 for (Ch = (PCHAR)RtlEnumerateGenericTable(&Table, TRUE), i = 0; in RtlSplayTreeTest()
69 Ch = (PCHAR)RtlEnumerateGenericTable(&Table, FALSE), i++) { in RtlSplayTreeTest()
73 ok(RtlLookupElementGenericTable(&Table, "q") != NULL, "Could not lookup q\n"); in RtlSplayTreeTest()
80 WasDeleted = RtlDeleteElementGenericTable(&Table, &Text[i]); in RtlSplayTreeTest()
[all …]
/reactos/drivers/bus/acpi/acpica/utilities/
H A Dutcksum.c75 ACPI_TABLE_HEADER *Table, in AcpiUtVerifyChecksum() argument
85 if (ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_S3PT) || in AcpiUtVerifyChecksum()
86 ACPI_COMPARE_NAMESEG (Table->Signature, ACPI_SIG_FACS)) in AcpiUtVerifyChecksum()
93 Length = Table->Length; in AcpiUtVerifyChecksum()
94 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum); in AcpiUtVerifyChecksum()
98 if (Checksum != Table->Checksum) in AcpiUtVerifyChecksum()
103 Table->Signature, Table->Checksum, in AcpiUtVerifyChecksum()
104 Table->Checksum - Checksum)); in AcpiUtVerifyChecksum()
177 void *Table, in AcpiUtGenerateChecksum() argument
186 Checksum = AcpiUtChecksum ((UINT8 *) Table, Length); in AcpiUtGenerateChecksum()
/reactos/drivers/bus/acpi/acpica/namespace/
H A Dnsparse.c86 ACPI_TABLE_HEADER *Table; in AcpiNsExecuteTable() local
97 Status = AcpiGetTableByIndex (TableIndex, &Table); in AcpiNsExecuteTable()
105 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in AcpiNsExecuteTable()
110 AmlStart = (UINT8 *) Table + sizeof (ACPI_TABLE_HEADER); in AcpiNsExecuteTable()
111 AmlLength = Table->Length - sizeof (ACPI_TABLE_HEADER); in AcpiNsExecuteTable()
138 ACPI_GET_FUNCTION_NAME, Table->Signature, Table, MethodObj)); in AcpiNsExecuteTable()
204 ACPI_TABLE_HEADER *Table; in AcpiNsOneCompleteParse() local
211 Status = AcpiGetTableByIndex (TableIndex, &Table); in AcpiNsOneCompleteParse()
219 if (Table->Length < sizeof (ACPI_TABLE_HEADER)) in AcpiNsOneCompleteParse()
224 AmlStart = (UINT8 *) Table + sizeof (ACPI_TABLE_HEADER); in AcpiNsOneCompleteParse()
[all …]
/reactos/drivers/ksfilter/ks/
H A Dapi.c615 IN KSDISPATCH_TABLE* Table) in KsAllocateObjectHeader() argument
630 if (!Table) in KsAllocateObjectHeader()
2147 FreeItem(Table); in KspMergePropertySet()
2309 PKSAUTOMATION_TABLE Table; in KsMergeAutomationTables() local
2320 if (!Table) in KsMergeAutomationTables()
2331 FreeItem(Table); in KsMergeAutomationTables()
2431 if (Table->EventSetsCount) in KsMergeAutomationTables()
2447 if (!Table->EventSets) in KsMergeAutomationTables()
2478 if (Table) in KsMergeAutomationTables()
2487 if (Table->MethodSets) in KsMergeAutomationTables()
[all …]
/reactos/drivers/bus/acpi/acpica/resources/
H A Drsdump.c122 ACPI_RSDUMP_INFO *Table);
272 ACPI_RSDUMP_INFO *Table) in AcpiRsDumpDescriptor() argument
282 Count = Table->Offset; in AcpiRsDumpDescriptor()
287 Target = ACPI_ADD_PTR (UINT8, Resource, Table->Offset); in AcpiRsDumpDescriptor()
288 Name = Table->Name; in AcpiRsDumpDescriptor()
290 switch (Table->Opcode) in AcpiRsDumpDescriptor()
296 if (Table->Name) in AcpiRsDumpDescriptor()
318 if (Table->Pointer) in AcpiRsDumpDescriptor()
320 AcpiRsOutString (Name, Table->Pointer [*Target]); in AcpiRsDumpDescriptor()
460 Table->Opcode); in AcpiRsDumpDescriptor()
[all …]
/reactos/dll/opengl/mesa/
H A Dhash.c68 struct HashEntry *Table[TABLE_SIZE]; member
92 struct HashEntry *entry = table->Table[i]; in DeleteHashTable()
119 entry = table->Table[pos]; in HashLookup()
151 entry = table->Table[pos]; in HashInsert()
165 entry->Next = table->Table[pos]; in HashInsert()
166 table->Table[pos] = entry; in HashInsert()
186 entry = table->Table[pos]; in HashRemove()
194 table->Table[pos] = entry->Next; in HashRemove()
216 if (table->Table[pos]) in HashFirstEntry()
217 return table->Table[pos]->Key; in HashFirstEntry()
[all …]
/reactos/ntoskrnl/fsrtl/
H A Dlargemcb.c35 RTL_GENERIC_TABLE Table; member
57 PBASE_MCB Mcb = (PBASE_MCB)Table->TableContext; in McbMappingAllocate()
72 McbMappingCompare(PRTL_GENERIC_TABLE Table, in McbMappingCompare() argument
194 Mcb->Mapping->Table.CompareRoutine = McbMappingIntersectCompare; in FsRtlAddBaseMcbEntry()
201 Mcb->Mapping->Table.CompareRoutine = McbMappingCompare; in FsRtlAddBaseMcbEntry()
210 Mcb->Mapping->Table.CompareRoutine = McbMappingIntersectCompare; in FsRtlAddBaseMcbEntry()
216 Mcb->Mapping->Table.CompareRoutine = McbMappingCompare; in FsRtlAddBaseMcbEntry()
221 Mcb->Mapping->Table.CompareRoutine = McbMappingCompare; in FsRtlAddBaseMcbEntry()
439 RtlInitializeGenericTable(&Mcb->Mapping->Table, in FsRtlInitializeBaseMcb()
893 Mcb->Mapping->Table.CompareRoutine = McbMappingCompare; in FsRtlRemoveBaseMcbEntry()
[all …]
/reactos/win32ss/user/ntuser/
H A Daccelerator.c205 Entries[Ret].fVirt = Accel->Table[Ret].fVirt; in NtUserCopyAcceleratorTable()
206 Entries[Ret].key = Accel->Table[Ret].key; in NtUserCopyAcceleratorTable()
207 Entries[Ret].cmd = Accel->Table[Ret].cmd; in NtUserCopyAcceleratorTable()
263 if (Accel->Table == NULL) in NtUserCreateAcceleratorTable()
278 if(Accel->Table[Index].fVirt & FVIRTKEY) in NtUserCreateAcceleratorTable()
291 Accel->Table[Index].cmd = Entries[Index].cmd; in NtUserCreateAcceleratorTable()
302 ExFreePoolWithTag(Accel->Table, USERTAG_ACCEL); in NtUserCreateAcceleratorTable()
328 if (Accel->Table != NULL) in UserDestroyAccelTable()
330 ExFreePoolWithTag(Accel->Table, USERTAG_ACCEL); in UserDestroyAccelTable()
331 Accel->Table = NULL; in UserDestroyAccelTable()
[all …]
/reactos/base/services/dhcpcsvc/dhcp/
H A Dadapter.c304 while( (Error = GetIfTable(Table, &Size, 0 )) == in AdapterDiscoveryThread()
307 free( Table ); in AdapterDiscoveryThread()
308 Table = (PMIB_IFTABLE) malloc( Size ); in AdapterDiscoveryThread()
320 for( i = Table->dwNumEntries - 1; i >= 0; i-- ) { in AdapterDiscoveryThread()
322 Table->table[i].dwIndex)); in AdapterDiscoveryThread()
326 …if ((Adapter = AdapterFindByHardwareAddress(Table->table[i].bPhysAddr, Table->table[i].dwPhysAddrL… in AdapterDiscoveryThread()
331 if (InterfaceConnected(&Table->table[i])) { in AdapterDiscoveryThread()
374 …if( Adapter && Table->table[i].dwType == MIB_IF_TYPE_ETHERNET && InterfaceConnected(&Table->table[… in AdapterDiscoveryThread()
375 memcpy( &Adapter->IfMib, &Table->table[i], in AdapterDiscoveryThread()
473 if (Table) in AdapterDiscoveryThread()
[all …]
/reactos/hal/halx86/mp/
H A Dmpconfig.c258 HaliReadMPConfigTable(PMP_CONFIGURATION_TABLE Table) in HaliReadMPConfigTable() argument
267 if (Table->Signature != MPC_SIGNATURE) in HaliReadMPConfigTable()
269 PUCHAR pc = (PUCHAR)&Table->Signature; in HaliReadMPConfigTable()
277 if (MPChecksum((PUCHAR)Table, Table->Length)) in HaliReadMPConfigTable()
284 if (Table->Specification != 0x01 && Table->Specification != 0x04) in HaliReadMPConfigTable()
287 Table->Specification); in HaliReadMPConfigTable()
292 if (Table->LocalAPICAddress != APIC_DEFAULT_BASE) in HaliReadMPConfigTable()
295 Table->LocalAPICAddress); in HaliReadMPConfigTable()
300 DPRINT("Oem: %.*s, ProductId: %.*s\n", 8, Table->Oem, 12, Table->ProductId); in HaliReadMPConfigTable()
301 DPRINT("APIC at: %08x\n", Table->LocalAPICAddress); in HaliReadMPConfigTable()
[all …]
/reactos/drivers/bus/acpi/acpica/executer/
H A Dexconfig.c350 ACPI_TABLE_HEADER *Table; in AcpiExLoadOp() local
443 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp()
444 if (!Table) in AcpiExLoadOp()
452 ACPI_CAST_PTR (UINT8, Table)); in AcpiExLoadOp()
455 ACPI_FREE (Table); in AcpiExLoadOp()
493 Table = ACPI_ALLOCATE (Length); in AcpiExLoadOp()
494 if (!Table) in AcpiExLoadOp()
499 memcpy (Table, TableHeader, Length); in AcpiExLoadOp()
511 Status = AcpiTbInstallAndLoadTable (ACPI_PTR_TO_PHYSADDR (Table), in AcpiExLoadOp()
512 ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL, Table, TRUE, &TableIndex); in AcpiExLoadOp()
[all …]
/reactos/sdk/include/reactos/winsock/
H A Dws2help.h52 IN PWAH_HANDLE_TABLE Table,
59 IN PWAH_HANDLE_TABLE Table,
133 IN PWAH_HANDLE_TABLE Table,
141 OUT PWAH_HANDLE_TABLE *Table
147 IN PWAH_HANDLE_TABLE Table
153 IN PWAH_HANDLE_TABLE Table,

1234567