Home
last modified time | relevance | path

Searched refs:txtLen (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c244 #define SECUREC_SAFE_WRITE_PREFIX(src, txtLen, _stream, outChars) \ argument
246 for (ii = 0; ii < txtLen; ++ii) { \
251 _stream->count -= txtLen * (int)(sizeof(SecChar)); \
252 *(outChars) = *(outChars) + (txtLen); \
256 #define SECUREC_SAFE_WRITE_STR(src, txtLen, _stream, outChars) \ argument
258 if (txtLen < MOBILE_NUMBER_LENGTH) { \
259 for (ii = 0; ii < txtLen; ++ii) { \
265 (void)memcpy_s(_stream->cur, ((size_t)(unsigned int)txtLen * (sizeof(SecChar))), src, \
266 ((size_t)(unsigned int)txtLen * (sizeof(SecChar)))); \
267 _stream->cur += (size_t)(unsigned int)txtLen * (sizeof(SecChar)); \
[all …]
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
H A Doutput_p.inl90 #define SECUREC_SAFE_WRITE_PREFIX(src, txtLen, _stream, outChars) do { \ argument
91 for (ii = 0; ii < txtLen; ++ii) { \
96 _stream->count -= txtLen * (int)(sizeof(SecChar)); \
97 *(outChars) = *(outChars) + (txtLen); \
100 #define SECUREC_SAFE_WRITE_STR(src, txtLen, _stream, outChars) do { \ argument
101 if (txtLen < 12 /* for mobile number length */) { \
102 for (ii = 0; ii < txtLen; ++ii) { \
108 … (void)memcpy(_stream->cur, src, ((size_t)(unsigned int)txtLen * (sizeof(SecChar)))); \
109 _stream->cur += (size_t)(unsigned int)txtLen * (sizeof(SecChar)); \
111 _stream->count -= txtLen * (int)(sizeof(SecChar)); \
[all …]