Lines Matching defs:item
31 static cJSON item[1];
53 TEST_ASSERT_TRUE_MESSAGE(parse_string(item, &buffer), "Couldn't parse string.");
54 assert_is_string(item);
55 TEST_ASSERT_EQUAL_STRING_MESSAGE(expected, item->valuestring, "The parsed result isn't as expected.");
56 global_hooks.deallocate(item->valuestring);
57 item->valuestring = NULL;
67 TEST_ASSERT_FALSE_MESSAGE(parse_string(item, &buffer), "Malformed string should not be accepted.");
68 assert_is_invalid(item);
82 reset(item);
84 reset(item);
90 reset(item);
96 reset(item);
98 reset(item);
104 reset(item);
106 reset(item);
112 reset(item);
119 reset(item);
124 /* initialize cJSON item and error pointer */
125 memset(item, 0, sizeof(cJSON));