Home
last modified time | relevance | path

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

/external/iperf3/src/
Dcjson.c274 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()
Dcjson.h105 #define cJSON_StringIsConst 512 macro