Home
last modified time | relevance | path

Searched refs:capJ (Results 1 – 2 of 2) sorted by relevance

/base/startup/appspawn/lite/
Dappspawn_message.c133 cJSON *capJ = cJSON_GetArrayItem(capItem, i); in GetCaps() local
134 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()
140 msgSt->caps[i] = (unsigned int)cJSON_GetNumberValue(capJ); in GetCaps()
/base/startup/init/test/unittest/lite/
Dcmd_func_test.cpp649 cJSON *capJ = cJSON_GetArrayItem(filedJ, i); in CheckService() local
650 EXPECT_TRUE(cJSON_IsNumber(capJ) || cJSON_GetStringValue(capJ)); in CheckService()
651 EXPECT_TRUE(cJSON_GetNumberValue(capJ) >= 0.0 || cJSON_GetStringValue(capJ)); in CheckService()