Searched refs:cJSON_StringIsConst (Results 1 – 4 of 4) sorted by relevance
267 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in cJSON_Delete()2020 new_type = item->type | cJSON_StringIsConst; in add_item_to_object()2030 new_type = item->type & ~cJSON_StringIsConst; in add_item_to_object()2033 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in add_item_to_object()2355 if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) in replace_item_in_object()2360 replacement->type &= ~cJSON_StringIsConst; in replace_item_in_object()2729 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
100 #define cJSON_StringIsConst 512 macro
269 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in cJSON_Delete()2029 new_type = item->type | cJSON_StringIsConst; in add_item_to_object()2039 new_type = item->type & ~cJSON_StringIsConst; in add_item_to_object()2042 if (!(item->type & cJSON_StringIsConst) && (item->string != NULL)) in add_item_to_object()2364 if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) in replace_item_in_object()2369 replacement->type &= ~cJSON_StringIsConst; in replace_item_in_object()2742 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
95 #define cJSON_StringIsConst 512 macro