Searched refs:cJSON_StringIsConst (Results 1 – 2 of 2) sorted by relevance
274 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in cJSON_Delete()2030 new_type = item->type | cJSON_StringIsConst; in add_item_to_object()2040 new_type = item->type & ~cJSON_StringIsConst; in add_item_to_object()2043 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in add_item_to_object()2351 if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) in replace_item_in_object()2356 replacement->type &= ~cJSON_StringIsConst; in replace_item_in_object()2708 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
105 #define cJSON_StringIsConst 512 macro