Author: hbelusca
Date: Sun Feb 1 14:39:35 2015
New Revision: 66140
URL:
http://svn.reactos.org/svn/reactos?rev=66140&view=rev
Log:
[CMLIB]: Whitespace fixes only.
Modified:
trunk/reactos/lib/cmlib/cmlib.h
trunk/reactos/lib/cmlib/cmtools.c
trunk/reactos/lib/cmlib/hivebin.c
trunk/reactos/lib/cmlib/hivedata.h
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=6614…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Sun Feb 1 14:39:35 2015
@@ -345,25 +345,25 @@
BOOLEAN
NTAPI
CmCompareHash(
- IN PCUNICODE_STRING KeyName,
- IN PCHAR HashString,
- IN BOOLEAN CaseInsensitive);
+ IN PCUNICODE_STRING KeyName,
+ IN PCHAR HashString,
+ IN BOOLEAN CaseInsensitive);
BOOLEAN
NTAPI
CmComparePackedNames(
- IN PCUNICODE_STRING Name,
- IN PVOID NameBuffer,
- IN USHORT NameBufferSize,
- IN BOOLEAN NamePacked,
- IN BOOLEAN CaseInsensitive);
+ IN PCUNICODE_STRING Name,
+ IN PVOID NameBuffer,
+ IN USHORT NameBufferSize,
+ IN BOOLEAN NamePacked,
+ IN BOOLEAN CaseInsensitive);
BOOLEAN
NTAPI
CmCompareKeyName(
- IN PCM_KEY_NODE KeyCell,
- IN PCUNICODE_STRING KeyName,
- IN BOOLEAN CaseInsensitive);
+ IN PCM_KEY_NODE KeyCell,
+ IN PCUNICODE_STRING KeyName,
+ IN BOOLEAN CaseInsensitive);
BOOLEAN
NTAPI
Modified: trunk/reactos/lib/cmlib/cmtools.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmtools.c?rev=66…
==============================================================================
--- trunk/reactos/lib/cmlib/cmtools.c [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmtools.c [iso-8859-1] Sun Feb 1 14:39:35 2015
@@ -12,16 +12,16 @@
BOOLEAN
NTAPI
CmCompareHash(
- IN PCUNICODE_STRING KeyName,
- IN PCHAR HashString,
- IN BOOLEAN CaseInsensitive)
-{
- CHAR Buffer[4];
-
- Buffer[0] = (KeyName->Length >= 2) ? (CHAR)KeyName->Buffer[0] : 0;
- Buffer[1] = (KeyName->Length >= 4) ? (CHAR)KeyName->Buffer[1] : 0;
- Buffer[2] = (KeyName->Length >= 6) ? (CHAR)KeyName->Buffer[2] : 0;
- Buffer[3] = (KeyName->Length >= 8) ? (CHAR)KeyName->Buffer[3] : 0;
+ IN PCUNICODE_STRING KeyName,
+ IN PCHAR HashString,
+ IN BOOLEAN CaseInsensitive)
+{
+ CHAR Buffer[4];
+
+ Buffer[0] = (KeyName->Length >= 2) ? (CHAR)KeyName->Buffer[0] : 0;
+ Buffer[1] = (KeyName->Length >= 4) ? (CHAR)KeyName->Buffer[1] : 0;
+ Buffer[2] = (KeyName->Length >= 6) ? (CHAR)KeyName->Buffer[2] : 0;
+ Buffer[3] = (KeyName->Length >= 8) ? (CHAR)KeyName->Buffer[3] : 0;
if (CaseInsensitive)
{
Modified: trunk/reactos/lib/cmlib/hivebin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/hivebin.c?rev=66…
==============================================================================
--- trunk/reactos/lib/cmlib/hivebin.c [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/hivebin.c [iso-8859-1] Sun Feb 1 14:39:35 2015
@@ -86,8 +86,8 @@
{
ASSERT(RegistryHive->DirtyVector.Buffer);
RtlCopyMemory(BitmapBuffer,
- RegistryHive->DirtyVector.Buffer,
- RegistryHive->DirtyVector.SizeOfBitMap / 8);
+ RegistryHive->DirtyVector.Buffer,
+ RegistryHive->DirtyVector.SizeOfBitMap / 8);
RegistryHive->Free(RegistryHive->DirtyVector.Buffer, 0);
}
RtlInitializeBitMap(&RegistryHive->DirtyVector, BitmapBuffer,
Modified: trunk/reactos/lib/cmlib/hivedata.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/hivedata.h?rev=6…
==============================================================================
--- trunk/reactos/lib/cmlib/hivedata.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/hivedata.h [iso-8859-1] Sun Feb 1 14:39:35 2015
@@ -78,15 +78,15 @@
//
// Cell Magic Values
//
-#define HCELL_NIL MAXULONG
-#define HCELL_CACHED 1
-
-#define HCELL_TYPE_MASK 0x80000000
-#define HCELL_BLOCK_MASK 0x7ffff000
-#define HCELL_OFFSET_MASK 0x00000fff
-#define HCELL_TYPE_SHIFT 31
-#define HCELL_BLOCK_SHIFT 12
-#define HCELL_OFFSET_SHIFT 0
+#define HCELL_NIL MAXULONG
+#define HCELL_CACHED 1
+
+#define HCELL_TYPE_MASK 0x80000000
+#define HCELL_BLOCK_MASK 0x7ffff000
+#define HCELL_OFFSET_MASK 0x00000fff
+#define HCELL_TYPE_SHIFT 31
+#define HCELL_BLOCK_SHIFT 12
+#define HCELL_OFFSET_SHIFT 0
#define HvGetCellType(Cell) \
((ULONG)((Cell & HCELL_TYPE_MASK) >> HCELL_TYPE_SHIFT))
@@ -107,7 +107,7 @@
* On-disk header for registry hive file.
*/
-#define HIVE_FILENAME_MAXLEN 31
+#define HIVE_FILENAME_MAXLEN 31
typedef struct _HBASE_BLOCK
{