/reactos/boot/freeldr/freeldr/lib/inifile/ |
H A D | parse.c | 237 while(Idx && (Buffer[--Idx] == '\n' || Buffer[Idx] == '\r')) in IniGetNextLine() 249 for (Idx=0; Idx<TextLength; Idx++) in IniIsLineEmpty() 273 for (Idx=0; Idx<TextLength; Idx++) in IniIsCommentLine() 299 for (Idx=0; Idx<TextLength; Idx++) in IniIsSectionName() 325 for (Idx=0; Idx<LineLength; Idx++) in IniGetSectionNameSize() 366 for (Idx=0; Idx<LineLength; Idx++) in IniExtractSectionName() 405 for (Idx=0; Idx<TextLength; Idx++) in IniIsSetting() 422 for (Idx=0; Idx<LineLength; Idx++) in IniGetSettingNameSize() 460 for (Idx=0; Idx<LineLength; Idx++) in IniGetSettingValueSize() 513 for (Idx=0; Idx<LineLength; Idx++) in IniExtractSettingName() [all …]
|
/reactos/modules/rosapps/applications/sysutils/ctm/ |
H A D | ctm.c | 415 ULONG Idx, Idx2; in PerfDataRefresh() local 449 for (Idx=0; Idx<SystemBasicInfo.NumberOfProcessors; Idx++) { in PerfDataRefresh() 500 for (Idx=0; Idx<ProcessCount; Idx++) { in PerfDataRefresh() 514 memset(&pPerfData[Idx], 0, sizeof(PERFDATA)); in PerfDataRefresh() 523 wcscpy(pPerfData[Idx].ImageName, lpIdleProcess); in PerfDataRefresh() 530 pPerfData[Idx].CreateTime = pSPI->CreateTime; in PerfDataRefresh() 539 pPerfData[Idx].CPUUsage = (ULONG)CpuTime; in PerfDataRefresh() 541 pPerfData[Idx].CPUUsage = 0; in PerfDataRefresh() 551 pPerfData[Idx].WorkingSetSizeDelta = 0; in PerfDataRefresh() 556 pPerfData[Idx].PageFaultCountDelta = 0; in PerfDataRefresh() [all …]
|
/reactos/base/applications/taskmgr/ |
H A D | perfdata.c | 166 ULONG Idx, Idx2; in PerfDataRefresh() local 259 for (CurrentKernelTime=0, Idx=0; Idx<(ULONG)SystemBasicInfo.NumberOfProcessors; Idx++) { in PerfDataRefresh() 304 for (Idx=0; Idx<ProcessCount; Idx++) { in PerfDataRefresh() 335 pPerfData[Idx].CPUUsage = (ULONG)CpuTime; in PerfDataRefresh() 343 pPerfData[Idx].WorkingSetSizeDelta = 0; in PerfDataRefresh() 348 pPerfData[Idx].PageFaultCountDelta = 0; in PerfDataRefresh() 353 pPerfData[Idx].HandleCount = pSPI->HandleCount; in PerfDataRefresh() 355 pPerfData[Idx].SessionId = pSPI->SessionId; in PerfDataRefresh() 356 pPerfData[Idx].UserName[0] = UNICODE_NULL; in PerfDataRefresh() 357 pPerfData[Idx].USERObjectCount = 0; in PerfDataRefresh() [all …]
|
/reactos/sdk/tools/ |
H A D | dumpstab.c | 83 ULONG Idx; in GetStabInfo() local 91 for (Idx = 0; Idx < PEFileHeader->NumberOfSections; Idx++) in GetStabInfo() 94 if ((strncmp((char*)PESectionHeaders[Idx].Name, ".stab", 5) == 0) in GetStabInfo() 95 && (PESectionHeaders[Idx].Name[5] == 0)) in GetStabInfo() 100 *StabSymbolsLength = PESectionHeaders[Idx].SizeOfRawData; in GetStabInfo() 101 *StabSymbolsBase = (void *)((char *) FileData + PESectionHeaders[Idx].PointerToRawData); in GetStabInfo() 104 if (strncmp((char*)PESectionHeaders[Idx].Name, ".stabstr", 8) == 0) in GetStabInfo() 109 *StabStringsLength = PESectionHeaders[Idx].SizeOfRawData; in GetStabInfo() 110 *StabStringsBase = (void *)((char *) FileData + PESectionHeaders[Idx].PointerToRawData); in GetStabInfo()
|
/reactos/boot/freeldr/freeldr/lib/cache/ |
H A D | cache.c | 122 ULONG Idx; in CacheReadDiskSectors() local 179 for (Idx=StartBlock+1; BlockCount>1; Idx++) in CacheReadDiskSectors() 184 CacheBlock = CacheInternalGetBlockPointer(&CacheManagerDrive, Idx); in CacheReadDiskSectors() 252 ULONG Idx; 272 for (Idx=StartBlock; Idx<(StartBlock+BlockCount); Idx++) 277 CacheBlock = CacheInternalGetBlockPointer(&CacheManagerDrive, Idx);
|
/reactos/boot/freeldr/freeldr/ui/ |
H A D | ui.c | 507 ULONG Idx; in UiEscapeString() local 509 for (Idx=0; Idx<strlen(String); Idx++) in UiEscapeString() 512 if (String[Idx] == '\\' && String[Idx+1] == 'n') in UiEscapeString() 515 String[Idx] = '\n'; in UiEscapeString() 518 strcpy(&String[Idx+1], &String[Idx+2]); in UiEscapeString() 527 ULONG Idx; in UiShowMessageBoxesInSection() local 537 for (Idx = 0; Idx < IniGetNumSectionItems(SectionId); Idx++) in UiShowMessageBoxesInSection() 539 …IniReadSettingByNumber(SectionId, Idx, SettingName, sizeof(SettingName), SettingValue, sizeof(Sett… in UiShowMessageBoxesInSection() 544 MessageBoxTextSize = IniGetSectionSettingValueSize(SectionId, Idx); in UiShowMessageBoxesInSection() 554 …IniReadSettingByNumber(SectionId, Idx, SettingName, sizeof(SettingName), MessageBoxText, MessageBo… in UiShowMessageBoxesInSection()
|
/reactos/boot/freeldr/freeldr/lib/mm/ |
H A D | mm.c | 223 PFN_NUMBER Idx; in DumpMemoryAllocMap() local 228 for (Idx=0; Idx<TotalPagesInLookupTable; Idx++) in DumpMemoryAllocMap() 230 if ((Idx % 32) == 0) in DumpMemoryAllocMap() 233 DbgPrint("%08x:\t", (Idx * MM_PAGE_SIZE)); in DumpMemoryAllocMap() 235 else if ((Idx % 4) == 0) in DumpMemoryAllocMap() 240 switch (RealPageLookupTable[Idx].PageAllocated) in DumpMemoryAllocMap()
|
/reactos/modules/rostests/unittests/interop/ |
H A D | LocaleTests.cpp | 55 UINT Idx; member 254 szPart = GetPart(szBuffer, p->Idx, &len); in LoadPart() 281 curLcid, match.p1.Num, match.p1.Idx, match.p2.Num, match.p2.Idx, szP1, szP2); in TEST_PartMatches()
|
/reactos/sdk/tools/rsym/ |
H A D | rsym.c | 145 ULONG Idx; in GetStabInfo() local 153 for (Idx = 0; Idx < PEFileHeader->NumberOfSections; Idx++) in GetStabInfo() 156 if ((strncmp((char *) PESectionHeaders[Idx].Name, ".stab", 5) == 0) in GetStabInfo() 157 && (PESectionHeaders[Idx].Name[5] == 0)) in GetStabInfo() 161 *StabSymbolsLength = PESectionHeaders[Idx].SizeOfRawData; in GetStabInfo() 162 *StabSymbolsBase = (void *)((char *) FileData + PESectionHeaders[Idx].PointerToRawData); in GetStabInfo() 165 if (strncmp((char *) PESectionHeaders[Idx].Name, ".stabstr", 8) == 0) in GetStabInfo() 169 *StabStringsLength = PESectionHeaders[Idx].SizeOfRawData; in GetStabInfo() 170 *StabStringsBase = (void *)((char *) FileData + PESectionHeaders[Idx].PointerToRawData); in GetStabInfo()
|
/reactos/drivers/usb/usbuhci/ |
H A D | usbuhci.c | 524 ULONG Idx; in UhciInitializeSchedule() local 606 for (Idx = 0; Idx < UHCI_FRAME_LIST_MAX_ENTRIES; Idx++) in UhciInitializeSchedule() 609 (Idx & (ENDPOINT_INTERRUPT_32ms - 1)); in UhciInitializeSchedule() 613 HcResourcesVA->FrameList[Idx] = PhysicalAddress; in UhciInitializeSchedule() 637 for (Idx = 0; Idx < UHCI_MAX_STATIC_SOF_TDS; Idx++) in UhciInitializeSchedule() 639 StaticSofTD = UhciExtension->SOF_HcdTDs + Idx; in UhciInitializeSchedule() 1945 ULONG Idx; in UhciSetEndpointState() local 1991 UhciExtension->IntQH[Idx - 1], in UhciSetEndpointState() 2472 ULONG Idx; in UhciInterruptNextSOF() local 2495 Idx = SOF_HcdTDs->Frame & UHCI_FRAME_LIST_INDEX_MASK; in UhciInterruptNextSOF() [all …]
|
/reactos/boot/freeldr/freeldr/lib/fs/ |
H A D | fat.c | 871 ULONG Idx; in FatParseShortFileName() local 873 Idx = 0; in FatParseShortFileName() 887 while (Idx < 8) in FatParseShortFileName() 889 if (DirEntry->FileName[Idx] == ' ') in FatParseShortFileName() 894 Buffer[Idx] = DirEntry->FileName[Idx]; in FatParseShortFileName() 895 Idx++; in FatParseShortFileName() 903 Buffer[Idx++] = '.'; in FatParseShortFileName() 904 Buffer[Idx++] = (DirEntry->FileName[8] == ' ') ? '\0' : DirEntry->FileName[8]; in FatParseShortFileName() 905 Buffer[Idx++] = (DirEntry->FileName[9] == ' ') ? '\0' : DirEntry->FileName[9]; in FatParseShortFileName() 906 Buffer[Idx++] = (DirEntry->FileName[10] == ' ') ? '\0' : DirEntry->FileName[10]; in FatParseShortFileName()
|
/reactos/sdk/lib/3rdparty/cardlib/ |
H A D | cardrgndraw.cpp | 285 cardval = card.Idx(); in Render() 439 nCardVal = card.FaceUp() ? card.Idx() : nBackCardIdx; in PrepareDragBitmaps() 497 nCardVal = card.FaceUp() ? card.Idx() : nBackCardIdx; in PrepareDragBitmaps() 557 int nCardVal = card.FaceUp() ? card.Idx() : nBackCardIdx; in PrepareDragBitmapsThreed() 600 int nCardVal = card.FaceUp() ? card.Idx() : nBackCardIdx; in PrepareDragBitmapsThreed()
|
H A D | card.h | 69 int Idx() const //unique value (0-51 etc) in Idx() function
|
/reactos/ntoskrnl/mm/i386/ |
H A D | pagepae.c | 732 ULONG Idx; in MmDeleteVirtualMapping() local 735 Idx = Ke386Pae ? PAE_ADDR_TO_PAGE_TABLE(Address) : ADDR_TO_PAGE_TABLE(Address); in MmDeleteVirtualMapping() 737 Ptrc[Idx]--; in MmDeleteVirtualMapping() 738 if (Ptrc[Idx] == 0) in MmDeleteVirtualMapping() 1134 ULONG Idx; in MmCreatePageFileMapping() local 1137 Idx = Ke386Pae ? PAE_ADDR_TO_PAGE_TABLE(Address) : ADDR_TO_PAGE_TABLE(Address); in MmCreatePageFileMapping() 1138 Ptrc[Idx]++; in MmCreatePageFileMapping()
|
/reactos/drivers/usb/usbehci/ |
H A D | usbehci.c | 341 ULONG Idx = 0; in EHCI_OpenInterruptEndpoint() local 356 Idx++; in EHCI_OpenInterruptEndpoint() 360 ASSERT(Idx < 8); in EHCI_OpenInterruptEndpoint() 366 PeriodTable = &pTable[ClassicPeriod[Idx] + ScheduleOffset]; in EHCI_OpenInterruptEndpoint() 372 ClassicPeriod[Idx]); in EHCI_OpenInterruptEndpoint() 382 ClassicPeriod[Idx]); in EHCI_OpenInterruptEndpoint() 384 EhciEndpoint->StaticQH = EhciExtension->PeriodicHead[ClassicPeriod[Idx] + in EHCI_OpenInterruptEndpoint() 742 IN ULONG Idx) in EHCI_GetDummyQhForFrame() argument 745 Idx * sizeof(EHCI_HCD_QH)); in EHCI_GetDummyQhForFrame()
|
/reactos/sdk/lib/drivers/rxce/ |
H A D | rxce.c | 8197 SHORT Idx; in RxTableComputeHashValue() local 8199 Idx = Loops[i]; in RxTableComputeHashValue() 8200 if (Idx >= 0 && Idx < MaxChar) in RxTableComputeHashValue() 8202 Hash = RtlUpcaseUnicodeChar(Name->Buffer[Idx]) + 8 * Hash; in RxTableComputeHashValue() 8236 SHORT Idx; in RxTableComputePathHashValue() local 8238 Idx = Loops[i]; in RxTableComputePathHashValue() 8239 if (Idx >= 0 && Idx < MaxChar) in RxTableComputePathHashValue() 8241 Hash = RtlUpcaseUnicodeChar(Name->Buffer[Idx]) + 8 * Hash; in RxTableComputePathHashValue()
|