Searched refs:SECUREC_STRING_MAX_LEN (Results 1 – 14 of 14) sorted by relevance
/third_party/bounds_checking_function/src/ |
D | strncpy_s.c | 24 …(((destMax) > 0 && (destMax) <= SECUREC_STRING_MAX_LEN && (strDest) != NULL && (strSrc) != NULL &&… 25 ((count) <= SECUREC_STRING_MAX_LEN || (count) == ((size_t)(-1))) && (count) > 0)) 28 …(((destMax) > 0 && (destMax) <= SECUREC_STRING_MAX_LEN && (strDest) != NULL && (strSrc) != NULL &&… 29 (count) <= SECUREC_STRING_MAX_LEN && (count) > 0)) 60 if (destMax == 0 || destMax > SECUREC_STRING_MAX_LEN) { in strncpy_error() 72 if (count > SECUREC_STRING_MAX_LEN) { in strncpy_error()
|
D | vsnprintf_s.c | 48 if (SECUREC_VSNPRINTF_PARAM_ERROR(format, strDest, destMax, count, SECUREC_STRING_MAX_LEN)) { in vsnprintf_s() 49 SECUREC_VSPRINTF_CLEAR_DEST(strDest, destMax, SECUREC_STRING_MAX_LEN); in vsnprintf_s() 116 if (SECUREC_VSPRINTF_PARAM_ERROR(format, strDest, destMax, SECUREC_STRING_MAX_LEN)) { in vsnprintf_truncated_s() 117 SECUREC_VSPRINTF_CLEAR_DEST(strDest, destMax, SECUREC_STRING_MAX_LEN); in vsnprintf_truncated_s()
|
D | vsprintf_s.c | 45 if (SECUREC_VSPRINTF_PARAM_ERROR(format, strDest, destMax, SECUREC_STRING_MAX_LEN)) { in vsprintf_s() 46 SECUREC_VSPRINTF_CLEAR_DEST(strDest, destMax, SECUREC_STRING_MAX_LEN); in vsprintf_s()
|
D | gets_s.c | 54 size_t bufferSize = ((destMax == (size_t)(-1)) ? SECUREC_STRING_MAX_LEN : destMax); in gets_s() 59 if (buffer == NULL || bufferSize == 0 || bufferSize > SECUREC_STRING_MAX_LEN) { in gets_s()
|
D | strncat_s.c | 89 if (destMax == 0 || destMax > SECUREC_STRING_MAX_LEN) { in strncat_s() 102 if (count > SECUREC_STRING_MAX_LEN) { in strncat_s()
|
D | secureprintoutput.h | 132 ((count) > (SECUREC_STRING_MAX_LEN - 1) && (count) != (size_t)(-1))) 137 ((count) > (SECUREC_STRING_MAX_LEN - 1)))
|
D | strcpy_s.c | 27 …(destMax) <= SECUREC_STRING_MAX_LEN && (strDest) != NULL && (strSrc) != NULL && (strDest) != (strS… 286 if (destMax == 0 || destMax > SECUREC_STRING_MAX_LEN) { in strcpy_error()
|
D | vsscanf_s.c | 61 if (count == 0 || count > SECUREC_STRING_MAX_LEN) { in vsscanf_s()
|
D | strcat_s.c | 83 if (destMax == 0 || destMax > SECUREC_STRING_MAX_LEN) { in strcat_s()
|
D | input.inl | 125 ((spec).isWCharOrLong <= 0 && (spec).arrayWidth > SECUREC_STRING_MAX_LEN) || \ 128 …C_ARRAY_WIDTH_IS_WRONG(spec) ((spec).arrayWidth == 0 || (spec).arrayWidth > SECUREC_STRING_MAX_LEN)
|
D | output.inl | 982 if (textLen > SECUREC_STRING_MAX_LEN) {
|
/third_party/bounds_checking_function/include/ |
D | securectype.h | 416 #ifndef SECUREC_STRING_MAX_LEN 417 #define SECUREC_STRING_MAX_LEN 0x7fffffffUL macro 419 #define SECUREC_WCHAR_STRING_MAX_LEN (SECUREC_STRING_MAX_LEN / sizeof(wchar_t)) 427 #if SECUREC_STRING_MAX_LEN > 0x7fffffffUL 489 (((unsigned long long)(destMax) & (unsigned long long)(-2)) < SECUREC_STRING_MAX_LEN) && \ 496 (((unsigned long long)(destMax) & (unsigned long long)(-2)) < SECUREC_STRING_MAX_LEN) && \ 505 (((unsigned long long)(destMax) & (unsigned long long)(-2)) < SECUREC_STRING_MAX_LEN)) { \ 537 (((unsigned long long)(destMax) & (unsigned long long)(-2)) < SECUREC_STRING_MAX_LEN) && \ 538 (((unsigned long long)(count) & (unsigned long long)(-2)) < SECUREC_STRING_MAX_LEN)) { \
|
/third_party/musl/porting/linux/user/src/hilog/ |
D | vsnprintf_s_p.c | 26 #ifndef SECUREC_STRING_MAX_LEN 27 #define SECUREC_STRING_MAX_LEN 0x7fffffffUL macro 30 #if SECUREC_STRING_MAX_LEN > 0x7fffffffUL 225 if (format == NULL || strDest == NULL || destMax == 0 || destMax > SECUREC_STRING_MAX_LEN || in vsnprintfp_s() 226 (count > (SECUREC_STRING_MAX_LEN - 1) && count != (size_t)-1)) { in vsnprintfp_s()
|
/third_party/musl/libc-test/src/functionalext/unittest/ |
D | unit_test_hilog_vsnprint_f_p.c | 22 #define SECUREC_STRING_MAX_LEN 0x7fffffffUL macro 114 int ret = vsprintf_test(buf, SECUREC_STRING_MAX_LEN + 1, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0060() 128 int ret = vsprintf_test(buf, MAX_LOG_LEN - 1, SECUREC_STRING_MAX_LEN + 1, true, fmt); in vsnprintfp_s_0070()
|