Home
last modified time | relevance | path

Searched refs:MAX_DCAP_LEN (Results 1 – 3 of 3) sorted by relevance

/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp164 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/
Dnativetoken.h34 #define MAX_DCAP_LEN 1024 macro
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c111 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()