mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 10:21:25 -04:00
modify for coding style.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I741db340849990f6925020f894b7ac148ac94e46
This commit is contained in:
@@ -378,7 +378,7 @@ FREE_SYSCAP_OUT:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *Len)
|
static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *len)
|
||||||
{
|
{
|
||||||
uint32_t bufferLen;
|
uint32_t bufferLen;
|
||||||
uint16_t sysCaptype, sysCapLength;
|
uint16_t sysCaptype, sysCapLength;
|
||||||
@@ -410,7 +410,7 @@ static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *
|
|||||||
}
|
}
|
||||||
|
|
||||||
*buffer = contextBuffer;
|
*buffer = contextBuffer;
|
||||||
*Len = bufferLen;
|
*len = bufferLen;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -569,7 +569,7 @@ int32_t SeparateSyscapFromString(const char *inputString, uint32_t *osArray, uin
|
|||||||
{
|
{
|
||||||
int32_t ret = 0;
|
int32_t ret = 0;
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
uint32_t inputLen = strlen(inputString);
|
size_t inputLen = strlen(inputString);
|
||||||
uint32_t count = 0;
|
uint32_t count = 0;
|
||||||
char *temp = NULL;
|
char *temp = NULL;
|
||||||
char *tok = NULL;
|
char *tok = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user