Searched refs:strItem (Results 1 – 1 of 1) sorted by relevance
63 static enum OHOSLiteErrorCode ReadStringItem(cJSON *strItem, char **buf, size_t maxLen, size_t minL… in ReadStringItem() argument65 if (strItem == NULL || !cJSON_IsString(strItem)) { in ReadStringItem()69 char *strPtr = cJSON_GetStringValue(strItem); in ReadStringItem()95 static double ReadNumberItem(cJSON *strItem) in ReadNumberItem() argument97 if (strItem == NULL || !cJSON_IsNumber(strItem)) { in ReadNumberItem()101 return cJSON_GetNumberValue(strItem); in ReadNumberItem()