Searched refs:cJSON_IsReference (Results 1 – 6 of 6) sorted by relevance
87 if (!(c->type&cJSON_IsReference) && c->child) cJSON_Delete(c->child); in cJSON_Delete()88 if (!(c->type&cJSON_IsReference) && c->valuestring) cJSON_free(c->valuestring); in cJSON_Delete()517 …f) return 0;memcpy(ref,item,sizeof(cJSON));ref->string=0;ref->type|=cJSON_IsReference;ref->next=re… in create_reference()563 …newitem->type=item->type&(~cJSON_IsReference),newitem->valueint=item->valueint,newitem->valuedoubl… in cJSON_Duplicate()
40 #define cJSON_IsReference 256 macro
259 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()263 if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL)) in cJSON_Delete()404 if (!(object->type & cJSON_String) || (object->type & cJSON_IsReference)) in cJSON_SetValuestring()1947 reference->type |= cJSON_IsReference; in create_reference()2468 item->type = cJSON_String | cJSON_IsReference; in cJSON_CreateStringReference()2479 item->type = cJSON_Object | cJSON_IsReference; in cJSON_CreateObjectReference()2489 item->type = cJSON_Array | cJSON_IsReference; in cJSON_CreateArrayReference()2716 newitem->type = item->type & (~cJSON_IsReference); in cJSON_Duplicate()
99 #define cJSON_IsReference 256 macro
261 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()265 if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL)) in cJSON_Delete()406 if (!(object->type & cJSON_String) || (object->type & cJSON_IsReference)) in cJSON_SetValuestring()1956 reference->type |= cJSON_IsReference; in create_reference()2477 item->type = cJSON_String | cJSON_IsReference; in cJSON_CreateStringReference()2488 item->type = cJSON_Object | cJSON_IsReference; in cJSON_CreateObjectReference()2498 item->type = cJSON_Array | cJSON_IsReference; in cJSON_CreateArrayReference()2729 newitem->type = item->type & (~cJSON_IsReference); in cJSON_Duplicate()
94 #define cJSON_IsReference 256 macro