Lines Matching refs:outLen
162 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ argument
163 *(outLen) = strnlen((str), (maxLen)); \
165 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \ argument
169 *(outLen) = 0; \
171 *(outLen) = 1; \
173 *(outLen) = 2; \
175 *(outLen) = 3; \
177 *(outLen) = 4; \
179 *(outLen) = 5; \
181 *(outLen) = 6; \
183 *(outLen) = 7; \
186 *(outLen) = 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 { \ argument
203 *(outLen) = (size_t)(strEnd_ - (str)); \
208 #define SECUREC_CALC_WSTR_LEN(str, maxLen, outLen) do { \ argument
215 *(outLen) = len_; \