Home
last modified time | relevance | path

Searched refs:MAX_STRING_LENGTH (Results 1 – 13 of 13) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/servicetest/utils/
Dhisysevent_operation.cpp95 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/
Ddef.h60 static constexpr unsigned int MAX_STRING_LENGTH = 256 * 1024; variable
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_web_data_base.cpp32 constexpr int32_t MAX_STRING_LENGTH = 40960; variable
96 if (bufferSize > MAX_STRING_LENGTH) { in GetStringPara()
119 if (bufferSize > MAX_STRING_LENGTH) { in GetSize()
Dnapi_geolocation_permission.cpp85 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/
Dpower_state_machine_info.h42 constexpr int MAX_STRING_LENGTH = 128; variable
/base/print/print_fwk/frameworks/helper/src/
Dnapi_print_utils.cpp25 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/
Dhisysevent.cpp90 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()
Dinner_writer.cpp104 if (value.length() > MAX_STRING_LENGTH) { in CheckValue()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_napi_helper.cpp34 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/
Dnapi_utils.h44 static constexpr int32_t MAX_STRING_LENGTH = 65536; variable
/base/web/webview/interfaces/kits/napi/webcookiemanager/
Dnapi_web_cookie_manager.cpp71 constexpr int32_t MAX_STRING_LENGTH = 40960; in GetStringPara() local
80 if (bufferSize > MAX_STRING_LENGTH) { in GetStringPara()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_c_test.cpp571 size_t strLen = MAX_STRING_LENGTH + 1;
645 size_t strLen = MAX_STRING_LENGTH;
/base/request/request/frameworks/js/napi/src/
Dnapi_utils.cpp441 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()