Searched refs:MAX_DCAP_LEN (Results 1 – 3 of 3) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/ |
D | nativetoken_oper_test.cpp | 164 tokenNode.dcaps[0] = static_cast<char *>(malloc(sizeof(char) * MAX_DCAP_LEN)); 166 (void)strcpy_s(tokenNode.dcaps[0], MAX_DCAP_LEN, "x"); 210 tokenNode.dcaps[0] = static_cast<char *>(malloc(sizeof(char) * MAX_DCAP_LEN)); 212 (void)strcpy_s(tokenNode.dcaps[0], MAX_DCAP_LEN, "x"); 261 tokenNode.dcaps[0] = static_cast<char *>(malloc(sizeof(char) * MAX_DCAP_LEN)); 263 (void)strcpy_s(tokenNode.dcaps[0], MAX_DCAP_LEN, "x"); 320 tokenNode.dcaps[0] = static_cast<char *>(malloc(sizeof(char) * MAX_DCAP_LEN)); 322 (void)strcpy_s(tokenNode.dcaps[0], MAX_DCAP_LEN, "y");
|
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken.h | 34 #define MAX_DCAP_LEN 1024 macro
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken.c | 111 StrAttrSet(&attr, MAX_DCAP_LEN, MAX_DCAPS_NUM, DCAPS_KEY_NAME); in GetNativeTokenFromJson() 420 …nt32_t retDcap = CheckStrArray(tokenInfo->dcaps, tokenInfo->dcapsNum, MAX_DCAPS_NUM, MAX_DCAP_LEN); in CheckProcessInfo()
|