Searched refs:cJSON_GetNumberValue (Results 1 – 10 of 10) sorted by relevance
100 return cJSON_GetNumberValue(strItem); in ReadNumberItem()133 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()139 msgSt->caps[i] = (unsigned int)cJSON_GetNumberValue(capJ); in GetCaps()
101 return cJSON_GetNumberValue(strItem); in ReadNumberItem()134 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()140 msgSt->caps[i] = (unsigned int)cJSON_GetNumberValue(capJ); in GetCaps()
57 double cJSON_GetNumberValue(const cJSON* const item);
114 caps = (unsigned int)cJSON_GetNumberValue(capJson); in GetServiceCaps()
233 *uid = (uid_t)cJSON_GetNumberValue(json); in GetUid()249 *gid = (gid_t)cJSON_GetNumberValue(json); in GetGid()306 int value = (int)cJSON_GetNumberValue(filedJ); in GetServiceAttr()646 int attrValue = (int)cJSON_GetNumberValue(attrItem); in GetCritical()655 int value = (int)cJSON_GetNumberValue(crashCountItem); in GetCritical()661 value = (int)cJSON_GetNumberValue(crashTimeItem); in GetCritical()699 cpus = (int)cJSON_GetNumberValue(item); in GetCpuArgs()721 int isSandbox = (int)cJSON_GetNumberValue(item); in GetServiceSandbox()
50 if ((!cJSON_IsNumber(tokenIdJson)) || (cJSON_GetNumberValue(tokenIdJson) <= 0)) { in GetTokenIdFromJson()72 int32_t apl = cJSON_GetNumberValue(aplJson); in GetAplFromJson()
217 *value = (int)cJSON_GetNumberValue(jsonObjTmp); in GetIntFromJson()243 double realValue = cJSON_GetNumberValue(jsonObjTmp); in GetUnsignedIntFromJson()
635 EXPECT_TRUE(cJSON_GetNumberValue(filedJ) >= 0.0 || cJSON_GetStringValue(filedJ)); in CheckService()639 EXPECT_TRUE(cJSON_GetNumberValue(filedJ) >= 0.0 || cJSON_GetArraySize(filedJ) >= 0); in CheckService()654 EXPECT_TRUE(cJSON_GetNumberValue(capJ) >= 0.0 || cJSON_GetStringValue(capJ)); in CheckService()
119 double cJSON_GetNumberValue(const cJSON* const item) in cJSON_GetNumberValue() function
248 if (cJSON_GetNumberValue(obj) == 1) { in AddMountInfoToSandbox()