Home
last modified time | relevance | path

Searched refs:TOKEN_RANDOM_MASK (Results 1 – 4 of 4) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
Daccesstoken_id_manager.h29 static constexpr unsigned int TOKEN_RANDOM_MASK = (1 << 20) - 1; variable
/base/security/access_token/interfaces/innerkits/nativetoken/include/
Dnativetoken.h41 #define TOKEN_RANDOM_MASK ((1 << 20) - 1) macro
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_id_manager.cpp84 innerId.tokenUniqueID = rand & TOKEN_RANDOM_MASK; in CreateTokenId()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c291 if (IsTokenUniqueIdExist(rand & (TOKEN_RANDOM_MASK)) == 0) { in CreateNativeTokenId()
302 innerId->tokenUniqueId = rand & (TOKEN_RANDOM_MASK); in CreateNativeTokenId()