Searched refs:NativeTokenList (Results 1 – 7 of 7) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken_json_oper.h | 28 extern uint32_t GetProcessNameFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode); 29 extern uint32_t GetTokenIdFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode); 30 extern uint32_t GetAplFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode); 32 extern cJSON *CreateNativeTokenJsonObject(const NativeTokenList *curr); 33 extern uint32_t UpdateGoalItemFromRecord(const NativeTokenList *tokenNode, cJSON *record);
|
D | nativetoken.h | 87 } NativeTokenList; typedef
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken.c | 34 NativeTokenList *g_tokenListHead; 102 static int32_t GetNativeTokenFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode) in GetNativeTokenFromJson() 139 NativeTokenList *tmp = NULL; in GetTokenList() 148 tmp = (NativeTokenList *)malloc(sizeof(NativeTokenList)); in GetTokenList() 224 g_tokenListHead = (NativeTokenList *)malloc(sizeof(NativeTokenList)); in AtlibInit() 269 NativeTokenList *tokenNode = g_tokenListHead->next; in IsTokenUniqueIdExist() 361 static void SaveTokenIdToCfg(const NativeTokenList *curr) in SaveTokenIdToCfg() 466 NativeTokenList *tokenNode; in AddNewTokenToListAndFile() 474 tokenNode = (NativeTokenList *)malloc(sizeof(NativeTokenList)); in AddNewTokenToListAndFile() 515 static int32_t CompareTokenInfo(const NativeTokenList *tokenNode, in CompareTokenInfo() [all …]
|
D | nativetoken_json_oper.c | 31 uint32_t GetProcessNameFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode) in GetProcessNameFromJson() 47 uint32_t GetTokenIdFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode) in GetTokenIdFromJson() 65 uint32_t GetAplFromJson(cJSON *cjsonItem, NativeTokenList *tokenNode) in GetAplFromJson() 141 int32_t SetNativeTokenJsonObject(const NativeTokenList *curr, cJSON *object) in SetNativeTokenJsonObject() 192 cJSON *CreateNativeTokenJsonObject(const NativeTokenList *curr) in CreateNativeTokenJsonObject() 245 static uint32_t UpdateItemcontent(const NativeTokenList *tokenNode, cJSON *record) in UpdateItemcontent() 277 uint32_t UpdateGoalItemFromRecord(const NativeTokenList *tokenNode, cJSON *record) in UpdateGoalItemFromRecord()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/ |
D | nativetoken_oper_test.cpp | 44 extern NativeTokenList *g_tokenListHead; 72 NativeTokenList tokenNode; 101 NativeTokenList tokenNode; 128 NativeTokenList tokenNode; 160 NativeTokenList tokenNode; 206 NativeTokenList tokenNode; 248 NativeTokenList tokenNode; 315 NativeTokenList tokenNode;
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_oper_test.cpp | 72 NativeTokenList tokenNode; 110 NativeTokenList tokenNode; 141 NativeTokenList tokenNode; 213 NativeTokenList tokenNode;
|
D | nativetoken_kit_test.cpp | 28 extern NativeTokenList *g_tokenListHead; 46 NativeTokenList *tmp = g_tokenListHead->next; in TearDown() 134 NativeTokenList *tokenNode = g_tokenListHead; in DeleteAccessTokenId() 138 NativeTokenList *tokenNodeA = tokenNode->next; in DeleteAccessTokenId()
|