Home
last modified time | relevance | path

Searched refs:MAX_PWD_LENGTH (Results 1 - 3 of 3) sorted by relevance

/base/web/webview/interfaces/kits/cj/src/
H A Dweb_data_base.cpp34 char password[MAX_PWD_LENGTH + 1] = {0}; in CJGetHttpAuthCredentials()
37 database->GetHttpAuthCredentials(host, realm, username_s, password, MAX_PWD_LENGTH + 1); in CJGetHttpAuthCredentials()
58 result[1] = static_cast<char*>(malloc(sizeof(char) * (MAX_PWD_LENGTH + 1))); in CJGetHttpAuthCredentials()
65 result[1] = std::char_traits<char>::copy(result[1], password, MAX_PWD_LENGTH); in CJGetHttpAuthCredentials()
66 (void)memset_s(password, MAX_PWD_LENGTH + 1, 0, MAX_PWD_LENGTH + 1); in CJGetHttpAuthCredentials()
/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_web_data_base.cpp33 constexpr int32_t MAX_PWD_LENGTH = 256; member
174 if (!GetSize(env, argv[PARAMTHREE], bufferSize) || bufferSize > MAX_PWD_LENGTH) { in JsSaveHttpAuthCredentials()
231 char password[MAX_PWD_LENGTH + 1] = {0}; in JsGetHttpAuthCredentials()
237 dataBase->GetHttpAuthCredentials(host, realm, username, password, MAX_PWD_LENGTH + 1); in JsGetHttpAuthCredentials()
247 (void)memset_s(password, MAX_PWD_LENGTH + 1, 0, MAX_PWD_LENGTH + 1); in JsGetHttpAuthCredentials()
/base/web/webview/interfaces/kits/cj/include/
H A Dweb_data_base.h26 const int MAX_PWD_LENGTH = 256; member

Completed in 1 milliseconds