diff options
author | midipix <writeonce@midipix.org> | 2017-07-30 21:21:21 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-07-31 08:43:34 -0400 |
commit | b1f553fc960f01e3884d90e4c7ef901ff32d51f1 (patch) | |
tree | 194c4f8110ed78edc9b3bef71971b1f6b162ca5f /src | |
parent | ce6accbc18a68c77e06f43834069565a746a4e78 (diff) | |
download | ntapi-b1f553fc960f01e3884d90e4c7ef901ff32d51f1.tar.bz2 ntapi-b1f553fc960f01e3884d90e4c7ef901ff32d51f1.tar.xz |
string to hex, hex to string: pre-alpha api normalization.
Diffstat (limited to 'src')
-rw-r--r-- | src/string/ntapi_tt_hex_utf16_to_uintptr.c | 8 | ||||
-rw-r--r-- | src/string/ntapi_tt_uintptr_to_hex_utf16.c | 10 | ||||
-rw-r--r-- | src/string/ntapi_tt_uintptr_to_hex_utf8.c | 10 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/string/ntapi_tt_hex_utf16_to_uintptr.c b/src/string/ntapi_tt_hex_utf16_to_uintptr.c index 2037057..33478f3 100644 --- a/src/string/ntapi_tt_hex_utf16_to_uintptr.c +++ b/src/string/ntapi_tt_hex_utf16_to_uintptr.c @@ -8,7 +8,7 @@ #include <ntapi/nt_status.h> int32_t __fastcall __ntapi_tt_hex_utf16_to_uint32( - __in wchar16_t hex_key_utf16[8], + __in const wchar16_t hex_key_utf16[8], __out uint32_t * key) { int i; @@ -62,7 +62,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uint32( int32_t __fastcall __ntapi_tt_hex_utf16_to_uint64( - __in wchar16_t hex_key_utf16[16], + __in const wchar16_t hex_key_utf16[16], __out uint64_t * key) { int32_t status; @@ -91,7 +91,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uint64( int32_t __fastcall __ntapi_tt_hex_utf16_to_uintptr( - __in wchar16_t hex_key_utf16[], + __in const wchar16_t hex_key_utf16[], __out uintptr_t * key) { #if (__SIZEOF_POINTER__ == 4) @@ -103,7 +103,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uintptr( int32_t __fastcall __ntapi_tt_hex_utf16_to_uint16( - __in wchar16_t hex_key_utf16[4], + __in const wchar16_t hex_key_utf16[4], __out uint16_t * key) { int32_t ret; diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf16.c b/src/string/ntapi_tt_uintptr_to_hex_utf16.c index 129a858..0afe43d 100644 --- a/src/string/ntapi_tt_uintptr_to_hex_utf16.c +++ b/src/string/ntapi_tt_uintptr_to_hex_utf16.c @@ -7,7 +7,7 @@ #include <psxtypes/psxtypes.h> static void __fastcall __ntapi_tt_uint_to_hex_utf16( - __in uint64_t key, + __in const uint64_t key, __out wchar16_t * buffer, __in unsigned bits) { @@ -37,7 +37,7 @@ static void __fastcall __ntapi_tt_uint_to_hex_utf16( void __fastcall __ntapi_tt_uint16_to_hex_utf16( - __in uint32_t key, + __in const uint32_t key, __out wchar16_t * formatted_key) { __ntapi_tt_uint_to_hex_utf16( @@ -48,7 +48,7 @@ void __fastcall __ntapi_tt_uint16_to_hex_utf16( void __fastcall __ntapi_tt_uint32_to_hex_utf16( - __in uint32_t key, + __in const uint32_t key, __out wchar16_t * formatted_key) { __ntapi_tt_uint_to_hex_utf16( @@ -59,7 +59,7 @@ void __fastcall __ntapi_tt_uint32_to_hex_utf16( void __fastcall __ntapi_tt_uint64_to_hex_utf16( - __in uint64_t key, + __in const uint64_t key, __out wchar16_t * formatted_key) { __ntapi_tt_uint_to_hex_utf16( @@ -70,7 +70,7 @@ void __fastcall __ntapi_tt_uint64_to_hex_utf16( void __fastcall __ntapi_tt_uintptr_to_hex_utf16( - __in uintptr_t key, + __in const uintptr_t key, __out wchar16_t * formatted_key) { #if (__SIZEOF_POINTER__ == 4) diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf8.c b/src/string/ntapi_tt_uintptr_to_hex_utf8.c index 2848916..36e333e 100644 --- a/src/string/ntapi_tt_uintptr_to_hex_utf8.c +++ b/src/string/ntapi_tt_uintptr_to_hex_utf8.c @@ -7,7 +7,7 @@ #include <psxtypes/psxtypes.h> static void __fastcall __ntapi_tt_uint_to_hex_utf8( - __in uint64_t key, + __in const uint64_t key, __out unsigned char * buffer, __in unsigned bits) { @@ -38,7 +38,7 @@ static void __fastcall __ntapi_tt_uint_to_hex_utf8( void __fastcall __ntapi_tt_uint16_to_hex_utf8( - __in uint32_t key, + __in const uint32_t key, __out unsigned char * buffer) { __ntapi_tt_uint_to_hex_utf8(key,buffer,16); @@ -46,7 +46,7 @@ void __fastcall __ntapi_tt_uint16_to_hex_utf8( void __fastcall __ntapi_tt_uint32_to_hex_utf8( - __in uint32_t key, + __in const uint32_t key, __out unsigned char * buffer) { __ntapi_tt_uint_to_hex_utf8(key,buffer,32); @@ -54,7 +54,7 @@ void __fastcall __ntapi_tt_uint32_to_hex_utf8( void __fastcall __ntapi_tt_uint64_to_hex_utf8( - __in uint64_t key, + __in const uint64_t key, __out unsigned char * buffer) { __ntapi_tt_uint_to_hex_utf8(key,buffer,64); @@ -62,7 +62,7 @@ void __fastcall __ntapi_tt_uint64_to_hex_utf8( void __fastcall __ntapi_tt_uintptr_to_hex_utf8( - __in uintptr_t key, + __in const uintptr_t key, __out unsigned char * buffer) { #if (__SIZEOF_POINTER__ == 4) |