Lines Matching defs:str2
201 char str1[] = "str1", str2[] = "str2";
203 dfsan_set_label(j_label, &str2[3], 1);
205 int rv = memcmp(str1, str2, sizeof(str1));
214 rv = memcmp(str1, str2, sizeof(str1) - 2);
220 char str1[] = "str1", str2[] = "str2";
222 dfsan_set_label(j_label, &str2[3], 1);
224 int rv = bcmp(str1, str2, sizeof(str1));
233 rv = bcmp(str1, str2, sizeof(str1) - 2);
240 char str2[sizeof(str1)];
245 char *ptr2 = str2;
251 assert(0 == memcmp(str2, str1, sizeof(str1)));
252 ASSERT_ZERO_LABEL(str2[0]);
253 ASSERT_LABEL(str2[3], i_label);
255 for (int i = 0; i < sizeof(str2); ++i) {
256 if (!dfsan_get_label(str2[i]))
258 ASSERT_INIT_ORIGIN(&(str2[i]), str1_o[i]);
302 char str1[] = "str1", str2[] = "str2";
304 dfsan_set_label(j_label, &str2[3], 1);
306 int rv = strcmp(str1, str2);
481 char str2[sizeof(str1)];
484 char *strd = strncpy(str2, str1, 5);
485 assert(strd == str2);
486 assert(strcmp(str1, str2) == 0);
494 char *p2 = str2;
497 assert(strd == str2);
498 assert(strncmp(str1, str2, 3) == 0);
517 char str1[] = "str1", str2[] = "str2";
519 dfsan_set_label(j_label, &str2[3], 1);
521 int rv = strncmp(str1, str2, sizeof(str1));
530 rv = strncmp(str1, str2, 0);
534 rv = strncmp(str1, str2, 3);
549 char str1[] = "str1", str2[] = "str2", str3[] = "Str1";
551 dfsan_set_label(j_label, &str2[3], 1);
554 int rv = strcasecmp(str1, str2);
588 char str1[] = "Str1", str2[] = "str2";
590 dfsan_set_label(j_label, &str2[3], 1);
592 int rv = strncasecmp(str1, str2, sizeof(str1));
601 rv = strncasecmp(str1, str2, 3);
1628 char str2[] = "1s";
1629 char *p2 = str2;
1640 dfsan_set_label(n_label, &str2[0], 1);
1641 rv = strstr(str1, str2);
1647 ASSERT_INIT_ORIGIN_EQ_ORIGIN(&rv, str2[0]);