Searched refs:capJ (Results 1 – 2 of 2) sorted by relevance
133 cJSON *capJ = cJSON_GetArrayItem(capItem, i); in GetCaps() local134 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()140 msgSt->caps[i] = (unsigned int)cJSON_GetNumberValue(capJ); in GetCaps()
649 cJSON *capJ = cJSON_GetArrayItem(filedJ, i); in CheckService() local650 EXPECT_TRUE(cJSON_IsNumber(capJ) || cJSON_GetStringValue(capJ)); in CheckService()651 EXPECT_TRUE(cJSON_GetNumberValue(capJ) >= 0.0 || cJSON_GetStringValue(capJ)); in CheckService()