HomeSort by relevance Sort by last modified time
    Searched refs:scanf (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/clang/test/Sema/
format-strings-c90.c 4 int scanf(const char * restrict, ...);
8 scanf("%as", sp); /* expected-warning{{'a' length modifier is not supported by ISO C}} */
9 scanf("%a[abc]", sp); /* expected-warning{{'a' length modifier is not supported by ISO C}} */
12 scanf("%a", fp);
13 scanf("%afoobar", fp);
20 scanf("%da", ip);
23 scanf("%as", fp); /* expected-warning{{format specifies type 'char **' but the argument has type 'float *'}}
25 scanf("%aS", fp); /* expected-warning{{format specifies type 'wchar_t **' (aka 'int **') but the argument has type 'float *'}}
28 scanf("%a[abc]", fp); /* expected-warning{{format specifies type 'char **' but the argument has type 'float *'}}
format-strings-int-typedefs.c 4 int scanf(char const *, ...);
16 scanf("%jd", 0); // expected-warning {{format specifies type 'intmax_t *' (aka 'long long *')}}
17 scanf("%ju", 0); // expected-warning {{format specifies type 'uintmax_t *' (aka 'unsigned long long *')}}
18 scanf("%zu", 0); // expected-warning {{format specifies type 'size_t *' (aka 'unsigned long *')}}
19 scanf("%td", 0); // expected-warning {{format specifies type 'ptrdiff_t *' (aka 'int *')}}
20 scanf("%lc", 0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
21 scanf("%ls", 0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
22 scanf("%S", 0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
23 scanf("%C", 0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
format-strings-scanf.c 12 int scanf(const char * restrict, ...) ;
21 scanf(s, i); // expected-warning{{ormat string is not a string literal}}
22 scanf("%0d", i); // expected-warning{{zero field width in scanf format string is unused}}
23 scanf("%00d", i); // expected-warning{{zero field width in scanf format string is unused}}
24 scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ']' for '%[' in scanf format string}}
27 scanf ("%" "hu" "\n", &s_x); // no-warning
28 scanf("%y", i); // expected-warning{{invalid conversion specifier 'y'}
    [all...]
format-strings-fixit.c 99 int scanf(char const *, ...);
123 scanf("%lf", str);
124 scanf("%lf", vstr);
125 scanf("%ls", str);
126 scanf("%ls", str);
129 scanf("%f", &shortVar);
130 scanf("%f", &uShortVar);
131 scanf("%p", &intVar);
132 scanf("%f", intAVar);
133 scanf("%f", intSAParm)
    [all...]
format-strings-non-iso.c 4 int scanf(const char * restrict, ...);
11 scanf("%qd", (long long *)0); // expected-warning{{'q' length modifier is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
14 scanf("%ms", &cp); // expected-warning{{'m' length modifier is not supported by ISO C}}
format-strings-gnu.c 10 int scanf(const char * restrict, ...) ;
47 scanf("%Ld", y); // no-warning
48 scanf("%Lu", y); // no-warning
49 scanf("%Lx", y); // no-warning
50 scanf("%Ld", x); // no-warning
51 scanf("%Lu", x); // no-warning
52 scanf("%Lx", x); // no-warning
53 scanf("%Ls", "hello"); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 's' conversion specifier}}
format-strings-darwin.c 11 int scanf(const char * restrict, ...) ;
57 scanf("%hD", x); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'd'?}}
58 scanf("%lD", y); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'd'?}}
59 scanf("%hU", x); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'u'?}}
60 scanf("%lU", y); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'u'?}}
61 scanf("%hO", x); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'o'?}}
62 scanf("%lO", y); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'o'?}}
format-strings-no-fixit.c 11 int scanf(char const *, ...);
37 scanf(kFormat6, i);
38 scanf("%00d", i);
64 // CHECK: scanf(kFormat6, i);
65 // CHECK: scanf("%d", i);
  /external/clang/test/SemaCXX/
format-strings-0x.cpp 4 extern int scanf(const char *restrict, ...);
9 scanf("%as", sp); // expected-warning{{format specifies type 'float *' but the argument has type 'char **'}}
12 scanf("%afoobar", fp);
format-strings.cpp 6 extern int scanf(const char *restrict, ...);
12 scanf("%as", sp); // expected-warning{{'a' length modifier is not supported by ISO C}}
16 scanf("%afoobar", fp);
28 int scanf(const char *, ...) __attribute__((format(scanf, 2, 3)));
38 foo.scanf("%d"); // expected-warning{{more '%' conversions than data arguments}}
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
scanf.c 1 /* $OpenBSD: scanf.c,v 1.10 2011/05/30 18:48:33 martynas Exp $ */
39 scanf(const char *fmt, ...) function
  /external/clang/test/Analysis/
taint-generic.c 3 int scanf(const char *restrict format, ...);
38 scanf("%d", &n);
44 scanf("%d", &n);
51 scanf("%d", &n);
58 scanf("%d", &n);
68 scanf("%d", t); // expected-warning {{format specifies type 'int *' but the argument has type 'int'}}
113 scanf("%s", addr);
125 scanf("%s", addr);
134 scanf("%s %d", addr, &numt);
141 scanf("%zd", &ts)
    [all...]
taint-tester.c 17 scanf("%d", &n);
31 scanf("%p", &ptr);
43 scanf("%p", &xyPtr);
51 scanf("%d", &xy.y);
52 scanf("%d", &xy.x);
56 // Now, scanf scans both.
57 scanf("%d %d", &xy.y, &xy.x);
66 scanf("%d", &x);
180 scanf("%s", s);
  /external/ceres-solver/examples/
circle_fit.cc 114 if (scanf("%lg %lg %lg", &x, &y, &r) != 3) {
139 while (scanf("%lf %lf\n", &xx, &yy) == 2) {
  /external/chromium_org/third_party/webrtc/voice_engine/test/cmd_test/
voe_cmd_test.cc 268 ASSERT_EQ(1, scanf("%i", &ip_selection));
274 ASSERT_EQ(1, scanf("%s", ip));
279 ASSERT_EQ(1, scanf("%i", &rPort));
290 ASSERT_EQ(1, scanf("%i", &lPort));
302 ASSERT_EQ(1, scanf("%i", &codec_selection));
355 ASSERT_EQ(1, scanf("%d", &pd));
359 ASSERT_EQ(1, scanf("%d", &rd));
381 ASSERT_EQ(1, scanf("%i", &call_selection));
454 ASSERT_EQ(1, scanf("%i", &option_selection));
530 ASSERT_EQ(1, scanf("%i", &level))
    [all...]
  /development/ndk/platforms/android-3/include/
stdio.h 241 int scanf(const char *, ...);
258 __attribute__((__format__ (scanf, 2, 0)))
261 __attribute__((__format__ (scanf, 1, 0)))
267 __attribute__((__format__ (scanf, 2, 0)))
  /development/ndk/platforms/android-8/include/
stdio.h 241 int scanf(const char *, ...);
258 __attribute__((__format__ (scanf, 2, 0)))
261 __attribute__((__format__ (scanf, 1, 0)))
267 __attribute__((__format__ (scanf, 2, 0)))
  /external/aac/libSYS/include/
cmdl_parser.h 157 #define _tscanf scanf
177 * Scans argc, argv and a scanf style format string for parameters and stores the
  /external/chromium_org/third_party/webrtc/modules/audio_device/test/
audio_device_test_func.cc 16 // Disable warning message 4996 ('scanf': This function or variable may be unsafe)
89 if (scanf("%d", &selection) < 0) {
  /external/clang/test/Analysis/Inputs/
system-header-simulator.h 21 int scanf(const char *restrict format, ...);
  /bionic/libstdc++/include/
cstdio 77 using ::scanf;
  /external/chromium_org/mojo/examples/wget/
wget.cc 96 if (scanf("%1023s", buf) != 1)
  /external/chromium_org/mojo/tools/package_manager/
package_manager_application.cc 41 if (scanf("%1023s", buf) != 1) {
  /external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
sunos4.h 97 extern int scanf(const char *, ...);
  /external/bison/darwin-lib/
stdio.h 110 are the ones of the system scanf(), rather than the ones standardized by
1330 _GL_CXXALIASWARN (scanf); variable
    [all...]

Completed in 697 milliseconds

1 2 3