Lines Matching refs:open
46 int open(const char *, int, ...);
51 fd = open(path, O_RDONLY); // no-warning
55 fd = open(path, O_CREAT); // expected-warning{{Call to 'open' requires a third argument when the 'O_CREAT' flag is set}}
401 // CHECK-NEXT: <string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string>
403 // CHECK-NEXT: <string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string>
406 // CHECK-NEXT: <key>description</key><string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string>
408 // CHECK-NEXT: <key>type</key><string>Improper use of 'open'</string>