Home | History | Annotate | Download | only in Analysis

Lines Matching full:path

14 void open_1(const char *path) {
16 fd = open(path, O_RDONLY); // no-warning
21 void open_2(const char *path) {
24 fd = open(path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'open' with more than three arguments}}
29 void open_3(const char *path) {
31 fd = open(path, O_RDONLY, NULL); // expected-warning{{Third argument to 'open' is not an integer}}
36 void open_4(const char *path) {
38 fd = open(path, O_RDONLY, ""); // expected-warning{{Third argument to 'open' is not an integer}}
43 void open_5(const char *path) {
48 fd = open(path, O_RDONLY, st); // expected-warning{{Third argument to 'open' is not an integer}}
53 void open_6(const char *path) {
58 fd = open(path, O_RDONLY, st.val); // no-warning
63 void open_7(const char *path) {
65 fd = open(path, O_RDONLY, &open); // expected-warning{{Third argument to 'open' is not an integer}}
70 void open_8(const char *path) {
72 fd = open(path, O_RDONLY, 0.0f); // expected-warning{{Third argument to 'open' is not an integer}}