Searched refs:MAX_STRING_LENGTH (Results 1 – 13 of 13) sorted by relevance
/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/ |
D | hisysevent_operation.cpp | 95 if (item.length() > MAX_STRING_LENGTH) { in AppendValue() 96 text = item.substr(0, MAX_STRING_LENGTH); in AppendValue()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
D | def.h | 60 static constexpr unsigned int MAX_STRING_LENGTH = 256 * 1024; variable
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
D | napi_web_data_base.cpp | 32 constexpr int32_t MAX_STRING_LENGTH = 40960; variable 96 if (bufferSize > MAX_STRING_LENGTH) { in GetStringPara() 119 if (bufferSize > MAX_STRING_LENGTH) { in GetSize()
|
D | napi_geolocation_permission.cpp | 85 constexpr int32_t MAX_STRING_LENGTH = 40960; in GetStringPara() local 94 if (bufferSize > MAX_STRING_LENGTH) { in GetStringPara()
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | power_state_machine_info.h | 42 constexpr int MAX_STRING_LENGTH = 128; variable
|
/base/print/print_fwk/frameworks/helper/src/ |
D | napi_print_utils.cpp | 25 static constexpr const int MAX_STRING_LENGTH = 65536; variable 167 std::vector<char> str(MAX_STRING_LENGTH + 1, '\0'); in GetStringFromValueUtf8() 169 …PRINT_CALL_BASE(env, napi_get_value_string_utf8(env, value, &str[0], MAX_STRING_LENGTH, &length), … in GetStringFromValueUtf8()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent.cpp | 90 if (value.length() > MAX_STRING_LENGTH) { in CheckValue() 156 if (item.length() > MAX_STRING_LENGTH) { in AppendValue() 157 text = item.substr(0, MAX_STRING_LENGTH); in AppendValue()
|
D | inner_writer.cpp | 104 if (value.length() > MAX_STRING_LENGTH) { in CheckValue()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_napi_helper.cpp | 34 static constexpr const int MAX_STRING_LENGTH = 65536; variable 461 std::vector<char> str(MAX_STRING_LENGTH + 1, '\0'); in GetStringFromValueUtf8() 463 NAPI_CALL(env, napi_get_value_string_utf8(env, value, &str[0], MAX_STRING_LENGTH, &length)); in GetStringFromValueUtf8()
|
/base/request/request/frameworks/js/napi/include/ |
D | napi_utils.h | 44 static constexpr int32_t MAX_STRING_LENGTH = 65536; variable
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 71 constexpr int32_t MAX_STRING_LENGTH = 40960; in GetStringPara() local 80 if (bufferSize > MAX_STRING_LENGTH) { in GetStringPara()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_c_test.cpp | 571 size_t strLen = MAX_STRING_LENGTH + 1; 645 size_t strLen = MAX_STRING_LENGTH;
|
/base/request/request/frameworks/js/napi/src/ |
D | napi_utils.cpp | 441 std::vector<char> str(MAX_STRING_LENGTH + 1, '\0'); in Convert2String() 443 …NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, value, &str[0], MAX_STRING_LENGTH, &length), r… in Convert2String()
|