Home | History | Annotate | Download | only in Analysis

Lines Matching defs:O_RDONLY

3 #ifndef O_RDONLY
4 #define O_RDONLY 0
16 fd = open(path, O_RDONLY); // no-warning
24 fd = open(path, O_RDONLY, mode, NULL); // expected-warning{{Call to 'open' with more than three arguments}}
31 fd = open(path, O_RDONLY, NULL); // expected-warning{{Third argument to 'open' is not an integer}}
38 fd = open(path, O_RDONLY, ""); // expected-warning{{Third argument to 'open' is not an integer}}
48 fd = open(path, O_RDONLY, st); // expected-warning{{Third argument to 'open' is not an integer}}
58 fd = open(path, O_RDONLY, st.val); // no-warning
65 fd = open(path, O_RDONLY, &open); // expected-warning{{Third argument to 'open' is not an integer}}
72 fd = open(path, O_RDONLY, 0.0f); // expected-warning{{Third argument to 'open' is not an integer}}