Searched refs:maxStrLen (Results 1 - 9 of 9) sorted by relevance
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_baselib_utils_test.cpp | 390 uint32_t maxStrLen = MAX_MALLOC_LEN / 3 * 4 + 10; in HWTEST_F() local 391 uint8_t *maxStr = (uint8_t *)MALLOC(sizeof(uint8_t) * maxStrLen); in HWTEST_F() 394 memset_s(maxStr, maxStrLen - 1, 'c', maxStrLen - 1); in HWTEST_F() 402 uint32_t maxStrLen = MAX_MALLOC_LEN / 3 * 4 + 10; in HWTEST_F() local 403 uint8_t *maxStr = (uint8_t *)MALLOC(sizeof(uint8_t) * maxStrLen); in HWTEST_F() 406 memset_s(maxStr, maxStrLen - 1, 'c', maxStrLen - 1); in HWTEST_F() 428 uint32_t maxStrLen = MAX_MALLOC_LEN / 4 * 3; in HWTEST_F() local 429 EXPECT_EQ(nullptr, Base64EncodeApp(src, maxStrLen)); in HWTEST_F() [all...] |
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
H A D | dfx_util.cpp | 79 uint32_t maxStrLen = NAME_BUF_LEN; in TrimAndDupStr() local 81 if (maxStrLen > offset) { in TrimAndDupStr() 82 maxStrLen = offset; in TrimAndDupStr() 85 str.assign(begin, maxStrLen); in TrimAndDupStr()
|
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
H A D | nativetoken.h | 91 uint32_t maxStrLen;
member
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
H A D | hiappevent_app_event_test.cpp | 135 constexpr size_t maxStrLen = 8 * 1024;
in HWTEST_F() local 136 std::string longStr(maxStrLen, 'a');
in HWTEST_F() 141 std::string longInvalidStr(maxStrLen + 1, 'a');
in HWTEST_F()
|
H A D | hiappevent_native_test.cpp | 275 int maxStrLen = 8 * 1024; in HWTEST_F() local 276 std::string longStr(maxStrLen, 'a'); in HWTEST_F() 277 std::string longInvalidStr(maxStrLen + 1, 'a'); in HWTEST_F()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken.c | 95 static void StrAttrSet(StrArrayAttr *attr, uint32_t maxStrLen, int32_t maxStrNum, const char *strKey) in StrAttrSet() argument 97 attr->maxStrLen = maxStrLen; in StrAttrSet()
|
H A D | nativetoken_json_oper.c | 99 if (length > attr->maxStrLen) { in GetInfoArrFromJson()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
H A D | nativetoken_oper_test.cpp | 181 attr.maxStrLen = 10;
|
/base/security/device_security_level/test/dslm_fuzz_test/dslm_fuzzer/ |
H A D | dslm_fuzzer.cpp | 224 uint32_t maxStrLen = 4; in Base64EncodeAppTest() local 227 (void)Base64EncodeApp(src, maxStrLen); in Base64EncodeAppTest()
|
Completed in 7 milliseconds