Lines Matching refs:maxLen
162 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \
163 *(outLen) = strnlen((str), (maxLen)); \
165 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \
166 if ((maxLen) > 8) { \
189 *(outLen) = 8 + strnlen((str) + 8, (maxLen) - 8); \
192 SECUREC_CALC_STR_LEN((str), (maxLen), (outLen)); \
196 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \
198 size_t availableSize_ = (size_t)(maxLen); \
208 #define SECUREC_CALC_WSTR_LEN(str, maxLen, outLen) do { \
211 while (len_ < (maxLen) && *strEnd_ != L'\0') { \