@@ -67,8 +67,8 @@ static const char *unreserved = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstu
6767
6868int mock_bpa_uri_percent_encode (m_string_t out , const m_string_t in , const char * safe )
6969{
70- CHKERR1 (out );
71- CHKERR1 (in );
70+ BSL_CHKERR1 (out );
71+ BSL_CHKERR1 (in );
7272
7373 const size_t in_len = m_string_size (in );
7474 const char * curs = m_string_get_cstr (in );
@@ -113,8 +113,8 @@ int mock_bpa_uri_percent_encode(m_string_t out, const m_string_t in, const char
113113
114114int mock_bpa_uri_percent_decode (m_string_t out , const m_string_t in )
115115{
116- CHKERR1 (out );
117- CHKERR1 (in );
116+ BSL_CHKERR1 (out );
117+ BSL_CHKERR1 (in );
118118
119119 const size_t in_len = m_string_size (in );
120120 const char * curs = m_string_get_cstr (in );
@@ -158,8 +158,8 @@ int mock_bpa_uri_percent_decode(m_string_t out, const m_string_t in)
158158
159159int mock_bpa_slash_escape (m_string_t out , const m_string_t in , const char quote )
160160{
161- CHKERR1 (out );
162- CHKERR1 (in );
161+ BSL_CHKERR1 (out );
162+ BSL_CHKERR1 (in );
163163
164164 // unicode iterator
165165 m_string_it_t it ;
@@ -214,8 +214,8 @@ int mock_bpa_slash_escape(m_string_t out, const m_string_t in, const char quote)
214214
215215int mock_bpa_slash_unescape (m_string_t out , const m_string_t in )
216216{
217- CHKERR1 (out );
218- CHKERR1 (in );
217+ BSL_CHKERR1 (out );
218+ BSL_CHKERR1 (in );
219219
220220 const size_t in_len = m_string_size (in );
221221 if (in_len == 0 )
@@ -369,7 +369,7 @@ void mock_bpa_strip_space(m_string_t out, const char *in, size_t in_len)
369369
370370void mock_bpa_string_tolower (m_string_t out )
371371{
372- CHKVOID (out );
372+ BSL_CHKVOID (out );
373373 size_t len = m_string_size (out );
374374 for (size_t i = 0 ; i < len ; i ++ )
375375 {
@@ -379,7 +379,7 @@ void mock_bpa_string_tolower(m_string_t out)
379379
380380void mock_bpa_string_toupper (m_string_t out )
381381{
382- CHKVOID (out );
382+ BSL_CHKVOID (out );
383383 size_t len = m_string_size (out );
384384 for (size_t i = 0 ; i < len ; i ++ )
385385 {
@@ -436,8 +436,8 @@ static int base16_decode_char(uint8_t chr)
436436
437437int mock_bpa_base16_decode (m_bstring_t out , const m_string_t in )
438438{
439- CHKERR1 (out );
440- CHKERR1 (in );
439+ BSL_CHKERR1 (out );
440+ BSL_CHKERR1 (in );
441441
442442 const size_t in_len = m_string_size (in );
443443 if (in_len % 2 != 0 )
@@ -588,8 +588,8 @@ static int base64_decode_char(uint8_t chr)
588588
589589int mock_bpa_base64_decode (m_bstring_t out , const m_string_t in )
590590{
591- CHKERR1 (out );
592- CHKERR1 (in );
591+ BSL_CHKERR1 (out );
592+ BSL_CHKERR1 (in );
593593
594594 size_t in_len = m_string_size (in );
595595 const char * curs = m_string_get_cstr (in );
0 commit comments