Home
last modified time | relevance | path

Searched refs:cJSON_strdup (Results 1 – 1 of 1) sorted by relevance

/petsc/src/mat/tests/
H A DcJSON.c171 static unsigned char *cJSON_strdup(const unsigned char *string, const internal_hooks *const hooks) in cJSON_strdup() function
344 copy = (char *)cJSON_strdup((const unsigned char *)valuestring, &global_hooks); in cJSON_SetValuestring()
1559 new_key = (char *)cJSON_strdup((const unsigned char *)string, hooks); in add_item_to_object()
1805 replacement->string = (char *)cJSON_strdup((const unsigned char *)string, &global_hooks); in replace_item_in_object()
1881 item->valuestring = (char *)cJSON_strdup((const unsigned char *)string, &global_hooks); in cJSON_CreateString()
1929 item->valuestring = (char *)cJSON_strdup((const unsigned char *)raw, &global_hooks); in cJSON_CreateRaw()
2094 newitem->valuestring = (char *)cJSON_strdup((unsigned char *)item->valuestring, &global_hooks); in cJSON_Duplicate()
2098 …newitem->string = (item->type & cJSON_StringIsConst) ? item->string : (char *)cJSON_strdup((unsign… in cJSON_Duplicate()