Lines Matching refs:uxIndex

68         size_t uxIndex = 0U;  in DNS_ReadNameField()  local
78 uxIndex = 0U; in DNS_ReadNameField()
83 else if( ( pucByte[ uxIndex ] & dnsNAME_IS_OFFSET ) == dnsNAME_IS_OFFSET ) in DNS_ReadNameField()
88 uxIndex += sizeof( uint16_t ); in DNS_ReadNameField()
92 uxIndex = 0U; in DNS_ReadNameField()
98 while( ( uxIndex < uxSourceLen ) && ( pucByte[ uxIndex ] != ( uint8_t ) 0x00U ) ) in DNS_ReadNameField()
106 uxIndex = 0U; in DNS_ReadNameField()
116 uxCount = ( size_t ) pucByte[ uxIndex ]; in DNS_ReadNameField()
117 uxIndex++; in DNS_ReadNameField()
119 if( ( uxIndex + uxCount ) > uxSourceLen ) in DNS_ReadNameField()
121 uxIndex = 0U; in DNS_ReadNameField()
129 uxIndex = 0U; in DNS_ReadNameField()
136 pcName[ uxNameLen ] = ( char ) pucByte[ uxIndex ]; in DNS_ReadNameField()
138 uxIndex++; in DNS_ReadNameField()
143 if( uxIndex > 0U ) in DNS_ReadNameField()
152 if( ( uxNameLen < uxDestLen ) && ( uxIndex < uxSourceLen ) ) in DNS_ReadNameField()
155 uxIndex++; in DNS_ReadNameField()
159 uxIndex = 0U; in DNS_ReadNameField()
164 return uxIndex; in DNS_ReadNameField()
180 size_t uxIndex = 0U; in DNS_SkipNameField() local
184 uxIndex = 0U; in DNS_SkipNameField()
189 else if( ( pucByte[ uxIndex ] & dnsNAME_IS_OFFSET ) == dnsNAME_IS_OFFSET ) in DNS_SkipNameField()
194 uxIndex += sizeof( uint16_t ); in DNS_SkipNameField()
198 uxIndex = 0U; in DNS_SkipNameField()
204 while( ( pucByte[ uxIndex ] != 0U ) && ( uxSourceLenCpy > 1U ) ) in DNS_SkipNameField()
208 uxChunkLength = ( ( size_t ) pucByte[ uxIndex ] ) + 1U; in DNS_SkipNameField()
213 uxIndex += uxChunkLength; in DNS_SkipNameField()
217 uxIndex = 0U; in DNS_SkipNameField()
223 if( uxIndex > 0U ) in DNS_SkipNameField()
225 if( pucByte[ uxIndex ] == 0U ) in DNS_SkipNameField()
227 uxIndex++; in DNS_SkipNameField()
231 uxIndex = 0U; in DNS_SkipNameField()
236 return uxIndex; in DNS_SkipNameField()