Lines Matching defs:result
60 char *result = my_asnprintf (NULL, &length, "%d", 12345);
61 ASSERT (result != NULL);
62 ASSERT (strcmp (result, "12345") == 0);
64 free (result);
70 char *result;
74 result = my_asnprintf (buf, &length, "%d", 12345);
75 ASSERT (result != NULL);
76 ASSERT (strcmp (result, "12345") == 0);
79 ASSERT (result != buf);
81 if (result != buf)
82 free (result);
95 char *result = asnprintf (NULL, &length, "%d", 12345);
96 ASSERT (result != NULL);
97 ASSERT (strcmp (result, "12345") == 0);
99 free (result);
105 char *result;
109 result = asnprintf (buf, &length, "%d", 12345);
110 ASSERT (result != NULL);
111 ASSERT (strcmp (result, "12345") == 0);
114 ASSERT (result != buf);
116 if (result != buf)
117 free (result);