Searched refs:cJSON_StringIsConst (Results 1 – 7 of 7) sorted by relevance
157 invalid->type |= cJSON_StringIsConst; in typecheck_functions_should_check_type()159 item->type |= cJSON_StringIsConst; in typecheck_functions_should_check_type()165 item->type = cJSON_False | cJSON_StringIsConst; in typecheck_functions_should_check_type()171 item->type = cJSON_True | cJSON_StringIsConst; in typecheck_functions_should_check_type()177 item->type = cJSON_NULL | cJSON_StringIsConst; in typecheck_functions_should_check_type()182 item->type = cJSON_Number | cJSON_StringIsConst; in typecheck_functions_should_check_type()187 item->type = cJSON_String | cJSON_StringIsConst; in typecheck_functions_should_check_type()192 item->type = cJSON_Array | cJSON_StringIsConst; in typecheck_functions_should_check_type()197 item->type = cJSON_Object | cJSON_StringIsConst; in typecheck_functions_should_check_type()202 item->type = cJSON_Raw | cJSON_StringIsConst; in typecheck_functions_should_check_type()
38 if ((item->string != NULL) && !(item->type & cJSON_StringIsConst)) in reset()105 #define assert_has_no_const_string(item) TEST_ASSERT_BITS_MESSAGE(cJSON_StringIsConst, 0, item->typ…
44 #define cJSON_StringIsConst 512 macro
79 if (!(c->type & cJSON_StringIsConst) && c->string) cJSON_Free(c->pAllocator, c->string); in cJSON_Delete()968 …if (!(item->type & cJSON_StringIsConst) && item->string) cJSON_Free(object->pAllocator, item->stri… in cJSON_AddItemToObjectCS()970 item->type |= cJSON_StringIsConst; in cJSON_AddItemToObjectCS()
267 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()2369 if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) in replace_item_in_object()2379 replacement->type &= ~cJSON_StringIsConst; in replace_item_in_object()2748 …newitem->string = (item->type&cJSON_StringIsConst) ? item->string : (char*)cJSON_strdup((unsigned … in cJSON_Duplicate()
100 #define cJSON_StringIsConst 512 macro
226 * `cJSON_StringIsConst`: This means that `string` points to a constant string. This means that `cJS…