Home
last modified time | relevance | path

Searched refs:MAX_LENGTH (Results 1 - 9 of 9) sorted by relevance

/base/security/access_token/frameworks/common/src/
H A Ddata_validator.cpp33 return !bundleName.empty() && (bundleName.length() <= MAX_LENGTH); in IsBundleNameValid()
38 return label.length() <= MAX_LENGTH; in IsLabelValid()
43 return desc.length() <= MAX_LENGTH; in IsDescValid()
48 if (permissionName.empty() || (permissionName.length() > MAX_LENGTH)) { in IsPermissionNameValid()
73 return !domain.empty() && (domain.length() <= MAX_LENGTH); in IsDomainValid()
88 return !processName.empty() && (processName.length() <= MAX_LENGTH); in IsProcessNameValid()
93 if (deviceId.empty() || (deviceId.length() > MAX_LENGTH)) { in IsDeviceIdValid()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_sms.c26 #define MAX_LENGTH 100 macro
529 char copy[MAX_LENGTH] = { 0 }; in ReqGetCBConfigInfo()
530 if (strcpy_s(copy, MAX_LENGTH, mids) != EOK) { in ReqGetCBConfigInfo()
538 char midsTotal[MAX_LENGTH][MAX_DIMEN_LENGTH] = { 0 }; in ReqGetCBConfigInfo()
539 while (!midsEmpty && token != NULL && position < MAX_LENGTH) { in ReqGetCBConfigInfo()
562 HRilCBConfigInfo cellBroadcast[MAX_LENGTH] = { 0 }; in ReqGetCBConfig()
627 char ccopy[MAX_LENGTH] = { 0 }; in GetCBConfigData()
628 if (strcpy_s(ccopy, MAX_LENGTH, token) != EOK) { in GetCBConfigData()
629 return MAX_LENGTH; in GetCBConfigData()
645 char copyDcs[MAX_LENGTH] in GetCBConfigData()
[all...]
/base/security/access_token/interfaces/kits/js/napi/accesstoken/include/
H A Dnapi_context_common.h33 static constexpr int32_t MAX_LENGTH = 256; member in OHOS::Security::AccessToken::NapiContextCommon
/base/security/access_token/frameworks/common/include/
H A Ddata_validator.h61 const static int MAX_LENGTH = 256; member in OHOS::Security::AccessToken::final
/base/startup/init/interfaces/kits/jskits/src/
H A Dnative_parameters_js.cpp18 static constexpr int MAX_LENGTH = 128; variable
140 if (keySize >= MAX_LENGTH) {
147 if (valueSize >= MAX_LENGTH) {
187 if (keySize >= MAX_LENGTH) {
201 if (valueSize >= MAX_LENGTH) {
/base/update/packaging_tools/
H A Dbuild_pkcs7.py86 salt_length=padding.PSS.MAX_LENGTH)
H A Dcreate_update_package.py227 salt_length=padding.PSS.MAX_LENGTH)
H A Dbuild_module_package.py252 salt_length=padding.PSS.MAX_LENGTH)
/base/security/access_token/frameworks/js/napi/accesstoken/src/
H A Dnapi_atmanager.cpp480 ((asyncContext->permissionName.length() > NapiContextCommon::MAX_LENGTH))) { in CheckAccessTokenExecute()
607 ((asyncContext->permissionName.length() > NapiContextCommon::MAX_LENGTH))) { in VerifyAccessTokenSync()

Completed in 7 milliseconds