Searched refs:cJSON_strdup (Results 1 – 2 of 2) sorted by relevance
149 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup() function1912 new_key = (char*)cJSON_strdup((const unsigned char*)string, hooks); in add_item_to_object()2227 replacement->string = (char*)cJSON_strdup((const unsigned char*)string, &global_hooks); in replace_item_in_object()2322 item->valuestring = (char*)cJSON_strdup((const unsigned char*)string, &global_hooks); in cJSON_CreateString()2372 item->valuestring = (char*)cJSON_strdup((const unsigned char*)raw, &global_hooks); in cJSON_CreateRaw()2574 … newitem->valuestring = (char*)cJSON_strdup((unsigned char*)item->valuestring, &global_hooks); in cJSON_Duplicate()2582 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
1637 static unsigned char *cJSON_strdup(const unsigned char *string, in cJSON_strdup() function1674 new_key = (char *)cJSON_strdup((const unsigned char *)string, hooks); in add_item_to_object()1774 (char *)cJSON_strdup((const unsigned char *)string, &global_hooks); in lite_cjson_create_string()
Completed in 11 milliseconds