ReactOS
0.4.15-dev-2344-g8ddbfde
|
Go to the source code of this file.
Macros | |
#define | is_digit(c) ((c) >= '0' && (c) <= '9') |
#define | NUM_ZEROPAD 1 /* pad with zero */ |
#define | NUM_SIGN 2 /* unsigned/signed long */ |
#define | NUM_PLUS 4 /* show plus */ |
#define | NUM_SPACE 8 /* space if plus */ |
#define | NUM_LEFT 16 /* left justified */ |
#define | NUM_SPECIAL 32 /* 0x */ |
#define | NUM_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ |
#define | do_div(n, base) |
#define NUM_LARGE 64 /* use 'ABCDEF' instead of 'abcdef' */ |
Definition at line 2069 of file utils.c.
Referenced by DebuggerShell().
Definition at line 2113 of file utils.c.
Referenced by PiceKbdIsr().
Definition at line 1471 of file utils.c.
Definition at line 591 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), ConvertTokenToModule(), IsModuleLoaded(), and RevirtualizeBreakpointsForModule().
Definition at line 1097 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), DebuggerShell(), InitPICE(), and RepaintDesktop().
Definition at line 1573 of file utils.c.
Referenced by ReadPhysMem(), and WritePhysMem().
Definition at line 762 of file utils.c.
Referenced by GetLinearAddress().
PKEYBOARD_LAYOUT GetKeyboardLayout | ( | ) |
Definition at line 194 of file utils.c.
Referenced by activate_keyboard_layout(), AsciiFromScan(), AsciiToScan(), COMMAND_PROTOTYPE(), get_input_codepage(), ImmCreateContext(), ImmTranslateMessage(), InputList_Create(), SetKeyboardLayoutByName(), test_ImmGetCompositionString(), test_ImmGetDescription(), test_unicode_wm_char(), UpdateData(), UpdateLanguageDisplayCurrent(), vk2ascii(), and WriteKeysSettings().
Definition at line 1364 of file utils.c.
Referenced by KeyboardFlushKeyboardQueue(), and KeyboardGetKeyPolled().
Definition at line 1353 of file utils.c.
Referenced by KeyboardFlushKeyboardQueue(), and KeyboardGetKeyPolled().
Definition at line 782 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), ConvertTokenToHex(), IsCallInstrAtEIP(), IsRetAtEIP(), OutputIdtEntry(), PrintkCallback(), RealIsr(), UnassembleOneLineDown(), UnassembleOneLineUp(), UnassembleOnePageDown(), and UnassembleOnePageUp().
Definition at line 573 of file utils.c.
Definition at line 2179 of file utils.c.
Referenced by DebuggerShell(), GetKeyData(), GetKeyStatus(), HideCursorVga(), RestoreGraphicsStateVga(), SaveGraphicsStateVga(), and ShowCursorVga().
Definition at line 2184 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), and EnablePassThrough().
Definition at line 2174 of file utils.c.
Referenced by read_vga_reg(), SerialReadByte(), SerialSendByte(), SerialSetOthers(), and SerialSetSpeed().
Definition at line 1530 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), and HandleInDebuggerFault().
Definition at line 1616 of file utils.c.
Referenced by ReadPhysMem(), and WritePhysMem().
Definition at line 611 of file utils.c.
Referenced by BuildModuleList(), COMMAND_PROTOTYPE(), DeInstallSWBreakpoint(), ExtractNumber(), ExtractStructMembers(), ExtractTypeName(), FindFunctionByAddress(), FindSourceLineForAddress(), GetUCHAR(), HandlePageFault(), InstallSWBreakpoint(), IsRangeValid(), ListSymbolStartingAt(), ListUserModules(), NeedToReInstallSWBreakpoints(), PICE_fncmp(), PICE_fnncmp(), PICE_strchr(), PICE_strcmp(), PICE_strcmpi(), PICE_strlen(), PICE_strncmpi(), PICE_strnlen(), PICE_wcsicmp(), PrintkCallback(), ReInstallSWBreakpoint(), RemoveAllSWBreakpoints(), RemoveSWBreakpoint(), RevirtualizeBreakpointsForModule(), ScanExportsByAddress(), ShowStatusLine(), and TryToInstallVirtualSWBreakpoints().
Definition at line 650 of file utils.c.
Referenced by DeInstallSWBreakpoint(), InstallSWBreakpoint(), ReInstallSWBreakpoint(), RemoveAllSWBreakpoints(), RemoveSWBreakpoint(), RevirtualizeBreakpointsForModule(), and TryToInstallVirtualSWBreakpoints().
Definition at line 735 of file utils.c.
Referenced by EvaluateSymbol(), ExtractStructMembers(), FindFunctionByAddress(), GetLinearAddress(), IntelStackWalk(), IsCallInstrAtEIP(), ListSymbolStartingAt(), RestoreIdt(), RevirtualizeBreakpointsForModule(), ScanExportsByAddress(), TakeIdtSnapshot(), and ValidityCheckSymbols().
Definition at line 1455 of file utils.c.
Referenced by ConsoleInitHercules(), and ConsoleInitVga().
Definition at line 2159 of file utils.c.
Referenced by ConsoleInitHercules(), ConsoleShutdownHercules(), DebuggerShell(), HideCursorVga(), PrintCursorVga(), RestoreGraphicsStateVga(), SaveGraphicsStateVga(), and ShowCursorVga().
Definition at line 2164 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), and EnablePassThrough().
Definition at line 2154 of file utils.c.
Referenced by read_vga_reg(), SerialSendByte(), SerialSetOthers(), SerialSetSpeed(), and write_vga_reg().
Definition at line 2300 of file utils.c.
Referenced by LoadExports(), LoadSymbols(), and LoadSymbolsFromConfig().
Definition at line 434 of file utils.c.
Referenced by FindFunctionInModuleByName(), FindLocalsByAddress(), and FindSourceLineForAddress().
Definition at line 465 of file utils.c.
Referenced by FindFunctionInModuleByName().
Definition at line 2222 of file utils.c.
Referenced by ConsoleShutdownSerial(), ConsoleShutdownVga(), LoadSymbols(), UnloadExports(), and UnloadSymbols().
Definition at line 337 of file utils.c.
Referenced by AddToRingBuffer(), EvaluateSymbol(), ExtractNumber(), ExtractToken(), PICE_isxdigit(), and simple_strtoul().
Definition at line 347 of file utils.c.
Referenced by simple_strtoul().
Definition at line 2310 of file utils.c.
Referenced by LoadExports(), LoadSymbols(), and LoadSymbolsFromConfig().
Definition at line 2212 of file utils.c.
Referenced by ConsoleInitSerial(), ConsoleInitVga(), LoadExports(), LoadSymbols(), and LoadSymbolsFromConfig().
Definition at line 239 of file utils.c.
Referenced by AddToRingBuffer(), AssemblePacket(), COMMAND_PROTOTYPE(), CopyLineToVga(), PICE_strcat(), PICE_strcpy(), PICE_strncpy(), RestoreGraphicsStateVga(), SaveGraphicsStateVga(), and SetWindowGeometry().
Definition at line 228 of file utils.c.
Referenced by AddToRingBuffer(), ClrLineHercules(), COMMAND_PROTOTYPE(), ConsoleInit(), ConsoleInitHercules(), ConsoleInitVga(), DebuggerShell(), EmptyRingBuffer(), Evaluate(), ExtractStructMembers(), InstallInt3Hook(), Parse(), ProcessBootParams(), RemoveAllSWBreakpoints(), RemoveSWBreakpoint(), RepaintDesktop(), RepaintSource(), ReplaceRingBufferCurrent(), RevirtualizeBreakpointsForModule(), and TryToInstallVirtualSWBreakpoints().
INT WINAPI PICE_MultiByteToWideChar | ( | UINT | CodePage, |
DWORD | dwFlags, | ||
LPCSTR | lpMultiByteStr, | ||
int | cchMultiByte, | ||
LPWSTR | lpWideCharStr, | ||
int | cchWideChar | ||
) |
Definition at line 2335 of file utils.c.
Referenced by FindModuleByName(), FindModuleSymbolsByModuleName(), and LoadSymbols().
|
static |
Definition at line 1780 of file utils.c.
Referenced by PICE_vsprintf().
Definition at line 2250 of file utils.c.
Referenced by LoadExports(), LoadSymbols(), and LoadSymbolsFromConfig().
Definition at line 2228 of file utils.c.
Referenced by LoadExports(), LoadSymbols(), and LoadSymbolsFromConfig().
Definition at line 2053 of file utils.c.
Referenced by CheckLoadAbort(), COMMAND_PROTOTYPE(), DebuggerShell(), Disassembler(), DisplayRegs(), DisplaySourceFile(), Evaluate(), FindCommand(), FindFunctionByAddress(), IntelStackWalk(), ListSWBreakpoints(), ListSymbolStartingAt(), LoadExports(), OutputIdtEntry(), Parse(), pice_ioctl(), PiceRunningTimer(), RealIsr(), RevirtualizeBreakpointsForModule(), ScanExportsByAddress(), and ShowStatusLine().
Definition at line 315 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), DebuggerShell(), DecodeVmFlags(), FindAddressForSourceLine(), FindCommand(), FindGlobalStabSymbol(), FindLocalsByAddress(), FindTypeDefinition(), and FindTypeDefinitionForCombinedTypes().
Definition at line 262 of file utils.c.
Referenced by ConvertTokenToModuleAndName(), ConvertTokenToSymbol(), EvaluateSymbol(), ExtractArray(), ExtractStructMembers(), ExtractTypeNumber(), FindGlobalStabSymbol(), FindTypeDefinition(), FindTypeDefinitionForCombinedTypes(), and Parse().
Definition at line 387 of file utils.c.
Referenced by AddToCommandLineHistory(), COMMAND_PROTOTYPE(), ConvertTokenToModule(), ConvertTokenToSrcFile(), FindAddressForSourceLine(), FindGlobalStabSymbol(), FindSourceLineForAddress(), FindVirtualSwBp(), IsModuleLoaded(), LoadSymbolsFromConfig(), ReplaceKeywordWithValue(), and SetKeyboardLayoutByName().
Definition at line 302 of file utils.c.
Referenced by AddToCommandLineHistory(), COMMAND_PROTOTYPE(), CompactString(), ConvertTokenToModuleAndName(), ConvertTokenToSymbol(), DebuggerShell(), DecodeVmFlags(), EvaluateSymbol(), ExtractArray(), ExtractStructMembers(), FindAddressForSourceLine(), FindGlobalStabSymbol(), FindLocalsByAddress(), FindSourceLineForAddress(), FindTypeDefinition(), FindTypeDefinitionForCombinedTypes(), FlushSerial(), InstallVirtualSWBreakpoint(), LoadSymbolsFromConfig(), ReplaceRingBufferCurrent(), and RevirtualizeBreakpointsForModule().
Definition at line 547 of file utils.c.
Referenced by AddToCommandLineHistory(), AddToRingBuffer(), COMMAND_PROTOTYPE(), CompactString(), ConvertTokenToLineNumber(), ConvertTokenToModule(), ConvertTokenToSrcFile(), DebuggerShell(), DisplaySourceFile(), EvaluateSymbol(), FindAddressForSourceLine(), FindCommand(), FindGlobalStabSymbol(), FindLocalsByAddress(), FindSourceLineForAddress(), FindTypeDefinition(), FindTypeDefinitionForCombinedTypes(), FlushSerial(), GetShortName(), IsWhiteChar(), LoadSymbolsFromConfig(), Parse(), PICE_MultiByteToWideChar(), PICE_strcat(), PICE_strcpy(), PICE_strncpy(), PICE_strrev(), PICE_strtok(), PICE_vsprintf(), printk(), PrintRingBufferHome(), and PrintRingBufferOffset().
Definition at line 362 of file utils.c.
Referenced by AddToRingBuffer(), ConvertTokenToModule(), ConvertTokenToSrcFile(), FindCommand(), and Parse().
Definition at line 286 of file utils.c.
Referenced by ConvertTokenToKeyword(), ConvertTokenToOnOff(), ConvertTokenToSpecialKeyword(), ExtractStructMembers(), FindAddressForSourceLine(), FindGlobalStabSymbol(), FindLocalsByAddress(), and FindSourceLineForAddress().
Definition at line 527 of file utils.c.
Referenced by COMMAND_PROTOTYPE(), and VisualizeFlags().
Definition at line 329 of file utils.c.
Referenced by PICE_strcmpi(), PICE_strncmpi(), simple_strtoul(), and VisualizeFlags().
Definition at line 1850 of file utils.c.
Referenced by PICE_sprintf(), and printk().
Definition at line 504 of file utils.c.
Referenced by FindFunctionByAddress(), FindModuleByName(), FindModuleSymbols(), FindModuleSymbolsByModuleName(), and ScanExportsByAddress().
Definition at line 688 of file utils.c.
Referenced by DeInstallSWBreakpoint(), InstallSWBreakpoint(), ReInstallSWBreakpoint(), RemoveAllSWBreakpoints(), RemoveSWBreakpoint(), RevirtualizeBreakpointsForModule(), and TryToInstallVirtualSWBreakpoints().
Definition at line 878 of file utils.c.
Referenced by COMMAND_PROTOTYPE().
Definition at line 952 of file utils.c.
PKEYBOARD_LAYOUT SetKeyboardLayoutByName | ( | LPSTR | Name | ) |
Definition at line 208 of file utils.c.
Referenced by COMMAND_PROTOTYPE().
Definition at line 843 of file utils.c.
Referenced by DebuggerShell(), and PrintTemplate().
Definition at line 861 of file utils.c.
Referenced by DebuggerShell(), and RepaintDesktop().
Definition at line 1737 of file utils.c.
Definition at line 1712 of file utils.c.
Referenced by simple_strtol().
Definition at line 1747 of file utils.c.
Referenced by PICE_vsprintf().
Definition at line 1069 of file utils.c.
Referenced by DisplayRegs().
PKEYBOARD_LAYOUT CurrentKeyboard = NULL |
Definition at line 183 of file utils.c.
Referenced by GetKeyboardLayout(), and SetKeyboardLayoutByName().
char tempUtil[1024] |
Definition at line 42 of file utils.c.
Referenced by CheckLoadAbort(), and IntelStackWalk().
ULONG TwoPagesForPhysMem[2 *_PAGE_SIZE] |
Definition at line 47 of file utils.c.
Referenced by ReadPhysMem(), and WritePhysMem().
SCANTOASCII ucAltScanToAscii_DK[] |
KEYBOARD_LAYOUT ucKeyboard[] |
Definition at line 175 of file utils.c.
Referenced by GetKeyboardLayout(), and SetKeyboardLayoutByName().
SCANTOASCII ucScanToAscii_DE[] |
SCANTOASCII ucScanToAscii_DK[] |
SCANTOASCII ucScanToAscii_US[] |
SCANTOASCII ucShiftScanToAscii_DE[] |
SCANTOASCII ucShiftScanToAscii_DK[] |
SCANTOASCII ucShiftScanToAscii_US[] |