Searched refs:cJSON_IsNumber (Results 1 – 11 of 11) sorted by relevance
64 if (!cJSON_IsNumber(objValue)) { in GetJsonFieldInt()94 if (!cJSON_IsNumber(item)) { in GetJsonFieldIntArray()
96 if (strItem == NULL || !cJSON_IsNumber(strItem)) { in ReadNumberItem()133 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()
97 if (strItem == NULL || !cJSON_IsNumber(strItem)) { in ReadNumberItem()134 if (!cJSON_IsNumber(capJ) || cJSON_GetNumberValue(capJ) < 0) { in GetCaps()
55 cJSON_bool cJSON_IsNumber(const cJSON* const item);
113 if (cJSON_IsNumber(capJson)) { // for number in GetServiceCaps()
232 } else if (cJSON_IsNumber(json)) { in GetUid()248 } else if (cJSON_IsNumber(json)) { in GetGid()303 INIT_ERROR_CHECK(cJSON_IsNumber(filedJ), return SERVICE_FAILURE, in GetServiceAttr()637 if (cJSON_IsNumber(arrItem)) { in GetCritical()642 if (attrItem == NULL || !cJSON_IsNumber(attrItem)) { in GetCritical()719 INIT_ERROR_CHECK(cJSON_IsNumber(item), return SERVICE_FAILURE, in GetServiceSandbox()
50 if ((!cJSON_IsNumber(tokenIdJson)) || (cJSON_GetNumberValue(tokenIdJson) <= 0)) { in GetTokenIdFromJson()68 if (!cJSON_IsNumber(aplJson)) { in GetAplFromJson()
77 cJSON_bool cJSON_IsNumber(const cJSON* const item) in cJSON_IsNumber() function121 if (cJSON_IsNumber(item) == 0) { in cJSON_GetNumberValue()
634 EXPECT_TRUE(cJSON_IsNumber(filedJ) || cJSON_IsString(filedJ)); in CheckService()638 EXPECT_TRUE(cJSON_IsNumber(filedJ) || cJSON_IsArray(filedJ)); in CheckService()642 EXPECT_TRUE(cJSON_IsNumber(filedJ)); in CheckService()645 EXPECT_TRUE(cJSON_IsNumber(filedJ)); in CheckService()653 EXPECT_TRUE(cJSON_IsNumber(capJ) || cJSON_GetStringValue(capJ)); in CheckService()
60 if (!cJSON_IsNumber(obj_value)) { in get_json_int()
216 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetIntFromJson()242 if (jsonObjTmp != NULL && cJSON_IsNumber(jsonObjTmp)) { in GetUnsignedIntFromJson()