Searched refs:cJSON_strdup (Results 1 – 1 of 1) sorted by relevance
45 static char *cJSON_strdup(const char *str) { in cJSON_strdup() function601 out = cJSON_strdup("null"); in print_value()604 out = cJSON_strdup("false"); in print_value()607 out = cJSON_strdup("true"); in print_value()1064 item->string = cJSON_strdup(string); in cJSON_AddItemToObject()1156 newitem->string = cJSON_strdup(string); in cJSON_ReplaceItemInObject()1199 item->valuestring = cJSON_strdup(string); in cJSON_CreateString()1285 newitem->valuestring = cJSON_strdup(item->valuestring); in cJSON_Duplicate()1292 newitem->string = cJSON_strdup(item->string); in cJSON_Duplicate()