Lines Matching refs:s2
19 char *s2; member
25 a0.s2 = strdup("hello"); in f0()
32 clang_analyzer_eval(a0.s2 == 0); // expected-warning{{UNKNOWN}} in f0()
33 free(a0.s2); // no warning in f0()
39 a1.s2 = strdup("hello"); in f1()
46 clang_analyzer_eval(a1.s2 == 0); // expected-warning{{UNKNOWN}} in f1()
47 free(a1.s2); // no warning in f1()
53 a2.s2 = strdup("hello"); in f2()
60 clang_analyzer_eval(a2.s2 == 0); // expected-warning{{UNKNOWN}} in f2()
61 free(a2.s2); // no warning in f2()
67 a3.s2 = strdup("hello"); in f3()
79 clang_analyzer_eval(a3.s2 == 0); // expected-warning{{UNKNOWN}} in f3()
80 free(a3.s2); // no warning in f3()
86 char * s2; member
91 b0.s2 = strdup("hello"); in f4()
92 b0.a.s2 = strdup("hola"); in f4()
104 clang_analyzer_eval(b0.s2 == 0); // expected-warning{{UNKNOWN}} in f4()
105 free(b0.a.s2); // no warning in f4()
106 free(b0.s2); // no warning in f4()
113 a0.s2 = strdup("hello"); in f5()
121 a1.s2 = strdup("hello"); in f6()
129 a2.s2 = strdup("hello"); in f7()
137 a3.s2 = strdup("hello"); in f8()
146 b0.s2 = strdup("hello"); in f9()
147 b0.a.s2 = strdup("hola"); in f9()
151 free(b0.a.s2); // expected-warning{{Potential leak of memory pointed to by 'b0.s2'}} in f9()
157 b0.s2 = strdup("hello"); in f10()
158 b0.a.s2 = strdup("hola"); in f10()
162 free(b0.s2); // expected-warning{{Potential leak of memory pointed to by 'b0.a.s2'}} in f10()
169 char * s2; member
177 c0.s2 = strdup("hello"); in f11()
187 free(c0.s2); // no-warning in f11()
193 char *s2; member
199 d0.s2 = strdup("hello"); in f12()
206 clang_analyzer_eval(d0.s2 == 0); // expected-warning{{UNKNOWN}} in f12()
207 free(d0.s2); // no warning in f12()
219 char * s2; member
224 E0.s2 = strdup("hello"); in f13()
231 clang_analyzer_eval(E0.s2 == 0); // expected-warning{{UNKNOWN}} in f13()
232 free(E0.s2); // no warning in f13()
240 a15.s2 = strdup("hello"); in f15()
247 clang_analyzer_eval(a15.s2 == 0); // expected-warning{{UNKNOWN}} in f15()
248 free(a15.s2); // no warning in f15()
256 char * s2; member
261 g0.s2 = strdup("hello"); in f16()
269 clang_analyzer_eval(g0.s2 == 0); // expected-warning{{UNKNOWN}} in f16()
270 free(g0.s2); // no warning in f16()
277 char * s2; member
282 h0.s2 = strdup("hello"); in f17()
287 clang_analyzer_eval(h0.s2 == 0); // expected-warning{{UNKNOWN}} in f17()
288 free(h0.s2); // no warning in f17()
297 char * s2; member
304 i18.s2 = strdup("hello"); in f18()
321 i181.s2 = strdup("hello"); in f181()
337 char * s2; member
342 char * s2; member
347 J0.s2 = strdup("hello"); in f19()
348 J0.s1[0].s2 = strdup("hello"); in f19()
349 J0.s1[1].s2 = strdup("hi"); in f19()
350 J0.s1[2].s2 = strdup("world"); in f19()
374 a20[0].s2 = strdup("hello"); in f20()
379 a20[1].s2 = strdup("world"); in f20()
380 a20[i].s2 = strdup("hola"); in f20()
387 clang_analyzer_eval(a20[0].s2 == 0); // expected-warning{{UNKNOWN}} in f20()
392 clang_analyzer_eval(a20[1].s2 == 0); // expected-warning{{UNKNOWN}} in f20()
397 clang_analyzer_eval(a20[i].s2 == 0); // expected-warning{{UNKNOWN}}\ in f20()
410 a21[0].s2 = 0; in f21()
415 a21[1].s2 = 0; in f21()
416 a21[i].s2 = strdup("hello"); in f21()
427 clang_analyzer_eval(a21[0].s2 == 0); // expected-warning{{UNKNOWN}} in f21()
432 clang_analyzer_eval(a21[1].s2 == 0); // expected-warning{{UNKNOWN}} in f21()
437 clang_analyzer_eval(a21[i].s2 == 0); // expected-warning{{UNKNOWN}}\ in f21()
446 char * s2; member
481 l->s2 = strdup("hello"); // l->s2 not tracked in f25()
507 a26.s2 = strdup("hello"); in f26()
521 a261.s2 = strdup("hello"); in f261()
535 a262.s2 = strdup("hello"); in f262()
549 char * s2; member
554 x263.s2 = strdup("hello"); in f263()
561 clang_analyzer_eval(x263.s2 == 0); // expected-warning{{UNKNOWN}} in f263()
653 char * s2; member
658 k31.s2 = strdup("hello"); in f31()
674 char * s2; member
679 v32.s2 = strdup("hello"); in f32()
681 memcpy(v32.s2, input, 4); in f32()
682 clang_analyzer_eval(v32.s2[0] == 1); // expected-warning{{UNKNOWN}} in f32()
683 clang_analyzer_eval(v32.s2[1] == 1); // expected-warning{{UNKNOWN}} in f32()
684 clang_analyzer_eval(v32.s2[2] == 1); // expected-warning{{UNKNOWN}} in f32()
685 clang_analyzer_eval(v32.s2[3] == 1); // expected-warning{{UNKNOWN}}\ in f32()
695 char * s2; member
701 n33.s2 = strdup("hello"); in f33()
715 clang_analyzer_eval(n33.s2 == 0); //expected-warning{{UNKNOWN}} in f33()
722 char s2; member
726 w34->s2 = 3; in f34()
734 clang_analyzer_eval(w34->s2 == 3); // expected-warning{{TRUE}} in f34()
741 char * s2; member
746 y35.s2 = strdup("hello"); in f35()
754 clang_analyzer_eval(y35.s2 == 0); // expected-warning{{UNKNOWN}} in f35()
761 int s2; member
771 z36->s2 = 10; in f36()
779 z36->s2 = 11; in f36()
787 clang_analyzer_eval(z36->s2 == 11); // expected-warning{{TRUE}} in f36()
795 clang_analyzer_eval(z36->s2 == 10); // expected-warning{{TRUE}} in f36()
807 z37->s2 = 10; in f37()
815 z37->s2 = 11; in f37()
823 clang_analyzer_eval(z37->s2 == 11); // expected-warning{{TRUE}} in f37()
831 clang_analyzer_eval(z37->s2 == 10); // expected-warning{{TRUE}} in f37()
843 z38->s2 = 10; in f38()
851 z38->s2 = 11; in f38()
859 clang_analyzer_eval(z38->s2 == 11); // expected-warning{{TRUE}} in f38()
867 clang_analyzer_eval(z38->s2 == 10); // expected-warning{{UNKNOWN}} in f38()
874 int s2; member
885 d39->s2 = 10; in f39()
893 d39->s2 = 11; in f39()
901 clang_analyzer_eval(d39->s2 == 11); // expected-warning{{TRUE}} in f39()
912 clang_analyzer_eval(d39->s2 == 10); // expected-warning{{TRUE}} in f39()