Searched refs:MAX_PROCESS_NAME_LEN (Results 1 – 5 of 5) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken.h | 25 #define MAX_PROCESS_NAME_LEN 256 macro 85 char processName[MAX_PROCESS_NAME_LEN + 1];
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/ |
D | nativetoken_oper_test.cpp | 104 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5"); 131 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5"); 163 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5"); 209 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5"); 260 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5"); 319 (void)strcpy_s(tokenNode.processName, MAX_PROCESS_NAME_LEN + 1, "process5");
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 35 (strlen(processNameJson->valuestring) > MAX_PROCESS_NAME_LEN)) { in GetProcessNameFromJson() 40 …if (strcpy_s(tokenNode->processName, MAX_PROCESS_NAME_LEN + 1, processNameJson->valuestring) != EO… in GetProcessNameFromJson()
|
D | nativetoken.c | 415 if ((tokenInfo->processName == NULL) || strlen(tokenInfo->processName) > MAX_PROCESS_NAME_LEN || in CheckProcessInfo() 481 if (strcpy_s(tokenNode->processName, MAX_PROCESS_NAME_LEN + 1, tokenInfo->processName) != EOK) { in AddNewTokenToListAndFile()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 602 char processName[200][MAX_PROCESS_NAME_LEN]; 606 int32_t ret = sprintf_s(processName[i], MAX_PROCESS_NAME_LEN, "processName_%d", i);
|