Searched refs:cJSON_IsNumber (Results 1 – 14 of 14) sorted by relevance
64 if (!cJSON_IsNumber(objValue)) { in GetJsonFieldInt()94 if (!cJSON_IsNumber(item)) { in GetJsonFieldIntArray()
97 if (strItem == NULL || !cJSON_IsNumber(strItem)) { in ReadNumberItem()134 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()
53 cJSON_bool cJSON_IsNumber(const cJSON* const item);
113 if (cJSON_IsNumber(capJson)) { // for number in InitServiceCaps()
247 } else if (cJSON_IsNumber(json)) { in GetUid()263 } else if (cJSON_IsNumber(json)) { in GetGid()321 INIT_ERROR_CHECK(cJSON_IsNumber(filedJ), return SERVICE_FAILURE, in GetServiceAttr()655 if (cJSON_IsNumber(arrItem)) { in GetCritical()660 if (attrItem == NULL || !cJSON_IsNumber(attrItem)) { in GetCritical()737 INIT_ERROR_CHECK(cJSON_IsNumber(item), return SERVICE_FAILURE, in GetServiceSandbox()
78 cJSON_bool cJSON_IsNumber(const cJSON* const item) in cJSON_IsNumber() function112 if (cJSON_IsNumber(item) == 0) { in cJSON_GetNumberValue()
50 if ((!cJSON_IsNumber(tokenIdJson)) || (cJSON_GetNumberValue(tokenIdJson) <= 0)) { in GetTokenIdFromJson()68 if (!cJSON_IsNumber(aplJson)) { in GetAplFromJson()
60 if (!cJSON_IsNumber(obj_value)) { in get_json_int()
631 EXPECT_TRUE(cJSON_IsNumber(filedJ) || cJSON_IsString(filedJ)); in CheckService()635 EXPECT_TRUE(cJSON_IsNumber(filedJ) || cJSON_IsArray(filedJ)); in CheckService()639 EXPECT_TRUE(cJSON_IsNumber(filedJ)); in CheckService()642 EXPECT_TRUE(cJSON_IsNumber(filedJ)); in CheckService()650 EXPECT_TRUE(cJSON_IsNumber(capJ) || cJSON_GetStringValue(capJ)); in CheckService()
107 if (mockvalue == nullptr || !cJSON_IsNumber(mockvalue)) { in DeviceStatusDataInit()
232 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetIntFromJson()258 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetUnsignedIntFromJson()
290 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetIntFromJson()316 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetUnsignedIntFromJson()
110 if (!cJSON_IsNumber(state)) { in GetCrossingSwitchState()
69 … if (!cJSON_IsBool(result) || !cJSON_IsString(dhid) || !cJSON_IsNumber(x) || !cJSON_IsNumber(y)) { in ResponseStartRemoteCoordinationResult()658 if (!cJSON_IsNumber(comType)) { in HandleCoordinationSessionData()