Lines Matching defs:val1
67 Compare val1 and val2 with strcmp. They ought
73 const char *val1, const char *val2)
75 /* If val1 or val2 are NULL, fail with a custom error message. */
76 if (val1 == NULL)
78 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=NULL",
81 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=NULL val2=\"%s\"",
85 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=\"%s\" val2=NULL",
86 desc_val1, desc_val2, val1);
89 if (strcmp (val1, val2) == 0)
92 fail_formatted (loc, "ASSERT_STREQ (%s, %s) val1=\"%s\" val2=\"%s\"",
93 desc_val1, desc_val2, val1, val2);