Searched refs:MAX_PERM_NUM (Results 1 – 4 of 4) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken.h | 35 #define MAX_PERM_NUM 64 macro 80 char *perms[MAX_PERM_NUM]; 81 char *acls[MAX_PERM_NUM];
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 443 const char **perms = new (std::nothrow) const char *[MAX_PERM_NUM]; 462 permsNum = MAX_PERM_NUM + 1; 468 for (int32_t i = 0; i < MAX_PERM_NUM; i++) { 472 permsNum = MAX_PERM_NUM; 479 permsNum = MAX_PERM_NUM - 1; 809 const char **perms = new (std::nothrow) const char *[MAX_PERM_NUM + 1]; 829 for (int32_t i = 0; i < MAX_PERM_NUM + 1; i++) { 833 infoInstance.permsNum = MAX_PERM_NUM; 834 infoInstance.aclsNum = MAX_PERM_NUM + 1; 839 permsNum = MAX_PERM_NUM; [all …]
|
/base/security/permission_lite/services/unittest/pms/src/ |
D | acts_pms_test.h | 65 const int MAX_PERM_NUM = 1024; variable
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken.c | 118 StrAttrSet(&attr, MAX_PERM_LEN, MAX_PERM_NUM, PERMS_KEY_NAME); in GetNativeTokenFromJson() 126 StrAttrSet(&attr, MAX_PERM_LEN, MAX_PERM_NUM, ACLS_KEY_NAME); in GetNativeTokenFromJson() 425 …uint32_t retPerm = CheckStrArray(tokenInfo->perms, tokenInfo->permsNum, MAX_PERM_NUM, MAX_PERM_LEN… in CheckProcessInfo() 431 … uint32_t retAcl = CheckStrArray(tokenInfo->acls, tokenInfo->aclsNum, MAX_PERM_NUM, MAX_PERM_LEN); in CheckProcessInfo()
|