diff options
author | Petar Dimoski <Petar.Dimoski@seavus.com> | 2011-08-16 07:38:10 +0100 |
---|---|---|
committer | Viktor Mladenovski <viktor.mladenovski@seavus.com> | 2011-09-29 10:27:21 +0200 |
commit | 910f860a59057158193d3ae16568fc0af8bd0d57 (patch) | |
tree | 048943bb7643ab0b5aad14910bb833906d09b0b9 /lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl | |
parent | c83cab43652930dadde059517f7fb076357cbd2b (diff) |
Fix astyle in Loader Communication Module.
ST-Ericsson ID: 346088
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Ib3dee092ba3c16e550bc6d1e2335cf817b7e8ec8
Depends-On: Ib3dee092ba3c16e550bc6d1e2335cf817b7e8ec8
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26000
Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com>
Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com>
Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl')
-rw-r--r-- | lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl b/lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl index 591d99b..9739298 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl +++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/common.xsl @@ -27,14 +27,14 @@ <template match="value" mode="deserialize"> <choose> - <when test="@type='uint32'"><text> </text><value-of select="@name" /> = get_uint32_le(&Data_p); + <when test="@type='uint32'"><text> </text><value-of select="@name" /> = get_uint32_le(&Data_p); </when> - <when test="@type='uint64'"><text> </text><value-of select="@name" /> = get_uint64_le(&Data_p); + <when test="@type='uint64'"><text> </text><value-of select="@name" /> = get_uint64_le(&Data_p); </when> - <when test="@type='string'"><text> </text><value-of select="@name" /> = skip_str(&Data_p); + <when test="@type='string'"><text> </text><value-of select="@name" /> = skip_str(&Data_p); </when> <when test="@type='buffer' and @length!='*'"><text> </text><value-of select="@name" /> = Data_p; - skip_block( &Data_p, <value-of select="@length" />); + skip_block(&Data_p, <value-of select="@length" />); </when> </choose> <if test="position() = last()"><text> @@ -50,11 +50,11 @@ <template match="value" mode="deserialize_size"> <choose> - <when test="@type='uint32'"> uint32 <value-of select="@name" />; + <when test="@type='uint32'"> uint32 <value-of select="@name" />; </when> - <when test="@type='uint64'"> uint64 <value-of select="@name" />; + <when test="@type='uint64'"> uint64 <value-of select="@name" />; </when> - <when test="@type='string'"> char *<value-of select="@name" />; + <when test="@type='string'"> char *<value-of select="@name" />; </when> <when test="@type='buffer' and @length!='*'"> void *<value-of select="@name" />; </when> @@ -76,8 +76,7 @@ </when> <when test="@type='buffer' and @length!='*'">put_block(&Data_p, <value-of select="@name" />, <value-of select="@length" />); </when> - <when test="@type='SupportedCommand' and @length!='*'">if (<value-of select="@name" /> != NULL) - { + <when test="@type='SupportedCommand' and @length!='*'">if (<value-of select="@name" /> != NULL) { put_block(&Data_p, <value-of select="@name" />, PLSize<value-of select="@name" />); } </when> @@ -98,7 +97,7 @@ </when> <when test="@type='uint64'">PLSize += sizeof(uint64); </when> - <when test="@type='string'">PLSize += PLSize<value-of select="@name" /> = get_uint32_string_le((void**)&<value-of select="@name" />); + <when test="@type='string'">PLSize += PLSize<value-of select="@name" /> = get_uint32_string_le((void **)&<value-of select="@name" />); </when> <when test="@type='buffer' and @length!='*'">PLSize += <value-of select="@length" />; </when> @@ -214,7 +213,7 @@ * <value-of select="normalize-space(./documentation/text())"/> * \see <value-of select="$ref"/> * Call source: <value-of select="$source"/> - * @param [in] Session Input session.<apply-templates select="input/value" mode="document" /> + * @param [in] Session Input session.<apply-templates select="input/value" mode="document"/> * @return ErrorCode_e ... */ ErrorCode_e <value-of select="$name"/>(uint16 Session<if test="count(input/value) > 0">, </if><apply-templates select="input/value" mode="declare"/>);</when> @@ -223,7 +222,7 @@ ErrorCode_e <value-of select="$name"/>(uint16 Session<if test="count(input/value * <value-of select="normalize-space(./documentation/text())"/> * \see <value-of select="$ref"/> * Call source: <value-of select="$source"/> - * <apply-templates select="input/value" mode="document" /> + * <apply-templates select="input/value" mode="document"/> * @return ErrorCode_e ... */ ErrorCode_e <value-of select="$name"/>(<choose><when test="count(input/value) > 0"><apply-templates select="input/value" mode="declare"/></when><otherwise>void</otherwise></choose>);</when> @@ -233,7 +232,7 @@ ErrorCode_e <value-of select="$name"/>(<choose><when test="count(input/value) > * Call source: <value-of select="$source"/> * @param [in] Session Transfered input session. * @param [in] Status Completion status code. - * <apply-templates select="output/value" mode="document" /> + * <apply-templates select="output/value" mode="document"/> * @return ErrorCode_e ... */ ErrorCode_e <value-of select="$name"/>(uint16 Session, ErrorCode_e Status<if test="count(output/value) > 0">, </if><apply-templates select="output/value" mode="declare"></apply-templates>);</when> |