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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/PCH/
builtins.h 2 int printf(char const *, ...);
builtins.c 11 printf("Hello, World!");
  /external/clang/test/Sema/
format-strings-size_t.c 3 int printf(char const *, ...);
7 printf("%zu", (double)42); // expected-warning {{format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'double'}}
10 printf("%jd", (double)42); // expected-warning {{format specifies type 'intmax_t' (aka 'long') but the argument has type 'double'}}
11 printf("%ju", (double)42); // expected-warning {{format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'double'}}
14 printf("%td", (double)42); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'long') but the argument has type 'double'}}
18 printf("%jn", (long*)0); // no-warning
19 printf("%jn", (unsigned long*)0); // no-warning
20 printf("%jn", (int*)0); // expected-warning{{format specifies type 'intmax_t *' (aka 'long *') but the argument has type 'int *'}}
22 printf("%zn", (long*)0); // no-warning
25 printf("%tn", (long*)0); // no-warnin
    [all...]
ucn-cstring.c 3 int printf(const char *, ...);
8 printf("%s (%zd)\n", "hello \u2192 \u2603 \u2190 world", sizeof("hello \u2192 \u2603 \u2190 world"));
9 printf("%s (%zd)\n", "\U00010400\U0001D12B", sizeof("\U00010400\U0001D12B"));
11 printf("%s\n", "\U"); // expected-error{{\U used with no following hex digits}}
12 printf("%s\n", "\U00"); // expected-error{{incomplete universal character name}}
13 printf("%s\n", "\U0001"); // expected-error{{incomplete universal character name}}
14 printf("%s\n", "\u0001"); // expected-error{{universal character name refers to a control character}}
format-string-percentm.c 4 // PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
5 int printf(char const*,...);
7 printf("%m");
format-strings-non-iso.c 3 int printf(const char *restrict, ...);
10 printf("%qd", (long long)42); // expected-warning{{'q' length modifier is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
17 printf("%S", L"foo"); // expected-warning{{'S' conversion specifier is not supported by ISO C}}
18 printf("%C", L'x'); // expected-warning{{'C' conversion specifier is not supported by ISO C}}
21 printf("%Li", (long long)42); // expected-warning{{using length modifier 'L' with conversion specifier 'i' is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
22 printf("%Lo", (long long)42); // expected-warning{{using length modifier 'L' with conversion specifier 'o' is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
23 printf("%Lu", (long long)42); // expected-warning{{using length modifier 'L' with conversion specifier 'u' is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
24 printf("%Lx", (long long)42); // expected-warning{{using length modifier 'L' with conversion specifier 'x' is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
25 printf("%LX", (long long)42); // expected-warning{{using length modifier 'L' with conversion specifier 'X' is not supported by ISO C}} expected-note{{did you mean to use 'll'?}}
28 printf("%1$d", 42); // expected-warning{{positional arguments are not supported by ISO C}
    [all...]
format-strings-int-typedefs.c 3 int printf(char const *, ...);
7 printf("%jd", 42.0); // expected-warning {{format specifies type 'intmax_t' (aka 'long long')}}
8 printf("%ju", 42.0); // expected-warning {{format specifies type 'uintmax_t' (aka 'unsigned long long')}}
9 printf("%zu", 42.0); // expected-warning {{format specifies type 'size_t' (aka 'unsigned long')}}
10 printf("%td", 42.0); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'int')}}
11 printf("%lc", 42.0); // expected-warning {{format specifies type 'wint_t' (aka 'int')}}
12 printf("%ls", 42.0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
13 printf("%S", 42.0); // expected-warning {{format specifies type 'wchar_t *' (aka 'int *')}}
14 printf("%C", 42.0); // expected-warning {{format specifies type 'wchar_t' (aka 'int')}}
33 printf("%jd", (intmax_t)42); // expected-warning {{format specifies type 'intmax_t' (aka 'long long') but (…)
    [all...]
format-strings-fixit-ssize_t.c 11 int printf(char const *, ...);
15 printf("%f", (ssize_t) 42);
18 // CHECK: printf("%zd", (ssize_t) 42);
attr-format_arg.c 3 int printf(const char *, ...);
8 printf("%d", 123);
9 printf("%d %d", 123); // expected-warning{{more '%' conversions than data arguments}}
11 printf(f("%d"), 123);
12 printf(f("%d %d"), 123); // expected-warning{{more '%' conversions than data arguments}}
  /external/ltp/testcases/kernel/io/disktest/
usage.c 33 printf("\n");
34 printf("\tdisktest [OPTIONS...] filespec\n");
35 printf("\t-?\t\tDisplay this help text and exit.\n");
36 printf("\t-a seed\t\tSets seed for random number generation.\n");
37 printf("\t-A action\tSpecifies modified actions during runtime.\n");
38 printf("\t-B lblk[:hblk]\tSet the block transfer size.\n");
39 printf("\t-c\t\tUse a counting sequence as the data pattern.\n");
40 printf
42 printf("\t-d\t\tDump data to standard out and exit.\n");
43 printf("\t-D r%%:w%%\tDuty cycle used while reading and/or writing.\n")
    [all...]
  /external/clang/test/CodeGen/
builtin-rename.c 1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep 'declare.*printf' | count 1
4 int printf(const char *, ...);
7 return printf(printf);
PR3589-freestanding-libcalls.c 1 // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o - | grep 'declare i32 @printf' | count 1
5 int printf(const char *, ...);
8 printf("hello\n");
2006-01-13-Includes.c 4 int printf(const char * restrict format, ...);
7 printf("Hello World\n");
2007-04-14-FNoBuiltin.c 2 // RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin-printf -o - | FileCheck %s
5 extern int printf(const char*, ...);
9 // CHECK: call {{.*}}printf
10 printf("%s\n",msg);
2002-04-07-SwitchStmt.c 3 int printf(const char *, ...);
13 printf("3");
14 case 4: printf("4");
  /external/clang/test/Misc/
interpreter.c 4 int printf(const char *, ...);
8 printf("Hello world!\n");
  /external/e2fsprogs/misc/
profile-to-c.awk 3 printf("const char *mke2fs_default_profile = \n");
7 printf(" \"%s\\n\"\n", $0);
11 printf(";\n", str)
  /external/clang/test/CodeGenCXX/
2007-04-14-FNoBuiltin.cpp 4 extern "C" int printf(const char*, ...);
6 // CHECK: call{{.*}}printf
7 printf("%s\n",msg);
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-plugin/
lto-11b.c 1 extern int printf(const char *, ...);
5 printf("Hello from %s!\n", __FUNCTION__);
lto-11c.c 1 extern int printf(const char *, ...);
5 printf("Hello from %s!\n", __FUNCTION__);
  /toolchain/binutils/binutils-2.27/ld/testsuite/ld-elfweak/
size_bar.c 7 printf ("1\n");
8 printf ("2\n");
9 printf ("3\n");
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
module.sh 21 printf "** Test: Running ${FUNCNAME[0]} **\n\n"
23 printf "Inserting $1 module\n"
27 printf "Insmod $1 failed\n"
31 printf "Removing $1 module\n"
35 printf "rmmod $1 failed\n"
39 printf "\n"
47 printf "** Test: Running ${FUNCNAME[0]} for driver $1 and cpus_hotplug=$2 **\n\n"
52 printf "\n"
56 printf "Inserting $1 module\n\n"
59 printf "Insmod $1 failed\n
    [all...]
  /external/valgrind/none/tests/s390x/
ex.c 10 printf("------- Copy 10+1 bytes from buffer to target\n");
11 printf("------- EX to OR in the length\n");
12 printf("before: buffer = |%s|\n", buffer);
13 printf("before: target = |%s|\n", target);
22 printf("after: buffer = |%s|\n", buffer);
23 printf("after: target = |%s|\n", target);
24 printf("\n");
26 printf("------- EX 0,... has no effect (writes out target)\n");
27 printf(" target = |");
40 printf("|\n")
    [all...]
exrl.c 10 printf("------- Copy 10+1 bytes from buffer to target\n");
11 printf("------- EXRL to OR in the length\n");
12 printf("before: buffer = |%s|\n", buffer);
13 printf("before: target = |%s|\n", target);
21 printf("after: buffer = |%s|\n", buffer);
22 printf("after: target = |%s|\n", target);
23 printf("\n");
25 printf("------- EXRL 0,... has no effect (writes out target)\n");
26 printf(" target = |");
38 printf("|\n")
    [all...]
  /toolchain/binutils/binutils-2.27/opcodes/
z8kgen.c     [all...]

Completed in 2914 milliseconds

1 2 3 4 5 6 7 8 91011>>