Searched refs:strObj (Results 1 – 3 of 3) sorted by relevance
379 cJSON *strObj = cJSON_CreateString(string); in AddStringToArray() local380 if (strObj == NULL) { in AddStringToArray()383 bool ret = cJSON_AddItemToArray(jsonArr, strObj); in AddStringToArray()385 cJSON_Delete(strObj); in AddStringToArray()
437 cJSON *strObj = cJSON_CreateString(string); in AddStringToArray() local438 if (strObj == NULL) { in AddStringToArray()441 bool ret = cJSON_AddItemToArray(jsonArr, strObj); in AddStringToArray()443 cJSON_Delete(strObj); in AddStringToArray()
379 const char *strObj = GetStringFromJson(nullptr, "name"); variable380 EXPECT_EQ(strObj, nullptr);381 strObj = GetStringFromJson(validJson, "name");382 EXPECT_NE(strObj, nullptr);