Searched refs:strNum (Results 1 – 4 of 4) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 81 uint32_t GetInfoArrFromJson(cJSON *cjsonItem, char *strArr[], int32_t *strNum, StrArrayAttr *attr) in GetInfoArrFromJson() argument 89 *strNum = size; in GetInfoArrFromJson() 117 static int32_t AddStrArrayInfo(cJSON *object, char* const strArray[], int32_t strNum, const char *s… in AddStrArrayInfo() argument 124 for (int32_t i = 0; i < strNum; i++) { in AddStrArrayInfo() 207 static uint32_t UpdateStrArrayType(char* const strArr[], int32_t strNum, const char *strKey, cJSON … in UpdateStrArrayType() argument 214 for (int32_t i = 0; i < strNum; i++) { in UpdateStrArrayType()
|
D | nativetoken.c | 397 static uint32_t CheckStrArray(const char **strArray, int32_t strNum, int32_t maxNum, uint32_t maxIn… in CheckStrArray() argument 399 if (((strArray == NULL) && (strNum != 0)) || in CheckStrArray() 400 (strNum > maxNum) || (strNum < 0)) { in CheckStrArray() 404 for (int32_t i = 0; i < strNum; i++) { in CheckStrArray() 546 static uint32_t UpdateStrArrayInList(char *strArr[], int32_t *strNum, in UpdateStrArrayInList() argument 549 for (int32_t i = 0; i < *strNum; i++) { in UpdateStrArrayInList() 554 *strNum = strNumNew; in UpdateStrArrayInList()
|
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken_json_oper.h | 31 extern uint32_t GetInfoArrFromJson(cJSON *cjsonItem, char *strArr[], int32_t *strNum, StrArrayAttr …
|
/base/startup/init/test/unittest/init/ |
D | cmds_unittest.cpp | 274 int strNum = 3; variable 275 …uct CmdArgs *ctx = (struct CmdArgs *)calloc(1, sizeof(struct CmdArgs) + sizeof(char *) * (strNum)); 276 ctx->argc = strNum;
|